Flow price: --
741e420e8af1cff84757b368d2cfef9badd13a43d092733118a67a4259240bc9

Transaction

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


Hash:
741e420e8af1cff84757b368d2cfef9badd13a43d092733118a67a4259240bc9
Status:
ERROR
Block height:
67962588
Block id:
1748883e0e0bd82c0b578e884004d43c36c3bdac38cdbc4bf727dd4d6e415bbe
Timestamp:
Monday 18 December 2023 at 00:37:08 UTC
()
Proposer:
Authorizers: