Flow price: --
5367d5f1427f94730dbc2a3240cba52edc8a7465378ea41690552488929ff8b2

Transaction

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


Hash:
5367d5f1427f94730dbc2a3240cba52edc8a7465378ea41690552488929ff8b2
Status:
ERROR
Block height:
67548134
Block id:
32015af00eee5baacc79c746efbfc34a6f580f37269867bf5b76a10a6f44076b
Timestamp:
Tuesday 12 December 2023 at 00:25:46 UTC
()
Proposer:
Authorizers: