From 2cd6e34078a337249dae1559020421304542b940 Mon Sep 17 00:00:00 2001 From: Jaimi Patel Date: Tue, 3 Nov 2026 18:39:40 +0000 Subject: [PATCH 1/4] dexalot: add omnivault yields --- src/adaptors/dexalot-omnivaults/index.js | 40 ++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/adaptors/dexalot-omnivaults/index.js diff --git a/src/adaptors/dexalot-omnivaults/index.js b/src/adaptors/dexalot-omnivaults/index.js new file mode 100644 index 0000000000..77d16413e3 --- /dev/null +++ b/src/adaptors/dexalot-omnivaults/index.js @@ -0,0 +1,40 @@ +const axios = require('axios'); +const utils = require('../utils'); + +const VAULT_YIELDS_URL = 'https://api.dexalot.com/api/stats/vaultyields'; + +const vaultPools = async () => { + const { data } = await axios.get(VAULT_YIELDS_URL); + return data.vaults.map((v) => ({ + pool: `${v.address}-dexalot`.toLowerCase(), + // the vault's share token on the Dexalot chain + token: v.address.toLowerCase(), + chain: utils.formatChain('dexalot'), + project: 'dexalot-omnivaults', + symbol: utils.formatSymbol(v.pair.replace('/', '-')), + tvlUsd: v.tvl_usd, + // fee apy is the vault's share of taker fees (last full UTC day, with a 7d average), trading pnl isn't included. + // Reward apr is the incentive program on top, Dexalot's headline vault APY is the sum of the two + apyBase: v.fee_apy_1d, + apyBase7d: v.fee_apy_7d, + apyReward: v.reward_apr || null, + // rewards (ALOT, sAVAX) are paid on the Dexalot L1, the API gives their Avalanche C-Chain addresses + rewardTokens: v.reward_tokens.length > 0 ? v.reward_tokens.map((t) => t.toLowerCase()) : null, + volumeUsd1d: v.volume_usd_1d, + volumeUsd7d: v.volume_usd_7d, + // no underlyingTokens: the vault holds Dexalot portfolio-internal balances, not ERC20s, + // so there are no token addresses on this chain. Exposure/ilRisk derive from the symbol. + poolMeta: v.name, + url: `https://app.dexalot.com/omnivault/${v.id}`, + })); +}; + +const apy = async () => (await vaultPools()).filter((p) => p.tvlUsd > 0); + +module.exports = { + // TODO: the Dexalot OmniVaults protocol id once its listing is live (DefiLlama-Adapters#22004) + protocolId: '', + timetravel: false, + apy, + url: 'https://app.dexalot.com/vaults', +}; From fe45d1b5d5bf98b5312881428c6fd96011c883b9 Mon Sep 17 00:00:00 2001 From: Jaimi Patel Date: Thu, 5 Nov 2026 09:30:06 +0000 Subject: [PATCH 2/4] dexalot: set omnivaults protocolId --- src/adaptors/dexalot-omnivaults/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/adaptors/dexalot-omnivaults/index.js b/src/adaptors/dexalot-omnivaults/index.js index 77d16413e3..c75686f76c 100644 --- a/src/adaptors/dexalot-omnivaults/index.js +++ b/src/adaptors/dexalot-omnivaults/index.js @@ -32,8 +32,7 @@ const vaultPools = async () => { const apy = async () => (await vaultPools()).filter((p) => p.tvlUsd > 0); module.exports = { - // TODO: the Dexalot OmniVaults protocol id once its listing is live (DefiLlama-Adapters#22004) - protocolId: '', + protocolId: '9337', timetravel: false, apy, url: 'https://app.dexalot.com/vaults', From 870fb56ce10c0180981c03433a88b40065dd2620 Mon Sep 17 00:00:00 2001 From: Jaimi Patel Date: Mon, 23 Nov 2026 18:33:07 +0000 Subject: [PATCH 3/4] dexalot: use coingecko ids for omnivault reward and underlying tokens --- src/adaptors/dexalot-omnivaults/index.js | 46 ++++++++++++------------ 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/src/adaptors/dexalot-omnivaults/index.js b/src/adaptors/dexalot-omnivaults/index.js index c75686f76c..adc6f949bc 100644 --- a/src/adaptors/dexalot-omnivaults/index.js +++ b/src/adaptors/dexalot-omnivaults/index.js @@ -5,28 +5,30 @@ const VAULT_YIELDS_URL = 'https://api.dexalot.com/api/stats/vaultyields'; const vaultPools = async () => { const { data } = await axios.get(VAULT_YIELDS_URL); - return data.vaults.map((v) => ({ - pool: `${v.address}-dexalot`.toLowerCase(), - // the vault's share token on the Dexalot chain - token: v.address.toLowerCase(), - chain: utils.formatChain('dexalot'), - project: 'dexalot-omnivaults', - symbol: utils.formatSymbol(v.pair.replace('/', '-')), - tvlUsd: v.tvl_usd, - // fee apy is the vault's share of taker fees (last full UTC day, with a 7d average), trading pnl isn't included. - // Reward apr is the incentive program on top, Dexalot's headline vault APY is the sum of the two - apyBase: v.fee_apy_1d, - apyBase7d: v.fee_apy_7d, - apyReward: v.reward_apr || null, - // rewards (ALOT, sAVAX) are paid on the Dexalot L1, the API gives their Avalanche C-Chain addresses - rewardTokens: v.reward_tokens.length > 0 ? v.reward_tokens.map((t) => t.toLowerCase()) : null, - volumeUsd1d: v.volume_usd_1d, - volumeUsd7d: v.volume_usd_7d, - // no underlyingTokens: the vault holds Dexalot portfolio-internal balances, not ERC20s, - // so there are no token addresses on this chain. Exposure/ilRisk derive from the symbol. - poolMeta: v.name, - url: `https://app.dexalot.com/omnivault/${v.id}`, - })); + return data.vaults.map((v) => { + // token lists are coingecko ids, empty when a vault has no rewards + const hasRewards = v.reward_tokens.length > 0; + return { + pool: `${v.address}-dexalot`.toLowerCase(), + // the vault's share token on the Dexalot chain + token: v.address.toLowerCase(), + chain: utils.formatChain('dexalot'), + project: 'dexalot-omnivaults', + symbol: v.pair.replace('/', '-'), + tvlUsd: v.tvl_usd, + // fee apy is the vault's share of taker fees (last full UTC day, with a 7d average), trading pnl isn't included. + // Reward apr is the incentive program on top, Dexalot's headline vault APY is the sum of the two + apyBase: v.fee_apy_1d, + apyBase7d: v.fee_apy_7d, + apyReward: hasRewards ? v.reward_apr || null : null, + rewardTokens: hasRewards ? v.reward_tokens : null, + underlyingTokens: v.underlying_tokens.length > 0 ? v.underlying_tokens : undefined, + volumeUsd1d: v.volume_usd_1d, + volumeUsd7d: v.volume_usd_7d, + poolMeta: v.name, + url: `https://app.dexalot.com/omnivault/${v.id}`, + }; + }); }; const apy = async () => (await vaultPools()).filter((p) => p.tvlUsd > 0); From 73ff922486d1484f3e88e8aeb577051db2126375 Mon Sep 17 00:00:00 2001 From: Jaimi Patel Date: Mon, 23 Nov 2026 18:54:37 +0000 Subject: [PATCH 4/4] dexalot: pass underlying tokens through --- src/adaptors/dexalot-omnivaults/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adaptors/dexalot-omnivaults/index.js b/src/adaptors/dexalot-omnivaults/index.js index adc6f949bc..eda3360f42 100644 --- a/src/adaptors/dexalot-omnivaults/index.js +++ b/src/adaptors/dexalot-omnivaults/index.js @@ -22,7 +22,7 @@ const vaultPools = async () => { apyBase7d: v.fee_apy_7d, apyReward: hasRewards ? v.reward_apr || null : null, rewardTokens: hasRewards ? v.reward_tokens : null, - underlyingTokens: v.underlying_tokens.length > 0 ? v.underlying_tokens : undefined, + underlyingTokens: v.underlying_tokens, volumeUsd1d: v.volume_usd_1d, volumeUsd7d: v.volume_usd_7d, poolMeta: v.name,