_SERVICE
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:299
Properties
Section titled “Properties”change_subnet_type_assignment
Section titled “change_subnet_type_assignment”change_subnet_type_assignment:
ActorMethod<[ChangeSubnetTypeAssignmentArgs],undefined>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:300
create_canister
Section titled “create_canister”create_canister:
ActorMethod<[CreateCanisterArg],CreateCanisterResult>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:307
Creates a canister using the cycles attached to the function call.
get_build_metadata
Section titled “get_build_metadata”get_build_metadata:
ActorMethod<[],string>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:308
get_default_subnets
Section titled “get_default_subnets”get_default_subnets:
ActorMethod<[],Principal[]>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:309
get_icp_xdr_conversion_rate
Section titled “get_icp_xdr_conversion_rate”get_icp_xdr_conversion_rate:
ActorMethod<[],IcpXdrConversionRateResponse>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:313
Returns the ICP/XDR conversion rate.
get_principals_authorized_to_create_canisters_to_subnets
Section titled “get_principals_authorized_to_create_canisters_to_subnets”get_principals_authorized_to_create_canisters_to_subnets:
ActorMethod<[],PrincipalsAuthorizedToCreateCanistersToSubnetsResponse>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:318
Returns the mapping from principals to subnets in which they are authorized to create canisters.
get_subnet_types_to_subnets
Section titled “get_subnet_types_to_subnets”get_subnet_types_to_subnets:
ActorMethod<[],SubnetTypesToSubnetsResponse>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:325
Returns the current mapping of subnet types to subnets.
notify_create_canister
Section titled “notify_create_canister”notify_create_canister:
ActorMethod<[NotifyCreateCanisterArg],NotifyCreateCanisterResult>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:329
Prompts the cycles minting canister to process a payment for canister creation.
notify_mint_cycles
Section titled “notify_mint_cycles”notify_mint_cycles:
ActorMethod<[NotifyMintCyclesArg],NotifyMintCyclesResult>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:336
Mints cycles and deposits them to the cycles ledger
notify_top_up
Section titled “notify_top_up”notify_top_up:
ActorMethod<[NotifyTopUpArg],NotifyTopUpResult>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:344
Prompts the cycles minting canister to process a payment by converting ICP into cycles and sending the cycles the specified canister.
set_authorized_subnetwork_list
Section titled “set_authorized_subnetwork_list”set_authorized_subnetwork_list:
ActorMethod<[SetAuthorizedSubnetworkListArgs],undefined>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:348
Below are methods that can only be called by other NNS canisters.
update_subnet_type
Section titled “update_subnet_type”update_subnet_type:
ActorMethod<[UpdateSubnetTypeArgs],undefined>
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:352