Flow price: --
6bffd9dcf61430f9b4a94b5c5483b2c1c11531dc0ce3b01c48759d90b1c698dd

Transaction

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


Hash:
6bffd9dcf61430f9b4a94b5c5483b2c1c11531dc0ce3b01c48759d90b1c698dd
Status:
ERROR
Block height:
67459925
Block id:
3130a7253a01d7a0dadf78f4205279749b3a5a9fc79fc78e59f3e9c2561f0395
Timestamp:
Sunday 10 December 2023 at 17:44:19 UTC
()
Proposer:
Authorizers: