Flow price: --
2bf6e9ab57b1fd203ea7640b4d129b0af1488536718f5073f7bbd7b260aa3fab

Transaction

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


Hash:
2bf6e9ab57b1fd203ea7640b4d129b0af1488536718f5073f7bbd7b260aa3fab
Status:
ERROR
Block height:
67457181
Block id:
0fc294c84015f55b8ee6d619aee9d69348fcb635267cbcde64395c6d4460b98c
Timestamp:
Sunday 10 December 2023 at 16:47:01 UTC
()
Proposer:
Authorizers: