Add hybra-finance v4 pools (#16751)

Co-authored-by: Nash <tree6sir@gmail.com>
This commit is contained in:
hybra-finance
2025-10-20 19:57:57 +08:00
committed by GitHub
parent 7da80e556b
commit 0b2342fbea

View File

@@ -0,0 +1,16 @@
const { getUniTVL } = require('../helper/unknownTokens.js')
const config = {
hyperliquid: { factory: '0x32b9dA73215255d50D84FeB51540B75acC1324c2', fromBlock: 16715971, },
}
Object.keys(config).forEach(chain => {
const { factory, blacklistedTokens, } = config[chain]
module.exports[chain] = {
tvl: getUniTVL({
factory, blacklistedTokens, fetchBalances: true, abis: {
allPairsLength: 'uint256:allPoolsLength',
allPairs: "function allPools(uint) view returns (address)",
}
})
}
})