Flow price: --
c3805303083bbbd864f1cd62f149becc8134a801ce4e29c564a9ce2ba3b55083

Transaction

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


Hash:
c3805303083bbbd864f1cd62f149becc8134a801ce4e29c564a9ce2ba3b55083
Status:
ERROR
Block height:
67358080
Block id:
6bfef16b54c2b6cebb6f9c5788f8187b5da92fd91bb2bd832ace518c6ac42b02
Timestamp:
Saturday 9 December 2023 at 06:18:19 UTC
()
Proposer:
Authorizers: