Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 SwapQueryResponse ¶
type SwapQueryResponse struct {
Receive wasmvmtypes.Coin `json:"receive"`
}
SwapQueryResponse - swap simulation query response for wasm module
type TaxCapQueryResponse ¶
type TaxCapQueryResponse struct { // uint64 string, eg "1000000" Cap string `json:"cap"` }
TaxCapQueryResponse - tax cap query response for wasm module
type TaxRateQueryResponse ¶
type TaxRateQueryResponse struct { // decimal string, eg "0.02" Rate string `json:"rate"` }
TaxRateQueryResponse - tax rate query response for wasm module
type TerraQuery ¶
type TerraQuery struct { Swap *markettypes.QuerySwapParams `json:"swap,omitempty"` ExchangeRates *ExchangeRateQueryParams `json:"exchange_rates,omitempty"` TaxRate *struct{} `json:"tax_rate,omitempty"` TaxCap *treasurytypes.QueryTaxCapParams `json:"tax_cap,omitempty"` }
TerraQuery contains terra custom queries.
Click to show internal directories.
Click to hide internal directories.