Flow price: --
71d5a674c1763399290d16237e5227a7c56afe10bf4fadab53244bfc89c9038c

Transaction

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


Hash:
71d5a674c1763399290d16237e5227a7c56afe10bf4fadab53244bfc89c9038c
Status:
ERROR
Block height:
67645594
Block id:
da1364a074b50d7c1c32be41267c1179bedd950a38438ff762f95dc290c8f1be
Timestamp:
Wednesday 13 December 2023 at 10:20:10 UTC
()
Proposer:
Authorizers: