Skip to content

Commit

Permalink
fix gyro token rate
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns committed Jan 31, 2024
1 parent ad62858 commit 8857462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sor/sorV2/lib/pools/gyroE/gyroEPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class GyroEPool implements BasePool {
const tokenAmount = TokenAmount.fromHumanAmount(token, poolToken.dynamicData.balance);
const tokenRate = poolToken.dynamicData.priceRate;

poolTokens.push(new GyroEPoolToken(token, tokenAmount.amount, tokenRate, poolToken.index));
poolTokens.push(new GyroEPoolToken(token, tokenAmount.amount, parseEther(tokenRate), poolToken.index));
}

const gyroEParams: GyroEParams = {
Expand Down

0 comments on commit 8857462

Please sign in to comment.