Flow price: --
9ece6903e1119d8b0b3f9908e51cdf4766e19ce5f2759a3c8473b7260dbe1e82

Transaction

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


Hash:
9ece6903e1119d8b0b3f9908e51cdf4766e19ce5f2759a3c8473b7260dbe1e82
Status:
ERROR
Block height:
67460722
Block id:
1b9b464d3c90a323670d092d0a69244f92096cbaf2c4addeda283a5cbc66e81e
Timestamp:
Sunday 10 December 2023 at 18:00:58 UTC
()
Proposer:
Authorizers: