Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theg committed Jun 18, 2023
1 parent aca1909 commit c324b90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/adaptors/scrub-invest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const unwrapLP = async (chain, lpTokens) => {
const [token0, token1, getReserves, totalSupply, symbol] = await Promise.all(
['token0', 'token1', 'getReserves', 'totalSupply', 'symbol'].map((method) =>
sdk.api.abi.multiCall({
abi: abi[method],
abi: lpAbi[method],
calls: lpTokens.map((token) => ({
target: token,
})),
Expand All @@ -154,7 +154,7 @@ const unwrapLP = async (chain, lpTokens) => {

const token0Decimals = (
await sdk.api.abi.multiCall({
abi: abi.decimals,
abi: lpAbi.decimals,
calls: token0.map((token) => ({
target: token,
})),
Expand All @@ -164,7 +164,7 @@ const unwrapLP = async (chain, lpTokens) => {

const token1Decimals = (
await sdk.api.abi.multiCall({
abi: abi.decimals,
abi: lpAbi.decimals,
calls: token1.map((token) => ({
target: token,
})),
Expand Down

0 comments on commit c324b90

Please sign in to comment.