Enum ftoken::msg::QueryAnswer [−][src]
pub enum QueryAnswer {
TokenInfo {
name: String,
symbol: String,
decimals: u8,
total_supply: Option<Uint128>,
},
TokenConfig {
public_total_supply: bool,
deposit_enabled: bool,
redeem_enabled: bool,
mint_enabled: bool,
burn_enabled: bool,
},
ContractStatus {
status: ContractStatusLevel,
},
ExchangeRate {
rate: Uint128,
denom: String,
},
Allowance {
spender: HumanAddr,
owner: HumanAddr,
allowance: Uint128,
expiration: Option<u64>,
},
Balance {
amount: Uint128,
},
TransferHistory {
txs: Vec<Tx>,
total: Option<u64>,
},
TransactionHistory {
txs: Vec<RichTx>,
total: Option<u64>,
},
ViewingKeyError {
msg: String,
},
Minters {
minters: Vec<HumanAddr>,
},
FtokenQueryAnswer(FtokenQueryAnswer),
DebugQAnswer {
ftokeninfo: FtokenInfo,
ftkn_config: FtokenConf,
next_prop_id: u32,
nftviewingkey: ViewingKey,
},
}
Variants
TokenInfo
TokenConfig
Fields
public_total_supply: bool
deposit_enabled: bool
redeem_enabled: bool
mint_enabled: bool
burn_enabled: bool
ContractStatus
Fields
status: ContractStatusLevel
ExchangeRate
Allowance
Balance
TransferHistory
TransactionHistory
ViewingKeyError
Fields
msg: String
Minters
Fields
minters: Vec<HumanAddr>
FtokenQueryAnswer(FtokenQueryAnswer)
Tuple Fields
DebugQAnswer
Trait Implementations
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>,
Deserialize this value from the given Serde deserializer. Read more
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more