Flow price: --
31f774def7bce68c582c08ad00170b74bba8b3e02ab66452a6cef5b8fc8507c3

Transaction

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


Hash:
31f774def7bce68c582c08ad00170b74bba8b3e02ab66452a6cef5b8fc8507c3
Status:
ERROR
Block height:
67381761
Block id:
50b94751d39862dc6d441602a5d89ec0d1d35951cec9567b5ff580f758077e61
Timestamp:
Saturday 9 December 2023 at 14:32:30 UTC
()
Proposer:
Authorizers: