Flow price: --
f672e2c9a2d8ab9ecce71aea893a0376a9370ca195a7f6b8b27cd78d6e6f7538

Transaction

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


Hash:
f672e2c9a2d8ab9ecce71aea893a0376a9370ca195a7f6b8b27cd78d6e6f7538
Status:
ERROR
Block height:
67585206
Block id:
8abfacc7eced405226da70fa3415f9b6e9a4c0262a84775c28bf312cf2e64f30
Timestamp:
Tuesday 12 December 2023 at 13:19:41 UTC
()
Proposer:
Authorizers: