pub enum SnsProposalAction {
Show 22 variants
Unspecified,
Motion,
ManageNervousSystemParameters,
UpgradeSnsControlledCanister,
AddGenericNervousSystemFunction,
RemoveGenericNervousSystemFunction,
ExecuteGenericNervousSystemFunction,
UpgradeSnsToNextVersion,
ManageSnsMetadata,
TransferSnsTreasuryFunds,
RegisterDappCanisters,
DeregisterDappCanisters,
MintSnsTokens,
ManageLedgerParameters,
ManageDappCanisterSettings,
AdvanceSnsTargetVersion,
SetTopicsForCustomProposals,
RegisterExtension,
ExecuteExtensionOperation,
UpgradeExtension,
Generic(u64),
Unknown(u64),
}Expand description
SnsProposalAction
Native SNS Governance proposal action, including generic and unknown action ids.
Variants§
Unspecified
No native action was specified.
Motion
Adopt a governance motion.
ManageNervousSystemParameters
Change nervous-system parameters.
UpgradeSnsControlledCanister
Upgrade an SNS-controlled canister.
AddGenericNervousSystemFunction
Add a generic nervous-system function.
RemoveGenericNervousSystemFunction
Remove a generic nervous-system function.
ExecuteGenericNervousSystemFunction
Execute a generic nervous-system function.
UpgradeSnsToNextVersion
Upgrade the SNS to its next blessed version.
ManageSnsMetadata
Change SNS metadata.
TransferSnsTreasuryFunds
Transfer SNS treasury funds.
RegisterDappCanisters
Register dapp canisters with SNS Root.
DeregisterDappCanisters
Deregister dapp canisters from SNS Root.
MintSnsTokens
Mint SNS ledger tokens.
ManageLedgerParameters
Change SNS ledger parameters.
ManageDappCanisterSettings
Change dapp-canister settings.
AdvanceSnsTargetVersion
Advance the SNS target version.
SetTopicsForCustomProposals
Assign topics to custom proposals.
RegisterExtension
Register an SNS extension.
ExecuteExtensionOperation
Execute an SNS extension operation.
UpgradeExtension
Upgrade an SNS extension.
Generic(u64)
A generic nervous-system function identified by its native action id.
Unknown(u64)
An unrecognized native action id retained as evidence.
Implementations§
Trait Implementations§
Source§impl Clone for SnsProposalAction
impl Clone for SnsProposalAction
Source§fn clone(&self) -> SnsProposalAction
fn clone(&self) -> SnsProposalAction
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more