Skip to content

Commit 65fd041

Browse files
chimpytutsg1nt0ki
andauthored
Add MondrianSwap (DefiLlama#13449)
Co-authored-by: g1nt0ki <[email protected]>
1 parent 1d0731b commit 65fd041

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

projects/mondrian/index.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const { onChainTvl } = require('../helper/balancer')
2+
3+
const V2_ADDRESS = '0x48cD08ad2065e0cD2dcD56434e393D55A59a4F64'; // shared by all networks
4+
5+
const config = {
6+
abstract: { fromBlock: 1199036, },
7+
}
8+
9+
Object.keys(config).forEach(chain => {
10+
const { fromBlock } = config[chain]
11+
module.exports[chain] = {
12+
tvl: onChainTvl(V2_ADDRESS, fromBlock)
13+
}
14+
})

0 commit comments

Comments
 (0)