Documentation ¶
Index ¶
- Variables
- type OracleVoteExtension
- func (*OracleVoteExtension) Descriptor() ([]byte, []int)
- func (m *OracleVoteExtension) GetPrices() map[uint64][]byte
- func (m *OracleVoteExtension) Marshal() (dAtA []byte, err error)
- func (m *OracleVoteExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleVoteExtension) ProtoMessage()
- func (m *OracleVoteExtension) Reset()
- func (m *OracleVoteExtension) Size() (n int)
- func (m *OracleVoteExtension) String() string
- func (m *OracleVoteExtension) Unmarshal(dAtA []byte) error
- func (m *OracleVoteExtension) XXX_DiscardUnknown()
- func (m *OracleVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleVoteExtension) XXX_Merge(src proto.Message)
- func (m *OracleVoteExtension) XXX_Size() int
- func (m *OracleVoteExtension) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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 */ }
OracleVoteExtension defines the vote extension structure for oracle prices.
func (*OracleVoteExtension) Descriptor ¶
func (*OracleVoteExtension) Descriptor() ([]byte, []int)
func (*OracleVoteExtension) GetPrices ¶
func (m *OracleVoteExtension) GetPrices() map[uint64][]byte
func (*OracleVoteExtension) Marshal ¶
func (m *OracleVoteExtension) Marshal() (dAtA []byte, err error)
func (*OracleVoteExtension) MarshalTo ¶
func (m *OracleVoteExtension) MarshalTo(dAtA []byte) (int, error)
func (*OracleVoteExtension) MarshalToSizedBuffer ¶
func (m *OracleVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleVoteExtension) ProtoMessage ¶
func (*OracleVoteExtension) ProtoMessage()
func (*OracleVoteExtension) Reset ¶
func (m *OracleVoteExtension) Reset()
func (*OracleVoteExtension) Size ¶
func (m *OracleVoteExtension) Size() (n int)
func (*OracleVoteExtension) String ¶
func (m *OracleVoteExtension) String() string
func (*OracleVoteExtension) Unmarshal ¶
func (m *OracleVoteExtension) Unmarshal(dAtA []byte) error
func (*OracleVoteExtension) XXX_DiscardUnknown ¶
func (m *OracleVoteExtension) XXX_DiscardUnknown()
func (*OracleVoteExtension) XXX_Marshal ¶
func (m *OracleVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleVoteExtension) XXX_Merge ¶
func (m *OracleVoteExtension) XXX_Merge(src proto.Message)
func (*OracleVoteExtension) XXX_Size ¶
func (m *OracleVoteExtension) XXX_Size() int
func (*OracleVoteExtension) XXX_Unmarshal ¶
func (m *OracleVoteExtension) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.