We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02081fb commit b619a9aCopy full SHA for b619a9a
src/dex/teddyswap.ts
@@ -189,7 +189,7 @@ export class TeddySwap extends BaseDex {
189
190
const batcherFeeForToken = Number(batcherFee.value) / Number(minReceive);
191
const [numerator, denominator] = decimalToFractionalImproved(batcherFeeForToken);
192
- const lpfee: number = 1000 - liquidityPool.poolFeePercent * 10;
+ const lpfee: bigint = BigInt(1000 - Math.floor(liquidityPool.poolFeePercent * 10));
193
194
swapParameters = {
195
...swapParameters,
0 commit comments