Flow price: --
5c45b5d69f111a0f6a38288caca804ff4c3a59d0bad6566c446c5f12437689ce

Transaction

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


Hash:
5c45b5d69f111a0f6a38288caca804ff4c3a59d0bad6566c446c5f12437689ce
Status:
ERROR
Block height:
68134917
Block id:
beccc377db7f37329a8770f1552b747bafb3ca75a424c032b7a91cdafcc7a317
Timestamp:
Wednesday 20 December 2023 at 12:34:21 UTC
()
Proposer:
Authorizers: