@cfxlabsinc/b2b-services
    Preparing search index...

    What the worker does for the EVM programs: every step goes through wallet-api, which holds the keys and re-reads the chain.

    Index
    instance: (...args: []) => EvmProgramOpsAdminService = ...

    The process service: deploy and timelock ops through deploy, transaction.send through sign.

    • The hash an operator's retry executes with, past the checks the sweep makes before its own execute, so that a retry is no way round them.

      Parameters

      • __namedParameters: { chainId: number; proxy: EvmUpgradeable; release: string }

      Returns Promise<{ ok: true; value: `0x${string}` } | { error: ServiceError; ok: false }>

    • Refuses a chain that cannot be deployed before anything is sent.

      Parameters

      • __namedParameters: { chainId: number }

      Returns Promise<{ ok: true; value: EvmDeployPlan } | { error: RunError; ok: false }>

    • One wallet-api op, followed until confirmed. Idempotent: wallet-api answers a repeated reference from its row and a landed result from the chain.

      Parameters

      • __namedParameters: { chainId: number; reference: string; step: EvmOpStep }

      Returns Promise<
          | {
              ok: true;
              value: { alreadyDeployed: boolean; walletTransactionId: string
              | null };
          }
          | {
              error: | ServiceError<"WORKFLOW_ID_HELD">
              | WalletApiEvmError
              | ServiceError<"EVM_STEP_FAILED" | "EVM_STEP_IN_FLIGHT">;
              ok: false;
          },
      >

    • One run over one slot: follows its live rows, then executes a ready upgrade. Never executes a delay change. An issue is returned, not thrown, so the caller reports it and the other slots still run.

      Parameters

      • target: EvmSweepSlot

      Returns Promise<{ ok: true; value: EvmSweepSlotResult }>

    • Every contract on the chain deployed and matching a release.

      Parameters

      • __namedParameters: { chainId: number }

      Returns Promise<
          | { ok: true; value: void }
          | {
              error:
                  | ServiceError<"GITHUB_ERROR", { status: number }>
                  | ServiceError<"EVM_VERIFY_FAILED">;
              ok: false;
          },
      >

    • The proxy runs release: the slot and the runtime hash both, through the register.

      Parameters

      • __namedParameters: { chainId: number; proxy: EvmUpgradeable; release: string }

      Returns Promise<{ ok: true; value: void } | { error: ServiceError; ok: false }>