use cosmwasm_schema::cw_serde;
use cosmwasm_std::{Binary, Uint128};
use cw_utils::Expiration;
pub type TokenId = String;
#[cw_serde]
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 },
}