Flow price: --
26b307b7b11c39d22ce478c50e3d629016eff4303e3cbe725f1f7961f387e7c7

Transaction

Hash: 26b307b7b11c39d22ce478c50e3d629016eff4303e3cbe725f1f7961f387e7c7
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
  --> 26b307b7b11c39d22ce478c50e3d629016eff4303e3cbe725f1f7961f387e7c7: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
  --> 26b307b7b11c39d22ce478c50e3d629016eff4303e3cbe725f1f7961f387e7c7:35:32
   |
35 |                 let forAmount = SwapConfig.getAmountOut(amountIn: cur, reserveIn: minfo[0], reserveOut: minfo[1], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4


Hash:
26b307b7b11c39d22ce478c50e3d629016eff4303e3cbe725f1f7961f387e7c7
Status:
ERROR
Block height:
67548362
Block id:
e5251c906bf58d5021eca8204d83c8dca98decde185d29ca9d06a12fbabc6ed7
Timestamp:
Tuesday 12 December 2023 at 00:30:32 UTC
()
Proposer:
Authorizers: