types

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 44 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 (
	RouterKey = ModuleName

	TypeMsgRelayPriceFeedPrice   = "relayPriceFeedPrice"
	TypeMsgRelayBandRates        = "relayBandRates"
	TypeMsgRelayCoinbaseMessages = "relayCoinbaseMessages"
	TypeMsgRequestBandIBCRates   = "requestBandIBCRates"
	TypeMsgRelayProviderPrices   = "relayProviderPrices"
	TypeMsgRelayPythPrices       = "relayPythPrices"
	TypeMsgRelayStorkPrices      = "relayStorkPrices"
	TypeMsgUpdateParams          = "updateParams"
)

oracle message types

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

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

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 MaxStorkTimestampIntervalNano = 500_000_000 // 500ms
View Source
const QuoteUSD = "USD"
View Source
const TwapWindow = int64(5 * 60) // 5 minute TWAP window

Variables

View Source
var (
	ErrEmptyRelayerAddr            = errors.Register(ModuleName, 1, "relayer address is empty")
	ErrBadRatesCount               = errors.Register(ModuleName, 2, "bad rates count")
	ErrBadResolveTimesCount        = errors.Register(ModuleName, 3, "bad resolve times")
	ErrBadRequestIDsCount          = errors.Register(ModuleName, 4, "bad request ID")
	ErrRelayerNotAuthorized        = errors.Register(ModuleName, 5, "relayer not authorized")
	ErrBadPriceFeedBaseCount       = errors.Register(ModuleName, 6, "bad price feed base count")
	ErrBadPriceFeedQuoteCount      = errors.Register(ModuleName, 7, "bad price feed quote count")
	ErrUnsupportedOracleType       = errors.Register(ModuleName, 8, "unsupported oracle type")
	ErrBadMessagesCount            = errors.Register(ModuleName, 9, "bad messages count")
	ErrBadCoinbaseMessage          = errors.Register(ModuleName, 10, "bad Coinbase message")
	ErrInvalidEthereumSignature    = errors.Register(ModuleName, 11, "bad Ethereum signature")
	ErrBadCoinbaseMessageTimestamp = errors.Register(ModuleName, 12, "bad Coinbase message timestamp")
	ErrCoinbasePriceNotFound       = errors.Register(ModuleName, 13, "Coinbase price not found")
	ErrBadPrice                    = errors.Register(ModuleName, 14, "Prices must be positive")
	ErrPriceTooLarge               = errors.Register(ModuleName, 15, "Prices must be less than 10 million.")
	ErrInvalidBandIBCRequest       = errors.Register(ModuleName, 16, "Invalid Band IBC Request")
	ErrSample                      = errors.Register(ModuleName, 17, "sample error")
	ErrInvalidPacketTimeout        = errors.Register(ModuleName, 18, "invalid packet timeout")
	ErrBadSymbolsCount             = errors.Register(ModuleName, 19, "invalid symbols count")
	ErrBadIBCPortBind              = errors.Register(ModuleName, 20, "could not claim port capability")
	ErrInvalidPortID               = errors.Register(ModuleName, 21, "invalid IBC Port ID")
	ErrInvalidChannelID            = errors.Register(ModuleName, 22, "invalid IBC Channel ID")
	ErrBadRequestInterval          = errors.Register(ModuleName, 23, "invalid Band IBC request interval")
	ErrInvalidBandIBCUpdateRequest = errors.Register(ModuleName, 24, "Invalid Band IBC Update Request Proposal")
	ErrBandIBCRequestNotFound      = errors.Register(ModuleName, 25, "Band IBC Oracle Request not found")
	ErrEmptyBaseInfo               = errors.Register(ModuleName, 26, "Base Info is empty")
	ErrEmptyProvider               = errors.Register(ModuleName, 27, "provider is empty")
	ErrInvalidProvider             = errors.Register(ModuleName, 28, "invalid provider name")
	ErrInvalidSymbol               = errors.Register(ModuleName, 29, "invalid symbol")
	ErrRelayerAlreadyExists        = errors.Register(ModuleName, 30, "relayer already exists")
	ErrProviderPriceNotFound       = errors.Register(ModuleName, 31, "provider price not found")
	ErrInvalidOracleRequest        = errors.Register(ModuleName, 32, "invalid oracle request")
	ErrOraclePriceNotFound         = errors.Register(ModuleName, 33, "no price for oracle was found")
	ErrPythContractNotFound        = errors.Register(ModuleName, 34, "no address for Pyth contract found")
	ErrUnauthorizedPythPriceRelay  = errors.Register(ModuleName, 35, "unauthorized Pyth price relay")
	ErrInvalidPythPriceID          = errors.Register(ModuleName, 36, "unauthorized Pyth price relay")
	ErrInvalidPythExponent         = errors.Register(ModuleName, 37, "unauthorized Pyth price relay")
	ErrInvalidPythPublishTime      = errors.Register(ModuleName, 38, "unauthorized Pyth price relay")
	ErrEmptyPriceAttestations      = errors.Register(ModuleName, 39, "empty price attestations")
	ErrBadStorkMessageTimestamp    = errors.Register(ModuleName, 40, "bad Stork message timestamp")
	ErrEmptyStorkSender            = errors.Register(ModuleName, 41, "sender stork is empty")
	ErrInvalidStorkSignature       = errors.Register(ModuleName, 42, "invalid stork signature")
	ErrStorkAssetIdNotUnique       = errors.Register(ModuleName, 43, "stork asset id not unique")
)
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}
	ParamsKey      = []byte{0x03}

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

	CoinbasePriceKey = []byte{0x21}

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

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

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

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

	// PythPriceKey is the prefix for the priceID => PythPriceState store.
	PythPriceKey = []byte{0x71}

	// StorkPriceKey is the prefix for the priceID => StorkPriceState store.
	StorkPriceKey     = []byte{0x81}
	StorkPublisherKey = []byte{0x82}
)
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 EighteenDecimals = math.LegacyNewDec(10).Power(18)
View Source
var (
	KeyPythContract = []byte("PythContract")
)

Parameter keys

View Source
var (
	LargestDecPrice = math.LegacyMustNewDecFromStr("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",
	12: "Stork",
}
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,
	"Stork":       12,
}

Functions

func CheckPriceFeedThreshold added in v1.45.0

func CheckPriceFeedThreshold(lastPrice, newPrice math.LegacyDec) bool

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

func ConvertTimestampToNanoSecond added in v1.51.0

func ConvertTimestampToNanoSecond(timestamp uint64) (nanoSeconds uint64)

ConvertTimestampToNanoSecond converts timestamp to nano seconds if timestamp > 1e18 => timestamp is in nanosecond format else if timestamp > 1e15 => timestamp is in microsecond format else if timestamp > 1e12 => timestamp is in millisecond format else the timestamp is in second format

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

func GetExponentiatedDec(value, expo int64) math.LegacyDec

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

func GetPythPriceStoreKey(priceID common.Hash) []byte

func GetStorkPriceStoreKey added in v1.51.0

func GetStorkPriceStoreKey(key string) []byte

func GetSymbolHistoricalPriceRecordsKey added in v1.39.1

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

func IsLegacySchemeOracleScript added in v1.45.6

func IsLegacySchemeOracleScript(scriptID int64, params BandIBCParams) bool

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

func ScaleStorkPrice(price math.LegacyDec) math.LegacyDec

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

func VerifyStorkMsgSignature added in v1.51.0

func VerifyStorkMsgSignature(oraclePubKey common.Address, assetPairID, timeStamp, price string, signature []byte) bool

Types

type AssetPair added in v1.51.0

type AssetPair struct {
	AssetId      string                    `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	SignedPrices []*SignedPriceOfAssetPair `protobuf:"bytes,2,rep,name=signed_prices,json=signedPrices,proto3" json:"signed_prices,omitempty"`
}

func (*AssetPair) Descriptor added in v1.51.0

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

func (*AssetPair) GetAssetId added in v1.51.0

func (m *AssetPair) GetAssetId() string

func (*AssetPair) GetSignedPrices added in v1.51.0

func (m *AssetPair) GetSignedPrices() []*SignedPriceOfAssetPair

func (*AssetPair) Marshal added in v1.51.0

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

func (*AssetPair) MarshalTo added in v1.51.0

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

func (*AssetPair) MarshalToSizedBuffer added in v1.51.0

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

func (*AssetPair) ProtoMessage added in v1.51.0

func (*AssetPair) ProtoMessage()

func (*AssetPair) Reset added in v1.51.0

func (m *AssetPair) Reset()

func (*AssetPair) Size added in v1.51.0

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

func (*AssetPair) String added in v1.51.0

func (m *AssetPair) String() string

func (*AssetPair) Unmarshal added in v1.51.0

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

func (*AssetPair) XXX_DiscardUnknown added in v1.51.0

func (m *AssetPair) XXX_DiscardUnknown()

func (*AssetPair) XXX_Marshal added in v1.51.0

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

func (*AssetPair) XXX_Merge added in v1.51.0

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

func (*AssetPair) XXX_Size added in v1.51.0

func (m *AssetPair) XXX_Size() int

func (*AssetPair) XXX_Unmarshal added in v1.51.0

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

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"`
	// legacy oracle scheme ids
	LegacyOracleIds []int64 `protobuf:"varint,6,rep,packed,name=legacy_oracle_ids,json=legacyOracleIds,proto3" json:"legacy_oracle_ids,omitempty"`
}

func DefaultBandIBCParams 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) GetLegacyOracleIds added in v1.45.6

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

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

type BandInput bandprice.SymbolInput

func (BandInput) PriceMultiplier added in v1.45.6

func (in BandInput) PriceMultiplier() uint64

func (BandInput) PriceSymbols added in v1.45.6

func (in BandInput) PriceSymbols() []string

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"`
	// MinSourceCount is the minimum number of data sources that must be used by
	// each validator
	MinSourceCount uint64 `protobuf:"varint,9,opt,name=min_source_count,json=minSourceCount,proto3" json:"min_source_count,omitempty"`
}

func (*BandOracleRequest) Descriptor 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(legacyScheme bool) []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) GetMinSourceCount added in v1.45.6

func (m *BandOracleRequest) GetMinSourceCount() 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 BandOutput added in v1.45.6

type BandOutput bandprice.SymbolOutput

func (BandOutput) Rate added in v1.45.6

func (out BandOutput) Rate(id int) uint64

func (BandOutput) Valid added in v1.45.6

func (out BandOutput) Valid(id int) bool

type BandPriceState

type BandPriceState struct {
	Symbol      string                `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Rate        cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=rate,proto3,customtype=cosmossdk.io/math.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 context.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	BurnCoins(ctx context.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     cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=cosmossdk.io/math.LegacyDec" 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,
		chanCap *capabilitytypes.Capability,
		sourcePort string,
		sourceChannel string,
		timeoutHeight clienttypes.Height,
		timeoutTimestamp uint64,
		data []byte,
	) (sequence uint64, err 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() math.LegacyDec

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

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

func (*EventSetPythPrices) Descriptor added in v1.45.0

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

func (*EventSetPythPrices) GetPrices added in v1.45.0

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

func (*EventSetPythPrices) Marshal added in v1.45.0

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

func (*EventSetPythPrices) MarshalTo added in v1.45.0

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

func (*EventSetPythPrices) MarshalToSizedBuffer added in v1.45.0

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

func (*EventSetPythPrices) ProtoMessage added in v1.45.0

func (*EventSetPythPrices) ProtoMessage()

func (*EventSetPythPrices) Reset added in v1.45.0

func (m *EventSetPythPrices) Reset()

func (*EventSetPythPrices) Size added in v1.45.0

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

func (*EventSetPythPrices) String added in v1.45.0

func (m *EventSetPythPrices) String() string

func (*EventSetPythPrices) Unmarshal added in v1.45.0

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

func (*EventSetPythPrices) XXX_DiscardUnknown added in v1.45.0

func (m *EventSetPythPrices) XXX_DiscardUnknown()

func (*EventSetPythPrices) XXX_Marshal added in v1.45.0

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

func (*EventSetPythPrices) XXX_Merge added in v1.45.0

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

func (*EventSetPythPrices) XXX_Size added in v1.45.0

func (m *EventSetPythPrices) XXX_Size() int

func (*EventSetPythPrices) XXX_Unmarshal added in v1.45.0

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

type EventSetStorkPrices added in v1.51.0

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

func (*EventSetStorkPrices) Descriptor added in v1.51.0

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

func (*EventSetStorkPrices) GetPrices added in v1.51.0

func (m *EventSetStorkPrices) GetPrices() []*StorkPriceState

func (*EventSetStorkPrices) Marshal added in v1.51.0

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

func (*EventSetStorkPrices) MarshalTo added in v1.51.0

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

func (*EventSetStorkPrices) MarshalToSizedBuffer added in v1.51.0

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

func (*EventSetStorkPrices) ProtoMessage added in v1.51.0

func (*EventSetStorkPrices) ProtoMessage()

func (*EventSetStorkPrices) Reset added in v1.51.0

func (m *EventSetStorkPrices) Reset()

func (*EventSetStorkPrices) Size added in v1.51.0

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

func (*EventSetStorkPrices) String added in v1.51.0

func (m *EventSetStorkPrices) String() string

func (*EventSetStorkPrices) Unmarshal added in v1.51.0

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

func (*EventSetStorkPrices) XXX_DiscardUnknown added in v1.51.0

func (m *EventSetStorkPrices) XXX_DiscardUnknown()

func (*EventSetStorkPrices) XXX_Marshal added in v1.51.0

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

func (*EventSetStorkPrices) XXX_Merge added in v1.51.0

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

func (*EventSetStorkPrices) XXX_Size added in v1.51.0

func (m *EventSetStorkPrices) XXX_Size() int

func (*EventSetStorkPrices) XXX_Unmarshal added in v1.51.0

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

type GenesisState

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

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

func (*GenesisState) GetStorkPriceStates added in v1.51.0

func (m *GenesisState) GetStorkPriceStates() []*StorkPriceState

func (*GenesisState) GetStorkPublishers added in v1.51.0

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

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

type GrantStorkPublisherPrivilegeProposal 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"`
	StorkPublishers []string `protobuf:"bytes,3,rep,name=stork_publishers,json=storkPublishers,proto3" json:"stork_publishers,omitempty"`
}

func (*GrantStorkPublisherPrivilegeProposal) Descriptor added in v1.51.0

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

func (*GrantStorkPublisherPrivilegeProposal) GetDescription added in v1.51.0

func (p *GrantStorkPublisherPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*GrantStorkPublisherPrivilegeProposal) GetTitle added in v1.51.0

GetTitle returns the title of this proposal.

func (*GrantStorkPublisherPrivilegeProposal) Marshal added in v1.51.0

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

func (*GrantStorkPublisherPrivilegeProposal) MarshalTo added in v1.51.0

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

func (*GrantStorkPublisherPrivilegeProposal) MarshalToSizedBuffer added in v1.51.0

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

func (*GrantStorkPublisherPrivilegeProposal) ProposalRoute added in v1.51.0

func (p *GrantStorkPublisherPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*GrantStorkPublisherPrivilegeProposal) ProposalType added in v1.51.0

func (p *GrantStorkPublisherPrivilegeProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*GrantStorkPublisherPrivilegeProposal) ProtoMessage added in v1.51.0

func (*GrantStorkPublisherPrivilegeProposal) ProtoMessage()

func (*GrantStorkPublisherPrivilegeProposal) Reset added in v1.51.0

func (*GrantStorkPublisherPrivilegeProposal) Size added in v1.51.0

func (*GrantStorkPublisherPrivilegeProposal) String added in v1.51.0

func (*GrantStorkPublisherPrivilegeProposal) Unmarshal added in v1.51.0

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

func (*GrantStorkPublisherPrivilegeProposal) ValidateBasic added in v1.51.0

func (p *GrantStorkPublisherPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*GrantStorkPublisherPrivilegeProposal) XXX_DiscardUnknown added in v1.51.0

func (m *GrantStorkPublisherPrivilegeProposal) XXX_DiscardUnknown()

func (*GrantStorkPublisherPrivilegeProposal) XXX_Marshal added in v1.51.0

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

func (*GrantStorkPublisherPrivilegeProposal) XXX_Merge added in v1.51.0

func (*GrantStorkPublisherPrivilegeProposal) XXX_Size added in v1.51.0

func (*GrantStorkPublisherPrivilegeProposal) XXX_Unmarshal added in v1.51.0

func (m *GrantStorkPublisherPrivilegeProposal) 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 LegacyBandInput added in v1.45.6

type LegacyBandInput bandprice.Input

func (LegacyBandInput) PriceMultiplier added in v1.45.6

func (in LegacyBandInput) PriceMultiplier() uint64

func (LegacyBandInput) PriceSymbols added in v1.45.6

func (in LegacyBandInput) PriceSymbols() []string

type LegacyBandOutput added in v1.45.6

type LegacyBandOutput bandprice.Output

func (LegacyBandOutput) Rate added in v1.45.6

func (out LegacyBandOutput) Rate(id int) uint64

func (LegacyBandOutput) Valid added in v1.45.6

func (out LegacyBandOutput) Valid(id int) bool

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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=mean,proto3,customtype=cosmossdk.io/math.LegacyDec" 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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=twap,proto3,customtype=cosmossdk.io/math.LegacyDec" 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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=min_price,json=minPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_price"`
	// MaxPrice refers to the largest individual raw price considered
	MaxPrice cosmossdk_io_math.LegacyDec `protobuf:"bytes,8,opt,name=max_price,json=maxPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"max_price"`
	// MedianPrice refers to the median individual raw price considered
	MedianPrice cosmossdk_io_math.LegacyDec `protobuf:"bytes,9,opt,name=median_price,json=medianPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"median_price"`
}

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)
	// RelayStorkMessage defines a method for relaying price message from
	// Stork API
	RelayStorkMessage(ctx context.Context, in *MsgRelayStorkPrices, opts ...grpc.CallOption) (*MsgRelayStorkPricesResponse, error)
	// RelayPythPrices defines a method for relaying rates from the Pyth contract
	RelayPythPrices(ctx context.Context, in *MsgRelayPythPrices, opts ...grpc.CallOption) (*MsgRelayPythPricesResponse, error)
	//  UpdateParams enables updating oracle module's params via governance
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 []cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,rep,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" 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   []cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,rep,name=prices,proto3,customtype=cosmossdk.io/math.LegacyDec" 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 MsgRelayPythPrices added in v1.45.0

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

MsgRelayPythPrices defines a SDK message for updating Pyth prices

func (*MsgRelayPythPrices) Descriptor added in v1.45.0

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

func (*MsgRelayPythPrices) GetSignBytes added in v1.45.0

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

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

func (MsgRelayPythPrices) GetSigners added in v1.45.0

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

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

func (*MsgRelayPythPrices) Marshal added in v1.45.0

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

func (*MsgRelayPythPrices) MarshalTo added in v1.45.0

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

func (*MsgRelayPythPrices) MarshalToSizedBuffer added in v1.45.0

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

func (*MsgRelayPythPrices) ProtoMessage added in v1.45.0

func (*MsgRelayPythPrices) ProtoMessage()

func (*MsgRelayPythPrices) Reset added in v1.45.0

func (m *MsgRelayPythPrices) Reset()

func (MsgRelayPythPrices) Route added in v1.45.0

func (msg MsgRelayPythPrices) Route() string

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

func (*MsgRelayPythPrices) Size added in v1.45.0

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

func (*MsgRelayPythPrices) String added in v1.45.0

func (m *MsgRelayPythPrices) String() string

func (MsgRelayPythPrices) Type added in v1.45.0

func (msg MsgRelayPythPrices) Type() string

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

func (*MsgRelayPythPrices) Unmarshal added in v1.45.0

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

func (MsgRelayPythPrices) ValidateBasic added in v1.45.0

func (msg MsgRelayPythPrices) ValidateBasic() error

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

func (*MsgRelayPythPrices) XXX_DiscardUnknown added in v1.45.0

func (m *MsgRelayPythPrices) XXX_DiscardUnknown()

func (*MsgRelayPythPrices) XXX_Marshal added in v1.45.0

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

func (*MsgRelayPythPrices) XXX_Merge added in v1.45.0

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

func (*MsgRelayPythPrices) XXX_Size added in v1.45.0

func (m *MsgRelayPythPrices) XXX_Size() int

func (*MsgRelayPythPrices) XXX_Unmarshal added in v1.45.0

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

type MsgRelayPythPricesResponse added in v1.45.0

type MsgRelayPythPricesResponse struct {
}

MsgRelayPythPricesResponse defines the Msg/RelayPythPrices response type.

func (*MsgRelayPythPricesResponse) Descriptor added in v1.45.0

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

func (*MsgRelayPythPricesResponse) Marshal added in v1.45.0

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

func (*MsgRelayPythPricesResponse) MarshalTo added in v1.45.0

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

func (*MsgRelayPythPricesResponse) MarshalToSizedBuffer added in v1.45.0

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

func (*MsgRelayPythPricesResponse) ProtoMessage added in v1.45.0

func (*MsgRelayPythPricesResponse) ProtoMessage()

func (*MsgRelayPythPricesResponse) Reset added in v1.45.0

func (m *MsgRelayPythPricesResponse) Reset()

func (*MsgRelayPythPricesResponse) Size added in v1.45.0

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

func (*MsgRelayPythPricesResponse) String added in v1.45.0

func (m *MsgRelayPythPricesResponse) String() string

func (*MsgRelayPythPricesResponse) Unmarshal added in v1.45.0

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

func (*MsgRelayPythPricesResponse) XXX_DiscardUnknown added in v1.45.0

func (m *MsgRelayPythPricesResponse) XXX_DiscardUnknown()

func (*MsgRelayPythPricesResponse) XXX_Marshal added in v1.45.0

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

func (*MsgRelayPythPricesResponse) XXX_Merge added in v1.45.0

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

func (*MsgRelayPythPricesResponse) XXX_Size added in v1.45.0

func (m *MsgRelayPythPricesResponse) XXX_Size() int

func (*MsgRelayPythPricesResponse) XXX_Unmarshal added in v1.45.0

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

type MsgRelayStorkPrices added in v1.51.0

type MsgRelayStorkPrices struct {
	Sender     string       `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	AssetPairs []*AssetPair `protobuf:"bytes,2,rep,name=asset_pairs,json=assetPairs,proto3" json:"asset_pairs,omitempty"`
}

MsgRelayStorkPrices defines a SDK message for relaying price message from Stork API.

func (*MsgRelayStorkPrices) Descriptor added in v1.51.0

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

func (*MsgRelayStorkPrices) GetSignBytes added in v1.51.0

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

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

func (MsgRelayStorkPrices) GetSigners added in v1.51.0

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

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

func (*MsgRelayStorkPrices) Marshal added in v1.51.0

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

func (*MsgRelayStorkPrices) MarshalTo added in v1.51.0

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

func (*MsgRelayStorkPrices) MarshalToSizedBuffer added in v1.51.0

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

func (*MsgRelayStorkPrices) ProtoMessage added in v1.51.0

func (*MsgRelayStorkPrices) ProtoMessage()

func (*MsgRelayStorkPrices) Reset added in v1.51.0

func (m *MsgRelayStorkPrices) Reset()

func (MsgRelayStorkPrices) Route added in v1.51.0

func (msg MsgRelayStorkPrices) Route() string

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

func (*MsgRelayStorkPrices) Size added in v1.51.0

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

func (*MsgRelayStorkPrices) String added in v1.51.0

func (m *MsgRelayStorkPrices) String() string

func (MsgRelayStorkPrices) Type added in v1.51.0

func (msg MsgRelayStorkPrices) Type() string

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

func (*MsgRelayStorkPrices) Unmarshal added in v1.51.0

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

func (MsgRelayStorkPrices) ValidateBasic added in v1.51.0

func (msg MsgRelayStorkPrices) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface for MsgRelayStorkPrices.

func (*MsgRelayStorkPrices) XXX_DiscardUnknown added in v1.51.0

func (m *MsgRelayStorkPrices) XXX_DiscardUnknown()

func (*MsgRelayStorkPrices) XXX_Marshal added in v1.51.0

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

func (*MsgRelayStorkPrices) XXX_Merge added in v1.51.0

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

func (*MsgRelayStorkPrices) XXX_Size added in v1.51.0

func (m *MsgRelayStorkPrices) XXX_Size() int

func (*MsgRelayStorkPrices) XXX_Unmarshal added in v1.51.0

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

type MsgRelayStorkPricesResponse added in v1.51.0

type MsgRelayStorkPricesResponse struct {
}

func (*MsgRelayStorkPricesResponse) Descriptor added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) Marshal added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) MarshalTo added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) MarshalToSizedBuffer added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) ProtoMessage added in v1.51.0

func (*MsgRelayStorkPricesResponse) ProtoMessage()

func (*MsgRelayStorkPricesResponse) Reset added in v1.51.0

func (m *MsgRelayStorkPricesResponse) Reset()

func (*MsgRelayStorkPricesResponse) Size added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) String added in v1.51.0

func (m *MsgRelayStorkPricesResponse) String() string

func (*MsgRelayStorkPricesResponse) Unmarshal added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) XXX_DiscardUnknown added in v1.51.0

func (m *MsgRelayStorkPricesResponse) XXX_DiscardUnknown()

func (*MsgRelayStorkPricesResponse) XXX_Marshal added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) XXX_Merge added in v1.51.0

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

func (*MsgRelayStorkPricesResponse) XXX_Size added in v1.51.0

func (m *MsgRelayStorkPricesResponse) XXX_Size() int

func (*MsgRelayStorkPricesResponse) XXX_Unmarshal added in v1.51.0

func (m *MsgRelayStorkPricesResponse) 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)
	// RelayStorkMessage defines a method for relaying price message from
	// Stork API
	RelayStorkMessage(context.Context, *MsgRelayStorkPrices) (*MsgRelayStorkPricesResponse, error)
	// RelayPythPrices defines a method for relaying rates from the Pyth contract
	RelayPythPrices(context.Context, *MsgRelayPythPrices) (*MsgRelayPythPricesResponse, error)
	//  UpdateParams enables updating oracle module's params via governance
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateParams added in v1.47.1

type MsgUpdateParams struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the oracle parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor added in v1.47.1

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

func (*MsgUpdateParams) GetAuthority added in v1.47.1

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v1.47.1

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSignBytes added in v1.47.1

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

func (MsgUpdateParams) GetSigners added in v1.47.1

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

func (*MsgUpdateParams) Marshal added in v1.47.1

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

func (*MsgUpdateParams) MarshalTo added in v1.47.1

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

func (*MsgUpdateParams) MarshalToSizedBuffer added in v1.47.1

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

func (*MsgUpdateParams) ProtoMessage added in v1.47.1

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v1.47.1

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route added in v1.47.1

func (msg MsgUpdateParams) Route() string

func (*MsgUpdateParams) Size added in v1.47.1

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

func (*MsgUpdateParams) String added in v1.47.1

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type added in v1.47.1

func (msg MsgUpdateParams) Type() string

func (*MsgUpdateParams) Unmarshal added in v1.47.1

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

func (MsgUpdateParams) ValidateBasic added in v1.47.1

func (msg MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown added in v1.47.1

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v1.47.1

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

func (*MsgUpdateParams) XXX_Merge added in v1.47.1

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

func (*MsgUpdateParams) XXX_Size added in v1.47.1

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v1.47.1

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

type MsgUpdateParamsResponse added in v1.47.1

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor added in v1.47.1

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

func (*MsgUpdateParamsResponse) Marshal added in v1.47.1

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

func (*MsgUpdateParamsResponse) MarshalTo added in v1.47.1

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v1.47.1

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

func (*MsgUpdateParamsResponse) ProtoMessage added in v1.47.1

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v1.47.1

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v1.47.1

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

func (*MsgUpdateParamsResponse) String added in v1.47.1

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v1.47.1

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v1.47.1

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v1.47.1

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

func (*MsgUpdateParamsResponse) XXX_Merge added in v1.47.1

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

func (*MsgUpdateParamsResponse) XXX_Size added in v1.47.1

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v1.47.1

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

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 */
}

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

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

func DecodeOracleInput added in v1.45.6

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

type OracleOutput added in v1.45.6

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

func DecodeOracleOutput added in v1.45.6

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

type OracleType

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

func GetOracleType

func GetOracleType(oracleTypeStr string) (OracleType, error)

func (OracleType) EnumDescriptor

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

func (OracleType) String

func (x OracleType) String() string

func (*OracleType) UnmarshalJSON

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

type ParamSet

type ParamSet interface {
	ParamSetPairs() ParamSetPairs
}

ParamSet defines an interface for structs containing parameters for a module

type ParamSetPair

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

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

func NewParamSetPair

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

NewParamSetPair creates a new ParamSetPair instance.

type ParamSetPairs

type ParamSetPairs []ParamSetPair

ParamSetPairs Slice of KeyFieldPair

type Params

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

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) GetPythContract added in v1.45.0

func (m *Params) GetPythContract() string

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs returns the parameter set pairs.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate performs basic validation on auction parameters.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type PortKeeper added in v1.23.7

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

PortKeeper defines the expected IBC port keeper

type PriceAttestation added in v1.45.0

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

func (*PriceAttestation) Descriptor added in v1.45.0

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

func (*PriceAttestation) GetConf added in v1.45.0

func (m *PriceAttestation) GetConf() uint64

func (*PriceAttestation) GetEmaConf added in v1.45.0

func (m *PriceAttestation) GetEmaConf() uint64

func (*PriceAttestation) GetEmaExpo added in v1.45.6

func (m *PriceAttestation) GetEmaExpo() int32

func (*PriceAttestation) GetEmaPrice added in v1.45.0

func (m *PriceAttestation) GetEmaPrice() int64

func (*PriceAttestation) GetExpo added in v1.45.0

func (m *PriceAttestation) GetExpo() int32

func (*PriceAttestation) GetPrice added in v1.45.0

func (m *PriceAttestation) GetPrice() int64

func (*PriceAttestation) GetPriceID added in v1.45.0

func (p *PriceAttestation) GetPriceID() string

func (*PriceAttestation) GetPriceIDHash added in v1.45.6

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

func (*PriceAttestation) GetPriceId added in v1.45.0

func (m *PriceAttestation) GetPriceId() string

func (*PriceAttestation) GetPublishTime added in v1.45.0

func (m *PriceAttestation) GetPublishTime() int64

func (*PriceAttestation) Marshal added in v1.45.0

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

func (*PriceAttestation) MarshalTo added in v1.45.0

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

func (*PriceAttestation) MarshalToSizedBuffer added in v1.45.0

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

func (*PriceAttestation) ProtoMessage added in v1.45.0

func (*PriceAttestation) ProtoMessage()

func (*PriceAttestation) Reset added in v1.45.0

func (m *PriceAttestation) Reset()

func (*PriceAttestation) Size added in v1.45.0

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

func (*PriceAttestation) String added in v1.45.0

func (m *PriceAttestation) String() string

func (*PriceAttestation) Unmarshal added in v1.45.0

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

func (*PriceAttestation) Validate added in v1.45.0

func (p *PriceAttestation) Validate() error

func (*PriceAttestation) XXX_DiscardUnknown added in v1.45.0

func (m *PriceAttestation) XXX_DiscardUnknown()

func (*PriceAttestation) XXX_Marshal added in v1.45.0

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

func (*PriceAttestation) XXX_Merge added in v1.45.0

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

func (*PriceAttestation) XXX_Size added in v1.45.0

func (m *PriceAttestation) XXX_Size() int

func (*PriceAttestation) XXX_Unmarshal added in v1.45.0

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

type PriceFeedInfo

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

func (*PriceFeedInfo) Descriptor

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

func (*PriceFeedInfo) GetBase

func (m *PriceFeedInfo) GetBase() string

func (*PriceFeedInfo) GetQuote

func (m *PriceFeedInfo) GetQuote() string

func (*PriceFeedInfo) Marshal

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

func (*PriceFeedInfo) MarshalTo

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

func (*PriceFeedInfo) MarshalToSizedBuffer

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

func (*PriceFeedInfo) ProtoMessage

func (*PriceFeedInfo) ProtoMessage()

func (*PriceFeedInfo) Reset

func (m *PriceFeedInfo) Reset()

func (*PriceFeedInfo) Size

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

func (*PriceFeedInfo) String

func (m *PriceFeedInfo) String() string

func (*PriceFeedInfo) Unmarshal

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

func (*PriceFeedInfo) XXX_DiscardUnknown

func (m *PriceFeedInfo) XXX_DiscardUnknown()

func (*PriceFeedInfo) XXX_Marshal

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

func (*PriceFeedInfo) XXX_Merge

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

func (*PriceFeedInfo) XXX_Size

func (m *PriceFeedInfo) XXX_Size() int

func (*PriceFeedInfo) XXX_Unmarshal

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

type PriceFeedPrice

type PriceFeedPrice struct {
	Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"`
}

func (*PriceFeedPrice) Descriptor

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

func (*PriceFeedPrice) Marshal

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

func (*PriceFeedPrice) MarshalTo

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

func (*PriceFeedPrice) MarshalToSizedBuffer

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

func (*PriceFeedPrice) ProtoMessage

func (*PriceFeedPrice) ProtoMessage()

func (*PriceFeedPrice) Reset

func (m *PriceFeedPrice) Reset()

func (*PriceFeedPrice) Size

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

func (*PriceFeedPrice) String

func (m *PriceFeedPrice) String() string

func (*PriceFeedPrice) Unmarshal

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

func (*PriceFeedPrice) XXX_DiscardUnknown

func (m *PriceFeedPrice) XXX_DiscardUnknown()

func (*PriceFeedPrice) XXX_Marshal

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

func (*PriceFeedPrice) XXX_Merge

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

func (*PriceFeedPrice) XXX_Size

func (m *PriceFeedPrice) XXX_Size() int

func (*PriceFeedPrice) XXX_Unmarshal

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

type PriceFeedState

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

func (*PriceFeedState) Descriptor

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

func (*PriceFeedState) GetBase

func (m *PriceFeedState) GetBase() string

func (*PriceFeedState) GetPriceState

func (m *PriceFeedState) GetPriceState() *PriceState

func (*PriceFeedState) GetQuote

func (m *PriceFeedState) GetQuote() string

func (*PriceFeedState) GetRelayers

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

func (*PriceFeedState) Marshal

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

func (*PriceFeedState) MarshalTo

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

func (*PriceFeedState) MarshalToSizedBuffer

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

func (*PriceFeedState) ProtoMessage

func (*PriceFeedState) ProtoMessage()

func (*PriceFeedState) Reset

func (m *PriceFeedState) Reset()

func (*PriceFeedState) Size

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

func (*PriceFeedState) String

func (m *PriceFeedState) String() string

func (*PriceFeedState) Unmarshal

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

func (*PriceFeedState) XXX_DiscardUnknown

func (m *PriceFeedState) XXX_DiscardUnknown()

func (*PriceFeedState) XXX_Marshal

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

func (*PriceFeedState) XXX_Merge

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

func (*PriceFeedState) XXX_Size

func (m *PriceFeedState) XXX_Size() int

func (*PriceFeedState) XXX_Unmarshal

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

type PricePairState added in v1.43.1

type PricePairState struct {
	PairPrice            cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=pair_price,json=pairPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"pair_price"`
	BasePrice            cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=base_price,json=basePrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"base_price"`
	QuotePrice           cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=quote_price,json=quotePrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"quote_price"`
	BaseCumulativePrice  cosmossdk_io_math.LegacyDec `` /* 149-byte string literal not displayed */
	QuoteCumulativePrice cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */
	BaseTimestamp        int64                       `protobuf:"varint,6,opt,name=base_timestamp,json=baseTimestamp,proto3" json:"base_timestamp,omitempty"`
	QuoteTimestamp       int64                       `protobuf:"varint,7,opt,name=quote_timestamp,json=quoteTimestamp,proto3" json:"quote_timestamp,omitempty"`
}

func (*PricePairState) Descriptor added in v1.43.1

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

func (*PricePairState) GetBaseTimestamp added in v1.43.1

func (m *PricePairState) GetBaseTimestamp() int64

func (*PricePairState) GetQuoteTimestamp added in v1.43.1

func (m *PricePairState) GetQuoteTimestamp() int64

func (*PricePairState) Marshal added in v1.43.1

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

func (*PricePairState) MarshalTo added in v1.43.1

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

func (*PricePairState) MarshalToSizedBuffer added in v1.43.1

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

func (*PricePairState) ProtoMessage added in v1.43.1

func (*PricePairState) ProtoMessage()

func (*PricePairState) Reset added in v1.43.1

func (m *PricePairState) Reset()

func (*PricePairState) Size added in v1.43.1

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

func (*PricePairState) String added in v1.43.1

func (m *PricePairState) String() string

func (*PricePairState) Unmarshal added in v1.43.1

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

func (*PricePairState) XXX_DiscardUnknown added in v1.43.1

func (m *PricePairState) XXX_DiscardUnknown()

func (*PricePairState) XXX_Marshal added in v1.43.1

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

func (*PricePairState) XXX_Merge added in v1.43.1

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

func (*PricePairState) XXX_Size added in v1.43.1

func (m *PricePairState) XXX_Size() int

func (*PricePairState) XXX_Unmarshal added in v1.43.1

func (m *PricePairState) 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     cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" 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           cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"`
	CumulativePrice cosmossdk_io_math.LegacyDec `` /* 135-byte string literal not displayed */
	Timestamp       int64                       `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func NewPriceState

func NewPriceState(price math.LegacyDec, 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 math.LegacyDec, 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 math.LegacyDec, 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 PythPriceState added in v1.45.0

type PythPriceState struct {
	PriceId     string                      `protobuf:"bytes,1,opt,name=price_id,json=priceId,proto3" json:"price_id,omitempty"`
	EmaPrice    cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=ema_price,json=emaPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"ema_price"`
	EmaConf     cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=ema_conf,json=emaConf,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"ema_conf"`
	Conf        cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=conf,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"conf"`
	PublishTime uint64                      `protobuf:"varint,5,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
	PriceState  PriceState                  `protobuf:"bytes,6,opt,name=price_state,json=priceState,proto3" json:"price_state"`
}

func NewPythPriceState added in v1.45.0

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

func (*PythPriceState) Descriptor added in v1.45.0

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

func (*PythPriceState) GetPriceId added in v1.45.0

func (m *PythPriceState) GetPriceId() string

func (*PythPriceState) GetPriceState added in v1.45.0

func (m *PythPriceState) GetPriceState() PriceState

func (*PythPriceState) GetPublishTime added in v1.45.0

func (m *PythPriceState) GetPublishTime() uint64

func (*PythPriceState) Marshal added in v1.45.0

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

func (*PythPriceState) MarshalTo added in v1.45.0

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

func (*PythPriceState) MarshalToSizedBuffer added in v1.45.0

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

func (*PythPriceState) ProtoMessage added in v1.45.0

func (*PythPriceState) ProtoMessage()

func (*PythPriceState) Reset added in v1.45.0

func (m *PythPriceState) Reset()

func (*PythPriceState) Size added in v1.45.0

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

func (*PythPriceState) String added in v1.45.0

func (m *PythPriceState) String() string

func (*PythPriceState) Unmarshal added in v1.45.0

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

func (*PythPriceState) Update added in v1.45.0

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

func (*PythPriceState) XXX_DiscardUnknown added in v1.45.0

func (m *PythPriceState) XXX_DiscardUnknown()

func (*PythPriceState) XXX_Marshal added in v1.45.0

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

func (*PythPriceState) XXX_Merge added in v1.45.0

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

func (*PythPriceState) XXX_Size added in v1.45.0

func (m *PythPriceState) XXX_Size() int

func (*PythPriceState) XXX_Unmarshal added in v1.45.0

func (m *PythPriceState) 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 pyth price feeds
	PythPriceStates(ctx context.Context, in *QueryPythPriceStatesRequest, opts ...grpc.CallOption) (*QueryPythPriceStatesResponse, error)
	// Retrieves the state for all stork price feeds
	StorkPriceStates(ctx context.Context, in *QueryStorkPriceStatesRequest, opts ...grpc.CallOption) (*QueryStorkPriceStatesResponse, error)
	// Retrieves all stork publishers
	StorkPublishers(ctx context.Context, in *QueryStorkPublishersRequest, opts ...grpc.CallOption) (*QueryStorkPublishersResponse, error)
	// Retrieves the state for all provider price feeds
	ProviderPriceState(ctx context.Context, in *QueryProviderPriceStateRequest, opts ...grpc.CallOption) (*QueryProviderPriceStateResponse, error)
	// Retrieves the entire oracle module's state
	OracleModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error)
	// Retrieves historical price records for a given OracleType and Symbol
	HistoricalPriceRecords(ctx context.Context, in *QueryHistoricalPriceRecordsRequest, opts ...grpc.CallOption) (*QueryHistoricalPriceRecordsResponse, error)
	// Retrieves mixed volatility value for the specified pair of base/quote
	OracleVolatility(ctx context.Context, in *QueryOracleVolatilityRequest, opts ...grpc.CallOption) (*QueryOracleVolatilityResponse, error)
	OracleProvidersInfo(ctx context.Context, in *QueryOracleProvidersInfoRequest, opts ...grpc.CallOption) (*QueryOracleProvidersInfoResponse, error)
	OracleProviderPrices(ctx context.Context, in *QueryOracleProviderPricesRequest, opts ...grpc.CallOption) (*QueryOracleProviderPricesResponse, error)
	OraclePrice(ctx context.Context, in *QueryOraclePriceRequest, opts ...grpc.CallOption) (*QueryOraclePriceResponse, error)
	PythPrice(ctx context.Context, in *QueryPythPriceRequest, opts ...grpc.CallOption) (*QueryPythPriceResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCoinbasePriceStatesRequest

type QueryCoinbasePriceStatesRequest struct {
}

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

func (*QueryCoinbasePriceStatesRequest) Descriptor

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

func (*QueryCoinbasePriceStatesRequest) Marshal

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

func (*QueryCoinbasePriceStatesRequest) MarshalTo

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

func (*QueryCoinbasePriceStatesRequest) MarshalToSizedBuffer

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

func (*QueryCoinbasePriceStatesRequest) ProtoMessage

func (*QueryCoinbasePriceStatesRequest) ProtoMessage()

func (*QueryCoinbasePriceStatesRequest) Reset

func (*QueryCoinbasePriceStatesRequest) Size

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

func (*QueryCoinbasePriceStatesRequest) String

func (*QueryCoinbasePriceStatesRequest) Unmarshal

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

func (*QueryCoinbasePriceStatesRequest) XXX_DiscardUnknown

func (m *QueryCoinbasePriceStatesRequest) XXX_DiscardUnknown()

func (*QueryCoinbasePriceStatesRequest) XXX_Marshal

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

func (*QueryCoinbasePriceStatesRequest) XXX_Merge

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

func (*QueryCoinbasePriceStatesRequest) XXX_Size

func (m *QueryCoinbasePriceStatesRequest) XXX_Size() int

func (*QueryCoinbasePriceStatesRequest) XXX_Unmarshal

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

type QueryCoinbasePriceStatesResponse

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

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

func (*QueryCoinbasePriceStatesResponse) Descriptor

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

func (*QueryCoinbasePriceStatesResponse) GetPriceStates

func (*QueryCoinbasePriceStatesResponse) Marshal

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

func (*QueryCoinbasePriceStatesResponse) MarshalTo

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

func (*QueryCoinbasePriceStatesResponse) MarshalToSizedBuffer

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

func (*QueryCoinbasePriceStatesResponse) ProtoMessage

func (*QueryCoinbasePriceStatesResponse) ProtoMessage()

func (*QueryCoinbasePriceStatesResponse) Reset

func (*QueryCoinbasePriceStatesResponse) Size

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

func (*QueryCoinbasePriceStatesResponse) String

func (*QueryCoinbasePriceStatesResponse) Unmarshal

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

func (*QueryCoinbasePriceStatesResponse) XXX_DiscardUnknown

func (m *QueryCoinbasePriceStatesResponse) XXX_DiscardUnknown()

func (*QueryCoinbasePriceStatesResponse) XXX_Marshal

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

func (*QueryCoinbasePriceStatesResponse) XXX_Merge

func (*QueryCoinbasePriceStatesResponse) XXX_Size

func (m *QueryCoinbasePriceStatesResponse) XXX_Size() int

func (*QueryCoinbasePriceStatesResponse) XXX_Unmarshal

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

type QueryHistoricalPriceRecordsRequest 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 QueryOraclePriceRequest added in v1.43.1

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

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

func (*QueryOraclePriceRequest) Descriptor added in v1.43.1

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

func (*QueryOraclePriceRequest) GetBase added in v1.43.1

func (m *QueryOraclePriceRequest) GetBase() string

func (*QueryOraclePriceRequest) GetOracleType added in v1.43.1

func (m *QueryOraclePriceRequest) GetOracleType() OracleType

func (*QueryOraclePriceRequest) GetQuote added in v1.43.1

func (m *QueryOraclePriceRequest) GetQuote() string

func (*QueryOraclePriceRequest) GetScalingOptions added in v1.51.0

func (m *QueryOraclePriceRequest) GetScalingOptions() *ScalingOptions

func (*QueryOraclePriceRequest) Marshal added in v1.43.1

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

func (*QueryOraclePriceRequest) MarshalTo added in v1.43.1

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

func (*QueryOraclePriceRequest) MarshalToSizedBuffer added in v1.43.1

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

func (*QueryOraclePriceRequest) ProtoMessage added in v1.43.1

func (*QueryOraclePriceRequest) ProtoMessage()

func (*QueryOraclePriceRequest) Reset added in v1.43.1

func (m *QueryOraclePriceRequest) Reset()

func (*QueryOraclePriceRequest) Size added in v1.43.1

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

func (*QueryOraclePriceRequest) String added in v1.43.1

func (m *QueryOraclePriceRequest) String() string

func (*QueryOraclePriceRequest) Unmarshal added in v1.43.1

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

func (*QueryOraclePriceRequest) XXX_DiscardUnknown added in v1.43.1

func (m *QueryOraclePriceRequest) XXX_DiscardUnknown()

func (*QueryOraclePriceRequest) XXX_Marshal added in v1.43.1

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

func (*QueryOraclePriceRequest) XXX_Merge added in v1.43.1

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

func (*QueryOraclePriceRequest) XXX_Size added in v1.43.1

func (m *QueryOraclePriceRequest) XXX_Size() int

func (*QueryOraclePriceRequest) XXX_Unmarshal added in v1.43.1

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

type QueryOraclePriceResponse added in v1.43.1

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

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

func (*QueryOraclePriceResponse) Descriptor added in v1.43.1

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

func (*QueryOraclePriceResponse) GetPricePairState added in v1.43.1

func (m *QueryOraclePriceResponse) GetPricePairState() *PricePairState

func (*QueryOraclePriceResponse) Marshal added in v1.43.1

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

func (*QueryOraclePriceResponse) MarshalTo added in v1.43.1

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

func (*QueryOraclePriceResponse) MarshalToSizedBuffer added in v1.43.1

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

func (*QueryOraclePriceResponse) ProtoMessage added in v1.43.1

func (*QueryOraclePriceResponse) ProtoMessage()

func (*QueryOraclePriceResponse) Reset added in v1.43.1

func (m *QueryOraclePriceResponse) Reset()

func (*QueryOraclePriceResponse) Size added in v1.43.1

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

func (*QueryOraclePriceResponse) String added in v1.43.1

func (m *QueryOraclePriceResponse) String() string

func (*QueryOraclePriceResponse) Unmarshal added in v1.43.1

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

func (*QueryOraclePriceResponse) XXX_DiscardUnknown added in v1.43.1

func (m *QueryOraclePriceResponse) XXX_DiscardUnknown()

func (*QueryOraclePriceResponse) XXX_Marshal added in v1.43.1

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

func (*QueryOraclePriceResponse) XXX_Merge added in v1.43.1

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

func (*QueryOraclePriceResponse) XXX_Size added in v1.43.1

func (m *QueryOraclePriceResponse) XXX_Size() int

func (*QueryOraclePriceResponse) XXX_Unmarshal added in v1.43.1

func (m *QueryOraclePriceResponse) 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      *cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=volatility,proto3,customtype=cosmossdk.io/math.LegacyDec" 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 QueryPythPriceRequest added in v1.45.0

type QueryPythPriceRequest struct {
	PriceId string `protobuf:"bytes,1,opt,name=price_id,json=priceId,proto3" json:"price_id,omitempty"`
}

func (*QueryPythPriceRequest) Descriptor added in v1.45.0

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

func (*QueryPythPriceRequest) GetPriceId added in v1.45.0

func (m *QueryPythPriceRequest) GetPriceId() string

func (*QueryPythPriceRequest) Marshal added in v1.45.0

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

func (*QueryPythPriceRequest) MarshalTo added in v1.45.0

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

func (*QueryPythPriceRequest) MarshalToSizedBuffer added in v1.45.0

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

func (*QueryPythPriceRequest) ProtoMessage added in v1.45.0

func (*QueryPythPriceRequest) ProtoMessage()

func (*QueryPythPriceRequest) Reset added in v1.45.0

func (m *QueryPythPriceRequest) Reset()

func (*QueryPythPriceRequest) Size added in v1.45.0

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

func (*QueryPythPriceRequest) String added in v1.45.0

func (m *QueryPythPriceRequest) String() string

func (*QueryPythPriceRequest) Unmarshal added in v1.45.0

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

func (*QueryPythPriceRequest) XXX_DiscardUnknown added in v1.45.0

func (m *QueryPythPriceRequest) XXX_DiscardUnknown()

func (*QueryPythPriceRequest) XXX_Marshal added in v1.45.0

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

func (*QueryPythPriceRequest) XXX_Merge added in v1.45.0

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

func (*QueryPythPriceRequest) XXX_Size added in v1.45.0

func (m *QueryPythPriceRequest) XXX_Size() int

func (*QueryPythPriceRequest) XXX_Unmarshal added in v1.45.0

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

type QueryPythPriceResponse added in v1.45.0

type QueryPythPriceResponse struct {
	PriceState *PythPriceState `protobuf:"bytes,1,opt,name=price_state,json=priceState,proto3" json:"price_state,omitempty"`
}

func (*QueryPythPriceResponse) Descriptor added in v1.45.0

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

func (*QueryPythPriceResponse) GetPriceState added in v1.45.0

func (m *QueryPythPriceResponse) GetPriceState() *PythPriceState

func (*QueryPythPriceResponse) Marshal added in v1.45.0

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

func (*QueryPythPriceResponse) MarshalTo added in v1.45.0

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

func (*QueryPythPriceResponse) MarshalToSizedBuffer added in v1.45.0

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

func (*QueryPythPriceResponse) ProtoMessage added in v1.45.0

func (*QueryPythPriceResponse) ProtoMessage()

func (*QueryPythPriceResponse) Reset added in v1.45.0

func (m *QueryPythPriceResponse) Reset()

func (*QueryPythPriceResponse) Size added in v1.45.0

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

func (*QueryPythPriceResponse) String added in v1.45.0

func (m *QueryPythPriceResponse) String() string

func (*QueryPythPriceResponse) Unmarshal added in v1.45.0

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

func (*QueryPythPriceResponse) XXX_DiscardUnknown added in v1.45.0

func (m *QueryPythPriceResponse) XXX_DiscardUnknown()

func (*QueryPythPriceResponse) XXX_Marshal added in v1.45.0

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

func (*QueryPythPriceResponse) XXX_Merge added in v1.45.0

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

func (*QueryPythPriceResponse) XXX_Size added in v1.45.0

func (m *QueryPythPriceResponse) XXX_Size() int

func (*QueryPythPriceResponse) XXX_Unmarshal added in v1.45.0

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

type QueryPythPriceStatesRequest added in v1.45.0

type QueryPythPriceStatesRequest struct {
}

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

func (*QueryPythPriceStatesRequest) Descriptor added in v1.45.0

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

func (*QueryPythPriceStatesRequest) Marshal added in v1.45.0

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

func (*QueryPythPriceStatesRequest) MarshalTo added in v1.45.0

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

func (*QueryPythPriceStatesRequest) MarshalToSizedBuffer added in v1.45.0

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

func (*QueryPythPriceStatesRequest) ProtoMessage added in v1.45.0

func (*QueryPythPriceStatesRequest) ProtoMessage()

func (*QueryPythPriceStatesRequest) Reset added in v1.45.0

func (m *QueryPythPriceStatesRequest) Reset()

func (*QueryPythPriceStatesRequest) Size added in v1.45.0

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

func (*QueryPythPriceStatesRequest) String added in v1.45.0

func (m *QueryPythPriceStatesRequest) String() string

func (*QueryPythPriceStatesRequest) Unmarshal added in v1.45.0

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

func (*QueryPythPriceStatesRequest) XXX_DiscardUnknown added in v1.45.0

func (m *QueryPythPriceStatesRequest) XXX_DiscardUnknown()

func (*QueryPythPriceStatesRequest) XXX_Marshal added in v1.45.0

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

func (*QueryPythPriceStatesRequest) XXX_Merge added in v1.45.0

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

func (*QueryPythPriceStatesRequest) XXX_Size added in v1.45.0

func (m *QueryPythPriceStatesRequest) XXX_Size() int

func (*QueryPythPriceStatesRequest) XXX_Unmarshal added in v1.45.0

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

type QueryPythPriceStatesResponse added in v1.45.0

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

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

func (*QueryPythPriceStatesResponse) Descriptor added in v1.45.0

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

func (*QueryPythPriceStatesResponse) GetPriceStates added in v1.45.0

func (m *QueryPythPriceStatesResponse) GetPriceStates() []*PythPriceState

func (*QueryPythPriceStatesResponse) Marshal added in v1.45.0

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

func (*QueryPythPriceStatesResponse) MarshalTo added in v1.45.0

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

func (*QueryPythPriceStatesResponse) MarshalToSizedBuffer added in v1.45.0

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

func (*QueryPythPriceStatesResponse) ProtoMessage added in v1.45.0

func (*QueryPythPriceStatesResponse) ProtoMessage()

func (*QueryPythPriceStatesResponse) Reset added in v1.45.0

func (m *QueryPythPriceStatesResponse) Reset()

func (*QueryPythPriceStatesResponse) Size added in v1.45.0

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

func (*QueryPythPriceStatesResponse) String added in v1.45.0

func (*QueryPythPriceStatesResponse) Unmarshal added in v1.45.0

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

func (*QueryPythPriceStatesResponse) XXX_DiscardUnknown added in v1.45.0

func (m *QueryPythPriceStatesResponse) XXX_DiscardUnknown()

func (*QueryPythPriceStatesResponse) XXX_Marshal added in v1.45.0

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

func (*QueryPythPriceStatesResponse) XXX_Merge added in v1.45.0

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

func (*QueryPythPriceStatesResponse) XXX_Size added in v1.45.0

func (m *QueryPythPriceStatesResponse) XXX_Size() int

func (*QueryPythPriceStatesResponse) XXX_Unmarshal added in v1.45.0

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

type QueryServer

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

QueryServer is the server API for Query service.

type QueryStorkPriceStatesRequest added in v1.51.0

type QueryStorkPriceStatesRequest struct {
}

QueryStorkPriceStatesRequest is the request type for the Query/StorkPriceStates RPC method.

func (*QueryStorkPriceStatesRequest) Descriptor added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) Marshal added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) MarshalTo added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) MarshalToSizedBuffer added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) ProtoMessage added in v1.51.0

func (*QueryStorkPriceStatesRequest) ProtoMessage()

func (*QueryStorkPriceStatesRequest) Reset added in v1.51.0

func (m *QueryStorkPriceStatesRequest) Reset()

func (*QueryStorkPriceStatesRequest) Size added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) String added in v1.51.0

func (*QueryStorkPriceStatesRequest) Unmarshal added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) XXX_DiscardUnknown added in v1.51.0

func (m *QueryStorkPriceStatesRequest) XXX_DiscardUnknown()

func (*QueryStorkPriceStatesRequest) XXX_Marshal added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) XXX_Merge added in v1.51.0

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

func (*QueryStorkPriceStatesRequest) XXX_Size added in v1.51.0

func (m *QueryStorkPriceStatesRequest) XXX_Size() int

func (*QueryStorkPriceStatesRequest) XXX_Unmarshal added in v1.51.0

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

type QueryStorkPriceStatesResponse added in v1.51.0

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

QueryStorkPriceStatesResponse is the response type for the Query/StorkPriceStates RPC method.

func (*QueryStorkPriceStatesResponse) Descriptor added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) GetPriceStates added in v1.51.0

func (m *QueryStorkPriceStatesResponse) GetPriceStates() []*StorkPriceState

func (*QueryStorkPriceStatesResponse) Marshal added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) MarshalTo added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) MarshalToSizedBuffer added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) ProtoMessage added in v1.51.0

func (*QueryStorkPriceStatesResponse) ProtoMessage()

func (*QueryStorkPriceStatesResponse) Reset added in v1.51.0

func (m *QueryStorkPriceStatesResponse) Reset()

func (*QueryStorkPriceStatesResponse) Size added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) String added in v1.51.0

func (*QueryStorkPriceStatesResponse) Unmarshal added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) XXX_DiscardUnknown added in v1.51.0

func (m *QueryStorkPriceStatesResponse) XXX_DiscardUnknown()

func (*QueryStorkPriceStatesResponse) XXX_Marshal added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) XXX_Merge added in v1.51.0

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

func (*QueryStorkPriceStatesResponse) XXX_Size added in v1.51.0

func (m *QueryStorkPriceStatesResponse) XXX_Size() int

func (*QueryStorkPriceStatesResponse) XXX_Unmarshal added in v1.51.0

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

type QueryStorkPublishersRequest added in v1.51.0

type QueryStorkPublishersRequest struct {
}

QueryStorkPublishersRequest is the request type for the Query/StorkPublishers RPC method.

func (*QueryStorkPublishersRequest) Descriptor added in v1.51.0

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

func (*QueryStorkPublishersRequest) Marshal added in v1.51.0

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

func (*QueryStorkPublishersRequest) MarshalTo added in v1.51.0

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

func (*QueryStorkPublishersRequest) MarshalToSizedBuffer added in v1.51.0

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

func (*QueryStorkPublishersRequest) ProtoMessage added in v1.51.0

func (*QueryStorkPublishersRequest) ProtoMessage()

func (*QueryStorkPublishersRequest) Reset added in v1.51.0

func (m *QueryStorkPublishersRequest) Reset()

func (*QueryStorkPublishersRequest) Size added in v1.51.0

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

func (*QueryStorkPublishersRequest) String added in v1.51.0

func (m *QueryStorkPublishersRequest) String() string

func (*QueryStorkPublishersRequest) Unmarshal added in v1.51.0

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

func (*QueryStorkPublishersRequest) XXX_DiscardUnknown added in v1.51.0

func (m *QueryStorkPublishersRequest) XXX_DiscardUnknown()

func (*QueryStorkPublishersRequest) XXX_Marshal added in v1.51.0

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

func (*QueryStorkPublishersRequest) XXX_Merge added in v1.51.0

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

func (*QueryStorkPublishersRequest) XXX_Size added in v1.51.0

func (m *QueryStorkPublishersRequest) XXX_Size() int

func (*QueryStorkPublishersRequest) XXX_Unmarshal added in v1.51.0

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

type QueryStorkPublishersResponse added in v1.51.0

type QueryStorkPublishersResponse struct {
	Publishers []string `protobuf:"bytes,1,rep,name=publishers,proto3" json:"publishers,omitempty"`
}

QueryStorkPublishersResponse is the response type for the Query/StorkPublishers RPC method.

func (*QueryStorkPublishersResponse) Descriptor added in v1.51.0

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

func (*QueryStorkPublishersResponse) GetPublishers added in v1.51.0

func (m *QueryStorkPublishersResponse) GetPublishers() []string

func (*QueryStorkPublishersResponse) Marshal added in v1.51.0

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

func (*QueryStorkPublishersResponse) MarshalTo added in v1.51.0

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

func (*QueryStorkPublishersResponse) MarshalToSizedBuffer added in v1.51.0

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

func (*QueryStorkPublishersResponse) ProtoMessage added in v1.51.0

func (*QueryStorkPublishersResponse) ProtoMessage()

func (*QueryStorkPublishersResponse) Reset added in v1.51.0

func (m *QueryStorkPublishersResponse) Reset()

func (*QueryStorkPublishersResponse) Size added in v1.51.0

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

func (*QueryStorkPublishersResponse) String added in v1.51.0

func (*QueryStorkPublishersResponse) Unmarshal added in v1.51.0

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

func (*QueryStorkPublishersResponse) XXX_DiscardUnknown added in v1.51.0

func (m *QueryStorkPublishersResponse) XXX_DiscardUnknown()

func (*QueryStorkPublishersResponse) XXX_Marshal added in v1.51.0

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

func (*QueryStorkPublishersResponse) XXX_Merge added in v1.51.0

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

func (*QueryStorkPublishersResponse) XXX_Size added in v1.51.0

func (m *QueryStorkPublishersResponse) XXX_Size() int

func (*QueryStorkPublishersResponse) XXX_Unmarshal added in v1.51.0

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

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

type RevokeStorkPublisherPrivilegeProposal 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"`
	StorkPublishers []string `protobuf:"bytes,3,rep,name=stork_publishers,json=storkPublishers,proto3" json:"stork_publishers,omitempty"`
}

func (*RevokeStorkPublisherPrivilegeProposal) Descriptor added in v1.51.0

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

func (*RevokeStorkPublisherPrivilegeProposal) GetDescription added in v1.51.0

func (p *RevokeStorkPublisherPrivilegeProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*RevokeStorkPublisherPrivilegeProposal) GetTitle added in v1.51.0

GetTitle returns the title of this proposal.

func (*RevokeStorkPublisherPrivilegeProposal) Marshal added in v1.51.0

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

func (*RevokeStorkPublisherPrivilegeProposal) MarshalTo added in v1.51.0

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

func (*RevokeStorkPublisherPrivilegeProposal) MarshalToSizedBuffer added in v1.51.0

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

func (*RevokeStorkPublisherPrivilegeProposal) ProposalRoute added in v1.51.0

func (p *RevokeStorkPublisherPrivilegeProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*RevokeStorkPublisherPrivilegeProposal) ProposalType added in v1.51.0

ProposalType returns proposal type of this proposal.

func (*RevokeStorkPublisherPrivilegeProposal) ProtoMessage added in v1.51.0

func (*RevokeStorkPublisherPrivilegeProposal) ProtoMessage()

func (*RevokeStorkPublisherPrivilegeProposal) Reset added in v1.51.0

func (*RevokeStorkPublisherPrivilegeProposal) Size added in v1.51.0

func (*RevokeStorkPublisherPrivilegeProposal) String added in v1.51.0

func (*RevokeStorkPublisherPrivilegeProposal) Unmarshal added in v1.51.0

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

func (*RevokeStorkPublisherPrivilegeProposal) ValidateBasic added in v1.51.0

func (p *RevokeStorkPublisherPrivilegeProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*RevokeStorkPublisherPrivilegeProposal) XXX_DiscardUnknown added in v1.51.0

func (m *RevokeStorkPublisherPrivilegeProposal) XXX_DiscardUnknown()

func (*RevokeStorkPublisherPrivilegeProposal) XXX_Marshal added in v1.51.0

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

func (*RevokeStorkPublisherPrivilegeProposal) XXX_Merge added in v1.51.0

func (*RevokeStorkPublisherPrivilegeProposal) XXX_Size added in v1.51.0

func (*RevokeStorkPublisherPrivilegeProposal) XXX_Unmarshal added in v1.51.0

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

type ScalingOptions added in v1.51.0

type ScalingOptions struct {
	BaseDecimals  uint32 `protobuf:"varint,1,opt,name=base_decimals,json=baseDecimals,proto3" json:"base_decimals,omitempty"`
	QuoteDecimals uint32 `protobuf:"varint,2,opt,name=quote_decimals,json=quoteDecimals,proto3" json:"quote_decimals,omitempty"`
}

ScalingOptions defines optional configuration to avoid precision loss. The oracle result will be returned as base_price * 10^base_decimals / quote_price * 10^quote_decimals

func (*ScalingOptions) Descriptor added in v1.51.0

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

func (*ScalingOptions) GetBaseDecimals added in v1.51.0

func (m *ScalingOptions) GetBaseDecimals() uint32

func (*ScalingOptions) GetQuoteDecimals added in v1.51.0

func (m *ScalingOptions) GetQuoteDecimals() uint32

func (*ScalingOptions) Marshal added in v1.51.0

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

func (*ScalingOptions) MarshalTo added in v1.51.0

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

func (*ScalingOptions) MarshalToSizedBuffer added in v1.51.0

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

func (*ScalingOptions) ProtoMessage added in v1.51.0

func (*ScalingOptions) ProtoMessage()

func (*ScalingOptions) Reset added in v1.51.0

func (m *ScalingOptions) Reset()

func (*ScalingOptions) Size added in v1.51.0

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

func (*ScalingOptions) String added in v1.51.0

func (m *ScalingOptions) String() string

func (*ScalingOptions) Unmarshal added in v1.51.0

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

func (*ScalingOptions) XXX_DiscardUnknown added in v1.51.0

func (m *ScalingOptions) XXX_DiscardUnknown()

func (*ScalingOptions) XXX_Marshal added in v1.51.0

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

func (*ScalingOptions) XXX_Merge added in v1.51.0

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

func (*ScalingOptions) XXX_Size added in v1.51.0

func (m *ScalingOptions) XXX_Size() int

func (*ScalingOptions) XXX_Unmarshal added in v1.51.0

func (m *ScalingOptions) 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      []cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,rep,name=prices,proto3,customtype=cosmossdk.io/math.LegacyDec" 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       cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" 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    cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=cosmossdk.io/math.LegacyDec" 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     cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" 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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" 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    cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" 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 SignedPriceOfAssetPair added in v1.51.0

type SignedPriceOfAssetPair struct {
	PublisherKey string                      `protobuf:"bytes,1,opt,name=publisher_key,json=publisherKey,proto3" json:"publisher_key,omitempty"`
	Timestamp    uint64                      `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Price        cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"`
	Signature    []byte                      `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*SignedPriceOfAssetPair) Descriptor added in v1.51.0

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

func (*SignedPriceOfAssetPair) GetPublisherKey added in v1.51.0

func (m *SignedPriceOfAssetPair) GetPublisherKey() string

func (*SignedPriceOfAssetPair) GetSignature added in v1.51.0

func (m *SignedPriceOfAssetPair) GetSignature() []byte

func (*SignedPriceOfAssetPair) GetTimestamp added in v1.51.0

func (m *SignedPriceOfAssetPair) GetTimestamp() uint64

func (*SignedPriceOfAssetPair) Marshal added in v1.51.0

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

func (*SignedPriceOfAssetPair) MarshalTo added in v1.51.0

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

func (*SignedPriceOfAssetPair) MarshalToSizedBuffer added in v1.51.0

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

func (*SignedPriceOfAssetPair) ProtoMessage added in v1.51.0

func (*SignedPriceOfAssetPair) ProtoMessage()

func (*SignedPriceOfAssetPair) Reset added in v1.51.0

func (m *SignedPriceOfAssetPair) Reset()

func (*SignedPriceOfAssetPair) Size added in v1.51.0

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

func (*SignedPriceOfAssetPair) String added in v1.51.0

func (m *SignedPriceOfAssetPair) String() string

func (*SignedPriceOfAssetPair) Unmarshal added in v1.51.0

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

func (*SignedPriceOfAssetPair) XXX_DiscardUnknown added in v1.51.0

func (m *SignedPriceOfAssetPair) XXX_DiscardUnknown()

func (*SignedPriceOfAssetPair) XXX_Marshal added in v1.51.0

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

func (*SignedPriceOfAssetPair) XXX_Merge added in v1.51.0

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

func (*SignedPriceOfAssetPair) XXX_Size added in v1.51.0

func (m *SignedPriceOfAssetPair) XXX_Size() int

func (*SignedPriceOfAssetPair) XXX_Unmarshal added in v1.51.0

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

type StorkPriceState added in v1.51.0

type StorkPriceState struct {
	// timestamp of the when the price was signed by stork
	Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// the symbol of the price, e.g. BTC
	Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// the value of the price scaled by 1e18
	Value cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=value,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"value"`
	// the price state
	PriceState PriceState `protobuf:"bytes,5,opt,name=price_state,json=priceState,proto3" json:"price_state"`
}

func NewStorkPriceState added in v1.51.0

func NewStorkPriceState(
	price math.LegacyDec,
	timestamp uint64,
	symbol string,
	blockTime int64,
) *StorkPriceState

func (*StorkPriceState) Descriptor added in v1.51.0

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

func (*StorkPriceState) GetPriceState added in v1.51.0

func (m *StorkPriceState) GetPriceState() PriceState

func (*StorkPriceState) GetSymbol added in v1.51.0

func (m *StorkPriceState) GetSymbol() string

func (*StorkPriceState) GetTimestamp added in v1.51.0

func (m *StorkPriceState) GetTimestamp() uint64

func (*StorkPriceState) Marshal added in v1.51.0

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

func (*StorkPriceState) MarshalTo added in v1.51.0

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

func (*StorkPriceState) MarshalToSizedBuffer added in v1.51.0

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

func (*StorkPriceState) ProtoMessage added in v1.51.0

func (*StorkPriceState) ProtoMessage()

func (*StorkPriceState) Reset added in v1.51.0

func (m *StorkPriceState) Reset()

func (*StorkPriceState) Size added in v1.51.0

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

func (*StorkPriceState) String added in v1.51.0

func (m *StorkPriceState) String() string

func (*StorkPriceState) Unmarshal added in v1.51.0

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

func (*StorkPriceState) Update added in v1.51.0

func (s *StorkPriceState) Update(price math.LegacyDec, timestamp uint64, blockTime int64)

func (*StorkPriceState) XXX_DiscardUnknown added in v1.51.0

func (m *StorkPriceState) XXX_DiscardUnknown()

func (*StorkPriceState) XXX_Marshal added in v1.51.0

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

func (*StorkPriceState) XXX_Merge added in v1.51.0

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

func (*StorkPriceState) XXX_Size added in v1.51.0

func (m *StorkPriceState) XXX_Size() int

func (*StorkPriceState) XXX_Unmarshal added in v1.51.0

func (m *StorkPriceState) 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) RelayPythPrices added in v1.45.0

func (*UnimplementedMsgServer) RelayStorkMessage added in v1.51.0

func (*UnimplementedMsgServer) RequestBandIBCRates added in v1.23.7

func (*UnimplementedMsgServer) UpdateParams added in v1.47.1

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

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

func (*UnimplementedQueryServer) PythPrice added in v1.45.0

func (*UnimplementedQueryServer) PythPriceStates added in v1.45.0

func (*UnimplementedQueryServer) StorkPriceStates added in v1.51.0

func (*UnimplementedQueryServer) StorkPublishers added in v1.51.0

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"`
	DeleteRequestIds    []uint64           `protobuf:"varint,3,rep,packed,name=delete_request_ids,json=deleteRequestIds,proto3" json:"delete_request_ids,omitempty"`
	UpdateOracleRequest *BandOracleRequest `protobuf:"bytes,4,opt,name=update_oracle_request,json=updateOracleRequest,proto3" json:"update_oracle_request,omitempty"`
}

func (*UpdateBandOracleRequestProposal) Descriptor 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