Flow price: --
8784e121a325d20a43a77a6cddb79fe540581d4174f1fc927be2abc52b51529f

Transaction

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


Hash:
8784e121a325d20a43a77a6cddb79fe540581d4174f1fc927be2abc52b51529f
Status:
ERROR
Block height:
67532703
Block id:
b8bc48321dffa3b6ededb4417204932de46eb302224700f0f2732f1b739f4179
Timestamp:
Monday 11 December 2023 at 19:03:32 UTC
()
Proposer:
Authorizers: