Flow price: --
0b98ad37a72d2a81b41bb88f866103e7901707a0e1a1ff2f37a6c57825467fa3

Transaction

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


Hash:
0b98ad37a72d2a81b41bb88f866103e7901707a0e1a1ff2f37a6c57825467fa3
Status:
ERROR
Block height:
67424923
Block id:
c63e0f08fe471b1be4aeeb62011e13dfeb85026f346e0f467b1bd4cec4562caa
Timestamp:
Sunday 10 December 2023 at 05:33:40 UTC
()
Proposer:
Authorizers: