types

package
v1.46.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "oracle"
	StoreKey   = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_capability"
)
View Source
const (
	TypeMsgRelayPriceFeedPrice   = "relayPriceFeedPrice"
	TypeMsgRelayBandRates        = "relayBandRates"
	TypeMsgRelayCoinbaseMessages = "relayCoinbaseMessages"
	TypeMsgRequestBandIBCRates   = "requestBandIBCRates"
	TypeMsgRelayProviderPrices   = "relayProviderPrices"
	TypeMsgRelayPythPrices       = "relayPythPrices"
)

oracle message types

View Source
const (
	// Each value below is the default value for each parameter when generating the default
	// genesis file.
	DefaultBandIBCEnabled         = false
	DefaultBandIbcRequestInterval = int64(7) // every 7 blocks
	DefaultBandIBCVersion         = "bandchain-1"
	DefaultBandIBCPortID          = "oracle"

	MaxPythExponent = 10
	MinPythExponent = -12
)
View Source
const (
	ProposalTypeGrantBandOraclePrivilege         string = "ProposalTypeGrantBandOraclePrivilege"
	ProposalTypeRevokeBandOraclePrivilege        string = "ProposalTypeRevokeBandOraclePrivilege"
	ProposalTypeGrantPriceFeederOraclePrivilege  string = "ProposalTypeGrantPriceFeederOraclePrivilege"
	ProposalTypeRevokePriceFeederOraclePrivilege string = "ProposalTypeRevokePriceFeederOraclePrivilege"
	ProposalAuthorizeBandOracleRequest           string = "ProposalTypeAuthorizeBandOracleRequest"
	ProposalUpdateBandOracleRequest              string = "ProposalUpdateBandOracleRequest"
	ProposalEnableBandIBC                        string = "ProposalTypeEnableBandIBC"
	ProposalTypeGrantProviderPrivilege           string = "ProposalTypeGrantProviderPrivilege"
	ProposalTypeRevokeProviderPrivilege          string = "ProposalTypeRevokeProviderPrivilege"
)

constants

View Source
const BandPriceMultiplier uint64 = 1000000000 // 1e9
View Source
const CoinbaseABIJSON = `` /* 403-byte string literal not displayed */
View Source
const (
	CoinbaseOraclePublicKey = "0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	EventTypeNewBid = "new_bid"
)

Auction module event types

View Source
const MaxHistoricalPriceRecordAge = 60 * 5

MaxHistoricalPriceRecordAge is the maximum age of oracle price records to track.

View Source
const QuoteUSD = "USD"
View Source
const RouterKey = ModuleName
View Source
const TwapWindow = int64(5 * 60) // 5 minute TWAP window

Variables

View Source
var (
	ErrEmptyRelayerAddr            = sdkerrors.Register(ModuleName, 1, "relayer address is empty")
	ErrBadRatesCount               = sdkerrors.Register(ModuleName, 2, "bad rates count")
	ErrBadResolveTimesCount        = sdkerrors.Register(ModuleName, 3, "bad resolve times")
	ErrBadRequestIDsCount          = sdkerrors.Register(ModuleName, 4, "bad request ID")
	ErrRelayerNotAuthorized        = sdkerrors.Register(ModuleName, 5, "relayer not authorized")
	ErrBadPriceFeedBaseCount       = sdkerrors.Register(ModuleName, 6, "bad price feed base count")
	ErrBadPriceFeedQuoteCount      = sdkerrors.Register(ModuleName, 7, "bad price feed quote count")
	ErrUnsupportedOracleType       = sdkerrors.Register(ModuleName, 8, "unsupported oracle type")
	ErrBadMessagesCount            = sdkerrors.Register(ModuleName, 9, "bad messages count")
	ErrBadCoinbaseMessage          = sdkerrors.Register(ModuleName, 10, "bad Coinbase message")
	ErrInvalidEthereumSignature    = sdkerrors.Register(ModuleName, 11, "bad Ethereum signature")
	ErrBadCoinbaseMessageTimestamp = sdkerrors.Register(ModuleName, 12, "bad Coinbase message timestamp")
	ErrCoinbasePriceNotFound       = sdkerrors.Register(ModuleName, 13, "Coinbase price not found")
	ErrBadPrice                    = sdkerrors.Register(ModuleName, 14, "Prices must be positive")
	ErrPriceTooLarge               = sdkerrors.Register(ModuleName, 15, "Prices must be less than 10 million.")
	ErrInvalidBandIBCRequest       = sdkerrors.Register(ModuleName, 16, "Invalid Band IBC Request")
	ErrSample                      = sdkerrors.Register(ModuleName, 17, "sample error")
	ErrInvalidPacketTimeout        = sdkerrors.Register(ModuleName, 18, "invalid packet timeout")
	ErrBadSymbolsCount             = sdkerrors.Register(ModuleName, 19, "invalid symbols count")
	ErrBadIBCPortBind              = sdkerrors.Register(ModuleName, 20, "could not claim port capability")
	ErrInvalidPortID               = sdkerrors.Register(ModuleName, 21, "invalid IBC Port ID")
	ErrInvalidChannelID            = sdkerrors.Register(ModuleName, 22, "invalid IBC Channel ID")
	ErrBadRequestInterval          = sdkerrors.Register(ModuleName, 23, "invalid Band IBC request interval")
	ErrInvalidBandIBCUpdateRequest = sdkerrors.Register(ModuleName, 24, "Invalid Band IBC Update Request Proposal")
	ErrBandIBCRequestNotFound      = sdkerrors.Register(ModuleName, 25, "Band IBC Oracle Request not found")
	ErrEmptyBaseInfo               = sdkerrors.Register(ModuleName, 26, "Base Info is empty")
	ErrEmptyProvider               = sdkerrors.Register(ModuleName, 27, "provider is empty")
	ErrInvalidProvider             = sdkerrors.Register(ModuleName, 28, "invalid provider name")
	ErrInvalidSymbol               = sdkerrors.Register(ModuleName, 29, "invalid symbol")
	ErrRelayerAlreadyExists        = sdkerrors.Register(ModuleName, 30, "relayer already exists")
	ErrProviderPriceNotFound       = sdkerrors.Register(ModuleName, 31, "provider price not found")
	ErrInvalidOracleRequest        = sdkerrors.Register(ModuleName, 32, "invalid oracle request")
	ErrOraclePriceNotFound         = sdkerrors.Register(ModuleName, 33, "no price for oracle was found")
	ErrPythContractNotFound        = sdkerrors.Register(ModuleName, 34, "no address for Pyth contract found")
	ErrUnauthorizedPythPriceRelay  = sdkerrors.Register(ModuleName, 35, "unauthorized Pyth price relay")
	ErrInvalidPythPriceID          = sdkerrors.Register(ModuleName, 36, "unauthorized Pyth price relay")
	ErrInvalidPythExponent         = sdkerrors.Register(ModuleName, 37, "unauthorized Pyth price relay")
	ErrInvalidPythPublishTime      = sdkerrors.Register(ModuleName, 38, "unauthorized Pyth price relay")
	ErrEmptyPriceAttestations      = sdkerrors.Register(ModuleName, 39, "empty price attestations")
)
View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// Keys for band store prefixes
	BandPriceKey   = []byte{0x01}
	BandRelayerKey = []byte{0x02}

	// Keys for pricefeeder store prefixes
	PricefeedInfoKey    = []byte{0x11}
	PricefeedPriceKey   = []byte{0x12}
	PricefeedRelayerKey = []byte{0x13}

	CoinbasePriceKey = []byte{0x21}

	// Band IBC
	BandIBCPriceKey           = []byte{0x31}
	LatestClientIDKey         = []byte{0x32}
	BandIBCCallDataRecordKey  = []byte{0x33}
	BandIBCOracleRequestIDKey = []byte{0x34}
	BandIBCParamsKey          = []byte{0x35}
	LatestRequestIDKey        = []byte{0x36}

	// Prefixes for chainlink keys
	ChainlinkPriceKey = []byte{0x41}

	SymbolHistoricalPriceRecordsPrefix = []byte{0x51} // prefix for each key to a symbols's historical price records
	SymbolsMapLastPriceTimestampsKey   = []byte{0x52} // key for symbols map with latest price update timestamps

	// ProviderInfoPrefix is the prefix for the Provider => ProviderInfo store.
	ProviderInfoPrefix = []byte{0x61}
	// ProviderIndexPrefix is the prefix for the ProviderAddress => Provider index store.
	ProviderIndexPrefix = []byte{0x62}
	// ProviderPricePrefix is the prefix for the Provider + symbol => PriceState store.
	ProviderPricePrefix = []byte{0x63}

	// PythPriceKey is the prefix for the priceID => PythPriceState store.
	PythPriceKey = []byte{0x71}
)
View Source
var (
	ErrInvalidLengthOracle        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOracle          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOracle = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyPythContract = []byte("PythContract")
)

Parameter keys

View Source
var (
	LargestDecPrice sdk.Dec = sdk.MustNewDecFromStr("10000000")
)
View Source
var OracleType_name = map[int32]string{
	0:  "Unspecified",
	1:  "Band",
	2:  "PriceFeed",
	3:  "Coinbase",
	4:  "Chainlink",
	5:  "Razor",
	6:  "Dia",
	7:  "API3",
	8:  "Uma",
	9:  "Pyth",
	10: "BandIBC",
	11: "Provider",
}
View Source
var OracleType_value = map[string]int32{
	"Unspecified": 0,
	"Band":        1,
	"PriceFeed":   2,
	"Coinbase":    3,
	"Chainlink":   4,
	"Razor":       5,
	"Dia":         6,
	"API3":        7,
	"Uma":         8,
	"Pyth":        9,
	"BandIBC":     10,
	"Provider":    11,
}

Functions

func CheckPriceFeedThreshold

func CheckPriceFeedThreshold(lastPrice, newPrice sdk.Dec) bool

CheckPriceFeedThreshold returns true if the newPrice has changed beyond 100x or less than 1% of the last price

func GetBandIBCCallDataRecordKey

func GetBandIBCCallDataRecordKey(clientID uint64) []byte

func GetBandIBCOracleRequestIDKey

func GetBandIBCOracleRequestIDKey(requestID uint64) []byte

func GetBandIBCPriceStoreKey

func GetBandIBCPriceStoreKey(symbol string) []byte

func GetBandPriceStoreKey

func GetBandPriceStoreKey(symbol string) []byte

func GetBandRelayerStoreKey

func GetBandRelayerStoreKey(relayer sdk.AccAddress) []byte

func GetBaseQuoteHash

func GetBaseQuoteHash(oracleBase, oracleQuote string) common.Hash

func GetChainlinkPriceStoreKey

func GetChainlinkPriceStoreKey(feedId string) []byte

func GetCoinbasePriceStoreIterationKey

func GetCoinbasePriceStoreIterationKey(key string) []byte

func GetCoinbasePriceStoreKey

func GetCoinbasePriceStoreKey(key string, timestamp uint64) []byte

func GetDelimitedProvider

func GetDelimitedProvider(provider string) string

func GetExponentiatedDec

func GetExponentiatedDec(value, expo int64) sdk.Dec

func GetPriceFeedInfoKey

func GetPriceFeedInfoKey(priceFeedInfo *PriceFeedInfo) []byte

func GetPriceFeedPriceStoreKey

func GetPriceFeedPriceStoreKey(baseQuoteHash common.Hash) []byte

func GetPricefeedRelayerStoreKey

func GetPricefeedRelayerStoreKey(oracleBase, oracleQuote string, relayer sdk.AccAddress) []byte

func GetPricefeedRelayerStorePrefix

func GetPricefeedRelayerStorePrefix(baseQuoteHash common.Hash) []byte

func GetProviderIndexKey

func GetProviderIndexKey(providerAddress sdk.AccAddress) []byte

func GetProviderInfoKey

func GetProviderInfoKey(provider string) []byte

func GetProviderPriceKey

func GetProviderPriceKey(provider, symbol string) []byte

func GetProviderPricePrefix

func GetProviderPricePrefix(provider string) []byte

func GetPythPriceStoreKey

func GetPythPriceStoreKey(priceID common.Hash) []byte

func GetSymbolHistoricalPriceRecordsKey

func GetSymbolHistoricalPriceRecordsKey(oracleType OracleType, symbol string) []byte

func IsLegacySchemeOracleScript

func IsLegacySchemeOracleScript(scriptID int64, params BandIBCParams) bool

func NewOracleRequestPacketData

func NewOracleRequestPacketData(clientID string, calldata []byte, r *BandOracleRequest) bandPacket.OracleRequestPacketData

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter key table.

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/oracle interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateCoinbaseSignature

func ValidateCoinbaseSignature(message, signature []byte) error

func ValidateEthereumSignature

func ValidateEthereumSignature(hash common.Hash, signature []byte, ethAddress common.Address) error

ValidateEthereumSignature takes a message, an associated signature and public key and returns an error if the signature isn't valid TODO: refactor to shared common dir, copy pasted below code from Peggy

Types

type AuthorizeBandOracleRequestProposal

type AuthorizeBandOracleRequestProposal struct {
	Title       string            `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Request     BandOracleRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request"`
}

func (*AuthorizeBandOracleRequestProposal) Descriptor

func (*AuthorizeBandOracleRequestProposal) Descriptor() ([]byte, []int)

func (*AuthorizeBandOracleRequestProposal) GetDescription

func (p *AuthorizeBandOracleRequestProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*AuthorizeBandOracleRequestProposal) GetTitle

GetTitle returns the title of this proposal.

func (*AuthorizeBandOracleRequestProposal) Marshal

func (m *AuthorizeBandOracleRequestProposal) Marshal() (dAtA []byte, err error)

func (*AuthorizeBandOracleRequestProposal) MarshalTo

func (m *AuthorizeBandOracleRequestProposal) MarshalTo(dAtA []byte) (int, error)

func (*AuthorizeBandOracleRequestProposal) MarshalToSizedBuffer

func (m *AuthorizeBandOracleRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthorizeBandOracleRequestProposal) ProposalRoute

func (p *AuthorizeBandOracleRequestProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*AuthorizeBandOracleRequestProposal) ProposalType

func (p *AuthorizeBandOracleRequestProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*AuthorizeBandOracleRequestProposal) ProtoMessage

func (*AuthorizeBandOracleRequestProposal) ProtoMessage()

func (*AuthorizeBandOracleRequestProposal) Reset

func (*AuthorizeBandOracleRequestProposal) Size

func (*AuthorizeBandOracleRequestProposal) String

func (*AuthorizeBandOracleRequestProposal) Unmarshal

func (m *AuthorizeBandOracleRequestProposal) Unmarshal(dAtA []byte) error

func (*AuthorizeBandOracleRequestProposal) ValidateBasic

func (p *AuthorizeBandOracleRequestProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*AuthorizeBandOracleRequestProposal) XXX_DiscardUnknown

func (m *AuthorizeBandOracleRequestProposal) XXX_DiscardUnknown()

func (*AuthorizeBandOracleRequestProposal) XXX_Marshal

func (m *AuthorizeBandOracleRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthorizeBandOracleRequestProposal) XXX_Merge

func (*AuthorizeBandOracleRequestProposal) XXX_Size

func (*AuthorizeBandOracleRequestProposal) XXX_Unmarshal

func (m *AuthorizeBandOracleRequestProposal) XXX_Unmarshal(b []byte) error

type BandIBCParams

type BandIBCParams struct {
	// true if Band IBC should be enabled
	BandIbcEnabled bool `protobuf:"varint,1,opt,name=band_ibc_enabled,json=bandIbcEnabled,proto3" json:"band_ibc_enabled,omitempty"`
	// block request interval to send Band IBC prices
	IbcRequestInterval int64 `protobuf:"varint,2,opt,name=ibc_request_interval,json=ibcRequestInterval,proto3" json:"ibc_request_interval,omitempty"`
	// band IBC source channel
	IbcSourceChannel string `protobuf:"bytes,3,opt,name=ibc_source_channel,json=ibcSourceChannel,proto3" json:"ibc_source_channel,omitempty"`
	// band IBC version
	IbcVersion string `protobuf:"bytes,4,opt,name=ibc_version,json=ibcVersion,proto3" json:"ibc_version,omitempty"`
	// band IBC portID
	IbcPortId string `protobuf:"bytes,5,opt,name=ibc_port_id,json=ibcPortId,proto3" json:"ibc_port_id,omitempty"`
	//  legacy oracle scheme ids
	LegacyOracleIds []int64 `protobuf:"varint,6,rep,packed,name=legacy_oracle_ids,json=legacyOracleIds,proto3" json:"legacy_oracle_ids,omitempty"`
}

func DefaultBandIBCParams

func DefaultBandIBCParams() BandIBCParams

DefaultBandIBCParams returns a default set of band ibc parameters.

func DefaultTestBandIbcParams

func DefaultTestBandIbcParams() *BandIBCParams

func (*BandIBCParams) Descriptor

func (*BandIBCParams) Descriptor() ([]byte, []int)

func (*BandIBCParams) GetBandIbcEnabled

func (m *BandIBCParams) GetBandIbcEnabled() bool

func (*BandIBCParams) GetIbcPortId

func (m *BandIBCParams) GetIbcPortId() string

func (*BandIBCParams) GetIbcRequestInterval

func (m *BandIBCParams) GetIbcRequestInterval() int64

func (*BandIBCParams) GetIbcSourceChannel

func (m *BandIBCParams) GetIbcSourceChannel() string

func (*BandIBCParams) GetIbcVersion

func (m *BandIBCParams) GetIbcVersion() string

func (*BandIBCParams) GetLegacyOracleIds

func (m *BandIBCParams) GetLegacyOracleIds() []int64

func (*BandIBCParams) Marshal

func (m *BandIBCParams) Marshal() (dAtA []byte, err error)

func (*BandIBCParams) MarshalTo

func (m *BandIBCParams) MarshalTo(dAtA []byte) (int, error)

func (*BandIBCParams) MarshalToSizedBuffer

func (m *BandIBCParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BandIBCParams) ProtoMessage

func (*BandIBCParams) ProtoMessage()

func (*BandIBCParams) Reset

func (m *BandIBCParams) Reset()

func (*BandIBCParams) Size

func (m *BandIBCParams) Size() (n int)

func (*BandIBCParams) String

func (m *BandIBCParams) String() string

func (*BandIBCParams) Unmarshal

func (m *BandIBCParams) Unmarshal(dAtA []byte) error

func (*BandIBCParams) XXX_DiscardUnknown

func (m *BandIBCParams) XXX_DiscardUnknown()

func (*BandIBCParams) XXX_Marshal

func (m *BandIBCParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BandIBCParams) XXX_Merge

func (m *BandIBCParams) XXX_Merge(src proto.Message)

func (*BandIBCParams) XXX_Size

func (m *BandIBCParams) XXX_Size() int

func (*BandIBCParams) XXX_Unmarshal

func (m *BandIBCParams) XXX_Unmarshal(b []byte) error

type BandInput

type BandInput bandprice.SymbolInput

func (BandInput) PriceMultiplier

func (in BandInput) PriceMultiplier() uint64

func (BandInput) PriceSymbols

func (in BandInput) PriceSymbols() []string

type BandOracleRequest

type BandOracleRequest struct {
	// Unique Identifier for band ibc oracle request
	RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// OracleScriptID is the unique identifier of the oracle script to be executed.
	OracleScriptId int64 `protobuf:"varint,2,opt,name=oracle_script_id,json=oracleScriptId,proto3" json:"oracle_script_id,omitempty"`
	// Symbols is the list of symbols to prepare in the calldata
	Symbols []string `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"`
	// AskCount is the number of validators that are requested to respond to this
	// oracle request. Higher value means more security, at a higher gas cost.
	AskCount uint64 `protobuf:"varint,4,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty"`
	// MinCount is the minimum number of validators necessary for the request to
	// proceed to the execution phase. Higher value means more security, at the
	// cost of liveness.
	MinCount uint64 `protobuf:"varint,5,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	// FeeLimit is the maximum tokens that will be paid to all data source providers.
	FeeLimit github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */
	// PrepareGas is amount of gas to pay to prepare raw requests
	PrepareGas uint64 `protobuf:"varint,7,opt,name=prepare_gas,json=prepareGas,proto3" json:"prepare_gas,omitempty"`
	// ExecuteGas is amount of gas to reserve for executing
	ExecuteGas uint64 `protobuf:"varint,8,opt,name=execute_gas,json=executeGas,proto3" json:"execute_gas,omitempty"`
	// MinSourceCount is the minimum number of data sources that must be used by each validator
	MinSourceCount uint64 `protobuf:"varint,9,opt,name=min_source_count,json=minSourceCount,proto3" json:"min_source_count,omitempty"`
}

func (*BandOracleRequest) Descriptor

func (*BandOracleRequest) Descriptor() ([]byte, []int)

func (*BandOracleRequest) GetAskCount

func (m *BandOracleRequest) GetAskCount() uint64

func (*BandOracleRequest) GetCalldata

func (r *BandOracleRequest) GetCalldata(legacyScheme bool) []byte

GetCalldata gets the Band IBC request call data based on the symbols and multiplier.

func (*BandOracleRequest) GetExecuteGas

func (m *BandOracleRequest) GetExecuteGas() uint64

func (*BandOracleRequest) GetFeeLimit

func (*BandOracleRequest) GetMinCount

func (m *BandOracleRequest) GetMinCount() uint64

func (*BandOracleRequest) GetMinSourceCount

func (m *BandOracleRequest) GetMinSourceCount() uint64

func (*BandOracleRequest) GetOracleScriptId

func (m *BandOracleRequest) GetOracleScriptId() int64

func (*BandOracleRequest) GetPrepareGas

func (m *BandOracleRequest) GetPrepareGas() uint64

func (*BandOracleRequest) GetRequestId

func (m *BandOracleRequest) GetRequestId() uint64

func (*BandOracleRequest) GetSymbols

func (m *BandOracleRequest) GetSymbols() []string

func (*BandOracleRequest) Marshal

func (m *BandOracleRequest) Marshal() (dAtA []byte, err error)

func (*BandOracleRequest) MarshalTo

func (m *BandOracleRequest) MarshalTo(dAtA []byte) (int, error)

func (*BandOracleRequest) MarshalToSizedBuffer

func (m *BandOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BandOracleRequest) ProtoMessage

func (*BandOracleRequest) ProtoMessage()

func (*BandOracleRequest) Reset

func (m *BandOracleRequest) Reset()

func (*BandOracleRequest) Size

func (m *BandOracleRequest) Size() (n int)

func (*BandOracleRequest) String

func (m *BandOracleRequest) String() string

func (*BandOracleRequest) Unmarshal

func (m *BandOracleRequest) Unmarshal(dAtA []byte) error

func (*BandOracleRequest) XXX_DiscardUnknown

func (m *BandOracleRequest) XXX_DiscardUnknown()

func (*BandOracleRequest) XXX_Marshal

func (m *BandOracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BandOracleRequest) XXX_Merge

func (m *BandOracleRequest) XXX_Merge(src proto.Message)

func (*BandOracleRequest) XXX_Size

func (m *BandOracleRequest) XXX_Size() int

func (*BandOracleRequest) XXX_Unmarshal

func (m *BandOracleRequest) XXX_Unmarshal(b []byte) error

type BandOutput

type BandOutput bandprice.SymbolOutput

func (BandOutput) Rate

func (out BandOutput) Rate(id int) uint64

func (BandOutput) Valid

func (out BandOutput) Valid(id int) bool

type BandPriceState

type BandPriceState struct {
	Symbol      string                                 `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Rate        github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rate"`
	ResolveTime uint64                                 `protobuf:"varint,3,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
	Request_ID  uint64                                 `protobuf:"varint,4,opt,name=request_ID,json=requestID,proto3" json:"request_ID,omitempty"`
	PriceState  PriceState                             `protobuf:"bytes,5,opt,name=price_state,json=priceState,proto3" json:"price_state"`
}

func (*BandPriceState) Descriptor

func (*BandPriceState) Descriptor() ([]byte, []int)

func (*BandPriceState) GetPriceState

func (m *BandPriceState) GetPriceState() PriceState

func (*BandPriceState) GetRequest_ID

func (m *BandPriceState) GetRequest_ID() uint64

func (*BandPriceState) GetResolveTime

func (m *BandPriceState) GetResolveTime() uint64

func (*BandPriceState) GetSymbol

func (m *BandPriceState) GetSymbol() string

func (*BandPriceState) Marshal

func (m *BandPriceState) Marshal() (dAtA []byte, err error)

func (*BandPriceState) MarshalTo

func (m *BandPriceState) MarshalTo(dAtA []byte) (int, error)

func (*BandPriceState) MarshalToSizedBuffer

func (m *BandPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BandPriceState) ProtoMessage

func (*BandPriceState) ProtoMessage()

func (*BandPriceState) Reset

func (m *BandPriceState) Reset()

func (*BandPriceState) Size

func (m *BandPriceState) Size() (n int)

func (*BandPriceState) String

func (m *BandPriceState) String() string

func (*BandPriceState) Unmarshal

func (m *BandPriceState) Unmarshal(dAtA []byte) error

func (*BandPriceState) XXX_DiscardUnknown

func (m *BandPriceState) XXX_DiscardUnknown()

func (*BandPriceState) XXX_Marshal

func (m *BandPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BandPriceState) XXX_Merge

func (m *BandPriceState) XXX_Merge(src proto.Message)

func (*BandPriceState) XXX_Size

func (m *BandPriceState) XXX_Size() int

func (*BandPriceState) XXX_Unmarshal

func (m *BandPriceState) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
}

BankKeeper defines the expected bank keeper methods

type CalldataRecord

type CalldataRecord struct {
	ClientId uint64 `protobuf:"varint,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Calldata []byte `protobuf:"bytes,2,opt,name=calldata,proto3" json:"calldata,omitempty"`
}

func (*CalldataRecord) Descriptor

func (*CalldataRecord) Descriptor() ([]byte, []int)

func (*CalldataRecord) GetCalldata

func (m *CalldataRecord) GetCalldata() []byte

func (*CalldataRecord) GetClientId

func (m *CalldataRecord) GetClientId() uint64

func (*CalldataRecord) Marshal

func (m *CalldataRecord) Marshal() (dAtA []byte, err error)

func (*CalldataRecord) MarshalTo

func (m *CalldataRecord) MarshalTo(dAtA []byte) (int, error)

func (*CalldataRecord) MarshalToSizedBuffer

func (m *CalldataRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CalldataRecord) ProtoMessage

func (*CalldataRecord) ProtoMessage()

func (*CalldataRecord) Reset

func (m *CalldataRecord) Reset()

func (*CalldataRecord) Size

func (m *CalldataRecord) Size() (n int)

func (*CalldataRecord) String

func (m *CalldataRecord) String() string

func (*CalldataRecord) Unmarshal

func (m *CalldataRecord) Unmarshal(dAtA []byte) error

func (*CalldataRecord) XXX_DiscardUnknown

func (m *CalldataRecord) XXX_DiscardUnknown()

func (*CalldataRecord) XXX_Marshal

func (m *CalldataRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CalldataRecord) XXX_Merge

func (m *CalldataRecord) XXX_Merge(src proto.Message)

func (*CalldataRecord) XXX_Size

func (m *CalldataRecord) XXX_Size() int

func (*CalldataRecord) XXX_Unmarshal

func (m *CalldataRecord) XXX_Unmarshal(b []byte) error

type ChainlinkPriceState

type ChainlinkPriceState struct {
	FeedId     string                                 `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
	Answer     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"answer"`
	Timestamp  uint64                                 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PriceState PriceState                             `protobuf:"bytes,4,opt,name=price_state,json=priceState,proto3" json:"price_state"`
}

func (*ChainlinkPriceState) Descriptor

func (*ChainlinkPriceState) Descriptor() ([]byte, []int)

func (*ChainlinkPriceState) GetFeedId

func (m *ChainlinkPriceState) GetFeedId() string

func (*ChainlinkPriceState) GetPriceState

func (m *ChainlinkPriceState) GetPriceState() PriceState

func (*ChainlinkPriceState) GetTimestamp

func (m *ChainlinkPriceState) GetTimestamp() uint64

func (*ChainlinkPriceState) Marshal

func (m *ChainlinkPriceState) Marshal() (dAtA []byte, err error)

func (*ChainlinkPriceState) MarshalTo

func (m *ChainlinkPriceState) MarshalTo(dAtA []byte) (int, error)

func (*ChainlinkPriceState) MarshalToSizedBuffer

func (m *ChainlinkPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainlinkPriceState) ProtoMessage

func (*ChainlinkPriceState) ProtoMessage()

func (*ChainlinkPriceState) Reset

func (m *ChainlinkPriceState) Reset()

func (*ChainlinkPriceState) Size

func (m *ChainlinkPriceState) Size() (n int)

func (*ChainlinkPriceState) String

func (m *ChainlinkPriceState) String() string

func (*ChainlinkPriceState) Unmarshal

func (m *ChainlinkPriceState) Unmarshal(dAtA []byte) error

func (*ChainlinkPriceState) XXX_DiscardUnknown

func (m *ChainlinkPriceState) XXX_DiscardUnknown()

func (*ChainlinkPriceState) XXX_Marshal

func (m *ChainlinkPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainlinkPriceState) XXX_Merge

func (m *ChainlinkPriceState) XXX_Merge(src proto.Message)

func (*ChainlinkPriceState) XXX_Size

func (m *ChainlinkPriceState) XXX_Size() int

func (*ChainlinkPriceState) XXX_Unmarshal

func (m *ChainlinkPriceState) XXX_Unmarshal(b []byte) error

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	SendPacket(ctx sdk.Context, channelCap *capabilitytypes.Capability, packet ibcexported.PacketI) error
	ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
}

ChannelKeeper defines the expected IBC channel keeper

type CoinbasePriceState

type CoinbasePriceState struct {
	// kind should always be "prices"
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// timestamp of the when the price was signed by coinbase
	Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// the symbol of the price, e.g. BTC
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// the value of the price scaled by 1e6
	Value uint64 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"`
	// the price state
	PriceState PriceState `protobuf:"bytes,5,opt,name=price_state,json=priceState,proto3" json:"price_state"`
}

func ParseCoinbaseMessage

func ParseCoinbaseMessage(message []byte) (*CoinbasePriceState, error)

func (*CoinbasePriceState) Descriptor

func (*CoinbasePriceState) Descriptor() ([]byte, []int)

func (*CoinbasePriceState) GetDecPrice

func (c *CoinbasePriceState) GetDecPrice() sdk.Dec

func (*CoinbasePriceState) GetKey

func (m *CoinbasePriceState) GetKey() string

func (*CoinbasePriceState) GetKind

func (m *CoinbasePriceState) GetKind() string

func (*CoinbasePriceState) GetPriceState

func (m *CoinbasePriceState) GetPriceState() PriceState

func (*CoinbasePriceState) GetTimestamp

func (m *CoinbasePriceState) GetTimestamp() uint64

func (*CoinbasePriceState) GetValue

func (m *CoinbasePriceState) GetValue() uint64

func (*CoinbasePriceState) Marshal

func (m *CoinbasePriceState) Marshal() (dAtA []byte, err error)

func (*CoinbasePriceState) MarshalTo

func (m *CoinbasePriceState) MarshalTo(dAtA []byte) (int, error)

func (*CoinbasePriceState) MarshalToSizedBuffer

func (m *CoinbasePriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CoinbasePriceState) ProtoMessage

func (*CoinbasePriceState) ProtoMessage()

func (*CoinbasePriceState) Reset

func (m *CoinbasePriceState) Reset()

func (*CoinbasePriceState) Size

func (m *CoinbasePriceState) Size() (n int)

func (*CoinbasePriceState) String

func (m *CoinbasePriceState) String() string

func (*CoinbasePriceState) Unmarshal

func (m *CoinbasePriceState) Unmarshal(dAtA []byte) error

func (*CoinbasePriceState) XXX_DiscardUnknown

func (m *CoinbasePriceState) XXX_DiscardUnknown()

func (*CoinbasePriceState) XXX_Marshal

func (m *CoinbasePriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoinbasePriceState) XXX_Merge

func (m *CoinbasePriceState) XXX_Merge(src proto.Message)

func (*CoinbasePriceState) XXX_Size

func (m *CoinbasePriceState) XXX_Size() int

func (*CoinbasePriceState) XXX_Unmarshal

func (m *CoinbasePriceState) XXX_Unmarshal(b []byte) error

type EnableBandIBCProposal

type EnableBandIBCProposal struct {
	Title         string        `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description   string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	BandIbcParams BandIBCParams `protobuf:"bytes,3,opt,name=band_ibc_params,json=bandIbcParams,proto3" json:"band_ibc_params"`
}

func (*EnableBandIBCProposal) Descriptor

func (*EnableBandIBCProposal) Descriptor() ([]byte, []int)

func (*EnableBandIBCProposal) GetDescription

func (p *EnableBandIBCProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*EnableBandIBCProposal) GetTitle

func (p *EnableBandIBCProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*EnableBandIBCProposal) Marshal

func (m *EnableBandIBCProposal) Marshal() (dAtA []byte, err error)

func (*EnableBandIBCProposal) MarshalTo

func (m *EnableBandIBCProposal) MarshalTo(dAtA []byte) (int, error)

func (*EnableBandIBCProposal) MarshalToSizedBuffer

func (m *EnableBandIBCProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EnableBandIBCProposal) ProposalRoute

func (p *EnableBandIBCProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*EnableBandIBCProposal) ProposalType

func (p *EnableBandIBCProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*EnableBandIBCProposal) ProtoMessage

func (*EnableBandIBCProposal) ProtoMessage()

func (*EnableBandIBCProposal) Reset

func (m *EnableBandIBCProposal) Reset()

func (*EnableBandIBCProposal) Size

func (m *EnableBandIBCProposal) Size() (n int)

func (*EnableBandIBCProposal) String

func (m *EnableBandIBCProposal) String() string

func (*EnableBandIBCProposal) Unmarshal

func (m *EnableBandIBCProposal) Unmarshal(dAtA []byte) error

func (*EnableBandIBCProposal) ValidateBasic

func (p *EnableBandIBCProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*EnableBandIBCProposal) XXX_DiscardUnknown

func (m *EnableBandIBCProposal) XXX_DiscardUnknown()

func (*EnableBandIBCProposal) XXX_Marshal

func (m *EnableBandIBCProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnableBandIBCProposal) XXX_Merge

func (m *EnableBandIBCProposal) XXX_Merge(src proto.Message)

func (*EnableBandIBCProposal) XXX_Size

func (m *EnableBandIBCProposal) XXX_Size() int

func (*EnableBandIBCProposal) XXX_Unmarshal

func (m *EnableBandIBCProposal) XXX_Unmarshal(b []byte) error

type EventBandIBCAckError

type EventBandIBCAckError struct {
	AckError string `protobuf:"bytes,1,opt,name=ack_error,json=ackError,proto3" json:"ack_error,omitempty"`
	ClientId int64  `protobuf:"varint,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*EventBandIBCAckError) Descriptor

func (*EventBandIBCAckError) Descriptor() ([]byte, []int)

func (*EventBandIBCAckError) GetAckError

func (m *EventBandIBCAckError) GetAckError() string

func (*EventBandIBCAckError) GetClientId

func (m *EventBandIBCAckError) GetClientId() int64

func (*EventBandIBCAckError) Marshal

func (m *EventBandIBCAckError) Marshal() (dAtA []byte, err error)

func (*EventBandIBCAckError) MarshalTo

func (m *EventBandIBCAckError) MarshalTo(dAtA []byte) (int, error)

func (*EventBandIBCAckError) MarshalToSizedBuffer

func (m *EventBandIBCAckError) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBandIBCAckError) ProtoMessage

func (*EventBandIBCAckError) ProtoMessage()

func (*EventBandIBCAckError) Reset

func (m *EventBandIBCAckError) Reset()

func (*EventBandIBCAckError) Size

func (m *EventBandIBCAckError) Size() (n int)

func (*EventBandIBCAckError) String

func (m *EventBandIBCAckError) String() string

func (*EventBandIBCAckError) Unmarshal

func (m *EventBandIBCAckError) Unmarshal(dAtA []byte) error

func (*EventBandIBCAckError) XXX_DiscardUnknown

func (m *EventBandIBCAckError) XXX_DiscardUnknown()

func (*EventBandIBCAckError) XXX_Marshal

func (m *EventBandIBCAckError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBandIBCAckError) XXX_Merge

func (m *EventBandIBCAckError) XXX_Merge(src proto.Message)

func (*EventBandIBCAckError) XXX_Size

func (m *EventBandIBCAckError) XXX_Size() int

func (*EventBandIBCAckError) XXX_Unmarshal

func (m *EventBandIBCAckError) XXX_Unmarshal(b []byte) error

type EventBandIBCAckSuccess

type EventBandIBCAckSuccess struct {
	AckResult string `protobuf:"bytes,1,opt,name=ack_result,json=ackResult,proto3" json:"ack_result,omitempty"`
	ClientId  int64  `protobuf:"varint,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*EventBandIBCAckSuccess) Descriptor

func (*EventBandIBCAckSuccess) Descriptor() ([]byte, []int)

func (*EventBandIBCAckSuccess) GetAckResult

func (m *EventBandIBCAckSuccess) GetAckResult() string

func (*EventBandIBCAckSuccess) GetClientId

func (m *EventBandIBCAckSuccess) GetClientId() int64

func (*EventBandIBCAckSuccess) Marshal

func (m *EventBandIBCAckSuccess) Marshal() (dAtA []byte, err error)

func (*EventBandIBCAckSuccess) MarshalTo

func (m *EventBandIBCAckSuccess) MarshalTo(dAtA []byte) (int, error)

func (*EventBandIBCAckSuccess) MarshalToSizedBuffer

func (m *EventBandIBCAckSuccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBandIBCAckSuccess) ProtoMessage

func (*EventBandIBCAckSuccess) ProtoMessage()

func (*EventBandIBCAckSuccess) Reset

func (m *EventBandIBCAckSuccess) Reset()

func (*EventBandIBCAckSuccess) Size

func (m *EventBandIBCAckSuccess) Size() (n int)

func (*EventBandIBCAckSuccess) String

func (m *EventBandIBCAckSuccess) String() string

func (*EventBandIBCAckSuccess) Unmarshal

func (m *EventBandIBCAckSuccess) Unmarshal(dAtA []byte) error

func (*EventBandIBCAckSuccess) XXX_DiscardUnknown

func (m *EventBandIBCAckSuccess) XXX_DiscardUnknown()

func (*EventBandIBCAckSuccess) XXX_Marshal

func (m *EventBandIBCAckSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBandIBCAckSuccess) XXX_Merge

func (m *EventBandIBCAckSuccess) XXX_Merge(src proto.Message)

func (*EventBandIBCAckSuccess) XXX_Size

func (m *EventBandIBCAckSuccess) XXX_Size() int

func (*EventBandIBCAckSuccess) XXX_Unmarshal

func (m *EventBandIBCAckSuccess) XXX_Unmarshal(b []byte) error

type EventBandIBCResponseTimeout

type EventBandIBCResponseTimeout struct {
	ClientId int64 `protobuf:"varint,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*EventBandIBCResponseTimeout) Descriptor

func (*EventBandIBCResponseTimeout) Descriptor() ([]byte, []int)

func (*EventBandIBCResponseTimeout) GetClientId

func (m *EventBandIBCResponseTimeout) GetClientId() int64

func (*EventBandIBCResponseTimeout) Marshal

func (m *EventBandIBCResponseTimeout) Marshal() (dAtA []byte, err error)

func (*EventBandIBCResponseTimeout) MarshalTo

func (m *EventBandIBCResponseTimeout) MarshalTo(dAtA []byte) (int, error)

func (*EventBandIBCResponseTimeout) MarshalToSizedBuffer

func (m *EventBandIBCResponseTimeout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBandIBCResponseTimeout) ProtoMessage

func (*EventBandIBCResponseTimeout) ProtoMessage()

func (*EventBandIBCResponseTimeout) Reset

func (m *EventBandIBCResponseTimeout) Reset()

func (*EventBandIBCResponseTimeout) Size

func (m *EventBandIBCResponseTimeout) Size() (n int)

func (*EventBandIBCResponseTimeout) String

func (m *EventBandIBCResponseTimeout) String() string

func (*EventBandIBCResponseTimeout) Unmarshal

func (m *EventBandIBCResponseTimeout) Unmarshal(dAtA []byte) error

func (*EventBandIBCResponseTimeout) XXX_DiscardUnknown

func (m *EventBandIBCResponseTimeout) XXX_DiscardUnknown()

func (*EventBandIBCResponseTimeout) XXX_Marshal

func (m *EventBandIBCResponseTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBandIBCResponseTimeout) XXX_Merge

func (m *EventBandIBCResponseTimeout) XXX_Merge(src proto.Message)

func (*EventBandIBCResponseTimeout) XXX_Size

func (m *EventBandIBCResponseTimeout) XXX_Size() int

func (*EventBandIBCResponseTimeout) XXX_Unmarshal

func (m *EventBandIBCResponseTimeout) XXX_Unmarshal(b []byte) error

type EventSetPythPrices

type EventSetPythPrices struct {
	Prices []*PythPriceState `protobuf:"bytes,1,rep,name=prices,proto3" json:"prices,omitempty"`
}

func (*EventSetPythPrices) Descriptor

func (*EventSetPythPrices) Descriptor() ([]byte, []int)

func (*EventSetPythPrices) GetPrices

func (m *EventSetPythPrices) GetPrices() []*PythPriceState

func (*EventSetPythPrices) Marshal

func (m *EventSetPythPrices) Marshal() (dAtA []byte, err error)

func (*EventSetPythPrices) MarshalTo

func (m *EventSetPythPrices) MarshalTo(dAtA []byte) (int, error)

func (*EventSetPythPrices) MarshalToSizedBuffer

func (m *EventSetPythPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSetPythPrices) ProtoMessage

func (*EventSetPythPrices) ProtoMessage()

func (*EventSetPythPrices) Reset

func (m *EventSetPythPrices) Reset()

func (*EventSetPythPrices) Size

func (m *EventSetPythPrices) Size() (n int)

func (*EventSetPythPrices) String

func (m *EventSetPythPrices) String() string

func (*EventSetPythPrices) Unmarshal

func (m *EventSetPythPrices) Unmarshal(dAtA []byte) error

func (*EventSetPythPrices) XXX_DiscardUnknown

func (m *EventSetPythPrices) XXX_DiscardUnknown()

func (*EventSetPythPrices) XXX_Marshal

func (m *EventSetPythPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSetPythPrices) XXX_Merge

func (m *EventSetPythPrices) XXX_Merge(src proto.Message)

func (*EventSetPythPrices) XXX_Size

func (m *EventSetPythPrices) XXX_Size() int

func (*EventSetPythPrices) XXX_Unmarshal

func (m *EventSetPythPrices) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// params defines all the parameters of related to oracle.
	Params                 Params                 `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	BandRelayers           []string               `protobuf:"bytes,2,rep,name=band_relayers,json=bandRelayers,proto3" json:"band_relayers,omitempty"`
	BandPriceStates        []*BandPriceState      `protobuf:"bytes,3,rep,name=band_price_states,json=bandPriceStates,proto3" json:"band_price_states,omitempty"`
	PriceFeedPriceStates   []*PriceFeedState      `protobuf:"bytes,4,rep,name=price_feed_price_states,json=priceFeedPriceStates,proto3" json:"price_feed_price_states,omitempty"`
	CoinbasePriceStates    []*CoinbasePriceState  `protobuf:"bytes,5,rep,name=coinbase_price_states,json=coinbasePriceStates,proto3" json:"coinbase_price_states,omitempty"`
	BandIbcPriceStates     []*BandPriceState      `protobuf:"bytes,6,rep,name=band_ibc_price_states,json=bandIbcPriceStates,proto3" json:"band_ibc_price_states,omitempty"`
	BandIbcOracleRequests  []*BandOracleRequest   `` /* 128-byte string literal not displayed */
	BandIbcParams          BandIBCParams          `protobuf:"bytes,8,opt,name=band_ibc_params,json=bandIbcParams,proto3" json:"band_ibc_params"`
	BandIbcLatestClientId  uint64                 `` /* 131-byte string literal not displayed */
	CalldataRecords        []*CalldataRecord      `protobuf:"bytes,10,rep,name=calldata_records,json=calldataRecords,proto3" json:"calldata_records,omitempty"`
	BandIbcLatestRequestId uint64                 `` /* 135-byte string literal not displayed */
	ChainlinkPriceStates   []*ChainlinkPriceState `protobuf:"bytes,12,rep,name=chainlink_price_states,json=chainlinkPriceStates,proto3" json:"chainlink_price_states,omitempty"`
	HistoricalPriceRecords []*PriceRecords        `` /* 130-byte string literal not displayed */
	ProviderStates         []*ProviderState       `protobuf:"bytes,14,rep,name=provider_states,json=providerStates,proto3" json:"provider_states,omitempty"`
	PythPriceStates        []*PythPriceState      `protobuf:"bytes,15,rep,name=pyth_price_states,json=pythPriceStates,proto3" json:"pyth_price_states,omitempty"`
}

GenesisState defines the oracle module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

func NewGenesisState

func NewGenesisState() GenesisState

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetBandIbcLatestClientId

func (m *GenesisState) GetBandIbcLatestClientId() uint64

func (*GenesisState) GetBandIbcLatestRequestId

func (m *GenesisState) GetBandIbcLatestRequestId() uint64

func (*GenesisState) GetBandIbcOracleRequests

func (m *GenesisState) GetBandIbcOracleRequests() []*BandOracleRequest

func (*GenesisState) GetBandIbcParams

func (m *GenesisState) GetBandIbcParams() BandIBCParams

func (*GenesisState) GetBandIbcPriceStates

func (m *GenesisState) GetBandIbcPriceStates() []*BandPriceState

func (*GenesisState) GetBandPriceStates

func (m *GenesisState) GetBandPriceStates() []*BandPriceState

func (*GenesisState) GetBandRelayers

func (m *GenesisState) GetBandRelayers() []string

func (*GenesisState) GetCalldataRecords

func (m *GenesisState) GetCalldataRecords() []*CalldataRecord

func (*GenesisState) GetChainlinkPriceStates

func (m *GenesisState) GetChainlinkPriceStates() []*ChainlinkPriceState

func (*GenesisState) GetCoinbasePriceStates

func (m *GenesisState) GetCoinbasePriceStates() []*CoinbasePriceState

func (*GenesisState) GetHistoricalPriceRecords

func (m *GenesisState) GetHistoricalPriceRecords() []*PriceRecords

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPriceFeedPriceStates

func (m *GenesisState) GetPriceFeedPriceStates() []*PriceFeedState

func (*GenesisState) GetProviderStates

func (m *GenesisState) GetProviderStates() []*ProviderState

func (*GenesisState) GetPythPriceStates

func (m *GenesisState) GetPythPriceStates() []*PythPriceState

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type GrantBandOraclePrivilegeProposal

type GrantBandOraclePrivilegeProposal struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Relayers    []string `protobuf:"bytes,3,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*GrantBandOraclePrivilegeProposal) Descriptor

func (*GrantBandOraclePrivilegeProposal) Descriptor() ([]byte, []int)

func (*GrantBandOraclePrivilegeProposal) GetDescription

func (p *GrantBandOraclePrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*GrantBandOraclePrivilegeProposal) GetTitle

GetTitle returns the title of this proposal.

func (*GrantBandOraclePrivilegeProposal) Marshal

func (m *GrantBandOraclePrivilegeProposal) Marshal() (dAtA []byte, err error)

func (*GrantBandOraclePrivilegeProposal) MarshalTo

func (m *GrantBandOraclePrivilegeProposal) MarshalTo(dAtA []byte) (int, error)

func (*GrantBandOraclePrivilegeProposal) MarshalToSizedBuffer

func (m *GrantBandOraclePrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GrantBandOraclePrivilegeProposal) ProposalRoute

func (p *GrantBandOraclePrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*GrantBandOraclePrivilegeProposal) ProposalType

func (p *GrantBandOraclePrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*GrantBandOraclePrivilegeProposal) ProtoMessage

func (*GrantBandOraclePrivilegeProposal) ProtoMessage()

func (*GrantBandOraclePrivilegeProposal) Reset

func (*GrantBandOraclePrivilegeProposal) Size

func (m *GrantBandOraclePrivilegeProposal) Size() (n int)

func (*GrantBandOraclePrivilegeProposal) String

func (*GrantBandOraclePrivilegeProposal) Unmarshal

func (m *GrantBandOraclePrivilegeProposal) Unmarshal(dAtA []byte) error

func (*GrantBandOraclePrivilegeProposal) ValidateBasic

func (p *GrantBandOraclePrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*GrantBandOraclePrivilegeProposal) XXX_DiscardUnknown

func (m *GrantBandOraclePrivilegeProposal) XXX_DiscardUnknown()

func (*GrantBandOraclePrivilegeProposal) XXX_Marshal

func (m *GrantBandOraclePrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrantBandOraclePrivilegeProposal) XXX_Merge

func (*GrantBandOraclePrivilegeProposal) XXX_Size

func (m *GrantBandOraclePrivilegeProposal) XXX_Size() int

func (*GrantBandOraclePrivilegeProposal) XXX_Unmarshal

func (m *GrantBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error

type GrantPriceFeederPrivilegeProposal

type GrantPriceFeederPrivilegeProposal struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Base        string   `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"`
	Quote       string   `protobuf:"bytes,4,opt,name=quote,proto3" json:"quote,omitempty"`
	Relayers    []string `protobuf:"bytes,5,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*GrantPriceFeederPrivilegeProposal) Descriptor

func (*GrantPriceFeederPrivilegeProposal) Descriptor() ([]byte, []int)

func (*GrantPriceFeederPrivilegeProposal) GetDescription

func (p *GrantPriceFeederPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*GrantPriceFeederPrivilegeProposal) GetTitle

GetTitle returns the title of this proposal.

func (*GrantPriceFeederPrivilegeProposal) Marshal

func (m *GrantPriceFeederPrivilegeProposal) Marshal() (dAtA []byte, err error)

func (*GrantPriceFeederPrivilegeProposal) MarshalTo

func (m *GrantPriceFeederPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)

func (*GrantPriceFeederPrivilegeProposal) MarshalToSizedBuffer

func (m *GrantPriceFeederPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GrantPriceFeederPrivilegeProposal) ProposalRoute

func (p *GrantPriceFeederPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*GrantPriceFeederPrivilegeProposal) ProposalType

func (p *GrantPriceFeederPrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*GrantPriceFeederPrivilegeProposal) ProtoMessage

func (*GrantPriceFeederPrivilegeProposal) ProtoMessage()

func (*GrantPriceFeederPrivilegeProposal) Reset

func (*GrantPriceFeederPrivilegeProposal) Size

func (m *GrantPriceFeederPrivilegeProposal) Size() (n int)

func (*GrantPriceFeederPrivilegeProposal) String

func (*GrantPriceFeederPrivilegeProposal) Unmarshal

func (m *GrantPriceFeederPrivilegeProposal) Unmarshal(dAtA []byte) error

func (*GrantPriceFeederPrivilegeProposal) ValidateBasic

func (p *GrantPriceFeederPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*GrantPriceFeederPrivilegeProposal) XXX_DiscardUnknown

func (m *GrantPriceFeederPrivilegeProposal) XXX_DiscardUnknown()

func (*GrantPriceFeederPrivilegeProposal) XXX_Marshal

func (m *GrantPriceFeederPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrantPriceFeederPrivilegeProposal) XXX_Merge

func (*GrantPriceFeederPrivilegeProposal) XXX_Size

func (m *GrantPriceFeederPrivilegeProposal) XXX_Size() int

func (*GrantPriceFeederPrivilegeProposal) XXX_Unmarshal

func (m *GrantPriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error

type GrantProviderPrivilegeProposal

type GrantProviderPrivilegeProposal struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Provider    string   `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Relayers    []string `protobuf:"bytes,4,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*GrantProviderPrivilegeProposal) Descriptor

func (*GrantProviderPrivilegeProposal) Descriptor() ([]byte, []int)

func (*GrantProviderPrivilegeProposal) GetDescription

func (p *GrantProviderPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*GrantProviderPrivilegeProposal) GetTitle

func (p *GrantProviderPrivilegeProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*GrantProviderPrivilegeProposal) Marshal

func (m *GrantProviderPrivilegeProposal) Marshal() (dAtA []byte, err error)

func (*GrantProviderPrivilegeProposal) MarshalTo

func (m *GrantProviderPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)

func (*GrantProviderPrivilegeProposal) MarshalToSizedBuffer

func (m *GrantProviderPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GrantProviderPrivilegeProposal) ProposalRoute

func (p *GrantProviderPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*GrantProviderPrivilegeProposal) ProposalType

func (p *GrantProviderPrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*GrantProviderPrivilegeProposal) ProtoMessage

func (*GrantProviderPrivilegeProposal) ProtoMessage()

func (*GrantProviderPrivilegeProposal) Reset

func (m *GrantProviderPrivilegeProposal) Reset()

func (*GrantProviderPrivilegeProposal) Size

func (m *GrantProviderPrivilegeProposal) Size() (n int)

func (*GrantProviderPrivilegeProposal) String

func (*GrantProviderPrivilegeProposal) Unmarshal

func (m *GrantProviderPrivilegeProposal) Unmarshal(dAtA []byte) error

func (*GrantProviderPrivilegeProposal) ValidateBasic

func (p *GrantProviderPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*GrantProviderPrivilegeProposal) XXX_DiscardUnknown

func (m *GrantProviderPrivilegeProposal) XXX_DiscardUnknown()

func (*GrantProviderPrivilegeProposal) XXX_Marshal

func (m *GrantProviderPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrantProviderPrivilegeProposal) XXX_Merge

func (m *GrantProviderPrivilegeProposal) XXX_Merge(src proto.Message)

func (*GrantProviderPrivilegeProposal) XXX_Size

func (m *GrantProviderPrivilegeProposal) XXX_Size() int

func (*GrantProviderPrivilegeProposal) XXX_Unmarshal

func (m *GrantProviderPrivilegeProposal) XXX_Unmarshal(b []byte) error

type LastPriceTimestamps

type LastPriceTimestamps struct {
	LastPriceTimestamps []*SymbolPriceTimestamp `protobuf:"bytes,1,rep,name=last_price_timestamps,json=lastPriceTimestamps,proto3" json:"last_price_timestamps,omitempty"`
}

func (*LastPriceTimestamps) Descriptor

func (*LastPriceTimestamps) Descriptor() ([]byte, []int)

func (*LastPriceTimestamps) GetLastPriceTimestamps

func (m *LastPriceTimestamps) GetLastPriceTimestamps() []*SymbolPriceTimestamp

func (*LastPriceTimestamps) Marshal

func (m *LastPriceTimestamps) Marshal() (dAtA []byte, err error)

func (*LastPriceTimestamps) MarshalTo

func (m *LastPriceTimestamps) MarshalTo(dAtA []byte) (int, error)

func (*LastPriceTimestamps) MarshalToSizedBuffer

func (m *LastPriceTimestamps) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LastPriceTimestamps) ProtoMessage

func (*LastPriceTimestamps) ProtoMessage()

func (*LastPriceTimestamps) Reset

func (m *LastPriceTimestamps) Reset()

func (*LastPriceTimestamps) Size

func (m *LastPriceTimestamps) Size() (n int)

func (*LastPriceTimestamps) String

func (m *LastPriceTimestamps) String() string

func (*LastPriceTimestamps) Unmarshal

func (m *LastPriceTimestamps) Unmarshal(dAtA []byte) error

func (*LastPriceTimestamps) XXX_DiscardUnknown

func (m *LastPriceTimestamps) XXX_DiscardUnknown()

func (*LastPriceTimestamps) XXX_Marshal

func (m *LastPriceTimestamps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LastPriceTimestamps) XXX_Merge

func (m *LastPriceTimestamps) XXX_Merge(src proto.Message)

func (*LastPriceTimestamps) XXX_Size

func (m *LastPriceTimestamps) XXX_Size() int

func (*LastPriceTimestamps) XXX_Unmarshal

func (m *LastPriceTimestamps) XXX_Unmarshal(b []byte) error

type LegacyBandInput

type LegacyBandInput bandprice.Input

func (LegacyBandInput) PriceMultiplier

func (in LegacyBandInput) PriceMultiplier() uint64

func (LegacyBandInput) PriceSymbols

func (in LegacyBandInput) PriceSymbols() []string

type LegacyBandOutput

type LegacyBandOutput bandprice.Output

func (LegacyBandOutput) Rate

func (out LegacyBandOutput) Rate(id int) uint64

func (LegacyBandOutput) Valid

func (out LegacyBandOutput) Valid(id int) bool

type MetadataStatistics

type MetadataStatistics struct {
	// GroupCount refers to the number of groups used. Equals RecordsSampleSize if no grouping is used
	GroupCount uint32 `protobuf:"varint,1,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"`
	// RecordsSampleSize refers to the total number of records used.
	RecordsSampleSize uint32 `protobuf:"varint,2,opt,name=records_sample_size,json=recordsSampleSize,proto3" json:"records_sample_size,omitempty"`
	// Mean refers to the arithmetic mean
	// For trades, the mean is the VWAP computed over the grouped trade records ∑ (price * quantity) / ∑ quantity
	// For oracle prices, the mean is computed over the price records ∑ (price) / prices_count
	Mean github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=mean,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"mean"`
	// TWAP refers to the time-weighted average price which equals ∑ (price_i * ∆t_i) / ∑ ∆t_i where ∆t_i = t_i - t_{i-1}
	Twap github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=twap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"twap"`
	// FirstTimestamp is the timestamp of the oldest record considered
	FirstTimestamp int64 `protobuf:"varint,5,opt,name=first_timestamp,json=firstTimestamp,proto3" json:"first_timestamp,omitempty"`
	// LastTimestamp is the timestamp of the youngest record considered
	LastTimestamp int64 `protobuf:"varint,6,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"`
	// MinPrice refers to the smallest individual raw price considered
	MinPrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_price,json=minPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price"`
	// MaxPrice refers to the largest individual raw price considered
	MaxPrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=max_price,json=maxPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_price"`
	// MedianPrice refers to the median individual raw price considered
	MedianPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
}

MetadataStatistics refers to the metadata summary statistics of the historical sample considered

func (*MetadataStatistics) Descriptor

func (*MetadataStatistics) Descriptor() ([]byte, []int)

func (*MetadataStatistics) GetFirstTimestamp

func (m *MetadataStatistics) GetFirstTimestamp() int64

func (*MetadataStatistics) GetGroupCount

func (m *MetadataStatistics) GetGroupCount() uint32

func (*MetadataStatistics) GetLastTimestamp

func (m *MetadataStatistics) GetLastTimestamp() int64

func (*MetadataStatistics) GetRecordsSampleSize

func (m *MetadataStatistics) GetRecordsSampleSize() uint32

func (*MetadataStatistics) Marshal

func (m *MetadataStatistics) Marshal() (dAtA []byte, err error)

func (*MetadataStatistics) MarshalTo

func (m *MetadataStatistics) MarshalTo(dAtA []byte) (int, error)

func (*MetadataStatistics) MarshalToSizedBuffer

func (m *MetadataStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetadataStatistics) ProtoMessage

func (*MetadataStatistics) ProtoMessage()

func (*MetadataStatistics) Reset

func (m *MetadataStatistics) Reset()

func (*MetadataStatistics) Size

func (m *MetadataStatistics) Size() (n int)

func (*MetadataStatistics) String

func (m *MetadataStatistics) String() string

func (*MetadataStatistics) Unmarshal

func (m *MetadataStatistics) Unmarshal(dAtA []byte) error

func (*MetadataStatistics) XXX_DiscardUnknown

func (m *MetadataStatistics) XXX_DiscardUnknown()

func (*MetadataStatistics) XXX_Marshal

func (m *MetadataStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetadataStatistics) XXX_Merge

func (m *MetadataStatistics) XXX_Merge(src proto.Message)

func (*MetadataStatistics) XXX_Size

func (m *MetadataStatistics) XXX_Size() int

func (*MetadataStatistics) XXX_Unmarshal

func (m *MetadataStatistics) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// RelayProviderPrice defines a method for relaying a price for a provider-based oracle
	RelayProviderPrices(ctx context.Context, in *MsgRelayProviderPrices, opts ...grpc.CallOption) (*MsgRelayProviderPricesResponse, error)
	// RelayPriceFeedPrice defines a method for relaying a price for a price feeder-based oracle
	RelayPriceFeedPrice(ctx context.Context, in *MsgRelayPriceFeedPrice, opts ...grpc.CallOption) (*MsgRelayPriceFeedPriceResponse, error)
	// RelayBandRates defines a method for relaying rates from Band
	RelayBandRates(ctx context.Context, in *MsgRelayBandRates, opts ...grpc.CallOption) (*MsgRelayBandRatesResponse, error)
	// RequestBandIBCRates defines a method for fetching rates from Band ibc
	RequestBandIBCRates(ctx context.Context, in *MsgRequestBandIBCRates, opts ...grpc.CallOption) (*MsgRequestBandIBCRatesResponse, error)
	// RelayCoinbaseMessages defines a method for relaying price messages from Coinbase API
	RelayCoinbaseMessages(ctx context.Context, in *MsgRelayCoinbaseMessages, opts ...grpc.CallOption) (*MsgRelayCoinbaseMessagesResponse, error)
	// RelayPythPrices defines a method for relaying rates from the Pyth contract
	RelayPythPrices(ctx context.Context, in *MsgRelayPythPrices, opts ...grpc.CallOption) (*MsgRelayPythPricesResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgRelayBandRates

type MsgRelayBandRates struct {
	Relayer      string   `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"`
	Symbols      []string `protobuf:"bytes,2,rep,name=symbols,proto3" json:"symbols,omitempty"`
	Rates        []uint64 `protobuf:"varint,3,rep,packed,name=rates,proto3" json:"rates,omitempty"`
	ResolveTimes []uint64 `protobuf:"varint,4,rep,packed,name=resolve_times,json=resolveTimes,proto3" json:"resolve_times,omitempty"`
	RequestIDs   []uint64 `protobuf:"varint,5,rep,packed,name=requestIDs,proto3" json:"requestIDs,omitempty"`
}

func (*MsgRelayBandRates) Descriptor

func (*MsgRelayBandRates) Descriptor() ([]byte, []int)

func (*MsgRelayBandRates) GetRates

func (m *MsgRelayBandRates) GetRates() []uint64

func (*MsgRelayBandRates) GetRelayer

func (m *MsgRelayBandRates) GetRelayer() string

func (*MsgRelayBandRates) GetRequestIDs

func (m *MsgRelayBandRates) GetRequestIDs() []uint64

func (*MsgRelayBandRates) GetResolveTimes

func (m *MsgRelayBandRates) GetResolveTimes() []uint64

func (*MsgRelayBandRates) GetSignBytes

func (msg *MsgRelayBandRates) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgRelayBandRates) GetSigners

func (msg MsgRelayBandRates) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgRelayBandRates) GetSymbols

func (m *MsgRelayBandRates) GetSymbols() []string

func (*MsgRelayBandRates) Marshal

func (m *MsgRelayBandRates) Marshal() (dAtA []byte, err error)

func (*MsgRelayBandRates) MarshalTo

func (m *MsgRelayBandRates) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayBandRates) MarshalToSizedBuffer

func (m *MsgRelayBandRates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayBandRates) ProtoMessage

func (*MsgRelayBandRates) ProtoMessage()

func (*MsgRelayBandRates) Reset

func (m *MsgRelayBandRates) Reset()

func (MsgRelayBandRates) Route

func (msg MsgRelayBandRates) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgRelayBandRates) Size

func (m *MsgRelayBandRates) Size() (n int)

func (*MsgRelayBandRates) String

func (m *MsgRelayBandRates) String() string

func (MsgRelayBandRates) Type

func (msg MsgRelayBandRates) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgRelayBandRates) Unmarshal

func (m *MsgRelayBandRates) Unmarshal(dAtA []byte) error

func (MsgRelayBandRates) ValidateBasic

func (msg MsgRelayBandRates) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface for MsgRelay.

func (*MsgRelayBandRates) XXX_DiscardUnknown

func (m *MsgRelayBandRates) XXX_DiscardUnknown()

func (*MsgRelayBandRates) XXX_Marshal

func (m *MsgRelayBandRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayBandRates) XXX_Merge

func (m *MsgRelayBandRates) XXX_Merge(src proto.Message)

func (*MsgRelayBandRates) XXX_Size

func (m *MsgRelayBandRates) XXX_Size() int

func (*MsgRelayBandRates) XXX_Unmarshal

func (m *MsgRelayBandRates) XXX_Unmarshal(b []byte) error

type MsgRelayBandRatesResponse

type MsgRelayBandRatesResponse struct {
}

func (*MsgRelayBandRatesResponse) Descriptor

func (*MsgRelayBandRatesResponse) Descriptor() ([]byte, []int)

func (*MsgRelayBandRatesResponse) Marshal

func (m *MsgRelayBandRatesResponse) Marshal() (dAtA []byte, err error)

func (*MsgRelayBandRatesResponse) MarshalTo

func (m *MsgRelayBandRatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayBandRatesResponse) MarshalToSizedBuffer

func (m *MsgRelayBandRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayBandRatesResponse) ProtoMessage

func (*MsgRelayBandRatesResponse) ProtoMessage()

func (*MsgRelayBandRatesResponse) Reset

func (m *MsgRelayBandRatesResponse) Reset()

func (*MsgRelayBandRatesResponse) Size

func (m *MsgRelayBandRatesResponse) Size() (n int)

func (*MsgRelayBandRatesResponse) String

func (m *MsgRelayBandRatesResponse) String() string

func (*MsgRelayBandRatesResponse) Unmarshal

func (m *MsgRelayBandRatesResponse) Unmarshal(dAtA []byte) error

func (*MsgRelayBandRatesResponse) XXX_DiscardUnknown

func (m *MsgRelayBandRatesResponse) XXX_DiscardUnknown()

func (*MsgRelayBandRatesResponse) XXX_Marshal

func (m *MsgRelayBandRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayBandRatesResponse) XXX_Merge

func (m *MsgRelayBandRatesResponse) XXX_Merge(src proto.Message)

func (*MsgRelayBandRatesResponse) XXX_Size

func (m *MsgRelayBandRatesResponse) XXX_Size() int

func (*MsgRelayBandRatesResponse) XXX_Unmarshal

func (m *MsgRelayBandRatesResponse) XXX_Unmarshal(b []byte) error

type MsgRelayCoinbaseMessages

type MsgRelayCoinbaseMessages struct {
	Sender     string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Messages   [][]byte `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
	Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
}

MsgRelayCoinbaseMessages defines a SDK message for relaying price messages from Coinbase API.

func (*MsgRelayCoinbaseMessages) Descriptor

func (*MsgRelayCoinbaseMessages) Descriptor() ([]byte, []int)

func (*MsgRelayCoinbaseMessages) GetSignBytes

func (msg *MsgRelayCoinbaseMessages) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgRelayCoinbaseMessages) GetSigners

func (msg MsgRelayCoinbaseMessages) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgRelayCoinbaseMessages) Marshal

func (m *MsgRelayCoinbaseMessages) Marshal() (dAtA []byte, err error)

func (*MsgRelayCoinbaseMessages) MarshalTo

func (m *MsgRelayCoinbaseMessages) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayCoinbaseMessages) MarshalToSizedBuffer

func (m *MsgRelayCoinbaseMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayCoinbaseMessages) ProtoMessage

func (*MsgRelayCoinbaseMessages) ProtoMessage()

func (*MsgRelayCoinbaseMessages) Reset

func (m *MsgRelayCoinbaseMessages) Reset()

func (MsgRelayCoinbaseMessages) Route

func (msg MsgRelayCoinbaseMessages) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgRelayCoinbaseMessages) Size

func (m *MsgRelayCoinbaseMessages) Size() (n int)

func (*MsgRelayCoinbaseMessages) String

func (m *MsgRelayCoinbaseMessages) String() string

func (MsgRelayCoinbaseMessages) Type

func (msg MsgRelayCoinbaseMessages) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgRelayCoinbaseMessages) Unmarshal

func (m *MsgRelayCoinbaseMessages) Unmarshal(dAtA []byte) error

func (MsgRelayCoinbaseMessages) ValidateBasic

func (msg MsgRelayCoinbaseMessages) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface for MsgRelay.

func (*MsgRelayCoinbaseMessages) XXX_DiscardUnknown

func (m *MsgRelayCoinbaseMessages) XXX_DiscardUnknown()

func (*MsgRelayCoinbaseMessages) XXX_Marshal

func (m *MsgRelayCoinbaseMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayCoinbaseMessages) XXX_Merge

func (m *MsgRelayCoinbaseMessages) XXX_Merge(src proto.Message)

func (*MsgRelayCoinbaseMessages) XXX_Size

func (m *MsgRelayCoinbaseMessages) XXX_Size() int

func (*MsgRelayCoinbaseMessages) XXX_Unmarshal

func (m *MsgRelayCoinbaseMessages) XXX_Unmarshal(b []byte) error

type MsgRelayCoinbaseMessagesResponse

type MsgRelayCoinbaseMessagesResponse struct {
}

func (*MsgRelayCoinbaseMessagesResponse) Descriptor

func (*MsgRelayCoinbaseMessagesResponse) Descriptor() ([]byte, []int)

func (*MsgRelayCoinbaseMessagesResponse) Marshal

func (m *MsgRelayCoinbaseMessagesResponse) Marshal() (dAtA []byte, err error)

func (*MsgRelayCoinbaseMessagesResponse) MarshalTo

func (m *MsgRelayCoinbaseMessagesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayCoinbaseMessagesResponse) MarshalToSizedBuffer

func (m *MsgRelayCoinbaseMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayCoinbaseMessagesResponse) ProtoMessage

func (*MsgRelayCoinbaseMessagesResponse) ProtoMessage()

func (*MsgRelayCoinbaseMessagesResponse) Reset

func (*MsgRelayCoinbaseMessagesResponse) Size

func (m *MsgRelayCoinbaseMessagesResponse) Size() (n int)

func (*MsgRelayCoinbaseMessagesResponse) String

func (*MsgRelayCoinbaseMessagesResponse) Unmarshal

func (m *MsgRelayCoinbaseMessagesResponse) Unmarshal(dAtA []byte) error

func (*MsgRelayCoinbaseMessagesResponse) XXX_DiscardUnknown

func (m *MsgRelayCoinbaseMessagesResponse) XXX_DiscardUnknown()

func (*MsgRelayCoinbaseMessagesResponse) XXX_Marshal

func (m *MsgRelayCoinbaseMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayCoinbaseMessagesResponse) XXX_Merge

func (*MsgRelayCoinbaseMessagesResponse) XXX_Size

func (m *MsgRelayCoinbaseMessagesResponse) XXX_Size() int

func (*MsgRelayCoinbaseMessagesResponse) XXX_Unmarshal

func (m *MsgRelayCoinbaseMessagesResponse) XXX_Unmarshal(b []byte) error

type MsgRelayPriceFeedPrice

type MsgRelayPriceFeedPrice struct {
	Sender string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Base   []string `protobuf:"bytes,2,rep,name=base,proto3" json:"base,omitempty"`
	Quote  []string `protobuf:"bytes,3,rep,name=quote,proto3" json:"quote,omitempty"`
	// price defines the price of the oracle base and quote
	Price []github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,rep,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
}

MsgRelayPriceFeedPrice defines a SDK message for setting a price through the pricefeed oracle.

func (*MsgRelayPriceFeedPrice) Descriptor

func (*MsgRelayPriceFeedPrice) Descriptor() ([]byte, []int)

func (*MsgRelayPriceFeedPrice) GetSignBytes

func (msg *MsgRelayPriceFeedPrice) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgRelayPriceFeedPrice) GetSigners

func (msg MsgRelayPriceFeedPrice) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgRelayPriceFeedPrice) Marshal

func (m *MsgRelayPriceFeedPrice) Marshal() (dAtA []byte, err error)

func (*MsgRelayPriceFeedPrice) MarshalTo

func (m *MsgRelayPriceFeedPrice) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayPriceFeedPrice) MarshalToSizedBuffer

func (m *MsgRelayPriceFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayPriceFeedPrice) ProtoMessage

func (*MsgRelayPriceFeedPrice) ProtoMessage()

func (*MsgRelayPriceFeedPrice) Reset

func (m *MsgRelayPriceFeedPrice) Reset()

func (MsgRelayPriceFeedPrice) Route

func (msg MsgRelayPriceFeedPrice) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgRelayPriceFeedPrice) Size

func (m *MsgRelayPriceFeedPrice) Size() (n int)

func (*MsgRelayPriceFeedPrice) String

func (m *MsgRelayPriceFeedPrice) String() string

func (MsgRelayPriceFeedPrice) Type

func (msg MsgRelayPriceFeedPrice) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgRelayPriceFeedPrice) Unmarshal

func (m *MsgRelayPriceFeedPrice) Unmarshal(dAtA []byte) error

func (MsgRelayPriceFeedPrice) ValidateBasic

func (msg MsgRelayPriceFeedPrice) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgRelayPriceFeedPrice) XXX_DiscardUnknown

func (m *MsgRelayPriceFeedPrice) XXX_DiscardUnknown()

func (*MsgRelayPriceFeedPrice) XXX_Marshal

func (m *MsgRelayPriceFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayPriceFeedPrice) XXX_Merge

func (m *MsgRelayPriceFeedPrice) XXX_Merge(src proto.Message)

func (*MsgRelayPriceFeedPrice) XXX_Size

func (m *MsgRelayPriceFeedPrice) XXX_Size() int

func (*MsgRelayPriceFeedPrice) XXX_Unmarshal

func (m *MsgRelayPriceFeedPrice) XXX_Unmarshal(b []byte) error

type MsgRelayPriceFeedPriceResponse

type MsgRelayPriceFeedPriceResponse struct {
}

func (*MsgRelayPriceFeedPriceResponse) Descriptor

func (*MsgRelayPriceFeedPriceResponse) Descriptor() ([]byte, []int)

func (*MsgRelayPriceFeedPriceResponse) Marshal

func (m *MsgRelayPriceFeedPriceResponse) Marshal() (dAtA []byte, err error)

func (*MsgRelayPriceFeedPriceResponse) MarshalTo

func (m *MsgRelayPriceFeedPriceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayPriceFeedPriceResponse) MarshalToSizedBuffer

func (m *MsgRelayPriceFeedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayPriceFeedPriceResponse) ProtoMessage

func (*MsgRelayPriceFeedPriceResponse) ProtoMessage()

func (*MsgRelayPriceFeedPriceResponse) Reset

func (m *MsgRelayPriceFeedPriceResponse) Reset()

func (*MsgRelayPriceFeedPriceResponse) Size

func (m *MsgRelayPriceFeedPriceResponse) Size() (n int)

func (*MsgRelayPriceFeedPriceResponse) String

func (*MsgRelayPriceFeedPriceResponse) Unmarshal

func (m *MsgRelayPriceFeedPriceResponse) Unmarshal(dAtA []byte) error

func (*MsgRelayPriceFeedPriceResponse) XXX_DiscardUnknown

func (m *MsgRelayPriceFeedPriceResponse) XXX_DiscardUnknown()

func (*MsgRelayPriceFeedPriceResponse) XXX_Marshal

func (m *MsgRelayPriceFeedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayPriceFeedPriceResponse) XXX_Merge

func (m *MsgRelayPriceFeedPriceResponse) XXX_Merge(src proto.Message)

func (*MsgRelayPriceFeedPriceResponse) XXX_Size

func (m *MsgRelayPriceFeedPriceResponse) XXX_Size() int

func (*MsgRelayPriceFeedPriceResponse) XXX_Unmarshal

func (m *MsgRelayPriceFeedPriceResponse) XXX_Unmarshal(b []byte) error

type MsgRelayProviderPrices

type MsgRelayProviderPrices struct {
	Sender   string                                   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Provider string                                   `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	Symbols  []string                                 `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"`
	Prices   []github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,rep,name=prices,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"prices"`
}

MsgRelayProviderPrice defines a SDK message for setting a price through the provider oracle.

func (*MsgRelayProviderPrices) Descriptor

func (*MsgRelayProviderPrices) Descriptor() ([]byte, []int)

func (*MsgRelayProviderPrices) GetSignBytes

func (msg *MsgRelayProviderPrices) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgRelayProviderPrices) GetSigners

func (msg MsgRelayProviderPrices) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgRelayProviderPrices) Marshal

func (m *MsgRelayProviderPrices) Marshal() (dAtA []byte, err error)

func (*MsgRelayProviderPrices) MarshalTo

func (m *MsgRelayProviderPrices) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayProviderPrices) MarshalToSizedBuffer

func (m *MsgRelayProviderPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayProviderPrices) ProtoMessage

func (*MsgRelayProviderPrices) ProtoMessage()

func (*MsgRelayProviderPrices) Reset

func (m *MsgRelayProviderPrices) Reset()

func (MsgRelayProviderPrices) Route

func (msg MsgRelayProviderPrices) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgRelayProviderPrices) Size

func (m *MsgRelayProviderPrices) Size() (n int)

func (*MsgRelayProviderPrices) String

func (m *MsgRelayProviderPrices) String() string

func (MsgRelayProviderPrices) Type

func (msg MsgRelayProviderPrices) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgRelayProviderPrices) Unmarshal

func (m *MsgRelayProviderPrices) Unmarshal(dAtA []byte) error

func (MsgRelayProviderPrices) ValidateBasic

func (msg MsgRelayProviderPrices) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgRelayProviderPrices) XXX_DiscardUnknown

func (m *MsgRelayProviderPrices) XXX_DiscardUnknown()

func (*MsgRelayProviderPrices) XXX_Marshal

func (m *MsgRelayProviderPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayProviderPrices) XXX_Merge

func (m *MsgRelayProviderPrices) XXX_Merge(src proto.Message)

func (*MsgRelayProviderPrices) XXX_Size

func (m *MsgRelayProviderPrices) XXX_Size() int

func (*MsgRelayProviderPrices) XXX_Unmarshal

func (m *MsgRelayProviderPrices) XXX_Unmarshal(b []byte) error

type MsgRelayProviderPricesResponse

type MsgRelayProviderPricesResponse struct {
}

func (*MsgRelayProviderPricesResponse) Descriptor

func (*MsgRelayProviderPricesResponse) Descriptor() ([]byte, []int)

func (*MsgRelayProviderPricesResponse) Marshal

func (m *MsgRelayProviderPricesResponse) Marshal() (dAtA []byte, err error)

func (*MsgRelayProviderPricesResponse) MarshalTo

func (m *MsgRelayProviderPricesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayProviderPricesResponse) MarshalToSizedBuffer

func (m *MsgRelayProviderPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayProviderPricesResponse) ProtoMessage

func (*MsgRelayProviderPricesResponse) ProtoMessage()

func (*MsgRelayProviderPricesResponse) Reset

func (m *MsgRelayProviderPricesResponse) Reset()

func (*MsgRelayProviderPricesResponse) Size

func (m *MsgRelayProviderPricesResponse) Size() (n int)

func (*MsgRelayProviderPricesResponse) String

func (*MsgRelayProviderPricesResponse) Unmarshal

func (m *MsgRelayProviderPricesResponse) Unmarshal(dAtA []byte) error

func (*MsgRelayProviderPricesResponse) XXX_DiscardUnknown

func (m *MsgRelayProviderPricesResponse) XXX_DiscardUnknown()

func (*MsgRelayProviderPricesResponse) XXX_Marshal

func (m *MsgRelayProviderPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayProviderPricesResponse) XXX_Merge

func (m *MsgRelayProviderPricesResponse) XXX_Merge(src proto.Message)

func (*MsgRelayProviderPricesResponse) XXX_Size

func (m *MsgRelayProviderPricesResponse) XXX_Size() int

func (*MsgRelayProviderPricesResponse) XXX_Unmarshal

func (m *MsgRelayProviderPricesResponse) XXX_Unmarshal(b []byte) error

type MsgRelayPythPrices

type MsgRelayPythPrices struct {
	Sender            string              `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	PriceAttestations []*PriceAttestation `protobuf:"bytes,2,rep,name=price_attestations,json=priceAttestations,proto3" json:"price_attestations,omitempty"`
}

MsgRelayPythPrices defines a SDK message for updating Pyth prices

func (*MsgRelayPythPrices) Descriptor

func (*MsgRelayPythPrices) Descriptor() ([]byte, []int)

func (*MsgRelayPythPrices) GetSignBytes

func (msg *MsgRelayPythPrices) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgRelayPythPrices) GetSigners

func (msg MsgRelayPythPrices) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgRelayPythPrices) Marshal

func (m *MsgRelayPythPrices) Marshal() (dAtA []byte, err error)

func (*MsgRelayPythPrices) MarshalTo

func (m *MsgRelayPythPrices) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayPythPrices) MarshalToSizedBuffer

func (m *MsgRelayPythPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayPythPrices) ProtoMessage

func (*MsgRelayPythPrices) ProtoMessage()

func (*MsgRelayPythPrices) Reset

func (m *MsgRelayPythPrices) Reset()

func (MsgRelayPythPrices) Route

func (msg MsgRelayPythPrices) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgRelayPythPrices) Size

func (m *MsgRelayPythPrices) Size() (n int)

func (*MsgRelayPythPrices) String

func (m *MsgRelayPythPrices) String() string

func (MsgRelayPythPrices) Type

func (msg MsgRelayPythPrices) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgRelayPythPrices) Unmarshal

func (m *MsgRelayPythPrices) Unmarshal(dAtA []byte) error

func (MsgRelayPythPrices) ValidateBasic

func (msg MsgRelayPythPrices) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgRelayPythPrices) XXX_DiscardUnknown

func (m *MsgRelayPythPrices) XXX_DiscardUnknown()

func (*MsgRelayPythPrices) XXX_Marshal

func (m *MsgRelayPythPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayPythPrices) XXX_Merge

func (m *MsgRelayPythPrices) XXX_Merge(src proto.Message)

func (*MsgRelayPythPrices) XXX_Size

func (m *MsgRelayPythPrices) XXX_Size() int

func (*MsgRelayPythPrices) XXX_Unmarshal

func (m *MsgRelayPythPrices) XXX_Unmarshal(b []byte) error

type MsgRelayPythPricesResponse

type MsgRelayPythPricesResponse struct {
}

MsgRelayPythPricesResponse defines the Msg/RelayPythPrices response type.

func (*MsgRelayPythPricesResponse) Descriptor

func (*MsgRelayPythPricesResponse) Descriptor() ([]byte, []int)

func (*MsgRelayPythPricesResponse) Marshal

func (m *MsgRelayPythPricesResponse) Marshal() (dAtA []byte, err error)

func (*MsgRelayPythPricesResponse) MarshalTo

func (m *MsgRelayPythPricesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayPythPricesResponse) MarshalToSizedBuffer

func (m *MsgRelayPythPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayPythPricesResponse) ProtoMessage

func (*MsgRelayPythPricesResponse) ProtoMessage()

func (*MsgRelayPythPricesResponse) Reset

func (m *MsgRelayPythPricesResponse) Reset()

func (*MsgRelayPythPricesResponse) Size

func (m *MsgRelayPythPricesResponse) Size() (n int)

func (*MsgRelayPythPricesResponse) String

func (m *MsgRelayPythPricesResponse) String() string

func (*MsgRelayPythPricesResponse) Unmarshal

func (m *MsgRelayPythPricesResponse) Unmarshal(dAtA []byte) error

func (*MsgRelayPythPricesResponse) XXX_DiscardUnknown

func (m *MsgRelayPythPricesResponse) XXX_DiscardUnknown()

func (*MsgRelayPythPricesResponse) XXX_Marshal

func (m *MsgRelayPythPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayPythPricesResponse) XXX_Merge

func (m *MsgRelayPythPricesResponse) XXX_Merge(src proto.Message)

func (*MsgRelayPythPricesResponse) XXX_Size

func (m *MsgRelayPythPricesResponse) XXX_Size() int

func (*MsgRelayPythPricesResponse) XXX_Unmarshal

func (m *MsgRelayPythPricesResponse) XXX_Unmarshal(b []byte) error

type MsgRequestBandIBCRates

type MsgRequestBandIBCRates struct {
	Sender    string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	RequestId uint64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}

MsgRequestBandIBCRates defines a SDK message for requesting data from BandChain using IBC.

func NewMsgRequestBandIBCRates

func NewMsgRequestBandIBCRates(
	sender sdk.AccAddress,
	requestID uint64,
) *MsgRequestBandIBCRates

NewMsgRequestBandIBCRates creates a new MsgRequestBandIBCRates instance.

func (*MsgRequestBandIBCRates) Descriptor

func (*MsgRequestBandIBCRates) Descriptor() ([]byte, []int)

func (MsgRequestBandIBCRates) GetSignBytes

func (msg MsgRequestBandIBCRates) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface for MsgRequestData.

func (MsgRequestBandIBCRates) GetSigners

func (msg MsgRequestBandIBCRates) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) Marshal

func (m *MsgRequestBandIBCRates) Marshal() (dAtA []byte, err error)

func (*MsgRequestBandIBCRates) MarshalTo

func (m *MsgRequestBandIBCRates) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestBandIBCRates) MarshalToSizedBuffer

func (m *MsgRequestBandIBCRates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestBandIBCRates) ProtoMessage

func (*MsgRequestBandIBCRates) ProtoMessage()

func (*MsgRequestBandIBCRates) Reset

func (m *MsgRequestBandIBCRates) Reset()

func (MsgRequestBandIBCRates) Route

func (msg MsgRequestBandIBCRates) Route() string

Route implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) Size

func (m *MsgRequestBandIBCRates) Size() (n int)

func (*MsgRequestBandIBCRates) String

func (m *MsgRequestBandIBCRates) String() string

func (MsgRequestBandIBCRates) Type

func (msg MsgRequestBandIBCRates) Type() string

Type implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) Unmarshal

func (m *MsgRequestBandIBCRates) Unmarshal(dAtA []byte) error

func (MsgRequestBandIBCRates) ValidateBasic

func (msg MsgRequestBandIBCRates) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) XXX_DiscardUnknown

func (m *MsgRequestBandIBCRates) XXX_DiscardUnknown()

func (*MsgRequestBandIBCRates) XXX_Marshal

func (m *MsgRequestBandIBCRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestBandIBCRates) XXX_Merge

func (m *MsgRequestBandIBCRates) XXX_Merge(src proto.Message)

func (*MsgRequestBandIBCRates) XXX_Size

func (m *MsgRequestBandIBCRates) XXX_Size() int

func (*MsgRequestBandIBCRates) XXX_Unmarshal

func (m *MsgRequestBandIBCRates) XXX_Unmarshal(b []byte) error

type MsgRequestBandIBCRatesResponse

type MsgRequestBandIBCRatesResponse struct {
}

MsgRequestDataResponse defines the Msg/RequestBandIBCRates response type.

func (*MsgRequestBandIBCRatesResponse) Descriptor

func (*MsgRequestBandIBCRatesResponse) Descriptor() ([]byte, []int)

func (*MsgRequestBandIBCRatesResponse) Marshal

func (m *MsgRequestBandIBCRatesResponse) Marshal() (dAtA []byte, err error)

func (*MsgRequestBandIBCRatesResponse) MarshalTo

func (m *MsgRequestBandIBCRatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestBandIBCRatesResponse) MarshalToSizedBuffer

func (m *MsgRequestBandIBCRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestBandIBCRatesResponse) ProtoMessage

func (*MsgRequestBandIBCRatesResponse) ProtoMessage()

func (*MsgRequestBandIBCRatesResponse) Reset

func (m *MsgRequestBandIBCRatesResponse) Reset()

func (*MsgRequestBandIBCRatesResponse) Size

func (m *MsgRequestBandIBCRatesResponse) Size() (n int)

func (*MsgRequestBandIBCRatesResponse) String

func (*MsgRequestBandIBCRatesResponse) Unmarshal

func (m *MsgRequestBandIBCRatesResponse) Unmarshal(dAtA []byte) error

func (*MsgRequestBandIBCRatesResponse) XXX_DiscardUnknown

func (m *MsgRequestBandIBCRatesResponse) XXX_DiscardUnknown()

func (*MsgRequestBandIBCRatesResponse) XXX_Marshal

func (m *MsgRequestBandIBCRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestBandIBCRatesResponse) XXX_Merge

func (m *MsgRequestBandIBCRatesResponse) XXX_Merge(src proto.Message)

func (*MsgRequestBandIBCRatesResponse) XXX_Size

func (m *MsgRequestBandIBCRatesResponse) XXX_Size() int

func (*MsgRequestBandIBCRatesResponse) XXX_Unmarshal

func (m *MsgRequestBandIBCRatesResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// RelayProviderPrice defines a method for relaying a price for a provider-based oracle
	RelayProviderPrices(context.Context, *MsgRelayProviderPrices) (*MsgRelayProviderPricesResponse, error)
	// RelayPriceFeedPrice defines a method for relaying a price for a price feeder-based oracle
	RelayPriceFeedPrice(context.Context, *MsgRelayPriceFeedPrice) (*MsgRelayPriceFeedPriceResponse, error)
	// RelayBandRates defines a method for relaying rates from Band
	RelayBandRates(context.Context, *MsgRelayBandRates) (*MsgRelayBandRatesResponse, error)
	// RequestBandIBCRates defines a method for fetching rates from Band ibc
	RequestBandIBCRates(context.Context, *MsgRequestBandIBCRates) (*MsgRequestBandIBCRatesResponse, error)
	// RelayCoinbaseMessages defines a method for relaying price messages from Coinbase API
	RelayCoinbaseMessages(context.Context, *MsgRelayCoinbaseMessages) (*MsgRelayCoinbaseMessagesResponse, error)
	// RelayPythPrices defines a method for relaying rates from the Pyth contract
	RelayPythPrices(context.Context, *MsgRelayPythPrices) (*MsgRelayPythPricesResponse, error)
}

MsgServer is the server API for Msg service.

type OcrKeeper

type OcrKeeper interface {
	GetTransmission(ctx sdk.Context, feedId string) *ocrtypes.Transmission
}

type OracleHistoryOptions

type OracleHistoryOptions struct {
	// MaxAge restricts the oracle price records oldest age in seconds from the current block time to consider.
	// A value of 0 means use all the records present on the chain.
	MaxAge uint64 `protobuf:"varint,1,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
	// If IncludeRawHistory is true, the raw underlying data used for the computation is included in the response
	IncludeRawHistory bool `protobuf:"varint,2,opt,name=include_raw_history,json=includeRawHistory,proto3" json:"include_raw_history,omitempty"`
	// If IncludeMetadata is true, metadata on the computation is included in the response
	IncludeMetadata bool `protobuf:"varint,3,opt,name=include_metadata,json=includeMetadata,proto3" json:"include_metadata,omitempty"`
}

func (*OracleHistoryOptions) Descriptor

func (*OracleHistoryOptions) Descriptor() ([]byte, []int)

func (*OracleHistoryOptions) GetIncludeMetadata

func (m *OracleHistoryOptions) GetIncludeMetadata() bool

func (*OracleHistoryOptions) GetIncludeRawHistory

func (m *OracleHistoryOptions) GetIncludeRawHistory() bool

func (*OracleHistoryOptions) GetMaxAge

func (m *OracleHistoryOptions) GetMaxAge() uint64

func (*OracleHistoryOptions) Marshal

func (m *OracleHistoryOptions) Marshal() (dAtA []byte, err error)

func (*OracleHistoryOptions) MarshalTo

func (m *OracleHistoryOptions) MarshalTo(dAtA []byte) (int, error)

func (*OracleHistoryOptions) MarshalToSizedBuffer

func (m *OracleHistoryOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OracleHistoryOptions) ProtoMessage

func (*OracleHistoryOptions) ProtoMessage()

func (*OracleHistoryOptions) Reset

func (m *OracleHistoryOptions) Reset()

func (*OracleHistoryOptions) Size

func (m *OracleHistoryOptions) Size() (n int)

func (*OracleHistoryOptions) String

func (m *OracleHistoryOptions) String() string

func (*OracleHistoryOptions) Unmarshal

func (m *OracleHistoryOptions) Unmarshal(dAtA []byte) error

func (*OracleHistoryOptions) XXX_DiscardUnknown

func (m *OracleHistoryOptions) XXX_DiscardUnknown()

func (*OracleHistoryOptions) XXX_Marshal

func (m *OracleHistoryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OracleHistoryOptions) XXX_Merge

func (m *OracleHistoryOptions) XXX_Merge(src proto.Message)

func (*OracleHistoryOptions) XXX_Size

func (m *OracleHistoryOptions) XXX_Size() int

func (*OracleHistoryOptions) XXX_Unmarshal

func (m *OracleHistoryOptions) XXX_Unmarshal(b []byte) error

type OracleInfo

type OracleInfo struct {
	Symbol      string     `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	OracleType  OracleType `` /* 133-byte string literal not displayed */
	ScaleFactor uint32     `protobuf:"varint,3,opt,name=scale_factor,json=scaleFactor,proto3" json:"scale_factor,omitempty"`
}

func (*OracleInfo) Descriptor

func (*OracleInfo) Descriptor() ([]byte, []int)

func (*OracleInfo) GetOracleType

func (m *OracleInfo) GetOracleType() OracleType

func (*OracleInfo) GetScaleFactor

func (m *OracleInfo) GetScaleFactor() uint32

func (*OracleInfo) GetSymbol

func (m *OracleInfo) GetSymbol() string

func (*OracleInfo) Marshal

func (m *OracleInfo) Marshal() (dAtA []byte, err error)

func (*OracleInfo) MarshalTo

func (m *OracleInfo) MarshalTo(dAtA []byte) (int, error)

func (*OracleInfo) MarshalToSizedBuffer

func (m *OracleInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OracleInfo) ProtoMessage

func (*OracleInfo) ProtoMessage()

func (*OracleInfo) Reset

func (m *OracleInfo) Reset()

func (*OracleInfo) Size

func (m *OracleInfo) Size() (n int)

func (*OracleInfo) String

func (m *OracleInfo) String() string

func (*OracleInfo) Unmarshal

func (m *OracleInfo) Unmarshal(dAtA []byte) error

func (*OracleInfo) XXX_DiscardUnknown

func (m *OracleInfo) XXX_DiscardUnknown()

func (*OracleInfo) XXX_Marshal

func (m *OracleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OracleInfo) XXX_Merge

func (m *OracleInfo) XXX_Merge(src proto.Message)

func (*OracleInfo) XXX_Size

func (m *OracleInfo) XXX_Size() int

func (*OracleInfo) XXX_Unmarshal

func (m *OracleInfo) XXX_Unmarshal(b []byte) error

type OracleInput

type OracleInput interface {
	PriceSymbols() []string
	PriceMultiplier() uint64
}

func DecodeOracleInput

func DecodeOracleInput(data []byte) (OracleInput, error)

type OracleOutput

type OracleOutput interface {
	Rate(id int) uint64
	Valid(id int) bool
}

func DecodeOracleOutput

func DecodeOracleOutput(data []byte) (OracleOutput, error)

type OracleType

type OracleType int32
const (
	OracleType_Unspecified OracleType = 0
	OracleType_Band        OracleType = 1
	OracleType_PriceFeed   OracleType = 2
	OracleType_Coinbase    OracleType = 3
	OracleType_Chainlink   OracleType = 4
	OracleType_Razor       OracleType = 5
	OracleType_Dia         OracleType = 6
	OracleType_API3        OracleType = 7
	OracleType_Uma         OracleType = 8
	OracleType_Pyth        OracleType = 9
	OracleType_BandIBC     OracleType = 10
	OracleType_Provider    OracleType = 11
)

func GetOracleType

func GetOracleType(oracleTypeStr string) (OracleType, error)

func (OracleType) EnumDescriptor

func (OracleType) EnumDescriptor() ([]byte, []int)

func (OracleType) String

func (x OracleType) String() string

func (*OracleType) UnmarshalJSON

func (o *OracleType) UnmarshalJSON(data []byte) error

type ParamSet

type ParamSet interface {
	ParamSetPairs() ParamSetPairs
}

ParamSet defines an interface for structs containing parameters for a module

type ParamSetPair

type ParamSetPair struct {
	Key         []byte
	Value       interface{}
	ValidatorFn ValueValidatorFn
}

ParamSetPair is used for associating paramsubspace key and field of param structs.

func NewParamSetPair

func NewParamSetPair(key []byte, value interface{}, vfn ValueValidatorFn) ParamSetPair

NewParamSetPair creates a new ParamSetPair instance.

type ParamSetPairs

type ParamSetPairs []ParamSetPair

ParamSetPairs Slice of KeyFieldPair

type Params

type Params struct {
	PythContract string `protobuf:"bytes,1,opt,name=pyth_contract,json=pythContract,proto3" json:"pyth_contract,omitempty"`
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetPythContract

func (m *Params) GetPythContract() string

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs returns the parameter set pairs.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate performs basic validation on auction parameters.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper

type PriceAttestation

type PriceAttestation struct {
	PriceId string `protobuf:"bytes,1,opt,name=price_id,json=priceId,proto3" json:"price_id,omitempty"`
	// MaxPrice refers to the largest individual raw price considered
	Price       int64  `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"`
	Conf        uint64 `protobuf:"varint,3,opt,name=conf,proto3" json:"conf,omitempty"`
	Expo        int32  `protobuf:"varint,4,opt,name=expo,proto3" json:"expo,omitempty"`
	EmaPrice    int64  `protobuf:"varint,5,opt,name=ema_price,json=emaPrice,proto3" json:"ema_price,omitempty"`
	EmaConf     uint64 `protobuf:"varint,6,opt,name=ema_conf,json=emaConf,proto3" json:"ema_conf,omitempty"`
	EmaExpo     int32  `protobuf:"varint,7,opt,name=ema_expo,json=emaExpo,proto3" json:"ema_expo,omitempty"`
	PublishTime int64  `protobuf:"varint,8,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
}

func (*PriceAttestation) Descriptor

func (*PriceAttestation) Descriptor() ([]byte, []int)

func (*PriceAttestation) GetConf

func (m *PriceAttestation) GetConf() uint64

func (*PriceAttestation) GetEmaConf

func (m *PriceAttestation) GetEmaConf() uint64

func (*PriceAttestation) GetEmaExpo

func (m *PriceAttestation) GetEmaExpo() int32

func (*PriceAttestation) GetEmaPrice

func (m *PriceAttestation) GetEmaPrice() int64

func (*PriceAttestation) GetExpo

func (m *PriceAttestation) GetExpo() int32

func (*PriceAttestation) GetPrice

func (m *PriceAttestation) GetPrice() int64

func (*PriceAttestation) GetPriceID

func (p *PriceAttestation) GetPriceID() string

func (*PriceAttestation) GetPriceIDHash

func (p *PriceAttestation) GetPriceIDHash() common.Hash

func (*PriceAttestation) GetPriceId

func (m *PriceAttestation) GetPriceId() string

func (*PriceAttestation) GetPublishTime

func (m *PriceAttestation) GetPublishTime() int64

func (*PriceAttestation) Marshal

func (m *PriceAttestation) Marshal() (dAtA []byte, err error)

func (*PriceAttestation) MarshalTo

func (m *PriceAttestation) MarshalTo(dAtA []byte) (int, error)

func (*PriceAttestation) MarshalToSizedBuffer

func (m *PriceAttestation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceAttestation) ProtoMessage

func (*PriceAttestation) ProtoMessage()

func (*PriceAttestation) Reset

func (m *PriceAttestation) Reset()

func (*PriceAttestation) Size

func (m *PriceAttestation) Size() (n int)

func (*PriceAttestation) String

func (m *PriceAttestation) String() string

func (*PriceAttestation) Unmarshal

func (m *PriceAttestation) Unmarshal(dAtA []byte) error

func (*PriceAttestation) Validate

func (p *PriceAttestation) Validate() error

func (*PriceAttestation) XXX_DiscardUnknown

func (m *PriceAttestation) XXX_DiscardUnknown()

func (*PriceAttestation) XXX_Marshal

func (m *PriceAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceAttestation) XXX_Merge

func (m *PriceAttestation) XXX_Merge(src proto.Message)

func (*PriceAttestation) XXX_Size

func (m *PriceAttestation) XXX_Size() int

func (*PriceAttestation) XXX_Unmarshal

func (m *PriceAttestation) XXX_Unmarshal(b []byte) error

type PriceFeedInfo

type PriceFeedInfo struct {
	Base  string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Quote string `protobuf:"bytes,2,opt,name=quote,proto3" json:"quote,omitempty"`
}

func (*PriceFeedInfo) Descriptor

func (*PriceFeedInfo) Descriptor() ([]byte, []int)

func (*PriceFeedInfo) GetBase

func (m *PriceFeedInfo) GetBase() string

func (*PriceFeedInfo) GetQuote

func (m *PriceFeedInfo) GetQuote() string

func (*PriceFeedInfo) Marshal

func (m *PriceFeedInfo) Marshal() (dAtA []byte, err error)

func (*PriceFeedInfo) MarshalTo

func (m *PriceFeedInfo) MarshalTo(dAtA []byte) (int, error)

func (*PriceFeedInfo) MarshalToSizedBuffer

func (m *PriceFeedInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceFeedInfo) ProtoMessage

func (*PriceFeedInfo) ProtoMessage()

func (*PriceFeedInfo) Reset

func (m *PriceFeedInfo) Reset()

func (*PriceFeedInfo) Size

func (m *PriceFeedInfo) Size() (n int)

func (*PriceFeedInfo) String

func (m *PriceFeedInfo) String() string

func (*PriceFeedInfo) Unmarshal

func (m *PriceFeedInfo) Unmarshal(dAtA []byte) error

func (*PriceFeedInfo) XXX_DiscardUnknown

func (m *PriceFeedInfo) XXX_DiscardUnknown()

func (*PriceFeedInfo) XXX_Marshal

func (m *PriceFeedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceFeedInfo) XXX_Merge

func (m *PriceFeedInfo) XXX_Merge(src proto.Message)

func (*PriceFeedInfo) XXX_Size

func (m *PriceFeedInfo) XXX_Size() int

func (*PriceFeedInfo) XXX_Unmarshal

func (m *PriceFeedInfo) XXX_Unmarshal(b []byte) error

type PriceFeedPrice

type PriceFeedPrice struct {
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
}

func (*PriceFeedPrice) Descriptor

func (*PriceFeedPrice) Descriptor() ([]byte, []int)

func (*PriceFeedPrice) Marshal

func (m *PriceFeedPrice) Marshal() (dAtA []byte, err error)

func (*PriceFeedPrice) MarshalTo

func (m *PriceFeedPrice) MarshalTo(dAtA []byte) (int, error)

func (*PriceFeedPrice) MarshalToSizedBuffer

func (m *PriceFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceFeedPrice) ProtoMessage

func (*PriceFeedPrice) ProtoMessage()

func (*PriceFeedPrice) Reset

func (m *PriceFeedPrice) Reset()

func (*PriceFeedPrice) Size

func (m *PriceFeedPrice) Size() (n int)

func (*PriceFeedPrice) String

func (m *PriceFeedPrice) String() string

func (*PriceFeedPrice) Unmarshal

func (m *PriceFeedPrice) Unmarshal(dAtA []byte) error

func (*PriceFeedPrice) XXX_DiscardUnknown

func (m *PriceFeedPrice) XXX_DiscardUnknown()

func (*PriceFeedPrice) XXX_Marshal

func (m *PriceFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceFeedPrice) XXX_Merge

func (m *PriceFeedPrice) XXX_Merge(src proto.Message)

func (*PriceFeedPrice) XXX_Size

func (m *PriceFeedPrice) XXX_Size() int

func (*PriceFeedPrice) XXX_Unmarshal

func (m *PriceFeedPrice) XXX_Unmarshal(b []byte) error

type PriceFeedState

type PriceFeedState struct {
	Base       string      `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Quote      string      `protobuf:"bytes,2,opt,name=quote,proto3" json:"quote,omitempty"`
	PriceState *PriceState `protobuf:"bytes,3,opt,name=price_state,json=priceState,proto3" json:"price_state,omitempty"`
	Relayers   []string    `protobuf:"bytes,4,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*PriceFeedState) Descriptor

func (*PriceFeedState) Descriptor() ([]byte, []int)

func (*PriceFeedState) GetBase

func (m *PriceFeedState) GetBase() string

func (*PriceFeedState) GetPriceState

func (m *PriceFeedState) GetPriceState() *PriceState

func (*PriceFeedState) GetQuote

func (m *PriceFeedState) GetQuote() string

func (*PriceFeedState) GetRelayers

func (m *PriceFeedState) GetRelayers() []string

func (*PriceFeedState) Marshal

func (m *PriceFeedState) Marshal() (dAtA []byte, err error)

func (*PriceFeedState) MarshalTo

func (m *PriceFeedState) MarshalTo(dAtA []byte) (int, error)

func (*PriceFeedState) MarshalToSizedBuffer

func (m *PriceFeedState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceFeedState) ProtoMessage

func (*PriceFeedState) ProtoMessage()

func (*PriceFeedState) Reset

func (m *PriceFeedState) Reset()

func (*PriceFeedState) Size

func (m *PriceFeedState) Size() (n int)

func (*PriceFeedState) String

func (m *PriceFeedState) String() string

func (*PriceFeedState) Unmarshal

func (m *PriceFeedState) Unmarshal(dAtA []byte) error

func (*PriceFeedState) XXX_DiscardUnknown

func (m *PriceFeedState) XXX_DiscardUnknown()

func (*PriceFeedState) XXX_Marshal

func (m *PriceFeedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceFeedState) XXX_Merge

func (m *PriceFeedState) XXX_Merge(src proto.Message)

func (*PriceFeedState) XXX_Size

func (m *PriceFeedState) XXX_Size() int

func (*PriceFeedState) XXX_Unmarshal

func (m *PriceFeedState) XXX_Unmarshal(b []byte) error

type PricePairState

type PricePairState struct {
	PairPrice            github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
	BasePrice            github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
	QuotePrice           github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	BaseCumulativePrice  github_com_cosmos_cosmos_sdk_types.Dec `` /* 160-byte string literal not displayed */
	QuoteCumulativePrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	BaseTimestamp        int64                                  `protobuf:"varint,6,opt,name=base_timestamp,json=baseTimestamp,proto3" json:"base_timestamp,omitempty"`
	QuoteTimestamp       int64                                  `protobuf:"varint,7,opt,name=quote_timestamp,json=quoteTimestamp,proto3" json:"quote_timestamp,omitempty"`
}

func (*PricePairState) Descriptor

func (*PricePairState) Descriptor() ([]byte, []int)

func (*PricePairState) GetBaseTimestamp

func (m *PricePairState) GetBaseTimestamp() int64

func (*PricePairState) GetQuoteTimestamp

func (m *PricePairState) GetQuoteTimestamp() int64

func (*PricePairState) Marshal

func (m *PricePairState) Marshal() (dAtA []byte, err error)

func (*PricePairState) MarshalTo

func (m *PricePairState) MarshalTo(dAtA []byte) (int, error)

func (*PricePairState) MarshalToSizedBuffer

func (m *PricePairState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PricePairState) ProtoMessage

func (*PricePairState) ProtoMessage()

func (*PricePairState) Reset

func (m *PricePairState) Reset()

func (*PricePairState) Size

func (m *PricePairState) Size() (n int)

func (*PricePairState) String

func (m *PricePairState) String() string

func (*PricePairState) Unmarshal

func (m *PricePairState) Unmarshal(dAtA []byte) error

func (*PricePairState) XXX_DiscardUnknown

func (m *PricePairState) XXX_DiscardUnknown()

func (*PricePairState) XXX_Marshal

func (m *PricePairState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PricePairState) XXX_Merge

func (m *PricePairState) XXX_Merge(src proto.Message)

func (*PricePairState) XXX_Size

func (m *PricePairState) XXX_Size() int

func (*PricePairState) XXX_Unmarshal

func (m *PricePairState) XXX_Unmarshal(b []byte) error

type PriceRecord

type PriceRecord struct {
	Timestamp int64                                  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Price     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
}

func (*PriceRecord) Descriptor

func (*PriceRecord) Descriptor() ([]byte, []int)

func (*PriceRecord) GetTimestamp

func (m *PriceRecord) GetTimestamp() int64

func (*PriceRecord) Marshal

func (m *PriceRecord) Marshal() (dAtA []byte, err error)

func (*PriceRecord) MarshalTo

func (m *PriceRecord) MarshalTo(dAtA []byte) (int, error)

func (*PriceRecord) MarshalToSizedBuffer

func (m *PriceRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceRecord) ProtoMessage

func (*PriceRecord) ProtoMessage()

func (*PriceRecord) Reset

func (m *PriceRecord) Reset()

func (*PriceRecord) Size

func (m *PriceRecord) Size() (n int)

func (*PriceRecord) String

func (m *PriceRecord) String() string

func (*PriceRecord) Unmarshal

func (m *PriceRecord) Unmarshal(dAtA []byte) error

func (*PriceRecord) XXX_DiscardUnknown

func (m *PriceRecord) XXX_DiscardUnknown()

func (*PriceRecord) XXX_Marshal

func (m *PriceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceRecord) XXX_Merge

func (m *PriceRecord) XXX_Merge(src proto.Message)

func (*PriceRecord) XXX_Size

func (m *PriceRecord) XXX_Size() int

func (*PriceRecord) XXX_Unmarshal

func (m *PriceRecord) XXX_Unmarshal(b []byte) error

type PriceRecords

type PriceRecords struct {
	Oracle             OracleType     `protobuf:"varint,1,opt,name=oracle,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle,omitempty"`
	SymbolId           string         `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
	LatestPriceRecords []*PriceRecord `protobuf:"bytes,3,rep,name=latest_price_records,json=latestPriceRecords,proto3" json:"latest_price_records,omitempty"`
}

func (*PriceRecords) Descriptor

func (*PriceRecords) Descriptor() ([]byte, []int)

func (*PriceRecords) GetLatestPriceRecords

func (m *PriceRecords) GetLatestPriceRecords() []*PriceRecord

func (*PriceRecords) GetOracle

func (m *PriceRecords) GetOracle() OracleType

func (*PriceRecords) GetSymbolId

func (m *PriceRecords) GetSymbolId() string

func (*PriceRecords) Marshal

func (m *PriceRecords) Marshal() (dAtA []byte, err error)

func (*PriceRecords) MarshalTo

func (m *PriceRecords) MarshalTo(dAtA []byte) (int, error)

func (*PriceRecords) MarshalToSizedBuffer

func (m *PriceRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceRecords) ProtoMessage

func (*PriceRecords) ProtoMessage()

func (*PriceRecords) Reset

func (m *PriceRecords) Reset()

func (*PriceRecords) Size

func (m *PriceRecords) Size() (n int)

func (*PriceRecords) String

func (m *PriceRecords) String() string

func (*PriceRecords) Unmarshal

func (m *PriceRecords) Unmarshal(dAtA []byte) error

func (*PriceRecords) XXX_DiscardUnknown

func (m *PriceRecords) XXX_DiscardUnknown()

func (*PriceRecords) XXX_Marshal

func (m *PriceRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceRecords) XXX_Merge

func (m *PriceRecords) XXX_Merge(src proto.Message)

func (*PriceRecords) XXX_Size

func (m *PriceRecords) XXX_Size() int

func (*PriceRecords) XXX_Unmarshal

func (m *PriceRecords) XXX_Unmarshal(b []byte) error

type PriceState

type PriceState struct {
	Price           github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	CumulativePrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
	Timestamp       int64                                  `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func NewPriceState

func NewPriceState(price sdk.Dec, timestamp int64) *PriceState

func (*PriceState) Descriptor

func (*PriceState) Descriptor() ([]byte, []int)

func (*PriceState) GetTimestamp

func (m *PriceState) GetTimestamp() int64

func (*PriceState) Marshal

func (m *PriceState) Marshal() (dAtA []byte, err error)

func (*PriceState) MarshalTo

func (m *PriceState) MarshalTo(dAtA []byte) (int, error)

func (*PriceState) MarshalToSizedBuffer

func (m *PriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceState) ProtoMessage

func (*PriceState) ProtoMessage()

func (*PriceState) Reset

func (m *PriceState) Reset()

func (*PriceState) Size

func (m *PriceState) Size() (n int)

func (*PriceState) String

func (m *PriceState) String() string

func (*PriceState) Unmarshal

func (m *PriceState) Unmarshal(dAtA []byte) error

func (*PriceState) UpdatePrice

func (p *PriceState) UpdatePrice(price sdk.Dec, timestamp int64)

func (*PriceState) XXX_DiscardUnknown

func (m *PriceState) XXX_DiscardUnknown()

func (*PriceState) XXX_Marshal

func (m *PriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceState) XXX_Merge

func (m *PriceState) XXX_Merge(src proto.Message)

func (*PriceState) XXX_Size

func (m *PriceState) XXX_Size() int

func (*PriceState) XXX_Unmarshal

func (m *PriceState) XXX_Unmarshal(b []byte) error

type ProviderInfo

type ProviderInfo struct {
	Provider string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Relayers []string `protobuf:"bytes,2,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*ProviderInfo) Descriptor

func (*ProviderInfo) Descriptor() ([]byte, []int)

func (*ProviderInfo) GetProvider

func (m *ProviderInfo) GetProvider() string

func (*ProviderInfo) GetRelayers

func (m *ProviderInfo) GetRelayers() []string

func (*ProviderInfo) Marshal

func (m *ProviderInfo) Marshal() (dAtA []byte, err error)

func (*ProviderInfo) MarshalTo

func (m *ProviderInfo) MarshalTo(dAtA []byte) (int, error)

func (*ProviderInfo) MarshalToSizedBuffer

func (m *ProviderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderInfo) ProtoMessage

func (*ProviderInfo) ProtoMessage()

func (*ProviderInfo) Reset

func (m *ProviderInfo) Reset()

func (*ProviderInfo) Size

func (m *ProviderInfo) Size() (n int)

func (*ProviderInfo) String

func (m *ProviderInfo) String() string

func (*ProviderInfo) Unmarshal

func (m *ProviderInfo) Unmarshal(dAtA []byte) error

func (*ProviderInfo) XXX_DiscardUnknown

func (m *ProviderInfo) XXX_DiscardUnknown()

func (*ProviderInfo) XXX_Marshal

func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderInfo) XXX_Merge

func (m *ProviderInfo) XXX_Merge(src proto.Message)

func (*ProviderInfo) XXX_Size

func (m *ProviderInfo) XXX_Size() int

func (*ProviderInfo) XXX_Unmarshal

func (m *ProviderInfo) XXX_Unmarshal(b []byte) error

type ProviderPriceState

type ProviderPriceState struct {
	Symbol string      `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	State  *PriceState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
}

func NewProviderPriceState

func NewProviderPriceState(symbol string, price sdk.Dec, timestamp int64) *ProviderPriceState

func (*ProviderPriceState) Descriptor

func (*ProviderPriceState) Descriptor() ([]byte, []int)

func (*ProviderPriceState) GetState

func (m *ProviderPriceState) GetState() *PriceState

func (*ProviderPriceState) GetSymbol

func (m *ProviderPriceState) GetSymbol() string

func (*ProviderPriceState) Marshal

func (m *ProviderPriceState) Marshal() (dAtA []byte, err error)

func (*ProviderPriceState) MarshalTo

func (m *ProviderPriceState) MarshalTo(dAtA []byte) (int, error)

func (*ProviderPriceState) MarshalToSizedBuffer

func (m *ProviderPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderPriceState) ProtoMessage

func (*ProviderPriceState) ProtoMessage()

func (*ProviderPriceState) Reset

func (m *ProviderPriceState) Reset()

func (*ProviderPriceState) Size

func (m *ProviderPriceState) Size() (n int)

func (*ProviderPriceState) String

func (m *ProviderPriceState) String() string

func (*ProviderPriceState) Unmarshal

func (m *ProviderPriceState) Unmarshal(dAtA []byte) error

func (*ProviderPriceState) XXX_DiscardUnknown

func (m *ProviderPriceState) XXX_DiscardUnknown()

func (*ProviderPriceState) XXX_Marshal

func (m *ProviderPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderPriceState) XXX_Merge

func (m *ProviderPriceState) XXX_Merge(src proto.Message)

func (*ProviderPriceState) XXX_Size

func (m *ProviderPriceState) XXX_Size() int

func (*ProviderPriceState) XXX_Unmarshal

func (m *ProviderPriceState) XXX_Unmarshal(b []byte) error

type ProviderState

type ProviderState struct {
	ProviderInfo        *ProviderInfo         `protobuf:"bytes,1,opt,name=provider_info,json=providerInfo,proto3" json:"provider_info,omitempty"`
	ProviderPriceStates []*ProviderPriceState `protobuf:"bytes,2,rep,name=provider_price_states,json=providerPriceStates,proto3" json:"provider_price_states,omitempty"`
}

func (*ProviderState) Descriptor

func (*ProviderState) Descriptor() ([]byte, []int)

func (*ProviderState) GetProviderInfo

func (m *ProviderState) GetProviderInfo() *ProviderInfo

func (*ProviderState) GetProviderPriceStates

func (m *ProviderState) GetProviderPriceStates() []*ProviderPriceState

func (*ProviderState) Marshal

func (m *ProviderState) Marshal() (dAtA []byte, err error)

func (*ProviderState) MarshalTo

func (m *ProviderState) MarshalTo(dAtA []byte) (int, error)

func (*ProviderState) MarshalToSizedBuffer

func (m *ProviderState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderState) ProtoMessage

func (*ProviderState) ProtoMessage()

func (*ProviderState) Reset

func (m *ProviderState) Reset()

func (*ProviderState) Size

func (m *ProviderState) Size() (n int)

func (*ProviderState) String

func (m *ProviderState) String() string

func (*ProviderState) Unmarshal

func (m *ProviderState) Unmarshal(dAtA []byte) error

func (*ProviderState) XXX_DiscardUnknown

func (m *ProviderState) XXX_DiscardUnknown()

func (*ProviderState) XXX_Marshal

func (m *ProviderState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderState) XXX_Merge

func (m *ProviderState) XXX_Merge(src proto.Message)

func (*ProviderState) XXX_Size

func (m *ProviderState) XXX_Size() int

func (*ProviderState) XXX_Unmarshal

func (m *ProviderState) XXX_Unmarshal(b []byte) error

type PythPriceState

type PythPriceState struct {
	PriceId     string                                 `protobuf:"bytes,1,opt,name=price_id,json=priceId,proto3" json:"price_id,omitempty"`
	EmaPrice    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=ema_price,json=emaPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"ema_price"`
	EmaConf     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=ema_conf,json=emaConf,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"ema_conf"`
	Conf        github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=conf,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"conf"`
	PublishTime uint64                                 `protobuf:"varint,5,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
	PriceState  PriceState                             `protobuf:"bytes,6,opt,name=price_state,json=priceState,proto3" json:"price_state"`
}

func NewPythPriceState

func NewPythPriceState(
	priceID common.Hash,
	emaPrice, emaConf, conf sdk.Dec,
	publishTime int64,
	price sdk.Dec,
	blockTime int64,
) *PythPriceState

func (*PythPriceState) Descriptor

func (*PythPriceState) Descriptor() ([]byte, []int)

func (*PythPriceState) GetPriceId

func (m *PythPriceState) GetPriceId() string

func (*PythPriceState) GetPriceState

func (m *PythPriceState) GetPriceState() PriceState

func (*PythPriceState) GetPublishTime

func (m *PythPriceState) GetPublishTime() uint64

func (*PythPriceState) Marshal

func (m *PythPriceState) Marshal() (dAtA []byte, err error)

func (*PythPriceState) MarshalTo

func (m *PythPriceState) MarshalTo(dAtA []byte) (int, error)

func (*PythPriceState) MarshalToSizedBuffer

func (m *PythPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PythPriceState) ProtoMessage

func (*PythPriceState) ProtoMessage()

func (*PythPriceState) Reset

func (m *PythPriceState) Reset()

func (*PythPriceState) Size

func (m *PythPriceState) Size() (n int)

func (*PythPriceState) String

func (m *PythPriceState) String() string

func (*PythPriceState) Unmarshal

func (m *PythPriceState) Unmarshal(dAtA []byte) error

func (*PythPriceState) Update

func (p *PythPriceState) Update(
	emaPrice, emaConf, conf sdk.Dec,
	publishTime uint64,
	price sdk.Dec,
	blockTime int64,
)

func (*PythPriceState) XXX_DiscardUnknown

func (m *PythPriceState) XXX_DiscardUnknown()

func (*PythPriceState) XXX_Marshal

func (m *PythPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PythPriceState) XXX_Merge

func (m *PythPriceState) XXX_Merge(src proto.Message)

func (*PythPriceState) XXX_Size

func (m *PythPriceState) XXX_Size() int

func (*PythPriceState) XXX_Unmarshal

func (m *PythPriceState) XXX_Unmarshal(b []byte) error

type QueryBandIBCPriceStatesRequest

type QueryBandIBCPriceStatesRequest struct {
}

QueryBandIBCPriceStatesRequest is the request type for the Query/BandIBCPriceStates RPC method.

func (*QueryBandIBCPriceStatesRequest) Descriptor

func (*QueryBandIBCPriceStatesRequest) Descriptor() ([]byte, []int)

func (*QueryBandIBCPriceStatesRequest) Marshal

func (m *QueryBandIBCPriceStatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryBandIBCPriceStatesRequest) MarshalTo

func (m *QueryBandIBCPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandIBCPriceStatesRequest) MarshalToSizedBuffer

func (m *QueryBandIBCPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandIBCPriceStatesRequest) ProtoMessage

func (*QueryBandIBCPriceStatesRequest) ProtoMessage()

func (*QueryBandIBCPriceStatesRequest) Reset

func (m *QueryBandIBCPriceStatesRequest) Reset()

func (*QueryBandIBCPriceStatesRequest) Size

func (m *QueryBandIBCPriceStatesRequest) Size() (n int)

func (*QueryBandIBCPriceStatesRequest) String

func (*QueryBandIBCPriceStatesRequest) Unmarshal

func (m *QueryBandIBCPriceStatesRequest) Unmarshal(dAtA []byte) error

func (*QueryBandIBCPriceStatesRequest) XXX_DiscardUnknown

func (m *QueryBandIBCPriceStatesRequest) XXX_DiscardUnknown()

func (*QueryBandIBCPriceStatesRequest) XXX_Marshal

func (m *QueryBandIBCPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandIBCPriceStatesRequest) XXX_Merge

func (m *QueryBandIBCPriceStatesRequest) XXX_Merge(src proto.Message)

func (*QueryBandIBCPriceStatesRequest) XXX_Size

func (m *QueryBandIBCPriceStatesRequest) XXX_Size() int

func (*QueryBandIBCPriceStatesRequest) XXX_Unmarshal

func (m *QueryBandIBCPriceStatesRequest) XXX_Unmarshal(b []byte) error

type QueryBandIBCPriceStatesResponse

type QueryBandIBCPriceStatesResponse struct {
	PriceStates []*BandPriceState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}

QueryBandIBCPriceStatesResponse is the response type for the Query/BandIBCPriceStates RPC method.

func (*QueryBandIBCPriceStatesResponse) Descriptor

func (*QueryBandIBCPriceStatesResponse) Descriptor() ([]byte, []int)

func (*QueryBandIBCPriceStatesResponse) GetPriceStates

func (m *QueryBandIBCPriceStatesResponse) GetPriceStates() []*BandPriceState

func (*QueryBandIBCPriceStatesResponse) Marshal

func (m *QueryBandIBCPriceStatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryBandIBCPriceStatesResponse) MarshalTo

func (m *QueryBandIBCPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandIBCPriceStatesResponse) MarshalToSizedBuffer

func (m *QueryBandIBCPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandIBCPriceStatesResponse) ProtoMessage

func (*QueryBandIBCPriceStatesResponse) ProtoMessage()

func (*QueryBandIBCPriceStatesResponse) Reset

func (*QueryBandIBCPriceStatesResponse) Size

func (m *QueryBandIBCPriceStatesResponse) Size() (n int)

func (*QueryBandIBCPriceStatesResponse) String

func (*QueryBandIBCPriceStatesResponse) Unmarshal

func (m *QueryBandIBCPriceStatesResponse) Unmarshal(dAtA []byte) error

func (*QueryBandIBCPriceStatesResponse) XXX_DiscardUnknown

func (m *QueryBandIBCPriceStatesResponse) XXX_DiscardUnknown()

func (*QueryBandIBCPriceStatesResponse) XXX_Marshal

func (m *QueryBandIBCPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandIBCPriceStatesResponse) XXX_Merge

func (m *QueryBandIBCPriceStatesResponse) XXX_Merge(src proto.Message)

func (*QueryBandIBCPriceStatesResponse) XXX_Size

func (m *QueryBandIBCPriceStatesResponse) XXX_Size() int

func (*QueryBandIBCPriceStatesResponse) XXX_Unmarshal

func (m *QueryBandIBCPriceStatesResponse) XXX_Unmarshal(b []byte) error

type QueryBandPriceStatesRequest

type QueryBandPriceStatesRequest struct {
}

QueryBandPriceStatesRequest is the request type for the Query/BandPriceStates RPC method.

func (*QueryBandPriceStatesRequest) Descriptor

func (*QueryBandPriceStatesRequest) Descriptor() ([]byte, []int)

func (*QueryBandPriceStatesRequest) Marshal

func (m *QueryBandPriceStatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryBandPriceStatesRequest) MarshalTo

func (m *QueryBandPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandPriceStatesRequest) MarshalToSizedBuffer

func (m *QueryBandPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandPriceStatesRequest) ProtoMessage

func (*QueryBandPriceStatesRequest) ProtoMessage()

func (*QueryBandPriceStatesRequest) Reset

func (m *QueryBandPriceStatesRequest) Reset()

func (*QueryBandPriceStatesRequest) Size

func (m *QueryBandPriceStatesRequest) Size() (n int)

func (*QueryBandPriceStatesRequest) String

func (m *QueryBandPriceStatesRequest) String() string

func (*QueryBandPriceStatesRequest) Unmarshal

func (m *QueryBandPriceStatesRequest) Unmarshal(dAtA []byte) error

func (*QueryBandPriceStatesRequest) XXX_DiscardUnknown

func (m *QueryBandPriceStatesRequest) XXX_DiscardUnknown()

func (*QueryBandPriceStatesRequest) XXX_Marshal

func (m *QueryBandPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandPriceStatesRequest) XXX_Merge

func (m *QueryBandPriceStatesRequest) XXX_Merge(src proto.Message)

func (*QueryBandPriceStatesRequest) XXX_Size

func (m *QueryBandPriceStatesRequest) XXX_Size() int

func (*QueryBandPriceStatesRequest) XXX_Unmarshal

func (m *QueryBandPriceStatesRequest) XXX_Unmarshal(b []byte) error

type QueryBandPriceStatesResponse

type QueryBandPriceStatesResponse struct {
	PriceStates []*BandPriceState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}

QueryBandPriceStatesResponse is the response type for the Query/BandPriceStates RPC method.

func (*QueryBandPriceStatesResponse) Descriptor

func (*QueryBandPriceStatesResponse) Descriptor() ([]byte, []int)

func (*QueryBandPriceStatesResponse) GetPriceStates

func (m *QueryBandPriceStatesResponse) GetPriceStates() []*BandPriceState

func (*QueryBandPriceStatesResponse) Marshal

func (m *QueryBandPriceStatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryBandPriceStatesResponse) MarshalTo

func (m *QueryBandPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandPriceStatesResponse) MarshalToSizedBuffer

func (m *QueryBandPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandPriceStatesResponse) ProtoMessage

func (*QueryBandPriceStatesResponse) ProtoMessage()

func (*QueryBandPriceStatesResponse) Reset

func (m *QueryBandPriceStatesResponse) Reset()

func (*QueryBandPriceStatesResponse) Size

func (m *QueryBandPriceStatesResponse) Size() (n int)

func (*QueryBandPriceStatesResponse) String

func (*QueryBandPriceStatesResponse) Unmarshal

func (m *QueryBandPriceStatesResponse) Unmarshal(dAtA []byte) error

func (*QueryBandPriceStatesResponse) XXX_DiscardUnknown

func (m *QueryBandPriceStatesResponse) XXX_DiscardUnknown()

func (*QueryBandPriceStatesResponse) XXX_Marshal

func (m *QueryBandPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandPriceStatesResponse) XXX_Merge

func (m *QueryBandPriceStatesResponse) XXX_Merge(src proto.Message)

func (*QueryBandPriceStatesResponse) XXX_Size

func (m *QueryBandPriceStatesResponse) XXX_Size() int

func (*QueryBandPriceStatesResponse) XXX_Unmarshal

func (m *QueryBandPriceStatesResponse) XXX_Unmarshal(b []byte) error

type QueryBandRelayersRequest

type QueryBandRelayersRequest struct {
}

QueryBandRelayersRequest is the request type for the Query/BandRelayers RPC method.

func (*QueryBandRelayersRequest) Descriptor

func (*QueryBandRelayersRequest) Descriptor() ([]byte, []int)

func (*QueryBandRelayersRequest) Marshal

func (m *QueryBandRelayersRequest) Marshal() (dAtA []byte, err error)

func (*QueryBandRelayersRequest) MarshalTo

func (m *QueryBandRelayersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandRelayersRequest) MarshalToSizedBuffer

func (m *QueryBandRelayersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandRelayersRequest) ProtoMessage

func (*QueryBandRelayersRequest) ProtoMessage()

func (*QueryBandRelayersRequest) Reset

func (m *QueryBandRelayersRequest) Reset()

func (*QueryBandRelayersRequest) Size

func (m *QueryBandRelayersRequest) Size() (n int)

func (*QueryBandRelayersRequest) String

func (m *QueryBandRelayersRequest) String() string

func (*QueryBandRelayersRequest) Unmarshal

func (m *QueryBandRelayersRequest) Unmarshal(dAtA []byte) error

func (*QueryBandRelayersRequest) XXX_DiscardUnknown

func (m *QueryBandRelayersRequest) XXX_DiscardUnknown()

func (*QueryBandRelayersRequest) XXX_Marshal

func (m *QueryBandRelayersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandRelayersRequest) XXX_Merge

func (m *QueryBandRelayersRequest) XXX_Merge(src proto.Message)

func (*QueryBandRelayersRequest) XXX_Size

func (m *QueryBandRelayersRequest) XXX_Size() int

func (*QueryBandRelayersRequest) XXX_Unmarshal

func (m *QueryBandRelayersRequest) XXX_Unmarshal(b []byte) error

type QueryBandRelayersResponse

type QueryBandRelayersResponse struct {
	Relayers []string `protobuf:"bytes,1,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

QueryBandRelayersResponse is the response type for the Query/BandRelayers RPC method.

func (*QueryBandRelayersResponse) Descriptor

func (*QueryBandRelayersResponse) Descriptor() ([]byte, []int)

func (*QueryBandRelayersResponse) GetRelayers

func (m *QueryBandRelayersResponse) GetRelayers() []string

func (*QueryBandRelayersResponse) Marshal

func (m *QueryBandRelayersResponse) Marshal() (dAtA []byte, err error)

func (*QueryBandRelayersResponse) MarshalTo

func (m *QueryBandRelayersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBandRelayersResponse) MarshalToSizedBuffer

func (m *QueryBandRelayersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBandRelayersResponse) ProtoMessage

func (*QueryBandRelayersResponse) ProtoMessage()

func (*QueryBandRelayersResponse) Reset

func (m *QueryBandRelayersResponse) Reset()

func (*QueryBandRelayersResponse) Size

func (m *QueryBandRelayersResponse) Size() (n int)

func (*QueryBandRelayersResponse) String

func (m *QueryBandRelayersResponse) String() string

func (*QueryBandRelayersResponse) Unmarshal

func (m *QueryBandRelayersResponse) Unmarshal(dAtA []byte) error

func (*QueryBandRelayersResponse) XXX_DiscardUnknown

func (m *QueryBandRelayersResponse) XXX_DiscardUnknown()

func (*QueryBandRelayersResponse) XXX_Marshal

func (m *QueryBandRelayersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBandRelayersResponse) XXX_Merge

func (m *QueryBandRelayersResponse) XXX_Merge(src proto.Message)

func (*QueryBandRelayersResponse) XXX_Size

func (m *QueryBandRelayersResponse) XXX_Size() int

func (*QueryBandRelayersResponse) XXX_Unmarshal

func (m *QueryBandRelayersResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Retrieves oracle params
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Retrieves the band relayers
	BandRelayers(ctx context.Context, in *QueryBandRelayersRequest, opts ...grpc.CallOption) (*QueryBandRelayersResponse, error)
	// Retrieves the state for all band price feeds
	BandPriceStates(ctx context.Context, in *QueryBandPriceStatesRequest, opts ...grpc.CallOption) (*QueryBandPriceStatesResponse, error)
	// Retrieves the state for all band ibc price feeds
	BandIBCPriceStates(ctx context.Context, in *QueryBandIBCPriceStatesRequest, opts ...grpc.CallOption) (*QueryBandIBCPriceStatesResponse, error)
	// Retrieves the state for all price feeds
	PriceFeedPriceStates(ctx context.Context, in *QueryPriceFeedPriceStatesRequest, opts ...grpc.CallOption) (*QueryPriceFeedPriceStatesResponse, error)
	// Retrieves the state for all coinbase price feeds
	CoinbasePriceStates(ctx context.Context, in *QueryCoinbasePriceStatesRequest, opts ...grpc.CallOption) (*QueryCoinbasePriceStatesResponse, error)
	// Retrieves the state for all pyth price feeds
	PythPriceStates(ctx context.Context, in *QueryPythPriceStatesRequest, opts ...grpc.CallOption) (*QueryPythPriceStatesResponse, error)
	// Retrieves the state for all provider price feeds
	ProviderPriceState(ctx context.Context, in *QueryProviderPriceStateRequest, opts ...grpc.CallOption) (*QueryProviderPriceStateResponse, error)
	// Retrieves the entire oracle module's state
	OracleModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error)
	// Retrieves historical price records for a given OracleType and Symbol
	HistoricalPriceRecords(ctx context.Context, in *QueryHistoricalPriceRecordsRequest, opts ...grpc.CallOption) (*QueryHistoricalPriceRecordsResponse, error)
	// Retrieves mixed volatility value for the specified pair of base/quote
	OracleVolatility(ctx context.Context, in *QueryOracleVolatilityRequest, opts ...grpc.CallOption) (*QueryOracleVolatilityResponse, error)
	OracleProvidersInfo(ctx context.Context, in *QueryOracleProvidersInfoRequest, opts ...grpc.CallOption) (*QueryOracleProvidersInfoResponse, error)
	OracleProviderPrices(ctx context.Context, in *QueryOracleProviderPricesRequest, opts ...grpc.CallOption) (*QueryOracleProviderPricesResponse, error)
	OraclePrice(ctx context.Context, in *QueryOraclePriceRequest, opts ...grpc.CallOption) (*QueryOraclePriceResponse, error)
	PythPrice(ctx context.Context, in *QueryPythPriceRequest, opts ...grpc.CallOption) (*QueryPythPriceResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCoinbasePriceStatesRequest

type QueryCoinbasePriceStatesRequest struct {
}

QueryCoinbasePriceStatesRequest is the request type for the Query/CoinbasePriceStates RPC method.

func (*QueryCoinbasePriceStatesRequest) Descriptor

func (*QueryCoinbasePriceStatesRequest) Descriptor() ([]byte, []int)

func (*QueryCoinbasePriceStatesRequest) Marshal

func (m *QueryCoinbasePriceStatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryCoinbasePriceStatesRequest) MarshalTo

func (m *QueryCoinbasePriceStatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCoinbasePriceStatesRequest) MarshalToSizedBuffer

func (m *QueryCoinbasePriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCoinbasePriceStatesRequest) ProtoMessage

func (*QueryCoinbasePriceStatesRequest) ProtoMessage()

func (*QueryCoinbasePriceStatesRequest) Reset

func (*QueryCoinbasePriceStatesRequest) Size

func (m *QueryCoinbasePriceStatesRequest) Size() (n int)

func (*QueryCoinbasePriceStatesRequest) String

func (*QueryCoinbasePriceStatesRequest) Unmarshal

func (m *QueryCoinbasePriceStatesRequest) Unmarshal(dAtA []byte) error

func (*QueryCoinbasePriceStatesRequest) XXX_DiscardUnknown

func (m *QueryCoinbasePriceStatesRequest) XXX_DiscardUnknown()

func (*QueryCoinbasePriceStatesRequest) XXX_Marshal

func (m *QueryCoinbasePriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCoinbasePriceStatesRequest) XXX_Merge

func (m *QueryCoinbasePriceStatesRequest) XXX_Merge(src proto.Message)

func (*QueryCoinbasePriceStatesRequest) XXX_Size

func (m *QueryCoinbasePriceStatesRequest) XXX_Size() int

func (*QueryCoinbasePriceStatesRequest) XXX_Unmarshal

func (m *QueryCoinbasePriceStatesRequest) XXX_Unmarshal(b []byte) error

type QueryCoinbasePriceStatesResponse

type QueryCoinbasePriceStatesResponse struct {
	PriceStates []*CoinbasePriceState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}

QueryCoinbasePriceStatesResponse is the response type for the Query/CoinbasePriceStates RPC method.

func (*QueryCoinbasePriceStatesResponse) Descriptor

func (*QueryCoinbasePriceStatesResponse) Descriptor() ([]byte, []int)

func (*QueryCoinbasePriceStatesResponse) GetPriceStates

func (*QueryCoinbasePriceStatesResponse) Marshal

func (m *QueryCoinbasePriceStatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryCoinbasePriceStatesResponse) MarshalTo

func (m *QueryCoinbasePriceStatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCoinbasePriceStatesResponse) MarshalToSizedBuffer

func (m *QueryCoinbasePriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCoinbasePriceStatesResponse) ProtoMessage

func (*QueryCoinbasePriceStatesResponse) ProtoMessage()

func (*QueryCoinbasePriceStatesResponse) Reset

func (*QueryCoinbasePriceStatesResponse) Size

func (m *QueryCoinbasePriceStatesResponse) Size() (n int)

func (*QueryCoinbasePriceStatesResponse) String

func (*QueryCoinbasePriceStatesResponse) Unmarshal

func (m *QueryCoinbasePriceStatesResponse) Unmarshal(dAtA []byte) error

func (*QueryCoinbasePriceStatesResponse) XXX_DiscardUnknown

func (m *QueryCoinbasePriceStatesResponse) XXX_DiscardUnknown()

func (*QueryCoinbasePriceStatesResponse) XXX_Marshal

func (m *QueryCoinbasePriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCoinbasePriceStatesResponse) XXX_Merge

func (*QueryCoinbasePriceStatesResponse) XXX_Size

func (m *QueryCoinbasePriceStatesResponse) XXX_Size() int

func (*QueryCoinbasePriceStatesResponse) XXX_Unmarshal

func (m *QueryCoinbasePriceStatesResponse) XXX_Unmarshal(b []byte) error

type QueryHistoricalPriceRecordsRequest

type QueryHistoricalPriceRecordsRequest struct {
	Oracle   OracleType `protobuf:"varint,1,opt,name=oracle,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle,omitempty"`
	SymbolId string     `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
}

func (*QueryHistoricalPriceRecordsRequest) Descriptor

func (*QueryHistoricalPriceRecordsRequest) Descriptor() ([]byte, []int)

func (*QueryHistoricalPriceRecordsRequest) GetOracle

func (*QueryHistoricalPriceRecordsRequest) GetSymbolId

func (m *QueryHistoricalPriceRecordsRequest) GetSymbolId() string

func (*QueryHistoricalPriceRecordsRequest) Marshal

func (m *QueryHistoricalPriceRecordsRequest) Marshal() (dAtA []byte, err error)

func (*QueryHistoricalPriceRecordsRequest) MarshalTo

func (m *QueryHistoricalPriceRecordsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryHistoricalPriceRecordsRequest) MarshalToSizedBuffer

func (m *QueryHistoricalPriceRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHistoricalPriceRecordsRequest) ProtoMessage

func (*QueryHistoricalPriceRecordsRequest) ProtoMessage()

func (*QueryHistoricalPriceRecordsRequest) Reset

func (*QueryHistoricalPriceRecordsRequest) Size

func (*QueryHistoricalPriceRecordsRequest) String

func (*QueryHistoricalPriceRecordsRequest) Unmarshal

func (m *QueryHistoricalPriceRecordsRequest) Unmarshal(dAtA []byte) error

func (*QueryHistoricalPriceRecordsRequest) XXX_DiscardUnknown

func (m *QueryHistoricalPriceRecordsRequest) XXX_DiscardUnknown()

func (*QueryHistoricalPriceRecordsRequest) XXX_Marshal

func (m *QueryHistoricalPriceRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHistoricalPriceRecordsRequest) XXX_Merge

func (*QueryHistoricalPriceRecordsRequest) XXX_Size

func (*QueryHistoricalPriceRecordsRequest) XXX_Unmarshal

func (m *QueryHistoricalPriceRecordsRequest) XXX_Unmarshal(b []byte) error

type QueryHistoricalPriceRecordsResponse

type QueryHistoricalPriceRecordsResponse struct {
	PriceRecords []*PriceRecords `protobuf:"bytes,1,rep,name=price_records,json=priceRecords,proto3" json:"price_records,omitempty"`
}

func (*QueryHistoricalPriceRecordsResponse) Descriptor

func (*QueryHistoricalPriceRecordsResponse) Descriptor() ([]byte, []int)

func (*QueryHistoricalPriceRecordsResponse) GetPriceRecords

func (m *QueryHistoricalPriceRecordsResponse) GetPriceRecords() []*PriceRecords

func (*QueryHistoricalPriceRecordsResponse) Marshal

func (m *QueryHistoricalPriceRecordsResponse) Marshal() (dAtA []byte, err error)

func (*QueryHistoricalPriceRecordsResponse) MarshalTo

func (m *QueryHistoricalPriceRecordsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryHistoricalPriceRecordsResponse) MarshalToSizedBuffer

func (m *QueryHistoricalPriceRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHistoricalPriceRecordsResponse) ProtoMessage

func (*QueryHistoricalPriceRecordsResponse) ProtoMessage()

func (*QueryHistoricalPriceRecordsResponse) Reset

func (*QueryHistoricalPriceRecordsResponse) Size

func (*QueryHistoricalPriceRecordsResponse) String

func (*QueryHistoricalPriceRecordsResponse) Unmarshal

func (m *QueryHistoricalPriceRecordsResponse) Unmarshal(dAtA []byte) error

func (*QueryHistoricalPriceRecordsResponse) XXX_DiscardUnknown

func (m *QueryHistoricalPriceRecordsResponse) XXX_DiscardUnknown()

func (*QueryHistoricalPriceRecordsResponse) XXX_Marshal

func (m *QueryHistoricalPriceRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHistoricalPriceRecordsResponse) XXX_Merge

func (*QueryHistoricalPriceRecordsResponse) XXX_Size

func (*QueryHistoricalPriceRecordsResponse) XXX_Unmarshal

func (m *QueryHistoricalPriceRecordsResponse) XXX_Unmarshal(b []byte) error

type QueryModuleStateRequest

type QueryModuleStateRequest struct {
}

QueryModuleStateRequest is the request type for the Query/OracleModuleState RPC method.

func (*QueryModuleStateRequest) Descriptor

func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)

func (*QueryModuleStateRequest) Marshal

func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)

func (*QueryModuleStateRequest) MarshalTo

func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryModuleStateRequest) MarshalToSizedBuffer

func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryModuleStateRequest) ProtoMessage

func (*QueryModuleStateRequest) ProtoMessage()

func (*QueryModuleStateRequest) Reset

func (m *QueryModuleStateRequest) Reset()

func (*QueryModuleStateRequest) Size

func (m *QueryModuleStateRequest) Size() (n int)

func (*QueryModuleStateRequest) String

func (m *QueryModuleStateRequest) String() string

func (*QueryModuleStateRequest) Unmarshal

func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error

func (*QueryModuleStateRequest) XXX_DiscardUnknown

func (m *QueryModuleStateRequest) XXX_DiscardUnknown()

func (*QueryModuleStateRequest) XXX_Marshal

func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryModuleStateRequest) XXX_Merge

func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)

func (*QueryModuleStateRequest) XXX_Size

func (m *QueryModuleStateRequest) XXX_Size() int

func (*QueryModuleStateRequest) XXX_Unmarshal

func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error

type QueryModuleStateResponse

type QueryModuleStateResponse struct {
	State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}

QueryModuleStateResponse is the response type for the Query/OracleModuleState RPC method.

func (*QueryModuleStateResponse) Descriptor

func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)

func (*QueryModuleStateResponse) GetState

func (m *QueryModuleStateResponse) GetState() *GenesisState

func (*QueryModuleStateResponse) Marshal

func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)

func (*QueryModuleStateResponse) MarshalTo

func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryModuleStateResponse) MarshalToSizedBuffer

func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryModuleStateResponse) ProtoMessage

func (*QueryModuleStateResponse) ProtoMessage()

func (*QueryModuleStateResponse) Reset

func (m *QueryModuleStateResponse) Reset()

func (*QueryModuleStateResponse) Size

func (m *QueryModuleStateResponse) Size() (n int)

func (*QueryModuleStateResponse) String

func (m *QueryModuleStateResponse) String() string

func (*QueryModuleStateResponse) Unmarshal

func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error

func (*QueryModuleStateResponse) XXX_DiscardUnknown

func (m *QueryModuleStateResponse) XXX_DiscardUnknown()

func (*QueryModuleStateResponse) XXX_Marshal

func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryModuleStateResponse) XXX_Merge

func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)

func (*QueryModuleStateResponse) XXX_Size

func (m *QueryModuleStateResponse) XXX_Size() int

func (*QueryModuleStateResponse) XXX_Unmarshal

func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error

type QueryOraclePriceRequest

type QueryOraclePriceRequest struct {
	OracleType OracleType `` /* 133-byte string literal not displayed */
	Base       string     `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
	Quote      string     `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"`
}

QueryOraclePriceRequest is the request type for the Query/OraclePrice RPC method.

func (*QueryOraclePriceRequest) Descriptor

func (*QueryOraclePriceRequest) Descriptor() ([]byte, []int)

func (*QueryOraclePriceRequest) GetBase

func (m *QueryOraclePriceRequest) GetBase() string

func (*QueryOraclePriceRequest) GetOracleType

func (m *QueryOraclePriceRequest) GetOracleType() OracleType

func (*QueryOraclePriceRequest) GetQuote

func (m *QueryOraclePriceRequest) GetQuote() string

func (*QueryOraclePriceRequest) Marshal

func (m *QueryOraclePriceRequest) Marshal() (dAtA []byte, err error)

func (*QueryOraclePriceRequest) MarshalTo

func (m *QueryOraclePriceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOraclePriceRequest) MarshalToSizedBuffer

func (m *QueryOraclePriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOraclePriceRequest) ProtoMessage

func (*QueryOraclePriceRequest) ProtoMessage()

func (*QueryOraclePriceRequest) Reset

func (m *QueryOraclePriceRequest) Reset()

func (*QueryOraclePriceRequest) Size

func (m *QueryOraclePriceRequest) Size() (n int)

func (*QueryOraclePriceRequest) String

func (m *QueryOraclePriceRequest) String() string

func (*QueryOraclePriceRequest) Unmarshal

func (m *QueryOraclePriceRequest) Unmarshal(dAtA []byte) error

func (*QueryOraclePriceRequest) XXX_DiscardUnknown

func (m *QueryOraclePriceRequest) XXX_DiscardUnknown()

func (*QueryOraclePriceRequest) XXX_Marshal

func (m *QueryOraclePriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOraclePriceRequest) XXX_Merge

func (m *QueryOraclePriceRequest) XXX_Merge(src proto.Message)

func (*QueryOraclePriceRequest) XXX_Size

func (m *QueryOraclePriceRequest) XXX_Size() int

func (*QueryOraclePriceRequest) XXX_Unmarshal

func (m *QueryOraclePriceRequest) XXX_Unmarshal(b []byte) error

type QueryOraclePriceResponse

type QueryOraclePriceResponse struct {
	PricePairState *PricePairState `protobuf:"bytes,1,opt,name=price_pair_state,json=pricePairState,proto3" json:"price_pair_state,omitempty"`
}

QueryOraclePriceResponse is the response type for the Query/OraclePrice RPC method.

func (*QueryOraclePriceResponse) Descriptor

func (*QueryOraclePriceResponse) Descriptor() ([]byte, []int)

func (*QueryOraclePriceResponse) GetPricePairState

func (m *QueryOraclePriceResponse) GetPricePairState() *PricePairState

func (*QueryOraclePriceResponse) Marshal

func (m *QueryOraclePriceResponse) Marshal() (dAtA []byte, err error)

func (*QueryOraclePriceResponse) MarshalTo

func (m *QueryOraclePriceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOraclePriceResponse) MarshalToSizedBuffer

func (m *QueryOraclePriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOraclePriceResponse) ProtoMessage

func (*QueryOraclePriceResponse) ProtoMessage()

func (*QueryOraclePriceResponse) Reset

func (m *QueryOraclePriceResponse) Reset()

func (*QueryOraclePriceResponse) Size

func (m *QueryOraclePriceResponse) Size() (n int)

func (*QueryOraclePriceResponse) String

func (m *QueryOraclePriceResponse) String() string

func (*QueryOraclePriceResponse) Unmarshal

func (m *QueryOraclePriceResponse) Unmarshal(dAtA []byte) error

func (*QueryOraclePriceResponse) XXX_DiscardUnknown

func (m *QueryOraclePriceResponse) XXX_DiscardUnknown()

func (*QueryOraclePriceResponse) XXX_Marshal

func (m *QueryOraclePriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOraclePriceResponse) XXX_Merge

func (m *QueryOraclePriceResponse) XXX_Merge(src proto.Message)

func (*QueryOraclePriceResponse) XXX_Size

func (m *QueryOraclePriceResponse) XXX_Size() int

func (*QueryOraclePriceResponse) XXX_Unmarshal

func (m *QueryOraclePriceResponse) XXX_Unmarshal(b []byte) error

type QueryOracleProviderPricesRequest

type QueryOracleProviderPricesRequest struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
}

func (*QueryOracleProviderPricesRequest) Descriptor

func (*QueryOracleProviderPricesRequest) Descriptor() ([]byte, []int)

func (*QueryOracleProviderPricesRequest) GetProvider

func (m *QueryOracleProviderPricesRequest) GetProvider() string

func (*QueryOracleProviderPricesRequest) Marshal

func (m *QueryOracleProviderPricesRequest) Marshal() (dAtA []byte, err error)

func (*QueryOracleProviderPricesRequest) MarshalTo

func (m *QueryOracleProviderPricesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOracleProviderPricesRequest) MarshalToSizedBuffer

func (m *QueryOracleProviderPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOracleProviderPricesRequest) ProtoMessage

func (*QueryOracleProviderPricesRequest) ProtoMessage()

func (*QueryOracleProviderPricesRequest) Reset

func (*QueryOracleProviderPricesRequest) Size

func (m *QueryOracleProviderPricesRequest) Size() (n int)

func (*QueryOracleProviderPricesRequest) String

func (*QueryOracleProviderPricesRequest) Unmarshal

func (m *QueryOracleProviderPricesRequest) Unmarshal(dAtA []byte) error

func (*QueryOracleProviderPricesRequest) XXX_DiscardUnknown

func (m *QueryOracleProviderPricesRequest) XXX_DiscardUnknown()

func (*QueryOracleProviderPricesRequest) XXX_Marshal

func (m *QueryOracleProviderPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOracleProviderPricesRequest) XXX_Merge

func (*QueryOracleProviderPricesRequest) XXX_Size

func (m *QueryOracleProviderPricesRequest) XXX_Size() int

func (*QueryOracleProviderPricesRequest) XXX_Unmarshal

func (m *QueryOracleProviderPricesRequest) XXX_Unmarshal(b []byte) error

type QueryOracleProviderPricesResponse

type QueryOracleProviderPricesResponse struct {
	ProviderState []*ProviderState `protobuf:"bytes,1,rep,name=providerState,proto3" json:"providerState,omitempty"`
}

func (*QueryOracleProviderPricesResponse) Descriptor

func (*QueryOracleProviderPricesResponse) Descriptor() ([]byte, []int)

func (*QueryOracleProviderPricesResponse) GetProviderState

func (m *QueryOracleProviderPricesResponse) GetProviderState() []*ProviderState

func (*QueryOracleProviderPricesResponse) Marshal

func (m *QueryOracleProviderPricesResponse) Marshal() (dAtA []byte, err error)

func (*QueryOracleProviderPricesResponse) MarshalTo

func (m *QueryOracleProviderPricesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOracleProviderPricesResponse) MarshalToSizedBuffer

func (m *QueryOracleProviderPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOracleProviderPricesResponse) ProtoMessage

func (*QueryOracleProviderPricesResponse) ProtoMessage()

func (*QueryOracleProviderPricesResponse) Reset

func (*QueryOracleProviderPricesResponse) Size

func (m *QueryOracleProviderPricesResponse) Size() (n int)

func (*QueryOracleProviderPricesResponse) String

func (*QueryOracleProviderPricesResponse) Unmarshal

func (m *QueryOracleProviderPricesResponse) Unmarshal(dAtA []byte) error

func (*QueryOracleProviderPricesResponse) XXX_DiscardUnknown

func (m *QueryOracleProviderPricesResponse) XXX_DiscardUnknown()

func (*QueryOracleProviderPricesResponse) XXX_Marshal

func (m *QueryOracleProviderPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOracleProviderPricesResponse) XXX_Merge

func (*QueryOracleProviderPricesResponse) XXX_Size

func (m *QueryOracleProviderPricesResponse) XXX_Size() int

func (*QueryOracleProviderPricesResponse) XXX_Unmarshal

func (m *QueryOracleProviderPricesResponse) XXX_Unmarshal(b []byte) error

type QueryOracleProvidersInfoRequest

type QueryOracleProvidersInfoRequest struct {
}

func (*QueryOracleProvidersInfoRequest) Descriptor

func (*QueryOracleProvidersInfoRequest) Descriptor() ([]byte, []int)

func (*QueryOracleProvidersInfoRequest) Marshal

func (m *QueryOracleProvidersInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryOracleProvidersInfoRequest) MarshalTo

func (m *QueryOracleProvidersInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOracleProvidersInfoRequest) MarshalToSizedBuffer

func (m *QueryOracleProvidersInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOracleProvidersInfoRequest) ProtoMessage

func (*QueryOracleProvidersInfoRequest) ProtoMessage()

func (*QueryOracleProvidersInfoRequest) Reset

func (*QueryOracleProvidersInfoRequest) Size

func (m *QueryOracleProvidersInfoRequest) Size() (n int)

func (*QueryOracleProvidersInfoRequest) String

func (*QueryOracleProvidersInfoRequest) Unmarshal

func (m *QueryOracleProvidersInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryOracleProvidersInfoRequest) XXX_DiscardUnknown

func (m *QueryOracleProvidersInfoRequest) XXX_DiscardUnknown()

func (*QueryOracleProvidersInfoRequest) XXX_Marshal

func (m *QueryOracleProvidersInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOracleProvidersInfoRequest) XXX_Merge

func (m *QueryOracleProvidersInfoRequest) XXX_Merge(src proto.Message)

func (*QueryOracleProvidersInfoRequest) XXX_Size

func (m *QueryOracleProvidersInfoRequest) XXX_Size() int

func (*QueryOracleProvidersInfoRequest) XXX_Unmarshal

func (m *QueryOracleProvidersInfoRequest) XXX_Unmarshal(b []byte) error

type QueryOracleProvidersInfoResponse

type QueryOracleProvidersInfoResponse struct {
	Providers []*ProviderInfo `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
}

func (*QueryOracleProvidersInfoResponse) Descriptor

func (*QueryOracleProvidersInfoResponse) Descriptor() ([]byte, []int)

func (*QueryOracleProvidersInfoResponse) GetProviders

func (m *QueryOracleProvidersInfoResponse) GetProviders() []*ProviderInfo

func (*QueryOracleProvidersInfoResponse) Marshal

func (m *QueryOracleProvidersInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryOracleProvidersInfoResponse) MarshalTo

func (m *QueryOracleProvidersInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOracleProvidersInfoResponse) MarshalToSizedBuffer

func (m *QueryOracleProvidersInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOracleProvidersInfoResponse) ProtoMessage

func (*QueryOracleProvidersInfoResponse) ProtoMessage()

func (*QueryOracleProvidersInfoResponse) Reset

func (*QueryOracleProvidersInfoResponse) Size

func (m *QueryOracleProvidersInfoResponse) Size() (n int)

func (*QueryOracleProvidersInfoResponse) String

func (*QueryOracleProvidersInfoResponse) Unmarshal

func (m *QueryOracleProvidersInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryOracleProvidersInfoResponse) XXX_DiscardUnknown

func (m *QueryOracleProvidersInfoResponse) XXX_DiscardUnknown()

func (*QueryOracleProvidersInfoResponse) XXX_Marshal

func (m *QueryOracleProvidersInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOracleProvidersInfoResponse) XXX_Merge

func (*QueryOracleProvidersInfoResponse) XXX_Size

func (m *QueryOracleProvidersInfoResponse) XXX_Size() int

func (*QueryOracleProvidersInfoResponse) XXX_Unmarshal

func (m *QueryOracleProvidersInfoResponse) XXX_Unmarshal(b []byte) error

type QueryOracleVolatilityRequest

type QueryOracleVolatilityRequest struct {
	BaseInfo             *OracleInfo           `protobuf:"bytes,1,opt,name=base_info,json=baseInfo,proto3" json:"base_info,omitempty"`
	QuoteInfo            *OracleInfo           `protobuf:"bytes,2,opt,name=quote_info,json=quoteInfo,proto3" json:"quote_info,omitempty"`
	OracleHistoryOptions *OracleHistoryOptions `protobuf:"bytes,3,opt,name=oracle_history_options,json=oracleHistoryOptions,proto3" json:"oracle_history_options,omitempty"`
}

QueryOracleVolatilityRequest is the request type for Query/OracleVolatility RPC method.

func (*QueryOracleVolatilityRequest) Descriptor

func (*QueryOracleVolatilityRequest) Descriptor() ([]byte, []int)

func (*QueryOracleVolatilityRequest) GetBaseInfo

func (m *QueryOracleVolatilityRequest) GetBaseInfo() *OracleInfo

func (*QueryOracleVolatilityRequest) GetOracleHistoryOptions

func (m *QueryOracleVolatilityRequest) GetOracleHistoryOptions() *OracleHistoryOptions

func (*QueryOracleVolatilityRequest) GetQuoteInfo

func (m *QueryOracleVolatilityRequest) GetQuoteInfo() *OracleInfo

func (*QueryOracleVolatilityRequest) Marshal

func (m *QueryOracleVolatilityRequest) Marshal() (dAtA []byte, err error)

func (*QueryOracleVolatilityRequest) MarshalTo

func (m *QueryOracleVolatilityRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOracleVolatilityRequest) MarshalToSizedBuffer

func (m *QueryOracleVolatilityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOracleVolatilityRequest) ProtoMessage

func (*QueryOracleVolatilityRequest) ProtoMessage()

func (*QueryOracleVolatilityRequest) Reset

func (m *QueryOracleVolatilityRequest) Reset()

func (*QueryOracleVolatilityRequest) Size

func (m *QueryOracleVolatilityRequest) Size() (n int)

func (*QueryOracleVolatilityRequest) String

func (*QueryOracleVolatilityRequest) Unmarshal

func (m *QueryOracleVolatilityRequest) Unmarshal(dAtA []byte) error

func (*QueryOracleVolatilityRequest) XXX_DiscardUnknown

func (m *QueryOracleVolatilityRequest) XXX_DiscardUnknown()

func (*QueryOracleVolatilityRequest) XXX_Marshal

func (m *QueryOracleVolatilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOracleVolatilityRequest) XXX_Merge

func (m *QueryOracleVolatilityRequest) XXX_Merge(src proto.Message)

func (*QueryOracleVolatilityRequest) XXX_Size

func (m *QueryOracleVolatilityRequest) XXX_Size() int

func (*QueryOracleVolatilityRequest) XXX_Unmarshal

func (m *QueryOracleVolatilityRequest) XXX_Unmarshal(b []byte) error

type QueryOracleVolatilityResponse

type QueryOracleVolatilityResponse struct {
	Volatility      *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=volatility,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"volatility,omitempty"`
	HistoryMetadata *MetadataStatistics                     `protobuf:"bytes,2,opt,name=history_metadata,json=historyMetadata,proto3" json:"history_metadata,omitempty"`
	RawHistory      []*PriceRecord                          `protobuf:"bytes,3,rep,name=raw_history,json=rawHistory,proto3" json:"raw_history,omitempty"`
}

QueryOracleVolatilityResponse is the response type for Query/OracleVolatility RPC method.

func (*QueryOracleVolatilityResponse) Descriptor

func (*QueryOracleVolatilityResponse) Descriptor() ([]byte, []int)

func (*QueryOracleVolatilityResponse) GetHistoryMetadata

func (m *QueryOracleVolatilityResponse) GetHistoryMetadata() *MetadataStatistics

func (*QueryOracleVolatilityResponse) GetRawHistory

func (m *QueryOracleVolatilityResponse) GetRawHistory() []*PriceRecord

func (*QueryOracleVolatilityResponse) Marshal

func (m *QueryOracleVolatilityResponse) Marshal() (dAtA []byte, err error)

func (*QueryOracleVolatilityResponse) MarshalTo

func (m *QueryOracleVolatilityResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOracleVolatilityResponse) MarshalToSizedBuffer

func (m *QueryOracleVolatilityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOracleVolatilityResponse) ProtoMessage

func (*QueryOracleVolatilityResponse) ProtoMessage()

func (*QueryOracleVolatilityResponse) Reset

func (m *QueryOracleVolatilityResponse) Reset()

func (*QueryOracleVolatilityResponse) Size

func (m *QueryOracleVolatilityResponse) Size() (n int)

func (*QueryOracleVolatilityResponse) String

func (*QueryOracleVolatilityResponse) Unmarshal

func (m *QueryOracleVolatilityResponse) Unmarshal(dAtA []byte) error

func (*QueryOracleVolatilityResponse) XXX_DiscardUnknown

func (m *QueryOracleVolatilityResponse) XXX_DiscardUnknown()

func (*QueryOracleVolatilityResponse) XXX_Marshal

func (m *QueryOracleVolatilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOracleVolatilityResponse) XXX_Merge

func (m *QueryOracleVolatilityResponse) XXX_Merge(src proto.Message)

func (*QueryOracleVolatilityResponse) XXX_Size

func (m *QueryOracleVolatilityResponse) XXX_Size() int

func (*QueryOracleVolatilityResponse) XXX_Unmarshal

func (m *QueryOracleVolatilityResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryOracleParamsRequest is the request type for the Query/OracleParams RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryOracleParamsResponse is the response type for the Query/OracleParams RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryPriceFeedPriceStatesRequest

type QueryPriceFeedPriceStatesRequest struct {
}

QueryPriceFeedPriceStatesRequest is the request type for the Query/PriceFeedPriceStates RPC method.

func (*QueryPriceFeedPriceStatesRequest) Descriptor

func (*QueryPriceFeedPriceStatesRequest) Descriptor() ([]byte, []int)

func (*QueryPriceFeedPriceStatesRequest) Marshal

func (m *QueryPriceFeedPriceStatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryPriceFeedPriceStatesRequest) MarshalTo

func (m *QueryPriceFeedPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPriceFeedPriceStatesRequest) MarshalToSizedBuffer

func (m *QueryPriceFeedPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPriceFeedPriceStatesRequest) ProtoMessage

func (*QueryPriceFeedPriceStatesRequest) ProtoMessage()

func (*QueryPriceFeedPriceStatesRequest) Reset

func (*QueryPriceFeedPriceStatesRequest) Size

func (m *QueryPriceFeedPriceStatesRequest) Size() (n int)

func (*QueryPriceFeedPriceStatesRequest) String

func (*QueryPriceFeedPriceStatesRequest) Unmarshal

func (m *QueryPriceFeedPriceStatesRequest) Unmarshal(dAtA []byte) error

func (*QueryPriceFeedPriceStatesRequest) XXX_DiscardUnknown

func (m *QueryPriceFeedPriceStatesRequest) XXX_DiscardUnknown()

func (*QueryPriceFeedPriceStatesRequest) XXX_Marshal

func (m *QueryPriceFeedPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPriceFeedPriceStatesRequest) XXX_Merge

func (*QueryPriceFeedPriceStatesRequest) XXX_Size

func (m *QueryPriceFeedPriceStatesRequest) XXX_Size() int

func (*QueryPriceFeedPriceStatesRequest) XXX_Unmarshal

func (m *QueryPriceFeedPriceStatesRequest) XXX_Unmarshal(b []byte) error

type QueryPriceFeedPriceStatesResponse

type QueryPriceFeedPriceStatesResponse struct {
	PriceStates []*PriceFeedState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}

QueryPriceFeedPriceStatesResponse is the response type for the Query/PriceFeedPriceStates RPC method.

func (*QueryPriceFeedPriceStatesResponse) Descriptor

func (*QueryPriceFeedPriceStatesResponse) Descriptor() ([]byte, []int)

func (*QueryPriceFeedPriceStatesResponse) GetPriceStates

func (m *QueryPriceFeedPriceStatesResponse) GetPriceStates() []*PriceFeedState

func (*QueryPriceFeedPriceStatesResponse) Marshal

func (m *QueryPriceFeedPriceStatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryPriceFeedPriceStatesResponse) MarshalTo

func (m *QueryPriceFeedPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPriceFeedPriceStatesResponse) MarshalToSizedBuffer

func (m *QueryPriceFeedPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPriceFeedPriceStatesResponse) ProtoMessage

func (*QueryPriceFeedPriceStatesResponse) ProtoMessage()

func (*QueryPriceFeedPriceStatesResponse) Reset

func (*QueryPriceFeedPriceStatesResponse) Size

func (m *QueryPriceFeedPriceStatesResponse) Size() (n int)

func (*QueryPriceFeedPriceStatesResponse) String

func (*QueryPriceFeedPriceStatesResponse) Unmarshal

func (m *QueryPriceFeedPriceStatesResponse) Unmarshal(dAtA []byte) error

func (*QueryPriceFeedPriceStatesResponse) XXX_DiscardUnknown

func (m *QueryPriceFeedPriceStatesResponse) XXX_DiscardUnknown()

func (*QueryPriceFeedPriceStatesResponse) XXX_Marshal

func (m *QueryPriceFeedPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPriceFeedPriceStatesResponse) XXX_Merge

func (*QueryPriceFeedPriceStatesResponse) XXX_Size

func (m *QueryPriceFeedPriceStatesResponse) XXX_Size() int

func (*QueryPriceFeedPriceStatesResponse) XXX_Unmarshal

func (m *QueryPriceFeedPriceStatesResponse) XXX_Unmarshal(b []byte) error

type QueryProviderPriceStateRequest

type QueryProviderPriceStateRequest struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Symbol   string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
}

QueryProviderPriceStateRequest is the request type for the Query/ProviderPriceState RPC method.

func (*QueryProviderPriceStateRequest) Descriptor

func (*QueryProviderPriceStateRequest) Descriptor() ([]byte, []int)

func (*QueryProviderPriceStateRequest) GetProvider

func (m *QueryProviderPriceStateRequest) GetProvider() string

func (*QueryProviderPriceStateRequest) GetSymbol

func (m *QueryProviderPriceStateRequest) GetSymbol() string

func (*QueryProviderPriceStateRequest) Marshal

func (m *QueryProviderPriceStateRequest) Marshal() (dAtA []byte, err error)

func (*QueryProviderPriceStateRequest) MarshalTo

func (m *QueryProviderPriceStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProviderPriceStateRequest) MarshalToSizedBuffer

func (m *QueryProviderPriceStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProviderPriceStateRequest) ProtoMessage

func (*QueryProviderPriceStateRequest) ProtoMessage()

func (*QueryProviderPriceStateRequest) Reset

func (m *QueryProviderPriceStateRequest) Reset()

func (*QueryProviderPriceStateRequest) Size

func (m *QueryProviderPriceStateRequest) Size() (n int)

func (*QueryProviderPriceStateRequest) String

func (*QueryProviderPriceStateRequest) Unmarshal

func (m *QueryProviderPriceStateRequest) Unmarshal(dAtA []byte) error

func (*QueryProviderPriceStateRequest) XXX_DiscardUnknown

func (m *QueryProviderPriceStateRequest) XXX_DiscardUnknown()

func (*QueryProviderPriceStateRequest) XXX_Marshal

func (m *QueryProviderPriceStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProviderPriceStateRequest) XXX_Merge

func (m *QueryProviderPriceStateRequest) XXX_Merge(src proto.Message)

func (*QueryProviderPriceStateRequest) XXX_Size

func (m *QueryProviderPriceStateRequest) XXX_Size() int

func (*QueryProviderPriceStateRequest) XXX_Unmarshal

func (m *QueryProviderPriceStateRequest) XXX_Unmarshal(b []byte) error

type QueryProviderPriceStateResponse

type QueryProviderPriceStateResponse struct {
	PriceState *PriceState `protobuf:"bytes,1,opt,name=price_state,json=priceState,proto3" json:"price_state,omitempty"`
}

QueryProviderPriceStatesResponse is the response type for the Query/ProviderPriceStates RPC method.

func (*QueryProviderPriceStateResponse) Descriptor

func (*QueryProviderPriceStateResponse) Descriptor() ([]byte, []int)

func (*QueryProviderPriceStateResponse) GetPriceState

func (m *QueryProviderPriceStateResponse) GetPriceState() *PriceState

func (*QueryProviderPriceStateResponse) Marshal

func (m *QueryProviderPriceStateResponse) Marshal() (dAtA []byte, err error)

func (*QueryProviderPriceStateResponse) MarshalTo

func (m *QueryProviderPriceStateResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProviderPriceStateResponse) MarshalToSizedBuffer

func (m *QueryProviderPriceStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProviderPriceStateResponse) ProtoMessage

func (*QueryProviderPriceStateResponse) ProtoMessage()

func (*QueryProviderPriceStateResponse) Reset

func (*QueryProviderPriceStateResponse) Size

func (m *QueryProviderPriceStateResponse) Size() (n int)

func (*QueryProviderPriceStateResponse) String

func (*QueryProviderPriceStateResponse) Unmarshal

func (m *QueryProviderPriceStateResponse) Unmarshal(dAtA []byte) error

func (*QueryProviderPriceStateResponse) XXX_DiscardUnknown

func (m *QueryProviderPriceStateResponse) XXX_DiscardUnknown()

func (*QueryProviderPriceStateResponse) XXX_Marshal

func (m *QueryProviderPriceStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProviderPriceStateResponse) XXX_Merge

func (m *QueryProviderPriceStateResponse) XXX_Merge(src proto.Message)

func (*QueryProviderPriceStateResponse) XXX_Size

func (m *QueryProviderPriceStateResponse) XXX_Size() int

func (*QueryProviderPriceStateResponse) XXX_Unmarshal

func (m *QueryProviderPriceStateResponse) XXX_Unmarshal(b []byte) error

type QueryPythPriceRequest

type QueryPythPriceRequest struct {
	PriceId string `protobuf:"bytes,1,opt,name=price_id,json=priceId,proto3" json:"price_id,omitempty"`
}

func (*QueryPythPriceRequest) Descriptor

func (*QueryPythPriceRequest) Descriptor() ([]byte, []int)

func (*QueryPythPriceRequest) GetPriceId

func (m *QueryPythPriceRequest) GetPriceId() string

func (*QueryPythPriceRequest) Marshal

func (m *QueryPythPriceRequest) Marshal() (dAtA []byte, err error)

func (*QueryPythPriceRequest) MarshalTo

func (m *QueryPythPriceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPythPriceRequest) MarshalToSizedBuffer

func (m *QueryPythPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPythPriceRequest) ProtoMessage

func (*QueryPythPriceRequest) ProtoMessage()

func (*QueryPythPriceRequest) Reset

func (m *QueryPythPriceRequest) Reset()

func (*QueryPythPriceRequest) Size

func (m *QueryPythPriceRequest) Size() (n int)

func (*QueryPythPriceRequest) String

func (m *QueryPythPriceRequest) String() string

func (*QueryPythPriceRequest) Unmarshal

func (m *QueryPythPriceRequest) Unmarshal(dAtA []byte) error

func (*QueryPythPriceRequest) XXX_DiscardUnknown

func (m *QueryPythPriceRequest) XXX_DiscardUnknown()

func (*QueryPythPriceRequest) XXX_Marshal

func (m *QueryPythPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPythPriceRequest) XXX_Merge

func (m *QueryPythPriceRequest) XXX_Merge(src proto.Message)

func (*QueryPythPriceRequest) XXX_Size

func (m *QueryPythPriceRequest) XXX_Size() int

func (*QueryPythPriceRequest) XXX_Unmarshal

func (m *QueryPythPriceRequest) XXX_Unmarshal(b []byte) error

type QueryPythPriceResponse

type QueryPythPriceResponse struct {
	PriceState *PythPriceState `protobuf:"bytes,1,opt,name=price_state,json=priceState,proto3" json:"price_state,omitempty"`
}

func (*QueryPythPriceResponse) Descriptor

func (*QueryPythPriceResponse) Descriptor() ([]byte, []int)

func (*QueryPythPriceResponse) GetPriceState

func (m *QueryPythPriceResponse) GetPriceState() *PythPriceState

func (*QueryPythPriceResponse) Marshal

func (m *QueryPythPriceResponse) Marshal() (dAtA []byte, err error)

func (*QueryPythPriceResponse) MarshalTo

func (m *QueryPythPriceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPythPriceResponse) MarshalToSizedBuffer

func (m *QueryPythPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPythPriceResponse) ProtoMessage

func (*QueryPythPriceResponse) ProtoMessage()

func (*QueryPythPriceResponse) Reset

func (m *QueryPythPriceResponse) Reset()

func (*QueryPythPriceResponse) Size

func (m *QueryPythPriceResponse) Size() (n int)

func (*QueryPythPriceResponse) String

func (m *QueryPythPriceResponse) String() string

func (*QueryPythPriceResponse) Unmarshal

func (m *QueryPythPriceResponse) Unmarshal(dAtA []byte) error

func (*QueryPythPriceResponse) XXX_DiscardUnknown

func (m *QueryPythPriceResponse) XXX_DiscardUnknown()

func (*QueryPythPriceResponse) XXX_Marshal

func (m *QueryPythPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPythPriceResponse) XXX_Merge

func (m *QueryPythPriceResponse) XXX_Merge(src proto.Message)

func (*QueryPythPriceResponse) XXX_Size

func (m *QueryPythPriceResponse) XXX_Size() int

func (*QueryPythPriceResponse) XXX_Unmarshal

func (m *QueryPythPriceResponse) XXX_Unmarshal(b []byte) error

type QueryPythPriceStatesRequest

type QueryPythPriceStatesRequest struct {
}

QueryPythPriceStatesRequest is the request type for the Query/CoinbasePriceStates RPC method.

func (*QueryPythPriceStatesRequest) Descriptor

func (*QueryPythPriceStatesRequest) Descriptor() ([]byte, []int)

func (*QueryPythPriceStatesRequest) Marshal

func (m *QueryPythPriceStatesRequest) Marshal() (dAtA []byte, err error)

func (*QueryPythPriceStatesRequest) MarshalTo

func (m *QueryPythPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPythPriceStatesRequest) MarshalToSizedBuffer

func (m *QueryPythPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPythPriceStatesRequest) ProtoMessage

func (*QueryPythPriceStatesRequest) ProtoMessage()

func (*QueryPythPriceStatesRequest) Reset

func (m *QueryPythPriceStatesRequest) Reset()

func (*QueryPythPriceStatesRequest) Size

func (m *QueryPythPriceStatesRequest) Size() (n int)

func (*QueryPythPriceStatesRequest) String

func (m *QueryPythPriceStatesRequest) String() string

func (*QueryPythPriceStatesRequest) Unmarshal

func (m *QueryPythPriceStatesRequest) Unmarshal(dAtA []byte) error

func (*QueryPythPriceStatesRequest) XXX_DiscardUnknown

func (m *QueryPythPriceStatesRequest) XXX_DiscardUnknown()

func (*QueryPythPriceStatesRequest) XXX_Marshal

func (m *QueryPythPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPythPriceStatesRequest) XXX_Merge

func (m *QueryPythPriceStatesRequest) XXX_Merge(src proto.Message)

func (*QueryPythPriceStatesRequest) XXX_Size

func (m *QueryPythPriceStatesRequest) XXX_Size() int

func (*QueryPythPriceStatesRequest) XXX_Unmarshal

func (m *QueryPythPriceStatesRequest) XXX_Unmarshal(b []byte) error

type QueryPythPriceStatesResponse

type QueryPythPriceStatesResponse struct {
	PriceStates []*PythPriceState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}

QueryPythPriceStatesResponse is the response type for the Query/CoinbasePriceStates RPC method.

func (*QueryPythPriceStatesResponse) Descriptor

func (*QueryPythPriceStatesResponse) Descriptor() ([]byte, []int)

func (*QueryPythPriceStatesResponse) GetPriceStates

func (m *QueryPythPriceStatesResponse) GetPriceStates() []*PythPriceState

func (*QueryPythPriceStatesResponse) Marshal

func (m *QueryPythPriceStatesResponse) Marshal() (dAtA []byte, err error)

func (*QueryPythPriceStatesResponse) MarshalTo

func (m *QueryPythPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPythPriceStatesResponse) MarshalToSizedBuffer

func (m *QueryPythPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPythPriceStatesResponse) ProtoMessage

func (*QueryPythPriceStatesResponse) ProtoMessage()

func (*QueryPythPriceStatesResponse) Reset

func (m *QueryPythPriceStatesResponse) Reset()

func (*QueryPythPriceStatesResponse) Size

func (m *QueryPythPriceStatesResponse) Size() (n int)

func (*QueryPythPriceStatesResponse) String

func (*QueryPythPriceStatesResponse) Unmarshal

func (m *QueryPythPriceStatesResponse) Unmarshal(dAtA []byte) error

func (*QueryPythPriceStatesResponse) XXX_DiscardUnknown

func (m *QueryPythPriceStatesResponse) XXX_DiscardUnknown()

func (*QueryPythPriceStatesResponse) XXX_Marshal

func (m *QueryPythPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPythPriceStatesResponse) XXX_Merge

func (m *QueryPythPriceStatesResponse) XXX_Merge(src proto.Message)

func (*QueryPythPriceStatesResponse) XXX_Size

func (m *QueryPythPriceStatesResponse) XXX_Size() int

func (*QueryPythPriceStatesResponse) XXX_Unmarshal

func (m *QueryPythPriceStatesResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Retrieves oracle params
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Retrieves the band relayers
	BandRelayers(context.Context, *QueryBandRelayersRequest) (*QueryBandRelayersResponse, error)
	// Retrieves the state for all band price feeds
	BandPriceStates(context.Context, *QueryBandPriceStatesRequest) (*QueryBandPriceStatesResponse, error)
	// Retrieves the state for all band ibc price feeds
	BandIBCPriceStates(context.Context, *QueryBandIBCPriceStatesRequest) (*QueryBandIBCPriceStatesResponse, error)
	// Retrieves the state for all price feeds
	PriceFeedPriceStates(context.Context, *QueryPriceFeedPriceStatesRequest) (*QueryPriceFeedPriceStatesResponse, error)
	// Retrieves the state for all coinbase price feeds
	CoinbasePriceStates(context.Context, *QueryCoinbasePriceStatesRequest) (*QueryCoinbasePriceStatesResponse, error)
	// Retrieves the state for all pyth price feeds
	PythPriceStates(context.Context, *QueryPythPriceStatesRequest) (*QueryPythPriceStatesResponse, error)
	// Retrieves the state for all provider price feeds
	ProviderPriceState(context.Context, *QueryProviderPriceStateRequest) (*QueryProviderPriceStateResponse, error)
	// Retrieves the entire oracle module's state
	OracleModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
	// Retrieves historical price records for a given OracleType and Symbol
	HistoricalPriceRecords(context.Context, *QueryHistoricalPriceRecordsRequest) (*QueryHistoricalPriceRecordsResponse, error)
	// Retrieves mixed volatility value for the specified pair of base/quote
	OracleVolatility(context.Context, *QueryOracleVolatilityRequest) (*QueryOracleVolatilityResponse, error)
	OracleProvidersInfo(context.Context, *QueryOracleProvidersInfoRequest) (*QueryOracleProvidersInfoResponse, error)
	OracleProviderPrices(context.Context, *QueryOracleProviderPricesRequest) (*QueryOracleProviderPricesResponse, error)
	OraclePrice(context.Context, *QueryOraclePriceRequest) (*QueryOraclePriceResponse, error)
	PythPrice(context.Context, *QueryPythPriceRequest) (*QueryPythPriceResponse, error)
}

QueryServer is the server API for Query service.

type RevokeBandOraclePrivilegeProposal

type RevokeBandOraclePrivilegeProposal struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Relayers    []string `protobuf:"bytes,3,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*RevokeBandOraclePrivilegeProposal) Descriptor

func (*RevokeBandOraclePrivilegeProposal) Descriptor() ([]byte, []int)

func (*RevokeBandOraclePrivilegeProposal) GetDescription

func (p *RevokeBandOraclePrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*RevokeBandOraclePrivilegeProposal) GetTitle

GetTitle returns the title of this proposal.

func (*RevokeBandOraclePrivilegeProposal) Marshal

func (m *RevokeBandOraclePrivilegeProposal) Marshal() (dAtA []byte, err error)

func (*RevokeBandOraclePrivilegeProposal) MarshalTo

func (m *RevokeBandOraclePrivilegeProposal) MarshalTo(dAtA []byte) (int, error)

func (*RevokeBandOraclePrivilegeProposal) MarshalToSizedBuffer

func (m *RevokeBandOraclePrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevokeBandOraclePrivilegeProposal) ProposalRoute

func (p *RevokeBandOraclePrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*RevokeBandOraclePrivilegeProposal) ProposalType

func (p *RevokeBandOraclePrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*RevokeBandOraclePrivilegeProposal) ProtoMessage

func (*RevokeBandOraclePrivilegeProposal) ProtoMessage()

func (*RevokeBandOraclePrivilegeProposal) Reset

func (*RevokeBandOraclePrivilegeProposal) Size

func (m *RevokeBandOraclePrivilegeProposal) Size() (n int)

func (*RevokeBandOraclePrivilegeProposal) String

func (*RevokeBandOraclePrivilegeProposal) Unmarshal

func (m *RevokeBandOraclePrivilegeProposal) Unmarshal(dAtA []byte) error

func (*RevokeBandOraclePrivilegeProposal) ValidateBasic

func (p *RevokeBandOraclePrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*RevokeBandOraclePrivilegeProposal) XXX_DiscardUnknown

func (m *RevokeBandOraclePrivilegeProposal) XXX_DiscardUnknown()

func (*RevokeBandOraclePrivilegeProposal) XXX_Marshal

func (m *RevokeBandOraclePrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokeBandOraclePrivilegeProposal) XXX_Merge

func (*RevokeBandOraclePrivilegeProposal) XXX_Size

func (m *RevokeBandOraclePrivilegeProposal) XXX_Size() int

func (*RevokeBandOraclePrivilegeProposal) XXX_Unmarshal

func (m *RevokeBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error

type RevokePriceFeederPrivilegeProposal

type RevokePriceFeederPrivilegeProposal struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Base        string   `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"`
	Quote       string   `protobuf:"bytes,4,opt,name=quote,proto3" json:"quote,omitempty"`
	Relayers    []string `protobuf:"bytes,5,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*RevokePriceFeederPrivilegeProposal) Descriptor

func (*RevokePriceFeederPrivilegeProposal) Descriptor() ([]byte, []int)

func (*RevokePriceFeederPrivilegeProposal) GetDescription

func (p *RevokePriceFeederPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*RevokePriceFeederPrivilegeProposal) GetTitle

GetTitle returns the title of this proposal.

func (*RevokePriceFeederPrivilegeProposal) Marshal

func (m *RevokePriceFeederPrivilegeProposal) Marshal() (dAtA []byte, err error)

func (*RevokePriceFeederPrivilegeProposal) MarshalTo

func (m *RevokePriceFeederPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)

func (*RevokePriceFeederPrivilegeProposal) MarshalToSizedBuffer

func (m *RevokePriceFeederPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevokePriceFeederPrivilegeProposal) ProposalRoute

func (p *RevokePriceFeederPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*RevokePriceFeederPrivilegeProposal) ProposalType

func (p *RevokePriceFeederPrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*RevokePriceFeederPrivilegeProposal) ProtoMessage

func (*RevokePriceFeederPrivilegeProposal) ProtoMessage()

func (*RevokePriceFeederPrivilegeProposal) Reset

func (*RevokePriceFeederPrivilegeProposal) Size

func (*RevokePriceFeederPrivilegeProposal) String

func (*RevokePriceFeederPrivilegeProposal) Unmarshal

func (m *RevokePriceFeederPrivilegeProposal) Unmarshal(dAtA []byte) error

func (*RevokePriceFeederPrivilegeProposal) ValidateBasic

func (p *RevokePriceFeederPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*RevokePriceFeederPrivilegeProposal) XXX_DiscardUnknown

func (m *RevokePriceFeederPrivilegeProposal) XXX_DiscardUnknown()

func (*RevokePriceFeederPrivilegeProposal) XXX_Marshal

func (m *RevokePriceFeederPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokePriceFeederPrivilegeProposal) XXX_Merge

func (*RevokePriceFeederPrivilegeProposal) XXX_Size

func (*RevokePriceFeederPrivilegeProposal) XXX_Unmarshal

func (m *RevokePriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error

type RevokeProviderPrivilegeProposal

type RevokeProviderPrivilegeProposal struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Provider    string   `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Relayers    []string `protobuf:"bytes,5,rep,name=relayers,proto3" json:"relayers,omitempty"`
}

func (*RevokeProviderPrivilegeProposal) Descriptor

func (*RevokeProviderPrivilegeProposal) Descriptor() ([]byte, []int)

func (*RevokeProviderPrivilegeProposal) GetDescription

func (p *RevokeProviderPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*RevokeProviderPrivilegeProposal) GetTitle

GetTitle returns the title of this proposal.

func (*RevokeProviderPrivilegeProposal) Marshal

func (m *RevokeProviderPrivilegeProposal) Marshal() (dAtA []byte, err error)

func (*RevokeProviderPrivilegeProposal) MarshalTo

func (m *RevokeProviderPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)

func (*RevokeProviderPrivilegeProposal) MarshalToSizedBuffer

func (m *RevokeProviderPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevokeProviderPrivilegeProposal) ProposalRoute

func (p *RevokeProviderPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*RevokeProviderPrivilegeProposal) ProposalType

func (p *RevokeProviderPrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*RevokeProviderPrivilegeProposal) ProtoMessage

func (*RevokeProviderPrivilegeProposal) ProtoMessage()

func (*RevokeProviderPrivilegeProposal) Reset

func (*RevokeProviderPrivilegeProposal) Size

func (m *RevokeProviderPrivilegeProposal) Size() (n int)

func (*RevokeProviderPrivilegeProposal) String

func (*RevokeProviderPrivilegeProposal) Unmarshal

func (m *RevokeProviderPrivilegeProposal) Unmarshal(dAtA []byte) error

func (*RevokeProviderPrivilegeProposal) ValidateBasic

func (p *RevokeProviderPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*RevokeProviderPrivilegeProposal) XXX_DiscardUnknown

func (m *RevokeProviderPrivilegeProposal) XXX_DiscardUnknown()

func (*RevokeProviderPrivilegeProposal) XXX_Marshal

func (m *RevokeProviderPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokeProviderPrivilegeProposal) XXX_Merge

func (m *RevokeProviderPrivilegeProposal) XXX_Merge(src proto.Message)

func (*RevokeProviderPrivilegeProposal) XXX_Size

func (m *RevokeProviderPrivilegeProposal) XXX_Size() int

func (*RevokeProviderPrivilegeProposal) XXX_Unmarshal

func (m *RevokeProviderPrivilegeProposal) XXX_Unmarshal(b []byte) error

type SetBandIBCPriceEvent

type SetBandIBCPriceEvent struct {
	Relayer     string                                   `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"`
	Symbols     []string                                 `protobuf:"bytes,2,rep,name=symbols,proto3" json:"symbols,omitempty"`
	Prices      []github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,rep,name=prices,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"prices"`
	ResolveTime uint64                                   `protobuf:"varint,4,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
	RequestId   uint64                                   `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	ClientId    int64                                    `protobuf:"varint,6,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*SetBandIBCPriceEvent) Descriptor

func (*SetBandIBCPriceEvent) Descriptor() ([]byte, []int)

func (*SetBandIBCPriceEvent) GetClientId

func (m *SetBandIBCPriceEvent) GetClientId() int64

func (*SetBandIBCPriceEvent) GetRelayer

func (m *SetBandIBCPriceEvent) GetRelayer() string

func (*SetBandIBCPriceEvent) GetRequestId

func (m *SetBandIBCPriceEvent) GetRequestId() uint64

func (*SetBandIBCPriceEvent) GetResolveTime

func (m *SetBandIBCPriceEvent) GetResolveTime() uint64

func (*SetBandIBCPriceEvent) GetSymbols

func (m *SetBandIBCPriceEvent) GetSymbols() []string

func (*SetBandIBCPriceEvent) Marshal

func (m *SetBandIBCPriceEvent) Marshal() (dAtA []byte, err error)

func (*SetBandIBCPriceEvent) MarshalTo

func (m *SetBandIBCPriceEvent) MarshalTo(dAtA []byte) (int, error)

func (*SetBandIBCPriceEvent) MarshalToSizedBuffer

func (m *SetBandIBCPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetBandIBCPriceEvent) ProtoMessage

func (*SetBandIBCPriceEvent) ProtoMessage()

func (*SetBandIBCPriceEvent) Reset

func (m *SetBandIBCPriceEvent) Reset()

func (*SetBandIBCPriceEvent) Size

func (m *SetBandIBCPriceEvent) Size() (n int)

func (*SetBandIBCPriceEvent) String

func (m *SetBandIBCPriceEvent) String() string

func (*SetBandIBCPriceEvent) Unmarshal

func (m *SetBandIBCPriceEvent) Unmarshal(dAtA []byte) error

func (*SetBandIBCPriceEvent) XXX_DiscardUnknown

func (m *SetBandIBCPriceEvent) XXX_DiscardUnknown()

func (*SetBandIBCPriceEvent) XXX_Marshal

func (m *SetBandIBCPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetBandIBCPriceEvent) XXX_Merge

func (m *SetBandIBCPriceEvent) XXX_Merge(src proto.Message)

func (*SetBandIBCPriceEvent) XXX_Size

func (m *SetBandIBCPriceEvent) XXX_Size() int

func (*SetBandIBCPriceEvent) XXX_Unmarshal

func (m *SetBandIBCPriceEvent) XXX_Unmarshal(b []byte) error

type SetBandPriceEvent

type SetBandPriceEvent struct {
	Relayer     string                                 `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"`
	Symbol      string                                 `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Price       github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	ResolveTime uint64                                 `protobuf:"varint,4,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
	RequestId   uint64                                 `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}

Event type upon set ref

func (*SetBandPriceEvent) Descriptor

func (*SetBandPriceEvent) Descriptor() ([]byte, []int)

func (*SetBandPriceEvent) GetRelayer

func (m *SetBandPriceEvent) GetRelayer() string

func (*SetBandPriceEvent) GetRequestId

func (m *SetBandPriceEvent) GetRequestId() uint64

func (*SetBandPriceEvent) GetResolveTime

func (m *SetBandPriceEvent) GetResolveTime() uint64

func (*SetBandPriceEvent) GetSymbol

func (m *SetBandPriceEvent) GetSymbol() string

func (*SetBandPriceEvent) Marshal

func (m *SetBandPriceEvent) Marshal() (dAtA []byte, err error)

func (*SetBandPriceEvent) MarshalTo

func (m *SetBandPriceEvent) MarshalTo(dAtA []byte) (int, error)

func (*SetBandPriceEvent) MarshalToSizedBuffer

func (m *SetBandPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetBandPriceEvent) ProtoMessage

func (*SetBandPriceEvent) ProtoMessage()

func (*SetBandPriceEvent) Reset

func (m *SetBandPriceEvent) Reset()

func (*SetBandPriceEvent) Size

func (m *SetBandPriceEvent) Size() (n int)

func (*SetBandPriceEvent) String

func (m *SetBandPriceEvent) String() string

func (*SetBandPriceEvent) Unmarshal

func (m *SetBandPriceEvent) Unmarshal(dAtA []byte) error

func (*SetBandPriceEvent) XXX_DiscardUnknown

func (m *SetBandPriceEvent) XXX_DiscardUnknown()

func (*SetBandPriceEvent) XXX_Marshal

func (m *SetBandPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetBandPriceEvent) XXX_Merge

func (m *SetBandPriceEvent) XXX_Merge(src proto.Message)

func (*SetBandPriceEvent) XXX_Size

func (m *SetBandPriceEvent) XXX_Size() int

func (*SetBandPriceEvent) XXX_Unmarshal

func (m *SetBandPriceEvent) XXX_Unmarshal(b []byte) error

type SetChainlinkPriceEvent

type SetChainlinkPriceEvent struct {
	FeedId    string                                 `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
	Answer    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"answer"`
	Timestamp uint64                                 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*SetChainlinkPriceEvent) Descriptor

func (*SetChainlinkPriceEvent) Descriptor() ([]byte, []int)

func (*SetChainlinkPriceEvent) GetFeedId

func (m *SetChainlinkPriceEvent) GetFeedId() string

func (*SetChainlinkPriceEvent) GetTimestamp

func (m *SetChainlinkPriceEvent) GetTimestamp() uint64

func (*SetChainlinkPriceEvent) Marshal

func (m *SetChainlinkPriceEvent) Marshal() (dAtA []byte, err error)

func (*SetChainlinkPriceEvent) MarshalTo

func (m *SetChainlinkPriceEvent) MarshalTo(dAtA []byte) (int, error)

func (*SetChainlinkPriceEvent) MarshalToSizedBuffer

func (m *SetChainlinkPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetChainlinkPriceEvent) ProtoMessage

func (*SetChainlinkPriceEvent) ProtoMessage()

func (*SetChainlinkPriceEvent) Reset

func (m *SetChainlinkPriceEvent) Reset()

func (*SetChainlinkPriceEvent) Size

func (m *SetChainlinkPriceEvent) Size() (n int)

func (*SetChainlinkPriceEvent) String

func (m *SetChainlinkPriceEvent) String() string

func (*SetChainlinkPriceEvent) Unmarshal

func (m *SetChainlinkPriceEvent) Unmarshal(dAtA []byte) error

func (*SetChainlinkPriceEvent) XXX_DiscardUnknown

func (m *SetChainlinkPriceEvent) XXX_DiscardUnknown()

func (*SetChainlinkPriceEvent) XXX_Marshal

func (m *SetChainlinkPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetChainlinkPriceEvent) XXX_Merge

func (m *SetChainlinkPriceEvent) XXX_Merge(src proto.Message)

func (*SetChainlinkPriceEvent) XXX_Size

func (m *SetChainlinkPriceEvent) XXX_Size() int

func (*SetChainlinkPriceEvent) XXX_Unmarshal

func (m *SetChainlinkPriceEvent) XXX_Unmarshal(b []byte) error

type SetCoinbasePriceEvent

type SetCoinbasePriceEvent struct {
	Symbol    string                                 `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Price     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	Timestamp uint64                                 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*SetCoinbasePriceEvent) Descriptor

func (*SetCoinbasePriceEvent) Descriptor() ([]byte, []int)

func (*SetCoinbasePriceEvent) GetSymbol

func (m *SetCoinbasePriceEvent) GetSymbol() string

func (*SetCoinbasePriceEvent) GetTimestamp

func (m *SetCoinbasePriceEvent) GetTimestamp() uint64

func (*SetCoinbasePriceEvent) Marshal

func (m *SetCoinbasePriceEvent) Marshal() (dAtA []byte, err error)

func (*SetCoinbasePriceEvent) MarshalTo

func (m *SetCoinbasePriceEvent) MarshalTo(dAtA []byte) (int, error)

func (*SetCoinbasePriceEvent) MarshalToSizedBuffer

func (m *SetCoinbasePriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetCoinbasePriceEvent) ProtoMessage

func (*SetCoinbasePriceEvent) ProtoMessage()

func (*SetCoinbasePriceEvent) Reset

func (m *SetCoinbasePriceEvent) Reset()

func (*SetCoinbasePriceEvent) Size

func (m *SetCoinbasePriceEvent) Size() (n int)

func (*SetCoinbasePriceEvent) String

func (m *SetCoinbasePriceEvent) String() string

func (*SetCoinbasePriceEvent) Unmarshal

func (m *SetCoinbasePriceEvent) Unmarshal(dAtA []byte) error

func (*SetCoinbasePriceEvent) XXX_DiscardUnknown

func (m *SetCoinbasePriceEvent) XXX_DiscardUnknown()

func (*SetCoinbasePriceEvent) XXX_Marshal

func (m *SetCoinbasePriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetCoinbasePriceEvent) XXX_Merge

func (m *SetCoinbasePriceEvent) XXX_Merge(src proto.Message)

func (*SetCoinbasePriceEvent) XXX_Size

func (m *SetCoinbasePriceEvent) XXX_Size() int

func (*SetCoinbasePriceEvent) XXX_Unmarshal

func (m *SetCoinbasePriceEvent) XXX_Unmarshal(b []byte) error

type SetPriceFeedPriceEvent

type SetPriceFeedPriceEvent struct {
	Relayer string `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"`
	Base    string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
	Quote   string `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"`
	// price defines the price of the oracle base and quote
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
}

func (*SetPriceFeedPriceEvent) Descriptor

func (*SetPriceFeedPriceEvent) Descriptor() ([]byte, []int)

func (*SetPriceFeedPriceEvent) GetBase

func (m *SetPriceFeedPriceEvent) GetBase() string

func (*SetPriceFeedPriceEvent) GetQuote

func (m *SetPriceFeedPriceEvent) GetQuote() string

func (*SetPriceFeedPriceEvent) GetRelayer

func (m *SetPriceFeedPriceEvent) GetRelayer() string

func (*SetPriceFeedPriceEvent) Marshal

func (m *SetPriceFeedPriceEvent) Marshal() (dAtA []byte, err error)

func (*SetPriceFeedPriceEvent) MarshalTo

func (m *SetPriceFeedPriceEvent) MarshalTo(dAtA []byte) (int, error)

func (*SetPriceFeedPriceEvent) MarshalToSizedBuffer

func (m *SetPriceFeedPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetPriceFeedPriceEvent) ProtoMessage

func (*SetPriceFeedPriceEvent) ProtoMessage()

func (*SetPriceFeedPriceEvent) Reset

func (m *SetPriceFeedPriceEvent) Reset()

func (*SetPriceFeedPriceEvent) Size

func (m *SetPriceFeedPriceEvent) Size() (n int)

func (*SetPriceFeedPriceEvent) String

func (m *SetPriceFeedPriceEvent) String() string

func (*SetPriceFeedPriceEvent) Unmarshal

func (m *SetPriceFeedPriceEvent) Unmarshal(dAtA []byte) error

func (*SetPriceFeedPriceEvent) XXX_DiscardUnknown

func (m *SetPriceFeedPriceEvent) XXX_DiscardUnknown()

func (*SetPriceFeedPriceEvent) XXX_Marshal

func (m *SetPriceFeedPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetPriceFeedPriceEvent) XXX_Merge

func (m *SetPriceFeedPriceEvent) XXX_Merge(src proto.Message)

func (*SetPriceFeedPriceEvent) XXX_Size

func (m *SetPriceFeedPriceEvent) XXX_Size() int

func (*SetPriceFeedPriceEvent) XXX_Unmarshal

func (m *SetPriceFeedPriceEvent) XXX_Unmarshal(b []byte) error

type SetProviderPriceEvent

type SetProviderPriceEvent struct {
	Provider string                                 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Relayer  string                                 `protobuf:"bytes,2,opt,name=relayer,proto3" json:"relayer,omitempty"`
	Symbol   string                                 `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Price    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
}

func (*SetProviderPriceEvent) Descriptor

func (*SetProviderPriceEvent) Descriptor() ([]byte, []int)

func (*SetProviderPriceEvent) GetProvider

func (m *SetProviderPriceEvent) GetProvider() string

func (*SetProviderPriceEvent) GetRelayer

func (m *SetProviderPriceEvent) GetRelayer() string

func (*SetProviderPriceEvent) GetSymbol

func (m *SetProviderPriceEvent) GetSymbol() string

func (*SetProviderPriceEvent) Marshal

func (m *SetProviderPriceEvent) Marshal() (dAtA []byte, err error)

func (*SetProviderPriceEvent) MarshalTo

func (m *SetProviderPriceEvent) MarshalTo(dAtA []byte) (int, error)

func (*SetProviderPriceEvent) MarshalToSizedBuffer

func (m *SetProviderPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetProviderPriceEvent) ProtoMessage

func (*SetProviderPriceEvent) ProtoMessage()

func (*SetProviderPriceEvent) Reset

func (m *SetProviderPriceEvent) Reset()

func (*SetProviderPriceEvent) Size

func (m *SetProviderPriceEvent) Size() (n int)

func (*SetProviderPriceEvent) String

func (m *SetProviderPriceEvent) String() string

func (*SetProviderPriceEvent) Unmarshal

func (m *SetProviderPriceEvent) Unmarshal(dAtA []byte) error

func (*SetProviderPriceEvent) XXX_DiscardUnknown

func (m *SetProviderPriceEvent) XXX_DiscardUnknown()

func (*SetProviderPriceEvent) XXX_Marshal

func (m *SetProviderPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetProviderPriceEvent) XXX_Merge

func (m *SetProviderPriceEvent) XXX_Merge(src proto.Message)

func (*SetProviderPriceEvent) XXX_Size

func (m *SetProviderPriceEvent) XXX_Size() int

func (*SetProviderPriceEvent) XXX_Unmarshal

func (m *SetProviderPriceEvent) XXX_Unmarshal(b []byte) error

type SymbolPriceTimestamp

type SymbolPriceTimestamp struct {
	Oracle    OracleType `protobuf:"varint,1,opt,name=oracle,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle,omitempty"`
	SymbolId  string     `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
	Timestamp int64      `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*SymbolPriceTimestamp) Descriptor

func (*SymbolPriceTimestamp) Descriptor() ([]byte, []int)

func (*SymbolPriceTimestamp) GetOracle

func (m *SymbolPriceTimestamp) GetOracle() OracleType

func (*SymbolPriceTimestamp) GetSymbolId

func (m *SymbolPriceTimestamp) GetSymbolId() string

func (*SymbolPriceTimestamp) GetTimestamp

func (m *SymbolPriceTimestamp) GetTimestamp() int64

func (*SymbolPriceTimestamp) Marshal

func (m *SymbolPriceTimestamp) Marshal() (dAtA []byte, err error)

func (*SymbolPriceTimestamp) MarshalTo

func (m *SymbolPriceTimestamp) MarshalTo(dAtA []byte) (int, error)

func (*SymbolPriceTimestamp) MarshalToSizedBuffer

func (m *SymbolPriceTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SymbolPriceTimestamp) ProtoMessage

func (*SymbolPriceTimestamp) ProtoMessage()

func (*SymbolPriceTimestamp) Reset

func (m *SymbolPriceTimestamp) Reset()

func (*SymbolPriceTimestamp) Size

func (m *SymbolPriceTimestamp) Size() (n int)

func (*SymbolPriceTimestamp) String

func (m *SymbolPriceTimestamp) String() string

func (*SymbolPriceTimestamp) Unmarshal

func (m *SymbolPriceTimestamp) Unmarshal(dAtA []byte) error

func (*SymbolPriceTimestamp) XXX_DiscardUnknown

func (m *SymbolPriceTimestamp) XXX_DiscardUnknown()

func (*SymbolPriceTimestamp) XXX_Marshal

func (m *SymbolPriceTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SymbolPriceTimestamp) XXX_Merge

func (m *SymbolPriceTimestamp) XXX_Merge(src proto.Message)

func (*SymbolPriceTimestamp) XXX_Size

func (m *SymbolPriceTimestamp) XXX_Size() int

func (*SymbolPriceTimestamp) XXX_Unmarshal

func (m *SymbolPriceTimestamp) XXX_Unmarshal(b []byte) error

type SymbolPriceTimestamps

type SymbolPriceTimestamps []*SymbolPriceTimestamp

func (SymbolPriceTimestamps) GetTimestamp

func (s SymbolPriceTimestamps) GetTimestamp(oracleType OracleType, symbol string) (ts int64, ok bool)

func (SymbolPriceTimestamps) SetTimestamp

func (s SymbolPriceTimestamps) SetTimestamp(oracleType OracleType, symbol string, ts int64) SymbolPriceTimestamps

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) RelayBandRates

func (*UnimplementedMsgServer) RelayCoinbaseMessages

func (*UnimplementedMsgServer) RelayPriceFeedPrice

func (*UnimplementedMsgServer) RelayProviderPrices

func (*UnimplementedMsgServer) RelayPythPrices

func (*UnimplementedMsgServer) RequestBandIBCRates

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BandIBCPriceStates

func (*UnimplementedQueryServer) BandPriceStates

func (*UnimplementedQueryServer) BandRelayers

func (*UnimplementedQueryServer) CoinbasePriceStates

func (*UnimplementedQueryServer) OracleModuleState

func (*UnimplementedQueryServer) OraclePrice

func (*UnimplementedQueryServer) OracleProvidersInfo

func (*UnimplementedQueryServer) OracleVolatility

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ProviderPriceState

func (*UnimplementedQueryServer) PythPrice

func (*UnimplementedQueryServer) PythPriceStates

type UpdateBandOracleRequestProposal

type UpdateBandOracleRequestProposal struct {
	Title               string             `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description         string             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	DeleteRequestIds    []uint64           `protobuf:"varint,3,rep,packed,name=delete_request_ids,json=deleteRequestIds,proto3" json:"delete_request_ids,omitempty"`
	UpdateOracleRequest *BandOracleRequest `protobuf:"bytes,4,opt,name=update_oracle_request,json=updateOracleRequest,proto3" json:"update_oracle_request,omitempty"`
}

func (*UpdateBandOracleRequestProposal) Descriptor

func (*UpdateBandOracleRequestProposal) Descriptor() ([]byte, []int)

func (*UpdateBandOracleRequestProposal) GetDescription

func (p *UpdateBandOracleRequestProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*UpdateBandOracleRequestProposal) GetTitle

GetTitle returns the title of this proposal.

func (*UpdateBandOracleRequestProposal) Marshal

func (m *UpdateBandOracleRequestProposal) Marshal() (dAtA []byte, err error)

func (*UpdateBandOracleRequestProposal) MarshalTo

func (m *UpdateBandOracleRequestProposal) MarshalTo(dAtA []byte) (int, error)

func (*UpdateBandOracleRequestProposal) MarshalToSizedBuffer

func (m *UpdateBandOracleRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateBandOracleRequestProposal) ProposalRoute

func (p *UpdateBandOracleRequestProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*UpdateBandOracleRequestProposal) ProposalType

func (p *UpdateBandOracleRequestProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*UpdateBandOracleRequestProposal) ProtoMessage

func (*UpdateBandOracleRequestProposal) ProtoMessage()

func (*UpdateBandOracleRequestProposal) Reset

func (*UpdateBandOracleRequestProposal) Size

func (m *UpdateBandOracleRequestProposal) Size() (n int)

func (*UpdateBandOracleRequestProposal) String

func (*UpdateBandOracleRequestProposal) Unmarshal

func (m *UpdateBandOracleRequestProposal) Unmarshal(dAtA []byte) error

func (*UpdateBandOracleRequestProposal) ValidateBasic

func (p *UpdateBandOracleRequestProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*UpdateBandOracleRequestProposal) XXX_DiscardUnknown

func (m *UpdateBandOracleRequestProposal) XXX_DiscardUnknown()

func (*UpdateBandOracleRequestProposal) XXX_Marshal

func (m *UpdateBandOracleRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateBandOracleRequestProposal) XXX_Merge

func (m *UpdateBandOracleRequestProposal) XXX_Merge(src proto.Message)

func (*UpdateBandOracleRequestProposal) XXX_Size

func (m *UpdateBandOracleRequestProposal) XXX_Size() int

func (*UpdateBandOracleRequestProposal) XXX_Unmarshal

func (m *UpdateBandOracleRequestProposal) XXX_Unmarshal(b []byte) error

type ValueValidatorFn

type ValueValidatorFn func(value interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL