Flow price: --
545c70712d6a0471ce6f77f32b0f558db13434350731906f259294a32ab8c20f

Transaction

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


Hash:
545c70712d6a0471ce6f77f32b0f558db13434350731906f259294a32ab8c20f
Status:
ERROR
Block height:
67494289
Block id:
3b5befd2ca1bcda66d2e80980f25fc387f1d6d46dfc1a6403483b30673acf433
Timestamp:
Monday 11 December 2023 at 05:41:37 UTC
()
Proposer:
Authorizers: