Enum cw1155::Cw1155ExecuteMsg[][src]

pub enum Cw1155ExecuteMsg {
    SendFrom {
        from: String,
        to: String,
        token_id: TokenId,
        value: Uint128,
        msg: Option<Binary>,
    },
    BatchSendFrom {
        from: String,
        to: String,
        batch: Vec<(TokenId, Uint128)>,
        msg: Option<Binary>,
    },
    Mint {
        to: String,
        token_id: TokenId,
        value: Uint128,
        msg: Option<Binary>,
    },
    BatchMint {
        to: String,
        batch: Vec<(TokenId, Uint128)>,
        msg: Option<Binary>,
    },
    Burn {
        from: String,
        token_id: TokenId,
        value: Uint128,
    },
    BatchBurn {
        from: String,
        batch: Vec<(TokenId, Uint128)>,
    },
    ApproveAll {
        operator: String,
        expires: Option<Expiration>,
    },
    RevokeAll {
        operator: String,
    },
}

Variants

SendFrom

SendFrom is a base message to move tokens, if env.sender is the owner or has sufficient pre-approval.

Show fields

Fields of SendFrom

from: Stringto: String

If to is not contract, msg should be None

token_id: TokenIdvalue: Uint128msg: Option<Binary>

None means don’t call the receiver interface

BatchSendFrom

BatchSendFrom is a base message to move multiple types of tokens in batch, if env.sender is the owner or has sufficient pre-approval.

Show fields

Fields of BatchSendFrom

from: Stringto: String

if to is not contract, msg should be None

batch: Vec<(TokenId, Uint128)>msg: Option<Binary>

None means don’t call the receiver interface

Mint

Mint is a base message to mint tokens.

Show fields

Fields of Mint

to: String

If to is not contract, msg should be None

token_id: TokenIdvalue: Uint128msg: Option<Binary>

None means don’t call the receiver interface

BatchMint

BatchMint is a base message to mint multiple types of tokens in batch.

Show fields

Fields of BatchMint

to: String

If to is not contract, msg should be None

batch: Vec<(TokenId, Uint128)>msg: Option<Binary>

None means don’t call the receiver interface

Burn

Burn is a base message to burn tokens.

Show fields

Fields of Burn

from: Stringtoken_id: TokenIdvalue: Uint128
BatchBurn

BatchBurn is a base message to burn multiple types of tokens in batch.

Show fields

Fields of BatchBurn

from: Stringbatch: Vec<(TokenId, Uint128)>
ApproveAll

Allows operator to transfer / send any token from the owner’s account. If expiration is set, then this allowance has a time/height limit

Show fields

Fields of ApproveAll

operator: Stringexpires: Option<Expiration>
RevokeAll

Remove previously granted ApproveAll permission

Show fields

Fields of RevokeAll

operator: String

Trait Implementations

impl Clone for Cw1155ExecuteMsg[src]

impl Debug for Cw1155ExecuteMsg[src]

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

impl JsonSchema for Cw1155ExecuteMsg[src]

impl PartialEq<Cw1155ExecuteMsg> for Cw1155ExecuteMsg[src]

impl Serialize for Cw1155ExecuteMsg[src]

impl StructuralPartialEq for Cw1155ExecuteMsg[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> Conv for T

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

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

impl<T> FmtForward for T

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

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

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

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.