Flow price: --
17f84107029eab77c5e6d41a8c5ab67115c321178c5c069e24166a262f81642f

Transaction

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


Hash:
17f84107029eab77c5e6d41a8c5ab67115c321178c5c069e24166a262f81642f
Status:
ERROR
Block height:
67858180
Block id:
2a44703a680b9bec48fee7a843972c1df2f6cb715a023a40fa41385d367e8fb4
Timestamp:
Saturday 16 December 2023 at 12:18:01 UTC
()
Proposer:
Authorizers: