Enum mirror_protocol::gov::ExecuteMsg [−][src]
pub enum ExecuteMsg {
Receive(Cw20ReceiveMsg),
UpdateConfig {
owner: Option<String>,
quorum: Option<Decimal>,
threshold: Option<Decimal>,
voting_period: Option<u64>,
effective_delay: Option<u64>,
proposal_deposit: Option<Uint128>,
voter_weight: Option<Decimal>,
snapshot_period: Option<u64>,
},
CastVote {
poll_id: u64,
vote: VoteOption,
amount: Uint128,
},
WithdrawVotingTokens {
amount: Option<Uint128>,
},
WithdrawVotingRewards {
poll_id: Option<u64>,
},
StakeVotingRewards {
poll_id: Option<u64>,
},
EndPoll {
poll_id: u64,
},
ExecutePoll {
poll_id: u64,
},
SnapshotPoll {
poll_id: u64,
},
}
Variants
Receive(Cw20ReceiveMsg)
Tuple Fields of Receive
Fields of UpdateConfig
Fields of CastVote
Fields of EndPoll
poll_id: u64
Fields of ExecutePoll
poll_id: u64
Fields of SnapshotPoll
poll_id: u64
Trait Implementations
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>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExecuteMsg
impl Send for ExecuteMsg
impl Sync for ExecuteMsg
impl Unpin for ExecuteMsg
impl UnwindSafe for ExecuteMsg
Blanket Implementations
Mutably borrows from an owned value. Read more