From f39092a616ab481c5ca5a760825f473c509da94f Mon Sep 17 00:00:00 2001 From: Nash Date: Fri, 30 May 2025 01:28:31 +0800 Subject: [PATCH 1/3] feat hybra dex commit --- projects/hybra v2/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 projects/hybra v2/index.js diff --git a/projects/hybra v2/index.js b/projects/hybra v2/index.js new file mode 100644 index 00000000000..3f0fb4e30ef --- /dev/null +++ b/projects/hybra v2/index.js @@ -0,0 +1,9 @@ +const { uniTvlExport } = require("../helper/calculateUniTvl"); + +module.exports = { + misrepresentedTokens: true, + hyperliquid: { + tvl: uniTvlExport("0x9c7397c9C5ecC400992843408D3A283fE9108009", undefined, undefined, { + }, { useDefaultCoreAssets: true, hasStablePools: true, }), + } +}; From 8f33742e5bca46059b37c3fd61c9c12666402c0c Mon Sep 17 00:00:00 2001 From: Nash Date: Fri, 30 May 2025 14:13:02 +0800 Subject: [PATCH 2/3] update name hybra-v2 --- projects/{hybra v2 => hybra-v2}/index.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename projects/{hybra v2 => hybra-v2}/index.js (100%) diff --git a/projects/hybra v2/index.js b/projects/hybra-v2/index.js similarity index 100% rename from projects/hybra v2/index.js rename to projects/hybra-v2/index.js From 79cd8c9fe041f9248a5cbb3fa0f6586e68f7dd6e Mon Sep 17 00:00:00 2001 From: Kane Date: Sun, 19 Oct 2025 23:49:09 +0800 Subject: [PATCH 3/3] update hybra-v4 tvl --- projects/hybra-v4/index.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 projects/hybra-v4/index.js diff --git a/projects/hybra-v4/index.js b/projects/hybra-v4/index.js new file mode 100644 index 00000000000..26a2a100f23 --- /dev/null +++ b/projects/hybra-v4/index.js @@ -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)", + } + }) + } +}) \ No newline at end of file