Flow price: --
5af72e50048eb8f293b23e6c397354de9962d04720e519348c37185a73102ad9

Transaction

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


Hash:
5af72e50048eb8f293b23e6c397354de9962d04720e519348c37185a73102ad9
Status:
ERROR
Block height:
67547519
Block id:
029e43296a07902744fd43a0649add54b35d2e3e6eca58b5f8536cda52eb55c0
Timestamp:
Tuesday 12 December 2023 at 00:12:56 UTC
()
Proposer:
Authorizers: