types

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: LGPL-3.0 Imports: 36 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "oracle"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName
)
View Source
const (
	TypeMsgVote                    = "vote"
	TypeMsgPrevote                 = "prevote"
	TypeMsgFeederDelegationConsent = "feeder_delegation_consent"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrChainNotFound         = errorsmod.Register(ModuleName, 1000, "chain not found")
	ErrBlockDataNotFound     = errorsmod.Register(ModuleName, 1001, "block data not found")
	ErrNoVotingPermission    = errorsmod.Register(ModuleName, 1002, "no voting permission")
	ErrValidatorNotFound     = errorsmod.Register(ModuleName, 1003, "invalid validator")
	ErrRevealPeriodMissMatch = errorsmod.Register(ModuleName, 1004, "reveal period of submitted vote do not match with registered prevote")
	ErrInvalidVote           = errorsmod.Register(ModuleName, 1005, "invalid vote")
	ErrVotePeriodIsZero      = errorsmod.Register(ModuleName, 1006, "vote period is zero")
	ErrPrevotesNotAccepted   = errorsmod.Register(ModuleName, 1007, "prevotes are not accepted in this period")
	ErrInvalidParams         = errorsmod.Register(ModuleName, 1008, "invalid params")
	ErrInvalidValidator      = errorsmod.Register(ModuleName, 1009, "invalid validator")
	ErrInvalidFeeder         = errorsmod.Register(ModuleName, 1010, "invalid feeder")
)

x/oracle module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = 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 (
	BlockDataKeyPrefix        = []byte{0x00}
	FeederDelegationKeyPrefix = []byte{0x01}
	MissCountKeyPrefix        = []byte{0x02}
	AggregatePrevoteKeyPrefix = []byte{0x03}
	AggregateVoteKeyPrefix    = []byte{0x04}
	RoundKeyPrefix            = []byte{0x05}

	CurrentRoundBytes = []byte{0x00}
)
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 (
	KeyVotePeriod                 = []byte("VotePeriod")
	KeyVoteThreshold              = []byte("VoteThreshold")
	KeyToleratedErrorBand         = []byte("ToleratedErrorBand")
	KeyWhitelist                  = []byte("Whitelist")
	KeySlashFraction              = []byte("SlashFraction")
	KeySlashWindow                = []byte("SlashWindow")
	KeyMaxMissCountPerSlashWindow = []byte("MaxMissCountPerSlashWindow")
)
View Source
var (
	DefaultVotePeriod         = config.BlocksPerMinute    // 60 seconds
	DefaultVoteThreshold      = sdk.NewDecWithPrec(50, 2) // 50%
	DefaultToleratedErrorBand = uint64(2)
	DefaultWithlist           = []*Chain{
		{
			ChainId:   "1",
			ChainName: "Ethereum",
			ChainUrl:  "https://ethereum.org",
		},
	}
	DefaultSlashFraction              = sdk.NewDecWithPrec(1, 2) // 1%
	DefaultSlashWindow                = config.BlocksPerWeek     // a week
	DefaultMaxMissCountPerSlashWindow = uint64(60)               // 60 times
)
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 OralceTopic_name = map[int32]string{
	0: "BLOCK",
	1: "OWNERSHIP",
}
View Source
var OralceTopic_value = map[string]int32{
	"BLOCK":     0,
	"OWNERSHIP": 1,
}

Functions

func AggregatePrevoteKey

func AggregatePrevoteKey(validatorAddress string) []byte

func AggregateVoteKey

func AggregateVoteKey(validatorAddress string) []byte

func BlockDataKey

func BlockDataKey(chainId string) []byte

func CalculateRoundId added in v0.0.6

func CalculateRoundId(blockHeight int64, votePeriod uint64) uint64

func CalculateRoundStartHeight added in v0.3.0

func CalculateRoundStartHeight(blockHeight int64, votePeriod uint64) uint64

func CalculateVotePeriod added in v0.0.6

func CalculateVotePeriod(blockHeight int64, votePeriod uint64) (int64, int64)

func CurrentRoundKey added in v0.0.6

func CurrentRoundKey() []byte

func FeederDelegationKey

func FeederDelegationKey(validatorAddress string) []byte

func GetAggregateVoteHash

func GetAggregateVoteHash(voteData []*VoteData, salt string) (string, error)

GetAggregateVoteHash returns the hash of the aggregate vote from the block data string and salt

func IsLastBlockOfSlashWindow

func IsLastBlockOfSlashWindow(ctx sdk.Context, slashWindow uint64) bool

IsLastBlockOfSlashWindow returns true if we are at the last block of the slash slashWindow

func KeyPrefix

func KeyPrefix(p string) []byte

func MissCountKey

func MissCountKey(validatorAddress string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateVoteData added in v0.3.0

func ValidateVoteData(voteData []*VoteData, chainList []string) bool

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetModuleAddress(name string) sdk.AccAddress
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AggregatePrevote

type AggregatePrevote struct {
	Hash  string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
}

func (*AggregatePrevote) Descriptor

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

func (*AggregatePrevote) GetHash

func (m *AggregatePrevote) GetHash() string

func (*AggregatePrevote) GetVoter

func (m *AggregatePrevote) GetVoter() string

func (*AggregatePrevote) Marshal

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

func (*AggregatePrevote) MarshalTo

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

func (*AggregatePrevote) MarshalToSizedBuffer

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

func (*AggregatePrevote) ProtoMessage

func (*AggregatePrevote) ProtoMessage()

func (*AggregatePrevote) Reset

func (m *AggregatePrevote) Reset()

func (*AggregatePrevote) Size

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

func (*AggregatePrevote) String

func (m *AggregatePrevote) String() string

func (*AggregatePrevote) Unmarshal

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

func (*AggregatePrevote) XXX_DiscardUnknown

func (m *AggregatePrevote) XXX_DiscardUnknown()

func (*AggregatePrevote) XXX_Marshal

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

func (*AggregatePrevote) XXX_Merge

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

func (*AggregatePrevote) XXX_Size

func (m *AggregatePrevote) XXX_Size() int

func (*AggregatePrevote) XXX_Unmarshal

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

type AggregateVote

type AggregateVote struct {
	VoteData []*VoteData `protobuf:"bytes,1,rep,name=vote_data,json=voteData,proto3" json:"vote_data,omitempty"`
	Voter    string      `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
}

func (*AggregateVote) Descriptor

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

func (*AggregateVote) GetVoteData added in v0.3.0

func (m *AggregateVote) GetVoteData() []*VoteData

func (*AggregateVote) GetVoter

func (m *AggregateVote) GetVoter() string

func (*AggregateVote) Marshal

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

func (*AggregateVote) MarshalTo

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

func (*AggregateVote) MarshalToSizedBuffer

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

func (*AggregateVote) ProtoMessage

func (*AggregateVote) ProtoMessage()

func (*AggregateVote) Reset

func (m *AggregateVote) Reset()

func (*AggregateVote) Size

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

func (*AggregateVote) String

func (m *AggregateVote) String() string

func (*AggregateVote) Unmarshal

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

func (*AggregateVote) XXX_DiscardUnknown

func (m *AggregateVote) XXX_DiscardUnknown()

func (*AggregateVote) XXX_Marshal

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

func (*AggregateVote) XXX_Merge

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

func (*AggregateVote) XXX_Size

func (m *AggregateVote) XXX_Size() int

func (*AggregateVote) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type BlockData

type BlockData struct {
	ChainId     string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	BlockNumber int64  `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	BlockHash   string `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
}

func StringToBlockData added in v0.3.0

func StringToBlockData(voteString string) (string, BlockData, error)

func (*BlockData) Descriptor

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

func (*BlockData) GetBlockHash

func (m *BlockData) GetBlockHash() string

func (*BlockData) GetBlockNumber

func (m *BlockData) GetBlockNumber() int64

func (*BlockData) GetChainId

func (m *BlockData) GetChainId() string

func (*BlockData) Marshal

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

func (*BlockData) MarshalTo

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

func (*BlockData) MarshalToSizedBuffer

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

func (*BlockData) ProtoMessage

func (*BlockData) ProtoMessage()

func (*BlockData) Reset

func (m *BlockData) Reset()

func (*BlockData) Size

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

func (*BlockData) String

func (m *BlockData) String() string

func (*BlockData) Unmarshal

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

func (*BlockData) XXX_DiscardUnknown

func (m *BlockData) XXX_DiscardUnknown()

func (*BlockData) XXX_Marshal

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

func (*BlockData) XXX_Merge

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

func (*BlockData) XXX_Size

func (m *BlockData) XXX_Size() int

func (*BlockData) XXX_Unmarshal

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

type Chain

type Chain struct {
	ChainId   string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
	ChainUrl  string `protobuf:"bytes,3,opt,name=chain_url,json=chainUrl,proto3" json:"chain_url,omitempty"`
}

func (*Chain) Descriptor

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

func (*Chain) GetChainId

func (m *Chain) GetChainId() string

func (*Chain) GetChainName

func (m *Chain) GetChainName() string

func (*Chain) GetChainUrl

func (m *Chain) GetChainUrl() string

func (*Chain) Marshal

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

func (*Chain) MarshalTo

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

func (*Chain) MarshalToSizedBuffer

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

func (*Chain) ProtoMessage

func (*Chain) ProtoMessage()

func (*Chain) Reset

func (m *Chain) Reset()

func (*Chain) Size

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

func (*Chain) String

func (m *Chain) String() string

func (*Chain) Unmarshal

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

func (*Chain) XXX_DiscardUnknown

func (m *Chain) XXX_DiscardUnknown()

func (*Chain) XXX_Marshal

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

func (*Chain) XXX_Merge

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

func (*Chain) XXX_Size

func (m *Chain) XXX_Size() int

func (*Chain) XXX_Unmarshal

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

type Claim

type Claim struct {
	Weight  int64
	Miss    bool
	Abstain bool
}

Claim is an interface that directs its rewards to an attached bank account.

type DistributionKeeper

type DistributionKeeper interface {
	// AllocateTokensToValidator allocate tokens to a particular validator,
	// splitting according to commission.
	AllocateTokensToValidator(ctx sdk.Context, val stakingtypes.ValidatorI, tokens sdk.DecCoins)
}

DistributionKeeper defines the expected interface needed to manage validator reward distribution.

type EventFeederDelegationConsent

type EventFeederDelegationConsent struct {
	Feeder    string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
}

func (*EventFeederDelegationConsent) Descriptor

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

func (*EventFeederDelegationConsent) GetFeeder

func (m *EventFeederDelegationConsent) GetFeeder() string

func (*EventFeederDelegationConsent) GetValidator

func (m *EventFeederDelegationConsent) GetValidator() string

func (*EventFeederDelegationConsent) Marshal

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

func (*EventFeederDelegationConsent) MarshalTo

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

func (*EventFeederDelegationConsent) MarshalToSizedBuffer

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

func (*EventFeederDelegationConsent) ProtoMessage

func (*EventFeederDelegationConsent) ProtoMessage()

func (*EventFeederDelegationConsent) Reset

func (m *EventFeederDelegationConsent) Reset()

func (*EventFeederDelegationConsent) Size

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

func (*EventFeederDelegationConsent) String

func (*EventFeederDelegationConsent) Unmarshal

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

func (*EventFeederDelegationConsent) XXX_DiscardUnknown

func (m *EventFeederDelegationConsent) XXX_DiscardUnknown()

func (*EventFeederDelegationConsent) XXX_Marshal

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

func (*EventFeederDelegationConsent) XXX_Merge

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

func (*EventFeederDelegationConsent) XXX_Size

func (m *EventFeederDelegationConsent) XXX_Size() int

func (*EventFeederDelegationConsent) XXX_Unmarshal

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

type EventOracleConsensusFailed

type EventOracleConsensusFailed struct {
	ChainId     string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	BlockHeight int64  `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

func (*EventOracleConsensusFailed) Descriptor

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

func (*EventOracleConsensusFailed) GetBlockHeight

func (m *EventOracleConsensusFailed) GetBlockHeight() int64

func (*EventOracleConsensusFailed) GetChainId

func (m *EventOracleConsensusFailed) GetChainId() string

func (*EventOracleConsensusFailed) Marshal

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

func (*EventOracleConsensusFailed) MarshalTo

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

func (*EventOracleConsensusFailed) MarshalToSizedBuffer

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

func (*EventOracleConsensusFailed) ProtoMessage

func (*EventOracleConsensusFailed) ProtoMessage()

func (*EventOracleConsensusFailed) Reset

func (m *EventOracleConsensusFailed) Reset()

func (*EventOracleConsensusFailed) Size

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

func (*EventOracleConsensusFailed) String

func (m *EventOracleConsensusFailed) String() string

func (*EventOracleConsensusFailed) Unmarshal

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

func (*EventOracleConsensusFailed) XXX_DiscardUnknown

func (m *EventOracleConsensusFailed) XXX_DiscardUnknown()

func (*EventOracleConsensusFailed) XXX_Marshal

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

func (*EventOracleConsensusFailed) XXX_Merge

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

func (*EventOracleConsensusFailed) XXX_Size

func (m *EventOracleConsensusFailed) XXX_Size() int

func (*EventOracleConsensusFailed) XXX_Unmarshal

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

type EventPrevote

type EventPrevote struct {
	Feeder    string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	Hash      string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
}

func (*EventPrevote) Descriptor

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

func (*EventPrevote) GetFeeder

func (m *EventPrevote) GetFeeder() string

func (*EventPrevote) GetHash

func (m *EventPrevote) GetHash() string

func (*EventPrevote) GetValidator

func (m *EventPrevote) GetValidator() string

func (*EventPrevote) Marshal

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

func (*EventPrevote) MarshalTo

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

func (*EventPrevote) MarshalToSizedBuffer

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

func (*EventPrevote) ProtoMessage

func (*EventPrevote) ProtoMessage()

func (*EventPrevote) Reset

func (m *EventPrevote) Reset()

func (*EventPrevote) Size

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

func (*EventPrevote) String

func (m *EventPrevote) String() string

func (*EventPrevote) Unmarshal

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

func (*EventPrevote) XXX_DiscardUnknown

func (m *EventPrevote) XXX_DiscardUnknown()

func (*EventPrevote) XXX_Marshal

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

func (*EventPrevote) XXX_Merge

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

func (*EventPrevote) XXX_Size

func (m *EventPrevote) XXX_Size() int

func (*EventPrevote) XXX_Unmarshal

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

type EventVote

type EventVote struct {
	Feeder    string      `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	Validator string      `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	VoteData  []*VoteData `protobuf:"bytes,3,rep,name=vote_data,json=voteData,proto3" json:"vote_data,omitempty"`
}

func (*EventVote) Descriptor

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

func (*EventVote) GetFeeder

func (m *EventVote) GetFeeder() string

func (*EventVote) GetValidator

func (m *EventVote) GetValidator() string

func (*EventVote) GetVoteData added in v0.3.0

func (m *EventVote) GetVoteData() []*VoteData

func (*EventVote) Marshal

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

func (*EventVote) MarshalTo

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

func (*EventVote) MarshalToSizedBuffer

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

func (*EventVote) ProtoMessage

func (*EventVote) ProtoMessage()

func (*EventVote) Reset

func (m *EventVote) Reset()

func (*EventVote) Size

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

func (*EventVote) String

func (m *EventVote) String() string

func (*EventVote) Unmarshal

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

func (*EventVote) XXX_DiscardUnknown

func (m *EventVote) XXX_DiscardUnknown()

func (*EventVote) XXX_Marshal

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

func (*EventVote) XXX_Merge

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

func (*EventVote) XXX_Size

func (m *EventVote) XXX_Size() int

func (*EventVote) XXX_Unmarshal

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

type FeederDelegation

type FeederDelegation struct {
	FeederAddress    string `protobuf:"bytes,1,opt,name=feeder_address,json=feederAddress,proto3" json:"feeder_address,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

func (*FeederDelegation) Descriptor

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

func (*FeederDelegation) GetFeederAddress

func (m *FeederDelegation) GetFeederAddress() string

func (*FeederDelegation) GetValidatorAddress

func (m *FeederDelegation) GetValidatorAddress() string

func (*FeederDelegation) Marshal

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

func (*FeederDelegation) MarshalTo

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

func (*FeederDelegation) MarshalToSizedBuffer

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

func (*FeederDelegation) ProtoMessage

func (*FeederDelegation) ProtoMessage()

func (*FeederDelegation) Reset

func (m *FeederDelegation) Reset()

func (*FeederDelegation) Size

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

func (*FeederDelegation) String

func (m *FeederDelegation) String() string

func (*FeederDelegation) Unmarshal

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

func (*FeederDelegation) XXX_DiscardUnknown

func (m *FeederDelegation) XXX_DiscardUnknown()

func (*FeederDelegation) XXX_Marshal

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

func (*FeederDelegation) XXX_Merge

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

func (*FeederDelegation) XXX_Size

func (m *FeederDelegation) XXX_Size() int

func (*FeederDelegation) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params            Params             `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	BlockData         []BlockData        `protobuf:"bytes,2,rep,name=block_data,json=blockData,proto3" json:"block_data"`
	FeederDelegation  []FeederDelegation `protobuf:"bytes,3,rep,name=feeder_delegation,json=feederDelegation,proto3" json:"feeder_delegation"`
	MissCounts        []MissCount        `protobuf:"bytes,4,rep,name=miss_counts,json=missCounts,proto3" json:"miss_counts"`
	AggregatePrevotes []AggregatePrevote `protobuf:"bytes,5,rep,name=aggregate_prevotes,json=aggregatePrevotes,proto3" json:"aggregate_prevotes"`
	AggregateVotes    []AggregateVote    `protobuf:"bytes,6,rep,name=aggregate_votes,json=aggregateVotes,proto3" json:"aggregate_votes"`
}

GenesisState defines the oracle module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAggregatePrevotes

func (m *GenesisState) GetAggregatePrevotes() []AggregatePrevote

func (*GenesisState) GetAggregateVotes

func (m *GenesisState) GetAggregateVotes() []AggregateVote

func (*GenesisState) GetBlockData

func (m *GenesisState) GetBlockData() []BlockData

func (*GenesisState) GetFeederDelegation

func (m *GenesisState) GetFeederDelegation() []FeederDelegation

func (*GenesisState) GetMissCounts

func (m *GenesisState) GetMissCounts() []MissCount

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

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

Validate performs basic genesis state validation returning an error upon any failure.

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 MissCount

type MissCount struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	MissCount        uint64 `protobuf:"varint,2,opt,name=miss_count,json=missCount,proto3" json:"miss_count,omitempty"`
}

func (*MissCount) Descriptor

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

func (*MissCount) GetMissCount

func (m *MissCount) GetMissCount() uint64

func (*MissCount) GetValidatorAddress

func (m *MissCount) GetValidatorAddress() string

func (*MissCount) Marshal

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

func (*MissCount) MarshalTo

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

func (*MissCount) MarshalToSizedBuffer

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

func (*MissCount) ProtoMessage

func (*MissCount) ProtoMessage()

func (*MissCount) Reset

func (m *MissCount) Reset()

func (*MissCount) Size

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

func (*MissCount) String

func (m *MissCount) String() string

func (*MissCount) Unmarshal

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

func (*MissCount) XXX_DiscardUnknown

func (m *MissCount) XXX_DiscardUnknown()

func (*MissCount) XXX_Marshal

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

func (*MissCount) XXX_Merge

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

func (*MissCount) XXX_Size

func (m *MissCount) XXX_Size() int

func (*MissCount) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// Prevote sends a prevote message for the oracle consensus.
	Prevote(ctx context.Context, in *MsgPrevote, opts ...grpc.CallOption) (*MsgPrevoteResponse, error)
	// Vote sends a vote message for the oracle consensus.
	Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error)
	// FeederDelegationConsent sends a message to delegate feeder to a validator.
	FeederDelegationConsent(ctx context.Context, in *MsgFeederDelegationConsent, opts ...grpc.CallOption) (*MsgFeederDelegationConsentResponse, 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 MsgFeederDelegationConsent

type MsgFeederDelegationConsent struct {
	Validator     string `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	FeederAddress string `protobuf:"bytes,2,opt,name=feeder_address,json=feederAddress,proto3" json:"feeder_address,omitempty"`
}

func NewMsgFeederDelegationConsent

func NewMsgFeederDelegationConsent(validator string, feederAddress string) *MsgFeederDelegationConsent

func (*MsgFeederDelegationConsent) Descriptor

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

func (*MsgFeederDelegationConsent) GetFeederAddress

func (m *MsgFeederDelegationConsent) GetFeederAddress() string

func (*MsgFeederDelegationConsent) GetSignBytes

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

func (*MsgFeederDelegationConsent) GetSigners

func (msg *MsgFeederDelegationConsent) GetSigners() []sdk.AccAddress

func (*MsgFeederDelegationConsent) GetValidator

func (m *MsgFeederDelegationConsent) GetValidator() string

func (*MsgFeederDelegationConsent) Marshal

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

func (*MsgFeederDelegationConsent) MarshalTo

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

func (*MsgFeederDelegationConsent) MarshalToSizedBuffer

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

func (*MsgFeederDelegationConsent) ProtoMessage

func (*MsgFeederDelegationConsent) ProtoMessage()

func (*MsgFeederDelegationConsent) Reset

func (m *MsgFeederDelegationConsent) Reset()

func (*MsgFeederDelegationConsent) Route

func (msg *MsgFeederDelegationConsent) Route() string

func (*MsgFeederDelegationConsent) Size

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

func (*MsgFeederDelegationConsent) String

func (m *MsgFeederDelegationConsent) String() string

func (*MsgFeederDelegationConsent) Type

func (msg *MsgFeederDelegationConsent) Type() string

func (*MsgFeederDelegationConsent) Unmarshal

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

func (*MsgFeederDelegationConsent) ValidateBasic

func (msg *MsgFeederDelegationConsent) ValidateBasic() error

func (*MsgFeederDelegationConsent) XXX_DiscardUnknown

func (m *MsgFeederDelegationConsent) XXX_DiscardUnknown()

func (*MsgFeederDelegationConsent) XXX_Marshal

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

func (*MsgFeederDelegationConsent) XXX_Merge

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

func (*MsgFeederDelegationConsent) XXX_Size

func (m *MsgFeederDelegationConsent) XXX_Size() int

func (*MsgFeederDelegationConsent) XXX_Unmarshal

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

type MsgFeederDelegationConsentResponse

type MsgFeederDelegationConsentResponse struct {
}

func (*MsgFeederDelegationConsentResponse) Descriptor

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

func (*MsgFeederDelegationConsentResponse) Marshal

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

func (*MsgFeederDelegationConsentResponse) MarshalTo

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

func (*MsgFeederDelegationConsentResponse) MarshalToSizedBuffer

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

func (*MsgFeederDelegationConsentResponse) ProtoMessage

func (*MsgFeederDelegationConsentResponse) ProtoMessage()

func (*MsgFeederDelegationConsentResponse) Reset

func (*MsgFeederDelegationConsentResponse) Size

func (*MsgFeederDelegationConsentResponse) String

func (*MsgFeederDelegationConsentResponse) Unmarshal

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

func (*MsgFeederDelegationConsentResponse) XXX_DiscardUnknown

func (m *MsgFeederDelegationConsentResponse) XXX_DiscardUnknown()

func (*MsgFeederDelegationConsentResponse) XXX_Marshal

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

func (*MsgFeederDelegationConsentResponse) XXX_Merge

func (*MsgFeederDelegationConsentResponse) XXX_Size

func (*MsgFeederDelegationConsentResponse) XXX_Unmarshal

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

type MsgPrevote

type MsgPrevote struct {
	Feeder    string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	Hash      string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	RoundId   uint64 `protobuf:"varint,4,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"`
}

func NewMsgPrevote

func NewMsgPrevote(feeder string, validator string, hash string, roundId uint64) *MsgPrevote

func (*MsgPrevote) Descriptor

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

func (*MsgPrevote) GetFeeder

func (m *MsgPrevote) GetFeeder() string

func (*MsgPrevote) GetHash

func (m *MsgPrevote) GetHash() string

func (*MsgPrevote) GetRoundId added in v0.0.6

func (m *MsgPrevote) GetRoundId() uint64

func (*MsgPrevote) GetSignBytes

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

func (*MsgPrevote) GetSigners

func (msg *MsgPrevote) GetSigners() []sdk.AccAddress

func (*MsgPrevote) GetValidator

func (m *MsgPrevote) GetValidator() string

func (*MsgPrevote) Marshal

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

func (*MsgPrevote) MarshalTo

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

func (*MsgPrevote) MarshalToSizedBuffer

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

func (*MsgPrevote) ProtoMessage

func (*MsgPrevote) ProtoMessage()

func (*MsgPrevote) Reset

func (m *MsgPrevote) Reset()

func (*MsgPrevote) Route

func (msg *MsgPrevote) Route() string

func (*MsgPrevote) Size

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

func (*MsgPrevote) String

func (m *MsgPrevote) String() string

func (*MsgPrevote) Type

func (msg *MsgPrevote) Type() string

func (*MsgPrevote) Unmarshal

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

func (*MsgPrevote) ValidateBasic

func (msg *MsgPrevote) ValidateBasic() error

func (*MsgPrevote) XXX_DiscardUnknown

func (m *MsgPrevote) XXX_DiscardUnknown()

func (*MsgPrevote) XXX_Marshal

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

func (*MsgPrevote) XXX_Merge

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

func (*MsgPrevote) XXX_Size

func (m *MsgPrevote) XXX_Size() int

func (*MsgPrevote) XXX_Unmarshal

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

type MsgPrevoteResponse

type MsgPrevoteResponse struct {
}

func (*MsgPrevoteResponse) Descriptor

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

func (*MsgPrevoteResponse) Marshal

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

func (*MsgPrevoteResponse) MarshalTo

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

func (*MsgPrevoteResponse) MarshalToSizedBuffer

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

func (*MsgPrevoteResponse) ProtoMessage

func (*MsgPrevoteResponse) ProtoMessage()

func (*MsgPrevoteResponse) Reset

func (m *MsgPrevoteResponse) Reset()

func (*MsgPrevoteResponse) Size

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

func (*MsgPrevoteResponse) String

func (m *MsgPrevoteResponse) String() string

func (*MsgPrevoteResponse) Unmarshal

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

func (*MsgPrevoteResponse) XXX_DiscardUnknown

func (m *MsgPrevoteResponse) XXX_DiscardUnknown()

func (*MsgPrevoteResponse) XXX_Marshal

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

func (*MsgPrevoteResponse) XXX_Merge

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

func (*MsgPrevoteResponse) XXX_Size

func (m *MsgPrevoteResponse) XXX_Size() int

func (*MsgPrevoteResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// Prevote sends a prevote message for the oracle consensus.
	Prevote(context.Context, *MsgPrevote) (*MsgPrevoteResponse, error)
	// Vote sends a vote message for the oracle consensus.
	Vote(context.Context, *MsgVote) (*MsgVoteResponse, error)
	// FeederDelegationConsent sends a message to delegate feeder to a validator.
	FeederDelegationConsent(context.Context, *MsgFeederDelegationConsent) (*MsgFeederDelegationConsentResponse, error)
}

MsgServer is the server API for Msg service.

type MsgVote

type MsgVote struct {
	Feeder    string      `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	Validator string      `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
	VoteData  []*VoteData `protobuf:"bytes,3,rep,name=vote_data,json=voteData,proto3" json:"vote_data,omitempty"`
	Salt      string      `protobuf:"bytes,4,opt,name=salt,proto3" json:"salt,omitempty"`
	RoundId   uint64      `protobuf:"varint,5,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"`
}

func NewMsgVote

func NewMsgVote(feeder, validator string, voteData []*VoteData, salt string, roundId uint64) *MsgVote

func (*MsgVote) Descriptor

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

func (*MsgVote) GetFeeder

func (m *MsgVote) GetFeeder() string

func (*MsgVote) GetRoundId added in v0.0.6

func (m *MsgVote) GetRoundId() uint64

func (*MsgVote) GetSalt

func (m *MsgVote) GetSalt() string

func (*MsgVote) GetSignBytes

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

func (*MsgVote) GetSigners

func (msg *MsgVote) GetSigners() []sdk.AccAddress

func (*MsgVote) GetValidator

func (m *MsgVote) GetValidator() string

func (*MsgVote) GetVoteData added in v0.3.0

func (m *MsgVote) GetVoteData() []*VoteData

func (*MsgVote) Marshal

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

func (*MsgVote) MarshalTo

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

func (*MsgVote) MarshalToSizedBuffer

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

func (*MsgVote) ProtoMessage

func (*MsgVote) ProtoMessage()

func (*MsgVote) Reset

func (m *MsgVote) Reset()

func (*MsgVote) Route

func (msg *MsgVote) Route() string

func (*MsgVote) Size

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

func (*MsgVote) String

func (m *MsgVote) String() string

func (*MsgVote) Type

func (msg *MsgVote) Type() string

func (*MsgVote) Unmarshal

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

func (*MsgVote) ValidateBasic

func (msg *MsgVote) ValidateBasic() error

func (*MsgVote) XXX_DiscardUnknown

func (m *MsgVote) XXX_DiscardUnknown()

func (*MsgVote) XXX_Marshal

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

func (*MsgVote) XXX_Merge

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

func (*MsgVote) XXX_Size

func (m *MsgVote) XXX_Size() int

func (*MsgVote) XXX_Unmarshal

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

type MsgVoteResponse

type MsgVoteResponse struct {
}

func (*MsgVoteResponse) Descriptor

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

func (*MsgVoteResponse) Marshal

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

func (*MsgVoteResponse) MarshalTo

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

func (*MsgVoteResponse) MarshalToSizedBuffer

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

func (*MsgVoteResponse) ProtoMessage

func (*MsgVoteResponse) ProtoMessage()

func (*MsgVoteResponse) Reset

func (m *MsgVoteResponse) Reset()

func (*MsgVoteResponse) Size

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

func (*MsgVoteResponse) String

func (m *MsgVoteResponse) String() string

func (*MsgVoteResponse) Unmarshal

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

func (*MsgVoteResponse) XXX_DiscardUnknown

func (m *MsgVoteResponse) XXX_DiscardUnknown()

func (*MsgVoteResponse) XXX_Marshal

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

func (*MsgVoteResponse) XXX_Merge

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

func (*MsgVoteResponse) XXX_Size

func (m *MsgVoteResponse) XXX_Size() int

func (*MsgVoteResponse) XXX_Unmarshal

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

type Nft added in v0.3.0

type Nft struct {
	ChainId      string                                          `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ContractAddr github_com_settlus_chain_types.HexAddressString `` /* 146-byte string literal not displayed */
	TokenId      github_com_settlus_chain_types.HexAddressString `` /* 131-byte string literal not displayed */
}

func ParseNftId added in v0.3.0

func ParseNftId(nftId string) (Nft, error)

func StringToOwnershipData added in v0.3.0

func StringToOwnershipData(voteString string) (Nft, ctypes.HexAddressString, error)

func (*Nft) Descriptor added in v0.3.0

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

func (Nft) FormatString added in v0.3.0

func (nft Nft) FormatString() string

func (*Nft) GetChainId added in v0.3.0

func (m *Nft) GetChainId() string

func (*Nft) Marshal added in v0.3.0

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

func (*Nft) MarshalTo added in v0.3.0

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

func (*Nft) MarshalToSizedBuffer added in v0.3.0

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

func (*Nft) ProtoMessage added in v0.3.0

func (*Nft) ProtoMessage()

func (*Nft) Reset added in v0.3.0

func (m *Nft) Reset()

func (*Nft) Size added in v0.3.0

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

func (*Nft) String added in v0.3.0

func (m *Nft) String() string

func (*Nft) Unmarshal added in v0.3.0

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

func (*Nft) XXX_DiscardUnknown added in v0.3.0

func (m *Nft) XXX_DiscardUnknown()

func (*Nft) XXX_Marshal added in v0.3.0

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

func (*Nft) XXX_Merge added in v0.3.0

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

func (*Nft) XXX_Size added in v0.3.0

func (m *Nft) XXX_Size() int

func (*Nft) XXX_Unmarshal added in v0.3.0

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

type OracleData added in v0.3.0

type OracleData struct {
	Topic   OralceTopic `protobuf:"varint,1,opt,name=topic,proto3,enum=settlus.oracle.v1alpha1.OralceTopic" json:"topic,omitempty"`
	Sources []string    `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
}

func (*OracleData) Descriptor added in v0.3.0

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

func (*OracleData) GetSources added in v0.3.0

func (m *OracleData) GetSources() []string

func (*OracleData) GetTopic added in v0.3.0

func (m *OracleData) GetTopic() OralceTopic

func (*OracleData) Marshal added in v0.3.0

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

func (*OracleData) MarshalTo added in v0.3.0

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

func (*OracleData) MarshalToSizedBuffer added in v0.3.0

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

func (*OracleData) ProtoMessage added in v0.3.0

func (*OracleData) ProtoMessage()

func (*OracleData) Reset added in v0.3.0

func (m *OracleData) Reset()

func (*OracleData) Size added in v0.3.0

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

func (*OracleData) String added in v0.3.0

func (m *OracleData) String() string

func (*OracleData) Unmarshal added in v0.3.0

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

func (*OracleData) XXX_DiscardUnknown added in v0.3.0

func (m *OracleData) XXX_DiscardUnknown()

func (*OracleData) XXX_Marshal added in v0.3.0

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

func (*OracleData) XXX_Merge added in v0.3.0

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

func (*OracleData) XXX_Size added in v0.3.0

func (m *OracleData) XXX_Size() int

func (*OracleData) XXX_Unmarshal added in v0.3.0

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

type OralceTopic added in v0.3.0

type OralceTopic int32
const (
	OralceTopic_BLOCK     OralceTopic = 0
	OralceTopic_OWNERSHIP OralceTopic = 1
)

func (OralceTopic) EnumDescriptor added in v0.3.0

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

func (OralceTopic) String added in v0.3.0

func (x OralceTopic) String() string

type Params

type Params struct {
	VotePeriod    uint64                                 `protobuf:"varint,1,opt,name=vote_period,json=votePeriod,proto3" json:"vote_period,omitempty"`
	VoteThreshold github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// DEPRECATED: tolerated_error_band have been deprecated
	ToleratedErrorBand         uint64                                 `protobuf:"varint,3,opt,name=tolerated_error_band,json=toleratedErrorBand,proto3" json:"tolerated_error_band,omitempty"`
	Whitelist                  []*Chain                               `protobuf:"bytes,4,rep,name=whitelist,proto3" json:"whitelist,omitempty"`
	SlashFraction              github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	SlashWindow                uint64                                 `protobuf:"varint,6,opt,name=slash_window,json=slashWindow,proto3" json:"slash_window,omitempty"`
	MaxMissCountPerSlashWindow uint64                                 `` /* 148-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func (*Params) Descriptor

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

func (*Params) GetMaxMissCountPerSlashWindow

func (m *Params) GetMaxMissCountPerSlashWindow() uint64

func (*Params) GetSlashWindow

func (m *Params) GetSlashWindow() uint64

func (*Params) GetToleratedErrorBand

func (m *Params) GetToleratedErrorBand() uint64

func (*Params) GetVotePeriod

func (m *Params) GetVotePeriod() uint64

func (*Params) GetWhitelist

func (m *Params) GetWhitelist() []*Chain

func (Params) GetWhitelistChainIds added in v0.0.6

func (p Params) GetWhitelistChainIds() []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 get the params.ParamSet

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 (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

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 QueryAggregatePrevoteRequest

type QueryAggregatePrevoteRequest struct {
	ValidatorAddress string             `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Pagination       *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregatePrevoteRequest is request type for the Query/AggregatePrevote RPC method.

func (*QueryAggregatePrevoteRequest) Descriptor

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

func (*QueryAggregatePrevoteRequest) GetPagination

func (m *QueryAggregatePrevoteRequest) GetPagination() *query.PageRequest

func (*QueryAggregatePrevoteRequest) GetValidatorAddress

func (m *QueryAggregatePrevoteRequest) GetValidatorAddress() string

func (*QueryAggregatePrevoteRequest) Marshal

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

func (*QueryAggregatePrevoteRequest) MarshalTo

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

func (*QueryAggregatePrevoteRequest) MarshalToSizedBuffer

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

func (*QueryAggregatePrevoteRequest) ProtoMessage

func (*QueryAggregatePrevoteRequest) ProtoMessage()

func (*QueryAggregatePrevoteRequest) Reset

func (m *QueryAggregatePrevoteRequest) Reset()

func (*QueryAggregatePrevoteRequest) Size

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

func (*QueryAggregatePrevoteRequest) String

func (*QueryAggregatePrevoteRequest) Unmarshal

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

func (*QueryAggregatePrevoteRequest) XXX_DiscardUnknown

func (m *QueryAggregatePrevoteRequest) XXX_DiscardUnknown()

func (*QueryAggregatePrevoteRequest) XXX_Marshal

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

func (*QueryAggregatePrevoteRequest) XXX_Merge

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

func (*QueryAggregatePrevoteRequest) XXX_Size

func (m *QueryAggregatePrevoteRequest) XXX_Size() int

func (*QueryAggregatePrevoteRequest) XXX_Unmarshal

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

type QueryAggregatePrevoteResponse

type QueryAggregatePrevoteResponse struct {
	AggregatePrevote *AggregatePrevote   `protobuf:"bytes,1,opt,name=aggregate_prevote,json=aggregatePrevote,proto3" json:"aggregate_prevote,omitempty"`
	Pagination       *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregatePrevoteResponse is response type for the Query/AggregatePrevote RPC method.

func (*QueryAggregatePrevoteResponse) Descriptor

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

func (*QueryAggregatePrevoteResponse) GetAggregatePrevote

func (m *QueryAggregatePrevoteResponse) GetAggregatePrevote() *AggregatePrevote

func (*QueryAggregatePrevoteResponse) GetPagination

func (m *QueryAggregatePrevoteResponse) GetPagination() *query.PageResponse

func (*QueryAggregatePrevoteResponse) Marshal

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

func (*QueryAggregatePrevoteResponse) MarshalTo

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

func (*QueryAggregatePrevoteResponse) MarshalToSizedBuffer

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

func (*QueryAggregatePrevoteResponse) ProtoMessage

func (*QueryAggregatePrevoteResponse) ProtoMessage()

func (*QueryAggregatePrevoteResponse) Reset

func (m *QueryAggregatePrevoteResponse) Reset()

func (*QueryAggregatePrevoteResponse) Size

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

func (*QueryAggregatePrevoteResponse) String

func (*QueryAggregatePrevoteResponse) Unmarshal

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

func (*QueryAggregatePrevoteResponse) XXX_DiscardUnknown

func (m *QueryAggregatePrevoteResponse) XXX_DiscardUnknown()

func (*QueryAggregatePrevoteResponse) XXX_Marshal

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

func (*QueryAggregatePrevoteResponse) XXX_Merge

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

func (*QueryAggregatePrevoteResponse) XXX_Size

func (m *QueryAggregatePrevoteResponse) XXX_Size() int

func (*QueryAggregatePrevoteResponse) XXX_Unmarshal

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

type QueryAggregatePrevotesRequest

type QueryAggregatePrevotesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregatePrevotesRequest is request type for the Query/AggregatePrevotes RPC method.

func (*QueryAggregatePrevotesRequest) Descriptor

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

func (*QueryAggregatePrevotesRequest) GetPagination

func (m *QueryAggregatePrevotesRequest) GetPagination() *query.PageRequest

func (*QueryAggregatePrevotesRequest) Marshal

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

func (*QueryAggregatePrevotesRequest) MarshalTo

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

func (*QueryAggregatePrevotesRequest) MarshalToSizedBuffer

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

func (*QueryAggregatePrevotesRequest) ProtoMessage

func (*QueryAggregatePrevotesRequest) ProtoMessage()

func (*QueryAggregatePrevotesRequest) Reset

func (m *QueryAggregatePrevotesRequest) Reset()

func (*QueryAggregatePrevotesRequest) Size

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

func (*QueryAggregatePrevotesRequest) String

func (*QueryAggregatePrevotesRequest) Unmarshal

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

func (*QueryAggregatePrevotesRequest) XXX_DiscardUnknown

func (m *QueryAggregatePrevotesRequest) XXX_DiscardUnknown()

func (*QueryAggregatePrevotesRequest) XXX_Marshal

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

func (*QueryAggregatePrevotesRequest) XXX_Merge

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

func (*QueryAggregatePrevotesRequest) XXX_Size

func (m *QueryAggregatePrevotesRequest) XXX_Size() int

func (*QueryAggregatePrevotesRequest) XXX_Unmarshal

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

type QueryAggregatePrevotesResponse

type QueryAggregatePrevotesResponse struct {
	AggregatePrevotes []*AggregatePrevote `protobuf:"bytes,1,rep,name=aggregate_prevotes,json=aggregatePrevotes,proto3" json:"aggregate_prevotes,omitempty"`
	Pagination        *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregatePrevotesResponse is response type for the Query/AggregatePrevotes RPC method.

func (*QueryAggregatePrevotesResponse) Descriptor

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

func (*QueryAggregatePrevotesResponse) GetAggregatePrevotes

func (m *QueryAggregatePrevotesResponse) GetAggregatePrevotes() []*AggregatePrevote

func (*QueryAggregatePrevotesResponse) GetPagination

func (*QueryAggregatePrevotesResponse) Marshal

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

func (*QueryAggregatePrevotesResponse) MarshalTo

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

func (*QueryAggregatePrevotesResponse) MarshalToSizedBuffer

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

func (*QueryAggregatePrevotesResponse) ProtoMessage

func (*QueryAggregatePrevotesResponse) ProtoMessage()

func (*QueryAggregatePrevotesResponse) Reset

func (m *QueryAggregatePrevotesResponse) Reset()

func (*QueryAggregatePrevotesResponse) Size

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

func (*QueryAggregatePrevotesResponse) String

func (*QueryAggregatePrevotesResponse) Unmarshal

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

func (*QueryAggregatePrevotesResponse) XXX_DiscardUnknown

func (m *QueryAggregatePrevotesResponse) XXX_DiscardUnknown()

func (*QueryAggregatePrevotesResponse) XXX_Marshal

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

func (*QueryAggregatePrevotesResponse) XXX_Merge

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

func (*QueryAggregatePrevotesResponse) XXX_Size

func (m *QueryAggregatePrevotesResponse) XXX_Size() int

func (*QueryAggregatePrevotesResponse) XXX_Unmarshal

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

type QueryAggregateVoteRequest

type QueryAggregateVoteRequest struct {
	ValidatorAddress string             `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Pagination       *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregateVoteRequest is request type for the Query/AggregateVote RPC method.

func (*QueryAggregateVoteRequest) Descriptor

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

func (*QueryAggregateVoteRequest) GetPagination

func (m *QueryAggregateVoteRequest) GetPagination() *query.PageRequest

func (*QueryAggregateVoteRequest) GetValidatorAddress

func (m *QueryAggregateVoteRequest) GetValidatorAddress() string

func (*QueryAggregateVoteRequest) Marshal

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

func (*QueryAggregateVoteRequest) MarshalTo

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

func (*QueryAggregateVoteRequest) MarshalToSizedBuffer

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

func (*QueryAggregateVoteRequest) ProtoMessage

func (*QueryAggregateVoteRequest) ProtoMessage()

func (*QueryAggregateVoteRequest) Reset

func (m *QueryAggregateVoteRequest) Reset()

func (*QueryAggregateVoteRequest) Size

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

func (*QueryAggregateVoteRequest) String

func (m *QueryAggregateVoteRequest) String() string

func (*QueryAggregateVoteRequest) Unmarshal

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

func (*QueryAggregateVoteRequest) XXX_DiscardUnknown

func (m *QueryAggregateVoteRequest) XXX_DiscardUnknown()

func (*QueryAggregateVoteRequest) XXX_Marshal

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

func (*QueryAggregateVoteRequest) XXX_Merge

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

func (*QueryAggregateVoteRequest) XXX_Size

func (m *QueryAggregateVoteRequest) XXX_Size() int

func (*QueryAggregateVoteRequest) XXX_Unmarshal

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

type QueryAggregateVoteResponse

type QueryAggregateVoteResponse struct {
	AggregateVote *AggregateVote      `protobuf:"bytes,1,opt,name=aggregate_vote,json=aggregateVote,proto3" json:"aggregate_vote,omitempty"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregateVoteResponse is response type for the Query/AggregateVote RPC method.

func (*QueryAggregateVoteResponse) Descriptor

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

func (*QueryAggregateVoteResponse) GetAggregateVote

func (m *QueryAggregateVoteResponse) GetAggregateVote() *AggregateVote

func (*QueryAggregateVoteResponse) GetPagination

func (m *QueryAggregateVoteResponse) GetPagination() *query.PageResponse

func (*QueryAggregateVoteResponse) Marshal

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

func (*QueryAggregateVoteResponse) MarshalTo

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

func (*QueryAggregateVoteResponse) MarshalToSizedBuffer

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

func (*QueryAggregateVoteResponse) ProtoMessage

func (*QueryAggregateVoteResponse) ProtoMessage()

func (*QueryAggregateVoteResponse) Reset

func (m *QueryAggregateVoteResponse) Reset()

func (*QueryAggregateVoteResponse) Size

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

func (*QueryAggregateVoteResponse) String

func (m *QueryAggregateVoteResponse) String() string

func (*QueryAggregateVoteResponse) Unmarshal

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

func (*QueryAggregateVoteResponse) XXX_DiscardUnknown

func (m *QueryAggregateVoteResponse) XXX_DiscardUnknown()

func (*QueryAggregateVoteResponse) XXX_Marshal

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

func (*QueryAggregateVoteResponse) XXX_Merge

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

func (*QueryAggregateVoteResponse) XXX_Size

func (m *QueryAggregateVoteResponse) XXX_Size() int

func (*QueryAggregateVoteResponse) XXX_Unmarshal

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

type QueryAggregateVotesRequest

type QueryAggregateVotesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregateVotesRequest is request type for the Query/AggregateVotes RPC method.

func (*QueryAggregateVotesRequest) Descriptor

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

func (*QueryAggregateVotesRequest) GetPagination

func (m *QueryAggregateVotesRequest) GetPagination() *query.PageRequest

func (*QueryAggregateVotesRequest) Marshal

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

func (*QueryAggregateVotesRequest) MarshalTo

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

func (*QueryAggregateVotesRequest) MarshalToSizedBuffer

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

func (*QueryAggregateVotesRequest) ProtoMessage

func (*QueryAggregateVotesRequest) ProtoMessage()

func (*QueryAggregateVotesRequest) Reset

func (m *QueryAggregateVotesRequest) Reset()

func (*QueryAggregateVotesRequest) Size

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

func (*QueryAggregateVotesRequest) String

func (m *QueryAggregateVotesRequest) String() string

func (*QueryAggregateVotesRequest) Unmarshal

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

func (*QueryAggregateVotesRequest) XXX_DiscardUnknown

func (m *QueryAggregateVotesRequest) XXX_DiscardUnknown()

func (*QueryAggregateVotesRequest) XXX_Marshal

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

func (*QueryAggregateVotesRequest) XXX_Merge

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

func (*QueryAggregateVotesRequest) XXX_Size

func (m *QueryAggregateVotesRequest) XXX_Size() int

func (*QueryAggregateVotesRequest) XXX_Unmarshal

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

type QueryAggregateVotesResponse

type QueryAggregateVotesResponse struct {
	AggregateVotes []*AggregateVote    `protobuf:"bytes,1,rep,name=aggregate_votes,json=aggregateVotes,proto3" json:"aggregate_votes,omitempty"`
	Pagination     *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAggregateVotesResponse is response type for the Query/AggregateVotes RPC method.

func (*QueryAggregateVotesResponse) Descriptor

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

func (*QueryAggregateVotesResponse) GetAggregateVotes

func (m *QueryAggregateVotesResponse) GetAggregateVotes() []*AggregateVote

func (*QueryAggregateVotesResponse) GetPagination

func (m *QueryAggregateVotesResponse) GetPagination() *query.PageResponse

func (*QueryAggregateVotesResponse) Marshal

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

func (*QueryAggregateVotesResponse) MarshalTo

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

func (*QueryAggregateVotesResponse) MarshalToSizedBuffer

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

func (*QueryAggregateVotesResponse) ProtoMessage

func (*QueryAggregateVotesResponse) ProtoMessage()

func (*QueryAggregateVotesResponse) Reset

func (m *QueryAggregateVotesResponse) Reset()

func (*QueryAggregateVotesResponse) Size

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

func (*QueryAggregateVotesResponse) String

func (m *QueryAggregateVotesResponse) String() string

func (*QueryAggregateVotesResponse) Unmarshal

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

func (*QueryAggregateVotesResponse) XXX_DiscardUnknown

func (m *QueryAggregateVotesResponse) XXX_DiscardUnknown()

func (*QueryAggregateVotesResponse) XXX_Marshal

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

func (*QueryAggregateVotesResponse) XXX_Merge

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

func (*QueryAggregateVotesResponse) XXX_Size

func (m *QueryAggregateVotesResponse) XXX_Size() int

func (*QueryAggregateVotesResponse) XXX_Unmarshal

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

type QueryAllBlockDataRequest

type QueryAllBlockDataRequest struct {
}

QueryAllBlockDataRequest is request type for the Query/AllBlockData RPC method.

func (*QueryAllBlockDataRequest) Descriptor

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

func (*QueryAllBlockDataRequest) Marshal

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

func (*QueryAllBlockDataRequest) MarshalTo

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

func (*QueryAllBlockDataRequest) MarshalToSizedBuffer

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

func (*QueryAllBlockDataRequest) ProtoMessage

func (*QueryAllBlockDataRequest) ProtoMessage()

func (*QueryAllBlockDataRequest) Reset

func (m *QueryAllBlockDataRequest) Reset()

func (*QueryAllBlockDataRequest) Size

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

func (*QueryAllBlockDataRequest) String

func (m *QueryAllBlockDataRequest) String() string

func (*QueryAllBlockDataRequest) Unmarshal

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

func (*QueryAllBlockDataRequest) XXX_DiscardUnknown

func (m *QueryAllBlockDataRequest) XXX_DiscardUnknown()

func (*QueryAllBlockDataRequest) XXX_Marshal

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

func (*QueryAllBlockDataRequest) XXX_Merge

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

func (*QueryAllBlockDataRequest) XXX_Size

func (m *QueryAllBlockDataRequest) XXX_Size() int

func (*QueryAllBlockDataRequest) XXX_Unmarshal

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

type QueryAllBlockDataResponse

type QueryAllBlockDataResponse struct {
	BlockData []BlockData `protobuf:"bytes,2,rep,name=block_data,json=blockData,proto3" json:"block_data"`
}

QueryAllBlockDataResponse is response type for the Query/AllBlockData RPC method.

func (*QueryAllBlockDataResponse) Descriptor

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

func (*QueryAllBlockDataResponse) GetBlockData

func (m *QueryAllBlockDataResponse) GetBlockData() []BlockData

func (*QueryAllBlockDataResponse) Marshal

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

func (*QueryAllBlockDataResponse) MarshalTo

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

func (*QueryAllBlockDataResponse) MarshalToSizedBuffer

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

func (*QueryAllBlockDataResponse) ProtoMessage

func (*QueryAllBlockDataResponse) ProtoMessage()

func (*QueryAllBlockDataResponse) Reset

func (m *QueryAllBlockDataResponse) Reset()

func (*QueryAllBlockDataResponse) Size

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

func (*QueryAllBlockDataResponse) String

func (m *QueryAllBlockDataResponse) String() string

func (*QueryAllBlockDataResponse) Unmarshal

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

func (*QueryAllBlockDataResponse) XXX_DiscardUnknown

func (m *QueryAllBlockDataResponse) XXX_DiscardUnknown()

func (*QueryAllBlockDataResponse) XXX_Marshal

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

func (*QueryAllBlockDataResponse) XXX_Merge

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

func (*QueryAllBlockDataResponse) XXX_Size

func (m *QueryAllBlockDataResponse) XXX_Size() int

func (*QueryAllBlockDataResponse) XXX_Unmarshal

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

type QueryBlockDataRequest

type QueryBlockDataRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

QueryBlockDataRequest is request type for the Query/BlockData RPC method.

func (*QueryBlockDataRequest) Descriptor

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

func (*QueryBlockDataRequest) GetChainId

func (m *QueryBlockDataRequest) GetChainId() string

func (*QueryBlockDataRequest) Marshal

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

func (*QueryBlockDataRequest) MarshalTo

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

func (*QueryBlockDataRequest) MarshalToSizedBuffer

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

func (*QueryBlockDataRequest) ProtoMessage

func (*QueryBlockDataRequest) ProtoMessage()

func (*QueryBlockDataRequest) Reset

func (m *QueryBlockDataRequest) Reset()

func (*QueryBlockDataRequest) Size

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

func (*QueryBlockDataRequest) String

func (m *QueryBlockDataRequest) String() string

func (*QueryBlockDataRequest) Unmarshal

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

func (*QueryBlockDataRequest) XXX_DiscardUnknown

func (m *QueryBlockDataRequest) XXX_DiscardUnknown()

func (*QueryBlockDataRequest) XXX_Marshal

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

func (*QueryBlockDataRequest) XXX_Merge

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

func (*QueryBlockDataRequest) XXX_Size

func (m *QueryBlockDataRequest) XXX_Size() int

func (*QueryBlockDataRequest) XXX_Unmarshal

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

type QueryBlockDataResponse

type QueryBlockDataResponse struct {
	BlockData *BlockData `protobuf:"bytes,1,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
}

QueryBlockDataResponse is response type for the Query/BlockData RPC method.

func (*QueryBlockDataResponse) Descriptor

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

func (*QueryBlockDataResponse) GetBlockData

func (m *QueryBlockDataResponse) GetBlockData() *BlockData

func (*QueryBlockDataResponse) Marshal

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

func (*QueryBlockDataResponse) MarshalTo

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

func (*QueryBlockDataResponse) MarshalToSizedBuffer

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

func (*QueryBlockDataResponse) ProtoMessage

func (*QueryBlockDataResponse) ProtoMessage()

func (*QueryBlockDataResponse) Reset

func (m *QueryBlockDataResponse) Reset()

func (*QueryBlockDataResponse) Size

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

func (*QueryBlockDataResponse) String

func (m *QueryBlockDataResponse) String() string

func (*QueryBlockDataResponse) Unmarshal

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

func (*QueryBlockDataResponse) XXX_DiscardUnknown

func (m *QueryBlockDataResponse) XXX_DiscardUnknown()

func (*QueryBlockDataResponse) XXX_Marshal

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

func (*QueryBlockDataResponse) XXX_Merge

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

func (*QueryBlockDataResponse) XXX_Size

func (m *QueryBlockDataResponse) XXX_Size() int

func (*QueryBlockDataResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of BlockData items for a given chainId.
	BlockData(ctx context.Context, in *QueryBlockDataRequest, opts ...grpc.CallOption) (*QueryBlockDataResponse, error)
	// Queries a list of BlockDatas items for all chainIds.
	AllBlockData(ctx context.Context, in *QueryAllBlockDataRequest, opts ...grpc.CallOption) (*QueryAllBlockDataResponse, error)
	// Queries an aggregate prevote of a validator.
	AggregatePrevote(ctx context.Context, in *QueryAggregatePrevoteRequest, opts ...grpc.CallOption) (*QueryAggregatePrevoteResponse, error)
	// Queries a list of all aggregate prevotes.
	AggregatePrevotes(ctx context.Context, in *QueryAggregatePrevotesRequest, opts ...grpc.CallOption) (*QueryAggregatePrevotesResponse, error)
	// Queries an aggregate vote of a validator
	AggregateVote(ctx context.Context, in *QueryAggregateVoteRequest, opts ...grpc.CallOption) (*QueryAggregateVoteResponse, error)
	// Queries a list of all aggregate votes.
	AggregateVotes(ctx context.Context, in *QueryAggregateVotesRequest, opts ...grpc.CallOption) (*QueryAggregateVotesResponse, error)
	// Queries a list of FeederDelegation items.
	FeederDelegation(ctx context.Context, in *QueryFeederDelegationRequest, opts ...grpc.CallOption) (*QueryFeederDelegationResponse, error)
	// Queries miss count of a validator
	MissCount(ctx context.Context, in *QueryMissCountRequest, opts ...grpc.CallOption) (*QueryMissCountResponse, error)
	// Queries the current oracle reward pool balance.
	RewardPool(ctx context.Context, in *QueryRewardPoolRequest, opts ...grpc.CallOption) (*QueryRewardPoolResponse, error)
	// Queries the current round info.
	CurrentRoundInfo(ctx context.Context, in *QueryCurrentRoundInfoRequest, opts ...grpc.CallOption) (*QueryCurrentRoundInfoResponse, 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 QueryCurrentRoundInfoRequest added in v0.0.6

type QueryCurrentRoundInfoRequest struct {
}

func (*QueryCurrentRoundInfoRequest) Descriptor added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) Marshal added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) MarshalTo added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) ProtoMessage added in v0.0.6

func (*QueryCurrentRoundInfoRequest) ProtoMessage()

func (*QueryCurrentRoundInfoRequest) Reset added in v0.0.6

func (m *QueryCurrentRoundInfoRequest) Reset()

func (*QueryCurrentRoundInfoRequest) Size added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) String added in v0.0.6

func (*QueryCurrentRoundInfoRequest) Unmarshal added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) XXX_DiscardUnknown added in v0.0.6

func (m *QueryCurrentRoundInfoRequest) XXX_DiscardUnknown()

func (*QueryCurrentRoundInfoRequest) XXX_Marshal added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) XXX_Merge added in v0.0.6

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

func (*QueryCurrentRoundInfoRequest) XXX_Size added in v0.0.6

func (m *QueryCurrentRoundInfoRequest) XXX_Size() int

func (*QueryCurrentRoundInfoRequest) XXX_Unmarshal added in v0.0.6

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

type QueryCurrentRoundInfoResponse added in v0.0.6

type QueryCurrentRoundInfoResponse struct {
	RoundInfo *RoundInfo `protobuf:"bytes,1,opt,name=round_info,json=roundInfo,proto3" json:"round_info,omitempty"`
}

func (*QueryCurrentRoundInfoResponse) Descriptor added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) GetRoundInfo added in v0.0.6

func (m *QueryCurrentRoundInfoResponse) GetRoundInfo() *RoundInfo

func (*QueryCurrentRoundInfoResponse) Marshal added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) MarshalTo added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) ProtoMessage added in v0.0.6

func (*QueryCurrentRoundInfoResponse) ProtoMessage()

func (*QueryCurrentRoundInfoResponse) Reset added in v0.0.6

func (m *QueryCurrentRoundInfoResponse) Reset()

func (*QueryCurrentRoundInfoResponse) Size added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) String added in v0.0.6

func (*QueryCurrentRoundInfoResponse) Unmarshal added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) XXX_DiscardUnknown added in v0.0.6

func (m *QueryCurrentRoundInfoResponse) XXX_DiscardUnknown()

func (*QueryCurrentRoundInfoResponse) XXX_Marshal added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) XXX_Merge added in v0.0.6

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

func (*QueryCurrentRoundInfoResponse) XXX_Size added in v0.0.6

func (m *QueryCurrentRoundInfoResponse) XXX_Size() int

func (*QueryCurrentRoundInfoResponse) XXX_Unmarshal added in v0.0.6

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

type QueryFeederDelegationRequest

type QueryFeederDelegationRequest struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

QueryFeederDelegationRequest is request type for the Query/FeederDelegation RPC method.

func (*QueryFeederDelegationRequest) Descriptor

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

func (*QueryFeederDelegationRequest) GetValidatorAddress

func (m *QueryFeederDelegationRequest) GetValidatorAddress() string

func (*QueryFeederDelegationRequest) Marshal

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

func (*QueryFeederDelegationRequest) MarshalTo

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

func (*QueryFeederDelegationRequest) MarshalToSizedBuffer

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

func (*QueryFeederDelegationRequest) ProtoMessage

func (*QueryFeederDelegationRequest) ProtoMessage()

func (*QueryFeederDelegationRequest) Reset

func (m *QueryFeederDelegationRequest) Reset()

func (*QueryFeederDelegationRequest) Size

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

func (*QueryFeederDelegationRequest) String

func (*QueryFeederDelegationRequest) Unmarshal

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

func (*QueryFeederDelegationRequest) XXX_DiscardUnknown

func (m *QueryFeederDelegationRequest) XXX_DiscardUnknown()

func (*QueryFeederDelegationRequest) XXX_Marshal

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

func (*QueryFeederDelegationRequest) XXX_Merge

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

func (*QueryFeederDelegationRequest) XXX_Size

func (m *QueryFeederDelegationRequest) XXX_Size() int

func (*QueryFeederDelegationRequest) XXX_Unmarshal

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

type QueryFeederDelegationResponse

type QueryFeederDelegationResponse struct {
	FeederDelegation *FeederDelegation `protobuf:"bytes,1,opt,name=feeder_delegation,json=feederDelegation,proto3" json:"feeder_delegation,omitempty"`
}

QueryFeederDelegationResponse is response type for the Query/FeederDelegation RPC method.

func (*QueryFeederDelegationResponse) Descriptor

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

func (*QueryFeederDelegationResponse) GetFeederDelegation

func (m *QueryFeederDelegationResponse) GetFeederDelegation() *FeederDelegation

func (*QueryFeederDelegationResponse) Marshal

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

func (*QueryFeederDelegationResponse) MarshalTo

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

func (*QueryFeederDelegationResponse) MarshalToSizedBuffer

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

func (*QueryFeederDelegationResponse) ProtoMessage

func (*QueryFeederDelegationResponse) ProtoMessage()

func (*QueryFeederDelegationResponse) Reset

func (m *QueryFeederDelegationResponse) Reset()

func (*QueryFeederDelegationResponse) Size

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

func (*QueryFeederDelegationResponse) String

func (*QueryFeederDelegationResponse) Unmarshal

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

func (*QueryFeederDelegationResponse) XXX_DiscardUnknown

func (m *QueryFeederDelegationResponse) XXX_DiscardUnknown()

func (*QueryFeederDelegationResponse) XXX_Marshal

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

func (*QueryFeederDelegationResponse) XXX_Merge

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

func (*QueryFeederDelegationResponse) XXX_Size

func (m *QueryFeederDelegationResponse) XXX_Size() int

func (*QueryFeederDelegationResponse) XXX_Unmarshal

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

type QueryMissCountRequest

type QueryMissCountRequest struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

QueryMissCountRequest is request type for the Query/MissCount RPC method.

func (*QueryMissCountRequest) Descriptor

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

func (*QueryMissCountRequest) GetValidatorAddress

func (m *QueryMissCountRequest) GetValidatorAddress() string

func (*QueryMissCountRequest) Marshal

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

func (*QueryMissCountRequest) MarshalTo

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

func (*QueryMissCountRequest) MarshalToSizedBuffer

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

func (*QueryMissCountRequest) ProtoMessage

func (*QueryMissCountRequest) ProtoMessage()

func (*QueryMissCountRequest) Reset

func (m *QueryMissCountRequest) Reset()

func (*QueryMissCountRequest) Size

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

func (*QueryMissCountRequest) String

func (m *QueryMissCountRequest) String() string

func (*QueryMissCountRequest) Unmarshal

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

func (*QueryMissCountRequest) XXX_DiscardUnknown

func (m *QueryMissCountRequest) XXX_DiscardUnknown()

func (*QueryMissCountRequest) XXX_Marshal

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

func (*QueryMissCountRequest) XXX_Merge

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

func (*QueryMissCountRequest) XXX_Size

func (m *QueryMissCountRequest) XXX_Size() int

func (*QueryMissCountRequest) XXX_Unmarshal

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

type QueryMissCountResponse

type QueryMissCountResponse struct {
	MissCount uint64 `protobuf:"varint,1,opt,name=miss_count,json=missCount,proto3" json:"miss_count,omitempty"`
}

QueryMissCountResponse is response type for the Query/MissCount RPC method.

func (*QueryMissCountResponse) Descriptor

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

func (*QueryMissCountResponse) GetMissCount

func (m *QueryMissCountResponse) GetMissCount() uint64

func (*QueryMissCountResponse) Marshal

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

func (*QueryMissCountResponse) MarshalTo

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

func (*QueryMissCountResponse) MarshalToSizedBuffer

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

func (*QueryMissCountResponse) ProtoMessage

func (*QueryMissCountResponse) ProtoMessage()

func (*QueryMissCountResponse) Reset

func (m *QueryMissCountResponse) Reset()

func (*QueryMissCountResponse) Size

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

func (*QueryMissCountResponse) String

func (m *QueryMissCountResponse) String() string

func (*QueryMissCountResponse) Unmarshal

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

func (*QueryMissCountResponse) XXX_DiscardUnknown

func (m *QueryMissCountResponse) XXX_DiscardUnknown()

func (*QueryMissCountResponse) XXX_Marshal

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

func (*QueryMissCountResponse) XXX_Merge

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

func (*QueryMissCountResponse) XXX_Size

func (m *QueryMissCountResponse) XXX_Size() int

func (*QueryMissCountResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params 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 holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params 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 QueryRewardPoolRequest

type QueryRewardPoolRequest struct {
}

QueryRewardPoolRequest is request type for the Query/RewardPool RPC method.

func (*QueryRewardPoolRequest) Descriptor

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

func (*QueryRewardPoolRequest) Marshal

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

func (*QueryRewardPoolRequest) MarshalTo

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

func (*QueryRewardPoolRequest) MarshalToSizedBuffer

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

func (*QueryRewardPoolRequest) ProtoMessage

func (*QueryRewardPoolRequest) ProtoMessage()

func (*QueryRewardPoolRequest) Reset

func (m *QueryRewardPoolRequest) Reset()

func (*QueryRewardPoolRequest) Size

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

func (*QueryRewardPoolRequest) String

func (m *QueryRewardPoolRequest) String() string

func (*QueryRewardPoolRequest) Unmarshal

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

func (*QueryRewardPoolRequest) XXX_DiscardUnknown

func (m *QueryRewardPoolRequest) XXX_DiscardUnknown()

func (*QueryRewardPoolRequest) XXX_Marshal

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

func (*QueryRewardPoolRequest) XXX_Merge

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

func (*QueryRewardPoolRequest) XXX_Size

func (m *QueryRewardPoolRequest) XXX_Size() int

func (*QueryRewardPoolRequest) XXX_Unmarshal

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

type QueryRewardPoolResponse

type QueryRewardPoolResponse struct {
	Balance github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance"`
}

QueryRewardPoolResponse is response type for the Query/RewardPool RPC method.

func (*QueryRewardPoolResponse) Descriptor

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

func (*QueryRewardPoolResponse) GetBalance

func (*QueryRewardPoolResponse) Marshal

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

func (*QueryRewardPoolResponse) MarshalTo

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

func (*QueryRewardPoolResponse) MarshalToSizedBuffer

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

func (*QueryRewardPoolResponse) ProtoMessage

func (*QueryRewardPoolResponse) ProtoMessage()

func (*QueryRewardPoolResponse) Reset

func (m *QueryRewardPoolResponse) Reset()

func (*QueryRewardPoolResponse) Size

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

func (*QueryRewardPoolResponse) String

func (m *QueryRewardPoolResponse) String() string

func (*QueryRewardPoolResponse) Unmarshal

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

func (*QueryRewardPoolResponse) XXX_DiscardUnknown

func (m *QueryRewardPoolResponse) XXX_DiscardUnknown()

func (*QueryRewardPoolResponse) XXX_Marshal

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

func (*QueryRewardPoolResponse) XXX_Merge

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

func (*QueryRewardPoolResponse) XXX_Size

func (m *QueryRewardPoolResponse) XXX_Size() int

func (*QueryRewardPoolResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of BlockData items for a given chainId.
	BlockData(context.Context, *QueryBlockDataRequest) (*QueryBlockDataResponse, error)
	// Queries a list of BlockDatas items for all chainIds.
	AllBlockData(context.Context, *QueryAllBlockDataRequest) (*QueryAllBlockDataResponse, error)
	// Queries an aggregate prevote of a validator.
	AggregatePrevote(context.Context, *QueryAggregatePrevoteRequest) (*QueryAggregatePrevoteResponse, error)
	// Queries a list of all aggregate prevotes.
	AggregatePrevotes(context.Context, *QueryAggregatePrevotesRequest) (*QueryAggregatePrevotesResponse, error)
	// Queries an aggregate vote of a validator
	AggregateVote(context.Context, *QueryAggregateVoteRequest) (*QueryAggregateVoteResponse, error)
	// Queries a list of all aggregate votes.
	AggregateVotes(context.Context, *QueryAggregateVotesRequest) (*QueryAggregateVotesResponse, error)
	// Queries a list of FeederDelegation items.
	FeederDelegation(context.Context, *QueryFeederDelegationRequest) (*QueryFeederDelegationResponse, error)
	// Queries miss count of a validator
	MissCount(context.Context, *QueryMissCountRequest) (*QueryMissCountResponse, error)
	// Queries the current oracle reward pool balance.
	RewardPool(context.Context, *QueryRewardPoolRequest) (*QueryRewardPoolResponse, error)
	// Queries the current round info.
	CurrentRoundInfo(context.Context, *QueryCurrentRoundInfoRequest) (*QueryCurrentRoundInfoResponse, error)
}

QueryServer is the server API for Query service.

type RoundInfo added in v0.0.6

type RoundInfo struct {
	Id         uint64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PrevoteEnd int64         `protobuf:"varint,2,opt,name=prevote_end,json=prevoteEnd,proto3" json:"prevote_end,omitempty"`
	VoteEnd    int64         `protobuf:"varint,3,opt,name=vote_end,json=voteEnd,proto3" json:"vote_end,omitempty"`
	OracleData []*OracleData `protobuf:"bytes,4,rep,name=oracle_data,json=oracleData,proto3" json:"oracle_data,omitempty"`
	// UNIX time in milliseconds
	Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*RoundInfo) Descriptor added in v0.0.6

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

func (*RoundInfo) GetId added in v0.0.6

func (m *RoundInfo) GetId() uint64

func (*RoundInfo) GetOracleData added in v0.3.0

func (m *RoundInfo) GetOracleData() []*OracleData

func (*RoundInfo) GetPrevoteEnd added in v0.0.6

func (m *RoundInfo) GetPrevoteEnd() int64

func (*RoundInfo) GetTimestamp added in v0.0.6

func (m *RoundInfo) GetTimestamp() int64

func (*RoundInfo) GetVoteEnd added in v0.0.6

func (m *RoundInfo) GetVoteEnd() int64

func (*RoundInfo) Marshal added in v0.0.6

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

func (*RoundInfo) MarshalTo added in v0.0.6

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

func (*RoundInfo) MarshalToSizedBuffer added in v0.0.6

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

func (*RoundInfo) ProtoMessage added in v0.0.6

func (*RoundInfo) ProtoMessage()

func (*RoundInfo) Reset added in v0.0.6

func (m *RoundInfo) Reset()

func (*RoundInfo) Size added in v0.0.6

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

func (*RoundInfo) String added in v0.0.6

func (m *RoundInfo) String() string

func (*RoundInfo) Unmarshal added in v0.0.6

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

func (*RoundInfo) XXX_DiscardUnknown added in v0.0.6

func (m *RoundInfo) XXX_DiscardUnknown()

func (*RoundInfo) XXX_Marshal added in v0.0.6

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

func (*RoundInfo) XXX_Merge added in v0.0.6

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

func (*RoundInfo) XXX_Size added in v0.0.6

func (m *RoundInfo) XXX_Size() int

func (*RoundInfo) XXX_Unmarshal added in v0.0.6

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

type SettlementKeeper added in v0.3.0

type SettlementKeeper interface {
	GetAllUniqueNftToVerify(ctx sdk.Context, height uint64) (list []Nft)
	SetRecipients(ctx sdk.Context, nfts map[Nft]ctypes.HexAddressString, height uint64)
}

type StakingKeeper

type StakingKeeper interface {
	// GetValidator get a single validator
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (stakingtypes.Validator, bool)
	// MaxValidators returns the maximum amount of bonded validators
	MaxValidators(sdk.Context) uint32
	// ValidatorsPowerStoreIterator  returns an iterator for the current validator power store
	ValidatorsPowerStoreIterator(ctx sdk.Context) sdk.Iterator
	// PowerReduction - is the amount of staking tokens required for 1 unit of consensus-engine power.
	// Currently, this returns a global variable that the app developer can tweak.
	PowerReduction(ctx sdk.Context) math.Int
	// TotalBondedTokens total staking tokens supply which is bonded.
	TotalBondedTokens(ctx sdk.Context) math.Int
	// Slash a validator for an infraction committed at a known height
	// Find the contributing stake at that height and burn the specified slashFactor
	// of it, updating unbonding delegations & redelegations appropriately
	//
	// CONTRACT:
	//
	//	slashFactor is non-negative
	//
	// CONTRACT:
	//
	//	Infraction was committed equal to or less than an unbonding period in the past,
	//	so all unbonding delegations and redelegations from that height are stored
	//
	// CONTRACT:
	//
	//	Slash will not slash unbonded validators (for the above reason)
	//
	// CONTRACT:
	//
	//	Infraction was committed at the current height or at a past height,
	//	not at a height in the future
	Slash(ctx sdk.Context, consAddr sdk.ConsAddress, infractionHeight int64, power int64, slashFactor sdk.Dec) math.Int
	// Jail a validator
	Jail(ctx sdk.Context, consAddr sdk.ConsAddress)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) FeederDelegationConsent

func (*UnimplementedMsgServer) Prevote

func (*UnimplementedMsgServer) Vote

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AggregatePrevote

func (*UnimplementedQueryServer) AggregatePrevotes

func (*UnimplementedQueryServer) AggregateVote

func (*UnimplementedQueryServer) AggregateVotes

func (*UnimplementedQueryServer) AllBlockData

func (*UnimplementedQueryServer) BlockData

func (*UnimplementedQueryServer) CurrentRoundInfo added in v0.0.6

func (*UnimplementedQueryServer) FeederDelegation

func (*UnimplementedQueryServer) MissCount

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) RewardPool

type VoteData added in v0.3.0

type VoteData struct {
	Topic OralceTopic `protobuf:"varint,1,opt,name=topic,proto3,enum=settlus.oracle.v1alpha1.OralceTopic" json:"topic,omitempty"`
	Data  []string    `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
}

func BlockDataToVoteData added in v0.3.0

func BlockDataToVoteData(bd *BlockData) []*VoteData

func (*VoteData) Descriptor added in v0.3.0

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

func (*VoteData) GetData added in v0.3.0

func (m *VoteData) GetData() []string

func (*VoteData) GetTopic added in v0.3.0

func (m *VoteData) GetTopic() OralceTopic

func (*VoteData) Marshal added in v0.3.0

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

func (*VoteData) MarshalTo added in v0.3.0

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

func (*VoteData) MarshalToSizedBuffer added in v0.3.0

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

func (*VoteData) ProtoMessage added in v0.3.0

func (*VoteData) ProtoMessage()

func (*VoteData) Reset added in v0.3.0

func (m *VoteData) Reset()

func (*VoteData) Size added in v0.3.0

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

func (*VoteData) String added in v0.3.0

func (m *VoteData) String() string

func (*VoteData) Unmarshal added in v0.3.0

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

func (*VoteData) XXX_DiscardUnknown added in v0.3.0

func (m *VoteData) XXX_DiscardUnknown()

func (*VoteData) XXX_Marshal added in v0.3.0

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

func (*VoteData) XXX_Merge added in v0.3.0

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

func (*VoteData) XXX_Size added in v0.3.0

func (m *VoteData) XXX_Size() int

func (*VoteData) XXX_Unmarshal added in v0.3.0

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

Jump to

Keyboard shortcuts

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