Skip to content

Commit

Permalink
fix: hyeth quote amount
Browse files Browse the repository at this point in the history
  • Loading branch information
janndriessen committed Jul 4, 2024
1 parent 9f3d1a2 commit 60c0350
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/quote/flashmint/hyeth/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ export class FlashMintHyEthQuoteProvider
outputToken
)
if (!quoteResult) return null
const inputOutputTokenAmount = isMinting
? (quoteResult.inputOutputTokenAmount * BigInt(1003)) / BigInt(1000)
: (quoteResult.inputOutputTokenAmount * BigInt(1000)) / BigInt(1007)
const inputOutputTokenAmount = quoteResult.inputOutputTokenAmount
return {
indexTokenAmount,
inputOutputTokenAmount,
Expand Down

0 comments on commit 60c0350

Please sign in to comment.