Flow price: --
011b370802c4457829a39bed26d49a4bf834ccb80da131fac7de47232cd13936

Transaction

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


Hash:
011b370802c4457829a39bed26d49a4bf834ccb80da131fac7de47232cd13936
Status:
ERROR
Block height:
67535843
Block id:
86ee94afe8c83cdf6da05d9a4aaadc31dd31397b04efb8d044b754786e4cfd09
Timestamp:
Monday 11 December 2023 at 20:09:06 UTC
()
Proposer:
Authorizers: