export const WorkerAction = Object.freeze({
  INIT: "init",
  INIT_MOCK: "initMock",
  CALL_METHOD: "callMethod",
  EXECUTE_CALLBACK: "executeCallback",
});

export const CallbackType = Object.freeze({
  GET_KEY: "getKey",
  INSERT_KEY: "insertKey",
  SIGN: "sign",
});

export const MethodName = Object.freeze({
  CREATE_CLIENT: "createClient",
  APPLY_TRANSACTION: "applyTransaction",
  EXECUTE_TRANSACTION: "executeTransaction",
  PROVE_TRANSACTION: "proveTransaction",
  SUBMIT_NEW_TRANSACTION: "submitNewTransaction",
  SUBMIT_NEW_TRANSACTION_MOCK: "submitNewTransactionMock",
  SUBMIT_NEW_TRANSACTION_WITH_PROVER: "submitNewTransactionWithProver",
  SUBMIT_NEW_TRANSACTION_WITH_PROVER_MOCK: "submitNewTransactionWithProverMock",
  SYNC_STATE: "syncState",
  SYNC_STATE_MOCK: "syncStateMock",
});
