Flow price: --
ce546b03979b4dea0051af2f55d9f954a7a2d27ce537ea4585e5476d226e6126

Transaction

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


Hash:
ce546b03979b4dea0051af2f55d9f954a7a2d27ce537ea4585e5476d226e6126
Status:
ERROR
Block height:
67372424
Block id:
8b8ff2a11afdfff7d4e905f117e08bc6870ffc7d5a66b4823ec10303c0401921
Timestamp:
Saturday 9 December 2023 at 11:17:39 UTC
()
Proposer:
Authorizers: