Flow price: --
556c8637bf33017e17efdac6ed9b1ed6e1f2a6ac5fccdf6be7f81339575ac9a8

Transaction

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


Hash:
556c8637bf33017e17efdac6ed9b1ed6e1f2a6ac5fccdf6be7f81339575ac9a8
Status:
ERROR
Block height:
68024514
Block id:
c0b7657e29c607b9262ce80f51029a0485ab2e0de0f428ae92357be9228168b3
Timestamp:
Monday 18 December 2023 at 22:09:33 UTC
()
Proposer:
Authorizers: