Flow price: --
ea91f451b970052cacfe903929dcef1d4b3f5443b2770e153ca7a06e8185d8cf

Transaction

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


Hash:
ea91f451b970052cacfe903929dcef1d4b3f5443b2770e153ca7a06e8185d8cf
Status:
ERROR
Block height:
67666012
Block id:
462a8f8e508bb038140a1c68979ed756599b169721b6064ee130bdfe945223c9
Timestamp:
Wednesday 13 December 2023 at 17:26:24 UTC
()
Proposer:
Authorizers: