pub enum AdminProposal {
ParamChangeProposal(ParamChangeProposal),
UpgradeProposal(UpgradeProposal),
ClientUpdateProposal(ClientUpdateProposal),
ProposalExecuteMessage(ProposalExecuteMessage),
SoftwareUpgradeProposal(SoftwareUpgradeProposal),
CancelSoftwareUpgradeProposal(CancelSoftwareUpgradeProposal),
PinCodesProposal(PinCodesProposal),
UnpinCodesProposal(UnpinCodesProposal),
SudoContractProposal(SudoContractProposal),
UpdateAdminProposal(UpdateAdminProposal),
ClearAdminProposal(ClearAdminProposal),
}Expand description
AdminProposal defines the struct for various proposals which Neutron’s Admin Module may accept.
Variants§
ParamChangeProposal(ParamChangeProposal)
Proposal to change params. Note that this works for old params.
New params has their own MsgUpdateParams msgs that can be supplied to ProposalExecuteMessage
UpgradeProposal(UpgradeProposal)
Deprecated. Proposal to upgrade IBC client
ClientUpdateProposal(ClientUpdateProposal)
Deprecated. Proposal to update IBC client
ProposalExecuteMessage(ProposalExecuteMessage)
Proposal to execute CosmosMsg.
SoftwareUpgradeProposal(SoftwareUpgradeProposal)
Deprecated. Proposal to upgrade network
CancelSoftwareUpgradeProposal(CancelSoftwareUpgradeProposal)
Deprecated. Proposal to cancel existing software upgrade
PinCodesProposal(PinCodesProposal)
Deprecated. Will fail to execute if you use it. Deprecated. Proposal to pin wasm contract codes
UnpinCodesProposal(UnpinCodesProposal)
Deprecated. Deprecated. Proposal to unpin wasm contract codes.
SudoContractProposal(SudoContractProposal)
Deprecated. Proposal to call sudo on contract.
UpdateAdminProposal(UpdateAdminProposal)
Deprecated. Proposal to update contract admin.
ClearAdminProposal(ClearAdminProposal)
Deprecated. Proposal to clear contract admin.
Trait Implementations§
Source§impl Clone for AdminProposal
impl Clone for AdminProposal
Source§fn clone(&self) -> AdminProposal
fn clone(&self) -> AdminProposal
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AdminProposal
impl Debug for AdminProposal
Source§impl<'de> Deserialize<'de> for AdminProposal
impl<'de> Deserialize<'de> for AdminProposal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for AdminProposal
impl JsonSchema for AdminProposal
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for AdminProposal
impl PartialEq for AdminProposal
Source§impl Serialize for AdminProposal
impl Serialize for AdminProposal
impl Eq for AdminProposal
impl StructuralPartialEq for AdminProposal
Auto Trait Implementations§
impl Freeze for AdminProposal
impl RefUnwindSafe for AdminProposal
impl Send for AdminProposal
impl Sync for AdminProposal
impl Unpin for AdminProposal
impl UnwindSafe for AdminProposal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more