Skip to content

Commit 4a6c854

Browse files
authored
Add Bridge as main bridge in AirDAO Network (DefiLlama#11035)
1 parent 7ac6c64 commit 4a6c854

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

projects/airdao-bridge/index.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
const { sumTokensExport, nullAddress } = require("../helper/unwrapLPs");
2+
const ADDRESSES = require('../helper/coreAssets.json')
3+
4+
const CHAINS = {
5+
ethereum: {
6+
locker: "0x0De2669e8A7A6F6CC0cBD3Cf2D1EEaD89e243208",
7+
tokens: [ADDRESSES.ethereum.USDC, ADDRESSES.ethereum.USDT, ADDRESSES.ethereum.WETH]
8+
},
9+
bsc: {
10+
locker: "0x92fa52d3043725D00Eab422440C4e9ef3ba180d3",
11+
tokens: [ADDRESSES.bsc.USDC, ADDRESSES.bsc.USDT, ADDRESSES.bsc.WBNB, ADDRESSES.bsc.BUSD]
12+
},
13+
}
14+
15+
module.exports = {
16+
methodology:
17+
"Adds up the total value locked as collateral on the Bridge platform"
18+
}
19+
20+
Object.keys(CHAINS).forEach(chain => {
21+
module.exports[chain] = {
22+
tvl: sumTokensExport({ owner: CHAINS[chain].locker, tokens: CHAINS[chain].tokens })
23+
}
24+
})

0 commit comments

Comments
 (0)