Flow price: --
b48efe180a6c0996bf4ba1f660a5c8621141a58246aad76800517f1b27c80313

Transaction

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


Hash:
b48efe180a6c0996bf4ba1f660a5c8621141a58246aad76800517f1b27c80313
Status:
ERROR
Block height:
67462687
Block id:
afe87a0801568c5a1061499c6ec03055e4bcdeba332e6dc89ee393a5f026807f
Timestamp:
Sunday 10 December 2023 at 18:41:59 UTC
()
Proposer:
Authorizers: