Flow price: --
5b67b1258b8b0ea4dd75acf9e01aba01638a084f4d6411404759caad0d886c84

Transaction

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


Hash:
5b67b1258b8b0ea4dd75acf9e01aba01638a084f4d6411404759caad0d886c84
Status:
ERROR
Block height:
67515527
Block id:
f0824ff5fc129f5f2e5da2328639a084636f5a859cf6fa389936a5b28ea1fd8c
Timestamp:
Monday 11 December 2023 at 13:05:01 UTC
()
Proposer:
Authorizers: