Flow price: --
a978a32a8c23c4a28df05a35cf756cd107908d9f464fe18639b46a50976ee139

Transaction

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


Hash:
a978a32a8c23c4a28df05a35cf756cd107908d9f464fe18639b46a50976ee139
Status:
ERROR
Block height:
67459507
Block id:
e89e97e0cfcf0e23c49cacc57d63998409e4ab3ed718f9c54bf7876d3969becd
Timestamp:
Sunday 10 December 2023 at 17:35:34 UTC
()
Proposer:
Authorizers: