Flow price: --
65eeec25cde7292c82e1fd3b96ea71fbd49821dcbc732061deeba4f22b2ffdca

Transaction

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


Hash:
65eeec25cde7292c82e1fd3b96ea71fbd49821dcbc732061deeba4f22b2ffdca
Status:
ERROR
Block height:
67443694
Block id:
cdf7b32c61f03f9800355778fb6a2cbe65400223c3c7bcb8750b32cb9af35f4f
Timestamp:
Sunday 10 December 2023 at 12:05:29 UTC
()
Proposer:
Authorizers: