Enum neutron_sdk::bindings::query::NeutronQuery
source · pub enum NeutronQuery {
InterchainQueryResult {
query_id: u64,
},
InterchainAccountAddress {
owner_address: String,
interchain_account_id: String,
connection_id: String,
},
RegisteredInterchainQueries {
owners: Vec<String>,
connection_id: String,
pagination: PageRequest,
},
RegisteredInterchainQuery {
query_id: u64,
},
TotalBurnedNeutronsAmount {},
MinIbcFee {},
FullDenom {
creator_addr: String,
subdenom: String,
},
DenomAdmin {
subdenom: String,
},
BeforeSendHook {
denom: String,
},
Failures {
address: String,
pagination: PageRequest,
},
Dex(DexQuery),
}Expand description
The queries to interact with neutron specific blockchain modules.
Variants§
InterchainQueryResult
Query a result of registered interchain query on remote chain
InterchainAccountAddress
Fields
Query a registered interchain account address for a specific connection_id Every contract may have as many interchain accounts as necessary.
RegisteredInterchainQueries
Query all registered interchain queries on all remote chains
RegisteredInterchainQuery
Query registered interchain query with a specific query_id
TotalBurnedNeutronsAmount
Query total amount of burned neutron fees
MinIbcFee
Query minimum IBC fee
FullDenom
TokenFactory query. Given a subdenom minted by a contract via
NeutronMsg::MintTokens,
returns the full denom as used by BankMsg::Send.
DenomAdmin
TokenFactory query. Returns the admin of a denom, if the denom is a TokenFactory denom.
BeforeSendHook
TokenFactory query. Returns the before send hook address of a denom, if the denom is a TokenFactory denom.
Failures
Contractmanager query. Returns the failures for a particular contract address.
Dex(DexQuery)
Trait Implementations§
source§impl Clone for NeutronQuery
impl Clone for NeutronQuery
source§fn clone(&self) -> NeutronQuery
fn clone(&self) -> NeutronQuery
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for NeutronQuery
impl Debug for NeutronQuery
source§impl<'de> Deserialize<'de> for NeutronQuery
impl<'de> Deserialize<'de> for NeutronQuery
source§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>,
source§impl JsonSchema for NeutronQuery
impl JsonSchema for NeutronQuery
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moresource§impl PartialEq for NeutronQuery
impl PartialEq for NeutronQuery
source§fn eq(&self, other: &NeutronQuery) -> bool
fn eq(&self, other: &NeutronQuery) -> bool
self and other values to be equal, and is used
by ==.