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.
Extends
Section titled “Extends”Canister<CkETHOrchestratorService>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”
protectednew CkETHOrchestratorCanister(id,service,certifiedService):CkETHOrchestratorCanister
Defined in: packages/utils/dist/services/canister.d.ts:7
Parameters
Section titled “Parameters”Principal
service
Section titled “service”_SERVICE
certifiedService
Section titled “certifiedService”_SERVICE
Returns
Section titled “Returns”CkETHOrchestratorCanister
Inherited from
Section titled “Inherited from”Canister<CkETHOrchestratorService>.constructor
Properties
Section titled “Properties”caller()
Section titled “caller()”
protectedcaller: (__namedParameters) =>_SERVICE
Defined in: packages/utils/dist/services/canister.d.ts:9
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”QueryParams
Returns
Section titled “Returns”_SERVICE
Inherited from
Section titled “Inherited from”Canister.caller
certifiedService
Section titled “certifiedService”
protectedreadonlycertifiedService:_SERVICE
Defined in: packages/utils/dist/services/canister.d.ts:6
Inherited from
Section titled “Inherited from”Canister.certifiedService
service
Section titled “service”
protectedreadonlyservice:_SERVICE
Defined in: packages/utils/dist/services/canister.d.ts:5
Inherited from
Section titled “Inherited from”Canister.service
Accessors
Section titled “Accessors”canisterId
Section titled “canisterId”Get Signature
Section titled “Get Signature”get canisterId():
Principal
Defined in: packages/utils/dist/services/canister.d.ts:8
Returns
Section titled “Returns”Principal
Inherited from
Section titled “Inherited from”Canister.canisterId
Methods
Section titled “Methods”getOrchestratorInfo()
Section titled “getOrchestratorInfo()”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.
Parameters
Section titled “Parameters”params?
Section titled “params?”QueryParams = {}
The query parameters.
Returns
Section titled “Returns”Promise<OrchestratorInfo>
A promise that resolves to the orchestrator information.
create()
Section titled “create()”
staticcreate(options):CkETHOrchestratorCanister
Defined in: packages/cketh/src/orchestrator.canister.ts:21
Creates an instance of CkETHOrchestratorCanister.
Parameters
Section titled “Parameters”options
Section titled “options”CkETHOrchestratorCanisterOptions<_SERVICE>
Options for creating the canister.
Returns
Section titled “Returns”CkETHOrchestratorCanister
A new instance of CkETHOrchestratorCanister.