diff --git a/adapters/secta/src/sdk/poolDetails.ts b/adapters/secta/src/sdk/poolDetails.ts index b8496343..1e68e043 100644 --- a/adapters/secta/src/sdk/poolDetails.ts +++ b/adapters/secta/src/sdk/poolDetails.ts @@ -36,6 +36,8 @@ export const getV2LpValue = async (rpc: string, pairs: V2Pair[], mintedAddresses ); const userLpBalance = new BigNumber(userLpBalanceBigInt.toString()); + if (pair.totalSupply == 0) continue; + const totalSupply = new BigNumber(pair.totalSupply); const userShare = userLpBalance.dividedBy(totalSupply);