Flow price: --
8bf97e267763e31be24c974ffc39c2ade13072aed03f5dd0fd7589e9df3be1b3

Transaction

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


Hash:
8bf97e267763e31be24c974ffc39c2ade13072aed03f5dd0fd7589e9df3be1b3
Status:
ERROR
Block height:
67420338
Block id:
04d11725bf52f4a813bbc8c8a5c3785986d0e7f259d8500b712c0aa036a557d9
Timestamp:
Sunday 10 December 2023 at 03:57:54 UTC
()
Proposer:
Authorizers: