Flow price: --
81f1f44e46add4e4bb5d2dfe4a1141e7a47d336484f834f6f71aaf965402a3fe

Transaction

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


Hash:
81f1f44e46add4e4bb5d2dfe4a1141e7a47d336484f834f6f71aaf965402a3fe
Status:
ERROR
Block height:
67393146
Block id:
a3d11f37549eed1ad7dd2fe2d9e1f83fb4f4497051aa517e4c44e47de904d868
Timestamp:
Saturday 9 December 2023 at 18:30:14 UTC
()
Proposer:
Authorizers: