Flow price: --
780b2cb1549dc3ea6cf46db59f1612a4aaaa635a9cb05343cb0e023fbc2cf298

Transaction

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


Hash:
780b2cb1549dc3ea6cf46db59f1612a4aaaa635a9cb05343cb0e023fbc2cf298
Status:
ERROR
Block height:
67384077
Block id:
527c9fb030bd52acadcd29206fffdfa38d3300ecd25099a50804afe42a2c3069
Timestamp:
Saturday 9 December 2023 at 15:20:51 UTC
()
Proposer:
Authorizers: