Flow price: --
3366e2223f2cc39ced3959bae004d72416f1d9581ef4222c5b8610c3d37c007f

Transaction

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


Hash:
3366e2223f2cc39ced3959bae004d72416f1d9581ef4222c5b8610c3d37c007f
Status:
ERROR
Block height:
67550207
Block id:
66a677fb4ac4b76794e548de03674a5aa0322a9125b631a36c08be9bf0564bf7
Timestamp:
Tuesday 12 December 2023 at 01:09:02 UTC
()
Proposer:
Authorizers: