Flow price: --
e69da1ce846b2acf06f2fec6ef08391bf287847fc6cdf970f925a85463827824

Transaction

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


Hash:
e69da1ce846b2acf06f2fec6ef08391bf287847fc6cdf970f925a85463827824
Status:
ERROR
Block height:
67912121
Block id:
ae04b6d5c436414409fba0e56c89c7798b306a106f22664c81c2cced9458184c
Timestamp:
Sunday 17 December 2023 at 07:03:54 UTC
()
Proposer:
Authorizers: