▪ Static DEFAULT_HOST: string = Default.IC_HOST
▪ Static DEFAULT_WHITELIST: string[]
▪ Static Readonly actors: Actors = {}
• Private options: Options
▸ Static adapterOf(actor): undefined | ActorAdapter
| Name | Type | Description |
|---|---|---|
actor |
Actor |
undefined | ActorAdapter
▸ Static createAnonymousActor<T>(canisterId, interfaceFactory, host?): Promise<Actor<T>>
| Name |
|---|
T |
| Name | Type | Default value | Description |
|---|---|---|---|
canisterId |
string |
undefined |
|
interfaceFactory |
InterfaceFactory |
undefined |
|
host |
string |
ActorAdapter.DEFAULT_HOST |
Promise<Actor<T>>
▸ createActor<T>(canisterId, interfaceFactory): Promise<Actor<T>>
| Name |
|---|
T |
| Name | Type | Description |
|---|---|---|
canisterId |
string |
|
interfaceFactory |
InterfaceFactory |
Promise<Actor<T>>
▸ Private createAgent(extraWhitelist?): Promise<void>
| Name | Type | Default value | Description |
|---|---|---|---|
extraWhitelist |
string[] |
[] |
Promise<void>
• new ActorAdapter(provider?, options?)
| Name | Type |
|---|---|
provider? |
Provider |
options |
Partial<Options> |