Flow price: --
26964f6aeb879d3b2396af06eab37fe2e114aacd4bd265e5cc9c2f303f927851

Transaction

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


Hash:
26964f6aeb879d3b2396af06eab37fe2e114aacd4bd265e5cc9c2f303f927851
Status:
ERROR
Block height:
67460496
Block id:
d8d80dc24b9cd50ed93b2a494149ec419cdd1327b8b6d6d325d5dcc77cc42d62
Timestamp:
Sunday 10 December 2023 at 17:56:14 UTC
()
Proposer:
Authorizers: