Flow price: --
67751845b0950e15be3190a030e7b3127575dd078132ebc8c1abf62fb8101193

Transaction

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


Hash:
67751845b0950e15be3190a030e7b3127575dd078132ebc8c1abf62fb8101193
Status:
ERROR
Block height:
67946898
Block id:
bb49eb0e7b01b4a1e77ba82c761eb6af39b61cad7a07e10d149a7d64d91f7c1f
Timestamp:
Sunday 17 December 2023 at 19:09:41 UTC
()
Proposer:
Authorizers: