Flow price: --
9f9ed8dfd5f57c39a8fecf374943b681234d812181ecd2de1c60ec431b0f2179

Transaction

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


Hash:
9f9ed8dfd5f57c39a8fecf374943b681234d812181ecd2de1c60ec431b0f2179
Status:
ERROR
Block height:
67554293
Block id:
2a5498f9d2d76abf9e12669e1eff0a7c9ba0a8081abae49f8bfc5297e7da1411
Timestamp:
Tuesday 12 December 2023 at 02:34:23 UTC
()
Proposer:
Authorizers: