Skip to content

Commit

Permalink
Update voltageswap adapter - add fusdv3 and pegswap (DefiLlama#10535)
Browse files Browse the repository at this point in the history
* add more assets to fuse core assets

* add WETH_2

* add fusdv3 and pegswap
  • Loading branch information
mul53 authored Jun 6, 2024
1 parent 4e0321f commit b8f92a6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
9 changes: 8 additions & 1 deletion projects/helper/coreAssets.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,14 @@
"USDT": "0xfadbbf8ce7d5b7041be672561bba99f79c532e10",
"KNC": "0x43b17749b246fd2a96de25d9e4184e27e09765b0",
"BUSD": "0x6a5f6a8121592becd6747a38d67451b310f7f156",
"null": "0x0000000000000000000000000000000000000000"
"null": "0x0000000000000000000000000000000000000000",
"USDC_2": "0x28c3d1cd466ba22f6cae51b1a4692a831696391a",
"USDT_2": "0x68c9736781e9316ebf5c3d49fe0c1f45d2d104cd",
"VOLT": "0x34ef2cc892a88415e9f02b91bfa9c91fc0be6bd4",
"FUSD_3": "0xce86a1cf3cff48139598de6bf9b1df2e0f79f86f",
"WETH_2": "0x5622f6dc93e08a8b717b149677930c38d5d50682",
"BNB": "0x6acb34b1df86e254b544189ec32cf737e2482058",
"BNB_2": "0x117c0419352ddb6fe575a67faa70315bdc4a93f3"
},
"evmos": {
"WEVMOS": "0xd4949664cd82660aae99bedc034a0dea8a0bd517",
Expand Down
28 changes: 24 additions & 4 deletions projects/voltage-stableswap/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { sumTokensExport } = require('../helper/unwrapLPs')

const FUSD_ADDRESS = '0xd0ce1b4a349c35e61af02f5971e71ac502441e49'.toLowerCase()
const FUSD_ADDRESS = '0xd0ce1b4a349c35e61af02f5971e71ac502441e49'
const STABLESWAP_ADDRESS = '0x2a68D7C6Ea986fA06B2665d08b4D08F5e7aF960c'.toLowerCase()
const FUSD_V3_ADDRESS = '0xce86a1cf3cff48139598de6bf9b1df2e0f79f86f'
const PEGSWAP_ADDRESS = '0x56ee525bb9056bed23a6055e60b2a2c5c225d1db'

const STABLES = [ADDRESSES.fuse.USDC, ADDRESSES.fuse.USDT, ADDRESSES.fuse.BUSD]
const STABLES = [
ADDRESSES.fuse.USDC,
ADDRESSES.fuse.USDT,
ADDRESSES.fuse.BUSD,
ADDRESSES.fuse.USDC_2,
ADDRESSES.fuse.USDT_2,
ADDRESSES.fuse.BNB,
ADDRESSES.fuse.BNB_2,
ADDRESSES.fuse.WETH,
ADDRESSES.fuse.WETH_2,
]

module.exports = {
fuse: {
tvl: sumTokensExport({ owners: [STABLESWAP_ADDRESS, FUSD_ADDRESS], tokens: STABLES, })
}
tvl: sumTokensExport({
owners: [
STABLESWAP_ADDRESS,
FUSD_ADDRESS,
FUSD_V3_ADDRESS,
PEGSWAP_ADDRESS,
],
tokens: STABLES,
}),
},
}

0 comments on commit b8f92a6

Please sign in to comment.