Skip to content

Commit 2301925

Browse files
add h2-finance v2 & v3 DEX TVLs (DefiLlama#11350)
1 parent 7e6ef9a commit 2301925

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

projects/h2-finance/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const { getUniTVL } = require('../helper/unknownTokens')
2+
3+
module.exports={
4+
misrepresentedTokens: true,
5+
methodology: "Factory address (0x50704Ac00064be03CEEd817f41E0Aa61F52ef4DC) is used to find the LP pairs. TVL is equal to the liquidity on the AMM.",
6+
cronos_zkevm: {
7+
tvl: getUniTVL({
8+
factory: '0x50704Ac00064be03CEEd817f41E0Aa61F52ef4DC',
9+
useDefaultCoreAssets: true,
10+
})
11+
}
12+
}

projects/h2-v3/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const { uniV3Export } = require("../helper/uniswapV3");
2+
3+
module.exports = uniV3Export({
4+
cronos_zkevm: {
5+
factory: "0x301cbe34dd38Cf69295Bf2698DC9be3B9EECEdFa",
6+
fromBlock: 79,
7+
},
8+
});

0 commit comments

Comments
 (0)