Flow price: --
b2105f027614dfdbec17674149823730b7a38a9a8f17f5e80de6268f6d0fb3e8

Transaction

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


Hash:
b2105f027614dfdbec17674149823730b7a38a9a8f17f5e80de6268f6d0fb3e8
Status:
ERROR
Block height:
67414653
Block id:
a40316ede2f686283912b003285e40efc34e5db6c2e10f49af2ec900a5e0349b
Timestamp:
Sunday 10 December 2023 at 01:59:10 UTC
()
Proposer:
Authorizers: