Flow price: --
9b010be2afdfa1a944aa91cdcedd48b9029292a6bb42eba156f58c9657c1dfe0

Transaction

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


Hash:
9b010be2afdfa1a944aa91cdcedd48b9029292a6bb42eba156f58c9657c1dfe0
Status:
ERROR
Block height:
68080934
Block id:
3623577ccc457209d4230c60b1892d8d20cad370723830da19ca31dc5db55dd6
Timestamp:
Tuesday 19 December 2023 at 17:47:31 UTC
()
Proposer:
Authorizers: