Flow price: --
daeaba6d5e7a3557102bdb9595e741e6c81a0079764d0b8ffdcc8779c619ad37

Transaction

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


Hash:
daeaba6d5e7a3557102bdb9595e741e6c81a0079764d0b8ffdcc8779c619ad37
Status:
ERROR
Block height:
67452110
Block id:
10ebae5c25b8ee9134244f1adc9cefd58042ea94d7842d5a055ce0d80142c23d
Timestamp:
Sunday 10 December 2023 at 15:01:11 UTC
()
Proposer:
Authorizers: