Flow price: --
adcecbd797e87d4900f0b8d59c08f1719c53774297a7f3d8cbb6444db751cb38

Transaction

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


Hash:
adcecbd797e87d4900f0b8d59c08f1719c53774297a7f3d8cbb6444db751cb38
Status:
ERROR
Block height:
67802509
Block id:
76ac7d78a5d562f0db67afb0e52633a57087c76f8439ef0713aeb1efea343d61
Timestamp:
Friday 15 December 2023 at 16:55:44 UTC
()
Proposer:
Authorizers: