Flow price: --
a6c0f72fa546ae73768cfdf31f538856696b1ef5b76632cb8e618405ed91dbc4

Transaction

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


Hash:
a6c0f72fa546ae73768cfdf31f538856696b1ef5b76632cb8e618405ed91dbc4
Status:
ERROR
Block height:
67473835
Block id:
2134a93dd7c0d366c15a2dc7a60e2bb37e322f61ceaf69087e091fb645421f4b
Timestamp:
Sunday 10 December 2023 at 22:34:41 UTC
()
Proposer:
Authorizers: