Flow price: --
63932eeea7aff2d54c4f3472f76702d2244f464502c6b6692b737fd2b570fd41

Transaction

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


Hash:
63932eeea7aff2d54c4f3472f76702d2244f464502c6b6692b737fd2b570fd41
Status:
ERROR
Block height:
67674667
Block id:
0b55896c86398c66c4357523eb754919e25e0f5605881d32608995e7e515d107
Timestamp:
Wednesday 13 December 2023 at 20:27:11 UTC
()
Proposer:
Authorizers: