Flow price: --
7c4fe117ba4c855faf444b76286bc8399171760921ee68f87b3aa4908b0e60c5

Transaction

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


Hash:
7c4fe117ba4c855faf444b76286bc8399171760921ee68f87b3aa4908b0e60c5
Status:
ERROR
Block height:
67732515
Block id:
50f66a1cd10c8923b7fc8e58a524589b5bdd81cbc9c0a0f11e339184a16a9780
Timestamp:
Thursday 14 December 2023 at 16:34:39 UTC
()
Proposer:
Authorizers: