Flow price: --
9a06689443aef039378d7e5d3cc6ace3a8158ba15a4cfd461dd44613829d5650

Transaction

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


Hash:
9a06689443aef039378d7e5d3cc6ace3a8158ba15a4cfd461dd44613829d5650
Status:
ERROR
Block height:
67752620
Block id:
9af2126990a1a7c491a9f10482b7a132fdee4dacfdcb97d6a2818348a94b65f6
Timestamp:
Thursday 14 December 2023 at 23:34:18 UTC
()
Proposer:
Authorizers: