diff --git a/packages/bento-web/src/defi/klaytn/klayswap/single.ts b/packages/bento-web/src/defi/klaytn/klayswap/single.ts index dc975883..793bd213 100644 --- a/packages/bento-web/src/defi/klaytn/klayswap/single.ts +++ b/packages/bento-web/src/defi/klaytn/klayswap/single.ts @@ -65,6 +65,12 @@ export const getSinglePoolBalance = async ( const tokenInfo = getTokenInfo(pool.token); const balance = Number(rawBalance) / 10 ** (tokenInfo?.decimals || 18); + let tokenAmounts: Record | undefined = undefined; + if (tokenInfo) { + tokenAmounts = { + [tokenInfo.symbol]: balance, + }; + } return { protocol: KlaytnDeFiProtocolType.KLAYSWAP, @@ -75,6 +81,7 @@ export const getSinglePoolBalance = async ( tokens: [tokenInfo || null], staked: { lpAmount: balance, + tokenAmounts, }, rewards: { tokenAmounts: {