Skip to content

CkEthOrchestratorCanister

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

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

Code

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/canisters/src/cketh/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/canisters/src/cketh/orchestrator.canister.ts:21

Creates an instance of CkEthOrchestratorCanister.

CkEthOrchestratorCanisterOptions<_SERVICE>

Options for creating the canister.

CkEthOrchestratorCanister

A new instance of CkEthOrchestratorCanister.