Flow price: --
2be2f1551e31a8852da8d2a2541566dfe2a5275ac698b8bb02dd6d0cac331599

Transaction

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


Hash:
2be2f1551e31a8852da8d2a2541566dfe2a5275ac698b8bb02dd6d0cac331599
Status:
ERROR
Block height:
67738234
Block id:
ff1ccf987cc1e1a69ce8090fd5ceeef53f0346f11fee58bd480c9b19a82b5382
Timestamp:
Thursday 14 December 2023 at 18:34:00 UTC
()
Proposer:
Authorizers: