Skip to content

CkETHOrchestratorCanister

Defined in: packages/cketh/src/orchestrator.canister.ts:15

Class representing the CkETH Orchestrator Canister, which manages the Ledger and Index canisters of ckERC20 tokens.

Code

  • Canister<CkETHOrchestratorService>

protected new CkETHOrchestratorCanister(id, service, certifiedService): CkETHOrchestratorCanister

Defined in: packages/utils/dist/services/canister.d.ts:7

Principal

_SERVICE

_SERVICE

CkETHOrchestratorCanister

Canister<CkETHOrchestratorService>.constructor

protected caller: (__namedParameters) => _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:9

QueryParams

_SERVICE

Canister.caller


protected readonly certifiedService: _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:6

Canister.certifiedService


protected readonly service: _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:5

Canister.service

get canisterId(): Principal

Defined in: packages/utils/dist/services/canister.d.ts:8

Principal

Canister.canisterId

getOrchestratorInfo(params?): Promise<OrchestratorInfo>

Defined in: packages/cketh/src/orchestrator.canister.ts:40

Retrieves orchestrator information, which contains the list of existing ckERC20 Ledger and Index canisters.

QueryParams = {}

The query parameters.

Promise<OrchestratorInfo>

A promise that resolves to the orchestrator information.


static create(options): CkETHOrchestratorCanister

Defined in: packages/cketh/src/orchestrator.canister.ts:21

Creates an instance of CkETHOrchestratorCanister.

CkETHOrchestratorCanisterOptions<_SERVICE>

Options for creating the canister.

CkETHOrchestratorCanister

A new instance of CkETHOrchestratorCanister.