Flow price: --
1f35c1312ee7948173bff64979f8f4d983816d102e835c32024558c4797d2ef9

Transaction

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


Hash:
1f35c1312ee7948173bff64979f8f4d983816d102e835c32024558c4797d2ef9
Status:
ERROR
Block height:
67479100
Block id:
e093c0c884692dbc8467f406f49f04e31cdbe67784a5a32aac0e3f73b78d08a4
Timestamp:
Monday 11 December 2023 at 00:24:36 UTC
()
Proposer:
Authorizers: