Flow price: --
98b680e2220967d0cb97dc961e72cf4ea4a8ad6dbc9226658a40034bc6559dbd

Transaction

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


Hash:
98b680e2220967d0cb97dc961e72cf4ea4a8ad6dbc9226658a40034bc6559dbd
Status:
ERROR
Block height:
67549028
Block id:
80caa38ad1020d739c887e3f71a3b38f976a4ca101407b178e00a08aa5e7cd82
Timestamp:
Tuesday 12 December 2023 at 00:44:26 UTC
()
Proposer:
Authorizers: