Flow price: --
808790ac9ebce85c5dba98b77fd432e60dace8f463cac583fdd2891e5d37c02c

Transaction

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


Hash:
808790ac9ebce85c5dba98b77fd432e60dace8f463cac583fdd2891e5d37c02c
Status:
ERROR
Block height:
68021680
Block id:
50b0a08af7e180988fa8607cad343dafcba427b25b2e44bb794e2a277d238f64
Timestamp:
Monday 18 December 2023 at 21:10:25 UTC
()
Proposer:
Authorizers: