Flow price: --
b692dfc6f88e6931a2e247f826c056ac6509d9783b0791d63af6ea81106ac72a

Transaction

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


Hash:
b692dfc6f88e6931a2e247f826c056ac6509d9783b0791d63af6ea81106ac72a
Status:
ERROR
Block height:
67460470
Block id:
171107afdfc7af28e8990b5b5eb9a281e40463a734a9ea6ac079ce2cd4d09001
Timestamp:
Sunday 10 December 2023 at 17:55:41 UTC
()
Proposer:
Authorizers: