Flow price: --
d5a94fe789a6540e1321ed3d1a2c2f2a89c8553c45a65034bdf5ba1d7a171f53

Transaction

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


Hash:
d5a94fe789a6540e1321ed3d1a2c2f2a89c8553c45a65034bdf5ba1d7a171f53
Status:
ERROR
Block height:
67553696
Block id:
162129e10089e0477fbe094fe1570323818787d7c6c48e63daffad8dbbb1cd15
Timestamp:
Tuesday 12 December 2023 at 02:21:52 UTC
()
Proposer:
Authorizers: