From 3318462905b27b505d5cbc1cd746ef54748cc7aa Mon Sep 17 00:00:00 2001 From: kyle-layerzero <98773402+kyle-layerzero@users.noreply.github.com> Date: Wed, 8 May 2024 13:46:37 -0700 Subject: [PATCH] chore: use hardcoded token address --- adapters/stargate/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/adapters/stargate/src/index.ts b/adapters/stargate/src/index.ts index e204c0d4..a64e01a3 100644 --- a/adapters/stargate/src/index.ts +++ b/adapters/stargate/src/index.ts @@ -29,6 +29,8 @@ const getData = async () => { }); }; +const WHITELISTED_TOKEN_ADDRESS = '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee' + export const getUserTVLByBlock = async ({ blockNumber, blockTimestamp, @@ -39,7 +41,7 @@ export const getUserTVLByBlock = async ({ block_number: blockNumber, timestamp: blockTimestamp, user_address: position.user, - token_address: position.lpToken, + token_address: WHITELISTED_TOKEN_ADDRESS, token_balance: BigInt(position.balance), token_symbol: "", usd_price: 0,