mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 08:34:23 +08:00
Add hybra-finance v4 pools (#16751)
Co-authored-by: Nash <tree6sir@gmail.com>
This commit is contained in:
16
projects/hybra-v4/index.js
Normal file
16
projects/hybra-v4/index.js
Normal 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)",
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user