Skip to content

Commit

Permalink
add rari chain
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Jun 17, 2024
1 parent 4477ba4 commit 3624260
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/camelot-v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ const export4 = uniV3Export({
xai: { factory: '0xD8676fBdfa5b56BB2298D452c9768f51e80e34AE', fromBlock: 2398999, isAlgebra: true}
})

const export5 = uniV3Export({
rari: { factory: '0xcF8d0723e69c6215523253a190eB9Bc3f68E0FFa', fromBlock: 340548, isAlgebra: true}
})


module.exports = mergeExports([export1, export2, export3, export4]);
module.exports = mergeExports([export1, export2, export3, export4, export5]);
3 changes: 3 additions & 0 deletions projects/camelot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ module.exports = {
},
xai: {
tvl: getUniTVL({factory: '0x18E621B64d7808c3C47bccbbD7485d23F257D26f', useDefaultCoreAssets: true})
},
rari: {
tvl: getUniTVL({factory: '0x7d8c6B58BA2d40FC6E34C25f9A488067Fe0D2dB4', useDefaultCoreAssets: true})
}
};
1 change: 1 addition & 0 deletions projects/helper/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"quasar",
"quicksilver",
"radixdlt",
"rari",
"real",
"reef",
"regen",
Expand Down
5 changes: 5 additions & 0 deletions projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ const fixBalancesTokens = {
"0x3fb787101dc6be47cfe18aeee15404dcc842e6af": { coingeckoId: 'xai-blockchain', decimals: 18 },
"0xbee82cfdaff4a6aa4e4793cb81eb1c2e79ac463c": { coingeckoId: 'weth', decimals: 18 },
"0x1e3769bd5fb2e9e9e7d4ed8667c947661f9a82e3": { coingeckoId: 'usd-coin', decimals: 6 }
},
rari: {
"0x0000000000000000000000000000000000000000": { coingeckoId: 'weth', decimals: 18 },
"0xf037540e51d71b2d2b1120e8432ba49f29edfbd0": { coingeckoId: 'weth', decimals: 18 },
"0xfbda5f676cb37624f28265a144a48b0d6e87d3b6": { coingeckoId: 'usd-coin', decimals: 6 },
}
}

Expand Down

0 comments on commit 3624260

Please sign in to comment.