Enum anchor_token::airdrop::HandleMsg[][src]

pub enum HandleMsg {
    UpdateConfig {
        owner: Option<HumanAddr>,
    },
    UpdateMerkleRoot {
        stage: u8,
        merkle_root: String,
    },
    RegisterMerkleRoot {
        merkle_root: String,
    },
    Claim {
        stage: u8,
        amount: Uint128,
        proof: Vec<String>,
    },
}

Variants

UpdateConfig

Fields of UpdateConfig

owner: Option<HumanAddr>
UpdateMerkleRoot

Fields of UpdateMerkleRoot

stage: u8merkle_root: String
RegisterMerkleRoot

Fields of RegisterMerkleRoot

merkle_root: String
Claim

Fields of Claim

stage: u8amount: Uint128proof: Vec<String>

Trait Implementations

impl Clone for HandleMsg[src]

impl Debug for HandleMsg[src]

impl<'de> Deserialize<'de> for HandleMsg[src]

impl JsonSchema for HandleMsg[src]

impl PartialEq<HandleMsg> for HandleMsg[src]

impl Serialize for HandleMsg[src]

impl StructuralPartialEq for HandleMsg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.