Flow price: --
a133ae3cdeeeaa421d0c5ac67be98d3871b59fd4dbf7156f818ce186afa89ee5

Transaction

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


Hash:
a133ae3cdeeeaa421d0c5ac67be98d3871b59fd4dbf7156f818ce186afa89ee5
Status:
ERROR
Block height:
67531880
Block id:
004bc1b7de714aaef5f85e0d98ffd40db0a41a0da5d673043bfeb1f1149840bc
Timestamp:
Monday 11 December 2023 at 18:46:24 UTC
()
Proposer:
Authorizers: