Flow price: --
c0067a713597710f6b25e8300490f7e3685f586528c6ea0ebc8bf5a3e8773b2a

Transaction

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


Hash:
c0067a713597710f6b25e8300490f7e3685f586528c6ea0ebc8bf5a3e8773b2a
Status:
ERROR
Block height:
68082044
Block id:
e3c19a7eb3804c90ea869e58640943ce50b9f0662ced4f7af61025475e54758c
Timestamp:
Tuesday 19 December 2023 at 18:10:41 UTC
()
Proposer:
Authorizers: