types

package
v1.42.8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 33 Imported by: 6

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"
)

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"
)
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")
)
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}
)
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 (
	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 GetBandIBCCallDataRecordKey added in v1.23.7

func GetBandIBCCallDataRecordKey(clientID uint64) []byte

func GetBandIBCOracleRequestIDKey added in v1.24.1

func GetBandIBCOracleRequestIDKey(requestID uint64) []byte

func GetBandIBCPriceStoreKey added in v1.23.7

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 added in v1.27.0

func GetChainlinkPriceStoreKey(feedId string) []byte

func GetCoinbasePriceStoreIterationKey

func GetCoinbasePriceStoreIterationKey(key string) []byte

func GetCoinbasePriceStoreKey

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

func GetDelimitedProvider added in v1.39.3

func GetDelimitedProvider(provider string) string

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 added in v1.39.3

func GetProviderIndexKey(providerAddress sdk.AccAddress) []byte

func GetProviderInfoKey added in v1.39.3

func GetProviderInfoKey(provider string) []byte

func GetProviderPriceKey added in v1.39.3

func GetProviderPriceKey(provider, symbol string) []byte

func GetProviderPricePrefix added in v1.39.3

func GetProviderPricePrefix(provider string) []byte

func GetSymbolHistoricalPriceRecordsKey added in v1.39.1

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

func NewOracleRequestPacketData added in v1.23.7

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 added in v1.23.7

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 added in v1.23.7

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

func (*AuthorizeBandOracleRequestProposal) GetDescription added in v1.23.7

func (p *AuthorizeBandOracleRequestProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*AuthorizeBandOracleRequestProposal) GetTitle added in v1.23.7

GetTitle returns the title of this proposal.

func (*AuthorizeBandOracleRequestProposal) Marshal added in v1.23.7

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

func (*AuthorizeBandOracleRequestProposal) MarshalTo added in v1.23.7

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

func (*AuthorizeBandOracleRequestProposal) MarshalToSizedBuffer added in v1.23.7

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

func (*AuthorizeBandOracleRequestProposal) ProposalRoute added in v1.23.7

func (p *AuthorizeBandOracleRequestProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*AuthorizeBandOracleRequestProposal) ProposalType added in v1.23.7

func (p *AuthorizeBandOracleRequestProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*AuthorizeBandOracleRequestProposal) ProtoMessage added in v1.23.7

func (*AuthorizeBandOracleRequestProposal) ProtoMessage()

func (*AuthorizeBandOracleRequestProposal) Reset added in v1.23.7

func (*AuthorizeBandOracleRequestProposal) Size added in v1.23.7

func (*AuthorizeBandOracleRequestProposal) String added in v1.23.7

func (*AuthorizeBandOracleRequestProposal) Unmarshal added in v1.23.7

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

func (*AuthorizeBandOracleRequestProposal) ValidateBasic added in v1.23.7

func (p *AuthorizeBandOracleRequestProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*AuthorizeBandOracleRequestProposal) XXX_DiscardUnknown added in v1.23.7

func (m *AuthorizeBandOracleRequestProposal) XXX_DiscardUnknown()

func (*AuthorizeBandOracleRequestProposal) XXX_Marshal added in v1.23.7

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

func (*AuthorizeBandOracleRequestProposal) XXX_Merge added in v1.23.7

func (*AuthorizeBandOracleRequestProposal) XXX_Size added in v1.23.7

func (*AuthorizeBandOracleRequestProposal) XXX_Unmarshal added in v1.23.7

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

type BandIBCParams added in v1.23.7

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"`
}

func DefaultBandIBCParams added in v1.27.0

func DefaultBandIBCParams() BandIBCParams

DefaultBandIBCParams returns a default set of band ibc parameters.

func DefaultTestBandIbcParams added in v1.28.1

func DefaultTestBandIbcParams() *BandIBCParams

func (*BandIBCParams) Descriptor added in v1.23.7

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

func (*BandIBCParams) GetBandIbcEnabled added in v1.23.7

func (m *BandIBCParams) GetBandIbcEnabled() bool

func (*BandIBCParams) GetIbcPortId added in v1.24.1

func (m *BandIBCParams) GetIbcPortId() string

func (*BandIBCParams) GetIbcRequestInterval added in v1.23.7

func (m *BandIBCParams) GetIbcRequestInterval() int64

func (*BandIBCParams) GetIbcSourceChannel added in v1.24.1

func (m *BandIBCParams) GetIbcSourceChannel() string

func (*BandIBCParams) GetIbcVersion added in v1.24.1

func (m *BandIBCParams) GetIbcVersion() string

func (*BandIBCParams) Marshal added in v1.23.7

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

func (*BandIBCParams) MarshalTo added in v1.23.7

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

func (*BandIBCParams) MarshalToSizedBuffer added in v1.23.7

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

func (*BandIBCParams) ProtoMessage added in v1.23.7

func (*BandIBCParams) ProtoMessage()

func (*BandIBCParams) Reset added in v1.23.7

func (m *BandIBCParams) Reset()

func (*BandIBCParams) Size added in v1.23.7

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

func (*BandIBCParams) String added in v1.23.7

func (m *BandIBCParams) String() string

func (*BandIBCParams) Unmarshal added in v1.23.7

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

func (*BandIBCParams) XXX_DiscardUnknown added in v1.23.7

func (m *BandIBCParams) XXX_DiscardUnknown()

func (*BandIBCParams) XXX_Marshal added in v1.23.7

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

func (*BandIBCParams) XXX_Merge added in v1.23.7

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

func (*BandIBCParams) XXX_Size added in v1.23.7

func (m *BandIBCParams) XXX_Size() int

func (*BandIBCParams) XXX_Unmarshal added in v1.23.7

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

type BandOracleRequest added in v1.23.7

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"`
}

func (*BandOracleRequest) Descriptor added in v1.23.7

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

func (*BandOracleRequest) GetAskCount added in v1.23.7

func (m *BandOracleRequest) GetAskCount() uint64

func (*BandOracleRequest) GetCalldata added in v1.23.7

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

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

func (*BandOracleRequest) GetExecuteGas added in v1.23.7

func (m *BandOracleRequest) GetExecuteGas() uint64

func (*BandOracleRequest) GetFeeLimit added in v1.23.7

func (*BandOracleRequest) GetMinCount added in v1.23.7

func (m *BandOracleRequest) GetMinCount() uint64

func (*BandOracleRequest) GetOracleScriptId added in v1.23.7

func (m *BandOracleRequest) GetOracleScriptId() int64

func (*BandOracleRequest) GetPrepareGas added in v1.23.7

func (m *BandOracleRequest) GetPrepareGas() uint64

func (*BandOracleRequest) GetRequestId added in v1.24.1

func (m *BandOracleRequest) GetRequestId() uint64

func (*BandOracleRequest) GetSymbols added in v1.23.7

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

func (*BandOracleRequest) Marshal added in v1.23.7

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

func (*BandOracleRequest) MarshalTo added in v1.23.7

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

func (*BandOracleRequest) MarshalToSizedBuffer added in v1.23.7

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

func (*BandOracleRequest) ProtoMessage added in v1.23.7

func (*BandOracleRequest) ProtoMessage()

func (*BandOracleRequest) Reset added in v1.23.7

func (m *BandOracleRequest) Reset()

func (*BandOracleRequest) Size added in v1.23.7

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

func (*BandOracleRequest) String added in v1.23.7

func (m *BandOracleRequest) String() string

func (*BandOracleRequest) Unmarshal added in v1.23.7

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

func (*BandOracleRequest) XXX_DiscardUnknown added in v1.23.7

func (m *BandOracleRequest) XXX_DiscardUnknown()

func (*BandOracleRequest) XXX_Marshal added in v1.23.7

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

func (*BandOracleRequest) XXX_Merge added in v1.23.7

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

func (*BandOracleRequest) XXX_Size added in v1.23.7

func (m *BandOracleRequest) XXX_Size() int

func (*BandOracleRequest) XXX_Unmarshal added in v1.23.7

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

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 added in v1.23.7

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 added in v1.23.7

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

func (*CalldataRecord) GetCalldata added in v1.23.7

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

func (*CalldataRecord) GetClientId added in v1.23.7

func (m *CalldataRecord) GetClientId() uint64

func (*CalldataRecord) Marshal added in v1.23.7

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

func (*CalldataRecord) MarshalTo added in v1.23.7

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

func (*CalldataRecord) MarshalToSizedBuffer added in v1.23.7

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

func (*CalldataRecord) ProtoMessage added in v1.23.7

func (*CalldataRecord) ProtoMessage()

func (*CalldataRecord) Reset added in v1.23.7

func (m *CalldataRecord) Reset()

func (*CalldataRecord) Size added in v1.23.7

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

func (*CalldataRecord) String added in v1.23.7

func (m *CalldataRecord) String() string

func (*CalldataRecord) Unmarshal added in v1.23.7

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

func (*CalldataRecord) XXX_DiscardUnknown added in v1.23.7

func (m *CalldataRecord) XXX_DiscardUnknown()

func (*CalldataRecord) XXX_Marshal added in v1.23.7

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

func (*CalldataRecord) XXX_Merge added in v1.23.7

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

func (*CalldataRecord) XXX_Size added in v1.23.7

func (m *CalldataRecord) XXX_Size() int

func (*CalldataRecord) XXX_Unmarshal added in v1.23.7

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

type ChainlinkPriceState added in v1.27.0

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 added in v1.27.0

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

func (*ChainlinkPriceState) GetFeedId added in v1.27.0

func (m *ChainlinkPriceState) GetFeedId() string

func (*ChainlinkPriceState) GetPriceState added in v1.27.0

func (m *ChainlinkPriceState) GetPriceState() PriceState

func (*ChainlinkPriceState) GetTimestamp added in v1.27.0

func (m *ChainlinkPriceState) GetTimestamp() uint64

func (*ChainlinkPriceState) Marshal added in v1.27.0

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

func (*ChainlinkPriceState) MarshalTo added in v1.27.0

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

func (*ChainlinkPriceState) MarshalToSizedBuffer added in v1.27.0

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

func (*ChainlinkPriceState) ProtoMessage added in v1.27.0

func (*ChainlinkPriceState) ProtoMessage()

func (*ChainlinkPriceState) Reset added in v1.27.0

func (m *ChainlinkPriceState) Reset()

func (*ChainlinkPriceState) Size added in v1.27.0

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

func (*ChainlinkPriceState) String added in v1.27.0

func (m *ChainlinkPriceState) String() string

func (*ChainlinkPriceState) Unmarshal added in v1.27.0

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

func (*ChainlinkPriceState) XXX_DiscardUnknown added in v1.27.0

func (m *ChainlinkPriceState) XXX_DiscardUnknown()

func (*ChainlinkPriceState) XXX_Marshal added in v1.27.0

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

func (*ChainlinkPriceState) XXX_Merge added in v1.27.0

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

func (*ChainlinkPriceState) XXX_Size added in v1.27.0

func (m *ChainlinkPriceState) XXX_Size() int

func (*ChainlinkPriceState) XXX_Unmarshal added in v1.27.0

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

type ChannelKeeper added in v1.23.7

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 added in v1.23.7

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 added in v1.23.7

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

func (*EnableBandIBCProposal) GetDescription added in v1.23.7

func (p *EnableBandIBCProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*EnableBandIBCProposal) GetTitle added in v1.23.7

func (p *EnableBandIBCProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*EnableBandIBCProposal) Marshal added in v1.23.7

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

func (*EnableBandIBCProposal) MarshalTo added in v1.23.7

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

func (*EnableBandIBCProposal) MarshalToSizedBuffer added in v1.23.7

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

func (*EnableBandIBCProposal) ProposalRoute added in v1.23.7

func (p *EnableBandIBCProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*EnableBandIBCProposal) ProposalType added in v1.23.7

func (p *EnableBandIBCProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*EnableBandIBCProposal) ProtoMessage added in v1.23.7

func (*EnableBandIBCProposal) ProtoMessage()

func (*EnableBandIBCProposal) Reset added in v1.23.7

func (m *EnableBandIBCProposal) Reset()

func (*EnableBandIBCProposal) Size added in v1.23.7

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

func (*EnableBandIBCProposal) String added in v1.23.7

func (m *EnableBandIBCProposal) String() string

func (*EnableBandIBCProposal) Unmarshal added in v1.23.7

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

func (*EnableBandIBCProposal) ValidateBasic added in v1.23.7

func (p *EnableBandIBCProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*EnableBandIBCProposal) XXX_DiscardUnknown added in v1.23.7

func (m *EnableBandIBCProposal) XXX_DiscardUnknown()

func (*EnableBandIBCProposal) XXX_Marshal added in v1.23.7

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

func (*EnableBandIBCProposal) XXX_Merge added in v1.23.7

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

func (*EnableBandIBCProposal) XXX_Size added in v1.23.7

func (m *EnableBandIBCProposal) XXX_Size() int

func (*EnableBandIBCProposal) XXX_Unmarshal added in v1.23.7

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

type EventBandIBCAckError added in v1.23.7

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 added in v1.23.7

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

func (*EventBandIBCAckError) GetAckError added in v1.23.7

func (m *EventBandIBCAckError) GetAckError() string

func (*EventBandIBCAckError) GetClientId added in v1.23.7

func (m *EventBandIBCAckError) GetClientId() int64

func (*EventBandIBCAckError) Marshal added in v1.23.7

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

func (*EventBandIBCAckError) MarshalTo added in v1.23.7

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

func (*EventBandIBCAckError) MarshalToSizedBuffer added in v1.23.7

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

func (*EventBandIBCAckError) ProtoMessage added in v1.23.7

func (*EventBandIBCAckError) ProtoMessage()

func (*EventBandIBCAckError) Reset added in v1.23.7

func (m *EventBandIBCAckError) Reset()

func (*EventBandIBCAckError) Size added in v1.23.7

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

func (*EventBandIBCAckError) String added in v1.23.7

func (m *EventBandIBCAckError) String() string

func (*EventBandIBCAckError) Unmarshal added in v1.23.7

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

func (*EventBandIBCAckError) XXX_DiscardUnknown added in v1.23.7

func (m *EventBandIBCAckError) XXX_DiscardUnknown()

func (*EventBandIBCAckError) XXX_Marshal added in v1.23.7

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

func (*EventBandIBCAckError) XXX_Merge added in v1.23.7

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

func (*EventBandIBCAckError) XXX_Size added in v1.23.7

func (m *EventBandIBCAckError) XXX_Size() int

func (*EventBandIBCAckError) XXX_Unmarshal added in v1.23.7

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

type EventBandIBCAckSuccess added in v1.23.7

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 added in v1.23.7

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

func (*EventBandIBCAckSuccess) GetAckResult added in v1.23.7

func (m *EventBandIBCAckSuccess) GetAckResult() string

func (*EventBandIBCAckSuccess) GetClientId added in v1.23.7

func (m *EventBandIBCAckSuccess) GetClientId() int64

func (*EventBandIBCAckSuccess) Marshal added in v1.23.7

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

func (*EventBandIBCAckSuccess) MarshalTo added in v1.23.7

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

func (*EventBandIBCAckSuccess) MarshalToSizedBuffer added in v1.23.7

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

func (*EventBandIBCAckSuccess) ProtoMessage added in v1.23.7

func (*EventBandIBCAckSuccess) ProtoMessage()

func (*EventBandIBCAckSuccess) Reset added in v1.23.7

func (m *EventBandIBCAckSuccess) Reset()

func (*EventBandIBCAckSuccess) Size added in v1.23.7

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

func (*EventBandIBCAckSuccess) String added in v1.23.7

func (m *EventBandIBCAckSuccess) String() string

func (*EventBandIBCAckSuccess) Unmarshal added in v1.23.7

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

func (*EventBandIBCAckSuccess) XXX_DiscardUnknown added in v1.23.7

func (m *EventBandIBCAckSuccess) XXX_DiscardUnknown()

func (*EventBandIBCAckSuccess) XXX_Marshal added in v1.23.7

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

func (*EventBandIBCAckSuccess) XXX_Merge added in v1.23.7

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

func (*EventBandIBCAckSuccess) XXX_Size added in v1.23.7

func (m *EventBandIBCAckSuccess) XXX_Size() int

func (*EventBandIBCAckSuccess) XXX_Unmarshal added in v1.23.7

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

type EventBandIBCResponseTimeout added in v1.23.7

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

func (*EventBandIBCResponseTimeout) Descriptor added in v1.23.7

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

func (*EventBandIBCResponseTimeout) GetClientId added in v1.23.7

func (m *EventBandIBCResponseTimeout) GetClientId() int64

func (*EventBandIBCResponseTimeout) Marshal added in v1.23.7

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

func (*EventBandIBCResponseTimeout) MarshalTo added in v1.23.7

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

func (*EventBandIBCResponseTimeout) MarshalToSizedBuffer added in v1.23.7

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

func (*EventBandIBCResponseTimeout) ProtoMessage added in v1.23.7

func (*EventBandIBCResponseTimeout) ProtoMessage()

func (*EventBandIBCResponseTimeout) Reset added in v1.23.7

func (m *EventBandIBCResponseTimeout) Reset()

func (*EventBandIBCResponseTimeout) Size added in v1.23.7

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

func (*EventBandIBCResponseTimeout) String added in v1.23.7

func (m *EventBandIBCResponseTimeout) String() string

func (*EventBandIBCResponseTimeout) Unmarshal added in v1.23.7

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

func (*EventBandIBCResponseTimeout) XXX_DiscardUnknown added in v1.23.7

func (m *EventBandIBCResponseTimeout) XXX_DiscardUnknown()

func (*EventBandIBCResponseTimeout) XXX_Marshal added in v1.23.7

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

func (*EventBandIBCResponseTimeout) XXX_Merge added in v1.23.7

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

func (*EventBandIBCResponseTimeout) XXX_Size added in v1.23.7

func (m *EventBandIBCResponseTimeout) XXX_Size() int

func (*EventBandIBCResponseTimeout) XXX_Unmarshal added in v1.23.7

func (m *EventBandIBCResponseTimeout) 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"`
}

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 added in v1.23.7

func (m *GenesisState) GetBandIbcLatestClientId() uint64

func (*GenesisState) GetBandIbcLatestRequestId added in v1.24.1

func (m *GenesisState) GetBandIbcLatestRequestId() uint64

func (*GenesisState) GetBandIbcOracleRequests added in v1.24.1

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

func (*GenesisState) GetBandIbcParams added in v1.23.7

func (m *GenesisState) GetBandIbcParams() BandIBCParams

func (*GenesisState) GetBandIbcPriceStates added in v1.23.7

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

func (*GenesisState) GetBandPriceStates

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

func (*GenesisState) GetBandRelayers

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

func (*GenesisState) GetCalldataRecords added in v1.23.7

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

func (*GenesisState) GetChainlinkPriceStates added in v1.28.1

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

func (*GenesisState) GetCoinbasePriceStates

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

func (*GenesisState) GetHistoricalPriceRecords added in v1.39.1

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPriceFeedPriceStates

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

func (*GenesisState) GetProviderStates added in v1.39.3

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

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 added in v1.39.3

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 added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) GetDescription added in v1.39.3

func (p *GrantProviderPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*GrantProviderPrivilegeProposal) GetTitle added in v1.39.3

func (p *GrantProviderPrivilegeProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*GrantProviderPrivilegeProposal) Marshal added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) MarshalTo added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) MarshalToSizedBuffer added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) ProposalRoute added in v1.39.3

func (p *GrantProviderPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*GrantProviderPrivilegeProposal) ProposalType added in v1.39.3

func (p *GrantProviderPrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*GrantProviderPrivilegeProposal) ProtoMessage added in v1.39.3

func (*GrantProviderPrivilegeProposal) ProtoMessage()

func (*GrantProviderPrivilegeProposal) Reset added in v1.39.3

func (m *GrantProviderPrivilegeProposal) Reset()

func (*GrantProviderPrivilegeProposal) Size added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) String added in v1.39.3

func (*GrantProviderPrivilegeProposal) Unmarshal added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) ValidateBasic added in v1.39.3

func (p *GrantProviderPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*GrantProviderPrivilegeProposal) XXX_DiscardUnknown added in v1.39.3

func (m *GrantProviderPrivilegeProposal) XXX_DiscardUnknown()

func (*GrantProviderPrivilegeProposal) XXX_Marshal added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) XXX_Merge added in v1.39.3

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

func (*GrantProviderPrivilegeProposal) XXX_Size added in v1.39.3

func (m *GrantProviderPrivilegeProposal) XXX_Size() int

func (*GrantProviderPrivilegeProposal) XXX_Unmarshal added in v1.39.3

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

type LastPriceTimestamps added in v1.39.1

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

func (*LastPriceTimestamps) Descriptor added in v1.39.1

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

func (*LastPriceTimestamps) GetLastPriceTimestamps added in v1.39.1

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

func (*LastPriceTimestamps) Marshal added in v1.39.1

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

func (*LastPriceTimestamps) MarshalTo added in v1.39.1

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

func (*LastPriceTimestamps) MarshalToSizedBuffer added in v1.39.1

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

func (*LastPriceTimestamps) ProtoMessage added in v1.39.1

func (*LastPriceTimestamps) ProtoMessage()

func (*LastPriceTimestamps) Reset added in v1.39.1

func (m *LastPriceTimestamps) Reset()

func (*LastPriceTimestamps) Size added in v1.39.1

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

func (*LastPriceTimestamps) String added in v1.39.1

func (m *LastPriceTimestamps) String() string

func (*LastPriceTimestamps) Unmarshal added in v1.39.1

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

func (*LastPriceTimestamps) XXX_DiscardUnknown added in v1.39.1

func (m *LastPriceTimestamps) XXX_DiscardUnknown()

func (*LastPriceTimestamps) XXX_Marshal added in v1.39.1

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

func (*LastPriceTimestamps) XXX_Merge added in v1.39.1

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

func (*LastPriceTimestamps) XXX_Size added in v1.39.1

func (m *LastPriceTimestamps) XXX_Size() int

func (*LastPriceTimestamps) XXX_Unmarshal added in v1.39.1

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

type MetadataStatistics added in v1.39.1

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 added in v1.39.1

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

func (*MetadataStatistics) GetFirstTimestamp added in v1.39.1

func (m *MetadataStatistics) GetFirstTimestamp() int64

func (*MetadataStatistics) GetGroupCount added in v1.39.1

func (m *MetadataStatistics) GetGroupCount() uint32

func (*MetadataStatistics) GetLastTimestamp added in v1.39.1

func (m *MetadataStatistics) GetLastTimestamp() int64

func (*MetadataStatistics) GetRecordsSampleSize added in v1.39.1

func (m *MetadataStatistics) GetRecordsSampleSize() uint32

func (*MetadataStatistics) Marshal added in v1.39.1

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

func (*MetadataStatistics) MarshalTo added in v1.39.1

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

func (*MetadataStatistics) MarshalToSizedBuffer added in v1.39.1

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

func (*MetadataStatistics) ProtoMessage added in v1.39.1

func (*MetadataStatistics) ProtoMessage()

func (*MetadataStatistics) Reset added in v1.39.1

func (m *MetadataStatistics) Reset()

func (*MetadataStatistics) Size added in v1.39.1

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

func (*MetadataStatistics) String added in v1.39.1

func (m *MetadataStatistics) String() string

func (*MetadataStatistics) Unmarshal added in v1.39.1

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

func (*MetadataStatistics) XXX_DiscardUnknown added in v1.39.1

func (m *MetadataStatistics) XXX_DiscardUnknown()

func (*MetadataStatistics) XXX_Marshal added in v1.39.1

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

func (*MetadataStatistics) XXX_Merge added in v1.39.1

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

func (*MetadataStatistics) XXX_Size added in v1.39.1

func (m *MetadataStatistics) XXX_Size() int

func (*MetadataStatistics) XXX_Unmarshal added in v1.39.1

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)
}

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 added in v1.39.3

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 added in v1.39.3

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

func (*MsgRelayProviderPrices) GetSignBytes added in v1.39.3

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

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

func (MsgRelayProviderPrices) GetSigners added in v1.39.3

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

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

func (*MsgRelayProviderPrices) Marshal added in v1.39.3

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

func (*MsgRelayProviderPrices) MarshalTo added in v1.39.3

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

func (*MsgRelayProviderPrices) MarshalToSizedBuffer added in v1.39.3

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

func (*MsgRelayProviderPrices) ProtoMessage added in v1.39.3

func (*MsgRelayProviderPrices) ProtoMessage()

func (*MsgRelayProviderPrices) Reset added in v1.39.3

func (m *MsgRelayProviderPrices) Reset()

func (MsgRelayProviderPrices) Route added in v1.39.3

func (msg MsgRelayProviderPrices) Route() string

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

func (*MsgRelayProviderPrices) Size added in v1.39.3

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

func (*MsgRelayProviderPrices) String added in v1.39.3

func (m *MsgRelayProviderPrices) String() string

func (MsgRelayProviderPrices) Type added in v1.39.3

func (msg MsgRelayProviderPrices) Type() string

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

func (*MsgRelayProviderPrices) Unmarshal added in v1.39.3

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

func (MsgRelayProviderPrices) ValidateBasic added in v1.39.3

func (msg MsgRelayProviderPrices) ValidateBasic() error

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

func (*MsgRelayProviderPrices) XXX_DiscardUnknown added in v1.39.3

func (m *MsgRelayProviderPrices) XXX_DiscardUnknown()

func (*MsgRelayProviderPrices) XXX_Marshal added in v1.39.3

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

func (*MsgRelayProviderPrices) XXX_Merge added in v1.39.3

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

func (*MsgRelayProviderPrices) XXX_Size added in v1.39.3

func (m *MsgRelayProviderPrices) XXX_Size() int

func (*MsgRelayProviderPrices) XXX_Unmarshal added in v1.39.3

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

type MsgRelayProviderPricesResponse added in v1.39.3

type MsgRelayProviderPricesResponse struct {
}

func (*MsgRelayProviderPricesResponse) Descriptor added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) Marshal added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) MarshalTo added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) MarshalToSizedBuffer added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) ProtoMessage added in v1.39.3

func (*MsgRelayProviderPricesResponse) ProtoMessage()

func (*MsgRelayProviderPricesResponse) Reset added in v1.39.3

func (m *MsgRelayProviderPricesResponse) Reset()

func (*MsgRelayProviderPricesResponse) Size added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) String added in v1.39.3

func (*MsgRelayProviderPricesResponse) Unmarshal added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) XXX_DiscardUnknown added in v1.39.3

func (m *MsgRelayProviderPricesResponse) XXX_DiscardUnknown()

func (*MsgRelayProviderPricesResponse) XXX_Marshal added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) XXX_Merge added in v1.39.3

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

func (*MsgRelayProviderPricesResponse) XXX_Size added in v1.39.3

func (m *MsgRelayProviderPricesResponse) XXX_Size() int

func (*MsgRelayProviderPricesResponse) XXX_Unmarshal added in v1.39.3

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

type MsgRequestBandIBCRates added in v1.23.7

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 added in v1.23.7

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

NewMsgRequestBandIBCRates creates a new MsgRequestBandIBCRates instance.

func (*MsgRequestBandIBCRates) Descriptor added in v1.23.7

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

func (MsgRequestBandIBCRates) GetSignBytes added in v1.23.7

func (msg MsgRequestBandIBCRates) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface for MsgRequestData.

func (MsgRequestBandIBCRates) GetSigners added in v1.23.7

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

GetSigners implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) Marshal added in v1.23.7

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

func (*MsgRequestBandIBCRates) MarshalTo added in v1.23.7

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

func (*MsgRequestBandIBCRates) MarshalToSizedBuffer added in v1.23.7

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

func (*MsgRequestBandIBCRates) ProtoMessage added in v1.23.7

func (*MsgRequestBandIBCRates) ProtoMessage()

func (*MsgRequestBandIBCRates) Reset added in v1.23.7

func (m *MsgRequestBandIBCRates) Reset()

func (MsgRequestBandIBCRates) Route added in v1.23.7

func (msg MsgRequestBandIBCRates) Route() string

Route implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) Size added in v1.23.7

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

func (*MsgRequestBandIBCRates) String added in v1.23.7

func (m *MsgRequestBandIBCRates) String() string

func (MsgRequestBandIBCRates) Type added in v1.23.7

func (msg MsgRequestBandIBCRates) Type() string

Type implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) Unmarshal added in v1.23.7

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

func (MsgRequestBandIBCRates) ValidateBasic added in v1.23.7

func (msg MsgRequestBandIBCRates) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface for MsgRequestData.

func (*MsgRequestBandIBCRates) XXX_DiscardUnknown added in v1.23.7

func (m *MsgRequestBandIBCRates) XXX_DiscardUnknown()

func (*MsgRequestBandIBCRates) XXX_Marshal added in v1.23.7

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

func (*MsgRequestBandIBCRates) XXX_Merge added in v1.23.7

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

func (*MsgRequestBandIBCRates) XXX_Size added in v1.23.7

func (m *MsgRequestBandIBCRates) XXX_Size() int

func (*MsgRequestBandIBCRates) XXX_Unmarshal added in v1.23.7

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

type MsgRequestBandIBCRatesResponse added in v1.23.7

type MsgRequestBandIBCRatesResponse struct {
}

MsgRequestDataResponse defines the Msg/RequestBandIBCRates response type.

func (*MsgRequestBandIBCRatesResponse) Descriptor added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) Marshal added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) MarshalTo added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) MarshalToSizedBuffer added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) ProtoMessage added in v1.23.7

func (*MsgRequestBandIBCRatesResponse) ProtoMessage()

func (*MsgRequestBandIBCRatesResponse) Reset added in v1.23.7

func (m *MsgRequestBandIBCRatesResponse) Reset()

func (*MsgRequestBandIBCRatesResponse) Size added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) String added in v1.23.7

func (*MsgRequestBandIBCRatesResponse) Unmarshal added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) XXX_DiscardUnknown added in v1.23.7

func (m *MsgRequestBandIBCRatesResponse) XXX_DiscardUnknown()

func (*MsgRequestBandIBCRatesResponse) XXX_Marshal added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) XXX_Merge added in v1.23.7

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

func (*MsgRequestBandIBCRatesResponse) XXX_Size added in v1.23.7

func (m *MsgRequestBandIBCRatesResponse) XXX_Size() int

func (*MsgRequestBandIBCRatesResponse) XXX_Unmarshal added in v1.23.7

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)
}

MsgServer is the server API for Msg service.

type OcrKeeper added in v1.27.0

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

type OracleHistoryOptions added in v1.39.1

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 added in v1.39.1

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

func (*OracleHistoryOptions) GetIncludeMetadata added in v1.39.1

func (m *OracleHistoryOptions) GetIncludeMetadata() bool

func (*OracleHistoryOptions) GetIncludeRawHistory added in v1.39.1

func (m *OracleHistoryOptions) GetIncludeRawHistory() bool

func (*OracleHistoryOptions) GetMaxAge added in v1.39.1

func (m *OracleHistoryOptions) GetMaxAge() uint64

func (*OracleHistoryOptions) Marshal added in v1.39.1

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

func (*OracleHistoryOptions) MarshalTo added in v1.39.1

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

func (*OracleHistoryOptions) MarshalToSizedBuffer added in v1.39.1

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

func (*OracleHistoryOptions) ProtoMessage added in v1.39.1

func (*OracleHistoryOptions) ProtoMessage()

func (*OracleHistoryOptions) Reset added in v1.39.1

func (m *OracleHistoryOptions) Reset()

func (*OracleHistoryOptions) Size added in v1.39.1

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

func (*OracleHistoryOptions) String added in v1.39.1

func (m *OracleHistoryOptions) String() string

func (*OracleHistoryOptions) Unmarshal added in v1.39.1

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

func (*OracleHistoryOptions) XXX_DiscardUnknown added in v1.39.1

func (m *OracleHistoryOptions) XXX_DiscardUnknown()

func (*OracleHistoryOptions) XXX_Marshal added in v1.39.1

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

func (*OracleHistoryOptions) XXX_Merge added in v1.39.1

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

func (*OracleHistoryOptions) XXX_Size added in v1.39.1

func (m *OracleHistoryOptions) XXX_Size() int

func (*OracleHistoryOptions) XXX_Unmarshal added in v1.39.1

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

type OracleInfo added in v1.39.1

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 added in v1.39.1

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

func (*OracleInfo) GetOracleType added in v1.39.1

func (m *OracleInfo) GetOracleType() OracleType

func (*OracleInfo) GetScaleFactor added in v1.39.1

func (m *OracleInfo) GetScaleFactor() uint32

func (*OracleInfo) GetSymbol added in v1.39.1

func (m *OracleInfo) GetSymbol() string

func (*OracleInfo) Marshal added in v1.39.1

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

func (*OracleInfo) MarshalTo added in v1.39.1

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

func (*OracleInfo) MarshalToSizedBuffer added in v1.39.1

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

func (*OracleInfo) ProtoMessage added in v1.39.1

func (*OracleInfo) ProtoMessage()

func (*OracleInfo) Reset added in v1.39.1

func (m *OracleInfo) Reset()

func (*OracleInfo) Size added in v1.39.1

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

func (*OracleInfo) String added in v1.39.1

func (m *OracleInfo) String() string

func (*OracleInfo) Unmarshal added in v1.39.1

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

func (*OracleInfo) XXX_DiscardUnknown added in v1.39.1

func (m *OracleInfo) XXX_DiscardUnknown()

func (*OracleInfo) XXX_Marshal added in v1.39.1

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

func (*OracleInfo) XXX_Merge added in v1.39.1

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

func (*OracleInfo) XXX_Size added in v1.39.1

func (m *OracleInfo) XXX_Size() int

func (*OracleInfo) XXX_Unmarshal added in v1.39.1

func (m *OracleInfo) XXX_Unmarshal(b []byte) 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 {
}

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) 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 added in v1.23.7

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

PortKeeper defines the expected IBC port keeper

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 PriceRecord added in v1.39.1

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 added in v1.39.1

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

func (*PriceRecord) GetTimestamp added in v1.39.1

func (m *PriceRecord) GetTimestamp() int64

func (*PriceRecord) Marshal added in v1.39.1

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

func (*PriceRecord) MarshalTo added in v1.39.1

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

func (*PriceRecord) MarshalToSizedBuffer added in v1.39.1

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

func (*PriceRecord) ProtoMessage added in v1.39.1

func (*PriceRecord) ProtoMessage()

func (*PriceRecord) Reset added in v1.39.1

func (m *PriceRecord) Reset()

func (*PriceRecord) Size added in v1.39.1

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

func (*PriceRecord) String added in v1.39.1

func (m *PriceRecord) String() string

func (*PriceRecord) Unmarshal added in v1.39.1

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

func (*PriceRecord) XXX_DiscardUnknown added in v1.39.1

func (m *PriceRecord) XXX_DiscardUnknown()

func (*PriceRecord) XXX_Marshal added in v1.39.1

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

func (*PriceRecord) XXX_Merge added in v1.39.1

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

func (*PriceRecord) XXX_Size added in v1.39.1

func (m *PriceRecord) XXX_Size() int

func (*PriceRecord) XXX_Unmarshal added in v1.39.1

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

type PriceRecords added in v1.39.1

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 added in v1.39.1

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

func (*PriceRecords) GetLatestPriceRecords added in v1.39.1

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

func (*PriceRecords) GetOracle added in v1.39.1

func (m *PriceRecords) GetOracle() OracleType

func (*PriceRecords) GetSymbolId added in v1.39.1

func (m *PriceRecords) GetSymbolId() string

func (*PriceRecords) Marshal added in v1.39.1

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

func (*PriceRecords) MarshalTo added in v1.39.1

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

func (*PriceRecords) MarshalToSizedBuffer added in v1.39.1

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

func (*PriceRecords) ProtoMessage added in v1.39.1

func (*PriceRecords) ProtoMessage()

func (*PriceRecords) Reset added in v1.39.1

func (m *PriceRecords) Reset()

func (*PriceRecords) Size added in v1.39.1

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

func (*PriceRecords) String added in v1.39.1

func (m *PriceRecords) String() string

func (*PriceRecords) Unmarshal added in v1.39.1

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

func (*PriceRecords) XXX_DiscardUnknown added in v1.39.1

func (m *PriceRecords) XXX_DiscardUnknown()

func (*PriceRecords) XXX_Marshal added in v1.39.1

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

func (*PriceRecords) XXX_Merge added in v1.39.1

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

func (*PriceRecords) XXX_Size added in v1.39.1

func (m *PriceRecords) XXX_Size() int

func (*PriceRecords) XXX_Unmarshal added in v1.39.1

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 added in v1.39.3

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 added in v1.39.3

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

func (*ProviderInfo) GetProvider added in v1.39.3

func (m *ProviderInfo) GetProvider() string

func (*ProviderInfo) GetRelayers added in v1.39.3

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

func (*ProviderInfo) Marshal added in v1.39.3

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

func (*ProviderInfo) MarshalTo added in v1.39.3

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

func (*ProviderInfo) MarshalToSizedBuffer added in v1.39.3

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

func (*ProviderInfo) ProtoMessage added in v1.39.3

func (*ProviderInfo) ProtoMessage()

func (*ProviderInfo) Reset added in v1.39.3

func (m *ProviderInfo) Reset()

func (*ProviderInfo) Size added in v1.39.3

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

func (*ProviderInfo) String added in v1.39.3

func (m *ProviderInfo) String() string

func (*ProviderInfo) Unmarshal added in v1.39.3

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

func (*ProviderInfo) XXX_DiscardUnknown added in v1.39.3

func (m *ProviderInfo) XXX_DiscardUnknown()

func (*ProviderInfo) XXX_Marshal added in v1.39.3

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

func (*ProviderInfo) XXX_Merge added in v1.39.3

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

func (*ProviderInfo) XXX_Size added in v1.39.3

func (m *ProviderInfo) XXX_Size() int

func (*ProviderInfo) XXX_Unmarshal added in v1.39.3

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

type ProviderPriceState added in v1.39.3

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 added in v1.39.3

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

func (*ProviderPriceState) Descriptor added in v1.39.3

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

func (*ProviderPriceState) GetState added in v1.39.3

func (m *ProviderPriceState) GetState() *PriceState

func (*ProviderPriceState) GetSymbol added in v1.39.3

func (m *ProviderPriceState) GetSymbol() string

func (*ProviderPriceState) Marshal added in v1.39.3

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

func (*ProviderPriceState) MarshalTo added in v1.39.3

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

func (*ProviderPriceState) MarshalToSizedBuffer added in v1.39.3

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

func (*ProviderPriceState) ProtoMessage added in v1.39.3

func (*ProviderPriceState) ProtoMessage()

func (*ProviderPriceState) Reset added in v1.39.3

func (m *ProviderPriceState) Reset()

func (*ProviderPriceState) Size added in v1.39.3

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

func (*ProviderPriceState) String added in v1.39.3

func (m *ProviderPriceState) String() string

func (*ProviderPriceState) Unmarshal added in v1.39.3

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

func (*ProviderPriceState) XXX_DiscardUnknown added in v1.39.3

func (m *ProviderPriceState) XXX_DiscardUnknown()

func (*ProviderPriceState) XXX_Marshal added in v1.39.3

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

func (*ProviderPriceState) XXX_Merge added in v1.39.3

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

func (*ProviderPriceState) XXX_Size added in v1.39.3

func (m *ProviderPriceState) XXX_Size() int

func (*ProviderPriceState) XXX_Unmarshal added in v1.39.3

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

type ProviderState added in v1.39.3

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 added in v1.39.3

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

func (*ProviderState) GetProviderInfo added in v1.39.3

func (m *ProviderState) GetProviderInfo() *ProviderInfo

func (*ProviderState) GetProviderPriceStates added in v1.39.3

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

func (*ProviderState) Marshal added in v1.39.3

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

func (*ProviderState) MarshalTo added in v1.39.3

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

func (*ProviderState) MarshalToSizedBuffer added in v1.39.3

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

func (*ProviderState) ProtoMessage added in v1.39.3

func (*ProviderState) ProtoMessage()

func (*ProviderState) Reset added in v1.39.3

func (m *ProviderState) Reset()

func (*ProviderState) Size added in v1.39.3

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

func (*ProviderState) String added in v1.39.3

func (m *ProviderState) String() string

func (*ProviderState) Unmarshal added in v1.39.3

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

func (*ProviderState) XXX_DiscardUnknown added in v1.39.3

func (m *ProviderState) XXX_DiscardUnknown()

func (*ProviderState) XXX_Marshal added in v1.39.3

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

func (*ProviderState) XXX_Merge added in v1.39.3

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

func (*ProviderState) XXX_Size added in v1.39.3

func (m *ProviderState) XXX_Size() int

func (*ProviderState) XXX_Unmarshal added in v1.39.3

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

type QueryBandIBCPriceStatesRequest added in v1.23.7

type QueryBandIBCPriceStatesRequest struct {
}

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

func (*QueryBandIBCPriceStatesRequest) Descriptor added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) Marshal added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) MarshalTo added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) MarshalToSizedBuffer added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) ProtoMessage added in v1.23.7

func (*QueryBandIBCPriceStatesRequest) ProtoMessage()

func (*QueryBandIBCPriceStatesRequest) Reset added in v1.23.7

func (m *QueryBandIBCPriceStatesRequest) Reset()

func (*QueryBandIBCPriceStatesRequest) Size added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) String added in v1.23.7

func (*QueryBandIBCPriceStatesRequest) Unmarshal added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) XXX_DiscardUnknown added in v1.23.7

func (m *QueryBandIBCPriceStatesRequest) XXX_DiscardUnknown()

func (*QueryBandIBCPriceStatesRequest) XXX_Marshal added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) XXX_Merge added in v1.23.7

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

func (*QueryBandIBCPriceStatesRequest) XXX_Size added in v1.23.7

func (m *QueryBandIBCPriceStatesRequest) XXX_Size() int

func (*QueryBandIBCPriceStatesRequest) XXX_Unmarshal added in v1.23.7

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

type QueryBandIBCPriceStatesResponse added in v1.23.7

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 added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) GetPriceStates added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) Marshal added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) MarshalTo added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) MarshalToSizedBuffer added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) ProtoMessage added in v1.23.7

func (*QueryBandIBCPriceStatesResponse) ProtoMessage()

func (*QueryBandIBCPriceStatesResponse) Reset added in v1.23.7

func (*QueryBandIBCPriceStatesResponse) Size added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) String added in v1.23.7

func (*QueryBandIBCPriceStatesResponse) Unmarshal added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) XXX_DiscardUnknown added in v1.23.7

func (m *QueryBandIBCPriceStatesResponse) XXX_DiscardUnknown()

func (*QueryBandIBCPriceStatesResponse) XXX_Marshal added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) XXX_Merge added in v1.23.7

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

func (*QueryBandIBCPriceStatesResponse) XXX_Size added in v1.23.7

func (m *QueryBandIBCPriceStatesResponse) XXX_Size() int

func (*QueryBandIBCPriceStatesResponse) XXX_Unmarshal added in v1.23.7

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 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)
}

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 added in v1.39.1

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 added in v1.39.1

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

func (*QueryHistoricalPriceRecordsRequest) GetOracle added in v1.39.1

func (*QueryHistoricalPriceRecordsRequest) GetSymbolId added in v1.39.1

func (m *QueryHistoricalPriceRecordsRequest) GetSymbolId() string

func (*QueryHistoricalPriceRecordsRequest) Marshal added in v1.39.1

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

func (*QueryHistoricalPriceRecordsRequest) MarshalTo added in v1.39.1

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

func (*QueryHistoricalPriceRecordsRequest) MarshalToSizedBuffer added in v1.39.1

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

func (*QueryHistoricalPriceRecordsRequest) ProtoMessage added in v1.39.1

func (*QueryHistoricalPriceRecordsRequest) ProtoMessage()

func (*QueryHistoricalPriceRecordsRequest) Reset added in v1.39.1

func (*QueryHistoricalPriceRecordsRequest) Size added in v1.39.1

func (*QueryHistoricalPriceRecordsRequest) String added in v1.39.1

func (*QueryHistoricalPriceRecordsRequest) Unmarshal added in v1.39.1

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

func (*QueryHistoricalPriceRecordsRequest) XXX_DiscardUnknown added in v1.39.1

func (m *QueryHistoricalPriceRecordsRequest) XXX_DiscardUnknown()

func (*QueryHistoricalPriceRecordsRequest) XXX_Marshal added in v1.39.1

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

func (*QueryHistoricalPriceRecordsRequest) XXX_Merge added in v1.39.1

func (*QueryHistoricalPriceRecordsRequest) XXX_Size added in v1.39.1

func (*QueryHistoricalPriceRecordsRequest) XXX_Unmarshal added in v1.39.1

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

type QueryHistoricalPriceRecordsResponse added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) Descriptor added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) GetPriceRecords added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) Marshal added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) MarshalTo added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) MarshalToSizedBuffer added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) ProtoMessage added in v1.39.1

func (*QueryHistoricalPriceRecordsResponse) ProtoMessage()

func (*QueryHistoricalPriceRecordsResponse) Reset added in v1.39.1

func (*QueryHistoricalPriceRecordsResponse) Size added in v1.39.1

func (*QueryHistoricalPriceRecordsResponse) String added in v1.39.1

func (*QueryHistoricalPriceRecordsResponse) Unmarshal added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) XXX_DiscardUnknown added in v1.39.1

func (m *QueryHistoricalPriceRecordsResponse) XXX_DiscardUnknown()

func (*QueryHistoricalPriceRecordsResponse) XXX_Marshal added in v1.39.1

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

func (*QueryHistoricalPriceRecordsResponse) XXX_Merge added in v1.39.1

func (*QueryHistoricalPriceRecordsResponse) XXX_Size added in v1.39.1

func (*QueryHistoricalPriceRecordsResponse) XXX_Unmarshal added in v1.39.1

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 QueryOracleProviderPricesRequest added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) Descriptor added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) GetProvider added in v1.39.5

func (m *QueryOracleProviderPricesRequest) GetProvider() string

func (*QueryOracleProviderPricesRequest) Marshal added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) MarshalTo added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) MarshalToSizedBuffer added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) ProtoMessage added in v1.39.5

func (*QueryOracleProviderPricesRequest) ProtoMessage()

func (*QueryOracleProviderPricesRequest) Reset added in v1.39.5

func (*QueryOracleProviderPricesRequest) Size added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) String added in v1.39.5

func (*QueryOracleProviderPricesRequest) Unmarshal added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) XXX_DiscardUnknown added in v1.39.5

func (m *QueryOracleProviderPricesRequest) XXX_DiscardUnknown()

func (*QueryOracleProviderPricesRequest) XXX_Marshal added in v1.39.5

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

func (*QueryOracleProviderPricesRequest) XXX_Merge added in v1.39.5

func (*QueryOracleProviderPricesRequest) XXX_Size added in v1.39.5

func (m *QueryOracleProviderPricesRequest) XXX_Size() int

func (*QueryOracleProviderPricesRequest) XXX_Unmarshal added in v1.39.5

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

type QueryOracleProviderPricesResponse added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) Descriptor added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) GetProviderState added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) Marshal added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) MarshalTo added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) MarshalToSizedBuffer added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) ProtoMessage added in v1.39.5

func (*QueryOracleProviderPricesResponse) ProtoMessage()

func (*QueryOracleProviderPricesResponse) Reset added in v1.39.5

func (*QueryOracleProviderPricesResponse) Size added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) String added in v1.39.5

func (*QueryOracleProviderPricesResponse) Unmarshal added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) XXX_DiscardUnknown added in v1.39.5

func (m *QueryOracleProviderPricesResponse) XXX_DiscardUnknown()

func (*QueryOracleProviderPricesResponse) XXX_Marshal added in v1.39.5

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

func (*QueryOracleProviderPricesResponse) XXX_Merge added in v1.39.5

func (*QueryOracleProviderPricesResponse) XXX_Size added in v1.39.5

func (m *QueryOracleProviderPricesResponse) XXX_Size() int

func (*QueryOracleProviderPricesResponse) XXX_Unmarshal added in v1.39.5

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

type QueryOracleProvidersInfoRequest added in v1.39.5

type QueryOracleProvidersInfoRequest struct {
}

func (*QueryOracleProvidersInfoRequest) Descriptor added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) Marshal added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) MarshalTo added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) MarshalToSizedBuffer added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) ProtoMessage added in v1.39.5

func (*QueryOracleProvidersInfoRequest) ProtoMessage()

func (*QueryOracleProvidersInfoRequest) Reset added in v1.39.5

func (*QueryOracleProvidersInfoRequest) Size added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) String added in v1.39.5

func (*QueryOracleProvidersInfoRequest) Unmarshal added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) XXX_DiscardUnknown added in v1.39.5

func (m *QueryOracleProvidersInfoRequest) XXX_DiscardUnknown()

func (*QueryOracleProvidersInfoRequest) XXX_Marshal added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) XXX_Merge added in v1.39.5

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

func (*QueryOracleProvidersInfoRequest) XXX_Size added in v1.39.5

func (m *QueryOracleProvidersInfoRequest) XXX_Size() int

func (*QueryOracleProvidersInfoRequest) XXX_Unmarshal added in v1.39.5

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

type QueryOracleProvidersInfoResponse added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) Descriptor added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) GetProviders added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) Marshal added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) MarshalTo added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) MarshalToSizedBuffer added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) ProtoMessage added in v1.39.5

func (*QueryOracleProvidersInfoResponse) ProtoMessage()

func (*QueryOracleProvidersInfoResponse) Reset added in v1.39.5

func (*QueryOracleProvidersInfoResponse) Size added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) String added in v1.39.5

func (*QueryOracleProvidersInfoResponse) Unmarshal added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) XXX_DiscardUnknown added in v1.39.5

func (m *QueryOracleProvidersInfoResponse) XXX_DiscardUnknown()

func (*QueryOracleProvidersInfoResponse) XXX_Marshal added in v1.39.5

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

func (*QueryOracleProvidersInfoResponse) XXX_Merge added in v1.39.5

func (*QueryOracleProvidersInfoResponse) XXX_Size added in v1.39.5

func (m *QueryOracleProvidersInfoResponse) XXX_Size() int

func (*QueryOracleProvidersInfoResponse) XXX_Unmarshal added in v1.39.5

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

type QueryOracleVolatilityRequest added in v1.39.1

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 added in v1.39.1

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

func (*QueryOracleVolatilityRequest) GetBaseInfo added in v1.39.1

func (m *QueryOracleVolatilityRequest) GetBaseInfo() *OracleInfo

func (*QueryOracleVolatilityRequest) GetOracleHistoryOptions added in v1.39.1

func (m *QueryOracleVolatilityRequest) GetOracleHistoryOptions() *OracleHistoryOptions

func (*QueryOracleVolatilityRequest) GetQuoteInfo added in v1.39.1

func (m *QueryOracleVolatilityRequest) GetQuoteInfo() *OracleInfo

func (*QueryOracleVolatilityRequest) Marshal added in v1.39.1

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

func (*QueryOracleVolatilityRequest) MarshalTo added in v1.39.1

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

func (*QueryOracleVolatilityRequest) MarshalToSizedBuffer added in v1.39.1

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

func (*QueryOracleVolatilityRequest) ProtoMessage added in v1.39.1

func (*QueryOracleVolatilityRequest) ProtoMessage()

func (*QueryOracleVolatilityRequest) Reset added in v1.39.1

func (m *QueryOracleVolatilityRequest) Reset()

func (*QueryOracleVolatilityRequest) Size added in v1.39.1

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

func (*QueryOracleVolatilityRequest) String added in v1.39.1

func (*QueryOracleVolatilityRequest) Unmarshal added in v1.39.1

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

func (*QueryOracleVolatilityRequest) XXX_DiscardUnknown added in v1.39.1

func (m *QueryOracleVolatilityRequest) XXX_DiscardUnknown()

func (*QueryOracleVolatilityRequest) XXX_Marshal added in v1.39.1

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

func (*QueryOracleVolatilityRequest) XXX_Merge added in v1.39.1

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

func (*QueryOracleVolatilityRequest) XXX_Size added in v1.39.1

func (m *QueryOracleVolatilityRequest) XXX_Size() int

func (*QueryOracleVolatilityRequest) XXX_Unmarshal added in v1.39.1

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

type QueryOracleVolatilityResponse added in v1.39.1

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 added in v1.39.1

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

func (*QueryOracleVolatilityResponse) GetHistoryMetadata added in v1.39.1

func (m *QueryOracleVolatilityResponse) GetHistoryMetadata() *MetadataStatistics

func (*QueryOracleVolatilityResponse) GetRawHistory added in v1.39.1

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

func (*QueryOracleVolatilityResponse) Marshal added in v1.39.1

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

func (*QueryOracleVolatilityResponse) MarshalTo added in v1.39.1

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

func (*QueryOracleVolatilityResponse) MarshalToSizedBuffer added in v1.39.1

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

func (*QueryOracleVolatilityResponse) ProtoMessage added in v1.39.1

func (*QueryOracleVolatilityResponse) ProtoMessage()

func (*QueryOracleVolatilityResponse) Reset added in v1.39.1

func (m *QueryOracleVolatilityResponse) Reset()

func (*QueryOracleVolatilityResponse) Size added in v1.39.1

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

func (*QueryOracleVolatilityResponse) String added in v1.39.1

func (*QueryOracleVolatilityResponse) Unmarshal added in v1.39.1

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

func (*QueryOracleVolatilityResponse) XXX_DiscardUnknown added in v1.39.1

func (m *QueryOracleVolatilityResponse) XXX_DiscardUnknown()

func (*QueryOracleVolatilityResponse) XXX_Marshal added in v1.39.1

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

func (*QueryOracleVolatilityResponse) XXX_Merge added in v1.39.1

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

func (*QueryOracleVolatilityResponse) XXX_Size added in v1.39.1

func (m *QueryOracleVolatilityResponse) XXX_Size() int

func (*QueryOracleVolatilityResponse) XXX_Unmarshal added in v1.39.1

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 added in v1.39.3

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 added in v1.39.3

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

func (*QueryProviderPriceStateRequest) GetProvider added in v1.39.3

func (m *QueryProviderPriceStateRequest) GetProvider() string

func (*QueryProviderPriceStateRequest) GetSymbol added in v1.39.3

func (m *QueryProviderPriceStateRequest) GetSymbol() string

func (*QueryProviderPriceStateRequest) Marshal added in v1.39.3

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

func (*QueryProviderPriceStateRequest) MarshalTo added in v1.39.3

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

func (*QueryProviderPriceStateRequest) MarshalToSizedBuffer added in v1.39.3

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

func (*QueryProviderPriceStateRequest) ProtoMessage added in v1.39.3

func (*QueryProviderPriceStateRequest) ProtoMessage()

func (*QueryProviderPriceStateRequest) Reset added in v1.39.3

func (m *QueryProviderPriceStateRequest) Reset()

func (*QueryProviderPriceStateRequest) Size added in v1.39.3

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

func (*QueryProviderPriceStateRequest) String added in v1.39.3

func (*QueryProviderPriceStateRequest) Unmarshal added in v1.39.3

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

func (*QueryProviderPriceStateRequest) XXX_DiscardUnknown added in v1.39.3

func (m *QueryProviderPriceStateRequest) XXX_DiscardUnknown()

func (*QueryProviderPriceStateRequest) XXX_Marshal added in v1.39.3

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

func (*QueryProviderPriceStateRequest) XXX_Merge added in v1.39.3

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

func (*QueryProviderPriceStateRequest) XXX_Size added in v1.39.3

func (m *QueryProviderPriceStateRequest) XXX_Size() int

func (*QueryProviderPriceStateRequest) XXX_Unmarshal added in v1.39.3

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

type QueryProviderPriceStateResponse added in v1.39.3

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 added in v1.39.3

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

func (*QueryProviderPriceStateResponse) GetPriceState added in v1.39.3

func (m *QueryProviderPriceStateResponse) GetPriceState() *PriceState

func (*QueryProviderPriceStateResponse) Marshal added in v1.39.3

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

func (*QueryProviderPriceStateResponse) MarshalTo added in v1.39.3

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

func (*QueryProviderPriceStateResponse) MarshalToSizedBuffer added in v1.39.3

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

func (*QueryProviderPriceStateResponse) ProtoMessage added in v1.39.3

func (*QueryProviderPriceStateResponse) ProtoMessage()

func (*QueryProviderPriceStateResponse) Reset added in v1.39.3

func (*QueryProviderPriceStateResponse) Size added in v1.39.3

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

func (*QueryProviderPriceStateResponse) String added in v1.39.3

func (*QueryProviderPriceStateResponse) Unmarshal added in v1.39.3

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

func (*QueryProviderPriceStateResponse) XXX_DiscardUnknown added in v1.39.3

func (m *QueryProviderPriceStateResponse) XXX_DiscardUnknown()

func (*QueryProviderPriceStateResponse) XXX_Marshal added in v1.39.3

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

func (*QueryProviderPriceStateResponse) XXX_Merge added in v1.39.3

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

func (*QueryProviderPriceStateResponse) XXX_Size added in v1.39.3

func (m *QueryProviderPriceStateResponse) XXX_Size() int

func (*QueryProviderPriceStateResponse) XXX_Unmarshal added in v1.39.3

func (m *QueryProviderPriceStateResponse) 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 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)
}

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 added in v1.39.3

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 added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) GetDescription added in v1.39.3

func (p *RevokeProviderPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*RevokeProviderPrivilegeProposal) GetTitle added in v1.39.3

GetTitle returns the title of this proposal.

func (*RevokeProviderPrivilegeProposal) Marshal added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) MarshalTo added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) MarshalToSizedBuffer added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) ProposalRoute added in v1.39.3

func (p *RevokeProviderPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*RevokeProviderPrivilegeProposal) ProposalType added in v1.39.3

func (p *RevokeProviderPrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*RevokeProviderPrivilegeProposal) ProtoMessage added in v1.39.3

func (*RevokeProviderPrivilegeProposal) ProtoMessage()

func (*RevokeProviderPrivilegeProposal) Reset added in v1.39.3

func (*RevokeProviderPrivilegeProposal) Size added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) String added in v1.39.3

func (*RevokeProviderPrivilegeProposal) Unmarshal added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) ValidateBasic added in v1.39.3

func (p *RevokeProviderPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*RevokeProviderPrivilegeProposal) XXX_DiscardUnknown added in v1.39.3

func (m *RevokeProviderPrivilegeProposal) XXX_DiscardUnknown()

func (*RevokeProviderPrivilegeProposal) XXX_Marshal added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) XXX_Merge added in v1.39.3

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

func (*RevokeProviderPrivilegeProposal) XXX_Size added in v1.39.3

func (m *RevokeProviderPrivilegeProposal) XXX_Size() int

func (*RevokeProviderPrivilegeProposal) XXX_Unmarshal added in v1.39.3

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

type SetBandIBCPriceEvent added in v1.23.7

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 added in v1.23.7

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

func (*SetBandIBCPriceEvent) GetClientId added in v1.23.7

func (m *SetBandIBCPriceEvent) GetClientId() int64

func (*SetBandIBCPriceEvent) GetRelayer added in v1.23.7

func (m *SetBandIBCPriceEvent) GetRelayer() string

func (*SetBandIBCPriceEvent) GetRequestId added in v1.23.7

func (m *SetBandIBCPriceEvent) GetRequestId() uint64

func (*SetBandIBCPriceEvent) GetResolveTime added in v1.23.7

func (m *SetBandIBCPriceEvent) GetResolveTime() uint64

func (*SetBandIBCPriceEvent) GetSymbols added in v1.27.2

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

func (*SetBandIBCPriceEvent) Marshal added in v1.23.7

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

func (*SetBandIBCPriceEvent) MarshalTo added in v1.23.7

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

func (*SetBandIBCPriceEvent) MarshalToSizedBuffer added in v1.23.7

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

func (*SetBandIBCPriceEvent) ProtoMessage added in v1.23.7

func (*SetBandIBCPriceEvent) ProtoMessage()

func (*SetBandIBCPriceEvent) Reset added in v1.23.7

func (m *SetBandIBCPriceEvent) Reset()

func (*SetBandIBCPriceEvent) Size added in v1.23.7

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

func (*SetBandIBCPriceEvent) String added in v1.23.7

func (m *SetBandIBCPriceEvent) String() string

func (*SetBandIBCPriceEvent) Unmarshal added in v1.23.7

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

func (*SetBandIBCPriceEvent) XXX_DiscardUnknown added in v1.23.7

func (m *SetBandIBCPriceEvent) XXX_DiscardUnknown()

func (*SetBandIBCPriceEvent) XXX_Marshal added in v1.23.7

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

func (*SetBandIBCPriceEvent) XXX_Merge added in v1.23.7

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

func (*SetBandIBCPriceEvent) XXX_Size added in v1.23.7

func (m *SetBandIBCPriceEvent) XXX_Size() int

func (*SetBandIBCPriceEvent) XXX_Unmarshal added in v1.23.7

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 added in v1.28.6

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 added in v1.28.6

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

func (*SetChainlinkPriceEvent) GetFeedId added in v1.28.6

func (m *SetChainlinkPriceEvent) GetFeedId() string

func (*SetChainlinkPriceEvent) GetTimestamp added in v1.28.6

func (m *SetChainlinkPriceEvent) GetTimestamp() uint64

func (*SetChainlinkPriceEvent) Marshal added in v1.28.6

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

func (*SetChainlinkPriceEvent) MarshalTo added in v1.28.6

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

func (*SetChainlinkPriceEvent) MarshalToSizedBuffer added in v1.28.6

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

func (*SetChainlinkPriceEvent) ProtoMessage added in v1.28.6

func (*SetChainlinkPriceEvent) ProtoMessage()

func (*SetChainlinkPriceEvent) Reset added in v1.28.6

func (m *SetChainlinkPriceEvent) Reset()

func (*SetChainlinkPriceEvent) Size added in v1.28.6

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

func (*SetChainlinkPriceEvent) String added in v1.28.6

func (m *SetChainlinkPriceEvent) String() string

func (*SetChainlinkPriceEvent) Unmarshal added in v1.28.6

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

func (*SetChainlinkPriceEvent) XXX_DiscardUnknown added in v1.28.6

func (m *SetChainlinkPriceEvent) XXX_DiscardUnknown()

func (*SetChainlinkPriceEvent) XXX_Marshal added in v1.28.6

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

func (*SetChainlinkPriceEvent) XXX_Merge added in v1.28.6

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

func (*SetChainlinkPriceEvent) XXX_Size added in v1.28.6

func (m *SetChainlinkPriceEvent) XXX_Size() int

func (*SetChainlinkPriceEvent) XXX_Unmarshal added in v1.28.6

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 added in v1.39.3

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 added in v1.39.3

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

func (*SetProviderPriceEvent) GetProvider added in v1.39.3

func (m *SetProviderPriceEvent) GetProvider() string

func (*SetProviderPriceEvent) GetRelayer added in v1.39.3

func (m *SetProviderPriceEvent) GetRelayer() string

func (*SetProviderPriceEvent) GetSymbol added in v1.39.3

func (m *SetProviderPriceEvent) GetSymbol() string

func (*SetProviderPriceEvent) Marshal added in v1.39.3

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

func (*SetProviderPriceEvent) MarshalTo added in v1.39.3

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

func (*SetProviderPriceEvent) MarshalToSizedBuffer added in v1.39.3

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

func (*SetProviderPriceEvent) ProtoMessage added in v1.39.3

func (*SetProviderPriceEvent) ProtoMessage()

func (*SetProviderPriceEvent) Reset added in v1.39.3

func (m *SetProviderPriceEvent) Reset()

func (*SetProviderPriceEvent) Size added in v1.39.3

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

func (*SetProviderPriceEvent) String added in v1.39.3

func (m *SetProviderPriceEvent) String() string

func (*SetProviderPriceEvent) Unmarshal added in v1.39.3

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

func (*SetProviderPriceEvent) XXX_DiscardUnknown added in v1.39.3

func (m *SetProviderPriceEvent) XXX_DiscardUnknown()

func (*SetProviderPriceEvent) XXX_Marshal added in v1.39.3

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

func (*SetProviderPriceEvent) XXX_Merge added in v1.39.3

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

func (*SetProviderPriceEvent) XXX_Size added in v1.39.3

func (m *SetProviderPriceEvent) XXX_Size() int

func (*SetProviderPriceEvent) XXX_Unmarshal added in v1.39.3

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

type SymbolPriceTimestamp added in v1.39.1

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 added in v1.39.1

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

func (*SymbolPriceTimestamp) GetOracle added in v1.39.1

func (m *SymbolPriceTimestamp) GetOracle() OracleType

func (*SymbolPriceTimestamp) GetSymbolId added in v1.39.1

func (m *SymbolPriceTimestamp) GetSymbolId() string

func (*SymbolPriceTimestamp) GetTimestamp added in v1.39.1

func (m *SymbolPriceTimestamp) GetTimestamp() int64

func (*SymbolPriceTimestamp) Marshal added in v1.39.1

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

func (*SymbolPriceTimestamp) MarshalTo added in v1.39.1

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

func (*SymbolPriceTimestamp) MarshalToSizedBuffer added in v1.39.1

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

func (*SymbolPriceTimestamp) ProtoMessage added in v1.39.1

func (*SymbolPriceTimestamp) ProtoMessage()

func (*SymbolPriceTimestamp) Reset added in v1.39.1

func (m *SymbolPriceTimestamp) Reset()

func (*SymbolPriceTimestamp) Size added in v1.39.1

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

func (*SymbolPriceTimestamp) String added in v1.39.1

func (m *SymbolPriceTimestamp) String() string

func (*SymbolPriceTimestamp) Unmarshal added in v1.39.1

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

func (*SymbolPriceTimestamp) XXX_DiscardUnknown added in v1.39.1

func (m *SymbolPriceTimestamp) XXX_DiscardUnknown()

func (*SymbolPriceTimestamp) XXX_Marshal added in v1.39.1

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

func (*SymbolPriceTimestamp) XXX_Merge added in v1.39.1

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

func (*SymbolPriceTimestamp) XXX_Size added in v1.39.1

func (m *SymbolPriceTimestamp) XXX_Size() int

func (*SymbolPriceTimestamp) XXX_Unmarshal added in v1.39.1

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

type SymbolPriceTimestamps added in v1.39.1

type SymbolPriceTimestamps []*SymbolPriceTimestamp

func (SymbolPriceTimestamps) GetTimestamp added in v1.39.1

func (s SymbolPriceTimestamps) GetTimestamp(oracleType OracleType, symbol string) (ts int64, ok bool)

func (SymbolPriceTimestamps) SetTimestamp added in v1.39.1

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 added in v1.39.3

func (*UnimplementedMsgServer) RequestBandIBCRates added in v1.23.7

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BandIBCPriceStates added in v1.23.7

func (*UnimplementedQueryServer) BandPriceStates

func (*UnimplementedQueryServer) BandRelayers

func (*UnimplementedQueryServer) CoinbasePriceStates

func (*UnimplementedQueryServer) HistoricalPriceRecords added in v1.39.1

func (*UnimplementedQueryServer) OracleModuleState

func (*UnimplementedQueryServer) OracleProviderPrices added in v1.39.5

func (*UnimplementedQueryServer) OracleProvidersInfo added in v1.39.5

func (*UnimplementedQueryServer) OracleVolatility added in v1.39.1

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ProviderPriceState added in v1.39.3

type UpdateBandOracleRequestProposal added in v1.24.1

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"`
	DeleteRequestId     uint64             `protobuf:"varint,3,opt,name=delete_request_id,json=deleteRequestId,proto3" json:"delete_request_id,omitempty"`
	UpdateOracleRequest *BandOracleRequest `protobuf:"bytes,4,opt,name=update_oracle_request,json=updateOracleRequest,proto3" json:"update_oracle_request,omitempty"`
}

func (*UpdateBandOracleRequestProposal) Descriptor added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) GetDescription added in v1.24.1

func (p *UpdateBandOracleRequestProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*UpdateBandOracleRequestProposal) GetTitle added in v1.24.1

GetTitle returns the title of this proposal.

func (*UpdateBandOracleRequestProposal) Marshal added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) MarshalTo added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) MarshalToSizedBuffer added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) ProposalRoute added in v1.24.1

func (p *UpdateBandOracleRequestProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*UpdateBandOracleRequestProposal) ProposalType added in v1.24.1

func (p *UpdateBandOracleRequestProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*UpdateBandOracleRequestProposal) ProtoMessage added in v1.24.1

func (*UpdateBandOracleRequestProposal) ProtoMessage()

func (*UpdateBandOracleRequestProposal) Reset added in v1.24.1

func (*UpdateBandOracleRequestProposal) Size added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) String added in v1.24.1

func (*UpdateBandOracleRequestProposal) Unmarshal added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) ValidateBasic added in v1.24.1

func (p *UpdateBandOracleRequestProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*UpdateBandOracleRequestProposal) XXX_DiscardUnknown added in v1.24.1

func (m *UpdateBandOracleRequestProposal) XXX_DiscardUnknown()

func (*UpdateBandOracleRequestProposal) XXX_Marshal added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) XXX_Merge added in v1.24.1

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

func (*UpdateBandOracleRequestProposal) XXX_Size added in v1.24.1

func (m *UpdateBandOracleRequestProposal) XXX_Size() int

func (*UpdateBandOracleRequestProposal) XXX_Unmarshal added in v1.24.1

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