pub enum NeutronQuery {
Show 13 variants
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),
MarketMap(MarketMapQuery),
Oracle(OracleQuery),
}Expand description
The queries to interact with neutron specific blockchain modules.
Variants§
InterchainQueryResult
Query a result of registered interchain query on remote chain
InterchainAccountAddress
Query a registered interchain account address for a specific connection_id Every contract may have as many interchain accounts as necessary.
Fields
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)
MarketMap(MarketMapQuery)
Oracle(OracleQuery)
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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§impl Serialize for NeutronQuery
impl Serialize for NeutronQuery
impl CustomQuery for NeutronQuery
impl Eq for NeutronQuery
impl StructuralPartialEq for NeutronQuery
Auto Trait Implementations§
impl Freeze for NeutronQuery
impl RefUnwindSafe for NeutronQuery
impl Send for NeutronQuery
impl Sync for NeutronQuery
impl Unpin for NeutronQuery
impl UnwindSafe for NeutronQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more