Skip to content

Commit

Permalink
Merge pull request #306 from curvefi/updates-rewritten-2
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
philippe-git authored Jun 14, 2023
2 parents f4b45d5 + b106273 commit 94b13e5
Show file tree
Hide file tree
Showing 23 changed files with 5,505 additions and 50 deletions.
4 changes: 2 additions & 2 deletions constants/CoinAddressCoingeckoIdMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ export default {
'0x2260fac5e5542a773aa44fbcfedf7c193bc2c599': 'wrapped-bitcoin', // wBTC
'0xc2cb1040220768554cf699b0d863a3cd4324ce32': 'dai', // yDAI
'0x26ea744e5b887e5205727f55dfbe8685e3b21951': 'usd-coin', // yUSDC
'0xe6354ed5bc4b393a5aad09f21c46e101e692d447': 'tether', // yUSDT
'0x04bc0ab673d88ae9dbc9da2380cb6b79c4bca9ae': 'binance-usd', // yBUSD
'0x16de59092dae5ccf4a1e6439d611fd0653f0bd01': 'dai', // yDAI
'0xdb25f211ab05b1c97d595516f45794528a807ad8': 'tether-eurt', // EURS patch
'0x8e870d67f660d95d5be530380d0ec0bd388289e1': 'paxos-standard', // USDP
'0xd6ad7a6750a7593e092a9b218d66c0a814a3436e': 'usd-coin', // ycUSDC
'0x83f798e925bcd4017eb265844fddabb448f1707d': 'tether', // ycUSDT
'0x8cb24ed2e4f7e2065f4eb2be5f6b0064b1919850': 'south-african-tether', // ZARP
'0x028171bca77440897b824ca71d1c56cac55b68a3': 'aave-dai', // aDAI
'0xBcca60bB61934080951369a648Fb03DF4F96263C': 'aave-usdc', // aUSDC
Expand All @@ -47,6 +45,7 @@ export default {
'0xdbdb4d16eda451d0503b854cf79d55697f90c8df': 'alchemix',
'0x0ec9f76202a7061eb9b3a7d6b59d36215a7e37da': 'blackpool-token',
'0x865377367054516e17014ccded1e7d814edc9ce4': 'dola-usd',
'0x808507121b80c02388fad14726482e061b8da827': 'pendle',
},
polygon: {
'0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063': 'dai', // DAI
Expand Down Expand Up @@ -118,6 +117,7 @@ export default {
'0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7': 'wrapped-avax', // WAVAX
'0x6feFd97F328342a8A840546A55FDcfEe7542F9A8': 'ageur', // agEUR
'0x9fB1d52596c44603198fB0aee434fac3a679f702': 'jarvis-synthetic-euro', // jEUR
'0x152b9d0fdc40c096757f570a51e494bd4b943e50': 'bitcoin-avalanche-bridged-btc-b', // BTC.b
},
fantom: {
'0x74b23882a30290451a17c44f4f05243b6b58c76d': 'weth', // WETH
Expand Down
2 changes: 2 additions & 0 deletions constants/PoolAddressInternalIdMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ const map = {
[lc('0xecd5e75afb02efa118af914515d6521aabd189f1')]: 'tusd',
[lc('0xfd5db7463a3ab53fd211b4af195c5bccc1a03890')]: 'eurt',
[lc('0xa1F8A6807c402E4A15ef4EBa36528A3FED24E577')]: 'frxeth',
[lc('0xbfab6fa95e0091ed66058ad493189d2cb29385e6')]: 'wbeth',
[lc('0xf253f83AcA21aAbD2A20553AE0BF7F65C755A07F')]: 'sbtc2',
[lc('0xae34574ac03a15cd58a92dc79de7b1a0800f1ce3')]: 'fraxusdp',
},
arbitrum: {
[lc('0x7f90122bf0700f9e7e1f688fe926940e8839f353')]: '2pool',
Expand Down
3 changes: 2 additions & 1 deletion constants/Web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const DECIMALS_WEI = 1e18;
const DECIMALS_GWEI = 1e9;
const MAX_UINT256 = BN(2).pow(256).minus(1);

const RPC_URL = `https://eth.llamarpc.com/rpc/${process.env.LLAMANODES_API_KEY}`;
// const RPC_URL = `https://eth.llamarpc.com/rpc/${process.env.LLAMANODES_API_KEY}`;
const RPC_URL = `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_API_KEY_ETHEREUM}`;
const RPC_BACKUP_URL = `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_API_KEY_ETHEREUM}`;

const RPC_URL_BSC = 'https://bsc-dataseed.binance.org/';
Expand Down
Loading

0 comments on commit 94b13e5

Please sign in to comment.