Flow price: --
de06bae8a93cea1b53ee7d39d5a17ad2f594462cdbc2effb68ced1dcdf63f433

Transaction

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


Hash:
de06bae8a93cea1b53ee7d39d5a17ad2f594462cdbc2effb68ced1dcdf63f433
Status:
ERROR
Block height:
67816455
Block id:
35d78558611d3b6fa45aa5e33ee7e925c3b6ff166df1afe40b452296cb77397c
Timestamp:
Friday 15 December 2023 at 21:46:52 UTC
()
Proposer:
Authorizers: