Flow price: --
c496c91bfc98c9d1ab5e1435360f55e161332d9b494292d66f47df149e3991ac

Transaction

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


Hash:
c496c91bfc98c9d1ab5e1435360f55e161332d9b494292d66f47df149e3991ac
Status:
ERROR
Block height:
67830209
Block id:
8ce3d59111b4cf348cd5a83da30eaf608587eee91f8ccefa3cff02966cf0021b
Timestamp:
Saturday 16 December 2023 at 02:34:12 UTC
()
Proposer:
Authorizers: