Flow price: --
9e348ced24ebbd001620c4d8799e4d726a34a5368b8e537ee0c2a56b15642a13

Transaction

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


Hash:
9e348ced24ebbd001620c4d8799e4d726a34a5368b8e537ee0c2a56b15642a13
Status:
ERROR
Block height:
67463831
Block id:
b7492674af2fcd9315d755b5644edba768b607cc303340400e845feea144da74
Timestamp:
Sunday 10 December 2023 at 19:05:52 UTC
()
Proposer:
Authorizers: