pub enum ExecuteMsg {
Show 24 variants
Receive(Cw20ReceiveMsg),
Bond {
receiver: Option<String>,
exec_msg: Option<Binary>,
},
BondEx {
receiver: Option<String>,
},
WithdrawUnbonded {
receiver: Option<String>,
},
WithdrawUnbondedAdmin {
address: String,
},
AddValidator {
validator: String,
},
RemoveValidator {
validator: String,
},
RemoveValidatorEx {
validator: String,
},
PauseValidator {
validator: String,
},
UnPauseValidator {
validator: String,
},
TransferOwnership {
new_owner: String,
},
AcceptOwnership {},
Harvest {},
Rebalance {
minimum: Uint128,
},
Redelegate {
validator_from: String,
validator_to: String,
},
Reconcile {},
SubmitBatch {},
SetUnbondPeriod {
unbond_period: u64,
},
TransferFeeAccount {
fee_account_type: String,
new_fee_account: String,
},
UpdateFee {
new_fee: Decimal,
},
Callback(CallbackMsg),
SetDustCollector {
dust_collector: Option<String>,
},
CollectDust {
max_tokens: u32,
},
ReturnDenom {},
}
Variants§
Receive(Cw20ReceiveMsg)
Implements the Cw20 receiver interface
Bond
Bond specified amount of Luna
BondEx
Bond specified amount of Luna, just minting it directly (cw-20 version only)
WithdrawUnbonded
Withdraw Luna that have finished unbonding in previous batches
WithdrawUnbondedAdmin
Withdraw Luna that has finished unbonding in previous batches, for given address
AddValidator
Add a validator to the whitelist; callable by the owner
RemoveValidator
Remove a validator from the whitelist; callable by the owner
RemoveValidatorEx
Remove a validator from the whitelist; callable by the owner. Does not undelegate. use for typos
PauseValidator
Pause a validator from accepting new delegations
UnPauseValidator
Unpause a validator from accepting new delegations
TransferOwnership
Transfer ownership to another account; will not take effect unless the new owner accepts
AcceptOwnership
Accept an ownership transfer
Harvest
Claim staking rewards, swap all for Luna, and restake
Rebalance
Use redelegations to balance the amounts of Luna delegated to validators
Redelegate
redelegate stake from one validator to another
Reconcile
Update Luna amounts in unbonding batches to reflect any slashing or rounding errors
SubmitBatch
Submit the current pending batch of unbonding requests to be unbonded
SetUnbondPeriod
Set unbond period
TransferFeeAccount
Transfer Fee collection account to another account
UpdateFee
Update fee collection amount
Callback(CallbackMsg)
Callbacks; can only be invoked by the contract itself
SetDustCollector
CollectDust
Collect the Dust
ReturnDenom
Return the Dust in shiny ‘base denom’
Trait Implementations§
Source§impl Clone for ExecuteMsg
impl Clone for ExecuteMsg
Source§fn clone(&self) -> ExecuteMsg
fn clone(&self) -> ExecuteMsg
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecuteMsg
impl Debug for ExecuteMsg
Source§impl<'de> Deserialize<'de> for ExecuteMsg
impl<'de> Deserialize<'de> for ExecuteMsg
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 ExecuteMsg
impl JsonSchema for ExecuteMsg
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more