Flow price: --
d95411932f03b677ed5db55693f68c21e797df0af6048217919055c0ae250660

Transaction

Hash: d95411932f03b677ed5db55693f68c21e797df0af6048217919055c0ae250660
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: too many arguments
  --> d95411932f03b677ed5db55693f68c21e797df0af6048217919055c0ae250660:28:32
   |
28 |                 let forAmount = SwapConfig.getAmountOut(amountIn: token0Vault.balance, reserveIn: minfo[1], reserveOut: minfo[0], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4

error: too many arguments
  --> d95411932f03b677ed5db55693f68c21e797df0af6048217919055c0ae250660:35:32
   |
35 |                 let forAmount = SwapConfig.getAmountOut(amountIn: cur, reserveIn: minfo[0], reserveOut: minfo[1], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4


Hash:
d95411932f03b677ed5db55693f68c21e797df0af6048217919055c0ae250660
Status:
ERROR
Block height:
67481562
Block id:
832e50aa86734c568cf60f564fd359edd4728b8060554acb8d80fdc9bc2734ef
Timestamp:
Monday 11 December 2023 at 01:15:59 UTC
()
Proposer:
Authorizers: