Flow price: --
2f139ee90c6f885303154702bb621f5083fafd67d25e1c5c5419a5fb101cd0a5

Transaction

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


Hash:
2f139ee90c6f885303154702bb621f5083fafd67d25e1c5c5419a5fb101cd0a5
Status:
ERROR
Block height:
68065933
Block id:
49bb589125da3d662689cfd1dc749bdea99182e2473e4bd7aa18e4231231b762
Timestamp:
Tuesday 19 December 2023 at 12:34:28 UTC
()
Proposer:
Authorizers: