Flow price: --
36333687262ab8b42c0486e32a6f50c877a97ff7a5243db5719eea84e643854d

Transaction

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


Hash:
36333687262ab8b42c0486e32a6f50c877a97ff7a5243db5719eea84e643854d
Status:
ERROR
Block height:
67358480
Block id:
aff684b110c7f4fe75b2f2d03ec94396feb1c19b56c07a7265e3ee2e588f36e2
Timestamp:
Saturday 9 December 2023 at 06:26:40 UTC
()
Proposer:
Authorizers: