Flow price: --
cc3a1597f8cd80812ae1d6d40f41044d47fa6156471df12cbaa7f737a9d83bd7

Transaction

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


Hash:
cc3a1597f8cd80812ae1d6d40f41044d47fa6156471df12cbaa7f737a9d83bd7
Status:
ERROR
Block height:
67387141
Block id:
0b046734d7623431277e50963818b1b0b4040476b63659579e2309f81889ed9e
Timestamp:
Saturday 9 December 2023 at 16:24:50 UTC
()
Proposer:
Authorizers: