Flow price: --
5d33075e1194f0c54592912c87740d3c0c64889238b732918431b9a147e0c338

Transaction

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


Hash:
5d33075e1194f0c54592912c87740d3c0c64889238b732918431b9a147e0c338
Status:
ERROR
Block height:
67357854
Block id:
62549d91aa859896ff8b3cc762f1e115200c7c46759a9b250da03a11850a5868
Timestamp:
Saturday 9 December 2023 at 06:13:35 UTC
()
Proposer:
Authorizers: