Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosmosQuery ¶
type CosmosQuery struct {
ExchangeRates *ExchangeRateQueryParams `json:"exchange_rates,omitempty"`
}
CosmosQuery custom query interface for oracle querier
type ExchangeRateItem ¶
type ExchangeRateItem struct { ExchangeRate string `json:"exchange_rate"` QuoteDenom string `json:"quote_denom"` }
ExchangeRatesQueryResponseItem - exchange rates query response item
type ExchangeRateQueryParams ¶
type ExchangeRateQueryParams struct { BaseDenom string `json:"base_denom"` QuoteDenoms []string `json:"quote_denoms"` }
ExchangeRateQueryParams query request params for exchange rates
type ExchangeRatesQueryResponse ¶
type ExchangeRatesQueryResponse struct { ExchangeRates []ExchangeRateItem `json:"exchange_rates"` BaseDenom string `json:"base_denom"` }
ExchangeRatesQueryResponse - exchange rates query response for wasm module
type Querier ¶ added in v1.2.0
type Querier struct {
// contains filtered or unexported fields
}
Querier - staking query interface for wasm contract
func NewWasmQuerier ¶
NewQuerier return bank wasm query interface
func (Querier) Query ¶ added in v1.2.0
func (Querier) Query(_ sdk.Context, _ wasmvmtypes.QueryRequest) ([]byte, error)
Query - implement query function
func (Querier) QueryCustom ¶ added in v1.2.0
QueryCustom implements custom query interface
Click to show internal directories.
Click to hide internal directories.