Flow price: --
000d5332ae4cbb8b7bc85a69c9f0013bbec55b5c9f14609abb824c936424521d

Transaction

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


Hash:
000d5332ae4cbb8b7bc85a69c9f0013bbec55b5c9f14609abb824c936424521d
Status:
ERROR
Block height:
67455803
Block id:
18de290dcd1471a3fe1479a15aa9b053af541a1c99cf62cac844b3e6563a9d6c
Timestamp:
Sunday 10 December 2023 at 16:18:15 UTC
()
Proposer:
Authorizers: