Skip to content

Commit f22f3fc

Browse files
committed
Add curve lend sonic deployment
1 parent 9851792 commit f22f3fc

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

constants/configs/configs.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,5 +865,28 @@ const configs = {
865865
approxBlocksPerDay: 191574, // https://explorer.mantle.xyz/stats
866866
graphEndpoint: undefined,
867867
},
868+
sonic: {
869+
poolsBaseUrlOld: null,
870+
poolsBaseUrl: null,
871+
shortId: 'sonic',
872+
nativeCurrencySymbol: 'S',
873+
chainId: 146,
874+
nativeCurrencyCoingeckoId: 'sonic-3',
875+
platformCoingeckoId: 'sonic',
876+
nativeAssetErc20WrapperId: 'wrapped-sonic',
877+
rpcUrl: `https://rpc.soniclabs.com`,
878+
backuprpcUrl: `https://rpc.soniclabs.com`,
879+
multicallAddress: '0xcA11bde05977b3631167028862bE2a173976CA11',
880+
multicall2Address: '0xcA11bde05977b3631167028862bE2a173976CA11',
881+
DISABLED_POOLS_ADDRESSES: [].map(lc),
882+
graphEndpoint: undefined,
883+
lendingVaultsBaseUrl: 'https://curve.fi/lend/#/sonic/markets/',
884+
lendingVaultRegistries: {
885+
oneway: '0x30D1859DaD5A52aE03B6e259d1b48c4b12933993',
886+
},
887+
lendingVaultRegistriesUrlFragments: {
888+
oneway: 'one-way-market', // e.g. https://lend.curve.fi/#/arbitrum/markets/one-way-market-3/vault/deposit
889+
},
890+
},
868891
};
869892
export default configs;

utils/data/getCrvusdPrice.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const CRVUSD_ADDRESSES = {
1313
optimism: lc('0xc52d7f23a2e460248db6ee192cb23dd12bddcbf6'),
1414
polygon: lc('0xc4ce1d6f5d98d65ee25cf85e9f2e9dcfee6cb5d6'),
1515
fraxtal: lc('0xB102f7Efa0d5dE071A8D37B3548e1C7CB148Caf3'),
16+
sonic: lc('0x7fff4c4a827c84e32c5e175052834111b2ccd270'),
1617
};
1718

1819
const AGGREGATOR_STABLE_PRICE_ADDRESS = '0x18672b1b0c623a30089A280Ed9256379fb0E4E62';

0 commit comments

Comments
 (0)