Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func ParamsKeyPrefix() []byte
- 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)
- type AccountKeeper
- type BankKeeper
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)
- func (m *BlockInfo) Marshal() (dAtA []byte, err error)
- func (m *BlockInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockInfo) ProtoMessage()
- func (m *BlockInfo) Reset()
- func (m *BlockInfo) Size() (n int)
- func (m *BlockInfo) String() string
- func (m *BlockInfo) Unmarshal(dAtA []byte) error
- func (m *BlockInfo) XXX_DiscardUnknown()
- func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockInfo) XXX_Merge(src proto.Message)
- func (m *BlockInfo) XXX_Size() int
- func (m *BlockInfo) XXX_Unmarshal(b []byte) error
- type Dispute
- func (*Dispute) Descriptor() ([]byte, []int)
- func (m *Dispute) GetAdditionalEvidence() []*types.MicroReport
- func (m *Dispute) GetBlockNumber() uint64
- func (m *Dispute) GetDisputeCategory() DisputeCategory
- func (m *Dispute) GetDisputeEndTime() time.Time
- func (m *Dispute) GetDisputeId() uint64
- func (m *Dispute) GetDisputeRound() uint64
- func (m *Dispute) GetDisputeStartBlock() uint64
- func (m *Dispute) GetDisputeStartTime() time.Time
- func (m *Dispute) GetDisputeStatus() DisputeStatus
- func (m *Dispute) GetHashId() []byte
- func (m *Dispute) GetInitialEvidence() types.MicroReport
- func (m *Dispute) GetOpen() bool
- func (m *Dispute) GetPendingExecution() bool
- func (m *Dispute) GetPrevDisputeIds() []uint64
- func (m *Dispute) Marshal() (dAtA []byte, err error)
- func (m *Dispute) MarshalTo(dAtA []byte) (int, error)
- func (m *Dispute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Dispute) ProtoMessage()
- func (m *Dispute) Reset()
- func (m *Dispute) Size() (n int)
- func (m *Dispute) String() string
- func (m *Dispute) Unmarshal(dAtA []byte) error
- func (m *Dispute) XXX_DiscardUnknown()
- func (m *Dispute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dispute) XXX_Merge(src proto.Message)
- func (m *Dispute) XXX_Size() int
- func (m *Dispute) XXX_Unmarshal(b []byte) error
- type DisputeCategory
- type DisputeParams
- func (*DisputeParams) Descriptor() ([]byte, []int)
- func (m *DisputeParams) GetCategory() DisputeCategory
- func (m *DisputeParams) GetReport() *types.MicroReport
- func (m *DisputeParams) Marshal() (dAtA []byte, err error)
- func (m *DisputeParams) MarshalTo(dAtA []byte) (int, error)
- func (m *DisputeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DisputeParams) ProtoMessage()
- func (m *DisputeParams) Reset()
- func (m *DisputeParams) Size() (n int)
- func (m *DisputeParams) String() string
- func (m *DisputeParams) Unmarshal(dAtA []byte) error
- func (m *DisputeParams) XXX_DiscardUnknown()
- func (m *DisputeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DisputeParams) XXX_Merge(src proto.Message)
- func (m *DisputeParams) XXX_Size() int
- func (m *DisputeParams) XXX_Unmarshal(b []byte) error
- type DisputeStatus
- type Disputes
- func (*Disputes) Descriptor() ([]byte, []int)
- func (m *Disputes) GetDisputeId() uint64
- func (m *Disputes) GetMetadata() *Dispute
- func (m *Disputes) Marshal() (dAtA []byte, err error)
- func (m *Disputes) MarshalTo(dAtA []byte) (int, error)
- func (m *Disputes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Disputes) ProtoMessage()
- func (m *Disputes) Reset()
- func (m *Disputes) Size() (n int)
- func (m *Disputes) String() string
- func (m *Disputes) Unmarshal(dAtA []byte) error
- func (m *Disputes) XXX_DiscardUnknown()
- func (m *Disputes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Disputes) XXX_Merge(src proto.Message)
- func (m *Disputes) XXX_Size() int
- func (m *Disputes) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 GroupTally
- func (*GroupTally) Descriptor() ([]byte, []int)
- func (m *GroupTally) GetTotalGroupPower() uint64
- func (m *GroupTally) GetTotalPowerVoted() uint64
- func (m *GroupTally) GetVoteCount() *VoteCounts
- func (m *GroupTally) Marshal() (dAtA []byte, err error)
- func (m *GroupTally) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupTally) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupTally) ProtoMessage()
- func (m *GroupTally) Reset()
- func (m *GroupTally) Size() (n int)
- func (m *GroupTally) String() string
- func (m *GroupTally) Unmarshal(dAtA []byte) error
- func (m *GroupTally) XXX_DiscardUnknown()
- func (m *GroupTally) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupTally) XXX_Merge(src proto.Message)
- func (m *GroupTally) XXX_Size() int
- func (m *GroupTally) XXX_Unmarshal(b []byte) error
- type MsgAddEvidence
- func (*MsgAddEvidence) Descriptor() ([]byte, []int)
- func (m *MsgAddEvidence) GetCallerAddress() string
- func (m *MsgAddEvidence) GetDisputeId() uint64
- func (m *MsgAddEvidence) GetReports() []*types.MicroReport
- func (m *MsgAddEvidence) Marshal() (dAtA []byte, err error)
- func (m *MsgAddEvidence) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddEvidence) ProtoMessage()
- func (m *MsgAddEvidence) Reset()
- func (m *MsgAddEvidence) Size() (n int)
- func (m *MsgAddEvidence) String() string
- func (m *MsgAddEvidence) Unmarshal(dAtA []byte) error
- func (m *MsgAddEvidence) XXX_DiscardUnknown()
- func (m *MsgAddEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddEvidence) XXX_Merge(src proto.Message)
- func (m *MsgAddEvidence) XXX_Size() int
- func (m *MsgAddEvidence) XXX_Unmarshal(b []byte) error
- type MsgAddEvidenceResponse
- func (*MsgAddEvidenceResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddEvidenceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddEvidenceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddEvidenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddEvidenceResponse) ProtoMessage()
- func (m *MsgAddEvidenceResponse) Reset()
- func (m *MsgAddEvidenceResponse) Size() (n int)
- func (m *MsgAddEvidenceResponse) String() string
- func (m *MsgAddEvidenceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddEvidenceResponse) XXX_DiscardUnknown()
- func (m *MsgAddEvidenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddEvidenceResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddEvidenceResponse) XXX_Size() int
- func (m *MsgAddEvidenceResponse) XXX_Unmarshal(b []byte) error
- type MsgAddFeeToDispute
- func (*MsgAddFeeToDispute) Descriptor() ([]byte, []int)
- func (m *MsgAddFeeToDispute) GetAmount() types1.Coin
- func (m *MsgAddFeeToDispute) GetCreator() string
- func (m *MsgAddFeeToDispute) GetDisputeId() uint64
- func (m *MsgAddFeeToDispute) GetPayFromBond() bool
- func (msg *MsgAddFeeToDispute) GetSignBytes() []byte
- func (msg *MsgAddFeeToDispute) GetSigners() []sdk.AccAddress
- func (m *MsgAddFeeToDispute) Marshal() (dAtA []byte, err error)
- func (m *MsgAddFeeToDispute) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddFeeToDispute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddFeeToDispute) ProtoMessage()
- func (m *MsgAddFeeToDispute) Reset()
- func (msg *MsgAddFeeToDispute) Route() string
- func (m *MsgAddFeeToDispute) Size() (n int)
- func (m *MsgAddFeeToDispute) String() string
- func (msg *MsgAddFeeToDispute) Type() string
- func (m *MsgAddFeeToDispute) Unmarshal(dAtA []byte) error
- func (msg *MsgAddFeeToDispute) ValidateBasic() error
- func (m *MsgAddFeeToDispute) XXX_DiscardUnknown()
- func (m *MsgAddFeeToDispute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddFeeToDispute) XXX_Merge(src proto.Message)
- func (m *MsgAddFeeToDispute) XXX_Size() int
- func (m *MsgAddFeeToDispute) XXX_Unmarshal(b []byte) error
- type MsgAddFeeToDisputeResponse
- func (*MsgAddFeeToDisputeResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddFeeToDisputeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddFeeToDisputeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddFeeToDisputeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddFeeToDisputeResponse) ProtoMessage()
- func (m *MsgAddFeeToDisputeResponse) Reset()
- func (m *MsgAddFeeToDisputeResponse) Size() (n int)
- func (m *MsgAddFeeToDisputeResponse) String() string
- func (m *MsgAddFeeToDisputeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddFeeToDisputeResponse) XXX_DiscardUnknown()
- func (m *MsgAddFeeToDisputeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddFeeToDisputeResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddFeeToDisputeResponse) XXX_Size() int
- func (m *MsgAddFeeToDisputeResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimReward
- func (*MsgClaimReward) Descriptor() ([]byte, []int)
- func (m *MsgClaimReward) GetCallerAddress() string
- func (m *MsgClaimReward) GetDisputeId() uint64
- func (m *MsgClaimReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimReward) ProtoMessage()
- func (m *MsgClaimReward) Reset()
- func (m *MsgClaimReward) Size() (n int)
- func (m *MsgClaimReward) String() string
- func (m *MsgClaimReward) Unmarshal(dAtA []byte) error
- func (m *MsgClaimReward) XXX_DiscardUnknown()
- func (m *MsgClaimReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimReward) XXX_Size() int
- func (m *MsgClaimReward) XXX_Unmarshal(b []byte) error
- type MsgClaimRewardResponse
- func (*MsgClaimRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimRewardResponse) ProtoMessage()
- func (m *MsgClaimRewardResponse) Reset()
- func (m *MsgClaimRewardResponse) Size() (n int)
- func (m *MsgClaimRewardResponse) String() string
- func (m *MsgClaimRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimRewardResponse) XXX_Size() int
- func (m *MsgClaimRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgProposeDispute
- func (*MsgProposeDispute) Descriptor() ([]byte, []int)
- func (m *MsgProposeDispute) GetCreator() string
- func (m *MsgProposeDispute) GetDisputeCategory() DisputeCategory
- func (m *MsgProposeDispute) GetFee() types1.Coin
- func (m *MsgProposeDispute) GetPayFromBond() bool
- func (m *MsgProposeDispute) GetReport() *types.MicroReport
- func (msg *MsgProposeDispute) GetSignBytes() []byte
- func (msg *MsgProposeDispute) GetSigners() []sdk.AccAddress
- func (m *MsgProposeDispute) Marshal() (dAtA []byte, err error)
- func (m *MsgProposeDispute) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProposeDispute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProposeDispute) ProtoMessage()
- func (m *MsgProposeDispute) Reset()
- func (msg *MsgProposeDispute) Route() string
- func (m *MsgProposeDispute) Size() (n int)
- func (m *MsgProposeDispute) String() string
- func (msg *MsgProposeDispute) Type() string
- func (m *MsgProposeDispute) Unmarshal(dAtA []byte) error
- func (msg *MsgProposeDispute) ValidateBasic() error
- func (m *MsgProposeDispute) XXX_DiscardUnknown()
- func (m *MsgProposeDispute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProposeDispute) XXX_Merge(src proto.Message)
- func (m *MsgProposeDispute) XXX_Size() int
- func (m *MsgProposeDispute) XXX_Unmarshal(b []byte) error
- type MsgProposeDisputeResponse
- func (*MsgProposeDisputeResponse) Descriptor() ([]byte, []int)
- func (m *MsgProposeDisputeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgProposeDisputeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProposeDisputeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProposeDisputeResponse) ProtoMessage()
- func (m *MsgProposeDisputeResponse) Reset()
- func (m *MsgProposeDisputeResponse) Size() (n int)
- func (m *MsgProposeDisputeResponse) String() string
- func (m *MsgProposeDisputeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgProposeDisputeResponse) XXX_DiscardUnknown()
- func (m *MsgProposeDisputeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProposeDisputeResponse) XXX_Merge(src proto.Message)
- func (m *MsgProposeDisputeResponse) XXX_Size() int
- func (m *MsgProposeDisputeResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateTeam
- func (*MsgUpdateTeam) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTeam) GetCurrentTeamAddress() string
- func (m *MsgUpdateTeam) GetNewTeamAddress() string
- func (m *MsgUpdateTeam) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTeam) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTeam) ProtoMessage()
- func (m *MsgUpdateTeam) Reset()
- func (m *MsgUpdateTeam) Size() (n int)
- func (m *MsgUpdateTeam) String() string
- func (m *MsgUpdateTeam) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateTeam) XXX_DiscardUnknown()
- func (m *MsgUpdateTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTeam) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTeam) XXX_Size() int
- func (m *MsgUpdateTeam) XXX_Unmarshal(b []byte) error
- type MsgUpdateTeamResponse
- func (*MsgUpdateTeamResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTeamResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTeamResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTeamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTeamResponse) ProtoMessage()
- func (m *MsgUpdateTeamResponse) Reset()
- func (m *MsgUpdateTeamResponse) Size() (n int)
- func (m *MsgUpdateTeamResponse) String() string
- func (m *MsgUpdateTeamResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateTeamResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateTeamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTeamResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTeamResponse) XXX_Size() int
- func (m *MsgUpdateTeamResponse) XXX_Unmarshal(b []byte) error
- type MsgVote
- func (*MsgVote) Descriptor() ([]byte, []int)
- func (m *MsgVote) GetId() uint64
- func (msg *MsgVote) GetSignBytes() []byte
- func (msg *MsgVote) GetSigners() []sdk.AccAddress
- func (m *MsgVote) GetVote() VoteEnum
- func (m *MsgVote) GetVoter() string
- 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 MsgWithdrawFeeRefund
- func (*MsgWithdrawFeeRefund) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFeeRefund) GetCallerAddress() string
- func (m *MsgWithdrawFeeRefund) GetId() uint64
- func (m *MsgWithdrawFeeRefund) GetPayerAddress() string
- func (m *MsgWithdrawFeeRefund) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFeeRefund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFeeRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFeeRefund) ProtoMessage()
- func (m *MsgWithdrawFeeRefund) Reset()
- func (m *MsgWithdrawFeeRefund) Size() (n int)
- func (m *MsgWithdrawFeeRefund) String() string
- func (m *MsgWithdrawFeeRefund) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawFeeRefund) XXX_DiscardUnknown()
- func (m *MsgWithdrawFeeRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFeeRefund) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFeeRefund) XXX_Size() int
- func (m *MsgWithdrawFeeRefund) XXX_Unmarshal(b []byte) error
- type MsgWithdrawFeeRefundResponse
- func (*MsgWithdrawFeeRefundResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFeeRefundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFeeRefundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFeeRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFeeRefundResponse) ProtoMessage()
- func (m *MsgWithdrawFeeRefundResponse) Reset()
- func (m *MsgWithdrawFeeRefundResponse) Size() (n int)
- func (m *MsgWithdrawFeeRefundResponse) String() string
- func (m *MsgWithdrawFeeRefundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawFeeRefundResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawFeeRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFeeRefundResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFeeRefundResponse) XXX_Size() int
- func (m *MsgWithdrawFeeRefundResponse) XXX_Unmarshal(b []byte) error
- type OpenDisputes
- func (*OpenDisputes) Descriptor() ([]byte, []int)
- func (m *OpenDisputes) GetIds() []uint64
- func (m *OpenDisputes) Marshal() (dAtA []byte, err error)
- func (m *OpenDisputes) MarshalTo(dAtA []byte) (int, error)
- func (m *OpenDisputes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OpenDisputes) ProtoMessage()
- func (m *OpenDisputes) Reset()
- func (m *OpenDisputes) Size() (n int)
- func (m *OpenDisputes) String() string
- func (m *OpenDisputes) Unmarshal(dAtA []byte) error
- func (m *OpenDisputes) XXX_DiscardUnknown()
- func (m *OpenDisputes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenDisputes) XXX_Merge(src proto.Message)
- func (m *OpenDisputes) XXX_Size() int
- func (m *OpenDisputes) XXX_Unmarshal(b []byte) error
- type OracleKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetTeamAddress() []byte
- 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 PayerInfo
- func (*PayerInfo) Descriptor() ([]byte, []int)
- func (m *PayerInfo) GetFromBond() bool
- func (m *PayerInfo) Marshal() (dAtA []byte, err error)
- func (m *PayerInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PayerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayerInfo) ProtoMessage()
- func (m *PayerInfo) Reset()
- func (m *PayerInfo) Size() (n int)
- func (m *PayerInfo) String() string
- func (m *PayerInfo) Unmarshal(dAtA []byte) error
- func (m *PayerInfo) XXX_DiscardUnknown()
- func (m *PayerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayerInfo) XXX_Merge(src proto.Message)
- func (m *PayerInfo) XXX_Size() int
- func (m *PayerInfo) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDisputesRequest
- func (*QueryDisputesRequest) Descriptor() ([]byte, []int)
- func (m *QueryDisputesRequest) GetPagination() *query.PageRequest
- func (m *QueryDisputesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputesRequest) ProtoMessage()
- func (m *QueryDisputesRequest) Reset()
- func (m *QueryDisputesRequest) Size() (n int)
- func (m *QueryDisputesRequest) String() string
- func (m *QueryDisputesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDisputesRequest) XXX_DiscardUnknown()
- func (m *QueryDisputesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputesRequest) XXX_Merge(src proto.Message)
- func (m *QueryDisputesRequest) XXX_Size() int
- func (m *QueryDisputesRequest) XXX_Unmarshal(b []byte) error
- type QueryDisputesResponse
- func (*QueryDisputesResponse) Descriptor() ([]byte, []int)
- func (m *QueryDisputesResponse) GetDisputes() []*Disputes
- func (m *QueryDisputesResponse) GetPagination() *query.PageResponse
- func (m *QueryDisputesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputesResponse) ProtoMessage()
- func (m *QueryDisputesResponse) Reset()
- func (m *QueryDisputesResponse) Size() (n int)
- func (m *QueryDisputesResponse) String() string
- func (m *QueryDisputesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDisputesResponse) XXX_DiscardUnknown()
- func (m *QueryDisputesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputesResponse) XXX_Merge(src proto.Message)
- func (m *QueryDisputesResponse) XXX_Size() int
- func (m *QueryDisputesResponse) XXX_Unmarshal(b []byte) error
- type QueryDisputesTallyRequest
- func (*QueryDisputesTallyRequest) Descriptor() ([]byte, []int)
- func (m *QueryDisputesTallyRequest) GetDisputeId() uint64
- func (m *QueryDisputesTallyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputesTallyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputesTallyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputesTallyRequest) ProtoMessage()
- func (m *QueryDisputesTallyRequest) Reset()
- func (m *QueryDisputesTallyRequest) Size() (n int)
- func (m *QueryDisputesTallyRequest) String() string
- func (m *QueryDisputesTallyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDisputesTallyRequest) XXX_DiscardUnknown()
- func (m *QueryDisputesTallyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputesTallyRequest) XXX_Merge(src proto.Message)
- func (m *QueryDisputesTallyRequest) XXX_Size() int
- func (m *QueryDisputesTallyRequest) XXX_Unmarshal(b []byte) error
- type QueryDisputesTallyResponse
- func (*QueryDisputesTallyResponse) Descriptor() ([]byte, []int)
- func (m *QueryDisputesTallyResponse) GetReporters() *GroupTally
- func (m *QueryDisputesTallyResponse) GetTeam() *VoteCounts
- func (m *QueryDisputesTallyResponse) GetTokenholders() *GroupTally
- func (m *QueryDisputesTallyResponse) GetUsers() *GroupTally
- func (m *QueryDisputesTallyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDisputesTallyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDisputesTallyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDisputesTallyResponse) ProtoMessage()
- func (m *QueryDisputesTallyResponse) Reset()
- func (m *QueryDisputesTallyResponse) Size() (n int)
- func (m *QueryDisputesTallyResponse) String() string
- func (m *QueryDisputesTallyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDisputesTallyResponse) XXX_DiscardUnknown()
- func (m *QueryDisputesTallyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDisputesTallyResponse) XXX_Merge(src proto.Message)
- func (m *QueryDisputesTallyResponse) XXX_Size() int
- func (m *QueryDisputesTallyResponse) XXX_Unmarshal(b []byte) error
- type QueryOpenDisputesRequest
- func (*QueryOpenDisputesRequest) Descriptor() ([]byte, []int)
- func (m *QueryOpenDisputesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOpenDisputesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOpenDisputesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOpenDisputesRequest) ProtoMessage()
- func (m *QueryOpenDisputesRequest) Reset()
- func (m *QueryOpenDisputesRequest) Size() (n int)
- func (m *QueryOpenDisputesRequest) String() string
- func (m *QueryOpenDisputesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOpenDisputesRequest) XXX_DiscardUnknown()
- func (m *QueryOpenDisputesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOpenDisputesRequest) XXX_Merge(src proto.Message)
- func (m *QueryOpenDisputesRequest) XXX_Size() int
- func (m *QueryOpenDisputesRequest) XXX_Unmarshal(b []byte) error
- type QueryOpenDisputesResponse
- func (*QueryOpenDisputesResponse) Descriptor() ([]byte, []int)
- func (m *QueryOpenDisputesResponse) GetOpenDisputes() *OpenDisputes
- func (m *QueryOpenDisputesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOpenDisputesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOpenDisputesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOpenDisputesResponse) ProtoMessage()
- func (m *QueryOpenDisputesResponse) Reset()
- func (m *QueryOpenDisputesResponse) Size() (n int)
- func (m *QueryOpenDisputesResponse) String() string
- func (m *QueryOpenDisputesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOpenDisputesResponse) XXX_DiscardUnknown()
- func (m *QueryOpenDisputesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOpenDisputesResponse) XXX_Merge(src proto.Message)
- func (m *QueryOpenDisputesResponse) XXX_Size() int
- func (m *QueryOpenDisputesResponse) 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 QueryServer
- type QueryTeamAddressRequest
- func (*QueryTeamAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryTeamAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTeamAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTeamAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTeamAddressRequest) ProtoMessage()
- func (m *QueryTeamAddressRequest) Reset()
- func (m *QueryTeamAddressRequest) Size() (n int)
- func (m *QueryTeamAddressRequest) String() string
- func (m *QueryTeamAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTeamAddressRequest) XXX_DiscardUnknown()
- func (m *QueryTeamAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTeamAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryTeamAddressRequest) XXX_Size() int
- func (m *QueryTeamAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryTeamAddressResponse
- func (*QueryTeamAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryTeamAddressResponse) GetTeamAddress() string
- func (m *QueryTeamAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTeamAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTeamAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTeamAddressResponse) ProtoMessage()
- func (m *QueryTeamAddressResponse) Reset()
- func (m *QueryTeamAddressResponse) Size() (n int)
- func (m *QueryTeamAddressResponse) String() string
- func (m *QueryTeamAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTeamAddressResponse) XXX_DiscardUnknown()
- func (m *QueryTeamAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTeamAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryTeamAddressResponse) XXX_Size() int
- func (m *QueryTeamAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryTeamVoteRequest
- func (*QueryTeamVoteRequest) Descriptor() ([]byte, []int)
- func (m *QueryTeamVoteRequest) GetDisputeId() uint64
- func (m *QueryTeamVoteRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTeamVoteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTeamVoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTeamVoteRequest) ProtoMessage()
- func (m *QueryTeamVoteRequest) Reset()
- func (m *QueryTeamVoteRequest) Size() (n int)
- func (m *QueryTeamVoteRequest) String() string
- func (m *QueryTeamVoteRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTeamVoteRequest) XXX_DiscardUnknown()
- func (m *QueryTeamVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTeamVoteRequest) XXX_Merge(src proto.Message)
- func (m *QueryTeamVoteRequest) XXX_Size() int
- func (m *QueryTeamVoteRequest) XXX_Unmarshal(b []byte) error
- type QueryTeamVoteResponse
- func (*QueryTeamVoteResponse) Descriptor() ([]byte, []int)
- func (m *QueryTeamVoteResponse) GetTeamVote() Voter
- func (m *QueryTeamVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTeamVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTeamVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTeamVoteResponse) ProtoMessage()
- func (m *QueryTeamVoteResponse) Reset()
- func (m *QueryTeamVoteResponse) Size() (n int)
- func (m *QueryTeamVoteResponse) String() string
- func (m *QueryTeamVoteResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTeamVoteResponse) XXX_DiscardUnknown()
- func (m *QueryTeamVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTeamVoteResponse) XXX_Merge(src proto.Message)
- func (m *QueryTeamVoteResponse) XXX_Size() int
- func (m *QueryTeamVoteResponse) XXX_Unmarshal(b []byte) error
- type ReporterKeeper
- type StakeholderVoteCounts
- type Tally
- func (*Tally) Descriptor() ([]byte, []int)
- func (m *Tally) GetAgainstVotes() *VoterClasses
- func (m *Tally) GetForVotes() *VoterClasses
- func (m *Tally) GetInvalid() *VoterClasses
- func (m *Tally) Marshal() (dAtA []byte, err error)
- func (m *Tally) MarshalTo(dAtA []byte) (int, error)
- func (m *Tally) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tally) ProtoMessage()
- func (m *Tally) Reset()
- func (m *Tally) Size() (n int)
- func (m *Tally) String() string
- func (m *Tally) Unmarshal(dAtA []byte) error
- func (m *Tally) XXX_DiscardUnknown()
- func (m *Tally) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tally) XXX_Merge(src proto.Message)
- func (m *Tally) XXX_Size() int
- func (m *Tally) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddEvidence(ctx context.Context, req *MsgAddEvidence) (*MsgAddEvidenceResponse, error)
- func (*UnimplementedMsgServer) AddFeeToDispute(ctx context.Context, req *MsgAddFeeToDispute) (*MsgAddFeeToDisputeResponse, error)
- func (*UnimplementedMsgServer) ClaimReward(ctx context.Context, req *MsgClaimReward) (*MsgClaimRewardResponse, error)
- func (*UnimplementedMsgServer) ProposeDispute(ctx context.Context, req *MsgProposeDispute) (*MsgProposeDisputeResponse, error)
- func (*UnimplementedMsgServer) UpdateTeam(ctx context.Context, req *MsgUpdateTeam) (*MsgUpdateTeamResponse, error)
- func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
- func (*UnimplementedMsgServer) WithdrawFeeRefund(ctx context.Context, req *MsgWithdrawFeeRefund) (*MsgWithdrawFeeRefundResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Disputes(ctx context.Context, req *QueryDisputesRequest) (*QueryDisputesResponse, error)
- func (*UnimplementedQueryServer) OpenDisputes(ctx context.Context, req *QueryOpenDisputesRequest) (*QueryOpenDisputesResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Tally(ctx context.Context, req *QueryDisputesTallyRequest) (*QueryDisputesTallyResponse, error)
- func (*UnimplementedQueryServer) TeamAddress(ctx context.Context, req *QueryTeamAddressRequest) (*QueryTeamAddressResponse, error)
- func (*UnimplementedQueryServer) TeamVote(ctx context.Context, req *QueryTeamVoteRequest) (*QueryTeamVoteResponse, error)
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetExecuted() bool
- func (m *Vote) GetId() uint64
- func (m *Vote) GetVoteEnd() time.Time
- func (m *Vote) GetVoteResult() VoteResult
- func (m *Vote) GetVoteStart() time.Time
- func (m *Vote) Marshal() (dAtA []byte, err error)
- func (m *Vote) MarshalTo(dAtA []byte) (int, error)
- func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) Size() (n int)
- func (m *Vote) String() string
- func (m *Vote) Unmarshal(dAtA []byte) error
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
- type VoteCounts
- func (*VoteCounts) Descriptor() ([]byte, []int)
- func (m *VoteCounts) GetAgainst() uint64
- func (m *VoteCounts) GetInvalid() uint64
- func (m *VoteCounts) GetSupport() uint64
- func (m *VoteCounts) Marshal() (dAtA []byte, err error)
- func (m *VoteCounts) MarshalTo(dAtA []byte) (int, error)
- func (m *VoteCounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoteCounts) ProtoMessage()
- func (m *VoteCounts) Reset()
- func (m *VoteCounts) Size() (n int)
- func (m *VoteCounts) String() string
- func (m *VoteCounts) Unmarshal(dAtA []byte) error
- func (m *VoteCounts) XXX_DiscardUnknown()
- func (m *VoteCounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteCounts) XXX_Merge(src proto.Message)
- func (m *VoteCounts) XXX_Size() int
- func (m *VoteCounts) XXX_Unmarshal(b []byte) error
- type VoteEnum
- type VoteGroup
- func (*VoteGroup) Descriptor() ([]byte, []int)
- func (m *VoteGroup) GetReporters() []byte
- func (m *VoteGroup) GetTokenHolders() []byte
- func (m *VoteGroup) GetUsers() []byte
- func (m *VoteGroup) Marshal() (dAtA []byte, err error)
- func (m *VoteGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *VoteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoteGroup) ProtoMessage()
- func (m *VoteGroup) Reset()
- func (m *VoteGroup) Size() (n int)
- func (m *VoteGroup) String() string
- func (m *VoteGroup) Unmarshal(dAtA []byte) error
- func (m *VoteGroup) XXX_DiscardUnknown()
- func (m *VoteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteGroup) XXX_Merge(src proto.Message)
- func (m *VoteGroup) XXX_Size() int
- func (m *VoteGroup) XXX_Unmarshal(b []byte) error
- type VoteResult
- type Voter
- func (*Voter) Descriptor() ([]byte, []int)
- func (m *Voter) GetRewardClaimed() bool
- func (m *Voter) GetVote() VoteEnum
- func (m *Voter) Marshal() (dAtA []byte, err error)
- func (m *Voter) MarshalTo(dAtA []byte) (int, error)
- func (m *Voter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Voter) ProtoMessage()
- func (m *Voter) Reset()
- func (m *Voter) Size() (n int)
- func (m *Voter) String() string
- func (m *Voter) Unmarshal(dAtA []byte) error
- func (m *Voter) XXX_DiscardUnknown()
- func (m *Voter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Voter) XXX_Merge(src proto.Message)
- func (m *Voter) XXX_Size() int
- func (m *Voter) XXX_Unmarshal(b []byte) error
- type VoterClasses
- func (*VoterClasses) Descriptor() ([]byte, []int)
- func (m *VoterClasses) Marshal() (dAtA []byte, err error)
- func (m *VoterClasses) MarshalTo(dAtA []byte) (int, error)
- func (m *VoterClasses) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoterClasses) ProtoMessage()
- func (m *VoterClasses) Reset()
- func (m *VoterClasses) Size() (n int)
- func (m *VoterClasses) String() string
- func (m *VoterClasses) Unmarshal(dAtA []byte) error
- func (m *VoterClasses) XXX_DiscardUnknown()
- func (m *VoterClasses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoterClasses) XXX_Merge(src proto.Message)
- func (m *VoterClasses) XXX_Size() int
- func (m *VoterClasses) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "dispute" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // ParamsKey defines the primary module store key ParamsKey = "params" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgAddFeeToDispute = "add_fee_to_dispute"
const TypeMsgProposeDispute = "propose_dispute"
const TypeMsgVote = "vote"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthDispute = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDispute = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDispute = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDisputeParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDisputeParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDisputeParams = fmt.Errorf("proto: unexpected end of group") )
var ( INSUFFICIENT_BALANCE = sdkerrors.Register(ModuleName, 2, "insufficient balance") ErrDisputeDoesNotExist = sdkerrors.Register(ModuleName, 3, "dispute not found") ErrDisputeTimeExpired = sdkerrors.Register(ModuleName, 4, "dispute time expired") ErrDisputeFeeAlreadyMet = sdkerrors.Register(ModuleName, 5, "dispute fee already met") ErrDisputeNotInVotingState = sdkerrors.Register(ModuleName, 6, "dispute not in voting state") ErrVoterHasAlreadyVoted = sdkerrors.Register(ModuleName, 7, "voter has already voted") ErrVoteDoesNotExist = sdkerrors.Register(ModuleName, 8, "vote does not exist") ErrVotingPeriodEnded = sdkerrors.Register(ModuleName, 9, "voting period ended") ErrMinimumTRBrequired = sdkerrors.Register(ModuleName, 10, "Minimum fee amount is 1 TRB") ErrInvalidFeeDenom = sdkerrors.Register(ModuleName, 11, "invalid fee denom") ErrInvalidDisputeCategory = sdkerrors.Register(ModuleName, 12, "invalid dispute category") ErrInvalidSigner = sdkerrors.Register(ModuleName, 13, "expected teamaccount as only signer for updateTeam message") ErrNoQuorumStillVoting = sdkerrors.Register(ModuleName, 14, "vote period not ended and quorum not reached") )
x/dispute module sentinel errors
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 ( DisputesPrefix = collections.NewPrefix(1) DisputesByReporterIndexPrefix = collections.NewPrefix(2) DisputesCountIndexPrefix = collections.NewPrefix(3) VotesPrefix = collections.NewPrefix(5) VoterVotePrefix = collections.NewPrefix(6) VotersByIdIndexPrefix = collections.NewPrefix(7) UserPowerIndexPrefix = collections.NewPrefix(8) ReporterPowerIndexPrefix = collections.NewPrefix(9) ReportersWithDelegatorsVotedBeforePrefix = collections.NewPrefix(10) TeamVoterPrefix = collections.NewPrefix(11) UsersGroupPrefix = collections.NewPrefix(12) BlockInfoPrefix = collections.NewPrefix(13) OpenDisputesIndexPrefix = collections.NewPrefix(14) DisputeFeePayerPrefix = collections.NewPrefix(15) DustKeyPrefix = collections.NewPrefix(16) VoteCountsByGroupPrefix = collections.NewPrefix(17) PendingExecutionIndexPrefix = collections.NewPrefix(18) )
var ( ErrInvalidLengthOpenDisputes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOpenDisputes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOpenDisputes = fmt.Errorf("proto: unexpected end of group") )
var ( KeyTeamAddress = []byte("TeamAddress") DefaultTeamAddress = authtypes.NewModuleAddress("trbFakeAddress") // TODO: Determine the default value )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthTally = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTally = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTally = 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 ( ErrInvalidLengthVote = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVote = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupVote = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthVoterClasses = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVoterClasses = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupVoterClasses = fmt.Errorf("proto: unexpected end of group") )
var DisputeCategory_name = map[int32]string{
0: "DISPUTE_CATEGORY_UNSPECIFIED",
1: "DISPUTE_CATEGORY_WARNING",
2: "DISPUTE_CATEGORY_MINOR",
3: "DISPUTE_CATEGORY_MAJOR",
}
var DisputeCategory_value = map[string]int32{
"DISPUTE_CATEGORY_UNSPECIFIED": 0,
"DISPUTE_CATEGORY_WARNING": 1,
"DISPUTE_CATEGORY_MINOR": 2,
"DISPUTE_CATEGORY_MAJOR": 3,
}
var DisputeStatus_name = map[int32]string{
0: "DISPUTE_STATUS_PREVOTE",
1: "DISPUTE_STATUS_VOTING",
2: "DISPUTE_STATUS_RESOLVED",
3: "DISPUTE_STATUS_UNRESOLVED",
4: "DISPUTE_STATUS_FAILED",
}
var DisputeStatus_value = map[string]int32{
"DISPUTE_STATUS_PREVOTE": 0,
"DISPUTE_STATUS_VOTING": 1,
"DISPUTE_STATUS_RESOLVED": 2,
"DISPUTE_STATUS_UNRESOLVED": 3,
"DISPUTE_STATUS_FAILED": 4,
}
var LegacyDecValue collcodec.ValueCodec[math.LegacyDec] = legacyDecValueCodec{}
var VoteEnum_name = map[int32]string{
0: "VOTE_INVALID",
1: "VOTE_SUPPORT",
2: "VOTE_AGAINST",
}
var VoteEnum_value = map[string]int32{
"VOTE_INVALID": 0,
"VOTE_SUPPORT": 1,
"VOTE_AGAINST": 2,
}
var VoteResult_name = map[int32]string{
0: "NO_TALLY",
1: "SUPPORT",
2: "AGAINST",
3: "INVALID",
4: "NO_QUORUM_MAJORITY_SUPPORT",
5: "NO_QUORUM_MAJORITY_AGAINST",
6: "NO_QUORUM_MAJORITY_INVALID",
}
var VoteResult_value = map[string]int32{
"NO_TALLY": 0,
"SUPPORT": 1,
"AGAINST": 2,
"INVALID": 3,
"NO_QUORUM_MAJORITY_SUPPORT": 4,
"NO_QUORUM_MAJORITY_AGAINST": 5,
"NO_QUORUM_MAJORITY_INVALID": 6,
}
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func ParamsKeyPrefix ¶
func ParamsKeyPrefix() []byte
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)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI GetModuleAddress(moduleName string) sdk.AccAddress }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin GetSupply(ctx context.Context, denom string) sdk.Coin HasBalance(ctx context.Context, addr sdk.AccAddress, amt sdk.Coin) bool InputOutputCoins(ctx context.Context, inputs banktypes.Input, outputs []banktypes.Output) error SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type BlockInfo ¶
type BlockInfo struct { // total reporter power at block TotalReporterPower cosmossdk_io_math.Int `` /* 140-byte string literal not displayed */ // total user tips at block TotalUserTips cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=total_user_tips,json=totalUserTips,proto3,customtype=cosmossdk.io/math.Int" json:"total_user_tips"` }
func (*BlockInfo) Descriptor ¶
func (*BlockInfo) MarshalToSizedBuffer ¶
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) XXX_DiscardUnknown ¶
func (m *BlockInfo) XXX_DiscardUnknown()
func (*BlockInfo) XXX_Marshal ¶
func (*BlockInfo) XXX_Unmarshal ¶
type Dispute ¶
type Dispute struct { // unique dispute hash identifier HashId []byte `protobuf:"bytes,1,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` // current dispute id DisputeId uint64 `protobuf:"varint,2,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"` // dispute severity level DisputeCategory DisputeCategory `` /* 142-byte string literal not displayed */ // cost to start dispute DisputeFee cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=dispute_fee,json=disputeFee,proto3,customtype=cosmossdk.io/math.Int" json:"dispute_fee"` // current dispute status DisputeStatus DisputeStatus `` /* 134-byte string literal not displayed */ // start time of the dispute that begins after dispute fee is fully paid DisputeStartTime time.Time `protobuf:"bytes,6,opt,name=dispute_start_time,json=disputeStartTime,proto3,stdtime" json:"dispute_start_time"` // end time that the dispute stop taking votes and creating new rounds DisputeEndTime time.Time `protobuf:"bytes,7,opt,name=dispute_end_time,json=disputeEndTime,proto3,stdtime" json:"dispute_end_time"` // height of the block that started the dispute DisputeStartBlock uint64 `protobuf:"varint,8,opt,name=dispute_start_block,json=disputeStartBlock,proto3" json:"dispute_start_block,omitempty"` // current dispute round DisputeRound uint64 `protobuf:"varint,9,opt,name=dispute_round,json=disputeRound,proto3" json:"dispute_round,omitempty"` // reporter's slashed amount SlashAmount cosmossdk_io_math.Int `protobuf:"bytes,10,opt,name=slash_amount,json=slashAmount,proto3,customtype=cosmossdk.io/math.Int" json:"slash_amount"` // burn amount that will be divided in half and paid to voters and the other half burned BurnAmount cosmossdk_io_math.Int `protobuf:"bytes,11,opt,name=burn_amount,json=burnAmount,proto3,customtype=cosmossdk.io/math.Int" json:"burn_amount"` // initial single report evidence to be disputed InitialEvidence types.MicroReport `protobuf:"bytes,12,opt,name=initial_evidence,json=initialEvidence,proto3" json:"initial_evidence"` // fee payers that were involved in paying the dispute fee in order to start the dispute // total fee paid tracked to know if dispute fee is fully paid to start dispute FeeTotal cosmossdk_io_math.Int `protobuf:"bytes,13,opt,name=fee_total,json=feeTotal,proto3,customtype=cosmossdk.io/math.Int" json:"fee_total"` // list of dispute ids that preceded before this current round began PrevDisputeIds []uint64 `protobuf:"varint,14,rep,packed,name=prev_dispute_ids,json=prevDisputeIds,proto3" json:"prev_dispute_ids,omitempty"` // block number when this specific dispute was created BlockNumber uint64 `protobuf:"varint,15,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` Open bool `protobuf:"varint,16,opt,name=open,proto3" json:"open,omitempty"` AdditionalEvidence []*types.MicroReport `protobuf:"bytes,17,rep,name=additional_evidence,json=additionalEvidence,proto3" json:"additional_evidence,omitempty"` // total tokens allocated to voters VoterReward cosmossdk_io_math.Int `protobuf:"bytes,18,opt,name=voter_reward,json=voterReward,proto3,customtype=cosmossdk.io/math.Int" json:"voter_reward"` // pending execution is true if the dispute has reached quorum and is pending execution. // however, if a new dispute round begins, this is set to false again PendingExecution bool `protobuf:"varint,19,opt,name=pending_execution,json=pendingExecution,proto3" json:"pending_execution,omitempty"` }
Dispute defines a dispute.
func (*Dispute) Descriptor ¶
func (*Dispute) GetAdditionalEvidence ¶
func (m *Dispute) GetAdditionalEvidence() []*types.MicroReport
func (*Dispute) GetBlockNumber ¶
func (*Dispute) GetDisputeCategory ¶
func (m *Dispute) GetDisputeCategory() DisputeCategory
func (*Dispute) GetDisputeEndTime ¶
func (*Dispute) GetDisputeId ¶
func (*Dispute) GetDisputeRound ¶
func (*Dispute) GetDisputeStartBlock ¶
func (*Dispute) GetDisputeStartTime ¶
func (*Dispute) GetDisputeStatus ¶
func (m *Dispute) GetDisputeStatus() DisputeStatus
func (*Dispute) GetInitialEvidence ¶
func (m *Dispute) GetInitialEvidence() types.MicroReport
func (*Dispute) GetPendingExecution ¶
func (*Dispute) GetPrevDisputeIds ¶
func (*Dispute) MarshalToSizedBuffer ¶
func (*Dispute) ProtoMessage ¶
func (*Dispute) ProtoMessage()
func (*Dispute) XXX_DiscardUnknown ¶
func (m *Dispute) XXX_DiscardUnknown()
func (*Dispute) XXX_Marshal ¶
func (*Dispute) XXX_Unmarshal ¶
type DisputeCategory ¶
type DisputeCategory int32
DisputeCategory defines the severity of a dispute.
const ( // UNSPECIFIED defines an invalid dispute category. Unspecified DisputeCategory = 0 // WARNING defines a 1 percent slashing. Warning DisputeCategory = 1 // MINOR defines a 5 percent slashing. Minor DisputeCategory = 2 // MAJOR defines a 100 percent slashing. Major DisputeCategory = 3 )
func (DisputeCategory) EnumDescriptor ¶
func (DisputeCategory) EnumDescriptor() ([]byte, []int)
func (DisputeCategory) String ¶
func (x DisputeCategory) String() string
type DisputeParams ¶
type DisputeParams struct { Report *types.MicroReport `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` Category DisputeCategory `protobuf:"varint,2,opt,name=category,proto3,enum=layer.dispute.DisputeCategory" json:"category,omitempty"` }
func (*DisputeParams) Descriptor ¶
func (*DisputeParams) Descriptor() ([]byte, []int)
func (*DisputeParams) GetCategory ¶
func (m *DisputeParams) GetCategory() DisputeCategory
func (*DisputeParams) GetReport ¶
func (m *DisputeParams) GetReport() *types.MicroReport
func (*DisputeParams) Marshal ¶
func (m *DisputeParams) Marshal() (dAtA []byte, err error)
func (*DisputeParams) MarshalToSizedBuffer ¶
func (m *DisputeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DisputeParams) ProtoMessage ¶
func (*DisputeParams) ProtoMessage()
func (*DisputeParams) Reset ¶
func (m *DisputeParams) Reset()
func (*DisputeParams) Size ¶
func (m *DisputeParams) Size() (n int)
func (*DisputeParams) String ¶
func (m *DisputeParams) String() string
func (*DisputeParams) Unmarshal ¶
func (m *DisputeParams) Unmarshal(dAtA []byte) error
func (*DisputeParams) XXX_DiscardUnknown ¶
func (m *DisputeParams) XXX_DiscardUnknown()
func (*DisputeParams) XXX_Marshal ¶
func (m *DisputeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DisputeParams) XXX_Merge ¶
func (m *DisputeParams) XXX_Merge(src proto.Message)
func (*DisputeParams) XXX_Size ¶
func (m *DisputeParams) XXX_Size() int
func (*DisputeParams) XXX_Unmarshal ¶
func (m *DisputeParams) XXX_Unmarshal(b []byte) error
type DisputeStatus ¶
type DisputeStatus int32
DisputeStatus defines the status of a dispute.
const ( // PREVOTE defines a dispute that hasn't started voting (ie in funding). Prevote DisputeStatus = 0 // VOTING defines a dispute that has been funded and is in voting. Voting DisputeStatus = 1 // RESOLVED defines a dispute that has completed voting and reached quroum Resolved DisputeStatus = 2 // UNRESOLVED defines a dispute that has completed voting and but hasn't reached quroum Unresolved DisputeStatus = 3 // FAILED defines a dispute that failed to pay the dispute fee to start vote. Failed DisputeStatus = 4 )
func (DisputeStatus) EnumDescriptor ¶
func (DisputeStatus) EnumDescriptor() ([]byte, []int)
func (DisputeStatus) String ¶
func (x DisputeStatus) String() string
type Disputes ¶
type Disputes struct { DisputeId uint64 `protobuf:"varint,1,opt,name=disputeId,proto3" json:"disputeId,omitempty"` Metadata *Dispute `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` }
func (*Disputes) Descriptor ¶
func (*Disputes) GetDisputeId ¶
func (*Disputes) GetMetadata ¶
func (*Disputes) MarshalToSizedBuffer ¶
func (*Disputes) ProtoMessage ¶
func (*Disputes) ProtoMessage()
func (*Disputes) XXX_DiscardUnknown ¶
func (m *Disputes) XXX_DiscardUnknown()
func (*Disputes) XXX_Marshal ¶
func (*Disputes) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the dispute module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
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 GroupTally ¶
type GroupTally struct { VoteCount *VoteCounts `protobuf:"bytes,1,opt,name=voteCount,proto3" json:"voteCount,omitempty"` TotalPowerVoted uint64 `protobuf:"varint,2,opt,name=totalPowerVoted,proto3" json:"totalPowerVoted,omitempty"` TotalGroupPower uint64 `protobuf:"varint,3,opt,name=totalGroupPower,proto3" json:"totalGroupPower,omitempty"` }
func (*GroupTally) Descriptor ¶
func (*GroupTally) Descriptor() ([]byte, []int)
func (*GroupTally) GetTotalGroupPower ¶
func (m *GroupTally) GetTotalGroupPower() uint64
func (*GroupTally) GetTotalPowerVoted ¶
func (m *GroupTally) GetTotalPowerVoted() uint64
func (*GroupTally) GetVoteCount ¶
func (m *GroupTally) GetVoteCount() *VoteCounts
func (*GroupTally) Marshal ¶
func (m *GroupTally) Marshal() (dAtA []byte, err error)
func (*GroupTally) MarshalToSizedBuffer ¶
func (m *GroupTally) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupTally) ProtoMessage ¶
func (*GroupTally) ProtoMessage()
func (*GroupTally) Reset ¶
func (m *GroupTally) Reset()
func (*GroupTally) Size ¶
func (m *GroupTally) Size() (n int)
func (*GroupTally) String ¶
func (m *GroupTally) String() string
func (*GroupTally) Unmarshal ¶
func (m *GroupTally) Unmarshal(dAtA []byte) error
func (*GroupTally) XXX_DiscardUnknown ¶
func (m *GroupTally) XXX_DiscardUnknown()
func (*GroupTally) XXX_Marshal ¶
func (m *GroupTally) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupTally) XXX_Merge ¶
func (m *GroupTally) XXX_Merge(src proto.Message)
func (*GroupTally) XXX_Size ¶
func (m *GroupTally) XXX_Size() int
func (*GroupTally) XXX_Unmarshal ¶
func (m *GroupTally) XXX_Unmarshal(b []byte) error
type MsgAddEvidence ¶
type MsgAddEvidence struct { CallerAddress string `protobuf:"bytes,1,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` DisputeId uint64 `protobuf:"varint,2,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"` Reports []*types.MicroReport `protobuf:"bytes,3,rep,name=reports,proto3" json:"reports,omitempty"` }
func (*MsgAddEvidence) Descriptor ¶
func (*MsgAddEvidence) Descriptor() ([]byte, []int)
func (*MsgAddEvidence) GetCallerAddress ¶
func (m *MsgAddEvidence) GetCallerAddress() string
func (*MsgAddEvidence) GetDisputeId ¶
func (m *MsgAddEvidence) GetDisputeId() uint64
func (*MsgAddEvidence) GetReports ¶
func (m *MsgAddEvidence) GetReports() []*types.MicroReport
func (*MsgAddEvidence) Marshal ¶
func (m *MsgAddEvidence) Marshal() (dAtA []byte, err error)
func (*MsgAddEvidence) MarshalToSizedBuffer ¶
func (m *MsgAddEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddEvidence) ProtoMessage ¶
func (*MsgAddEvidence) ProtoMessage()
func (*MsgAddEvidence) Reset ¶
func (m *MsgAddEvidence) Reset()
func (*MsgAddEvidence) Size ¶
func (m *MsgAddEvidence) Size() (n int)
func (*MsgAddEvidence) String ¶
func (m *MsgAddEvidence) String() string
func (*MsgAddEvidence) Unmarshal ¶
func (m *MsgAddEvidence) Unmarshal(dAtA []byte) error
func (*MsgAddEvidence) XXX_DiscardUnknown ¶
func (m *MsgAddEvidence) XXX_DiscardUnknown()
func (*MsgAddEvidence) XXX_Marshal ¶
func (m *MsgAddEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddEvidence) XXX_Merge ¶
func (m *MsgAddEvidence) XXX_Merge(src proto.Message)
func (*MsgAddEvidence) XXX_Size ¶
func (m *MsgAddEvidence) XXX_Size() int
func (*MsgAddEvidence) XXX_Unmarshal ¶
func (m *MsgAddEvidence) XXX_Unmarshal(b []byte) error
type MsgAddEvidenceResponse ¶
type MsgAddEvidenceResponse struct { }
func (*MsgAddEvidenceResponse) Descriptor ¶
func (*MsgAddEvidenceResponse) Descriptor() ([]byte, []int)
func (*MsgAddEvidenceResponse) Marshal ¶
func (m *MsgAddEvidenceResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddEvidenceResponse) MarshalTo ¶
func (m *MsgAddEvidenceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddEvidenceResponse) MarshalToSizedBuffer ¶
func (m *MsgAddEvidenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddEvidenceResponse) ProtoMessage ¶
func (*MsgAddEvidenceResponse) ProtoMessage()
func (*MsgAddEvidenceResponse) Reset ¶
func (m *MsgAddEvidenceResponse) Reset()
func (*MsgAddEvidenceResponse) Size ¶
func (m *MsgAddEvidenceResponse) Size() (n int)
func (*MsgAddEvidenceResponse) String ¶
func (m *MsgAddEvidenceResponse) String() string
func (*MsgAddEvidenceResponse) Unmarshal ¶
func (m *MsgAddEvidenceResponse) Unmarshal(dAtA []byte) error
func (*MsgAddEvidenceResponse) XXX_DiscardUnknown ¶
func (m *MsgAddEvidenceResponse) XXX_DiscardUnknown()
func (*MsgAddEvidenceResponse) XXX_Marshal ¶
func (m *MsgAddEvidenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddEvidenceResponse) XXX_Merge ¶
func (m *MsgAddEvidenceResponse) XXX_Merge(src proto.Message)
func (*MsgAddEvidenceResponse) XXX_Size ¶
func (m *MsgAddEvidenceResponse) XXX_Size() int
func (*MsgAddEvidenceResponse) XXX_Unmarshal ¶
func (m *MsgAddEvidenceResponse) XXX_Unmarshal(b []byte) error
type MsgAddFeeToDispute ¶
type MsgAddFeeToDispute struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` DisputeId uint64 `protobuf:"varint,2,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"` Amount types1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` PayFromBond bool `protobuf:"varint,4,opt,name=pay_from_bond,json=payFromBond,proto3" json:"pay_from_bond,omitempty"` }
func NewMsgAddFeeToDispute ¶
func (*MsgAddFeeToDispute) Descriptor ¶
func (*MsgAddFeeToDispute) Descriptor() ([]byte, []int)
func (*MsgAddFeeToDispute) GetAmount ¶
func (m *MsgAddFeeToDispute) GetAmount() types1.Coin
func (*MsgAddFeeToDispute) GetCreator ¶
func (m *MsgAddFeeToDispute) GetCreator() string
func (*MsgAddFeeToDispute) GetDisputeId ¶
func (m *MsgAddFeeToDispute) GetDisputeId() uint64
func (*MsgAddFeeToDispute) GetPayFromBond ¶
func (m *MsgAddFeeToDispute) GetPayFromBond() bool
func (*MsgAddFeeToDispute) GetSignBytes ¶
func (msg *MsgAddFeeToDispute) GetSignBytes() []byte
func (*MsgAddFeeToDispute) GetSigners ¶
func (msg *MsgAddFeeToDispute) GetSigners() []sdk.AccAddress
func (*MsgAddFeeToDispute) Marshal ¶
func (m *MsgAddFeeToDispute) Marshal() (dAtA []byte, err error)
func (*MsgAddFeeToDispute) MarshalTo ¶
func (m *MsgAddFeeToDispute) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddFeeToDispute) MarshalToSizedBuffer ¶
func (m *MsgAddFeeToDispute) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddFeeToDispute) ProtoMessage ¶
func (*MsgAddFeeToDispute) ProtoMessage()
func (*MsgAddFeeToDispute) Reset ¶
func (m *MsgAddFeeToDispute) Reset()
func (*MsgAddFeeToDispute) Route ¶
func (msg *MsgAddFeeToDispute) Route() string
func (*MsgAddFeeToDispute) Size ¶
func (m *MsgAddFeeToDispute) Size() (n int)
func (*MsgAddFeeToDispute) String ¶
func (m *MsgAddFeeToDispute) String() string
func (*MsgAddFeeToDispute) Type ¶
func (msg *MsgAddFeeToDispute) Type() string
func (*MsgAddFeeToDispute) Unmarshal ¶
func (m *MsgAddFeeToDispute) Unmarshal(dAtA []byte) error
func (*MsgAddFeeToDispute) ValidateBasic ¶
func (msg *MsgAddFeeToDispute) ValidateBasic() error
func (*MsgAddFeeToDispute) XXX_DiscardUnknown ¶
func (m *MsgAddFeeToDispute) XXX_DiscardUnknown()
func (*MsgAddFeeToDispute) XXX_Marshal ¶
func (m *MsgAddFeeToDispute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddFeeToDispute) XXX_Merge ¶
func (m *MsgAddFeeToDispute) XXX_Merge(src proto.Message)
func (*MsgAddFeeToDispute) XXX_Size ¶
func (m *MsgAddFeeToDispute) XXX_Size() int
func (*MsgAddFeeToDispute) XXX_Unmarshal ¶
func (m *MsgAddFeeToDispute) XXX_Unmarshal(b []byte) error
type MsgAddFeeToDisputeResponse ¶
type MsgAddFeeToDisputeResponse struct { }
func (*MsgAddFeeToDisputeResponse) Descriptor ¶
func (*MsgAddFeeToDisputeResponse) Descriptor() ([]byte, []int)
func (*MsgAddFeeToDisputeResponse) Marshal ¶
func (m *MsgAddFeeToDisputeResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddFeeToDisputeResponse) MarshalTo ¶
func (m *MsgAddFeeToDisputeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddFeeToDisputeResponse) MarshalToSizedBuffer ¶
func (m *MsgAddFeeToDisputeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddFeeToDisputeResponse) ProtoMessage ¶
func (*MsgAddFeeToDisputeResponse) ProtoMessage()
func (*MsgAddFeeToDisputeResponse) Reset ¶
func (m *MsgAddFeeToDisputeResponse) Reset()
func (*MsgAddFeeToDisputeResponse) Size ¶
func (m *MsgAddFeeToDisputeResponse) Size() (n int)
func (*MsgAddFeeToDisputeResponse) String ¶
func (m *MsgAddFeeToDisputeResponse) String() string
func (*MsgAddFeeToDisputeResponse) Unmarshal ¶
func (m *MsgAddFeeToDisputeResponse) Unmarshal(dAtA []byte) error
func (*MsgAddFeeToDisputeResponse) XXX_DiscardUnknown ¶
func (m *MsgAddFeeToDisputeResponse) XXX_DiscardUnknown()
func (*MsgAddFeeToDisputeResponse) XXX_Marshal ¶
func (m *MsgAddFeeToDisputeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddFeeToDisputeResponse) XXX_Merge ¶
func (m *MsgAddFeeToDisputeResponse) XXX_Merge(src proto.Message)
func (*MsgAddFeeToDisputeResponse) XXX_Size ¶
func (m *MsgAddFeeToDisputeResponse) XXX_Size() int
func (*MsgAddFeeToDisputeResponse) XXX_Unmarshal ¶
func (m *MsgAddFeeToDisputeResponse) XXX_Unmarshal(b []byte) error
type MsgClaimReward ¶
type MsgClaimReward struct { CallerAddress string `protobuf:"bytes,1,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` DisputeId uint64 `protobuf:"varint,2,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"` }
func (*MsgClaimReward) Descriptor ¶
func (*MsgClaimReward) Descriptor() ([]byte, []int)
func (*MsgClaimReward) GetCallerAddress ¶
func (m *MsgClaimReward) GetCallerAddress() string
func (*MsgClaimReward) GetDisputeId ¶
func (m *MsgClaimReward) GetDisputeId() uint64
func (*MsgClaimReward) Marshal ¶
func (m *MsgClaimReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimReward) MarshalToSizedBuffer ¶
func (m *MsgClaimReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimReward) ProtoMessage ¶
func (*MsgClaimReward) ProtoMessage()
func (*MsgClaimReward) Reset ¶
func (m *MsgClaimReward) Reset()
func (*MsgClaimReward) Size ¶
func (m *MsgClaimReward) Size() (n int)
func (*MsgClaimReward) String ¶
func (m *MsgClaimReward) String() string
func (*MsgClaimReward) Unmarshal ¶
func (m *MsgClaimReward) Unmarshal(dAtA []byte) error
func (*MsgClaimReward) XXX_DiscardUnknown ¶
func (m *MsgClaimReward) XXX_DiscardUnknown()
func (*MsgClaimReward) XXX_Marshal ¶
func (m *MsgClaimReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimReward) XXX_Merge ¶
func (m *MsgClaimReward) XXX_Merge(src proto.Message)
func (*MsgClaimReward) XXX_Size ¶
func (m *MsgClaimReward) XXX_Size() int
func (*MsgClaimReward) XXX_Unmarshal ¶
func (m *MsgClaimReward) XXX_Unmarshal(b []byte) error
type MsgClaimRewardResponse ¶
type MsgClaimRewardResponse struct { }
func (*MsgClaimRewardResponse) Descriptor ¶
func (*MsgClaimRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimRewardResponse) Marshal ¶
func (m *MsgClaimRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimRewardResponse) MarshalTo ¶
func (m *MsgClaimRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimRewardResponse) ProtoMessage ¶
func (*MsgClaimRewardResponse) ProtoMessage()
func (*MsgClaimRewardResponse) Reset ¶
func (m *MsgClaimRewardResponse) Reset()
func (*MsgClaimRewardResponse) Size ¶
func (m *MsgClaimRewardResponse) Size() (n int)
func (*MsgClaimRewardResponse) String ¶
func (m *MsgClaimRewardResponse) String() string
func (*MsgClaimRewardResponse) Unmarshal ¶
func (m *MsgClaimRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimRewardResponse) XXX_Marshal ¶
func (m *MsgClaimRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimRewardResponse) XXX_Merge ¶
func (m *MsgClaimRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimRewardResponse) XXX_Size ¶
func (m *MsgClaimRewardResponse) XXX_Size() int
func (*MsgClaimRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { ProposeDispute(ctx context.Context, in *MsgProposeDispute, opts ...grpc.CallOption) (*MsgProposeDisputeResponse, error) AddFeeToDispute(ctx context.Context, in *MsgAddFeeToDispute, opts ...grpc.CallOption) (*MsgAddFeeToDisputeResponse, error) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) UpdateTeam(ctx context.Context, in *MsgUpdateTeam, opts ...grpc.CallOption) (*MsgUpdateTeamResponse, error) WithdrawFeeRefund(ctx context.Context, in *MsgWithdrawFeeRefund, opts ...grpc.CallOption) (*MsgWithdrawFeeRefundResponse, error) AddEvidence(ctx context.Context, in *MsgAddEvidence, opts ...grpc.CallOption) (*MsgAddEvidenceResponse, error) ClaimReward(ctx context.Context, in *MsgClaimReward, opts ...grpc.CallOption) (*MsgClaimRewardResponse, 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 MsgProposeDispute ¶
type MsgProposeDispute struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Report *types.MicroReport `protobuf:"bytes,2,opt,name=report,proto3" json:"report,omitempty"` DisputeCategory DisputeCategory `` /* 142-byte string literal not displayed */ Fee types1.Coin `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee"` PayFromBond bool `protobuf:"varint,5,opt,name=pay_from_bond,json=payFromBond,proto3" json:"pay_from_bond,omitempty"` }
func NewMsgProposeDispute ¶
func NewMsgProposeDispute(creator string, report *oracletypes.MicroReport, disputeCategory DisputeCategory, fee sdk.Coin, payFromBond bool) *MsgProposeDispute
func (*MsgProposeDispute) Descriptor ¶
func (*MsgProposeDispute) Descriptor() ([]byte, []int)
func (*MsgProposeDispute) GetCreator ¶
func (m *MsgProposeDispute) GetCreator() string
func (*MsgProposeDispute) GetDisputeCategory ¶
func (m *MsgProposeDispute) GetDisputeCategory() DisputeCategory
func (*MsgProposeDispute) GetFee ¶
func (m *MsgProposeDispute) GetFee() types1.Coin
func (*MsgProposeDispute) GetPayFromBond ¶
func (m *MsgProposeDispute) GetPayFromBond() bool
func (*MsgProposeDispute) GetReport ¶
func (m *MsgProposeDispute) GetReport() *types.MicroReport
func (*MsgProposeDispute) GetSignBytes ¶
func (msg *MsgProposeDispute) GetSignBytes() []byte
func (*MsgProposeDispute) GetSigners ¶
func (msg *MsgProposeDispute) GetSigners() []sdk.AccAddress
func (*MsgProposeDispute) Marshal ¶
func (m *MsgProposeDispute) Marshal() (dAtA []byte, err error)
func (*MsgProposeDispute) MarshalTo ¶
func (m *MsgProposeDispute) MarshalTo(dAtA []byte) (int, error)
func (*MsgProposeDispute) MarshalToSizedBuffer ¶
func (m *MsgProposeDispute) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProposeDispute) ProtoMessage ¶
func (*MsgProposeDispute) ProtoMessage()
func (*MsgProposeDispute) Reset ¶
func (m *MsgProposeDispute) Reset()
func (*MsgProposeDispute) Route ¶
func (msg *MsgProposeDispute) Route() string
func (*MsgProposeDispute) Size ¶
func (m *MsgProposeDispute) Size() (n int)
func (*MsgProposeDispute) String ¶
func (m *MsgProposeDispute) String() string
func (*MsgProposeDispute) Type ¶
func (msg *MsgProposeDispute) Type() string
func (*MsgProposeDispute) Unmarshal ¶
func (m *MsgProposeDispute) Unmarshal(dAtA []byte) error
func (*MsgProposeDispute) ValidateBasic ¶
func (msg *MsgProposeDispute) ValidateBasic() error
func (*MsgProposeDispute) XXX_DiscardUnknown ¶
func (m *MsgProposeDispute) XXX_DiscardUnknown()
func (*MsgProposeDispute) XXX_Marshal ¶
func (m *MsgProposeDispute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProposeDispute) XXX_Merge ¶
func (m *MsgProposeDispute) XXX_Merge(src proto.Message)
func (*MsgProposeDispute) XXX_Size ¶
func (m *MsgProposeDispute) XXX_Size() int
func (*MsgProposeDispute) XXX_Unmarshal ¶
func (m *MsgProposeDispute) XXX_Unmarshal(b []byte) error
type MsgProposeDisputeResponse ¶
type MsgProposeDisputeResponse struct { }
func (*MsgProposeDisputeResponse) Descriptor ¶
func (*MsgProposeDisputeResponse) Descriptor() ([]byte, []int)
func (*MsgProposeDisputeResponse) Marshal ¶
func (m *MsgProposeDisputeResponse) Marshal() (dAtA []byte, err error)
func (*MsgProposeDisputeResponse) MarshalTo ¶
func (m *MsgProposeDisputeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgProposeDisputeResponse) MarshalToSizedBuffer ¶
func (m *MsgProposeDisputeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProposeDisputeResponse) ProtoMessage ¶
func (*MsgProposeDisputeResponse) ProtoMessage()
func (*MsgProposeDisputeResponse) Reset ¶
func (m *MsgProposeDisputeResponse) Reset()
func (*MsgProposeDisputeResponse) Size ¶
func (m *MsgProposeDisputeResponse) Size() (n int)
func (*MsgProposeDisputeResponse) String ¶
func (m *MsgProposeDisputeResponse) String() string
func (*MsgProposeDisputeResponse) Unmarshal ¶
func (m *MsgProposeDisputeResponse) Unmarshal(dAtA []byte) error
func (*MsgProposeDisputeResponse) XXX_DiscardUnknown ¶
func (m *MsgProposeDisputeResponse) XXX_DiscardUnknown()
func (*MsgProposeDisputeResponse) XXX_Marshal ¶
func (m *MsgProposeDisputeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProposeDisputeResponse) XXX_Merge ¶
func (m *MsgProposeDisputeResponse) XXX_Merge(src proto.Message)
func (*MsgProposeDisputeResponse) XXX_Size ¶
func (m *MsgProposeDisputeResponse) XXX_Size() int
func (*MsgProposeDisputeResponse) XXX_Unmarshal ¶
func (m *MsgProposeDisputeResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { ProposeDispute(context.Context, *MsgProposeDispute) (*MsgProposeDisputeResponse, error) AddFeeToDispute(context.Context, *MsgAddFeeToDispute) (*MsgAddFeeToDisputeResponse, error) Vote(context.Context, *MsgVote) (*MsgVoteResponse, error) UpdateTeam(context.Context, *MsgUpdateTeam) (*MsgUpdateTeamResponse, error) WithdrawFeeRefund(context.Context, *MsgWithdrawFeeRefund) (*MsgWithdrawFeeRefundResponse, error) AddEvidence(context.Context, *MsgAddEvidence) (*MsgAddEvidenceResponse, error) ClaimReward(context.Context, *MsgClaimReward) (*MsgClaimRewardResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateTeam ¶
type MsgUpdateTeam struct { CurrentTeamAddress string `protobuf:"bytes,1,opt,name=current_team_address,json=currentTeamAddress,proto3" json:"current_team_address,omitempty"` NewTeamAddress string `protobuf:"bytes,2,opt,name=new_team_address,json=newTeamAddress,proto3" json:"new_team_address,omitempty"` }
func (*MsgUpdateTeam) Descriptor ¶
func (*MsgUpdateTeam) Descriptor() ([]byte, []int)
func (*MsgUpdateTeam) GetCurrentTeamAddress ¶
func (m *MsgUpdateTeam) GetCurrentTeamAddress() string
func (*MsgUpdateTeam) GetNewTeamAddress ¶
func (m *MsgUpdateTeam) GetNewTeamAddress() string
func (*MsgUpdateTeam) Marshal ¶
func (m *MsgUpdateTeam) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTeam) MarshalToSizedBuffer ¶
func (m *MsgUpdateTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTeam) ProtoMessage ¶
func (*MsgUpdateTeam) ProtoMessage()
func (*MsgUpdateTeam) Reset ¶
func (m *MsgUpdateTeam) Reset()
func (*MsgUpdateTeam) Size ¶
func (m *MsgUpdateTeam) Size() (n int)
func (*MsgUpdateTeam) String ¶
func (m *MsgUpdateTeam) String() string
func (*MsgUpdateTeam) Unmarshal ¶
func (m *MsgUpdateTeam) Unmarshal(dAtA []byte) error
func (*MsgUpdateTeam) XXX_DiscardUnknown ¶
func (m *MsgUpdateTeam) XXX_DiscardUnknown()
func (*MsgUpdateTeam) XXX_Marshal ¶
func (m *MsgUpdateTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTeam) XXX_Merge ¶
func (m *MsgUpdateTeam) XXX_Merge(src proto.Message)
func (*MsgUpdateTeam) XXX_Size ¶
func (m *MsgUpdateTeam) XXX_Size() int
func (*MsgUpdateTeam) XXX_Unmarshal ¶
func (m *MsgUpdateTeam) XXX_Unmarshal(b []byte) error
type MsgUpdateTeamResponse ¶
type MsgUpdateTeamResponse struct { }
func (*MsgUpdateTeamResponse) Descriptor ¶
func (*MsgUpdateTeamResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateTeamResponse) Marshal ¶
func (m *MsgUpdateTeamResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTeamResponse) MarshalTo ¶
func (m *MsgUpdateTeamResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateTeamResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateTeamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTeamResponse) ProtoMessage ¶
func (*MsgUpdateTeamResponse) ProtoMessage()
func (*MsgUpdateTeamResponse) Reset ¶
func (m *MsgUpdateTeamResponse) Reset()
func (*MsgUpdateTeamResponse) Size ¶
func (m *MsgUpdateTeamResponse) Size() (n int)
func (*MsgUpdateTeamResponse) String ¶
func (m *MsgUpdateTeamResponse) String() string
func (*MsgUpdateTeamResponse) Unmarshal ¶
func (m *MsgUpdateTeamResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateTeamResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateTeamResponse) XXX_DiscardUnknown()
func (*MsgUpdateTeamResponse) XXX_Marshal ¶
func (m *MsgUpdateTeamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTeamResponse) XXX_Merge ¶
func (m *MsgUpdateTeamResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateTeamResponse) XXX_Size ¶
func (m *MsgUpdateTeamResponse) XXX_Size() int
func (*MsgUpdateTeamResponse) XXX_Unmarshal ¶
func (m *MsgUpdateTeamResponse) XXX_Unmarshal(b []byte) error
type MsgVote ¶
type MsgVote struct { Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Vote VoteEnum `protobuf:"varint,3,opt,name=vote,proto3,enum=layer.dispute.VoteEnum" json:"vote,omitempty"` }
func (*MsgVote) Descriptor ¶
func (*MsgVote) GetSignBytes ¶
func (*MsgVote) GetSigners ¶
func (msg *MsgVote) GetSigners() []sdk.AccAddress
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 MsgWithdrawFeeRefund ¶
type MsgWithdrawFeeRefund struct { CallerAddress string `protobuf:"bytes,1,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` PayerAddress string `protobuf:"bytes,2,opt,name=payer_address,json=payerAddress,proto3" json:"payer_address,omitempty"` Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` }
func (*MsgWithdrawFeeRefund) Descriptor ¶
func (*MsgWithdrawFeeRefund) Descriptor() ([]byte, []int)
func (*MsgWithdrawFeeRefund) GetCallerAddress ¶
func (m *MsgWithdrawFeeRefund) GetCallerAddress() string
func (*MsgWithdrawFeeRefund) GetId ¶
func (m *MsgWithdrawFeeRefund) GetId() uint64
func (*MsgWithdrawFeeRefund) GetPayerAddress ¶
func (m *MsgWithdrawFeeRefund) GetPayerAddress() string
func (*MsgWithdrawFeeRefund) Marshal ¶
func (m *MsgWithdrawFeeRefund) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFeeRefund) MarshalTo ¶
func (m *MsgWithdrawFeeRefund) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawFeeRefund) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFeeRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFeeRefund) ProtoMessage ¶
func (*MsgWithdrawFeeRefund) ProtoMessage()
func (*MsgWithdrawFeeRefund) Reset ¶
func (m *MsgWithdrawFeeRefund) Reset()
func (*MsgWithdrawFeeRefund) Size ¶
func (m *MsgWithdrawFeeRefund) Size() (n int)
func (*MsgWithdrawFeeRefund) String ¶
func (m *MsgWithdrawFeeRefund) String() string
func (*MsgWithdrawFeeRefund) Unmarshal ¶
func (m *MsgWithdrawFeeRefund) Unmarshal(dAtA []byte) error
func (*MsgWithdrawFeeRefund) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFeeRefund) XXX_DiscardUnknown()
func (*MsgWithdrawFeeRefund) XXX_Marshal ¶
func (m *MsgWithdrawFeeRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFeeRefund) XXX_Merge ¶
func (m *MsgWithdrawFeeRefund) XXX_Merge(src proto.Message)
func (*MsgWithdrawFeeRefund) XXX_Size ¶
func (m *MsgWithdrawFeeRefund) XXX_Size() int
func (*MsgWithdrawFeeRefund) XXX_Unmarshal ¶
func (m *MsgWithdrawFeeRefund) XXX_Unmarshal(b []byte) error
type MsgWithdrawFeeRefundResponse ¶
type MsgWithdrawFeeRefundResponse struct { }
func (*MsgWithdrawFeeRefundResponse) Descriptor ¶
func (*MsgWithdrawFeeRefundResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawFeeRefundResponse) Marshal ¶
func (m *MsgWithdrawFeeRefundResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFeeRefundResponse) MarshalTo ¶
func (m *MsgWithdrawFeeRefundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawFeeRefundResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFeeRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFeeRefundResponse) ProtoMessage ¶
func (*MsgWithdrawFeeRefundResponse) ProtoMessage()
func (*MsgWithdrawFeeRefundResponse) Reset ¶
func (m *MsgWithdrawFeeRefundResponse) Reset()
func (*MsgWithdrawFeeRefundResponse) Size ¶
func (m *MsgWithdrawFeeRefundResponse) Size() (n int)
func (*MsgWithdrawFeeRefundResponse) String ¶
func (m *MsgWithdrawFeeRefundResponse) String() string
func (*MsgWithdrawFeeRefundResponse) Unmarshal ¶
func (m *MsgWithdrawFeeRefundResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawFeeRefundResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFeeRefundResponse) XXX_DiscardUnknown()
func (*MsgWithdrawFeeRefundResponse) XXX_Marshal ¶
func (m *MsgWithdrawFeeRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFeeRefundResponse) XXX_Merge ¶
func (m *MsgWithdrawFeeRefundResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawFeeRefundResponse) XXX_Size ¶
func (m *MsgWithdrawFeeRefundResponse) XXX_Size() int
func (*MsgWithdrawFeeRefundResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawFeeRefundResponse) XXX_Unmarshal(b []byte) error
type OpenDisputes ¶
type OpenDisputes struct {
Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
}
func (*OpenDisputes) Descriptor ¶
func (*OpenDisputes) Descriptor() ([]byte, []int)
func (*OpenDisputes) GetIds ¶
func (m *OpenDisputes) GetIds() []uint64
func (*OpenDisputes) Marshal ¶
func (m *OpenDisputes) Marshal() (dAtA []byte, err error)
func (*OpenDisputes) MarshalToSizedBuffer ¶
func (m *OpenDisputes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OpenDisputes) ProtoMessage ¶
func (*OpenDisputes) ProtoMessage()
func (*OpenDisputes) Reset ¶
func (m *OpenDisputes) Reset()
func (*OpenDisputes) Size ¶
func (m *OpenDisputes) Size() (n int)
func (*OpenDisputes) String ¶
func (m *OpenDisputes) String() string
func (*OpenDisputes) Unmarshal ¶
func (m *OpenDisputes) Unmarshal(dAtA []byte) error
func (*OpenDisputes) XXX_DiscardUnknown ¶
func (m *OpenDisputes) XXX_DiscardUnknown()
func (*OpenDisputes) XXX_Marshal ¶
func (m *OpenDisputes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenDisputes) XXX_Merge ¶
func (m *OpenDisputes) XXX_Merge(src proto.Message)
func (*OpenDisputes) XXX_Size ¶
func (m *OpenDisputes) XXX_Size() int
func (*OpenDisputes) XXX_Unmarshal ¶
func (m *OpenDisputes) XXX_Unmarshal(b []byte) error
type OracleKeeper ¶
type OracleKeeper interface { GetTotalTips(ctx context.Context) (math.Int, error) GetUserTips(ctx context.Context, tipper sdk.AccAddress) (math.Int, error) GetTotalTipsAtBlock(ctx context.Context, blockNumber uint64) (math.Int, error) GetTipsAtBlockForTipper(ctx context.Context, blockNumber uint64, tipper sdk.AccAddress) (math.Int, error) FlagAggregateReport(ctx context.Context, report oracletypes.MicroReport) error }
type Params ¶
type Params struct {
TeamAddress []byte `protobuf:"bytes,1,opt,name=team_address,json=teamAddress,proto3" json:"team_address,omitempty"`
}
Params defines the parameters for the module.
func NewParams ¶
func NewParams( team sdk.AccAddress, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetTeamAddress ¶
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 PayerInfo ¶
type PayerInfo struct { // amount paid Amount cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` // source of funds either from bond or free floating funds FromBond bool `protobuf:"varint,2,opt,name=from_bond,json=fromBond,proto3" json:"from_bond,omitempty"` }
PayerInfo defines the payer info of a dispute fee payer's info that was involved in paying the dispute fee in order to start the dispute
func (*PayerInfo) Descriptor ¶
func (*PayerInfo) GetFromBond ¶
func (*PayerInfo) MarshalToSizedBuffer ¶
func (*PayerInfo) ProtoMessage ¶
func (*PayerInfo) ProtoMessage()
func (*PayerInfo) XXX_DiscardUnknown ¶
func (m *PayerInfo) XXX_DiscardUnknown()
func (*PayerInfo) XXX_Marshal ¶
func (*PayerInfo) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Reporters queries all the staked reporters. Disputes(ctx context.Context, in *QueryDisputesRequest, opts ...grpc.CallOption) (*QueryDisputesResponse, error) // OpenDisputes queries all the open disputes. OpenDisputes(ctx context.Context, in *QueryOpenDisputesRequest, opts ...grpc.CallOption) (*QueryOpenDisputesResponse, error) // team vote queries the team vote for a dispute. TeamVote(ctx context.Context, in *QueryTeamVoteRequest, opts ...grpc.CallOption) (*QueryTeamVoteResponse, error) // team address queries the team address. TeamAddress(ctx context.Context, in *QueryTeamAddressRequest, opts ...grpc.CallOption) (*QueryTeamAddressResponse, error) // Tally queries the vote count of a dispute Tally(ctx context.Context, in *QueryDisputesTallyRequest, opts ...grpc.CallOption) (*QueryDisputesTallyResponse, 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 QueryDisputesRequest ¶
type QueryDisputesRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryDisputesRequest) Descriptor ¶
func (*QueryDisputesRequest) Descriptor() ([]byte, []int)
func (*QueryDisputesRequest) GetPagination ¶
func (m *QueryDisputesRequest) GetPagination() *query.PageRequest
func (*QueryDisputesRequest) Marshal ¶
func (m *QueryDisputesRequest) Marshal() (dAtA []byte, err error)
func (*QueryDisputesRequest) MarshalTo ¶
func (m *QueryDisputesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDisputesRequest) MarshalToSizedBuffer ¶
func (m *QueryDisputesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDisputesRequest) ProtoMessage ¶
func (*QueryDisputesRequest) ProtoMessage()
func (*QueryDisputesRequest) Reset ¶
func (m *QueryDisputesRequest) Reset()
func (*QueryDisputesRequest) Size ¶
func (m *QueryDisputesRequest) Size() (n int)
func (*QueryDisputesRequest) String ¶
func (m *QueryDisputesRequest) String() string
func (*QueryDisputesRequest) Unmarshal ¶
func (m *QueryDisputesRequest) Unmarshal(dAtA []byte) error
func (*QueryDisputesRequest) XXX_DiscardUnknown ¶
func (m *QueryDisputesRequest) XXX_DiscardUnknown()
func (*QueryDisputesRequest) XXX_Marshal ¶
func (m *QueryDisputesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDisputesRequest) XXX_Merge ¶
func (m *QueryDisputesRequest) XXX_Merge(src proto.Message)
func (*QueryDisputesRequest) XXX_Size ¶
func (m *QueryDisputesRequest) XXX_Size() int
func (*QueryDisputesRequest) XXX_Unmarshal ¶
func (m *QueryDisputesRequest) XXX_Unmarshal(b []byte) error
type QueryDisputesResponse ¶
type QueryDisputesResponse struct { // pagination defines an optional pagination for the request. Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Disputes []*Disputes `protobuf:"bytes,2,rep,name=disputes,proto3" json:"disputes,omitempty"` }
func (*QueryDisputesResponse) Descriptor ¶
func (*QueryDisputesResponse) Descriptor() ([]byte, []int)
func (*QueryDisputesResponse) GetDisputes ¶
func (m *QueryDisputesResponse) GetDisputes() []*Disputes
func (*QueryDisputesResponse) GetPagination ¶
func (m *QueryDisputesResponse) GetPagination() *query.PageResponse
func (*QueryDisputesResponse) Marshal ¶
func (m *QueryDisputesResponse) Marshal() (dAtA []byte, err error)
func (*QueryDisputesResponse) MarshalTo ¶
func (m *QueryDisputesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDisputesResponse) MarshalToSizedBuffer ¶
func (m *QueryDisputesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDisputesResponse) ProtoMessage ¶
func (*QueryDisputesResponse) ProtoMessage()
func (*QueryDisputesResponse) Reset ¶
func (m *QueryDisputesResponse) Reset()
func (*QueryDisputesResponse) Size ¶
func (m *QueryDisputesResponse) Size() (n int)
func (*QueryDisputesResponse) String ¶
func (m *QueryDisputesResponse) String() string
func (*QueryDisputesResponse) Unmarshal ¶
func (m *QueryDisputesResponse) Unmarshal(dAtA []byte) error
func (*QueryDisputesResponse) XXX_DiscardUnknown ¶
func (m *QueryDisputesResponse) XXX_DiscardUnknown()
func (*QueryDisputesResponse) XXX_Marshal ¶
func (m *QueryDisputesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDisputesResponse) XXX_Merge ¶
func (m *QueryDisputesResponse) XXX_Merge(src proto.Message)
func (*QueryDisputesResponse) XXX_Size ¶
func (m *QueryDisputesResponse) XXX_Size() int
func (*QueryDisputesResponse) XXX_Unmarshal ¶
func (m *QueryDisputesResponse) XXX_Unmarshal(b []byte) error
type QueryDisputesTallyRequest ¶
type QueryDisputesTallyRequest struct {
DisputeId uint64 `protobuf:"varint,1,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"`
}
Request the current vote count for a dispute
func (*QueryDisputesTallyRequest) Descriptor ¶
func (*QueryDisputesTallyRequest) Descriptor() ([]byte, []int)
func (*QueryDisputesTallyRequest) GetDisputeId ¶
func (m *QueryDisputesTallyRequest) GetDisputeId() uint64
func (*QueryDisputesTallyRequest) Marshal ¶
func (m *QueryDisputesTallyRequest) Marshal() (dAtA []byte, err error)
func (*QueryDisputesTallyRequest) MarshalTo ¶
func (m *QueryDisputesTallyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDisputesTallyRequest) MarshalToSizedBuffer ¶
func (m *QueryDisputesTallyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDisputesTallyRequest) ProtoMessage ¶
func (*QueryDisputesTallyRequest) ProtoMessage()
func (*QueryDisputesTallyRequest) Reset ¶
func (m *QueryDisputesTallyRequest) Reset()
func (*QueryDisputesTallyRequest) Size ¶
func (m *QueryDisputesTallyRequest) Size() (n int)
func (*QueryDisputesTallyRequest) String ¶
func (m *QueryDisputesTallyRequest) String() string
func (*QueryDisputesTallyRequest) Unmarshal ¶
func (m *QueryDisputesTallyRequest) Unmarshal(dAtA []byte) error
func (*QueryDisputesTallyRequest) XXX_DiscardUnknown ¶
func (m *QueryDisputesTallyRequest) XXX_DiscardUnknown()
func (*QueryDisputesTallyRequest) XXX_Marshal ¶
func (m *QueryDisputesTallyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDisputesTallyRequest) XXX_Merge ¶
func (m *QueryDisputesTallyRequest) XXX_Merge(src proto.Message)
func (*QueryDisputesTallyRequest) XXX_Size ¶
func (m *QueryDisputesTallyRequest) XXX_Size() int
func (*QueryDisputesTallyRequest) XXX_Unmarshal ¶
func (m *QueryDisputesTallyRequest) XXX_Unmarshal(b []byte) error
type QueryDisputesTallyResponse ¶
type QueryDisputesTallyResponse struct { Users *GroupTally `protobuf:"bytes,1,opt,name=users,proto3" json:"users,omitempty"` Reporters *GroupTally `protobuf:"bytes,2,opt,name=reporters,proto3" json:"reporters,omitempty"` Tokenholders *GroupTally `protobuf:"bytes,3,opt,name=tokenholders,proto3" json:"tokenholders,omitempty"` Team *VoteCounts `protobuf:"bytes,4,opt,name=team,proto3" json:"team,omitempty"` }
func (*QueryDisputesTallyResponse) Descriptor ¶
func (*QueryDisputesTallyResponse) Descriptor() ([]byte, []int)
func (*QueryDisputesTallyResponse) GetReporters ¶
func (m *QueryDisputesTallyResponse) GetReporters() *GroupTally
func (*QueryDisputesTallyResponse) GetTeam ¶
func (m *QueryDisputesTallyResponse) GetTeam() *VoteCounts
func (*QueryDisputesTallyResponse) GetTokenholders ¶
func (m *QueryDisputesTallyResponse) GetTokenholders() *GroupTally
func (*QueryDisputesTallyResponse) GetUsers ¶
func (m *QueryDisputesTallyResponse) GetUsers() *GroupTally
func (*QueryDisputesTallyResponse) Marshal ¶
func (m *QueryDisputesTallyResponse) Marshal() (dAtA []byte, err error)
func (*QueryDisputesTallyResponse) MarshalTo ¶
func (m *QueryDisputesTallyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDisputesTallyResponse) MarshalToSizedBuffer ¶
func (m *QueryDisputesTallyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDisputesTallyResponse) ProtoMessage ¶
func (*QueryDisputesTallyResponse) ProtoMessage()
func (*QueryDisputesTallyResponse) Reset ¶
func (m *QueryDisputesTallyResponse) Reset()
func (*QueryDisputesTallyResponse) Size ¶
func (m *QueryDisputesTallyResponse) Size() (n int)
func (*QueryDisputesTallyResponse) String ¶
func (m *QueryDisputesTallyResponse) String() string
func (*QueryDisputesTallyResponse) Unmarshal ¶
func (m *QueryDisputesTallyResponse) Unmarshal(dAtA []byte) error
func (*QueryDisputesTallyResponse) XXX_DiscardUnknown ¶
func (m *QueryDisputesTallyResponse) XXX_DiscardUnknown()
func (*QueryDisputesTallyResponse) XXX_Marshal ¶
func (m *QueryDisputesTallyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDisputesTallyResponse) XXX_Merge ¶
func (m *QueryDisputesTallyResponse) XXX_Merge(src proto.Message)
func (*QueryDisputesTallyResponse) XXX_Size ¶
func (m *QueryDisputesTallyResponse) XXX_Size() int
func (*QueryDisputesTallyResponse) XXX_Unmarshal ¶
func (m *QueryDisputesTallyResponse) XXX_Unmarshal(b []byte) error
type QueryOpenDisputesRequest ¶
type QueryOpenDisputesRequest struct { }
func (*QueryOpenDisputesRequest) Descriptor ¶
func (*QueryOpenDisputesRequest) Descriptor() ([]byte, []int)
func (*QueryOpenDisputesRequest) Marshal ¶
func (m *QueryOpenDisputesRequest) Marshal() (dAtA []byte, err error)
func (*QueryOpenDisputesRequest) MarshalTo ¶
func (m *QueryOpenDisputesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOpenDisputesRequest) MarshalToSizedBuffer ¶
func (m *QueryOpenDisputesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOpenDisputesRequest) ProtoMessage ¶
func (*QueryOpenDisputesRequest) ProtoMessage()
func (*QueryOpenDisputesRequest) Reset ¶
func (m *QueryOpenDisputesRequest) Reset()
func (*QueryOpenDisputesRequest) Size ¶
func (m *QueryOpenDisputesRequest) Size() (n int)
func (*QueryOpenDisputesRequest) String ¶
func (m *QueryOpenDisputesRequest) String() string
func (*QueryOpenDisputesRequest) Unmarshal ¶
func (m *QueryOpenDisputesRequest) Unmarshal(dAtA []byte) error
func (*QueryOpenDisputesRequest) XXX_DiscardUnknown ¶
func (m *QueryOpenDisputesRequest) XXX_DiscardUnknown()
func (*QueryOpenDisputesRequest) XXX_Marshal ¶
func (m *QueryOpenDisputesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOpenDisputesRequest) XXX_Merge ¶
func (m *QueryOpenDisputesRequest) XXX_Merge(src proto.Message)
func (*QueryOpenDisputesRequest) XXX_Size ¶
func (m *QueryOpenDisputesRequest) XXX_Size() int
func (*QueryOpenDisputesRequest) XXX_Unmarshal ¶
func (m *QueryOpenDisputesRequest) XXX_Unmarshal(b []byte) error
type QueryOpenDisputesResponse ¶
type QueryOpenDisputesResponse struct {
OpenDisputes *OpenDisputes `protobuf:"bytes,1,opt,name=openDisputes,proto3" json:"openDisputes,omitempty"`
}
func (*QueryOpenDisputesResponse) Descriptor ¶
func (*QueryOpenDisputesResponse) Descriptor() ([]byte, []int)
func (*QueryOpenDisputesResponse) GetOpenDisputes ¶
func (m *QueryOpenDisputesResponse) GetOpenDisputes() *OpenDisputes
func (*QueryOpenDisputesResponse) Marshal ¶
func (m *QueryOpenDisputesResponse) Marshal() (dAtA []byte, err error)
func (*QueryOpenDisputesResponse) MarshalTo ¶
func (m *QueryOpenDisputesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOpenDisputesResponse) MarshalToSizedBuffer ¶
func (m *QueryOpenDisputesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOpenDisputesResponse) ProtoMessage ¶
func (*QueryOpenDisputesResponse) ProtoMessage()
func (*QueryOpenDisputesResponse) Reset ¶
func (m *QueryOpenDisputesResponse) Reset()
func (*QueryOpenDisputesResponse) Size ¶
func (m *QueryOpenDisputesResponse) Size() (n int)
func (*QueryOpenDisputesResponse) String ¶
func (m *QueryOpenDisputesResponse) String() string
func (*QueryOpenDisputesResponse) Unmarshal ¶
func (m *QueryOpenDisputesResponse) Unmarshal(dAtA []byte) error
func (*QueryOpenDisputesResponse) XXX_DiscardUnknown ¶
func (m *QueryOpenDisputesResponse) XXX_DiscardUnknown()
func (*QueryOpenDisputesResponse) XXX_Marshal ¶
func (m *QueryOpenDisputesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOpenDisputesResponse) XXX_Merge ¶
func (m *QueryOpenDisputesResponse) XXX_Merge(src proto.Message)
func (*QueryOpenDisputesResponse) XXX_Size ¶
func (m *QueryOpenDisputesResponse) XXX_Size() int
func (*QueryOpenDisputesResponse) XXX_Unmarshal ¶
func (m *QueryOpenDisputesResponse) 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 QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Reporters queries all the staked reporters. Disputes(context.Context, *QueryDisputesRequest) (*QueryDisputesResponse, error) // OpenDisputes queries all the open disputes. OpenDisputes(context.Context, *QueryOpenDisputesRequest) (*QueryOpenDisputesResponse, error) // team vote queries the team vote for a dispute. TeamVote(context.Context, *QueryTeamVoteRequest) (*QueryTeamVoteResponse, error) // team address queries the team address. TeamAddress(context.Context, *QueryTeamAddressRequest) (*QueryTeamAddressResponse, error) // Tally queries the vote count of a dispute Tally(context.Context, *QueryDisputesTallyRequest) (*QueryDisputesTallyResponse, error) }
QueryServer is the server API for Query service.
type QueryTeamAddressRequest ¶
type QueryTeamAddressRequest struct { }
QueryTeamAddressRequest is request type for the Query/TeamAddress RPC method.
func (*QueryTeamAddressRequest) Descriptor ¶
func (*QueryTeamAddressRequest) Descriptor() ([]byte, []int)
func (*QueryTeamAddressRequest) Marshal ¶
func (m *QueryTeamAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryTeamAddressRequest) MarshalTo ¶
func (m *QueryTeamAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTeamAddressRequest) MarshalToSizedBuffer ¶
func (m *QueryTeamAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTeamAddressRequest) ProtoMessage ¶
func (*QueryTeamAddressRequest) ProtoMessage()
func (*QueryTeamAddressRequest) Reset ¶
func (m *QueryTeamAddressRequest) Reset()
func (*QueryTeamAddressRequest) Size ¶
func (m *QueryTeamAddressRequest) Size() (n int)
func (*QueryTeamAddressRequest) String ¶
func (m *QueryTeamAddressRequest) String() string
func (*QueryTeamAddressRequest) Unmarshal ¶
func (m *QueryTeamAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryTeamAddressRequest) XXX_DiscardUnknown ¶
func (m *QueryTeamAddressRequest) XXX_DiscardUnknown()
func (*QueryTeamAddressRequest) XXX_Marshal ¶
func (m *QueryTeamAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTeamAddressRequest) XXX_Merge ¶
func (m *QueryTeamAddressRequest) XXX_Merge(src proto.Message)
func (*QueryTeamAddressRequest) XXX_Size ¶
func (m *QueryTeamAddressRequest) XXX_Size() int
func (*QueryTeamAddressRequest) XXX_Unmarshal ¶
func (m *QueryTeamAddressRequest) XXX_Unmarshal(b []byte) error
type QueryTeamAddressResponse ¶
type QueryTeamAddressResponse struct { // teamAddress holds the team address. TeamAddress string `protobuf:"bytes,1,opt,name=team_address,json=teamAddress,proto3" json:"team_address,omitempty"` }
QueryTeamAddressResponse is response type for the Query/TeamAddress RPC method.
func (*QueryTeamAddressResponse) Descriptor ¶
func (*QueryTeamAddressResponse) Descriptor() ([]byte, []int)
func (*QueryTeamAddressResponse) GetTeamAddress ¶
func (m *QueryTeamAddressResponse) GetTeamAddress() string
func (*QueryTeamAddressResponse) Marshal ¶
func (m *QueryTeamAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryTeamAddressResponse) MarshalTo ¶
func (m *QueryTeamAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTeamAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryTeamAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTeamAddressResponse) ProtoMessage ¶
func (*QueryTeamAddressResponse) ProtoMessage()
func (*QueryTeamAddressResponse) Reset ¶
func (m *QueryTeamAddressResponse) Reset()
func (*QueryTeamAddressResponse) Size ¶
func (m *QueryTeamAddressResponse) Size() (n int)
func (*QueryTeamAddressResponse) String ¶
func (m *QueryTeamAddressResponse) String() string
func (*QueryTeamAddressResponse) Unmarshal ¶
func (m *QueryTeamAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryTeamAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryTeamAddressResponse) XXX_DiscardUnknown()
func (*QueryTeamAddressResponse) XXX_Marshal ¶
func (m *QueryTeamAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTeamAddressResponse) XXX_Merge ¶
func (m *QueryTeamAddressResponse) XXX_Merge(src proto.Message)
func (*QueryTeamAddressResponse) XXX_Size ¶
func (m *QueryTeamAddressResponse) XXX_Size() int
func (*QueryTeamAddressResponse) XXX_Unmarshal ¶
func (m *QueryTeamAddressResponse) XXX_Unmarshal(b []byte) error
type QueryTeamVoteRequest ¶
type QueryTeamVoteRequest struct { // disputeId defines the dispute id. DisputeId uint64 `protobuf:"varint,1,opt,name=dispute_id,json=disputeId,proto3" json:"dispute_id,omitempty"` }
QueryTeamVoteRequest is request type for the Query/TeamVote RPC method.
func (*QueryTeamVoteRequest) Descriptor ¶
func (*QueryTeamVoteRequest) Descriptor() ([]byte, []int)
func (*QueryTeamVoteRequest) GetDisputeId ¶
func (m *QueryTeamVoteRequest) GetDisputeId() uint64
func (*QueryTeamVoteRequest) Marshal ¶
func (m *QueryTeamVoteRequest) Marshal() (dAtA []byte, err error)
func (*QueryTeamVoteRequest) MarshalTo ¶
func (m *QueryTeamVoteRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTeamVoteRequest) MarshalToSizedBuffer ¶
func (m *QueryTeamVoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTeamVoteRequest) ProtoMessage ¶
func (*QueryTeamVoteRequest) ProtoMessage()
func (*QueryTeamVoteRequest) Reset ¶
func (m *QueryTeamVoteRequest) Reset()
func (*QueryTeamVoteRequest) Size ¶
func (m *QueryTeamVoteRequest) Size() (n int)
func (*QueryTeamVoteRequest) String ¶
func (m *QueryTeamVoteRequest) String() string
func (*QueryTeamVoteRequest) Unmarshal ¶
func (m *QueryTeamVoteRequest) Unmarshal(dAtA []byte) error
func (*QueryTeamVoteRequest) XXX_DiscardUnknown ¶
func (m *QueryTeamVoteRequest) XXX_DiscardUnknown()
func (*QueryTeamVoteRequest) XXX_Marshal ¶
func (m *QueryTeamVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTeamVoteRequest) XXX_Merge ¶
func (m *QueryTeamVoteRequest) XXX_Merge(src proto.Message)
func (*QueryTeamVoteRequest) XXX_Size ¶
func (m *QueryTeamVoteRequest) XXX_Size() int
func (*QueryTeamVoteRequest) XXX_Unmarshal ¶
func (m *QueryTeamVoteRequest) XXX_Unmarshal(b []byte) error
type QueryTeamVoteResponse ¶
type QueryTeamVoteResponse struct { // teamVote holds the team voter info for a dispute. TeamVote Voter `protobuf:"bytes,1,opt,name=team_vote,json=teamVote,proto3" json:"team_vote"` }
QueryTeamVoteResponse is response type for the Query/TeamVote RPC method.
func (*QueryTeamVoteResponse) Descriptor ¶
func (*QueryTeamVoteResponse) Descriptor() ([]byte, []int)
func (*QueryTeamVoteResponse) GetTeamVote ¶
func (m *QueryTeamVoteResponse) GetTeamVote() Voter
func (*QueryTeamVoteResponse) Marshal ¶
func (m *QueryTeamVoteResponse) Marshal() (dAtA []byte, err error)
func (*QueryTeamVoteResponse) MarshalTo ¶
func (m *QueryTeamVoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTeamVoteResponse) MarshalToSizedBuffer ¶
func (m *QueryTeamVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTeamVoteResponse) ProtoMessage ¶
func (*QueryTeamVoteResponse) ProtoMessage()
func (*QueryTeamVoteResponse) Reset ¶
func (m *QueryTeamVoteResponse) Reset()
func (*QueryTeamVoteResponse) Size ¶
func (m *QueryTeamVoteResponse) Size() (n int)
func (*QueryTeamVoteResponse) String ¶
func (m *QueryTeamVoteResponse) String() string
func (*QueryTeamVoteResponse) Unmarshal ¶
func (m *QueryTeamVoteResponse) Unmarshal(dAtA []byte) error
func (*QueryTeamVoteResponse) XXX_DiscardUnknown ¶
func (m *QueryTeamVoteResponse) XXX_DiscardUnknown()
func (*QueryTeamVoteResponse) XXX_Marshal ¶
func (m *QueryTeamVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTeamVoteResponse) XXX_Merge ¶
func (m *QueryTeamVoteResponse) XXX_Merge(src proto.Message)
func (*QueryTeamVoteResponse) XXX_Size ¶
func (m *QueryTeamVoteResponse) XXX_Size() int
func (*QueryTeamVoteResponse) XXX_Unmarshal ¶
func (m *QueryTeamVoteResponse) XXX_Unmarshal(b []byte) error
type ReporterKeeper ¶
type ReporterKeeper interface { EscrowReporterStake(ctx context.Context, reporterAddr sdk.AccAddress, power, height uint64, amt math.Int, hashId []byte) error JailReporter(ctx context.Context, reporterAddr sdk.AccAddress, jailDuration uint64) error TotalReporterPower(ctx context.Context) (math.Int, error) FeefromReporterStake(ctx context.Context, reporterAddr sdk.AccAddress, amt math.Int, hashId []byte) error ReturnSlashedTokens(ctx context.Context, amt math.Int, hashId []byte) error AddAmountToStake(ctx context.Context, acc sdk.AccAddress, amt math.Int) error Delegation(ctx context.Context, delegator sdk.AccAddress) (reportertypes.Selection, error) GetReporterTokensAtBlock(ctx context.Context, reporter []byte, blockNumber uint64) (math.Int, error) GetDelegatorTokensAtBlock(ctx context.Context, delegator []byte, blockNumber uint64) (math.Int, error) FeeRefund(ctx context.Context, hashId []byte, amt math.Int) error }
type StakeholderVoteCounts ¶
type StakeholderVoteCounts struct { Users VoteCounts `protobuf:"bytes,1,opt,name=users,proto3"` Reporters VoteCounts `protobuf:"bytes,2,opt,name=reporters,proto3"` Tokenholders VoteCounts `protobuf:"bytes,3,opt,name=tokenholders,proto3"` Team VoteCounts `protobuf:"bytes,4,opt,name=team,proto3"` }
func (*StakeholderVoteCounts) ProtoMessage ¶
func (*StakeholderVoteCounts) ProtoMessage()
ProtoMessage is a no-op method to satisfy the proto.Message interface
func (*StakeholderVoteCounts) Reset ¶
func (*StakeholderVoteCounts) Reset()
Reset is a no-op method to satisfy the proto.Message interface
func (*StakeholderVoteCounts) String ¶
func (m *StakeholderVoteCounts) String() string
String returns a string representation, satisfying the proto.Message interface
type Tally ¶
type Tally struct { ForVotes *VoterClasses `protobuf:"bytes,1,opt,name=forVotes,proto3" json:"forVotes,omitempty"` AgainstVotes *VoterClasses `protobuf:"bytes,2,opt,name=againstVotes,proto3" json:"againstVotes,omitempty"` Invalid *VoterClasses `protobuf:"bytes,3,opt,name=Invalid,proto3" json:"Invalid,omitempty"` }
func (*Tally) Descriptor ¶
func (*Tally) GetAgainstVotes ¶
func (m *Tally) GetAgainstVotes() *VoterClasses
func (*Tally) GetForVotes ¶
func (m *Tally) GetForVotes() *VoterClasses
func (*Tally) GetInvalid ¶
func (m *Tally) GetInvalid() *VoterClasses
func (*Tally) ProtoMessage ¶
func (*Tally) ProtoMessage()
func (*Tally) XXX_DiscardUnknown ¶
func (m *Tally) XXX_DiscardUnknown()
func (*Tally) XXX_Marshal ¶
func (*Tally) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddEvidence ¶
func (*UnimplementedMsgServer) AddEvidence(ctx context.Context, req *MsgAddEvidence) (*MsgAddEvidenceResponse, error)
func (*UnimplementedMsgServer) AddFeeToDispute ¶
func (*UnimplementedMsgServer) AddFeeToDispute(ctx context.Context, req *MsgAddFeeToDispute) (*MsgAddFeeToDisputeResponse, error)
func (*UnimplementedMsgServer) ClaimReward ¶
func (*UnimplementedMsgServer) ClaimReward(ctx context.Context, req *MsgClaimReward) (*MsgClaimRewardResponse, error)
func (*UnimplementedMsgServer) ProposeDispute ¶
func (*UnimplementedMsgServer) ProposeDispute(ctx context.Context, req *MsgProposeDispute) (*MsgProposeDisputeResponse, error)
func (*UnimplementedMsgServer) UpdateTeam ¶
func (*UnimplementedMsgServer) UpdateTeam(ctx context.Context, req *MsgUpdateTeam) (*MsgUpdateTeamResponse, error)
func (*UnimplementedMsgServer) Vote ¶
func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
func (*UnimplementedMsgServer) WithdrawFeeRefund ¶
func (*UnimplementedMsgServer) WithdrawFeeRefund(ctx context.Context, req *MsgWithdrawFeeRefund) (*MsgWithdrawFeeRefundResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Disputes ¶
func (*UnimplementedQueryServer) Disputes(ctx context.Context, req *QueryDisputesRequest) (*QueryDisputesResponse, error)
func (*UnimplementedQueryServer) OpenDisputes ¶
func (*UnimplementedQueryServer) OpenDisputes(ctx context.Context, req *QueryOpenDisputesRequest) (*QueryOpenDisputesResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Tally ¶
func (*UnimplementedQueryServer) Tally(ctx context.Context, req *QueryDisputesTallyRequest) (*QueryDisputesTallyResponse, error)
func (*UnimplementedQueryServer) TeamAddress ¶
func (*UnimplementedQueryServer) TeamAddress(ctx context.Context, req *QueryTeamAddressRequest) (*QueryTeamAddressResponse, error)
func (*UnimplementedQueryServer) TeamVote ¶
func (*UnimplementedQueryServer) TeamVote(ctx context.Context, req *QueryTeamVoteRequest) (*QueryTeamVoteResponse, error)
type Vote ¶
type Vote struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` VoteStart time.Time `protobuf:"bytes,2,opt,name=voteStart,proto3,stdtime" json:"voteStart"` VoteEnd time.Time `protobuf:"bytes,3,opt,name=voteEnd,proto3,stdtime" json:"voteEnd"` VoteResult VoteResult `protobuf:"varint,4,opt,name=voteResult,proto3,enum=layer.dispute.VoteResult" json:"voteResult,omitempty"` Executed bool `protobuf:"varint,5,opt,name=executed,proto3" json:"executed,omitempty"` }
func (*Vote) Descriptor ¶
func (*Vote) GetExecuted ¶
func (*Vote) GetVoteEnd ¶
func (*Vote) GetVoteResult ¶
func (m *Vote) GetVoteResult() VoteResult
func (*Vote) GetVoteStart ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
type VoteCounts ¶
type VoteCounts struct { Support uint64 `protobuf:"varint,1,opt,name=support,proto3" json:"support,omitempty"` Against uint64 `protobuf:"varint,2,opt,name=against,proto3" json:"against,omitempty"` Invalid uint64 `protobuf:"varint,3,opt,name=invalid,proto3" json:"invalid,omitempty"` }
func (*VoteCounts) Descriptor ¶
func (*VoteCounts) Descriptor() ([]byte, []int)
func (*VoteCounts) GetAgainst ¶
func (m *VoteCounts) GetAgainst() uint64
func (*VoteCounts) GetInvalid ¶
func (m *VoteCounts) GetInvalid() uint64
func (*VoteCounts) GetSupport ¶
func (m *VoteCounts) GetSupport() uint64
func (*VoteCounts) Marshal ¶
func (m *VoteCounts) Marshal() (dAtA []byte, err error)
func (*VoteCounts) MarshalToSizedBuffer ¶
func (m *VoteCounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VoteCounts) ProtoMessage ¶
func (*VoteCounts) ProtoMessage()
func (*VoteCounts) Reset ¶
func (m *VoteCounts) Reset()
func (*VoteCounts) Size ¶
func (m *VoteCounts) Size() (n int)
func (*VoteCounts) String ¶
func (m *VoteCounts) String() string
func (*VoteCounts) Unmarshal ¶
func (m *VoteCounts) Unmarshal(dAtA []byte) error
func (*VoteCounts) XXX_DiscardUnknown ¶
func (m *VoteCounts) XXX_DiscardUnknown()
func (*VoteCounts) XXX_Marshal ¶
func (m *VoteCounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteCounts) XXX_Merge ¶
func (m *VoteCounts) XXX_Merge(src proto.Message)
func (*VoteCounts) XXX_Size ¶
func (m *VoteCounts) XXX_Size() int
func (*VoteCounts) XXX_Unmarshal ¶
func (m *VoteCounts) XXX_Unmarshal(b []byte) error
type VoteGroup ¶
type VoteGroup struct { Users []byte `protobuf:"bytes,1,opt,name=users,proto3" json:"users,omitempty"` Reporters []byte `protobuf:"bytes,2,opt,name=reporters,proto3" json:"reporters,omitempty"` TokenHolders []byte `protobuf:"bytes,3,opt,name=tokenHolders,proto3" json:"tokenHolders,omitempty"` }
func (*VoteGroup) Descriptor ¶
func (*VoteGroup) GetReporters ¶
func (*VoteGroup) GetTokenHolders ¶
func (*VoteGroup) MarshalToSizedBuffer ¶
func (*VoteGroup) ProtoMessage ¶
func (*VoteGroup) ProtoMessage()
func (*VoteGroup) XXX_DiscardUnknown ¶
func (m *VoteGroup) XXX_DiscardUnknown()
func (*VoteGroup) XXX_Marshal ¶
func (*VoteGroup) XXX_Unmarshal ¶
type VoteResult ¶
type VoteResult int32
const ( VoteResult_NO_TALLY VoteResult = 0 VoteResult_SUPPORT VoteResult = 1 VoteResult_AGAINST VoteResult = 2 VoteResult_INVALID VoteResult = 3 VoteResult_NO_QUORUM_MAJORITY_SUPPORT VoteResult = 4 VoteResult_NO_QUORUM_MAJORITY_AGAINST VoteResult = 5 VoteResult_NO_QUORUM_MAJORITY_INVALID VoteResult = 6 )
func (VoteResult) EnumDescriptor ¶
func (VoteResult) EnumDescriptor() ([]byte, []int)
func (VoteResult) String ¶
func (x VoteResult) String() string
type Voter ¶
type Voter struct { Vote VoteEnum `protobuf:"varint,1,opt,name=vote,proto3,enum=layer.dispute.VoteEnum" json:"vote,omitempty"` VoterPower cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=voter_power,json=voterPower,proto3,customtype=cosmossdk.io/math.Int" json:"voter_power"` ReporterPower cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=reporter_power,json=reporterPower,proto3,customtype=cosmossdk.io/math.Int" json:"reporter_power"` TokenholderPower cosmossdk_io_math.Int `` /* 132-byte string literal not displayed */ RewardClaimed bool `protobuf:"varint,5,opt,name=reward_claimed,json=rewardClaimed,proto3" json:"reward_claimed,omitempty"` }
func (*Voter) Descriptor ¶
func (*Voter) GetRewardClaimed ¶
func (*Voter) ProtoMessage ¶
func (*Voter) ProtoMessage()
func (*Voter) XXX_DiscardUnknown ¶
func (m *Voter) XXX_DiscardUnknown()
func (*Voter) XXX_Marshal ¶
func (*Voter) XXX_Unmarshal ¶
type VoterClasses ¶
type VoterClasses struct { Reporters cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=reporters,proto3,customtype=cosmossdk.io/math.Int" json:"reporters"` TokenHolders cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=tokenHolders,proto3,customtype=cosmossdk.io/math.Int" json:"tokenHolders"` Users cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=users,proto3,customtype=cosmossdk.io/math.Int" json:"users"` Team cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=team,proto3,customtype=cosmossdk.io/math.Int" json:"team"` }
func (*VoterClasses) Descriptor ¶
func (*VoterClasses) Descriptor() ([]byte, []int)
func (*VoterClasses) Marshal ¶
func (m *VoterClasses) Marshal() (dAtA []byte, err error)
func (*VoterClasses) MarshalToSizedBuffer ¶
func (m *VoterClasses) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VoterClasses) ProtoMessage ¶
func (*VoterClasses) ProtoMessage()
func (*VoterClasses) Reset ¶
func (m *VoterClasses) Reset()
func (*VoterClasses) Size ¶
func (m *VoterClasses) Size() (n int)
func (*VoterClasses) String ¶
func (m *VoterClasses) String() string
func (*VoterClasses) Unmarshal ¶
func (m *VoterClasses) Unmarshal(dAtA []byte) error
func (*VoterClasses) XXX_DiscardUnknown ¶
func (m *VoterClasses) XXX_DiscardUnknown()
func (*VoterClasses) XXX_Marshal ¶
func (m *VoterClasses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoterClasses) XXX_Merge ¶
func (m *VoterClasses) XXX_Merge(src proto.Message)
func (*VoterClasses) XXX_Size ¶
func (m *VoterClasses) XXX_Size() int
func (*VoterClasses) XXX_Unmarshal ¶
func (m *VoterClasses) XXX_Unmarshal(b []byte) error
Source Files ¶
- codec.go
- dispute.pb.go
- dispute_params.pb.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- legacy_dec.go
- message_add_fee_to_dispute.go
- message_propose_dispute.go
- message_vote.go
- open_disputes.pb.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- stakeholder_vote_counts.go
- tally.pb.go
- tx.pb.go
- vote.pb.go
- voter_classes.pb.go