Flow price: --
ad3761557ef17b0dce8b3da1c2cf4760b54130162a2986d9059c883956b1d42a

Transaction

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


Hash:
ad3761557ef17b0dce8b3da1c2cf4760b54130162a2986d9059c883956b1d42a
Status:
ERROR
Block height:
67463141
Block id:
db65f4f2ea2894710557917f7e98553b578e95d050e3a59b9bf6e53793aa4f68
Timestamp:
Sunday 10 December 2023 at 18:51:28 UTC
()
Proposer:
Authorizers: