Flow price: --
055878aafb61d00bfd3c9b0e34b5224f641b6434b048fea939cba6ad9b155555

Transaction

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


Hash:
055878aafb61d00bfd3c9b0e34b5224f641b6434b048fea939cba6ad9b155555
Status:
ERROR
Block height:
67428009
Block id:
2bc74328be9797e7109ef8a1c2d4f4c63209bb0da3fc0825e568e0b401580bd2
Timestamp:
Sunday 10 December 2023 at 06:38:04 UTC
()
Proposer:
Authorizers: