Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type OracleVoteExtension
- func (*OracleVoteExtension) Descriptor() ([]byte, []int)deprecated
- func (x *OracleVoteExtension) GetDeprecatedPrices() map[string]string
- func (x *OracleVoteExtension) GetHeight() int64
- func (x *OracleVoteExtension) GetPrices() map[uint64][]byte
- func (x *OracleVoteExtension) GetTimestamp() *timestamppb.Timestamp
- func (*OracleVoteExtension) ProtoMessage()
- func (x *OracleVoteExtension) ProtoReflect() protoreflect.Message
- func (x *OracleVoteExtension) Reset()
- func (x *OracleVoteExtension) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_slinky_abci_v1_vote_extensions_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OracleVoteExtension ¶
type OracleVoteExtension struct { // Prices defines a map of id(CurrencyPair) -> price.Bytes() . i.e. 1 -> 0x123.. (bytes). // Notice the `id` function is determined by the `CurrencyPairIDStrategy` used in the // VoteExtensionHandler. Prices map[uint64][]byte `` /* 154-byte string literal not displayed */ // Timestamp defines the block timestamp when the oracle data was validated. Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Height defines the block height when the oracle data was validated. Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // DeprecatedPrices is to be deprecated, this is vestigial, and will be removed DeprecatedPrices map[string]string `` /* 197-byte string literal not displayed */ // contains filtered or unexported fields }
OracleVoteExtension defines the vote extension structure for oracle prices.
func (*OracleVoteExtension) Descriptor
deprecated
func (*OracleVoteExtension) Descriptor() ([]byte, []int)
Deprecated: Use OracleVoteExtension.ProtoReflect.Descriptor instead.
func (*OracleVoteExtension) GetDeprecatedPrices ¶
func (x *OracleVoteExtension) GetDeprecatedPrices() map[string]string
func (*OracleVoteExtension) GetHeight ¶
func (x *OracleVoteExtension) GetHeight() int64
func (*OracleVoteExtension) GetPrices ¶
func (x *OracleVoteExtension) GetPrices() map[uint64][]byte
func (*OracleVoteExtension) GetTimestamp ¶
func (x *OracleVoteExtension) GetTimestamp() *timestamppb.Timestamp
func (*OracleVoteExtension) ProtoMessage ¶
func (*OracleVoteExtension) ProtoMessage()
func (*OracleVoteExtension) ProtoReflect ¶
func (x *OracleVoteExtension) ProtoReflect() protoreflect.Message
func (*OracleVoteExtension) Reset ¶
func (x *OracleVoteExtension) Reset()
func (*OracleVoteExtension) String ¶
func (x *OracleVoteExtension) String() string
Click to show internal directories.
Click to hide internal directories.