forked from DefiLlama/DefiLlama-Adapters
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update voltageswap adapter - add fusdv3 and pegswap (DefiLlama#10535)
* add more assets to fuse core assets * add WETH_2 * add fusdv3 and pegswap
- Loading branch information
Showing
2 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}), | ||
}, | ||
} |