Flow price: --
1a6eb691332acc25b296146f0c62d6317dbd39772a33baea0020816aba21e9f5

Transaction

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


Hash:
1a6eb691332acc25b296146f0c62d6317dbd39772a33baea0020816aba21e9f5
Status:
ERROR
Block height:
67387957
Block id:
ef110566ef4a42efebb14dce135001e5173772aa9013d2eba305a45835a1e022
Timestamp:
Saturday 9 December 2023 at 16:41:53 UTC
()
Proposer:
Authorizers: