Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- 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 BigUint
- func (*BigUint) Descriptor() ([]byte, []int)
- func (m *BigUint) Marshal() (dAtA []byte, err error)
- func (m *BigUint) MarshalTo(dAtA []byte) (int, error)
- func (m *BigUint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BigUint) ProtoMessage()
- func (m *BigUint) Reset()
- func (m *BigUint) Size() (n int)
- func (m *BigUint) String() string
- func (m *BigUint) Unmarshal(dAtA []byte) error
- func (m *BigUint) XXX_DiscardUnknown()
- func (m *BigUint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BigUint) XXX_Merge(src proto.Message)
- func (m *BigUint) XXX_Size() int
- func (m *BigUint) XXX_Unmarshal(b []byte) error
- type DelegationsAmounts
- func (*DelegationsAmounts) Descriptor() ([]byte, []int)
- func (m *DelegationsAmounts) GetTokenOrigins() []*TokenOriginInfo
- func (m *DelegationsAmounts) Marshal() (dAtA []byte, err error)
- func (m *DelegationsAmounts) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegationsAmounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegationsAmounts) ProtoMessage()
- func (m *DelegationsAmounts) Reset()
- func (m *DelegationsAmounts) Size() (n int)
- func (m *DelegationsAmounts) String() string
- func (m *DelegationsAmounts) Unmarshal(dAtA []byte) error
- func (m *DelegationsAmounts) XXX_DiscardUnknown()
- func (m *DelegationsAmounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationsAmounts) XXX_Merge(src proto.Message)
- func (m *DelegationsAmounts) XXX_Size() int
- func (m *DelegationsAmounts) 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 MsgClient
- type MsgCreateReporter
- func (*MsgCreateReporter) Descriptor() ([]byte, []int)
- func (m *MsgCreateReporter) GetReporterAddress() string
- func (m *MsgCreateReporter) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateReporter) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateReporter) ProtoMessage()
- func (m *MsgCreateReporter) Reset()
- func (m *MsgCreateReporter) Size() (n int)
- func (m *MsgCreateReporter) String() string
- func (m *MsgCreateReporter) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateReporter) ValidateBasic() error
- func (m *MsgCreateReporter) XXX_DiscardUnknown()
- func (m *MsgCreateReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateReporter) XXX_Merge(src proto.Message)
- func (m *MsgCreateReporter) XXX_Size() int
- func (m *MsgCreateReporter) XXX_Unmarshal(b []byte) error
- type MsgCreateReporterResponse
- func (*MsgCreateReporterResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateReporterResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateReporterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateReporterResponse) ProtoMessage()
- func (m *MsgCreateReporterResponse) Reset()
- func (m *MsgCreateReporterResponse) Size() (n int)
- func (m *MsgCreateReporterResponse) String() string
- func (m *MsgCreateReporterResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateReporterResponse) XXX_DiscardUnknown()
- func (m *MsgCreateReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateReporterResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateReporterResponse) XXX_Size() int
- func (m *MsgCreateReporterResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveSelector
- func (*MsgRemoveSelector) Descriptor() ([]byte, []int)
- func (m *MsgRemoveSelector) GetAnyAddress() string
- func (m *MsgRemoveSelector) GetSelectorAddress() string
- func (m *MsgRemoveSelector) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveSelector) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveSelector) ProtoMessage()
- func (m *MsgRemoveSelector) Reset()
- func (m *MsgRemoveSelector) Size() (n int)
- func (m *MsgRemoveSelector) String() string
- func (m *MsgRemoveSelector) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveSelector) ValidateBasic() error
- func (m *MsgRemoveSelector) XXX_DiscardUnknown()
- func (m *MsgRemoveSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveSelector) XXX_Merge(src proto.Message)
- func (m *MsgRemoveSelector) XXX_Size() int
- func (m *MsgRemoveSelector) XXX_Unmarshal(b []byte) error
- type MsgRemoveSelectorResponse
- func (*MsgRemoveSelectorResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveSelectorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveSelectorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveSelectorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveSelectorResponse) ProtoMessage()
- func (m *MsgRemoveSelectorResponse) Reset()
- func (m *MsgRemoveSelectorResponse) Size() (n int)
- func (m *MsgRemoveSelectorResponse) String() string
- func (m *MsgRemoveSelectorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveSelectorResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveSelectorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveSelectorResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveSelectorResponse) XXX_Size() int
- func (m *MsgRemoveSelectorResponse) XXX_Unmarshal(b []byte) error
- type MsgSelectReporter
- func (*MsgSelectReporter) Descriptor() ([]byte, []int)
- func (m *MsgSelectReporter) GetReporterAddress() string
- func (m *MsgSelectReporter) GetSelectorAddress() string
- func (m *MsgSelectReporter) Marshal() (dAtA []byte, err error)
- func (m *MsgSelectReporter) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSelectReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSelectReporter) ProtoMessage()
- func (m *MsgSelectReporter) Reset()
- func (m *MsgSelectReporter) Size() (n int)
- func (m *MsgSelectReporter) String() string
- func (m *MsgSelectReporter) Unmarshal(dAtA []byte) error
- func (msg *MsgSelectReporter) ValidateBasic() error
- func (m *MsgSelectReporter) XXX_DiscardUnknown()
- func (m *MsgSelectReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSelectReporter) XXX_Merge(src proto.Message)
- func (m *MsgSelectReporter) XXX_Size() int
- func (m *MsgSelectReporter) XXX_Unmarshal(b []byte) error
- type MsgSelectReporterResponse
- func (*MsgSelectReporterResponse) Descriptor() ([]byte, []int)
- func (m *MsgSelectReporterResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSelectReporterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSelectReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSelectReporterResponse) ProtoMessage()
- func (m *MsgSelectReporterResponse) Reset()
- func (m *MsgSelectReporterResponse) Size() (n int)
- func (m *MsgSelectReporterResponse) String() string
- func (m *MsgSelectReporterResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSelectReporterResponse) XXX_DiscardUnknown()
- func (m *MsgSelectReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSelectReporterResponse) XXX_Merge(src proto.Message)
- func (m *MsgSelectReporterResponse) XXX_Size() int
- func (m *MsgSelectReporterResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSwitchReporter
- func (*MsgSwitchReporter) Descriptor() ([]byte, []int)
- func (m *MsgSwitchReporter) GetReporterAddress() string
- func (m *MsgSwitchReporter) GetSelectorAddress() string
- func (m *MsgSwitchReporter) Marshal() (dAtA []byte, err error)
- func (m *MsgSwitchReporter) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwitchReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwitchReporter) ProtoMessage()
- func (m *MsgSwitchReporter) Reset()
- func (m *MsgSwitchReporter) Size() (n int)
- func (m *MsgSwitchReporter) String() string
- func (m *MsgSwitchReporter) Unmarshal(dAtA []byte) error
- func (msg *MsgSwitchReporter) ValidateBasic() error
- func (m *MsgSwitchReporter) XXX_DiscardUnknown()
- func (m *MsgSwitchReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwitchReporter) XXX_Merge(src proto.Message)
- func (m *MsgSwitchReporter) XXX_Size() int
- func (m *MsgSwitchReporter) XXX_Unmarshal(b []byte) error
- type MsgSwitchReporterResponse
- func (*MsgSwitchReporterResponse) Descriptor() ([]byte, []int)
- func (m *MsgSwitchReporterResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSwitchReporterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwitchReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwitchReporterResponse) ProtoMessage()
- func (m *MsgSwitchReporterResponse) Reset()
- func (m *MsgSwitchReporterResponse) Size() (n int)
- func (m *MsgSwitchReporterResponse) String() string
- func (m *MsgSwitchReporterResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSwitchReporterResponse) XXX_DiscardUnknown()
- func (m *MsgSwitchReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwitchReporterResponse) XXX_Merge(src proto.Message)
- func (m *MsgSwitchReporterResponse) XXX_Size() int
- func (m *MsgSwitchReporterResponse) XXX_Unmarshal(b []byte) error
- type MsgUnjailReporter
- func (*MsgUnjailReporter) Descriptor() ([]byte, []int)
- func (m *MsgUnjailReporter) Marshal() (dAtA []byte, err error)
- func (m *MsgUnjailReporter) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnjailReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnjailReporter) ProtoMessage()
- func (m *MsgUnjailReporter) Reset()
- func (m *MsgUnjailReporter) Size() (n int)
- func (m *MsgUnjailReporter) String() string
- func (m *MsgUnjailReporter) Unmarshal(dAtA []byte) error
- func (m *MsgUnjailReporter) XXX_DiscardUnknown()
- func (m *MsgUnjailReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnjailReporter) XXX_Merge(src proto.Message)
- func (m *MsgUnjailReporter) XXX_Size() int
- func (m *MsgUnjailReporter) XXX_Unmarshal(b []byte) error
- type MsgUnjailReporterResponse
- func (*MsgUnjailReporterResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnjailReporterResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnjailReporterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnjailReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnjailReporterResponse) ProtoMessage()
- func (m *MsgUnjailReporterResponse) Reset()
- func (m *MsgUnjailReporterResponse) Size() (n int)
- func (m *MsgUnjailReporterResponse) String() string
- func (m *MsgUnjailReporterResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnjailReporterResponse) XXX_DiscardUnknown()
- func (m *MsgUnjailReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnjailReporterResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnjailReporterResponse) XXX_Size() int
- func (m *MsgUnjailReporterResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawTip
- func (*MsgWithdrawTip) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawTip) GetSelectorAddress() string
- func (m *MsgWithdrawTip) GetValidatorAddress() string
- func (m *MsgWithdrawTip) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawTip) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawTip) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawTip) ProtoMessage()
- func (m *MsgWithdrawTip) Reset()
- func (m *MsgWithdrawTip) Size() (n int)
- func (m *MsgWithdrawTip) String() string
- func (m *MsgWithdrawTip) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawTip) ValidateBasic() error
- func (m *MsgWithdrawTip) XXX_DiscardUnknown()
- func (m *MsgWithdrawTip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawTip) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawTip) XXX_Size() int
- func (m *MsgWithdrawTip) XXX_Unmarshal(b []byte) error
- type MsgWithdrawTipResponse
- func (*MsgWithdrawTipResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawTipResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawTipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawTipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawTipResponse) ProtoMessage()
- func (m *MsgWithdrawTipResponse) Reset()
- func (m *MsgWithdrawTipResponse) Size() (n int)
- func (m *MsgWithdrawTipResponse) String() string
- func (m *MsgWithdrawTipResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawTipResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawTipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawTipResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawTipResponse) XXX_Size() int
- func (m *MsgWithdrawTipResponse) XXX_Unmarshal(b []byte) error
- type OracleReporter
- func (*OracleReporter) Descriptor() ([]byte, []int)
- func (m *OracleReporter) GetJailed() bool
- func (m *OracleReporter) GetJailedUntil() time.Time
- func (m *OracleReporter) Marshal() (dAtA []byte, err error)
- func (m *OracleReporter) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleReporter) ProtoMessage()
- func (m *OracleReporter) Reset()
- func (m *OracleReporter) Size() (n int)
- func (m *OracleReporter) String() string
- func (m *OracleReporter) Unmarshal(dAtA []byte) error
- func (m *OracleReporter) XXX_DiscardUnknown()
- func (m *OracleReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleReporter) XXX_Merge(src proto.Message)
- func (m *OracleReporter) XXX_Size() int
- func (m *OracleReporter) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetMaxSelectors() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *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 QueryAllowedAmountExpirationRequest
- func (*QueryAllowedAmountExpirationRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllowedAmountExpirationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllowedAmountExpirationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllowedAmountExpirationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllowedAmountExpirationRequest) ProtoMessage()
- func (m *QueryAllowedAmountExpirationRequest) Reset()
- func (m *QueryAllowedAmountExpirationRequest) Size() (n int)
- func (m *QueryAllowedAmountExpirationRequest) String() string
- func (m *QueryAllowedAmountExpirationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllowedAmountExpirationRequest) XXX_DiscardUnknown()
- func (m *QueryAllowedAmountExpirationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllowedAmountExpirationRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllowedAmountExpirationRequest) XXX_Size() int
- func (m *QueryAllowedAmountExpirationRequest) XXX_Unmarshal(b []byte) error
- type QueryAllowedAmountExpirationResponse
- func (*QueryAllowedAmountExpirationResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllowedAmountExpirationResponse) GetExpiration() uint64
- func (m *QueryAllowedAmountExpirationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllowedAmountExpirationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllowedAmountExpirationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllowedAmountExpirationResponse) ProtoMessage()
- func (m *QueryAllowedAmountExpirationResponse) Reset()
- func (m *QueryAllowedAmountExpirationResponse) Size() (n int)
- func (m *QueryAllowedAmountExpirationResponse) String() string
- func (m *QueryAllowedAmountExpirationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllowedAmountExpirationResponse) XXX_DiscardUnknown()
- func (m *QueryAllowedAmountExpirationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllowedAmountExpirationResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllowedAmountExpirationResponse) XXX_Size() int
- func (m *QueryAllowedAmountExpirationResponse) XXX_Unmarshal(b []byte) error
- type QueryAllowedAmountRequest
- func (*QueryAllowedAmountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllowedAmountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllowedAmountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllowedAmountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllowedAmountRequest) ProtoMessage()
- func (m *QueryAllowedAmountRequest) Reset()
- func (m *QueryAllowedAmountRequest) Size() (n int)
- func (m *QueryAllowedAmountRequest) String() string
- func (m *QueryAllowedAmountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllowedAmountRequest) XXX_DiscardUnknown()
- func (m *QueryAllowedAmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllowedAmountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllowedAmountRequest) XXX_Size() int
- func (m *QueryAllowedAmountRequest) XXX_Unmarshal(b []byte) error
- type QueryAllowedAmountResponse
- func (*QueryAllowedAmountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllowedAmountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllowedAmountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllowedAmountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllowedAmountResponse) ProtoMessage()
- func (m *QueryAllowedAmountResponse) Reset()
- func (m *QueryAllowedAmountResponse) Size() (n int)
- func (m *QueryAllowedAmountResponse) String() string
- func (m *QueryAllowedAmountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllowedAmountResponse) XXX_DiscardUnknown()
- func (m *QueryAllowedAmountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllowedAmountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllowedAmountResponse) XXX_Size() int
- func (m *QueryAllowedAmountResponse) XXX_Unmarshal(b []byte) error
- type QueryAvailableTipsRequest
- func (*QueryAvailableTipsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAvailableTipsRequest) GetSelectorAddress() string
- func (m *QueryAvailableTipsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableTipsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableTipsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableTipsRequest) ProtoMessage()
- func (m *QueryAvailableTipsRequest) Reset()
- func (m *QueryAvailableTipsRequest) Size() (n int)
- func (m *QueryAvailableTipsRequest) String() string
- func (m *QueryAvailableTipsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableTipsRequest) XXX_DiscardUnknown()
- func (m *QueryAvailableTipsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableTipsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAvailableTipsRequest) XXX_Size() int
- func (m *QueryAvailableTipsRequest) XXX_Unmarshal(b []byte) error
- type QueryAvailableTipsResponse
- func (*QueryAvailableTipsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAvailableTipsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableTipsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableTipsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableTipsResponse) ProtoMessage()
- func (m *QueryAvailableTipsResponse) Reset()
- func (m *QueryAvailableTipsResponse) Size() (n int)
- func (m *QueryAvailableTipsResponse) String() string
- func (m *QueryAvailableTipsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableTipsResponse) XXX_DiscardUnknown()
- func (m *QueryAvailableTipsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableTipsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAvailableTipsResponse) XXX_Size() int
- func (m *QueryAvailableTipsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryNumOfSelectorsByReporterRequest
- func (*QueryNumOfSelectorsByReporterRequest) Descriptor() ([]byte, []int)
- func (m *QueryNumOfSelectorsByReporterRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryNumOfSelectorsByReporterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNumOfSelectorsByReporterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNumOfSelectorsByReporterRequest) ProtoMessage()
- func (m *QueryNumOfSelectorsByReporterRequest) Reset()
- func (m *QueryNumOfSelectorsByReporterRequest) Size() (n int)
- func (m *QueryNumOfSelectorsByReporterRequest) String() string
- func (m *QueryNumOfSelectorsByReporterRequest) Unmarshal(dAtA []byte) error
- func (m *QueryNumOfSelectorsByReporterRequest) XXX_DiscardUnknown()
- func (m *QueryNumOfSelectorsByReporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNumOfSelectorsByReporterRequest) XXX_Merge(src proto.Message)
- func (m *QueryNumOfSelectorsByReporterRequest) XXX_Size() int
- func (m *QueryNumOfSelectorsByReporterRequest) XXX_Unmarshal(b []byte) error
- type QueryNumOfSelectorsByReporterResponse
- func (*QueryNumOfSelectorsByReporterResponse) Descriptor() ([]byte, []int)
- func (m *QueryNumOfSelectorsByReporterResponse) GetNumOfSelectors() int32
- func (m *QueryNumOfSelectorsByReporterResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryNumOfSelectorsByReporterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNumOfSelectorsByReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNumOfSelectorsByReporterResponse) ProtoMessage()
- func (m *QueryNumOfSelectorsByReporterResponse) Reset()
- func (m *QueryNumOfSelectorsByReporterResponse) Size() (n int)
- func (m *QueryNumOfSelectorsByReporterResponse) String() string
- func (m *QueryNumOfSelectorsByReporterResponse) Unmarshal(dAtA []byte) error
- func (m *QueryNumOfSelectorsByReporterResponse) XXX_DiscardUnknown()
- func (m *QueryNumOfSelectorsByReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNumOfSelectorsByReporterResponse) XXX_Merge(src proto.Message)
- func (m *QueryNumOfSelectorsByReporterResponse) XXX_Size() int
- func (m *QueryNumOfSelectorsByReporterResponse) 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 QueryReportersRequest
- func (*QueryReportersRequest) Descriptor() ([]byte, []int)
- func (m *QueryReportersRequest) GetPagination() *query.PageRequest
- func (m *QueryReportersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryReportersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReportersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReportersRequest) ProtoMessage()
- func (m *QueryReportersRequest) Reset()
- func (m *QueryReportersRequest) Size() (n int)
- func (m *QueryReportersRequest) String() string
- func (m *QueryReportersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryReportersRequest) XXX_DiscardUnknown()
- func (m *QueryReportersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReportersRequest) XXX_Merge(src proto.Message)
- func (m *QueryReportersRequest) XXX_Size() int
- func (m *QueryReportersRequest) XXX_Unmarshal(b []byte) error
- type QueryReportersResponse
- func (*QueryReportersResponse) Descriptor() ([]byte, []int)
- func (m *QueryReportersResponse) GetPagination() *query.PageResponse
- func (m *QueryReportersResponse) GetReporters() []*Reporter
- func (m *QueryReportersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryReportersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReportersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReportersResponse) ProtoMessage()
- func (m *QueryReportersResponse) Reset()
- func (m *QueryReportersResponse) Size() (n int)
- func (m *QueryReportersResponse) String() string
- func (m *QueryReportersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryReportersResponse) XXX_DiscardUnknown()
- func (m *QueryReportersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReportersResponse) XXX_Merge(src proto.Message)
- func (m *QueryReportersResponse) XXX_Size() int
- func (m *QueryReportersResponse) XXX_Unmarshal(b []byte) error
- type QuerySelectorReporterRequest
- func (*QuerySelectorReporterRequest) Descriptor() ([]byte, []int)
- func (m *QuerySelectorReporterRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySelectorReporterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySelectorReporterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySelectorReporterRequest) ProtoMessage()
- func (m *QuerySelectorReporterRequest) Reset()
- func (m *QuerySelectorReporterRequest) Size() (n int)
- func (m *QuerySelectorReporterRequest) String() string
- func (m *QuerySelectorReporterRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySelectorReporterRequest) XXX_DiscardUnknown()
- func (m *QuerySelectorReporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySelectorReporterRequest) XXX_Merge(src proto.Message)
- func (m *QuerySelectorReporterRequest) XXX_Size() int
- func (m *QuerySelectorReporterRequest) XXX_Unmarshal(b []byte) error
- type QuerySelectorReporterResponse
- func (*QuerySelectorReporterResponse) Descriptor() ([]byte, []int)
- func (m *QuerySelectorReporterResponse) GetReporter() string
- func (m *QuerySelectorReporterResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySelectorReporterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySelectorReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySelectorReporterResponse) ProtoMessage()
- func (m *QuerySelectorReporterResponse) Reset()
- func (m *QuerySelectorReporterResponse) Size() (n int)
- func (m *QuerySelectorReporterResponse) String() string
- func (m *QuerySelectorReporterResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySelectorReporterResponse) XXX_DiscardUnknown()
- func (m *QuerySelectorReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySelectorReporterResponse) XXX_Merge(src proto.Message)
- func (m *QuerySelectorReporterResponse) XXX_Size() int
- func (m *QuerySelectorReporterResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySpaceAvailableByReporterRequest
- func (*QuerySpaceAvailableByReporterRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpaceAvailableByReporterRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpaceAvailableByReporterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpaceAvailableByReporterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpaceAvailableByReporterRequest) ProtoMessage()
- func (m *QuerySpaceAvailableByReporterRequest) Reset()
- func (m *QuerySpaceAvailableByReporterRequest) Size() (n int)
- func (m *QuerySpaceAvailableByReporterRequest) String() string
- func (m *QuerySpaceAvailableByReporterRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpaceAvailableByReporterRequest) XXX_DiscardUnknown()
- func (m *QuerySpaceAvailableByReporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpaceAvailableByReporterRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpaceAvailableByReporterRequest) XXX_Size() int
- func (m *QuerySpaceAvailableByReporterRequest) XXX_Unmarshal(b []byte) error
- type QuerySpaceAvailableByReporterResponse
- func (*QuerySpaceAvailableByReporterResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpaceAvailableByReporterResponse) GetSpaceAvailable() int32
- func (m *QuerySpaceAvailableByReporterResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpaceAvailableByReporterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpaceAvailableByReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpaceAvailableByReporterResponse) ProtoMessage()
- func (m *QuerySpaceAvailableByReporterResponse) Reset()
- func (m *QuerySpaceAvailableByReporterResponse) Size() (n int)
- func (m *QuerySpaceAvailableByReporterResponse) String() string
- func (m *QuerySpaceAvailableByReporterResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpaceAvailableByReporterResponse) XXX_DiscardUnknown()
- func (m *QuerySpaceAvailableByReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpaceAvailableByReporterResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpaceAvailableByReporterResponse) XXX_Size() int
- func (m *QuerySpaceAvailableByReporterResponse) XXX_Unmarshal(b []byte) error
- type RegistryKeeper
- type Reporter
- func (*Reporter) Descriptor() ([]byte, []int)
- func (m *Reporter) GetAddress() string
- func (m *Reporter) GetMetadata() *OracleReporter
- func (m *Reporter) Marshal() (dAtA []byte, err error)
- func (m *Reporter) MarshalTo(dAtA []byte) (int, error)
- func (m *Reporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Reporter) ProtoMessage()
- func (m *Reporter) Reset()
- func (m *Reporter) Size() (n int)
- func (m *Reporter) String() string
- func (m *Reporter) Unmarshal(dAtA []byte) error
- func (m *Reporter) XXX_DiscardUnknown()
- func (m *Reporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reporter) XXX_Merge(src proto.Message)
- func (m *Reporter) XXX_Size() int
- func (m *Reporter) XXX_Unmarshal(b []byte) error
- type Selection
- func (*Selection) Descriptor() ([]byte, []int)
- func (m *Selection) GetDelegationsCount() uint64
- func (m *Selection) GetLockedUntilTime() time.Time
- func (m *Selection) GetReporter() []byte
- func (m *Selection) Marshal() (dAtA []byte, err error)
- func (m *Selection) MarshalTo(dAtA []byte) (int, error)
- func (m *Selection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Selection) ProtoMessage()
- func (m *Selection) Reset()
- func (m *Selection) Size() (n int)
- func (m *Selection) String() string
- func (m *Selection) Unmarshal(dAtA []byte) error
- func (m *Selection) XXX_DiscardUnknown()
- func (m *Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Selection) XXX_Merge(src proto.Message)
- func (m *Selection) XXX_Size() int
- func (m *Selection) XXX_Unmarshal(b []byte) error
- type StakeTracker
- func (*StakeTracker) Descriptor() ([]byte, []int)
- func (m *StakeTracker) GetExpiration() *time.Time
- func (m *StakeTracker) Marshal() (dAtA []byte, err error)
- func (m *StakeTracker) MarshalTo(dAtA []byte) (int, error)
- func (m *StakeTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakeTracker) ProtoMessage()
- func (m *StakeTracker) Reset()
- func (m *StakeTracker) Size() (n int)
- func (m *StakeTracker) String() string
- func (m *StakeTracker) Unmarshal(dAtA []byte) error
- func (m *StakeTracker) XXX_DiscardUnknown()
- func (m *StakeTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeTracker) XXX_Merge(src proto.Message)
- func (m *StakeTracker) XXX_Size() int
- func (m *StakeTracker) XXX_Unmarshal(b []byte) error
- type StakingHooks
- type StakingKeeper
- type TokenOriginInfo
- func (*TokenOriginInfo) Descriptor() ([]byte, []int)
- func (m *TokenOriginInfo) GetDelegatorAddress() []byte
- func (m *TokenOriginInfo) GetValidatorAddress() []byte
- func (m *TokenOriginInfo) Marshal() (dAtA []byte, err error)
- func (m *TokenOriginInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenOriginInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenOriginInfo) ProtoMessage()
- func (m *TokenOriginInfo) Reset()
- func (m *TokenOriginInfo) Size() (n int)
- func (m *TokenOriginInfo) String() string
- func (m *TokenOriginInfo) Unmarshal(dAtA []byte) error
- func (m *TokenOriginInfo) XXX_DiscardUnknown()
- func (m *TokenOriginInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenOriginInfo) XXX_Merge(src proto.Message)
- func (m *TokenOriginInfo) XXX_Size() int
- func (m *TokenOriginInfo) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateReporter(ctx context.Context, req *MsgCreateReporter) (*MsgCreateReporterResponse, error)
- func (*UnimplementedMsgServer) RemoveSelector(ctx context.Context, req *MsgRemoveSelector) (*MsgRemoveSelectorResponse, error)
- func (*UnimplementedMsgServer) SelectReporter(ctx context.Context, req *MsgSelectReporter) (*MsgSelectReporterResponse, error)
- func (*UnimplementedMsgServer) SwitchReporter(ctx context.Context, req *MsgSwitchReporter) (*MsgSwitchReporterResponse, error)
- func (*UnimplementedMsgServer) UnjailReporter(ctx context.Context, req *MsgUnjailReporter) (*MsgUnjailReporterResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) WithdrawTip(ctx context.Context, req *MsgWithdrawTip) (*MsgWithdrawTipResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllowedAmount(ctx context.Context, req *QueryAllowedAmountRequest) (*QueryAllowedAmountResponse, error)
- func (*UnimplementedQueryServer) AllowedAmountExpiration(ctx context.Context, req *QueryAllowedAmountExpirationRequest) (*QueryAllowedAmountExpirationResponse, error)
- func (*UnimplementedQueryServer) AvailableTips(ctx context.Context, req *QueryAvailableTipsRequest) (*QueryAvailableTipsResponse, error)
- func (*UnimplementedQueryServer) NumOfSelectorsByReporter(ctx context.Context, req *QueryNumOfSelectorsByReporterRequest) (*QueryNumOfSelectorsByReporterResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Reporters(ctx context.Context, req *QueryReportersRequest) (*QueryReportersResponse, error)
- func (*UnimplementedQueryServer) SelectorReporter(ctx context.Context, req *QuerySelectorReporterRequest) (*QuerySelectorReporterResponse, error)
- func (*UnimplementedQueryServer) SpaceAvailableByReporter(ctx context.Context, req *QuerySpaceAvailableByReporterRequest) (*QuerySpaceAvailableByReporterResponse, error)
Constants ¶
const ( AttributeKeyReporter = "reporter" AttributeKeyDelegator = "delegator" EventTypeCommission = "commission" EventTypeWithdrawCommission = "withdraw_commission" EventTypeRewards = "rewards" EventTypeWithdrawRewards = "withdraw_rewards" )
const ( // ModuleName defines the module name ModuleName = "reporter" // StoreKey defines the primary module store key StoreKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_reporter" Denom = "loya" TipsEscrowPool = "tips_escrow_pool" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message") ErrSample = sdkerrors.Register(ModuleName, 1101, "sample error") ErrReporterExists = sdkerrors.Register(ModuleName, 1102, "reporter already registered!") ErrAddressDelegated = sdkerrors.Register(ModuleName, 1103, "address currently delegated to a reporter") ErrCommissionLTMinRate = sdkerrors.Register(ModuleName, 1104, "commission cannot be less than min rate") ErrInvalidReporter = sdkerrors.Register(ModuleName, 1105, "invalid reporter") ErrInsufficientTokens = sdkerrors.Register(ModuleName, 1106, "insufficient tokens") ErrTokenAmountMismatch = sdkerrors.Register(ModuleName, 1107, "token amount mismatch") ErrReporterMismatch = sdkerrors.Register(ModuleName, 1108, "reporter mismatch") ErrEmptyDelegationDistInfo = sdkerrors.Register(ModuleName, 1109, "no delegation distribution info") ErrNoReporterCommission = sdkerrors.Register(ModuleName, 1110, "no reporter commission to withdraw") ErrReporterDoesNotExist = sdkerrors.Register(ModuleName, 1111, "reporter does not exist") ErrReporterJailed = sdkerrors.Register(ModuleName, 1112, "reporter jailed") ErrReporterNotJailed = sdkerrors.Register(ModuleName, 1113, "reporter not jailed") ErrNoUnbondingDelegationEntries = sdkerrors.Register(ModuleName, 1114, "no unbonding delegation entries") )
x/reporter 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 ( ParamsKey = []byte("p_reporter") ReportersKey = collections.NewPrefix(11) SelectorsKey = collections.NewPrefix(12) ReporterSelectorsIndexPrefix = collections.NewPrefix(13) SelectorTipsPrefix = collections.NewPrefix(14) DisputedDelegationAmountsPrefix = collections.NewPrefix(15) FeePaidFromStakePrefix = collections.NewPrefix(16) StakeTrackerPrefix = collections.NewPrefix(17) ReporterPrefix = collections.NewPrefix(18) )
var ( ErrInvalidLengthOracleReporter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOracleReporter = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOracleReporter = fmt.Errorf("proto: unexpected end of group") )
var ( KeyMinCommissionRate = []byte("MinCommissionRate") // TODO: Determine the default value DefaultMinCommissionRate = math.NewUint(0) DefaultMinTrb = math.NewIntWithDecimal(1, 6) DefaultMaxSelectors = uint64(100) )
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 ( ErrInvalidLengthSelection = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSelection = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSelection = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
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(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation
}
AccountKeeper defines the expected interface for the Account module.
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error }
BankKeeper defines the expected interface for the Bank module.
type BigUint ¶
type BigUint struct {
Value cosmossdk_io_math.Uint `protobuf:"bytes,1,opt,name=value,proto3,customtype=cosmossdk.io/math.Uint" json:"value"`
}
func (*BigUint) Descriptor ¶
func (*BigUint) MarshalToSizedBuffer ¶
func (*BigUint) ProtoMessage ¶
func (*BigUint) ProtoMessage()
func (*BigUint) XXX_DiscardUnknown ¶
func (m *BigUint) XXX_DiscardUnknown()
func (*BigUint) XXX_Marshal ¶
func (*BigUint) XXX_Unmarshal ¶
type DelegationsAmounts ¶
type DelegationsAmounts struct { // token_origins is the list of token origins for and where the amounts are staked TokenOrigins []*TokenOriginInfo `protobuf:"bytes,1,rep,name=token_origins,json=tokenOrigins,proto3" json:"token_origins,omitempty"` // total amount of tokens in the list Total cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=total,proto3,customtype=cosmossdk.io/math.Int" json:"total"` }
DelegationsAmounts is the struct that holds the data of delegations and amounts and the total
func (*DelegationsAmounts) Descriptor ¶
func (*DelegationsAmounts) Descriptor() ([]byte, []int)
func (*DelegationsAmounts) GetTokenOrigins ¶
func (m *DelegationsAmounts) GetTokenOrigins() []*TokenOriginInfo
func (*DelegationsAmounts) Marshal ¶
func (m *DelegationsAmounts) Marshal() (dAtA []byte, err error)
func (*DelegationsAmounts) MarshalTo ¶
func (m *DelegationsAmounts) MarshalTo(dAtA []byte) (int, error)
func (*DelegationsAmounts) MarshalToSizedBuffer ¶
func (m *DelegationsAmounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegationsAmounts) ProtoMessage ¶
func (*DelegationsAmounts) ProtoMessage()
func (*DelegationsAmounts) Reset ¶
func (m *DelegationsAmounts) Reset()
func (*DelegationsAmounts) Size ¶
func (m *DelegationsAmounts) Size() (n int)
func (*DelegationsAmounts) String ¶
func (m *DelegationsAmounts) String() string
func (*DelegationsAmounts) Unmarshal ¶
func (m *DelegationsAmounts) Unmarshal(dAtA []byte) error
func (*DelegationsAmounts) XXX_DiscardUnknown ¶
func (m *DelegationsAmounts) XXX_DiscardUnknown()
func (*DelegationsAmounts) XXX_Marshal ¶
func (m *DelegationsAmounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegationsAmounts) XXX_Merge ¶
func (m *DelegationsAmounts) XXX_Merge(src proto.Message)
func (*DelegationsAmounts) XXX_Size ¶
func (m *DelegationsAmounts) XXX_Size() int
func (*DelegationsAmounts) XXX_Unmarshal ¶
func (m *DelegationsAmounts) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
GenesisState defines the reporter module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) 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 MsgClient ¶
type MsgClient interface { // UpdateParams defines a (governance) operation for updating the module // parameters. The authority defaults to the x/gov module account. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // CreateReporter defines a (reporter) operation for creating a new reporter. CreateReporter(ctx context.Context, in *MsgCreateReporter, opts ...grpc.CallOption) (*MsgCreateReporterResponse, error) // SelectReporter defines a (selector) operation for choosing a reporter. SelectReporter(ctx context.Context, in *MsgSelectReporter, opts ...grpc.CallOption) (*MsgSelectReporterResponse, error) // SwitchReporter defines a (selector) operation for switching a reporter. SwitchReporter(ctx context.Context, in *MsgSwitchReporter, opts ...grpc.CallOption) (*MsgSwitchReporterResponse, error) // RemoveSelector defines an operation for removing a selector that no longer meets // the reporter's minimum requirements and the reporter is capped. RemoveSelector(ctx context.Context, in *MsgRemoveSelector, opts ...grpc.CallOption) (*MsgRemoveSelectorResponse, error) // UnjailReporter defines a method to unjail a jailed reporter. UnjailReporter(ctx context.Context, in *MsgUnjailReporter, opts ...grpc.CallOption) (*MsgUnjailReporterResponse, error) // WithdrawTip defines a method to withdraw tip from a reporter module. WithdrawTip(ctx context.Context, in *MsgWithdrawTip, opts ...grpc.CallOption) (*MsgWithdrawTipResponse, 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 MsgCreateReporter ¶
type MsgCreateReporter struct { // reporter_address is the address of the reporter. ReporterAddress string `protobuf:"bytes,1,opt,name=reporter_address,json=reporterAddress,proto3" json:"reporter_address,omitempty"` CommissionRate cosmossdk_io_math.Uint `` /* 127-byte string literal not displayed */ MinTokensRequired cosmossdk_io_math.Int `` /* 137-byte string literal not displayed */ }
MsgCreateReporter defines the Msg/CreateReporter request type.
func NewMsgCreateReporter ¶
func NewMsgCreateReporter(reporter string, commission math.Uint) *MsgCreateReporter
func (*MsgCreateReporter) Descriptor ¶
func (*MsgCreateReporter) Descriptor() ([]byte, []int)
func (*MsgCreateReporter) GetReporterAddress ¶
func (m *MsgCreateReporter) GetReporterAddress() string
func (*MsgCreateReporter) Marshal ¶
func (m *MsgCreateReporter) Marshal() (dAtA []byte, err error)
func (*MsgCreateReporter) MarshalTo ¶
func (m *MsgCreateReporter) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateReporter) MarshalToSizedBuffer ¶
func (m *MsgCreateReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateReporter) ProtoMessage ¶
func (*MsgCreateReporter) ProtoMessage()
func (*MsgCreateReporter) Reset ¶
func (m *MsgCreateReporter) Reset()
func (*MsgCreateReporter) Size ¶
func (m *MsgCreateReporter) Size() (n int)
func (*MsgCreateReporter) String ¶
func (m *MsgCreateReporter) String() string
func (*MsgCreateReporter) Unmarshal ¶
func (m *MsgCreateReporter) Unmarshal(dAtA []byte) error
func (*MsgCreateReporter) ValidateBasic ¶
func (msg *MsgCreateReporter) ValidateBasic() error
func (*MsgCreateReporter) XXX_DiscardUnknown ¶
func (m *MsgCreateReporter) XXX_DiscardUnknown()
func (*MsgCreateReporter) XXX_Marshal ¶
func (m *MsgCreateReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateReporter) XXX_Merge ¶
func (m *MsgCreateReporter) XXX_Merge(src proto.Message)
func (*MsgCreateReporter) XXX_Size ¶
func (m *MsgCreateReporter) XXX_Size() int
func (*MsgCreateReporter) XXX_Unmarshal ¶
func (m *MsgCreateReporter) XXX_Unmarshal(b []byte) error
type MsgCreateReporterResponse ¶
type MsgCreateReporterResponse struct { }
MsgCreateReporterResponse defines the Msg/CreateReporter response type.
func (*MsgCreateReporterResponse) Descriptor ¶
func (*MsgCreateReporterResponse) Descriptor() ([]byte, []int)
func (*MsgCreateReporterResponse) Marshal ¶
func (m *MsgCreateReporterResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateReporterResponse) MarshalTo ¶
func (m *MsgCreateReporterResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateReporterResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateReporterResponse) ProtoMessage ¶
func (*MsgCreateReporterResponse) ProtoMessage()
func (*MsgCreateReporterResponse) Reset ¶
func (m *MsgCreateReporterResponse) Reset()
func (*MsgCreateReporterResponse) Size ¶
func (m *MsgCreateReporterResponse) Size() (n int)
func (*MsgCreateReporterResponse) String ¶
func (m *MsgCreateReporterResponse) String() string
func (*MsgCreateReporterResponse) Unmarshal ¶
func (m *MsgCreateReporterResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateReporterResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateReporterResponse) XXX_DiscardUnknown()
func (*MsgCreateReporterResponse) XXX_Marshal ¶
func (m *MsgCreateReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateReporterResponse) XXX_Merge ¶
func (m *MsgCreateReporterResponse) XXX_Merge(src proto.Message)
func (*MsgCreateReporterResponse) XXX_Size ¶
func (m *MsgCreateReporterResponse) XXX_Size() int
func (*MsgCreateReporterResponse) XXX_Unmarshal ¶
func (m *MsgCreateReporterResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveSelector ¶
type MsgRemoveSelector struct { // any_address is the caller which can be any address. AnyAddress string `protobuf:"bytes,1,opt,name=any_address,json=anyAddress,proto3" json:"any_address,omitempty"` // selector_address is the address of the selector. SelectorAddress string `protobuf:"bytes,2,opt,name=selector_address,json=selectorAddress,proto3" json:"selector_address,omitempty"` }
MsgRemoveSelector defines the Msg/RemoveSelector request type.
func NewMsgRemoveSelector ¶
func NewMsgRemoveSelector(anyAddress, selector string) *MsgRemoveSelector
func (*MsgRemoveSelector) Descriptor ¶
func (*MsgRemoveSelector) Descriptor() ([]byte, []int)
func (*MsgRemoveSelector) GetAnyAddress ¶
func (m *MsgRemoveSelector) GetAnyAddress() string
func (*MsgRemoveSelector) GetSelectorAddress ¶
func (m *MsgRemoveSelector) GetSelectorAddress() string
func (*MsgRemoveSelector) Marshal ¶
func (m *MsgRemoveSelector) Marshal() (dAtA []byte, err error)
func (*MsgRemoveSelector) MarshalTo ¶
func (m *MsgRemoveSelector) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveSelector) MarshalToSizedBuffer ¶
func (m *MsgRemoveSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveSelector) ProtoMessage ¶
func (*MsgRemoveSelector) ProtoMessage()
func (*MsgRemoveSelector) Reset ¶
func (m *MsgRemoveSelector) Reset()
func (*MsgRemoveSelector) Size ¶
func (m *MsgRemoveSelector) Size() (n int)
func (*MsgRemoveSelector) String ¶
func (m *MsgRemoveSelector) String() string
func (*MsgRemoveSelector) Unmarshal ¶
func (m *MsgRemoveSelector) Unmarshal(dAtA []byte) error
func (*MsgRemoveSelector) ValidateBasic ¶
func (msg *MsgRemoveSelector) ValidateBasic() error
func (*MsgRemoveSelector) XXX_DiscardUnknown ¶
func (m *MsgRemoveSelector) XXX_DiscardUnknown()
func (*MsgRemoveSelector) XXX_Marshal ¶
func (m *MsgRemoveSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveSelector) XXX_Merge ¶
func (m *MsgRemoveSelector) XXX_Merge(src proto.Message)
func (*MsgRemoveSelector) XXX_Size ¶
func (m *MsgRemoveSelector) XXX_Size() int
func (*MsgRemoveSelector) XXX_Unmarshal ¶
func (m *MsgRemoveSelector) XXX_Unmarshal(b []byte) error
type MsgRemoveSelectorResponse ¶
type MsgRemoveSelectorResponse struct { }
MsgRemoveSelectorResponse defines the Msg/RemoveSelector response type.
func (*MsgRemoveSelectorResponse) Descriptor ¶
func (*MsgRemoveSelectorResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveSelectorResponse) Marshal ¶
func (m *MsgRemoveSelectorResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveSelectorResponse) MarshalTo ¶
func (m *MsgRemoveSelectorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveSelectorResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveSelectorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveSelectorResponse) ProtoMessage ¶
func (*MsgRemoveSelectorResponse) ProtoMessage()
func (*MsgRemoveSelectorResponse) Reset ¶
func (m *MsgRemoveSelectorResponse) Reset()
func (*MsgRemoveSelectorResponse) Size ¶
func (m *MsgRemoveSelectorResponse) Size() (n int)
func (*MsgRemoveSelectorResponse) String ¶
func (m *MsgRemoveSelectorResponse) String() string
func (*MsgRemoveSelectorResponse) Unmarshal ¶
func (m *MsgRemoveSelectorResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveSelectorResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveSelectorResponse) XXX_DiscardUnknown()
func (*MsgRemoveSelectorResponse) XXX_Marshal ¶
func (m *MsgRemoveSelectorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveSelectorResponse) XXX_Merge ¶
func (m *MsgRemoveSelectorResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveSelectorResponse) XXX_Size ¶
func (m *MsgRemoveSelectorResponse) XXX_Size() int
func (*MsgRemoveSelectorResponse) XXX_Unmarshal ¶
func (m *MsgRemoveSelectorResponse) XXX_Unmarshal(b []byte) error
type MsgSelectReporter ¶
type MsgSelectReporter struct { // selector_address is the address of the selector. SelectorAddress string `protobuf:"bytes,1,opt,name=selector_address,json=selectorAddress,proto3" json:"selector_address,omitempty"` // reporter_address is the address of the reporter to select. ReporterAddress string `protobuf:"bytes,2,opt,name=reporter_address,json=reporterAddress,proto3" json:"reporter_address,omitempty"` }
MsgSelectReporter defines the Msg/SelectReporter request type.
func NewMsgSelectReporter ¶
func NewMsgSelectReporter(selector, reporter string) *MsgSelectReporter
func (*MsgSelectReporter) Descriptor ¶
func (*MsgSelectReporter) Descriptor() ([]byte, []int)
func (*MsgSelectReporter) GetReporterAddress ¶
func (m *MsgSelectReporter) GetReporterAddress() string
func (*MsgSelectReporter) GetSelectorAddress ¶
func (m *MsgSelectReporter) GetSelectorAddress() string
func (*MsgSelectReporter) Marshal ¶
func (m *MsgSelectReporter) Marshal() (dAtA []byte, err error)
func (*MsgSelectReporter) MarshalTo ¶
func (m *MsgSelectReporter) MarshalTo(dAtA []byte) (int, error)
func (*MsgSelectReporter) MarshalToSizedBuffer ¶
func (m *MsgSelectReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSelectReporter) ProtoMessage ¶
func (*MsgSelectReporter) ProtoMessage()
func (*MsgSelectReporter) Reset ¶
func (m *MsgSelectReporter) Reset()
func (*MsgSelectReporter) Size ¶
func (m *MsgSelectReporter) Size() (n int)
func (*MsgSelectReporter) String ¶
func (m *MsgSelectReporter) String() string
func (*MsgSelectReporter) Unmarshal ¶
func (m *MsgSelectReporter) Unmarshal(dAtA []byte) error
func (*MsgSelectReporter) ValidateBasic ¶
func (msg *MsgSelectReporter) ValidateBasic() error
func (*MsgSelectReporter) XXX_DiscardUnknown ¶
func (m *MsgSelectReporter) XXX_DiscardUnknown()
func (*MsgSelectReporter) XXX_Marshal ¶
func (m *MsgSelectReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSelectReporter) XXX_Merge ¶
func (m *MsgSelectReporter) XXX_Merge(src proto.Message)
func (*MsgSelectReporter) XXX_Size ¶
func (m *MsgSelectReporter) XXX_Size() int
func (*MsgSelectReporter) XXX_Unmarshal ¶
func (m *MsgSelectReporter) XXX_Unmarshal(b []byte) error
type MsgSelectReporterResponse ¶
type MsgSelectReporterResponse struct { }
func (*MsgSelectReporterResponse) Descriptor ¶
func (*MsgSelectReporterResponse) Descriptor() ([]byte, []int)
func (*MsgSelectReporterResponse) Marshal ¶
func (m *MsgSelectReporterResponse) Marshal() (dAtA []byte, err error)
func (*MsgSelectReporterResponse) MarshalTo ¶
func (m *MsgSelectReporterResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSelectReporterResponse) MarshalToSizedBuffer ¶
func (m *MsgSelectReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSelectReporterResponse) ProtoMessage ¶
func (*MsgSelectReporterResponse) ProtoMessage()
func (*MsgSelectReporterResponse) Reset ¶
func (m *MsgSelectReporterResponse) Reset()
func (*MsgSelectReporterResponse) Size ¶
func (m *MsgSelectReporterResponse) Size() (n int)
func (*MsgSelectReporterResponse) String ¶
func (m *MsgSelectReporterResponse) String() string
func (*MsgSelectReporterResponse) Unmarshal ¶
func (m *MsgSelectReporterResponse) Unmarshal(dAtA []byte) error
func (*MsgSelectReporterResponse) XXX_DiscardUnknown ¶
func (m *MsgSelectReporterResponse) XXX_DiscardUnknown()
func (*MsgSelectReporterResponse) XXX_Marshal ¶
func (m *MsgSelectReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSelectReporterResponse) XXX_Merge ¶
func (m *MsgSelectReporterResponse) XXX_Merge(src proto.Message)
func (*MsgSelectReporterResponse) XXX_Size ¶
func (m *MsgSelectReporterResponse) XXX_Size() int
func (*MsgSelectReporterResponse) XXX_Unmarshal ¶
func (m *MsgSelectReporterResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // UpdateParams defines a (governance) operation for updating the module // parameters. The authority defaults to the x/gov module account. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // CreateReporter defines a (reporter) operation for creating a new reporter. CreateReporter(context.Context, *MsgCreateReporter) (*MsgCreateReporterResponse, error) // SelectReporter defines a (selector) operation for choosing a reporter. SelectReporter(context.Context, *MsgSelectReporter) (*MsgSelectReporterResponse, error) // SwitchReporter defines a (selector) operation for switching a reporter. SwitchReporter(context.Context, *MsgSwitchReporter) (*MsgSwitchReporterResponse, error) // RemoveSelector defines an operation for removing a selector that no longer meets // the reporter's minimum requirements and the reporter is capped. RemoveSelector(context.Context, *MsgRemoveSelector) (*MsgRemoveSelectorResponse, error) // UnjailReporter defines a method to unjail a jailed reporter. UnjailReporter(context.Context, *MsgUnjailReporter) (*MsgUnjailReporterResponse, error) // WithdrawTip defines a method to withdraw tip from a reporter module. WithdrawTip(context.Context, *MsgWithdrawTip) (*MsgWithdrawTipResponse, error) }
MsgServer is the server API for Msg service.
type MsgSwitchReporter ¶
type MsgSwitchReporter struct { // selector_address is the address of the selector. SelectorAddress string `protobuf:"bytes,1,opt,name=selector_address,json=selectorAddress,proto3" json:"selector_address,omitempty"` // reporter_address is the address of the reporter to switch. ReporterAddress string `protobuf:"bytes,2,opt,name=reporter_address,json=reporterAddress,proto3" json:"reporter_address,omitempty"` }
MsgSwitchReporter defines the Msg/SwitchReporter request type.
func NewMsgSwitchReporter ¶
func NewMsgSwitchReporter(selector, reporter string) *MsgSwitchReporter
func (*MsgSwitchReporter) Descriptor ¶
func (*MsgSwitchReporter) Descriptor() ([]byte, []int)
func (*MsgSwitchReporter) GetReporterAddress ¶
func (m *MsgSwitchReporter) GetReporterAddress() string
func (*MsgSwitchReporter) GetSelectorAddress ¶
func (m *MsgSwitchReporter) GetSelectorAddress() string
func (*MsgSwitchReporter) Marshal ¶
func (m *MsgSwitchReporter) Marshal() (dAtA []byte, err error)
func (*MsgSwitchReporter) MarshalTo ¶
func (m *MsgSwitchReporter) MarshalTo(dAtA []byte) (int, error)
func (*MsgSwitchReporter) MarshalToSizedBuffer ¶
func (m *MsgSwitchReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSwitchReporter) ProtoMessage ¶
func (*MsgSwitchReporter) ProtoMessage()
func (*MsgSwitchReporter) Reset ¶
func (m *MsgSwitchReporter) Reset()
func (*MsgSwitchReporter) Size ¶
func (m *MsgSwitchReporter) Size() (n int)
func (*MsgSwitchReporter) String ¶
func (m *MsgSwitchReporter) String() string
func (*MsgSwitchReporter) Unmarshal ¶
func (m *MsgSwitchReporter) Unmarshal(dAtA []byte) error
func (*MsgSwitchReporter) ValidateBasic ¶
func (msg *MsgSwitchReporter) ValidateBasic() error
func (*MsgSwitchReporter) XXX_DiscardUnknown ¶
func (m *MsgSwitchReporter) XXX_DiscardUnknown()
func (*MsgSwitchReporter) XXX_Marshal ¶
func (m *MsgSwitchReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSwitchReporter) XXX_Merge ¶
func (m *MsgSwitchReporter) XXX_Merge(src proto.Message)
func (*MsgSwitchReporter) XXX_Size ¶
func (m *MsgSwitchReporter) XXX_Size() int
func (*MsgSwitchReporter) XXX_Unmarshal ¶
func (m *MsgSwitchReporter) XXX_Unmarshal(b []byte) error
type MsgSwitchReporterResponse ¶
type MsgSwitchReporterResponse struct { }
MsgSwitchReporterResponse defines the Msg/SwitchReporter response type.
func (*MsgSwitchReporterResponse) Descriptor ¶
func (*MsgSwitchReporterResponse) Descriptor() ([]byte, []int)
func (*MsgSwitchReporterResponse) Marshal ¶
func (m *MsgSwitchReporterResponse) Marshal() (dAtA []byte, err error)
func (*MsgSwitchReporterResponse) MarshalTo ¶
func (m *MsgSwitchReporterResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSwitchReporterResponse) MarshalToSizedBuffer ¶
func (m *MsgSwitchReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSwitchReporterResponse) ProtoMessage ¶
func (*MsgSwitchReporterResponse) ProtoMessage()
func (*MsgSwitchReporterResponse) Reset ¶
func (m *MsgSwitchReporterResponse) Reset()
func (*MsgSwitchReporterResponse) Size ¶
func (m *MsgSwitchReporterResponse) Size() (n int)
func (*MsgSwitchReporterResponse) String ¶
func (m *MsgSwitchReporterResponse) String() string
func (*MsgSwitchReporterResponse) Unmarshal ¶
func (m *MsgSwitchReporterResponse) Unmarshal(dAtA []byte) error
func (*MsgSwitchReporterResponse) XXX_DiscardUnknown ¶
func (m *MsgSwitchReporterResponse) XXX_DiscardUnknown()
func (*MsgSwitchReporterResponse) XXX_Marshal ¶
func (m *MsgSwitchReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSwitchReporterResponse) XXX_Merge ¶
func (m *MsgSwitchReporterResponse) XXX_Merge(src proto.Message)
func (*MsgSwitchReporterResponse) XXX_Size ¶
func (m *MsgSwitchReporterResponse) XXX_Size() int
func (*MsgSwitchReporterResponse) XXX_Unmarshal ¶
func (m *MsgSwitchReporterResponse) XXX_Unmarshal(b []byte) error
type MsgUnjailReporter ¶
type MsgUnjailReporter struct {
ReporterAddress string `protobuf:"bytes,1,opt,name=reporter_address,json=reporterAddress,proto3" json:"reporter_address,omitempty"`
}
MsgUnjailReporter defines the Msg/UnjailReporter request type.
func (*MsgUnjailReporter) Descriptor ¶
func (*MsgUnjailReporter) Descriptor() ([]byte, []int)
func (*MsgUnjailReporter) Marshal ¶
func (m *MsgUnjailReporter) Marshal() (dAtA []byte, err error)
func (*MsgUnjailReporter) MarshalTo ¶
func (m *MsgUnjailReporter) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnjailReporter) MarshalToSizedBuffer ¶
func (m *MsgUnjailReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnjailReporter) ProtoMessage ¶
func (*MsgUnjailReporter) ProtoMessage()
func (*MsgUnjailReporter) Reset ¶
func (m *MsgUnjailReporter) Reset()
func (*MsgUnjailReporter) Size ¶
func (m *MsgUnjailReporter) Size() (n int)
func (*MsgUnjailReporter) String ¶
func (m *MsgUnjailReporter) String() string
func (*MsgUnjailReporter) Unmarshal ¶
func (m *MsgUnjailReporter) Unmarshal(dAtA []byte) error
func (*MsgUnjailReporter) XXX_DiscardUnknown ¶
func (m *MsgUnjailReporter) XXX_DiscardUnknown()
func (*MsgUnjailReporter) XXX_Marshal ¶
func (m *MsgUnjailReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnjailReporter) XXX_Merge ¶
func (m *MsgUnjailReporter) XXX_Merge(src proto.Message)
func (*MsgUnjailReporter) XXX_Size ¶
func (m *MsgUnjailReporter) XXX_Size() int
func (*MsgUnjailReporter) XXX_Unmarshal ¶
func (m *MsgUnjailReporter) XXX_Unmarshal(b []byte) error
type MsgUnjailReporterResponse ¶
type MsgUnjailReporterResponse struct { }
MsgUnjailReporterResponse defines the Msg/UnjailReporter response type.
func (*MsgUnjailReporterResponse) Descriptor ¶
func (*MsgUnjailReporterResponse) Descriptor() ([]byte, []int)
func (*MsgUnjailReporterResponse) Marshal ¶
func (m *MsgUnjailReporterResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnjailReporterResponse) MarshalTo ¶
func (m *MsgUnjailReporterResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnjailReporterResponse) MarshalToSizedBuffer ¶
func (m *MsgUnjailReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnjailReporterResponse) ProtoMessage ¶
func (*MsgUnjailReporterResponse) ProtoMessage()
func (*MsgUnjailReporterResponse) Reset ¶
func (m *MsgUnjailReporterResponse) Reset()
func (*MsgUnjailReporterResponse) Size ¶
func (m *MsgUnjailReporterResponse) Size() (n int)
func (*MsgUnjailReporterResponse) String ¶
func (m *MsgUnjailReporterResponse) String() string
func (*MsgUnjailReporterResponse) Unmarshal ¶
func (m *MsgUnjailReporterResponse) Unmarshal(dAtA []byte) error
func (*MsgUnjailReporterResponse) XXX_DiscardUnknown ¶
func (m *MsgUnjailReporterResponse) XXX_DiscardUnknown()
func (*MsgUnjailReporterResponse) XXX_Marshal ¶
func (m *MsgUnjailReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnjailReporterResponse) XXX_Merge ¶
func (m *MsgUnjailReporterResponse) XXX_Merge(src proto.Message)
func (*MsgUnjailReporterResponse) XXX_Size ¶
func (m *MsgUnjailReporterResponse) XXX_Size() int
func (*MsgUnjailReporterResponse) XXX_Unmarshal ¶
func (m *MsgUnjailReporterResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawTip ¶
type MsgWithdrawTip struct { SelectorAddress string `protobuf:"bytes,1,opt,name=selector_address,json=selectorAddress,proto3" json:"selector_address,omitempty"` ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` }
MsgWithdrawTip defines the Msg/WithdrawTip request type.
func NewMsgWithdrawTip ¶
func NewMsgWithdrawTip(validatorAddress, selectorAddress string) *MsgWithdrawTip
func (*MsgWithdrawTip) Descriptor ¶
func (*MsgWithdrawTip) Descriptor() ([]byte, []int)
func (*MsgWithdrawTip) GetSelectorAddress ¶
func (m *MsgWithdrawTip) GetSelectorAddress() string
func (*MsgWithdrawTip) GetValidatorAddress ¶
func (m *MsgWithdrawTip) GetValidatorAddress() string
func (*MsgWithdrawTip) Marshal ¶
func (m *MsgWithdrawTip) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawTip) MarshalToSizedBuffer ¶
func (m *MsgWithdrawTip) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawTip) ProtoMessage ¶
func (*MsgWithdrawTip) ProtoMessage()
func (*MsgWithdrawTip) Reset ¶
func (m *MsgWithdrawTip) Reset()
func (*MsgWithdrawTip) Size ¶
func (m *MsgWithdrawTip) Size() (n int)
func (*MsgWithdrawTip) String ¶
func (m *MsgWithdrawTip) String() string
func (*MsgWithdrawTip) Unmarshal ¶
func (m *MsgWithdrawTip) Unmarshal(dAtA []byte) error
func (*MsgWithdrawTip) ValidateBasic ¶
func (msg *MsgWithdrawTip) ValidateBasic() error
func (*MsgWithdrawTip) XXX_DiscardUnknown ¶
func (m *MsgWithdrawTip) XXX_DiscardUnknown()
func (*MsgWithdrawTip) XXX_Marshal ¶
func (m *MsgWithdrawTip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawTip) XXX_Merge ¶
func (m *MsgWithdrawTip) XXX_Merge(src proto.Message)
func (*MsgWithdrawTip) XXX_Size ¶
func (m *MsgWithdrawTip) XXX_Size() int
func (*MsgWithdrawTip) XXX_Unmarshal ¶
func (m *MsgWithdrawTip) XXX_Unmarshal(b []byte) error
type MsgWithdrawTipResponse ¶
type MsgWithdrawTipResponse struct { }
MsgWithdrawTipResponse defines the Msg/WithdrawTip response type.
func (*MsgWithdrawTipResponse) Descriptor ¶
func (*MsgWithdrawTipResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawTipResponse) Marshal ¶
func (m *MsgWithdrawTipResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawTipResponse) MarshalTo ¶
func (m *MsgWithdrawTipResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawTipResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawTipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawTipResponse) ProtoMessage ¶
func (*MsgWithdrawTipResponse) ProtoMessage()
func (*MsgWithdrawTipResponse) Reset ¶
func (m *MsgWithdrawTipResponse) Reset()
func (*MsgWithdrawTipResponse) Size ¶
func (m *MsgWithdrawTipResponse) Size() (n int)
func (*MsgWithdrawTipResponse) String ¶
func (m *MsgWithdrawTipResponse) String() string
func (*MsgWithdrawTipResponse) Unmarshal ¶
func (m *MsgWithdrawTipResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawTipResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawTipResponse) XXX_DiscardUnknown()
func (*MsgWithdrawTipResponse) XXX_Marshal ¶
func (m *MsgWithdrawTipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawTipResponse) XXX_Merge ¶
func (m *MsgWithdrawTipResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawTipResponse) XXX_Size ¶
func (m *MsgWithdrawTipResponse) XXX_Size() int
func (*MsgWithdrawTipResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawTipResponse) XXX_Unmarshal(b []byte) error
type OracleReporter ¶
type OracleReporter struct { // min_tokens_required to select this reporter MinTokensRequired cosmossdk_io_math.Int `` /* 137-byte string literal not displayed */ // commission for the reporter CommissionRate cosmossdk_io_math.Uint `` /* 127-byte string literal not displayed */ // jailed is a bool whether the reporter is jailed or not Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"` // jailed_until is the time the reporter is jailed until JailedUntil time.Time `protobuf:"bytes,4,opt,name=jailed_until,json=jailedUntil,proto3,stdtime" json:"jailed_until"` }
OracleReporter is the struct that holds the data for a reporter
func NewReporter ¶
func NewReporter(commission math.Uint, minTokensRequired math.Int) OracleReporter
func (*OracleReporter) Descriptor ¶
func (*OracleReporter) Descriptor() ([]byte, []int)
func (*OracleReporter) GetJailed ¶
func (m *OracleReporter) GetJailed() bool
func (*OracleReporter) GetJailedUntil ¶
func (m *OracleReporter) GetJailedUntil() time.Time
func (*OracleReporter) Marshal ¶
func (m *OracleReporter) Marshal() (dAtA []byte, err error)
func (*OracleReporter) MarshalToSizedBuffer ¶
func (m *OracleReporter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleReporter) ProtoMessage ¶
func (*OracleReporter) ProtoMessage()
func (*OracleReporter) Reset ¶
func (m *OracleReporter) Reset()
func (*OracleReporter) Size ¶
func (m *OracleReporter) Size() (n int)
func (*OracleReporter) String ¶
func (m *OracleReporter) String() string
func (*OracleReporter) Unmarshal ¶
func (m *OracleReporter) Unmarshal(dAtA []byte) error
func (*OracleReporter) XXX_DiscardUnknown ¶
func (m *OracleReporter) XXX_DiscardUnknown()
func (*OracleReporter) XXX_Marshal ¶
func (m *OracleReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleReporter) XXX_Merge ¶
func (m *OracleReporter) XXX_Merge(src proto.Message)
func (*OracleReporter) XXX_Size ¶
func (m *OracleReporter) XXX_Size() int
func (*OracleReporter) XXX_Unmarshal ¶
func (m *OracleReporter) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // min_commission_rate, adopted from staking module, is the minimum commission rate a reporter can their delegators MinCommissionRate cosmossdk_io_math.Uint `` /* 165-byte string literal not displayed */ // min_trb to be a reporter MinTrb cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=min_trb,json=minTrb,proto3,customtype=cosmossdk.io/math.Int" json:"min_trb" yaml:"min_trb"` // max number of selectors for a reporter MaxSelectors uint64 `protobuf:"varint,3,opt,name=max_selectors,json=maxSelectors,proto3" json:"max_selectors,omitempty"` }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetMaxSelectors ¶
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 QueryAllowedAmountExpirationRequest ¶
type QueryAllowedAmountExpirationRequest struct { }
func (*QueryAllowedAmountExpirationRequest) Descriptor ¶
func (*QueryAllowedAmountExpirationRequest) Descriptor() ([]byte, []int)
func (*QueryAllowedAmountExpirationRequest) Marshal ¶
func (m *QueryAllowedAmountExpirationRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllowedAmountExpirationRequest) MarshalTo ¶
func (m *QueryAllowedAmountExpirationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllowedAmountExpirationRequest) MarshalToSizedBuffer ¶
func (m *QueryAllowedAmountExpirationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllowedAmountExpirationRequest) ProtoMessage ¶
func (*QueryAllowedAmountExpirationRequest) ProtoMessage()
func (*QueryAllowedAmountExpirationRequest) Reset ¶
func (m *QueryAllowedAmountExpirationRequest) Reset()
func (*QueryAllowedAmountExpirationRequest) Size ¶
func (m *QueryAllowedAmountExpirationRequest) Size() (n int)
func (*QueryAllowedAmountExpirationRequest) String ¶
func (m *QueryAllowedAmountExpirationRequest) String() string
func (*QueryAllowedAmountExpirationRequest) Unmarshal ¶
func (m *QueryAllowedAmountExpirationRequest) Unmarshal(dAtA []byte) error
func (*QueryAllowedAmountExpirationRequest) XXX_DiscardUnknown ¶
func (m *QueryAllowedAmountExpirationRequest) XXX_DiscardUnknown()
func (*QueryAllowedAmountExpirationRequest) XXX_Marshal ¶
func (m *QueryAllowedAmountExpirationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllowedAmountExpirationRequest) XXX_Merge ¶
func (m *QueryAllowedAmountExpirationRequest) XXX_Merge(src proto.Message)
func (*QueryAllowedAmountExpirationRequest) XXX_Size ¶
func (m *QueryAllowedAmountExpirationRequest) XXX_Size() int
func (*QueryAllowedAmountExpirationRequest) XXX_Unmarshal ¶
func (m *QueryAllowedAmountExpirationRequest) XXX_Unmarshal(b []byte) error
type QueryAllowedAmountExpirationResponse ¶
type QueryAllowedAmountExpirationResponse struct {
Expiration uint64 `protobuf:"varint,1,opt,name=expiration,proto3" json:"expiration,omitempty"`
}
func (*QueryAllowedAmountExpirationResponse) Descriptor ¶
func (*QueryAllowedAmountExpirationResponse) Descriptor() ([]byte, []int)
func (*QueryAllowedAmountExpirationResponse) GetExpiration ¶
func (m *QueryAllowedAmountExpirationResponse) GetExpiration() uint64
func (*QueryAllowedAmountExpirationResponse) Marshal ¶
func (m *QueryAllowedAmountExpirationResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllowedAmountExpirationResponse) MarshalTo ¶
func (m *QueryAllowedAmountExpirationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllowedAmountExpirationResponse) MarshalToSizedBuffer ¶
func (m *QueryAllowedAmountExpirationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllowedAmountExpirationResponse) ProtoMessage ¶
func (*QueryAllowedAmountExpirationResponse) ProtoMessage()
func (*QueryAllowedAmountExpirationResponse) Reset ¶
func (m *QueryAllowedAmountExpirationResponse) Reset()
func (*QueryAllowedAmountExpirationResponse) Size ¶
func (m *QueryAllowedAmountExpirationResponse) Size() (n int)
func (*QueryAllowedAmountExpirationResponse) String ¶
func (m *QueryAllowedAmountExpirationResponse) String() string
func (*QueryAllowedAmountExpirationResponse) Unmarshal ¶
func (m *QueryAllowedAmountExpirationResponse) Unmarshal(dAtA []byte) error
func (*QueryAllowedAmountExpirationResponse) XXX_DiscardUnknown ¶
func (m *QueryAllowedAmountExpirationResponse) XXX_DiscardUnknown()
func (*QueryAllowedAmountExpirationResponse) XXX_Marshal ¶
func (m *QueryAllowedAmountExpirationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllowedAmountExpirationResponse) XXX_Merge ¶
func (m *QueryAllowedAmountExpirationResponse) XXX_Merge(src proto.Message)
func (*QueryAllowedAmountExpirationResponse) XXX_Size ¶
func (m *QueryAllowedAmountExpirationResponse) XXX_Size() int
func (*QueryAllowedAmountExpirationResponse) XXX_Unmarshal ¶
func (m *QueryAllowedAmountExpirationResponse) XXX_Unmarshal(b []byte) error
type QueryAllowedAmountRequest ¶
type QueryAllowedAmountRequest struct { }
func (*QueryAllowedAmountRequest) Descriptor ¶
func (*QueryAllowedAmountRequest) Descriptor() ([]byte, []int)
func (*QueryAllowedAmountRequest) Marshal ¶
func (m *QueryAllowedAmountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllowedAmountRequest) MarshalTo ¶
func (m *QueryAllowedAmountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllowedAmountRequest) MarshalToSizedBuffer ¶
func (m *QueryAllowedAmountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllowedAmountRequest) ProtoMessage ¶
func (*QueryAllowedAmountRequest) ProtoMessage()
func (*QueryAllowedAmountRequest) Reset ¶
func (m *QueryAllowedAmountRequest) Reset()
func (*QueryAllowedAmountRequest) Size ¶
func (m *QueryAllowedAmountRequest) Size() (n int)
func (*QueryAllowedAmountRequest) String ¶
func (m *QueryAllowedAmountRequest) String() string
func (*QueryAllowedAmountRequest) Unmarshal ¶
func (m *QueryAllowedAmountRequest) Unmarshal(dAtA []byte) error
func (*QueryAllowedAmountRequest) XXX_DiscardUnknown ¶
func (m *QueryAllowedAmountRequest) XXX_DiscardUnknown()
func (*QueryAllowedAmountRequest) XXX_Marshal ¶
func (m *QueryAllowedAmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllowedAmountRequest) XXX_Merge ¶
func (m *QueryAllowedAmountRequest) XXX_Merge(src proto.Message)
func (*QueryAllowedAmountRequest) XXX_Size ¶
func (m *QueryAllowedAmountRequest) XXX_Size() int
func (*QueryAllowedAmountRequest) XXX_Unmarshal ¶
func (m *QueryAllowedAmountRequest) XXX_Unmarshal(b []byte) error
type QueryAllowedAmountResponse ¶
type QueryAllowedAmountResponse struct { // allowed_amount defines the currently allowed amount to stake or unstake. StakingAmount cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=staking_amount,json=stakingAmount,proto3,customtype=cosmossdk.io/math.Int" json:"staking_amount"` UnstakingAmount cosmossdk_io_math.Int `` /* 129-byte string literal not displayed */ }
func (*QueryAllowedAmountResponse) Descriptor ¶
func (*QueryAllowedAmountResponse) Descriptor() ([]byte, []int)
func (*QueryAllowedAmountResponse) Marshal ¶
func (m *QueryAllowedAmountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllowedAmountResponse) MarshalTo ¶
func (m *QueryAllowedAmountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllowedAmountResponse) MarshalToSizedBuffer ¶
func (m *QueryAllowedAmountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllowedAmountResponse) ProtoMessage ¶
func (*QueryAllowedAmountResponse) ProtoMessage()
func (*QueryAllowedAmountResponse) Reset ¶
func (m *QueryAllowedAmountResponse) Reset()
func (*QueryAllowedAmountResponse) Size ¶
func (m *QueryAllowedAmountResponse) Size() (n int)
func (*QueryAllowedAmountResponse) String ¶
func (m *QueryAllowedAmountResponse) String() string
func (*QueryAllowedAmountResponse) Unmarshal ¶
func (m *QueryAllowedAmountResponse) Unmarshal(dAtA []byte) error
func (*QueryAllowedAmountResponse) XXX_DiscardUnknown ¶
func (m *QueryAllowedAmountResponse) XXX_DiscardUnknown()
func (*QueryAllowedAmountResponse) XXX_Marshal ¶
func (m *QueryAllowedAmountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllowedAmountResponse) XXX_Merge ¶
func (m *QueryAllowedAmountResponse) XXX_Merge(src proto.Message)
func (*QueryAllowedAmountResponse) XXX_Size ¶
func (m *QueryAllowedAmountResponse) XXX_Size() int
func (*QueryAllowedAmountResponse) XXX_Unmarshal ¶
func (m *QueryAllowedAmountResponse) XXX_Unmarshal(b []byte) error
type QueryAvailableTipsRequest ¶
type QueryAvailableTipsRequest struct { // selector address defines the address of the selector to query for. SelectorAddress string `protobuf:"bytes,1,opt,name=selector_address,json=selectorAddress,proto3" json:"selector_address,omitempty"` }
func (*QueryAvailableTipsRequest) Descriptor ¶
func (*QueryAvailableTipsRequest) Descriptor() ([]byte, []int)
func (*QueryAvailableTipsRequest) GetSelectorAddress ¶
func (m *QueryAvailableTipsRequest) GetSelectorAddress() string
func (*QueryAvailableTipsRequest) Marshal ¶
func (m *QueryAvailableTipsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvailableTipsRequest) MarshalTo ¶
func (m *QueryAvailableTipsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableTipsRequest) MarshalToSizedBuffer ¶
func (m *QueryAvailableTipsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableTipsRequest) ProtoMessage ¶
func (*QueryAvailableTipsRequest) ProtoMessage()
func (*QueryAvailableTipsRequest) Reset ¶
func (m *QueryAvailableTipsRequest) Reset()
func (*QueryAvailableTipsRequest) Size ¶
func (m *QueryAvailableTipsRequest) Size() (n int)
func (*QueryAvailableTipsRequest) String ¶
func (m *QueryAvailableTipsRequest) String() string
func (*QueryAvailableTipsRequest) Unmarshal ¶
func (m *QueryAvailableTipsRequest) Unmarshal(dAtA []byte) error
func (*QueryAvailableTipsRequest) XXX_DiscardUnknown ¶
func (m *QueryAvailableTipsRequest) XXX_DiscardUnknown()
func (*QueryAvailableTipsRequest) XXX_Marshal ¶
func (m *QueryAvailableTipsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableTipsRequest) XXX_Merge ¶
func (m *QueryAvailableTipsRequest) XXX_Merge(src proto.Message)
func (*QueryAvailableTipsRequest) XXX_Size ¶
func (m *QueryAvailableTipsRequest) XXX_Size() int
func (*QueryAvailableTipsRequest) XXX_Unmarshal ¶
func (m *QueryAvailableTipsRequest) XXX_Unmarshal(b []byte) error
type QueryAvailableTipsResponse ¶
type QueryAvailableTipsResponse struct { // available_tips defines the tips available for withdrawal for a given selector. AvailableTips cosmossdk_io_math.Uint `protobuf:"bytes,1,opt,name=available_tips,json=availableTips,proto3,customtype=cosmossdk.io/math.Uint" json:"available_tips"` }
func (*QueryAvailableTipsResponse) Descriptor ¶
func (*QueryAvailableTipsResponse) Descriptor() ([]byte, []int)
func (*QueryAvailableTipsResponse) Marshal ¶
func (m *QueryAvailableTipsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvailableTipsResponse) MarshalTo ¶
func (m *QueryAvailableTipsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableTipsResponse) MarshalToSizedBuffer ¶
func (m *QueryAvailableTipsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableTipsResponse) ProtoMessage ¶
func (*QueryAvailableTipsResponse) ProtoMessage()
func (*QueryAvailableTipsResponse) Reset ¶
func (m *QueryAvailableTipsResponse) Reset()
func (*QueryAvailableTipsResponse) Size ¶
func (m *QueryAvailableTipsResponse) Size() (n int)
func (*QueryAvailableTipsResponse) String ¶
func (m *QueryAvailableTipsResponse) String() string
func (*QueryAvailableTipsResponse) Unmarshal ¶
func (m *QueryAvailableTipsResponse) Unmarshal(dAtA []byte) error
func (*QueryAvailableTipsResponse) XXX_DiscardUnknown ¶
func (m *QueryAvailableTipsResponse) XXX_DiscardUnknown()
func (*QueryAvailableTipsResponse) XXX_Marshal ¶
func (m *QueryAvailableTipsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableTipsResponse) XXX_Merge ¶
func (m *QueryAvailableTipsResponse) XXX_Merge(src proto.Message)
func (*QueryAvailableTipsResponse) XXX_Size ¶
func (m *QueryAvailableTipsResponse) XXX_Size() int
func (*QueryAvailableTipsResponse) XXX_Unmarshal ¶
func (m *QueryAvailableTipsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Reporters queries all the staked reporters. Reporters(ctx context.Context, in *QueryReportersRequest, opts ...grpc.CallOption) (*QueryReportersResponse, error) // SelectorReporter queries the reporter of a selector. SelectorReporter(ctx context.Context, in *QuerySelectorReporterRequest, opts ...grpc.CallOption) (*QuerySelectorReporterResponse, error) // AllowedAmount queries the currently allowed amount to stake or unstake. AllowedAmount(ctx context.Context, in *QueryAllowedAmountRequest, opts ...grpc.CallOption) (*QueryAllowedAmountResponse, error) AllowedAmountExpiration(ctx context.Context, in *QueryAllowedAmountExpirationRequest, opts ...grpc.CallOption) (*QueryAllowedAmountExpirationResponse, error) // NumOfSelectorsByReporter queries the number of selectors by a reporter. NumOfSelectorsByReporter(ctx context.Context, in *QueryNumOfSelectorsByReporterRequest, opts ...grpc.CallOption) (*QueryNumOfSelectorsByReporterResponse, error) // SpaceAvailableByReporter queries the space available in a reporter. SpaceAvailableByReporter(ctx context.Context, in *QuerySpaceAvailableByReporterRequest, opts ...grpc.CallOption) (*QuerySpaceAvailableByReporterResponse, error) // AvailableTips queries the tips available for withdrawal for a given selector. AvailableTips(ctx context.Context, in *QueryAvailableTipsRequest, opts ...grpc.CallOption) (*QueryAvailableTipsResponse, 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 QueryNumOfSelectorsByReporterRequest ¶
type QueryNumOfSelectorsByReporterRequest struct { // reporter_address defines the reporter address to query for. ReporterAddress string `protobuf:"bytes,1,opt,name=reporter_address,json=reporterAddress,proto3" json:"reporter_address,omitempty"` }
QueryNumOfSelectorsByReporterRequest is the request type for the Query/NumOfSelectorsByReporter RPC method.
func (*QueryNumOfSelectorsByReporterRequest) Descriptor ¶
func (*QueryNumOfSelectorsByReporterRequest) Descriptor() ([]byte, []int)
func (*QueryNumOfSelectorsByReporterRequest) Marshal ¶
func (m *QueryNumOfSelectorsByReporterRequest) Marshal() (dAtA []byte, err error)
func (*QueryNumOfSelectorsByReporterRequest) MarshalTo ¶
func (m *QueryNumOfSelectorsByReporterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryNumOfSelectorsByReporterRequest) MarshalToSizedBuffer ¶
func (m *QueryNumOfSelectorsByReporterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNumOfSelectorsByReporterRequest) ProtoMessage ¶
func (*QueryNumOfSelectorsByReporterRequest) ProtoMessage()
func (*QueryNumOfSelectorsByReporterRequest) Reset ¶
func (m *QueryNumOfSelectorsByReporterRequest) Reset()
func (*QueryNumOfSelectorsByReporterRequest) Size ¶
func (m *QueryNumOfSelectorsByReporterRequest) Size() (n int)
func (*QueryNumOfSelectorsByReporterRequest) String ¶
func (m *QueryNumOfSelectorsByReporterRequest) String() string
func (*QueryNumOfSelectorsByReporterRequest) Unmarshal ¶
func (m *QueryNumOfSelectorsByReporterRequest) Unmarshal(dAtA []byte) error
func (*QueryNumOfSelectorsByReporterRequest) XXX_DiscardUnknown ¶
func (m *QueryNumOfSelectorsByReporterRequest) XXX_DiscardUnknown()
func (*QueryNumOfSelectorsByReporterRequest) XXX_Marshal ¶
func (m *QueryNumOfSelectorsByReporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNumOfSelectorsByReporterRequest) XXX_Merge ¶
func (m *QueryNumOfSelectorsByReporterRequest) XXX_Merge(src proto.Message)
func (*QueryNumOfSelectorsByReporterRequest) XXX_Size ¶
func (m *QueryNumOfSelectorsByReporterRequest) XXX_Size() int
func (*QueryNumOfSelectorsByReporterRequest) XXX_Unmarshal ¶
func (m *QueryNumOfSelectorsByReporterRequest) XXX_Unmarshal(b []byte) error
type QueryNumOfSelectorsByReporterResponse ¶
type QueryNumOfSelectorsByReporterResponse struct { // num_of_selectors defines the number of selectors by a reporter. NumOfSelectors int32 `protobuf:"varint,1,opt,name=num_of_selectors,json=numOfSelectors,proto3" json:"num_of_selectors,omitempty"` }
QueryNumOfSelectorsByReporterResponse is the response type for the Query/NumOfSelectorsByReporter RPC method.
func (*QueryNumOfSelectorsByReporterResponse) Descriptor ¶
func (*QueryNumOfSelectorsByReporterResponse) Descriptor() ([]byte, []int)
func (*QueryNumOfSelectorsByReporterResponse) GetNumOfSelectors ¶
func (m *QueryNumOfSelectorsByReporterResponse) GetNumOfSelectors() int32
func (*QueryNumOfSelectorsByReporterResponse) Marshal ¶
func (m *QueryNumOfSelectorsByReporterResponse) Marshal() (dAtA []byte, err error)
func (*QueryNumOfSelectorsByReporterResponse) MarshalTo ¶
func (m *QueryNumOfSelectorsByReporterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryNumOfSelectorsByReporterResponse) MarshalToSizedBuffer ¶
func (m *QueryNumOfSelectorsByReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNumOfSelectorsByReporterResponse) ProtoMessage ¶
func (*QueryNumOfSelectorsByReporterResponse) ProtoMessage()
func (*QueryNumOfSelectorsByReporterResponse) Reset ¶
func (m *QueryNumOfSelectorsByReporterResponse) Reset()
func (*QueryNumOfSelectorsByReporterResponse) Size ¶
func (m *QueryNumOfSelectorsByReporterResponse) Size() (n int)
func (*QueryNumOfSelectorsByReporterResponse) String ¶
func (m *QueryNumOfSelectorsByReporterResponse) String() string
func (*QueryNumOfSelectorsByReporterResponse) Unmarshal ¶
func (m *QueryNumOfSelectorsByReporterResponse) Unmarshal(dAtA []byte) error
func (*QueryNumOfSelectorsByReporterResponse) XXX_DiscardUnknown ¶
func (m *QueryNumOfSelectorsByReporterResponse) XXX_DiscardUnknown()
func (*QueryNumOfSelectorsByReporterResponse) XXX_Marshal ¶
func (m *QueryNumOfSelectorsByReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNumOfSelectorsByReporterResponse) XXX_Merge ¶
func (m *QueryNumOfSelectorsByReporterResponse) XXX_Merge(src proto.Message)
func (*QueryNumOfSelectorsByReporterResponse) XXX_Size ¶
func (m *QueryNumOfSelectorsByReporterResponse) XXX_Size() int
func (*QueryNumOfSelectorsByReporterResponse) XXX_Unmarshal ¶
func (m *QueryNumOfSelectorsByReporterResponse) 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 QueryReportersRequest ¶
type QueryReportersRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryReportersRequest is the request type for the Query/Reporters RPC method.
func (*QueryReportersRequest) Descriptor ¶
func (*QueryReportersRequest) Descriptor() ([]byte, []int)
func (*QueryReportersRequest) GetPagination ¶
func (m *QueryReportersRequest) GetPagination() *query.PageRequest
func (*QueryReportersRequest) Marshal ¶
func (m *QueryReportersRequest) Marshal() (dAtA []byte, err error)
func (*QueryReportersRequest) MarshalTo ¶
func (m *QueryReportersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryReportersRequest) MarshalToSizedBuffer ¶
func (m *QueryReportersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReportersRequest) ProtoMessage ¶
func (*QueryReportersRequest) ProtoMessage()
func (*QueryReportersRequest) Reset ¶
func (m *QueryReportersRequest) Reset()
func (*QueryReportersRequest) Size ¶
func (m *QueryReportersRequest) Size() (n int)
func (*QueryReportersRequest) String ¶
func (m *QueryReportersRequest) String() string
func (*QueryReportersRequest) Unmarshal ¶
func (m *QueryReportersRequest) Unmarshal(dAtA []byte) error
func (*QueryReportersRequest) XXX_DiscardUnknown ¶
func (m *QueryReportersRequest) XXX_DiscardUnknown()
func (*QueryReportersRequest) XXX_Marshal ¶
func (m *QueryReportersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReportersRequest) XXX_Merge ¶
func (m *QueryReportersRequest) XXX_Merge(src proto.Message)
func (*QueryReportersRequest) XXX_Size ¶
func (m *QueryReportersRequest) XXX_Size() int
func (*QueryReportersRequest) XXX_Unmarshal ¶
func (m *QueryReportersRequest) XXX_Unmarshal(b []byte) error
type QueryReportersResponse ¶
type QueryReportersResponse struct { // all the reporters. Reporters []*Reporter `protobuf:"bytes,1,rep,name=reporters,proto3" json:"reporters,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryReportersResponse is the response type for the Query/Reporters RPC method.
func (*QueryReportersResponse) Descriptor ¶
func (*QueryReportersResponse) Descriptor() ([]byte, []int)
func (*QueryReportersResponse) GetPagination ¶
func (m *QueryReportersResponse) GetPagination() *query.PageResponse
func (*QueryReportersResponse) GetReporters ¶
func (m *QueryReportersResponse) GetReporters() []*Reporter
func (*QueryReportersResponse) Marshal ¶
func (m *QueryReportersResponse) Marshal() (dAtA []byte, err error)
func (*QueryReportersResponse) MarshalTo ¶
func (m *QueryReportersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryReportersResponse) MarshalToSizedBuffer ¶
func (m *QueryReportersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryReportersResponse) ProtoMessage ¶
func (*QueryReportersResponse) ProtoMessage()
func (*QueryReportersResponse) Reset ¶
func (m *QueryReportersResponse) Reset()
func (*QueryReportersResponse) Size ¶
func (m *QueryReportersResponse) Size() (n int)
func (*QueryReportersResponse) String ¶
func (m *QueryReportersResponse) String() string
func (*QueryReportersResponse) Unmarshal ¶
func (m *QueryReportersResponse) Unmarshal(dAtA []byte) error
func (*QueryReportersResponse) XXX_DiscardUnknown ¶
func (m *QueryReportersResponse) XXX_DiscardUnknown()
func (*QueryReportersResponse) XXX_Marshal ¶
func (m *QueryReportersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryReportersResponse) XXX_Merge ¶
func (m *QueryReportersResponse) XXX_Merge(src proto.Message)
func (*QueryReportersResponse) XXX_Size ¶
func (m *QueryReportersResponse) XXX_Size() int
func (*QueryReportersResponse) XXX_Unmarshal ¶
func (m *QueryReportersResponse) XXX_Unmarshal(b []byte) error
type QuerySelectorReporterRequest ¶
type QuerySelectorReporterRequest struct { // selector_address defines the selector address to query for. SelectorAddress string `protobuf:"bytes,1,opt,name=selector_address,json=selectorAddress,proto3" json:"selector_address,omitempty"` }
QuerySelectorReporterRequest is the request type for the Query/SelectorReporter RPC method.
func (*QuerySelectorReporterRequest) Descriptor ¶
func (*QuerySelectorReporterRequest) Descriptor() ([]byte, []int)
func (*QuerySelectorReporterRequest) Marshal ¶
func (m *QuerySelectorReporterRequest) Marshal() (dAtA []byte, err error)
func (*QuerySelectorReporterRequest) MarshalTo ¶
func (m *QuerySelectorReporterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySelectorReporterRequest) MarshalToSizedBuffer ¶
func (m *QuerySelectorReporterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySelectorReporterRequest) ProtoMessage ¶
func (*QuerySelectorReporterRequest) ProtoMessage()
func (*QuerySelectorReporterRequest) Reset ¶
func (m *QuerySelectorReporterRequest) Reset()
func (*QuerySelectorReporterRequest) Size ¶
func (m *QuerySelectorReporterRequest) Size() (n int)
func (*QuerySelectorReporterRequest) String ¶
func (m *QuerySelectorReporterRequest) String() string
func (*QuerySelectorReporterRequest) Unmarshal ¶
func (m *QuerySelectorReporterRequest) Unmarshal(dAtA []byte) error
func (*QuerySelectorReporterRequest) XXX_DiscardUnknown ¶
func (m *QuerySelectorReporterRequest) XXX_DiscardUnknown()
func (*QuerySelectorReporterRequest) XXX_Marshal ¶
func (m *QuerySelectorReporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySelectorReporterRequest) XXX_Merge ¶
func (m *QuerySelectorReporterRequest) XXX_Merge(src proto.Message)
func (*QuerySelectorReporterRequest) XXX_Size ¶
func (m *QuerySelectorReporterRequest) XXX_Size() int
func (*QuerySelectorReporterRequest) XXX_Unmarshal ¶
func (m *QuerySelectorReporterRequest) XXX_Unmarshal(b []byte) error
type QuerySelectorReporterResponse ¶
type QuerySelectorReporterResponse struct { // reporter defines the reporter of a selector. Reporter string `protobuf:"bytes,1,opt,name=reporter,proto3" json:"reporter,omitempty"` }
QuerySelectorReporterResponse is the response type for the Query/SelectorReporter RPC method.
func (*QuerySelectorReporterResponse) Descriptor ¶
func (*QuerySelectorReporterResponse) Descriptor() ([]byte, []int)
func (*QuerySelectorReporterResponse) GetReporter ¶
func (m *QuerySelectorReporterResponse) GetReporter() string
func (*QuerySelectorReporterResponse) Marshal ¶
func (m *QuerySelectorReporterResponse) Marshal() (dAtA []byte, err error)
func (*QuerySelectorReporterResponse) MarshalTo ¶
func (m *QuerySelectorReporterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySelectorReporterResponse) MarshalToSizedBuffer ¶
func (m *QuerySelectorReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySelectorReporterResponse) ProtoMessage ¶
func (*QuerySelectorReporterResponse) ProtoMessage()
func (*QuerySelectorReporterResponse) Reset ¶
func (m *QuerySelectorReporterResponse) Reset()
func (*QuerySelectorReporterResponse) Size ¶
func (m *QuerySelectorReporterResponse) Size() (n int)
func (*QuerySelectorReporterResponse) String ¶
func (m *QuerySelectorReporterResponse) String() string
func (*QuerySelectorReporterResponse) Unmarshal ¶
func (m *QuerySelectorReporterResponse) Unmarshal(dAtA []byte) error
func (*QuerySelectorReporterResponse) XXX_DiscardUnknown ¶
func (m *QuerySelectorReporterResponse) XXX_DiscardUnknown()
func (*QuerySelectorReporterResponse) XXX_Marshal ¶
func (m *QuerySelectorReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySelectorReporterResponse) XXX_Merge ¶
func (m *QuerySelectorReporterResponse) XXX_Merge(src proto.Message)
func (*QuerySelectorReporterResponse) XXX_Size ¶
func (m *QuerySelectorReporterResponse) XXX_Size() int
func (*QuerySelectorReporterResponse) XXX_Unmarshal ¶
func (m *QuerySelectorReporterResponse) 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. Reporters(context.Context, *QueryReportersRequest) (*QueryReportersResponse, error) // SelectorReporter queries the reporter of a selector. SelectorReporter(context.Context, *QuerySelectorReporterRequest) (*QuerySelectorReporterResponse, error) // AllowedAmount queries the currently allowed amount to stake or unstake. AllowedAmount(context.Context, *QueryAllowedAmountRequest) (*QueryAllowedAmountResponse, error) AllowedAmountExpiration(context.Context, *QueryAllowedAmountExpirationRequest) (*QueryAllowedAmountExpirationResponse, error) // NumOfSelectorsByReporter queries the number of selectors by a reporter. NumOfSelectorsByReporter(context.Context, *QueryNumOfSelectorsByReporterRequest) (*QueryNumOfSelectorsByReporterResponse, error) // SpaceAvailableByReporter queries the space available in a reporter. SpaceAvailableByReporter(context.Context, *QuerySpaceAvailableByReporterRequest) (*QuerySpaceAvailableByReporterResponse, error) // AvailableTips queries the tips available for withdrawal for a given selector. AvailableTips(context.Context, *QueryAvailableTipsRequest) (*QueryAvailableTipsResponse, error) }
QueryServer is the server API for Query service.
type QuerySpaceAvailableByReporterRequest ¶
type QuerySpaceAvailableByReporterRequest struct { // reporter_address defines the reporter address to query for. ReporterAddress string `protobuf:"bytes,1,opt,name=reporter_address,json=reporterAddress,proto3" json:"reporter_address,omitempty"` }
QuerySpaceAvailableByReporterRequest is the request type for the Query/SpaceAvailableByReporter RPC method.
func (*QuerySpaceAvailableByReporterRequest) Descriptor ¶
func (*QuerySpaceAvailableByReporterRequest) Descriptor() ([]byte, []int)
func (*QuerySpaceAvailableByReporterRequest) Marshal ¶
func (m *QuerySpaceAvailableByReporterRequest) Marshal() (dAtA []byte, err error)
func (*QuerySpaceAvailableByReporterRequest) MarshalTo ¶
func (m *QuerySpaceAvailableByReporterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpaceAvailableByReporterRequest) MarshalToSizedBuffer ¶
func (m *QuerySpaceAvailableByReporterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpaceAvailableByReporterRequest) ProtoMessage ¶
func (*QuerySpaceAvailableByReporterRequest) ProtoMessage()
func (*QuerySpaceAvailableByReporterRequest) Reset ¶
func (m *QuerySpaceAvailableByReporterRequest) Reset()
func (*QuerySpaceAvailableByReporterRequest) Size ¶
func (m *QuerySpaceAvailableByReporterRequest) Size() (n int)
func (*QuerySpaceAvailableByReporterRequest) String ¶
func (m *QuerySpaceAvailableByReporterRequest) String() string
func (*QuerySpaceAvailableByReporterRequest) Unmarshal ¶
func (m *QuerySpaceAvailableByReporterRequest) Unmarshal(dAtA []byte) error
func (*QuerySpaceAvailableByReporterRequest) XXX_DiscardUnknown ¶
func (m *QuerySpaceAvailableByReporterRequest) XXX_DiscardUnknown()
func (*QuerySpaceAvailableByReporterRequest) XXX_Marshal ¶
func (m *QuerySpaceAvailableByReporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpaceAvailableByReporterRequest) XXX_Merge ¶
func (m *QuerySpaceAvailableByReporterRequest) XXX_Merge(src proto.Message)
func (*QuerySpaceAvailableByReporterRequest) XXX_Size ¶
func (m *QuerySpaceAvailableByReporterRequest) XXX_Size() int
func (*QuerySpaceAvailableByReporterRequest) XXX_Unmarshal ¶
func (m *QuerySpaceAvailableByReporterRequest) XXX_Unmarshal(b []byte) error
type QuerySpaceAvailableByReporterResponse ¶
type QuerySpaceAvailableByReporterResponse struct { // space_available defines the space available in a reporter. SpaceAvailable int32 `protobuf:"varint,1,opt,name=space_available,json=spaceAvailable,proto3" json:"space_available,omitempty"` }
QuerySpaceAvailableByReporterResponse is the response type for the Query/SpaceAvailableByReporter RPC method.
func (*QuerySpaceAvailableByReporterResponse) Descriptor ¶
func (*QuerySpaceAvailableByReporterResponse) Descriptor() ([]byte, []int)
func (*QuerySpaceAvailableByReporterResponse) GetSpaceAvailable ¶
func (m *QuerySpaceAvailableByReporterResponse) GetSpaceAvailable() int32
func (*QuerySpaceAvailableByReporterResponse) Marshal ¶
func (m *QuerySpaceAvailableByReporterResponse) Marshal() (dAtA []byte, err error)
func (*QuerySpaceAvailableByReporterResponse) MarshalTo ¶
func (m *QuerySpaceAvailableByReporterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpaceAvailableByReporterResponse) MarshalToSizedBuffer ¶
func (m *QuerySpaceAvailableByReporterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpaceAvailableByReporterResponse) ProtoMessage ¶
func (*QuerySpaceAvailableByReporterResponse) ProtoMessage()
func (*QuerySpaceAvailableByReporterResponse) Reset ¶
func (m *QuerySpaceAvailableByReporterResponse) Reset()
func (*QuerySpaceAvailableByReporterResponse) Size ¶
func (m *QuerySpaceAvailableByReporterResponse) Size() (n int)
func (*QuerySpaceAvailableByReporterResponse) String ¶
func (m *QuerySpaceAvailableByReporterResponse) String() string
func (*QuerySpaceAvailableByReporterResponse) Unmarshal ¶
func (m *QuerySpaceAvailableByReporterResponse) Unmarshal(dAtA []byte) error
func (*QuerySpaceAvailableByReporterResponse) XXX_DiscardUnknown ¶
func (m *QuerySpaceAvailableByReporterResponse) XXX_DiscardUnknown()
func (*QuerySpaceAvailableByReporterResponse) XXX_Marshal ¶
func (m *QuerySpaceAvailableByReporterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpaceAvailableByReporterResponse) XXX_Merge ¶
func (m *QuerySpaceAvailableByReporterResponse) XXX_Merge(src proto.Message)
func (*QuerySpaceAvailableByReporterResponse) XXX_Size ¶
func (m *QuerySpaceAvailableByReporterResponse) XXX_Size() int
func (*QuerySpaceAvailableByReporterResponse) XXX_Unmarshal ¶
func (m *QuerySpaceAvailableByReporterResponse) XXX_Unmarshal(b []byte) error
type RegistryKeeper ¶
type Reporter ¶
type Reporter struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Metadata *OracleReporter `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` }
func (*Reporter) Descriptor ¶
func (*Reporter) GetAddress ¶
func (*Reporter) GetMetadata ¶
func (m *Reporter) GetMetadata() *OracleReporter
func (*Reporter) MarshalToSizedBuffer ¶
func (*Reporter) ProtoMessage ¶
func (*Reporter) ProtoMessage()
func (*Reporter) XXX_DiscardUnknown ¶
func (m *Reporter) XXX_DiscardUnknown()
func (*Reporter) XXX_Marshal ¶
func (*Reporter) XXX_Unmarshal ¶
type Selection ¶
type Selection struct { // reporter is the address of the reporter being delegated to Reporter []byte `protobuf:"bytes,1,opt,name=reporter,proto3" json:"reporter,omitempty"` // locked_until_time is the time until which the tokens are locked before they // can be used for reporting again LockedUntilTime time.Time `protobuf:"bytes,2,opt,name=locked_until_time,json=lockedUntilTime,proto3,stdtime" json:"locked_until_time"` DelegationsCount uint64 `protobuf:"varint,3,opt,name=delegations_count,json=delegationsCount,proto3" json:"delegations_count,omitempty"` }
Selection is a type that represents a delegator's selection
func NewSelection ¶
func (*Selection) Descriptor ¶
func (*Selection) GetDelegationsCount ¶
func (*Selection) GetLockedUntilTime ¶
func (*Selection) GetReporter ¶
func (*Selection) MarshalToSizedBuffer ¶
func (*Selection) ProtoMessage ¶
func (*Selection) ProtoMessage()
func (*Selection) XXX_DiscardUnknown ¶
func (m *Selection) XXX_DiscardUnknown()
func (*Selection) XXX_Marshal ¶
func (*Selection) XXX_Unmarshal ¶
type StakeTracker ¶
type StakeTracker struct { Expiration *time.Time `protobuf:"bytes,1,opt,name=expiration,proto3,stdtime" json:"expiration,omitempty"` Amount cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount" yaml:"amount"` }
func (*StakeTracker) Descriptor ¶
func (*StakeTracker) Descriptor() ([]byte, []int)
func (*StakeTracker) GetExpiration ¶
func (m *StakeTracker) GetExpiration() *time.Time
func (*StakeTracker) Marshal ¶
func (m *StakeTracker) Marshal() (dAtA []byte, err error)
func (*StakeTracker) MarshalToSizedBuffer ¶
func (m *StakeTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakeTracker) ProtoMessage ¶
func (*StakeTracker) ProtoMessage()
func (*StakeTracker) Reset ¶
func (m *StakeTracker) Reset()
func (*StakeTracker) Size ¶
func (m *StakeTracker) Size() (n int)
func (*StakeTracker) String ¶
func (m *StakeTracker) String() string
func (*StakeTracker) Unmarshal ¶
func (m *StakeTracker) Unmarshal(dAtA []byte) error
func (*StakeTracker) XXX_DiscardUnknown ¶
func (m *StakeTracker) XXX_DiscardUnknown()
func (*StakeTracker) XXX_Marshal ¶
func (m *StakeTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeTracker) XXX_Merge ¶
func (m *StakeTracker) XXX_Merge(src proto.Message)
func (*StakeTracker) XXX_Size ¶
func (m *StakeTracker) XXX_Size() int
func (*StakeTracker) XXX_Unmarshal ¶
func (m *StakeTracker) XXX_Unmarshal(b []byte) error
type StakingHooks ¶
type StakingHooks interface { AfterValidatorCreated(ctx context.Context, valAddr sdk.ValAddress) error // Must be called when a validator is created BeforeValidatorModified(ctx context.Context, valAddr sdk.ValAddress) error // Must be called when a validator's state changes AfterValidatorRemoved(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error // Must be called when a validator is deleted AfterValidatorBonded(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error // Must be called when a validator is bonded AfterValidatorBeginUnbonding(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error // Must be called when a validator begins unbonding BeforeDelegationCreated(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error // Must be called when a delegation is created BeforeDelegationRemoved(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error // Must be called when a delegation is removed AfterDelegationModified(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error BeforeValidatorSlashed(ctx context.Context, valAddr sdk.ValAddress, fraction math.LegacyDec) error }
StakingHooks event hooks for staking validator object (noalias)
type StakingKeeper ¶
type StakingKeeper interface { UnbondingTime(ctx context.Context) (time.Duration, error) GetValidator(ctx context.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, err error) Delegate( ctx context.Context, delAddr sdk.AccAddress, bondAmt math.Int, tokenSrc stakingtypes.BondStatus, validator stakingtypes.Validator, subtractAccount bool, ) (newShares math.LegacyDec, err error) GetUnbondingDelegation(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (ubd stakingtypes.UnbondingDelegation, err error) GetRedelegationsFromSrcValidator(ctx context.Context, valAddr sdk.ValAddress) (reds []stakingtypes.Redelegation, err error) RemoveUnbondingDelegation(ctx context.Context, ubd stakingtypes.UnbondingDelegation) error SetUnbondingDelegation(ctx context.Context, ubd stakingtypes.UnbondingDelegation) error GetDelegation(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (stakingtypes.Delegation, error) Unbond( ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, shares math.LegacyDec, ) (amount math.Int, err error) ValidatorsPowerStoreIterator(ctx context.Context) (store.Iterator, error) TotalBondedTokens(context.Context) (math.Int, error) GetValidatorSet() stakingtypes.ValidatorSet IterateDelegatorDelegations(ctx context.Context, delegator sdk.AccAddress, cb func(delegation stakingtypes.Delegation) (stop bool)) error IterateDelegatorUnbondingDelegations(ctx context.Context, delegator sdk.AccAddress, cb func(ubd stakingtypes.UnbondingDelegation) (stop bool)) error }
StakingKeeper defines the expected interface for the Staking module.
type TokenOriginInfo ¶
type TokenOriginInfo struct { // delegator_address is the address of the delegator DelegatorAddress []byte `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` // validator_address is the address of the validator ValidatorAddress []byte `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` // amount is the amount of tokens staked Amount cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` }
TokenOriginInfo is the struct that holds the data of where tokens are staked
func (*TokenOriginInfo) Descriptor ¶
func (*TokenOriginInfo) Descriptor() ([]byte, []int)
func (*TokenOriginInfo) GetDelegatorAddress ¶
func (m *TokenOriginInfo) GetDelegatorAddress() []byte
func (*TokenOriginInfo) GetValidatorAddress ¶
func (m *TokenOriginInfo) GetValidatorAddress() []byte
func (*TokenOriginInfo) Marshal ¶
func (m *TokenOriginInfo) Marshal() (dAtA []byte, err error)
func (*TokenOriginInfo) MarshalToSizedBuffer ¶
func (m *TokenOriginInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenOriginInfo) ProtoMessage ¶
func (*TokenOriginInfo) ProtoMessage()
func (*TokenOriginInfo) Reset ¶
func (m *TokenOriginInfo) Reset()
func (*TokenOriginInfo) Size ¶
func (m *TokenOriginInfo) Size() (n int)
func (*TokenOriginInfo) String ¶
func (m *TokenOriginInfo) String() string
func (*TokenOriginInfo) Unmarshal ¶
func (m *TokenOriginInfo) Unmarshal(dAtA []byte) error
func (*TokenOriginInfo) XXX_DiscardUnknown ¶
func (m *TokenOriginInfo) XXX_DiscardUnknown()
func (*TokenOriginInfo) XXX_Marshal ¶
func (m *TokenOriginInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenOriginInfo) XXX_Merge ¶
func (m *TokenOriginInfo) XXX_Merge(src proto.Message)
func (*TokenOriginInfo) XXX_Size ¶
func (m *TokenOriginInfo) XXX_Size() int
func (*TokenOriginInfo) XXX_Unmarshal ¶
func (m *TokenOriginInfo) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateReporter ¶
func (*UnimplementedMsgServer) CreateReporter(ctx context.Context, req *MsgCreateReporter) (*MsgCreateReporterResponse, error)
func (*UnimplementedMsgServer) RemoveSelector ¶
func (*UnimplementedMsgServer) RemoveSelector(ctx context.Context, req *MsgRemoveSelector) (*MsgRemoveSelectorResponse, error)
func (*UnimplementedMsgServer) SelectReporter ¶
func (*UnimplementedMsgServer) SelectReporter(ctx context.Context, req *MsgSelectReporter) (*MsgSelectReporterResponse, error)
func (*UnimplementedMsgServer) SwitchReporter ¶
func (*UnimplementedMsgServer) SwitchReporter(ctx context.Context, req *MsgSwitchReporter) (*MsgSwitchReporterResponse, error)
func (*UnimplementedMsgServer) UnjailReporter ¶
func (*UnimplementedMsgServer) UnjailReporter(ctx context.Context, req *MsgUnjailReporter) (*MsgUnjailReporterResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) WithdrawTip ¶
func (*UnimplementedMsgServer) WithdrawTip(ctx context.Context, req *MsgWithdrawTip) (*MsgWithdrawTipResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllowedAmount ¶
func (*UnimplementedQueryServer) AllowedAmount(ctx context.Context, req *QueryAllowedAmountRequest) (*QueryAllowedAmountResponse, error)
func (*UnimplementedQueryServer) AllowedAmountExpiration ¶
func (*UnimplementedQueryServer) AllowedAmountExpiration(ctx context.Context, req *QueryAllowedAmountExpirationRequest) (*QueryAllowedAmountExpirationResponse, error)
func (*UnimplementedQueryServer) AvailableTips ¶
func (*UnimplementedQueryServer) AvailableTips(ctx context.Context, req *QueryAvailableTipsRequest) (*QueryAvailableTipsResponse, error)
func (*UnimplementedQueryServer) NumOfSelectorsByReporter ¶
func (*UnimplementedQueryServer) NumOfSelectorsByReporter(ctx context.Context, req *QueryNumOfSelectorsByReporterRequest) (*QueryNumOfSelectorsByReporterResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Reporters ¶
func (*UnimplementedQueryServer) Reporters(ctx context.Context, req *QueryReportersRequest) (*QueryReportersResponse, error)
func (*UnimplementedQueryServer) SelectorReporter ¶
func (*UnimplementedQueryServer) SelectorReporter(ctx context.Context, req *QuerySelectorReporterRequest) (*QuerySelectorReporterResponse, error)
func (*UnimplementedQueryServer) SpaceAvailableByReporter ¶
func (*UnimplementedQueryServer) SpaceAvailableByReporter(ctx context.Context, req *QuerySpaceAvailableByReporterRequest) (*QuerySpaceAvailableByReporterResponse, error)
Source Files ¶
- codec.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_create_reporter.go
- message_remove_selector.go
- message_select_reporter.go
- message_switch_reporter.go
- message_withdraw_tip.go
- msg_update_params.go
- oracle_reporter.go
- oracle_reporter.pb.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- selection.pb.go
- token_origin.pb.go
- tx.pb.go