Skip to content

Commit

Permalink
Remove tvl in USD
Browse files Browse the repository at this point in the history
  • Loading branch information
batphonghan committed Aug 20, 2024
1 parent 23d2c96 commit 495e41a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions adapters/kelp_gain_linea/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ type OutputDataSchemaRow = {
token_balance: bigint;
token_symbol: string; // token symbol should be empty string if it is not available
usd_price: number; // assign 0 if not available
tvl_usd: string;
};

const getMultiplierPercent = (tvlInUSD: BigNumber) => {
Expand Down Expand Up @@ -106,8 +105,7 @@ export const getUserTVLByBlock = async (blocks: BlockData) => {
token_address: rsETH.toLowerCase(),
token_balance: lineaUserBalance,
token_symbol: "rsETH",
usd_price: tvl.rsEthPrice.toNumber(),
tvl_usd: tvl.tvlInUSD.toString()
usd_price: tvl.rsEthPrice.toNumber()
});
});

Expand Down

0 comments on commit 495e41a

Please sign in to comment.