Flow price: --
6c3b8d45c27e5e111f23206acd12edbf5783796d89a71cd29c1b69a49f3fac80

Transaction

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


Hash:
6c3b8d45c27e5e111f23206acd12edbf5783796d89a71cd29c1b69a49f3fac80
Status:
ERROR
Block height:
67466093
Block id:
a8441b8962367b616a143bae14dfbf431bc2c2375829596250beb571d80bf1be
Timestamp:
Sunday 10 December 2023 at 19:53:04 UTC
()
Proposer:
Authorizers: