Flow price: --
6dcd06e4679fa1d4a0d9c1be476aeef410540067b8295e7ecf2c8f45892eb000

Transaction

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


Hash:
6dcd06e4679fa1d4a0d9c1be476aeef410540067b8295e7ecf2c8f45892eb000
Status:
ERROR
Block height:
67900183
Block id:
171f362937e8658af9fd15082605e258cb17b6bafdbd004df17d31ffa8977df9
Timestamp:
Sunday 17 December 2023 at 02:54:44 UTC
()
Proposer:
Authorizers: