SnsGovernanceTestCanister
Defined in: packages/sns/src/governance_test.canister.ts:18
Extends
Section titled “Extends”Canister<SnsGovernanceTestService>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”
protectednew SnsGovernanceTestCanister(id,service,certifiedService):SnsGovernanceTestCanister
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”SnsGovernanceTestCanister
Inherited from
Section titled “Inherited from”Canister<SnsGovernanceTestService>.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”addMaturity()
Section titled “addMaturity()”addMaturity(
params):Promise<void>
Defined in: packages/sns/src/governance_test.canister.ts:38
Add maturity to a neuron (only for testing purposes. Testnet only.)
Parameters
Section titled “Parameters”params
Section titled “params”SnsAddMaturityParams
Returns
Section titled “Returns”Promise<void>
create()
Section titled “create()”
staticcreate(options):SnsGovernanceTestCanister
Defined in: packages/sns/src/governance_test.canister.ts:24
Instantiate a canister to interact with the governance of a Sns project.
Parameters
Section titled “Parameters”options
Section titled “options”SnsCanisterOptions<_SERVICE>
Miscellaneous options to initialize the canister. Its ID being the only mandatory parammeter.
Returns
Section titled “Returns”SnsGovernanceTestCanister