Flow price: --
ce40b6328a55fc2f55f117b93db2d53938276e86c22379369eeb5373dc486556

Transaction

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


Hash:
ce40b6328a55fc2f55f117b93db2d53938276e86c22379369eeb5373dc486556
Status:
ERROR
Block height:
68010755
Block id:
0ecd3371d3e5aff9842f654bfe27a1a59c8c70bcb1bcc82269516470bc7c1634
Timestamp:
Monday 18 December 2023 at 17:22:24 UTC
()
Proposer:
Authorizers: