Flow price: --
2454fb062a946af9059dca52c898c8a80bbe8b84750fd74d11c1afcc9c4661b5

Transaction

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


Hash:
2454fb062a946af9059dca52c898c8a80bbe8b84750fd74d11c1afcc9c4661b5
Status:
ERROR
Block height:
67451278
Block id:
341ccd4a16c26c244b9b656a74423cab4aa24e2c45937faf2340e2ab80e1b472
Timestamp:
Sunday 10 December 2023 at 14:43:50 UTC
()
Proposer:
Authorizers: