abciv1

package
v0.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL