Flow price: --
fdc2b224b74fef518ae484a53f383d7a587fb0d1dac54f2bd915701c8ed83258

Transaction

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


Hash:
fdc2b224b74fef518ae484a53f383d7a587fb0d1dac54f2bd915701c8ed83258
Status:
ERROR
Block height:
67548954
Block id:
700af8d7e688b7464eb4c0954b62b84dc444ab1b249d52c8bc0f77a216b59bdd
Timestamp:
Tuesday 12 December 2023 at 00:42:54 UTC
()
Proposer:
Authorizers: