Flow price: --
4c54fd492e7bab3a1404e3253b7cbc20e8a144a4f3779decdd77b172545e565c

Transaction

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


Hash:
4c54fd492e7bab3a1404e3253b7cbc20e8a144a4f3779decdd77b172545e565c
Status:
ERROR
Block height:
67519812
Block id:
68d3a454af8b60cbae5298c13c9b11e53264070b7c5143d0dd453a1f7a5fc6e7
Timestamp:
Monday 11 December 2023 at 14:34:29 UTC
()
Proposer:
Authorizers: