[−][src]Enum cw4_stake::msg::HandleMsg
Variants
Bond will bond all staking tokens sent with the message and update membership weight
Fields of Bond
Unbond will start the unbonding process for the given number of tokens.
The sender immediately loses weight from these tokens, and can claim them
back to his wallet after unbonding_period
Fields of Unbond
tokens: Uint128
Claim is used to claim your native tokens that you previously "unbonded" after the contract-defined waiting period (eg. 1 week)
Fields of Claim
Change the admin
Add a new hook to be informed of all membership changes. Must be called by Admin
Fields of AddHook
addr: HumanAddr
Remove a hook. Must be called by Admin
Fields of RemoveHook
addr: HumanAddr
Trait Implementations
impl Clone for HandleMsg
[src]
impl Debug for HandleMsg
[src]
impl<'de> Deserialize<'de> for HandleMsg
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl JsonSchema for HandleMsg
[src]
pub fn schema_name() -> String
[src]
pub fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
pub fn is_referenceable() -> bool
[src]
impl PartialEq<HandleMsg> for HandleMsg
[src]
impl Serialize for HandleMsg
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for HandleMsg
[src]
Auto Trait Implementations
impl RefUnwindSafe for HandleMsg
[src]
impl Send for HandleMsg
[src]
impl Sync for HandleMsg
[src]
impl Unpin for HandleMsg
[src]
impl UnwindSafe for HandleMsg
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,