Flow price: --
69b8462818f83ae685bb47d29ab21734903e77157820c4cfcab86df3778d6d85

Transaction

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


Hash:
69b8462818f83ae685bb47d29ab21734903e77157820c4cfcab86df3778d6d85
Status:
ERROR
Block height:
67553761
Block id:
be4d3d18b7b2ad8519124a0d83c80e001ab324cd8f162754be1d7b2b55793519
Timestamp:
Tuesday 12 December 2023 at 02:23:15 UTC
()
Proposer:
Authorizers: