Flow price: --
e20149f4011410f3b57896aa4b1c1feb3c48881a2bcdf64356b86dcea1cf3ec7

Transaction

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


Hash:
e20149f4011410f3b57896aa4b1c1feb3c48881a2bcdf64356b86dcea1cf3ec7
Status:
ERROR
Block height:
67422870
Block id:
989207073254fdfb430c3a2fba688fa160e568da5cb3cbbc27d076c9479ac12c
Timestamp:
Sunday 10 December 2023 at 04:50:50 UTC
()
Proposer:
Authorizers: