Flow price: --
245896bead67c695efa9b4c886f4cbe5a3efeaafa1d13f341ddf41c53cb49a9e

Transaction

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


Hash:
245896bead67c695efa9b4c886f4cbe5a3efeaafa1d13f341ddf41c53cb49a9e
Status:
ERROR
Block height:
67752625
Block id:
27c6b317d958cdf2f462f796a2b9e7f6d6be77d04bc14bc54f85723c76c81cee
Timestamp:
Thursday 14 December 2023 at 23:34:26 UTC
()
Proposer:
Authorizers: