Flow price: --
f674d9761e1096e6c2ede4174fd10b50401fd94e4eccc399c6ee7f8e841a9174

Transaction

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


Hash:
f674d9761e1096e6c2ede4174fd10b50401fd94e4eccc399c6ee7f8e841a9174
Status:
ERROR
Block height:
67531077
Block id:
a3a11cdebaa5e097eef86508d6bf27721a49648ec50ea80393f3cad184227a9b
Timestamp:
Monday 11 December 2023 at 18:29:37 UTC
()
Proposer:
Authorizers: