Flow price: --
26ced45cd94c8e33515ee6b2d1dd919c4bd8085bf52c970a11db28154150cb76

Transaction

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


Hash:
26ced45cd94c8e33515ee6b2d1dd919c4bd8085bf52c970a11db28154150cb76
Status:
ERROR
Block height:
68189591
Block id:
dff469f0fac1021448284d6e662ea97a665017250bfdbb39b6a36f3f1e123e6e
Timestamp:
Thursday 21 December 2023 at 07:35:32 UTC
()
Proposer:
Authorizers: