Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AggregatePrevoteKey(validatorAddress string) []byte
- func AggregateVoteKey(validatorAddress string) []byte
- func BlockDataKey(chainId string) []byte
- func CalculateRoundId(blockHeight int64, votePeriod uint64) uint64
- func CalculateRoundStartHeight(blockHeight int64, votePeriod uint64) uint64
- func CalculateVotePeriod(blockHeight int64, votePeriod uint64) (int64, int64)
- func CurrentRoundKey() []byte
- func FeederDelegationKey(validatorAddress string) []byte
- func GetAggregateVoteHash(voteData []*VoteData, salt string) (string, error)
- func IsLastBlockOfSlashWindow(ctx sdk.Context, slashWindow uint64) bool
- func KeyPrefix(p string) []byte
- func MissCountKey(validatorAddress string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func StringToOwnershipData(voteString string) (ctypes.Nft, ctypes.HexAddressString, error)
- func ValidateVoteData(voteData []*VoteData, chainList []string) bool
- type AccountKeeper
- type AggregatePrevote
- func (*AggregatePrevote) Descriptor() ([]byte, []int)
- func (m *AggregatePrevote) GetHash() string
- func (m *AggregatePrevote) GetVoter() string
- func (m *AggregatePrevote) Marshal() (dAtA []byte, err error)
- func (m *AggregatePrevote) MarshalTo(dAtA []byte) (int, error)
- func (m *AggregatePrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AggregatePrevote) ProtoMessage()
- func (m *AggregatePrevote) Reset()
- func (m *AggregatePrevote) Size() (n int)
- func (m *AggregatePrevote) String() string
- func (m *AggregatePrevote) Unmarshal(dAtA []byte) error
- func (m *AggregatePrevote) XXX_DiscardUnknown()
- func (m *AggregatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AggregatePrevote) XXX_Merge(src proto.Message)
- func (m *AggregatePrevote) XXX_Size() int
- func (m *AggregatePrevote) XXX_Unmarshal(b []byte) error
- type AggregateVote
- func (*AggregateVote) Descriptor() ([]byte, []int)
- func (m *AggregateVote) GetVoteData() []*VoteData
- func (m *AggregateVote) GetVoter() string
- func (m *AggregateVote) Marshal() (dAtA []byte, err error)
- func (m *AggregateVote) MarshalTo(dAtA []byte) (int, error)
- func (m *AggregateVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AggregateVote) ProtoMessage()
- func (m *AggregateVote) Reset()
- func (m *AggregateVote) Size() (n int)
- func (m *AggregateVote) String() string
- func (m *AggregateVote) Unmarshal(dAtA []byte) error
- func (m *AggregateVote) XXX_DiscardUnknown()
- func (m *AggregateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AggregateVote) XXX_Merge(src proto.Message)
- func (m *AggregateVote) XXX_Size() int
- func (m *AggregateVote) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BlockData
- func (*BlockData) Descriptor() ([]byte, []int)
- func (m *BlockData) GetBlockHash() string
- func (m *BlockData) GetBlockNumber() int64
- func (m *BlockData) GetChainId() string
- func (m *BlockData) Marshal() (dAtA []byte, err error)
- func (m *BlockData) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockData) ProtoMessage()
- func (m *BlockData) Reset()
- func (m *BlockData) Size() (n int)
- func (m *BlockData) String() string
- func (m *BlockData) Unmarshal(dAtA []byte) error
- func (m *BlockData) XXX_DiscardUnknown()
- func (m *BlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockData) XXX_Merge(src proto.Message)
- func (m *BlockData) XXX_Size() int
- func (m *BlockData) XXX_Unmarshal(b []byte) error
- type Claim
- type DistributionKeeper
- type EventFeederDelegationConsent
- func (*EventFeederDelegationConsent) Descriptor() ([]byte, []int)
- func (m *EventFeederDelegationConsent) GetFeeder() string
- func (m *EventFeederDelegationConsent) GetValidator() string
- func (m *EventFeederDelegationConsent) Marshal() (dAtA []byte, err error)
- func (m *EventFeederDelegationConsent) MarshalTo(dAtA []byte) (int, error)
- func (m *EventFeederDelegationConsent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventFeederDelegationConsent) ProtoMessage()
- func (m *EventFeederDelegationConsent) Reset()
- func (m *EventFeederDelegationConsent) Size() (n int)
- func (m *EventFeederDelegationConsent) String() string
- func (m *EventFeederDelegationConsent) Unmarshal(dAtA []byte) error
- func (m *EventFeederDelegationConsent) XXX_DiscardUnknown()
- func (m *EventFeederDelegationConsent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventFeederDelegationConsent) XXX_Merge(src proto.Message)
- func (m *EventFeederDelegationConsent) XXX_Size() int
- func (m *EventFeederDelegationConsent) XXX_Unmarshal(b []byte) error
- type EventOracleConsensusFailed
- func (*EventOracleConsensusFailed) Descriptor() ([]byte, []int)
- func (m *EventOracleConsensusFailed) GetBlockHeight() int64
- func (m *EventOracleConsensusFailed) GetChainId() string
- func (m *EventOracleConsensusFailed) Marshal() (dAtA []byte, err error)
- func (m *EventOracleConsensusFailed) MarshalTo(dAtA []byte) (int, error)
- func (m *EventOracleConsensusFailed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventOracleConsensusFailed) ProtoMessage()
- func (m *EventOracleConsensusFailed) Reset()
- func (m *EventOracleConsensusFailed) Size() (n int)
- func (m *EventOracleConsensusFailed) String() string
- func (m *EventOracleConsensusFailed) Unmarshal(dAtA []byte) error
- func (m *EventOracleConsensusFailed) XXX_DiscardUnknown()
- func (m *EventOracleConsensusFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventOracleConsensusFailed) XXX_Merge(src proto.Message)
- func (m *EventOracleConsensusFailed) XXX_Size() int
- func (m *EventOracleConsensusFailed) XXX_Unmarshal(b []byte) error
- type EventPrevote
- func (*EventPrevote) Descriptor() ([]byte, []int)
- func (m *EventPrevote) GetFeeder() string
- func (m *EventPrevote) GetHash() string
- func (m *EventPrevote) GetValidator() string
- func (m *EventPrevote) Marshal() (dAtA []byte, err error)
- func (m *EventPrevote) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPrevote) ProtoMessage()
- func (m *EventPrevote) Reset()
- func (m *EventPrevote) Size() (n int)
- func (m *EventPrevote) String() string
- func (m *EventPrevote) Unmarshal(dAtA []byte) error
- func (m *EventPrevote) XXX_DiscardUnknown()
- func (m *EventPrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPrevote) XXX_Merge(src proto.Message)
- func (m *EventPrevote) XXX_Size() int
- func (m *EventPrevote) XXX_Unmarshal(b []byte) error
- type EventVote
- func (*EventVote) Descriptor() ([]byte, []int)
- func (m *EventVote) GetFeeder() string
- func (m *EventVote) GetValidator() string
- func (m *EventVote) GetVoteData() []*VoteData
- func (m *EventVote) Marshal() (dAtA []byte, err error)
- func (m *EventVote) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVote) ProtoMessage()
- func (m *EventVote) Reset()
- func (m *EventVote) Size() (n int)
- func (m *EventVote) String() string
- func (m *EventVote) Unmarshal(dAtA []byte) error
- func (m *EventVote) XXX_DiscardUnknown()
- func (m *EventVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVote) XXX_Merge(src proto.Message)
- func (m *EventVote) XXX_Size() int
- func (m *EventVote) XXX_Unmarshal(b []byte) error
- type FeederDelegation
- func (*FeederDelegation) Descriptor() ([]byte, []int)
- func (m *FeederDelegation) GetFeederAddress() string
- func (m *FeederDelegation) GetValidatorAddress() string
- func (m *FeederDelegation) Marshal() (dAtA []byte, err error)
- func (m *FeederDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *FeederDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeederDelegation) ProtoMessage()
- func (m *FeederDelegation) Reset()
- func (m *FeederDelegation) Size() (n int)
- func (m *FeederDelegation) String() string
- func (m *FeederDelegation) Unmarshal(dAtA []byte) error
- func (m *FeederDelegation) XXX_DiscardUnknown()
- func (m *FeederDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeederDelegation) XXX_Merge(src proto.Message)
- func (m *FeederDelegation) XXX_Size() int
- func (m *FeederDelegation) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAggregatePrevotes() []AggregatePrevote
- func (m *GenesisState) GetAggregateVotes() []AggregateVote
- func (m *GenesisState) GetBlockData() []BlockData
- func (m *GenesisState) GetFeederDelegation() []FeederDelegation
- func (m *GenesisState) GetMissCounts() []MissCount
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MissCount
- func (*MissCount) Descriptor() ([]byte, []int)
- func (m *MissCount) GetMissCount() uint64
- func (m *MissCount) GetValidatorAddress() string
- func (m *MissCount) Marshal() (dAtA []byte, err error)
- func (m *MissCount) MarshalTo(dAtA []byte) (int, error)
- func (m *MissCount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MissCount) ProtoMessage()
- func (m *MissCount) Reset()
- func (m *MissCount) Size() (n int)
- func (m *MissCount) String() string
- func (m *MissCount) Unmarshal(dAtA []byte) error
- func (m *MissCount) XXX_DiscardUnknown()
- func (m *MissCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MissCount) XXX_Merge(src proto.Message)
- func (m *MissCount) XXX_Size() int
- func (m *MissCount) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgFeederDelegationConsent
- func (*MsgFeederDelegationConsent) Descriptor() ([]byte, []int)
- func (m *MsgFeederDelegationConsent) GetFeederAddress() string
- func (msg *MsgFeederDelegationConsent) GetSignBytes() []byte
- func (msg *MsgFeederDelegationConsent) GetSigners() []sdk.AccAddress
- func (m *MsgFeederDelegationConsent) GetValidator() string
- func (m *MsgFeederDelegationConsent) Marshal() (dAtA []byte, err error)
- func (m *MsgFeederDelegationConsent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFeederDelegationConsent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFeederDelegationConsent) ProtoMessage()
- func (m *MsgFeederDelegationConsent) Reset()
- func (msg *MsgFeederDelegationConsent) Route() string
- func (m *MsgFeederDelegationConsent) Size() (n int)
- func (m *MsgFeederDelegationConsent) String() string
- func (msg *MsgFeederDelegationConsent) Type() string
- func (m *MsgFeederDelegationConsent) Unmarshal(dAtA []byte) error
- func (msg *MsgFeederDelegationConsent) ValidateBasic() error
- func (m *MsgFeederDelegationConsent) XXX_DiscardUnknown()
- func (m *MsgFeederDelegationConsent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFeederDelegationConsent) XXX_Merge(src proto.Message)
- func (m *MsgFeederDelegationConsent) XXX_Size() int
- func (m *MsgFeederDelegationConsent) XXX_Unmarshal(b []byte) error
- type MsgFeederDelegationConsentResponse
- func (*MsgFeederDelegationConsentResponse) Descriptor() ([]byte, []int)
- func (m *MsgFeederDelegationConsentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFeederDelegationConsentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFeederDelegationConsentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFeederDelegationConsentResponse) ProtoMessage()
- func (m *MsgFeederDelegationConsentResponse) Reset()
- func (m *MsgFeederDelegationConsentResponse) Size() (n int)
- func (m *MsgFeederDelegationConsentResponse) String() string
- func (m *MsgFeederDelegationConsentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFeederDelegationConsentResponse) XXX_DiscardUnknown()
- func (m *MsgFeederDelegationConsentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFeederDelegationConsentResponse) XXX_Merge(src proto.Message)
- func (m *MsgFeederDelegationConsentResponse) XXX_Size() int
- func (m *MsgFeederDelegationConsentResponse) XXX_Unmarshal(b []byte) error
- type MsgPrevote
- func (*MsgPrevote) Descriptor() ([]byte, []int)
- func (m *MsgPrevote) GetFeeder() string
- func (m *MsgPrevote) GetHash() string
- func (m *MsgPrevote) GetRoundId() uint64
- func (msg *MsgPrevote) GetSignBytes() []byte
- func (msg *MsgPrevote) GetSigners() []sdk.AccAddress
- func (m *MsgPrevote) GetValidator() string
- func (m *MsgPrevote) Marshal() (dAtA []byte, err error)
- func (m *MsgPrevote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPrevote) ProtoMessage()
- func (m *MsgPrevote) Reset()
- func (msg *MsgPrevote) Route() string
- func (m *MsgPrevote) Size() (n int)
- func (m *MsgPrevote) String() string
- func (msg *MsgPrevote) Type() string
- func (m *MsgPrevote) Unmarshal(dAtA []byte) error
- func (msg *MsgPrevote) ValidateBasic() error
- func (m *MsgPrevote) XXX_DiscardUnknown()
- func (m *MsgPrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPrevote) XXX_Merge(src proto.Message)
- func (m *MsgPrevote) XXX_Size() int
- func (m *MsgPrevote) XXX_Unmarshal(b []byte) error
- type MsgPrevoteResponse
- func (*MsgPrevoteResponse) Descriptor() ([]byte, []int)
- func (m *MsgPrevoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPrevoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPrevoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPrevoteResponse) ProtoMessage()
- func (m *MsgPrevoteResponse) Reset()
- func (m *MsgPrevoteResponse) Size() (n int)
- func (m *MsgPrevoteResponse) String() string
- func (m *MsgPrevoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPrevoteResponse) XXX_DiscardUnknown()
- func (m *MsgPrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPrevoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgPrevoteResponse) XXX_Size() int
- func (m *MsgPrevoteResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgVote
- func (*MsgVote) Descriptor() ([]byte, []int)
- func (m *MsgVote) GetFeeder() string
- func (m *MsgVote) GetRoundId() uint64
- func (m *MsgVote) GetSalt() string
- func (msg *MsgVote) GetSignBytes() []byte
- func (msg *MsgVote) GetSigners() []sdk.AccAddress
- func (m *MsgVote) GetValidator() string
- func (m *MsgVote) GetVoteData() []*VoteData
- func (m *MsgVote) Marshal() (dAtA []byte, err error)
- func (m *MsgVote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVote) ProtoMessage()
- func (m *MsgVote) Reset()
- func (msg *MsgVote) Route() string
- func (m *MsgVote) Size() (n int)
- func (m *MsgVote) String() string
- func (msg *MsgVote) Type() string
- func (m *MsgVote) Unmarshal(dAtA []byte) error
- func (msg *MsgVote) ValidateBasic() error
- func (m *MsgVote) XXX_DiscardUnknown()
- func (m *MsgVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVote) XXX_Merge(src proto.Message)
- func (m *MsgVote) XXX_Size() int
- func (m *MsgVote) XXX_Unmarshal(b []byte) error
- type MsgVoteResponse
- func (*MsgVoteResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteResponse) ProtoMessage()
- func (m *MsgVoteResponse) Reset()
- func (m *MsgVoteResponse) Size() (n int)
- func (m *MsgVoteResponse) String() string
- func (m *MsgVoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVoteResponse) XXX_DiscardUnknown()
- func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteResponse) XXX_Size() int
- func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error
- type OracleData
- func (*OracleData) Descriptor() ([]byte, []int)
- func (m *OracleData) GetSources() []string
- func (m *OracleData) GetTopic() OralceTopic
- func (m *OracleData) Marshal() (dAtA []byte, err error)
- func (m *OracleData) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleData) ProtoMessage()
- func (m *OracleData) Reset()
- func (m *OracleData) Size() (n int)
- func (m *OracleData) String() string
- func (m *OracleData) Unmarshal(dAtA []byte) error
- func (m *OracleData) XXX_DiscardUnknown()
- func (m *OracleData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleData) XXX_Merge(src proto.Message)
- func (m *OracleData) XXX_Size() int
- func (m *OracleData) XXX_Unmarshal(b []byte) error
- type OralceTopic
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMaxMissCountPerSlashWindow() uint64
- func (m *Params) GetSlashWindow() uint64
- func (m *Params) GetVotePeriod() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevoteRequest
- func (*QueryAggregatePrevoteRequest) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevoteRequest) GetPagination() *query.PageRequest
- func (m *QueryAggregatePrevoteRequest) GetValidatorAddress() string
- func (m *QueryAggregatePrevoteRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevoteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevoteRequest) ProtoMessage()
- func (m *QueryAggregatePrevoteRequest) Reset()
- func (m *QueryAggregatePrevoteRequest) Size() (n int)
- func (m *QueryAggregatePrevoteRequest) String() string
- func (m *QueryAggregatePrevoteRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevoteRequest) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevoteRequest) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevoteRequest) XXX_Size() int
- func (m *QueryAggregatePrevoteRequest) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevoteResponse
- func (*QueryAggregatePrevoteResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevoteResponse) GetAggregatePrevote() *AggregatePrevote
- func (m *QueryAggregatePrevoteResponse) GetPagination() *query.PageResponse
- func (m *QueryAggregatePrevoteResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevoteResponse) ProtoMessage()
- func (m *QueryAggregatePrevoteResponse) Reset()
- func (m *QueryAggregatePrevoteResponse) Size() (n int)
- func (m *QueryAggregatePrevoteResponse) String() string
- func (m *QueryAggregatePrevoteResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevoteResponse) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevoteResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevoteResponse) XXX_Size() int
- func (m *QueryAggregatePrevoteResponse) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevotesRequest
- func (*QueryAggregatePrevotesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevotesRequest) GetPagination() *query.PageRequest
- func (m *QueryAggregatePrevotesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevotesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevotesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevotesRequest) ProtoMessage()
- func (m *QueryAggregatePrevotesRequest) Reset()
- func (m *QueryAggregatePrevotesRequest) Size() (n int)
- func (m *QueryAggregatePrevotesRequest) String() string
- func (m *QueryAggregatePrevotesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevotesRequest) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevotesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevotesRequest) XXX_Size() int
- func (m *QueryAggregatePrevotesRequest) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevotesResponse
- func (*QueryAggregatePrevotesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevotesResponse) GetAggregatePrevotes() []*AggregatePrevote
- func (m *QueryAggregatePrevotesResponse) GetPagination() *query.PageResponse
- func (m *QueryAggregatePrevotesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevotesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevotesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevotesResponse) ProtoMessage()
- func (m *QueryAggregatePrevotesResponse) Reset()
- func (m *QueryAggregatePrevotesResponse) Size() (n int)
- func (m *QueryAggregatePrevotesResponse) String() string
- func (m *QueryAggregatePrevotesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevotesResponse) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevotesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevotesResponse) XXX_Size() int
- func (m *QueryAggregatePrevotesResponse) XXX_Unmarshal(b []byte) error
- type QueryAggregateVoteRequest
- func (*QueryAggregateVoteRequest) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVoteRequest) GetPagination() *query.PageRequest
- func (m *QueryAggregateVoteRequest) GetValidatorAddress() string
- func (m *QueryAggregateVoteRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVoteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVoteRequest) ProtoMessage()
- func (m *QueryAggregateVoteRequest) Reset()
- func (m *QueryAggregateVoteRequest) Size() (n int)
- func (m *QueryAggregateVoteRequest) String() string
- func (m *QueryAggregateVoteRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVoteRequest) XXX_DiscardUnknown()
- func (m *QueryAggregateVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVoteRequest) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVoteRequest) XXX_Size() int
- func (m *QueryAggregateVoteRequest) XXX_Unmarshal(b []byte) error
- type QueryAggregateVoteResponse
- func (*QueryAggregateVoteResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVoteResponse) GetAggregateVote() *AggregateVote
- func (m *QueryAggregateVoteResponse) GetPagination() *query.PageResponse
- func (m *QueryAggregateVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVoteResponse) ProtoMessage()
- func (m *QueryAggregateVoteResponse) Reset()
- func (m *QueryAggregateVoteResponse) Size() (n int)
- func (m *QueryAggregateVoteResponse) String() string
- func (m *QueryAggregateVoteResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVoteResponse) XXX_DiscardUnknown()
- func (m *QueryAggregateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVoteResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVoteResponse) XXX_Size() int
- func (m *QueryAggregateVoteResponse) XXX_Unmarshal(b []byte) error
- type QueryAggregateVotesRequest
- func (*QueryAggregateVotesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVotesRequest) GetPagination() *query.PageRequest
- func (m *QueryAggregateVotesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVotesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVotesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVotesRequest) ProtoMessage()
- func (m *QueryAggregateVotesRequest) Reset()
- func (m *QueryAggregateVotesRequest) Size() (n int)
- func (m *QueryAggregateVotesRequest) String() string
- func (m *QueryAggregateVotesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVotesRequest) XXX_DiscardUnknown()
- func (m *QueryAggregateVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVotesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVotesRequest) XXX_Size() int
- func (m *QueryAggregateVotesRequest) XXX_Unmarshal(b []byte) error
- type QueryAggregateVotesResponse
- func (*QueryAggregateVotesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVotesResponse) GetAggregateVotes() []*AggregateVote
- func (m *QueryAggregateVotesResponse) GetPagination() *query.PageResponse
- func (m *QueryAggregateVotesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVotesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVotesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVotesResponse) ProtoMessage()
- func (m *QueryAggregateVotesResponse) Reset()
- func (m *QueryAggregateVotesResponse) Size() (n int)
- func (m *QueryAggregateVotesResponse) String() string
- func (m *QueryAggregateVotesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVotesResponse) XXX_DiscardUnknown()
- func (m *QueryAggregateVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVotesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVotesResponse) XXX_Size() int
- func (m *QueryAggregateVotesResponse) XXX_Unmarshal(b []byte) error
- type QueryAllBlockDataRequest
- func (*QueryAllBlockDataRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllBlockDataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBlockDataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBlockDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBlockDataRequest) ProtoMessage()
- func (m *QueryAllBlockDataRequest) Reset()
- func (m *QueryAllBlockDataRequest) Size() (n int)
- func (m *QueryAllBlockDataRequest) String() string
- func (m *QueryAllBlockDataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllBlockDataRequest) XXX_DiscardUnknown()
- func (m *QueryAllBlockDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBlockDataRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllBlockDataRequest) XXX_Size() int
- func (m *QueryAllBlockDataRequest) XXX_Unmarshal(b []byte) error
- type QueryAllBlockDataResponse
- func (*QueryAllBlockDataResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllBlockDataResponse) GetBlockData() []BlockData
- func (m *QueryAllBlockDataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBlockDataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBlockDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBlockDataResponse) ProtoMessage()
- func (m *QueryAllBlockDataResponse) Reset()
- func (m *QueryAllBlockDataResponse) Size() (n int)
- func (m *QueryAllBlockDataResponse) String() string
- func (m *QueryAllBlockDataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllBlockDataResponse) XXX_DiscardUnknown()
- func (m *QueryAllBlockDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBlockDataResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllBlockDataResponse) XXX_Size() int
- func (m *QueryAllBlockDataResponse) XXX_Unmarshal(b []byte) error
- type QueryBlockDataRequest
- func (*QueryBlockDataRequest) Descriptor() ([]byte, []int)
- func (m *QueryBlockDataRequest) GetChainId() string
- func (m *QueryBlockDataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockDataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockDataRequest) ProtoMessage()
- func (m *QueryBlockDataRequest) Reset()
- func (m *QueryBlockDataRequest) Size() (n int)
- func (m *QueryBlockDataRequest) String() string
- func (m *QueryBlockDataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBlockDataRequest) XXX_DiscardUnknown()
- func (m *QueryBlockDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockDataRequest) XXX_Merge(src proto.Message)
- func (m *QueryBlockDataRequest) XXX_Size() int
- func (m *QueryBlockDataRequest) XXX_Unmarshal(b []byte) error
- type QueryBlockDataResponse
- func (*QueryBlockDataResponse) Descriptor() ([]byte, []int)
- func (m *QueryBlockDataResponse) GetBlockData() *BlockData
- func (m *QueryBlockDataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockDataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockDataResponse) ProtoMessage()
- func (m *QueryBlockDataResponse) Reset()
- func (m *QueryBlockDataResponse) Size() (n int)
- func (m *QueryBlockDataResponse) String() string
- func (m *QueryBlockDataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBlockDataResponse) XXX_DiscardUnknown()
- func (m *QueryBlockDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockDataResponse) XXX_Merge(src proto.Message)
- func (m *QueryBlockDataResponse) XXX_Size() int
- func (m *QueryBlockDataResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCurrentRoundInfoRequest
- func (*QueryCurrentRoundInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryCurrentRoundInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentRoundInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentRoundInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentRoundInfoRequest) ProtoMessage()
- func (m *QueryCurrentRoundInfoRequest) Reset()
- func (m *QueryCurrentRoundInfoRequest) Size() (n int)
- func (m *QueryCurrentRoundInfoRequest) String() string
- func (m *QueryCurrentRoundInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentRoundInfoRequest) XXX_DiscardUnknown()
- func (m *QueryCurrentRoundInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentRoundInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryCurrentRoundInfoRequest) XXX_Size() int
- func (m *QueryCurrentRoundInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryCurrentRoundInfoResponse
- func (*QueryCurrentRoundInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryCurrentRoundInfoResponse) GetRoundInfo() *RoundInfo
- func (m *QueryCurrentRoundInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentRoundInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentRoundInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentRoundInfoResponse) ProtoMessage()
- func (m *QueryCurrentRoundInfoResponse) Reset()
- func (m *QueryCurrentRoundInfoResponse) Size() (n int)
- func (m *QueryCurrentRoundInfoResponse) String() string
- func (m *QueryCurrentRoundInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentRoundInfoResponse) XXX_DiscardUnknown()
- func (m *QueryCurrentRoundInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentRoundInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryCurrentRoundInfoResponse) XXX_Size() int
- func (m *QueryCurrentRoundInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryFeederDelegationRequest
- func (*QueryFeederDelegationRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeederDelegationRequest) GetValidatorAddress() string
- func (m *QueryFeederDelegationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeederDelegationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeederDelegationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeederDelegationRequest) ProtoMessage()
- func (m *QueryFeederDelegationRequest) Reset()
- func (m *QueryFeederDelegationRequest) Size() (n int)
- func (m *QueryFeederDelegationRequest) String() string
- func (m *QueryFeederDelegationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeederDelegationRequest) XXX_DiscardUnknown()
- func (m *QueryFeederDelegationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeederDelegationRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeederDelegationRequest) XXX_Size() int
- func (m *QueryFeederDelegationRequest) XXX_Unmarshal(b []byte) error
- type QueryFeederDelegationResponse
- func (*QueryFeederDelegationResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeederDelegationResponse) GetFeederDelegation() *FeederDelegation
- func (m *QueryFeederDelegationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeederDelegationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeederDelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeederDelegationResponse) ProtoMessage()
- func (m *QueryFeederDelegationResponse) Reset()
- func (m *QueryFeederDelegationResponse) Size() (n int)
- func (m *QueryFeederDelegationResponse) String() string
- func (m *QueryFeederDelegationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeederDelegationResponse) XXX_DiscardUnknown()
- func (m *QueryFeederDelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeederDelegationResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeederDelegationResponse) XXX_Size() int
- func (m *QueryFeederDelegationResponse) XXX_Unmarshal(b []byte) error
- type QueryMissCountRequest
- func (*QueryMissCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryMissCountRequest) GetValidatorAddress() string
- func (m *QueryMissCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMissCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissCountRequest) ProtoMessage()
- func (m *QueryMissCountRequest) Reset()
- func (m *QueryMissCountRequest) Size() (n int)
- func (m *QueryMissCountRequest) String() string
- func (m *QueryMissCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMissCountRequest) XXX_DiscardUnknown()
- func (m *QueryMissCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryMissCountRequest) XXX_Size() int
- func (m *QueryMissCountRequest) XXX_Unmarshal(b []byte) error
- type QueryMissCountResponse
- func (*QueryMissCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryMissCountResponse) GetMissCount() uint64
- func (m *QueryMissCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMissCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissCountResponse) ProtoMessage()
- func (m *QueryMissCountResponse) Reset()
- func (m *QueryMissCountResponse) Size() (n int)
- func (m *QueryMissCountResponse) String() string
- func (m *QueryMissCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMissCountResponse) XXX_DiscardUnknown()
- func (m *QueryMissCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryMissCountResponse) XXX_Size() int
- func (m *QueryMissCountResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryRewardPoolRequest
- func (*QueryRewardPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryRewardPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardPoolRequest) ProtoMessage()
- func (m *QueryRewardPoolRequest) Reset()
- func (m *QueryRewardPoolRequest) Size() (n int)
- func (m *QueryRewardPoolRequest) String() string
- func (m *QueryRewardPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRewardPoolRequest) XXX_DiscardUnknown()
- func (m *QueryRewardPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryRewardPoolRequest) XXX_Size() int
- func (m *QueryRewardPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryRewardPoolResponse
- func (*QueryRewardPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryRewardPoolResponse) GetBalance() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryRewardPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardPoolResponse) ProtoMessage()
- func (m *QueryRewardPoolResponse) Reset()
- func (m *QueryRewardPoolResponse) Size() (n int)
- func (m *QueryRewardPoolResponse) String() string
- func (m *QueryRewardPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRewardPoolResponse) XXX_DiscardUnknown()
- func (m *QueryRewardPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryRewardPoolResponse) XXX_Size() int
- func (m *QueryRewardPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RoundInfo
- func (*RoundInfo) Descriptor() ([]byte, []int)
- func (m *RoundInfo) GetId() uint64
- func (m *RoundInfo) GetOracleData() []*OracleData
- func (m *RoundInfo) GetPrevoteEnd() int64
- func (m *RoundInfo) GetTimestamp() int64
- func (m *RoundInfo) GetVoteEnd() int64
- func (m *RoundInfo) Marshal() (dAtA []byte, err error)
- func (m *RoundInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RoundInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RoundInfo) ProtoMessage()
- func (m *RoundInfo) Reset()
- func (m *RoundInfo) Size() (n int)
- func (m *RoundInfo) String() string
- func (m *RoundInfo) Unmarshal(dAtA []byte) error
- func (m *RoundInfo) XXX_DiscardUnknown()
- func (m *RoundInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoundInfo) XXX_Merge(src proto.Message)
- func (m *RoundInfo) XXX_Size() int
- func (m *RoundInfo) XXX_Unmarshal(b []byte) error
- type SettlementKeeper
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) FeederDelegationConsent(ctx context.Context, req *MsgFeederDelegationConsent) (*MsgFeederDelegationConsentResponse, error)
- func (*UnimplementedMsgServer) Prevote(ctx context.Context, req *MsgPrevote) (*MsgPrevoteResponse, error)
- func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AggregatePrevote(ctx context.Context, req *QueryAggregatePrevoteRequest) (*QueryAggregatePrevoteResponse, error)
- func (*UnimplementedQueryServer) AggregatePrevotes(ctx context.Context, req *QueryAggregatePrevotesRequest) (*QueryAggregatePrevotesResponse, error)
- func (*UnimplementedQueryServer) AggregateVote(ctx context.Context, req *QueryAggregateVoteRequest) (*QueryAggregateVoteResponse, error)
- func (*UnimplementedQueryServer) AggregateVotes(ctx context.Context, req *QueryAggregateVotesRequest) (*QueryAggregateVotesResponse, error)
- func (*UnimplementedQueryServer) AllBlockData(ctx context.Context, req *QueryAllBlockDataRequest) (*QueryAllBlockDataResponse, error)
- func (*UnimplementedQueryServer) BlockData(ctx context.Context, req *QueryBlockDataRequest) (*QueryBlockDataResponse, error)
- func (*UnimplementedQueryServer) CurrentRoundInfo(ctx context.Context, req *QueryCurrentRoundInfoRequest) (*QueryCurrentRoundInfoResponse, error)
- func (*UnimplementedQueryServer) FeederDelegation(ctx context.Context, req *QueryFeederDelegationRequest) (*QueryFeederDelegationResponse, error)
- func (*UnimplementedQueryServer) MissCount(ctx context.Context, req *QueryMissCountRequest) (*QueryMissCountResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) RewardPool(ctx context.Context, req *QueryRewardPoolRequest) (*QueryRewardPoolResponse, error)
- type VoteData
- func (*VoteData) Descriptor() ([]byte, []int)
- func (m *VoteData) GetData() []string
- func (m *VoteData) GetTopic() OralceTopic
- func (m *VoteData) Marshal() (dAtA []byte, err error)
- func (m *VoteData) MarshalTo(dAtA []byte) (int, error)
- func (m *VoteData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoteData) ProtoMessage()
- func (m *VoteData) Reset()
- func (m *VoteData) Size() (n int)
- func (m *VoteData) String() string
- func (m *VoteData) Unmarshal(dAtA []byte) error
- func (m *VoteData) XXX_DiscardUnknown()
- func (m *VoteData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteData) XXX_Merge(src proto.Message)
- func (m *VoteData) XXX_Size() int
- func (m *VoteData) XXX_Unmarshal(b []byte) error
Constants ¶
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 )
const ( TypeMsgVote = "vote" TypeMsgPrevote = "prevote" TypeMsgFeederDelegationConsent = "feeder_delegation_consent" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
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
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( BlockDataKeyPrefix = []byte{0x00} FeederDelegationKeyPrefix = []byte{0x01} MissCountKeyPrefix = []byte{0x02} AggregatePrevoteKeyPrefix = []byte{0x03} AggregateVoteKeyPrefix = []byte{0x04} RoundKeyPrefix = []byte{0x05} CurrentRoundBytes = []byte{0x00} )
var ( ErrInvalidLengthOracle = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOracle = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOracle = fmt.Errorf("proto: unexpected end of group") )
var ( KeyVotePeriod = []byte("VotePeriod") KeyVoteThreshold = []byte("VoteThreshold") KeyToleratedErrorBand = []byte("ToleratedErrorBand") KeyWhitelist = []byte("Whitelist") KeySlashFraction = []byte("SlashFraction") KeySlashWindow = []byte("SlashWindow") KeyMaxMissCountPerSlashWindow = []byte("MaxMissCountPerSlashWindow") )
var ( DefaultVotePeriod = uint64(10) DefaultVoteThreshold = sdk.NewDecWithPrec(50, 2) // 50% DefaultSlashFraction = sdk.NewDecWithPrec(1, 2) // 1% DefaultSlashWindow = uint64(100000) DefaultMaxMissCountPerSlashWindow = uint64(60) )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var OralceTopic_name = map[int32]string{
0: "BLOCK",
1: "OWNERSHIP",
}
var OralceTopic_value = map[string]int32{
"BLOCK": 0,
"OWNERSHIP": 1,
}
Functions ¶
func AggregatePrevoteKey ¶
func AggregateVoteKey ¶
func BlockDataKey ¶
func CalculateRoundId ¶ added in v0.0.6
func CalculateRoundStartHeight ¶ added in v0.3.0
func CalculateVotePeriod ¶ added in v0.0.6
func CurrentRoundKey ¶ added in v0.0.6
func CurrentRoundKey() []byte
func FeederDelegationKey ¶
func GetAggregateVoteHash ¶
GetAggregateVoteHash returns the hash of the aggregate vote from the block data string and salt
func IsLastBlockOfSlashWindow ¶
IsLastBlockOfSlashWindow returns true if we are at the last block of the slash slashWindow
func MissCountKey ¶
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 RegisterQueryHandler ¶
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 StringToOwnershipData ¶ added in v0.3.0
func ValidateVoteData ¶ added in v0.3.0
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) 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) 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 (*BlockData) Descriptor ¶
func (*BlockData) GetBlockHash ¶
func (*BlockData) GetBlockNumber ¶
func (*BlockData) GetChainId ¶
func (*BlockData) MarshalToSizedBuffer ¶
func (*BlockData) ProtoMessage ¶
func (*BlockData) ProtoMessage()
func (*BlockData) XXX_DiscardUnknown ¶
func (m *BlockData) XXX_DiscardUnknown()
func (*BlockData) XXX_Marshal ¶
func (*BlockData) XXX_Unmarshal ¶
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 (m *EventFeederDelegationConsent) String() 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) 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) GetValidator ¶
func (*EventVote) GetVoteData ¶ added in v0.3.0
func (*EventVote) MarshalToSizedBuffer ¶
func (*EventVote) ProtoMessage ¶
func (*EventVote) ProtoMessage()
func (*EventVote) XXX_DiscardUnknown ¶
func (m *EventVote) XXX_DiscardUnknown()
func (*EventVote) XXX_Marshal ¶
func (*EventVote) XXX_Unmarshal ¶
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) 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) 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) GetMissCount ¶
func (*MissCount) GetValidatorAddress ¶
func (*MissCount) MarshalToSizedBuffer ¶
func (*MissCount) ProtoMessage ¶
func (*MissCount) ProtoMessage()
func (*MissCount) XXX_DiscardUnknown ¶
func (m *MissCount) XXX_DiscardUnknown()
func (*MissCount) XXX_Marshal ¶
func (*MissCount) XXX_Unmarshal ¶
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 (m *MsgFeederDelegationConsentResponse) Reset()
func (*MsgFeederDelegationConsentResponse) Size ¶
func (m *MsgFeederDelegationConsentResponse) Size() (n int)
func (*MsgFeederDelegationConsentResponse) String ¶
func (m *MsgFeederDelegationConsentResponse) String() 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 (m *MsgFeederDelegationConsentResponse) XXX_Merge(src proto.Message)
func (*MsgFeederDelegationConsentResponse) XXX_Size ¶
func (m *MsgFeederDelegationConsentResponse) XXX_Size() int
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) 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 (*MsgVote) Descriptor ¶
func (*MsgVote) GetRoundId ¶ added in v0.0.6
func (*MsgVote) GetSignBytes ¶
func (*MsgVote) GetSigners ¶
func (msg *MsgVote) GetSigners() []sdk.AccAddress
func (*MsgVote) GetValidator ¶
func (*MsgVote) GetVoteData ¶ added in v0.3.0
func (*MsgVote) MarshalToSizedBuffer ¶
func (*MsgVote) ProtoMessage ¶
func (*MsgVote) ProtoMessage()
func (*MsgVote) ValidateBasic ¶
func (*MsgVote) XXX_DiscardUnknown ¶
func (m *MsgVote) XXX_DiscardUnknown()
func (*MsgVote) XXX_Marshal ¶
func (*MsgVote) XXX_Unmarshal ¶
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) 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 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 */ SlashFraction github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */ SlashWindow uint64 `protobuf:"varint,4,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 (*Params) Descriptor ¶
func (*Params) GetMaxMissCountPerSlashWindow ¶
func (*Params) GetSlashWindow ¶
func (*Params) GetVotePeriod ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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 (m *QueryAggregatePrevoteRequest) String() 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 (m *QueryAggregatePrevoteResponse) String() 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 (m *QueryAggregatePrevotesRequest) String() 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 (m *QueryAggregatePrevotesResponse) GetPagination() *query.PageResponse
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 (m *QueryAggregatePrevotesResponse) String() 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 (m *QueryCurrentRoundInfoRequest) String() string
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 (m *QueryCurrentRoundInfoResponse) String() string
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 (m *QueryFeederDelegationRequest) String() 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 (m *QueryFeederDelegationResponse) String() 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 (m *QueryRewardPoolResponse) GetBalance() github_com_cosmos_cosmos_sdk_types.Coins
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) GetOracleData ¶ added in v0.3.0
func (m *RoundInfo) GetOracleData() []*OracleData
func (*RoundInfo) GetPrevoteEnd ¶ added in v0.0.6
func (*RoundInfo) GetTimestamp ¶ added in v0.0.6
func (*RoundInfo) GetVoteEnd ¶ added in v0.0.6
func (*RoundInfo) MarshalToSizedBuffer ¶ added in v0.0.6
func (*RoundInfo) ProtoMessage ¶ added in v0.0.6
func (*RoundInfo) ProtoMessage()
func (*RoundInfo) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *RoundInfo) XXX_DiscardUnknown()
func (*RoundInfo) XXX_Marshal ¶ added in v0.0.6
func (*RoundInfo) XXX_Unmarshal ¶ added in v0.0.6
type SettlementKeeper ¶ added in v0.3.0
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) FeederDelegationConsent(ctx context.Context, req *MsgFeederDelegationConsent) (*MsgFeederDelegationConsentResponse, error)
func (*UnimplementedMsgServer) Prevote ¶
func (*UnimplementedMsgServer) Prevote(ctx context.Context, req *MsgPrevote) (*MsgPrevoteResponse, error)
func (*UnimplementedMsgServer) Vote ¶
func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AggregatePrevote ¶
func (*UnimplementedQueryServer) AggregatePrevote(ctx context.Context, req *QueryAggregatePrevoteRequest) (*QueryAggregatePrevoteResponse, error)
func (*UnimplementedQueryServer) AggregatePrevotes ¶
func (*UnimplementedQueryServer) AggregatePrevotes(ctx context.Context, req *QueryAggregatePrevotesRequest) (*QueryAggregatePrevotesResponse, error)
func (*UnimplementedQueryServer) AggregateVote ¶
func (*UnimplementedQueryServer) AggregateVote(ctx context.Context, req *QueryAggregateVoteRequest) (*QueryAggregateVoteResponse, error)
func (*UnimplementedQueryServer) AggregateVotes ¶
func (*UnimplementedQueryServer) AggregateVotes(ctx context.Context, req *QueryAggregateVotesRequest) (*QueryAggregateVotesResponse, error)
func (*UnimplementedQueryServer) AllBlockData ¶
func (*UnimplementedQueryServer) AllBlockData(ctx context.Context, req *QueryAllBlockDataRequest) (*QueryAllBlockDataResponse, error)
func (*UnimplementedQueryServer) BlockData ¶
func (*UnimplementedQueryServer) BlockData(ctx context.Context, req *QueryBlockDataRequest) (*QueryBlockDataResponse, error)
func (*UnimplementedQueryServer) CurrentRoundInfo ¶ added in v0.0.6
func (*UnimplementedQueryServer) CurrentRoundInfo(ctx context.Context, req *QueryCurrentRoundInfoRequest) (*QueryCurrentRoundInfoResponse, error)
func (*UnimplementedQueryServer) FeederDelegation ¶
func (*UnimplementedQueryServer) FeederDelegation(ctx context.Context, req *QueryFeederDelegationRequest) (*QueryFeederDelegationResponse, error)
func (*UnimplementedQueryServer) MissCount ¶
func (*UnimplementedQueryServer) MissCount(ctx context.Context, req *QueryMissCountRequest) (*QueryMissCountResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) RewardPool ¶
func (*UnimplementedQueryServer) RewardPool(ctx context.Context, req *QueryRewardPoolRequest) (*QueryRewardPoolResponse, error)
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 (*VoteData) Descriptor ¶ added in v0.3.0
func (*VoteData) GetTopic ¶ added in v0.3.0
func (m *VoteData) GetTopic() OralceTopic
func (*VoteData) MarshalToSizedBuffer ¶ added in v0.3.0
func (*VoteData) ProtoMessage ¶ added in v0.3.0
func (*VoteData) ProtoMessage()
func (*VoteData) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *VoteData) XXX_DiscardUnknown()