Flow price: --
c9880c02625c143d0ed186cac0a224d19c8a26c59b3332c50a2772d6023b835d

Transaction

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


Hash:
c9880c02625c143d0ed186cac0a224d19c8a26c59b3332c50a2772d6023b835d
Status:
ERROR
Block height:
68031510
Block id:
27fe05c6b69ad2f6e2d3c2cf9a26acaccd3f2d4ade86b2da923ff05fadd161d6
Timestamp:
Tuesday 19 December 2023 at 00:35:46 UTC
()
Proposer:
Authorizers: