Skip to content
Merged

CASH+ #10894

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions coins/src/adapters/tokenMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,11 @@
}
},
"ethereum": {
"0x9469470C9878bf3d6d0604831d9A3A366156f7EE": {
"decimals": "18",
"symbol": "avETH",
"to": "coingecko#ethereum"
},
"0xB6900cF5572B73A4Fef7c86E88d8d9A681cf2EaB": {
"decimals": "6",
"symbol": "MoreXRP",
Expand Down Expand Up @@ -1477,6 +1482,11 @@
}
},
"bsc": {
"0x1775504c5873e179Ea2f8ABFcE3861EC74D159bc": {
"decimals": "18",
"symbol": "CASH+",
"to": "asset#ethereum:0x498d9329555471bf6073a5f2d047f746d522a373"
},
"0x7cb8a5abf019983ed053484d5ad17f96fec56f28": {
"decimals": "8",
"symbol": "leadBTC",
Expand Down Expand Up @@ -12328,6 +12338,13 @@
"symbol": "ETH"
}
},
"terra": {
"terra1vhgq25vwuhdhn9xjll0rhl2s67jzw78a4g2t78y5kz89q9lsdskq2pxcj2": {
"to": "coingecko#juris-protocol",
"decimals": 6,
"symbol": "JURIS"
}
},
"terra2": {
"terra1ctelwayk6t2zu30a8v9kdg3u2gr0slpjdfny5pjp7m3tuquk32ysugyjdg": {
"to": "coingecko#solana",
Expand Down
12 changes: 12 additions & 0 deletions coins/src/adapters/yield/derivs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,18 @@ const configs: { [adapter: string]: Config } = {
underlying: "0xc9b53ab2679f573e480d01e0f49e2b5cfb7a3eab",
address: "0x01F07f4d78d47A64F4C3B2b65f513f15Be6E1854",
},
"CASH+": {
rate: async ({ api }) => {
const rate = await api.call({
abi: "function latestAnswer() external view returns (uint256)",
target: "0x66C0dB1A21047f0c156d2F39b33B1A47E9fE4583",
});
return rate / 1e18;
},
chain: "ethereum",
underlying: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
address: "0x498D9329555471bF6073A5f2D047F746d522A373",
},
};

export async function derivs(timestamp: number) {
Expand Down
3 changes: 2 additions & 1 deletion coins/src/adapters/yield/misc4626/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
"jrUSDe": "0xC58D044404d8B14e953C115E67823784dEA53d8F",
"spUsdc": "0x28B3a8fb53B741A8Fd78c0fb9A6B2393d896a43d",
"spUsdt": "0xe2e7a17dFf93280dec073C995595155283e3C372",
"spEth": "0xfE6eb3b609a7C8352A241f7F3A21CEA4e9209B8f"
"spEth": "0xfE6eb3b609a7C8352A241f7F3A21CEA4e9209B8f",
"savETH": "0xDA06eE2dACF9245Aa80072a4407deBDea0D7e341"
},
"arbitrum": {
"voltGNS": "0x39ff5098081fbe1ab241c31fe0a9974fe9891d04",
Expand Down