Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CycleSecondsStoreKey(denom string) []byte
- func DealingRValidatorStoreKey(denom, poolAddress string) []byte
- func KeyPrefix(p string) []byte
- func LatestDealedCycleStoreKey(denom, poolAddress string) []byte
- func LatestVotedCycleStoreKey(denom, poolAddress string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SelectedRValdidatorStoreKey(denom, poolAddress, rValidatorAddress string) []byte
- func ShuffleSecondsStoreKey(denom string) []byte
- type AccountKeeper
- type BankKeeper
- type Cycle
- func (*Cycle) Descriptor() ([]byte, []int)
- func (m *Cycle) GetDenom() string
- func (m *Cycle) GetNumber() uint64
- func (m *Cycle) GetPoolAddress() string
- func (m *Cycle) GetVersion() uint64
- func (m *Cycle) Marshal() (dAtA []byte, err error)
- func (m *Cycle) MarshalTo(dAtA []byte) (int, error)
- func (m *Cycle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cycle) ProtoMessage()
- func (m *Cycle) Reset()
- func (m *Cycle) Size() (n int)
- func (m *Cycle) String() string
- func (m *Cycle) Unmarshal(dAtA []byte) error
- func (m *Cycle) XXX_DiscardUnknown()
- func (m *Cycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cycle) XXX_Merge(src proto.Message)
- func (m *Cycle) XXX_Size() int
- func (m *Cycle) XXX_Unmarshal(b []byte) error
- type CycleSeconds
- func (*CycleSeconds) Descriptor() ([]byte, []int)
- func (m *CycleSeconds) GetDenom() string
- func (m *CycleSeconds) GetSeconds() uint64
- func (m *CycleSeconds) GetVersion() uint64
- func (m *CycleSeconds) Marshal() (dAtA []byte, err error)
- func (m *CycleSeconds) MarshalTo(dAtA []byte) (int, error)
- func (m *CycleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CycleSeconds) ProtoMessage()
- func (m *CycleSeconds) Reset()
- func (m *CycleSeconds) Size() (n int)
- func (m *CycleSeconds) String() string
- func (m *CycleSeconds) Unmarshal(dAtA []byte) error
- func (m *CycleSeconds) XXX_DiscardUnknown()
- func (m *CycleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CycleSeconds) XXX_Merge(src proto.Message)
- func (m *CycleSeconds) XXX_Size() int
- func (m *CycleSeconds) XXX_Unmarshal(b []byte) error
- type DealingRValidator
- func (*DealingRValidator) Descriptor() ([]byte, []int)
- func (m *DealingRValidator) GetDenom() string
- func (m *DealingRValidator) GetNewValAddress() string
- func (m *DealingRValidator) GetOldValAddress() string
- func (m *DealingRValidator) GetPoolAddress() string
- func (m *DealingRValidator) Marshal() (dAtA []byte, err error)
- func (m *DealingRValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *DealingRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DealingRValidator) ProtoMessage()
- func (m *DealingRValidator) Reset()
- func (m *DealingRValidator) Size() (n int)
- func (m *DealingRValidator) String() string
- func (m *DealingRValidator) Unmarshal(dAtA []byte) error
- func (m *DealingRValidator) XXX_DiscardUnknown()
- func (m *DealingRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DealingRValidator) XXX_Merge(src proto.Message)
- func (m *DealingRValidator) XXX_Size() int
- func (m *DealingRValidator) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCycleSecondsList() []*CycleSeconds
- func (m *GenesisState) GetDealingRValidatorList() []*DealingRValidator
- func (m *GenesisState) GetLatestDealedCycleList() []*Cycle
- func (m *GenesisState) GetLatestVotedCycleList() []*Cycle
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSelectedRValidatorList() []*RValidator
- func (m *GenesisState) GetShuffleSecondsList() []*ShuffleSeconds
- 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 LedgerKeeper
- type MsgAddRValidator
- func (*MsgAddRValidator) Descriptor() ([]byte, []int)
- func (m *MsgAddRValidator) GetCreator() string
- func (m *MsgAddRValidator) GetDenom() string
- func (m *MsgAddRValidator) GetPoolAddress() string
- func (msg *MsgAddRValidator) GetSignBytes() []byte
- func (msg *MsgAddRValidator) GetSigners() []sdk.AccAddress
- func (m *MsgAddRValidator) GetValAddress() string
- func (m *MsgAddRValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRValidator) ProtoMessage()
- func (m *MsgAddRValidator) Reset()
- func (msg *MsgAddRValidator) Route() string
- func (m *MsgAddRValidator) Size() (n int)
- func (m *MsgAddRValidator) String() string
- func (msg *MsgAddRValidator) Type() string
- func (m *MsgAddRValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgAddRValidator) ValidateBasic() error
- func (m *MsgAddRValidator) XXX_DiscardUnknown()
- func (m *MsgAddRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRValidator) XXX_Merge(src proto.Message)
- func (m *MsgAddRValidator) XXX_Size() int
- func (m *MsgAddRValidator) XXX_Unmarshal(b []byte) error
- type MsgAddRValidatorResponse
- func (*MsgAddRValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddRValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRValidatorResponse) ProtoMessage()
- func (m *MsgAddRValidatorResponse) Reset()
- func (m *MsgAddRValidatorResponse) Size() (n int)
- func (m *MsgAddRValidatorResponse) String() string
- func (m *MsgAddRValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddRValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgAddRValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddRValidatorResponse) XXX_Size() int
- func (m *MsgAddRValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgInitRValidator
- func (*MsgInitRValidator) Descriptor() ([]byte, []int)
- func (m *MsgInitRValidator) GetCreator() string
- func (m *MsgInitRValidator) GetDenom() string
- func (m *MsgInitRValidator) GetPoolAddress() string
- func (msg *MsgInitRValidator) GetSignBytes() []byte
- func (msg *MsgInitRValidator) GetSigners() []sdk.AccAddress
- func (m *MsgInitRValidator) GetValAddressList() []string
- func (m *MsgInitRValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgInitRValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitRValidator) ProtoMessage()
- func (m *MsgInitRValidator) Reset()
- func (msg *MsgInitRValidator) Route() string
- func (m *MsgInitRValidator) Size() (n int)
- func (m *MsgInitRValidator) String() string
- func (msg *MsgInitRValidator) Type() string
- func (m *MsgInitRValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgInitRValidator) ValidateBasic() error
- func (m *MsgInitRValidator) XXX_DiscardUnknown()
- func (m *MsgInitRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitRValidator) XXX_Merge(src proto.Message)
- func (m *MsgInitRValidator) XXX_Size() int
- func (m *MsgInitRValidator) XXX_Unmarshal(b []byte) error
- type MsgInitRValidatorResponse
- func (*MsgInitRValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgInitRValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInitRValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitRValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitRValidatorResponse) ProtoMessage()
- func (m *MsgInitRValidatorResponse) Reset()
- func (m *MsgInitRValidatorResponse) Size() (n int)
- func (m *MsgInitRValidatorResponse) String() string
- func (m *MsgInitRValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInitRValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgInitRValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitRValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgInitRValidatorResponse) XXX_Size() int
- func (m *MsgInitRValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgRmRValidator
- func (*MsgRmRValidator) Descriptor() ([]byte, []int)
- func (m *MsgRmRValidator) GetCreator() string
- func (m *MsgRmRValidator) GetDenom() string
- func (m *MsgRmRValidator) GetNewAddress() string
- func (m *MsgRmRValidator) GetOldAddress() string
- func (m *MsgRmRValidator) GetPoolAddress() string
- func (msg *MsgRmRValidator) GetSignBytes() []byte
- func (msg *MsgRmRValidator) GetSigners() []sdk.AccAddress
- func (m *MsgRmRValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgRmRValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmRValidator) ProtoMessage()
- func (m *MsgRmRValidator) Reset()
- func (msg *MsgRmRValidator) Route() string
- func (m *MsgRmRValidator) Size() (n int)
- func (m *MsgRmRValidator) String() string
- func (msg *MsgRmRValidator) Type() string
- func (m *MsgRmRValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgRmRValidator) ValidateBasic() error
- func (m *MsgRmRValidator) XXX_DiscardUnknown()
- func (m *MsgRmRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmRValidator) XXX_Merge(src proto.Message)
- func (m *MsgRmRValidator) XXX_Size() int
- func (m *MsgRmRValidator) XXX_Unmarshal(b []byte) error
- type MsgRmRValidatorResponse
- func (*MsgRmRValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgRmRValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRmRValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmRValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmRValidatorResponse) ProtoMessage()
- func (m *MsgRmRValidatorResponse) Reset()
- func (m *MsgRmRValidatorResponse) Size() (n int)
- func (m *MsgRmRValidatorResponse) String() string
- func (m *MsgRmRValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRmRValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgRmRValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmRValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgRmRValidatorResponse) XXX_Size() int
- func (m *MsgRmRValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetCycleSeconds
- func (*MsgSetCycleSeconds) Descriptor() ([]byte, []int)
- func (m *MsgSetCycleSeconds) GetCreator() string
- func (m *MsgSetCycleSeconds) GetDenom() string
- func (m *MsgSetCycleSeconds) GetSeconds() uint64
- func (msg *MsgSetCycleSeconds) GetSignBytes() []byte
- func (msg *MsgSetCycleSeconds) GetSigners() []sdk.AccAddress
- func (m *MsgSetCycleSeconds) Marshal() (dAtA []byte, err error)
- func (m *MsgSetCycleSeconds) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetCycleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetCycleSeconds) ProtoMessage()
- func (m *MsgSetCycleSeconds) Reset()
- func (msg *MsgSetCycleSeconds) Route() string
- func (m *MsgSetCycleSeconds) Size() (n int)
- func (m *MsgSetCycleSeconds) String() string
- func (msg *MsgSetCycleSeconds) Type() string
- func (m *MsgSetCycleSeconds) Unmarshal(dAtA []byte) error
- func (msg *MsgSetCycleSeconds) ValidateBasic() error
- func (m *MsgSetCycleSeconds) XXX_DiscardUnknown()
- func (m *MsgSetCycleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetCycleSeconds) XXX_Merge(src proto.Message)
- func (m *MsgSetCycleSeconds) XXX_Size() int
- func (m *MsgSetCycleSeconds) XXX_Unmarshal(b []byte) error
- type MsgSetCycleSecondsResponse
- func (*MsgSetCycleSecondsResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetCycleSecondsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetCycleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetCycleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetCycleSecondsResponse) ProtoMessage()
- func (m *MsgSetCycleSecondsResponse) Reset()
- func (m *MsgSetCycleSecondsResponse) Size() (n int)
- func (m *MsgSetCycleSecondsResponse) String() string
- func (m *MsgSetCycleSecondsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetCycleSecondsResponse) XXX_DiscardUnknown()
- func (m *MsgSetCycleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetCycleSecondsResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetCycleSecondsResponse) XXX_Size() int
- func (m *MsgSetCycleSecondsResponse) XXX_Unmarshal(b []byte) error
- type MsgSetShuffleSeconds
- func (*MsgSetShuffleSeconds) Descriptor() ([]byte, []int)
- func (m *MsgSetShuffleSeconds) GetCreator() string
- func (m *MsgSetShuffleSeconds) GetDenom() string
- func (m *MsgSetShuffleSeconds) GetSeconds() uint64
- func (msg *MsgSetShuffleSeconds) GetSignBytes() []byte
- func (msg *MsgSetShuffleSeconds) GetSigners() []sdk.AccAddress
- func (m *MsgSetShuffleSeconds) Marshal() (dAtA []byte, err error)
- func (m *MsgSetShuffleSeconds) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetShuffleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetShuffleSeconds) ProtoMessage()
- func (m *MsgSetShuffleSeconds) Reset()
- func (msg *MsgSetShuffleSeconds) Route() string
- func (m *MsgSetShuffleSeconds) Size() (n int)
- func (m *MsgSetShuffleSeconds) String() string
- func (msg *MsgSetShuffleSeconds) Type() string
- func (m *MsgSetShuffleSeconds) Unmarshal(dAtA []byte) error
- func (msg *MsgSetShuffleSeconds) ValidateBasic() error
- func (m *MsgSetShuffleSeconds) XXX_DiscardUnknown()
- func (m *MsgSetShuffleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetShuffleSeconds) XXX_Merge(src proto.Message)
- func (m *MsgSetShuffleSeconds) XXX_Size() int
- func (m *MsgSetShuffleSeconds) XXX_Unmarshal(b []byte) error
- type MsgSetShuffleSecondsResponse
- func (*MsgSetShuffleSecondsResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetShuffleSecondsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetShuffleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetShuffleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetShuffleSecondsResponse) ProtoMessage()
- func (m *MsgSetShuffleSecondsResponse) Reset()
- func (m *MsgSetShuffleSecondsResponse) Size() (n int)
- func (m *MsgSetShuffleSecondsResponse) String() string
- func (m *MsgSetShuffleSecondsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetShuffleSecondsResponse) XXX_DiscardUnknown()
- func (m *MsgSetShuffleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetShuffleSecondsResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetShuffleSecondsResponse) XXX_Size() int
- func (m *MsgSetShuffleSecondsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCycleSecondsRequest
- func (*QueryCycleSecondsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCycleSecondsRequest) GetDenom() string
- func (m *QueryCycleSecondsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCycleSecondsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCycleSecondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCycleSecondsRequest) ProtoMessage()
- func (m *QueryCycleSecondsRequest) Reset()
- func (m *QueryCycleSecondsRequest) Size() (n int)
- func (m *QueryCycleSecondsRequest) String() string
- func (m *QueryCycleSecondsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCycleSecondsRequest) XXX_DiscardUnknown()
- func (m *QueryCycleSecondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCycleSecondsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCycleSecondsRequest) XXX_Size() int
- func (m *QueryCycleSecondsRequest) XXX_Unmarshal(b []byte) error
- type QueryCycleSecondsResponse
- func (*QueryCycleSecondsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCycleSecondsResponse) GetCycleSeconds() *CycleSeconds
- func (m *QueryCycleSecondsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCycleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCycleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCycleSecondsResponse) ProtoMessage()
- func (m *QueryCycleSecondsResponse) Reset()
- func (m *QueryCycleSecondsResponse) Size() (n int)
- func (m *QueryCycleSecondsResponse) String() string
- func (m *QueryCycleSecondsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCycleSecondsResponse) XXX_DiscardUnknown()
- func (m *QueryCycleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCycleSecondsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCycleSecondsResponse) XXX_Size() int
- func (m *QueryCycleSecondsResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestDealedCycleRequest
- func (*QueryLatestDealedCycleRequest) Descriptor() ([]byte, []int)
- func (m *QueryLatestDealedCycleRequest) GetDenom() string
- func (m *QueryLatestDealedCycleRequest) GetPoolAddress() string
- func (m *QueryLatestDealedCycleRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestDealedCycleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestDealedCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestDealedCycleRequest) ProtoMessage()
- func (m *QueryLatestDealedCycleRequest) Reset()
- func (m *QueryLatestDealedCycleRequest) Size() (n int)
- func (m *QueryLatestDealedCycleRequest) String() string
- func (m *QueryLatestDealedCycleRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLatestDealedCycleRequest) XXX_DiscardUnknown()
- func (m *QueryLatestDealedCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestDealedCycleRequest) XXX_Merge(src proto.Message)
- func (m *QueryLatestDealedCycleRequest) XXX_Size() int
- func (m *QueryLatestDealedCycleRequest) XXX_Unmarshal(b []byte) error
- type QueryLatestDealedCycleResponse
- func (*QueryLatestDealedCycleResponse) Descriptor() ([]byte, []int)
- func (m *QueryLatestDealedCycleResponse) GetLatestDealedCycle() *Cycle
- func (m *QueryLatestDealedCycleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestDealedCycleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestDealedCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestDealedCycleResponse) ProtoMessage()
- func (m *QueryLatestDealedCycleResponse) Reset()
- func (m *QueryLatestDealedCycleResponse) Size() (n int)
- func (m *QueryLatestDealedCycleResponse) String() string
- func (m *QueryLatestDealedCycleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLatestDealedCycleResponse) XXX_DiscardUnknown()
- func (m *QueryLatestDealedCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestDealedCycleResponse) XXX_Merge(src proto.Message)
- func (m *QueryLatestDealedCycleResponse) XXX_Size() int
- func (m *QueryLatestDealedCycleResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestVotedCycleRequest
- func (*QueryLatestVotedCycleRequest) Descriptor() ([]byte, []int)
- func (m *QueryLatestVotedCycleRequest) GetDenom() string
- func (m *QueryLatestVotedCycleRequest) GetPoolAddress() string
- func (m *QueryLatestVotedCycleRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestVotedCycleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestVotedCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestVotedCycleRequest) ProtoMessage()
- func (m *QueryLatestVotedCycleRequest) Reset()
- func (m *QueryLatestVotedCycleRequest) Size() (n int)
- func (m *QueryLatestVotedCycleRequest) String() string
- func (m *QueryLatestVotedCycleRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLatestVotedCycleRequest) XXX_DiscardUnknown()
- func (m *QueryLatestVotedCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestVotedCycleRequest) XXX_Merge(src proto.Message)
- func (m *QueryLatestVotedCycleRequest) XXX_Size() int
- func (m *QueryLatestVotedCycleRequest) XXX_Unmarshal(b []byte) error
- type QueryLatestVotedCycleResponse
- func (*QueryLatestVotedCycleResponse) Descriptor() ([]byte, []int)
- func (m *QueryLatestVotedCycleResponse) GetLatestVotedCycle() *Cycle
- func (m *QueryLatestVotedCycleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestVotedCycleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestVotedCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestVotedCycleResponse) ProtoMessage()
- func (m *QueryLatestVotedCycleResponse) Reset()
- func (m *QueryLatestVotedCycleResponse) Size() (n int)
- func (m *QueryLatestVotedCycleResponse) String() string
- func (m *QueryLatestVotedCycleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLatestVotedCycleResponse) XXX_DiscardUnknown()
- func (m *QueryLatestVotedCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestVotedCycleResponse) XXX_Merge(src proto.Message)
- func (m *QueryLatestVotedCycleResponse) XXX_Size() int
- func (m *QueryLatestVotedCycleResponse) 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 QueryRValidatorListRequest
- func (*QueryRValidatorListRequest) Descriptor() ([]byte, []int)
- func (m *QueryRValidatorListRequest) GetDenom() string
- func (m *QueryRValidatorListRequest) GetPoolAddress() string
- func (m *QueryRValidatorListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRValidatorListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRValidatorListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRValidatorListRequest) ProtoMessage()
- func (m *QueryRValidatorListRequest) Reset()
- func (m *QueryRValidatorListRequest) Size() (n int)
- func (m *QueryRValidatorListRequest) String() string
- func (m *QueryRValidatorListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRValidatorListRequest) XXX_DiscardUnknown()
- func (m *QueryRValidatorListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRValidatorListRequest) XXX_Merge(src proto.Message)
- func (m *QueryRValidatorListRequest) XXX_Size() int
- func (m *QueryRValidatorListRequest) XXX_Unmarshal(b []byte) error
- type QueryRValidatorListResponse
- func (*QueryRValidatorListResponse) Descriptor() ([]byte, []int)
- func (m *QueryRValidatorListResponse) GetRValidatorList() []string
- func (m *QueryRValidatorListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRValidatorListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRValidatorListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRValidatorListResponse) ProtoMessage()
- func (m *QueryRValidatorListResponse) Reset()
- func (m *QueryRValidatorListResponse) Size() (n int)
- func (m *QueryRValidatorListResponse) String() string
- func (m *QueryRValidatorListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRValidatorListResponse) XXX_DiscardUnknown()
- func (m *QueryRValidatorListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRValidatorListResponse) XXX_Merge(src proto.Message)
- func (m *QueryRValidatorListResponse) XXX_Size() int
- func (m *QueryRValidatorListResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryShuffleSecondsRequest
- func (*QueryShuffleSecondsRequest) Descriptor() ([]byte, []int)
- func (m *QueryShuffleSecondsRequest) GetDenom() string
- func (m *QueryShuffleSecondsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryShuffleSecondsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShuffleSecondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShuffleSecondsRequest) ProtoMessage()
- func (m *QueryShuffleSecondsRequest) Reset()
- func (m *QueryShuffleSecondsRequest) Size() (n int)
- func (m *QueryShuffleSecondsRequest) String() string
- func (m *QueryShuffleSecondsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryShuffleSecondsRequest) XXX_DiscardUnknown()
- func (m *QueryShuffleSecondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShuffleSecondsRequest) XXX_Merge(src proto.Message)
- func (m *QueryShuffleSecondsRequest) XXX_Size() int
- func (m *QueryShuffleSecondsRequest) XXX_Unmarshal(b []byte) error
- type QueryShuffleSecondsResponse
- func (*QueryShuffleSecondsResponse) Descriptor() ([]byte, []int)
- func (m *QueryShuffleSecondsResponse) GetShuffleSeconds() *ShuffleSeconds
- func (m *QueryShuffleSecondsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryShuffleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShuffleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShuffleSecondsResponse) ProtoMessage()
- func (m *QueryShuffleSecondsResponse) Reset()
- func (m *QueryShuffleSecondsResponse) Size() (n int)
- func (m *QueryShuffleSecondsResponse) String() string
- func (m *QueryShuffleSecondsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryShuffleSecondsResponse) XXX_DiscardUnknown()
- func (m *QueryShuffleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShuffleSecondsResponse) XXX_Merge(src proto.Message)
- func (m *QueryShuffleSecondsResponse) XXX_Size() int
- func (m *QueryShuffleSecondsResponse) XXX_Unmarshal(b []byte) error
- type RBankKeeper
- type RValidator
- func (*RValidator) Descriptor() ([]byte, []int)
- func (m *RValidator) GetDenom() string
- func (m *RValidator) GetPoolAddress() string
- func (m *RValidator) GetValAddress() string
- func (m *RValidator) Marshal() (dAtA []byte, err error)
- func (m *RValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *RValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RValidator) ProtoMessage()
- func (m *RValidator) Reset()
- func (m *RValidator) Size() (n int)
- func (m *RValidator) String() string
- func (m *RValidator) Unmarshal(dAtA []byte) error
- func (m *RValidator) XXX_DiscardUnknown()
- func (m *RValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RValidator) XXX_Merge(src proto.Message)
- func (m *RValidator) XXX_Size() int
- func (m *RValidator) XXX_Unmarshal(b []byte) error
- type ShuffleSeconds
- func (*ShuffleSeconds) Descriptor() ([]byte, []int)
- func (m *ShuffleSeconds) GetDenom() string
- func (m *ShuffleSeconds) GetSeconds() uint64
- func (m *ShuffleSeconds) GetVersion() uint64
- func (m *ShuffleSeconds) Marshal() (dAtA []byte, err error)
- func (m *ShuffleSeconds) MarshalTo(dAtA []byte) (int, error)
- func (m *ShuffleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ShuffleSeconds) ProtoMessage()
- func (m *ShuffleSeconds) Reset()
- func (m *ShuffleSeconds) Size() (n int)
- func (m *ShuffleSeconds) String() string
- func (m *ShuffleSeconds) Unmarshal(dAtA []byte) error
- func (m *ShuffleSeconds) XXX_DiscardUnknown()
- func (m *ShuffleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShuffleSeconds) XXX_Merge(src proto.Message)
- func (m *ShuffleSeconds) XXX_Size() int
- func (m *ShuffleSeconds) XXX_Unmarshal(b []byte) error
- type SudoKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddRValidator(ctx context.Context, req *MsgAddRValidator) (*MsgAddRValidatorResponse, error)
- func (*UnimplementedMsgServer) InitRValidator(ctx context.Context, req *MsgInitRValidator) (*MsgInitRValidatorResponse, error)
- func (*UnimplementedMsgServer) RmRValidator(ctx context.Context, req *MsgRmRValidator) (*MsgRmRValidatorResponse, error)
- func (*UnimplementedMsgServer) SetCycleSeconds(ctx context.Context, req *MsgSetCycleSeconds) (*MsgSetCycleSecondsResponse, error)
- func (*UnimplementedMsgServer) SetShuffleSeconds(ctx context.Context, req *MsgSetShuffleSeconds) (*MsgSetShuffleSecondsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) CycleSeconds(ctx context.Context, req *QueryCycleSecondsRequest) (*QueryCycleSecondsResponse, error)
- func (*UnimplementedQueryServer) LatestDealedCycle(ctx context.Context, req *QueryLatestDealedCycleRequest) (*QueryLatestDealedCycleResponse, error)
- func (*UnimplementedQueryServer) LatestVotedCycle(ctx context.Context, req *QueryLatestVotedCycleRequest) (*QueryLatestVotedCycleResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) RValidatorList(ctx context.Context, req *QueryRValidatorListRequest) (*QueryRValidatorListResponse, error)
- func (*UnimplementedQueryServer) ShuffleSeconds(ctx context.Context, req *QueryShuffleSecondsRequest) (*QueryShuffleSecondsResponse, error)
- type UpdateRValidatorProposal
- func (*UpdateRValidatorProposal) Descriptor() ([]byte, []int)
- func (m *UpdateRValidatorProposal) GetCreator() string
- func (m *UpdateRValidatorProposal) GetCycle() *Cycle
- func (m *UpdateRValidatorProposal) GetDenom() string
- func (m *UpdateRValidatorProposal) GetNewAddress() string
- func (m *UpdateRValidatorProposal) GetOldAddress() string
- func (m *UpdateRValidatorProposal) GetPoolAddress() string
- func (m *UpdateRValidatorProposal) GetPropId() string
- func (msg *UpdateRValidatorProposal) GetSignBytes() []byte
- func (msg *UpdateRValidatorProposal) GetSigners() []sdk.AccAddress
- func (p *UpdateRValidatorProposal) InFavour() bool
- func (m *UpdateRValidatorProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateRValidatorProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateRValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *UpdateRValidatorProposal) ProposalRoute() string
- func (p *UpdateRValidatorProposal) ProposalType() string
- func (*UpdateRValidatorProposal) ProtoMessage()
- func (m *UpdateRValidatorProposal) Reset()
- func (m *UpdateRValidatorProposal) Size() (n int)
- func (m *UpdateRValidatorProposal) String() string
- func (m *UpdateRValidatorProposal) Unmarshal(dAtA []byte) error
- func (msg *UpdateRValidatorProposal) ValidateBasic() error
- func (m *UpdateRValidatorProposal) XXX_DiscardUnknown()
- func (m *UpdateRValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRValidatorProposal) XXX_Merge(src proto.Message)
- func (m *UpdateRValidatorProposal) XXX_Size() int
- func (m *UpdateRValidatorProposal) XXX_Unmarshal(b []byte) error
- type UpdateRValidatorReportProposal
- func (*UpdateRValidatorReportProposal) Descriptor() ([]byte, []int)
- func (m *UpdateRValidatorReportProposal) GetCreator() string
- func (m *UpdateRValidatorReportProposal) GetCycle() *Cycle
- func (m *UpdateRValidatorReportProposal) GetDenom() string
- func (m *UpdateRValidatorReportProposal) GetPoolAddress() string
- func (m *UpdateRValidatorReportProposal) GetPropId() string
- func (msg *UpdateRValidatorReportProposal) GetSignBytes() []byte
- func (msg *UpdateRValidatorReportProposal) GetSigners() []sdk.AccAddress
- func (m *UpdateRValidatorReportProposal) GetStatus() UpdateRValidatorStatus
- func (p *UpdateRValidatorReportProposal) InFavour() bool
- func (m *UpdateRValidatorReportProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateRValidatorReportProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateRValidatorReportProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *UpdateRValidatorReportProposal) ProposalRoute() string
- func (p *UpdateRValidatorReportProposal) ProposalType() string
- func (*UpdateRValidatorReportProposal) ProtoMessage()
- func (m *UpdateRValidatorReportProposal) Reset()
- func (m *UpdateRValidatorReportProposal) Size() (n int)
- func (m *UpdateRValidatorReportProposal) String() string
- func (m *UpdateRValidatorReportProposal) Unmarshal(dAtA []byte) error
- func (msg *UpdateRValidatorReportProposal) ValidateBasic() error
- func (m *UpdateRValidatorReportProposal) XXX_DiscardUnknown()
- func (m *UpdateRValidatorReportProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRValidatorReportProposal) XXX_Merge(src proto.Message)
- func (m *UpdateRValidatorReportProposal) XXX_Size() int
- func (m *UpdateRValidatorReportProposal) XXX_Unmarshal(b []byte) error
- type UpdateRValidatorStatus
Constants ¶
const ( EventTypeInitRValidator = "init_rvalidator" EventTypeAddRValidator = "add_rvalidator" EventTypeUpdateRValidator = "update_rvalidator" AttributeKeyDenom = "denom" AttributeKeyAddresses = "addresses" AttributeKeyAddress = "address" AttributeKeyNewAddress = "new_address" AttributeKeyOldAddress = "old_address" AttributeKeyAddedAddress = "added_address" AttributeKeyPoolAddress = "pool_address" AttributeKeyChainEra = "chain_era" AttributeKeyCycleVersion = "cycle_version" AttributeKeyCycleNumber = "cycle_number" AttributeKeyCycleSeconds = "cycle_seconds" )
sudo module event types
const ( // ModuleName defines the module name ModuleName = "rvalidator" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_rvalidator" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgAddRValidator = "add_r_validator"
const TypeMsgInitRValidator = "init_r_validator"
const TypeMsgRmRValidator = "rm_r_validator"
const TypeMsgSetCycleSeconds = "set_cycle_seconds"
const TypeMsgSetShuffleSeconds = "set_shuffle_seconds"
const TypeUpdateRValidatorProposal = "update_r_validator"
const TypeUpdateRValidatorReportProposal = "update_r_validator_report"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrRValidatorAlreadyExist = sdkerrors.Register(ModuleName, 1101, "rValidator already exist") ErrRValidatorNotExist = sdkerrors.Register(ModuleName, 1102, "rValidator not exist") ErrCycleBehindLatestCycle = sdkerrors.Register(ModuleName, 1103, "cycle behind latest voted cycle") ErrCycleVersionNotMatch = sdkerrors.Register(ModuleName, 1104, "cycle version not match") ErrLatestVotedCycleNotDealed = sdkerrors.Register(ModuleName, 1105, "latest voted cycle not dealed") ErrLedgerIsBusyWithEra = sdkerrors.Register(ModuleName, 1106, "ledger is busy with era") ErrReportCycleNotMatchLatestVotedCycle = sdkerrors.Register(ModuleName, 1107, "report cycle not match latest voted cycle") ErrLedgerChainEraNotExist = sdkerrors.Register(ModuleName, 1108, "ledger chain era not exist") ErrDealingRvalidatorNotFound = sdkerrors.Register(ModuleName, 1109, "dealing rvalidator not found") ErrOldEqualNewRValidator = sdkerrors.Register(ModuleName, 1110, "old euqal new rValidator") ErrRValidatorAlreadyInit = sdkerrors.Register(ModuleName, 1111, "rValidator already init") )
x/rvalidator 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 ( DefaultCycleSeconds = uint64(60 * 10) DefaultShuffleSeconds = uint64(60 * 60 * 24 * 14) )
var ( SelectedRValidatorStoreKeyPrefix = []byte{0x01} LatestVotedCycleStoreKeyPrefix = []byte{0x02} CycleSecondsStoreKeyPrefix = []byte{0x03} ShuffleSecondsStoreKeyPrefix = []byte{0x04} LatestDealedCycleStoreKeyPrefix = []byte{0x05} DealingRValidatorStoreKeyPrefix = []byte{0x06} )
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 ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = 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 ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var UpdateRValidatorStatus_name = map[int32]string{
0: "UPDATE_RVALIDATOR_STATUS_UNSPECIFIED",
1: "UPDATE_RVALIDATOR_STATUS_SUCCESS",
2: "UPDATE_RVALIDATOR_STATUS_FAILED",
}
var UpdateRValidatorStatus_value = map[string]int32{
"UPDATE_RVALIDATOR_STATUS_UNSPECIFIED": 0,
"UPDATE_RVALIDATOR_STATUS_SUCCESS": 1,
"UPDATE_RVALIDATOR_STATUS_FAILED": 2,
}
Functions ¶
func CycleSecondsStoreKey ¶
func DealingRValidatorStoreKey ¶
prefix + denomLen + denom + poolAddressLen + poolAddress
func LatestDealedCycleStoreKey ¶
prefix + denomLen + denom + poolAddressLen + poolAddress
func LatestVotedCycleStoreKey ¶
prefix + denomLen + denom + poolAddressLen + poolAddress
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SelectedRValdidatorStoreKey ¶
prefix + denomLen + denom + poolAddressLen + poolAddress + rValidatorAddressLen + rValidatorAddress
func ShuffleSecondsStoreKey ¶
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type Cycle ¶
type Cycle struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,2,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` Number uint64 `protobuf:"varint,4,opt,name=number,proto3" json:"number,omitempty"` }
func (*Cycle) Descriptor ¶
func (*Cycle) GetPoolAddress ¶
func (*Cycle) GetVersion ¶
func (*Cycle) ProtoMessage ¶
func (*Cycle) ProtoMessage()
func (*Cycle) XXX_DiscardUnknown ¶
func (m *Cycle) XXX_DiscardUnknown()
func (*Cycle) XXX_Marshal ¶
func (*Cycle) XXX_Unmarshal ¶
type CycleSeconds ¶
type CycleSeconds struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Seconds uint64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` }
func (*CycleSeconds) Descriptor ¶
func (*CycleSeconds) Descriptor() ([]byte, []int)
func (*CycleSeconds) GetDenom ¶
func (m *CycleSeconds) GetDenom() string
func (*CycleSeconds) GetSeconds ¶
func (m *CycleSeconds) GetSeconds() uint64
func (*CycleSeconds) GetVersion ¶
func (m *CycleSeconds) GetVersion() uint64
func (*CycleSeconds) Marshal ¶
func (m *CycleSeconds) Marshal() (dAtA []byte, err error)
func (*CycleSeconds) MarshalToSizedBuffer ¶
func (m *CycleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CycleSeconds) ProtoMessage ¶
func (*CycleSeconds) ProtoMessage()
func (*CycleSeconds) Reset ¶
func (m *CycleSeconds) Reset()
func (*CycleSeconds) Size ¶
func (m *CycleSeconds) Size() (n int)
func (*CycleSeconds) String ¶
func (m *CycleSeconds) String() string
func (*CycleSeconds) Unmarshal ¶
func (m *CycleSeconds) Unmarshal(dAtA []byte) error
func (*CycleSeconds) XXX_DiscardUnknown ¶
func (m *CycleSeconds) XXX_DiscardUnknown()
func (*CycleSeconds) XXX_Marshal ¶
func (m *CycleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CycleSeconds) XXX_Merge ¶
func (m *CycleSeconds) XXX_Merge(src proto.Message)
func (*CycleSeconds) XXX_Size ¶
func (m *CycleSeconds) XXX_Size() int
func (*CycleSeconds) XXX_Unmarshal ¶
func (m *CycleSeconds) XXX_Unmarshal(b []byte) error
type DealingRValidator ¶
type DealingRValidator struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,2,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` OldValAddress string `protobuf:"bytes,3,opt,name=oldValAddress,proto3" json:"oldValAddress,omitempty"` NewValAddress string `protobuf:"bytes,4,opt,name=newValAddress,proto3" json:"newValAddress,omitempty"` }
func (*DealingRValidator) Descriptor ¶
func (*DealingRValidator) Descriptor() ([]byte, []int)
func (*DealingRValidator) GetDenom ¶
func (m *DealingRValidator) GetDenom() string
func (*DealingRValidator) GetNewValAddress ¶
func (m *DealingRValidator) GetNewValAddress() string
func (*DealingRValidator) GetOldValAddress ¶
func (m *DealingRValidator) GetOldValAddress() string
func (*DealingRValidator) GetPoolAddress ¶
func (m *DealingRValidator) GetPoolAddress() string
func (*DealingRValidator) Marshal ¶
func (m *DealingRValidator) Marshal() (dAtA []byte, err error)
func (*DealingRValidator) MarshalTo ¶
func (m *DealingRValidator) MarshalTo(dAtA []byte) (int, error)
func (*DealingRValidator) MarshalToSizedBuffer ¶
func (m *DealingRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DealingRValidator) ProtoMessage ¶
func (*DealingRValidator) ProtoMessage()
func (*DealingRValidator) Reset ¶
func (m *DealingRValidator) Reset()
func (*DealingRValidator) Size ¶
func (m *DealingRValidator) Size() (n int)
func (*DealingRValidator) String ¶
func (m *DealingRValidator) String() string
func (*DealingRValidator) Unmarshal ¶
func (m *DealingRValidator) Unmarshal(dAtA []byte) error
func (*DealingRValidator) XXX_DiscardUnknown ¶
func (m *DealingRValidator) XXX_DiscardUnknown()
func (*DealingRValidator) XXX_Marshal ¶
func (m *DealingRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DealingRValidator) XXX_Merge ¶
func (m *DealingRValidator) XXX_Merge(src proto.Message)
func (*DealingRValidator) XXX_Size ¶
func (m *DealingRValidator) XXX_Size() int
func (*DealingRValidator) XXX_Unmarshal ¶
func (m *DealingRValidator) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` SelectedRValidatorList []*RValidator `protobuf:"bytes,2,rep,name=selectedRValidatorList,proto3" json:"selectedRValidatorList,omitempty"` LatestVotedCycleList []*Cycle `protobuf:"bytes,3,rep,name=latestVotedCycleList,proto3" json:"latestVotedCycleList,omitempty"` LatestDealedCycleList []*Cycle `protobuf:"bytes,4,rep,name=latestDealedCycleList,proto3" json:"latestDealedCycleList,omitempty"` CycleSecondsList []*CycleSeconds `protobuf:"bytes,5,rep,name=cycleSecondsList,proto3" json:"cycleSecondsList,omitempty"` ShuffleSecondsList []*ShuffleSeconds `protobuf:"bytes,6,rep,name=shuffleSecondsList,proto3" json:"shuffleSecondsList,omitempty"` DealingRValidatorList []*DealingRValidator `protobuf:"bytes,7,rep,name=dealingRValidatorList,proto3" json:"dealingRValidatorList,omitempty"` }
GenesisState defines the rvalidator module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCycleSecondsList ¶
func (m *GenesisState) GetCycleSecondsList() []*CycleSeconds
func (*GenesisState) GetDealingRValidatorList ¶
func (m *GenesisState) GetDealingRValidatorList() []*DealingRValidator
func (*GenesisState) GetLatestDealedCycleList ¶
func (m *GenesisState) GetLatestDealedCycleList() []*Cycle
func (*GenesisState) GetLatestVotedCycleList ¶
func (m *GenesisState) GetLatestVotedCycleList() []*Cycle
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSelectedRValidatorList ¶
func (m *GenesisState) GetSelectedRValidatorList() []*RValidator
func (*GenesisState) GetShuffleSecondsList ¶
func (m *GenesisState) GetShuffleSecondsList() []*ShuffleSeconds
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 LedgerKeeper ¶
type LedgerKeeper interface { CurrentEraSnapshots(ctx sdk.Context, denom string) ledgerTypes.EraSnapshot GetChainEra(ctx sdk.Context, denom string) (val ledgerTypes.ChainEra, found bool) }
type MsgAddRValidator ¶
type MsgAddRValidator struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,3,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` ValAddress string `protobuf:"bytes,4,opt,name=valAddress,proto3" json:"valAddress,omitempty"` }
func NewMsgAddRValidator ¶
func NewMsgAddRValidator(creator string, denom string, poolAddress string, valAddress string) *MsgAddRValidator
func (*MsgAddRValidator) Descriptor ¶
func (*MsgAddRValidator) Descriptor() ([]byte, []int)
func (*MsgAddRValidator) GetCreator ¶
func (m *MsgAddRValidator) GetCreator() string
func (*MsgAddRValidator) GetDenom ¶
func (m *MsgAddRValidator) GetDenom() string
func (*MsgAddRValidator) GetPoolAddress ¶
func (m *MsgAddRValidator) GetPoolAddress() string
func (*MsgAddRValidator) GetSignBytes ¶
func (msg *MsgAddRValidator) GetSignBytes() []byte
func (*MsgAddRValidator) GetSigners ¶
func (msg *MsgAddRValidator) GetSigners() []sdk.AccAddress
func (*MsgAddRValidator) GetValAddress ¶
func (m *MsgAddRValidator) GetValAddress() string
func (*MsgAddRValidator) Marshal ¶
func (m *MsgAddRValidator) Marshal() (dAtA []byte, err error)
func (*MsgAddRValidator) MarshalToSizedBuffer ¶
func (m *MsgAddRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRValidator) ProtoMessage ¶
func (*MsgAddRValidator) ProtoMessage()
func (*MsgAddRValidator) Reset ¶
func (m *MsgAddRValidator) Reset()
func (*MsgAddRValidator) Route ¶
func (msg *MsgAddRValidator) Route() string
func (*MsgAddRValidator) Size ¶
func (m *MsgAddRValidator) Size() (n int)
func (*MsgAddRValidator) String ¶
func (m *MsgAddRValidator) String() string
func (*MsgAddRValidator) Type ¶
func (msg *MsgAddRValidator) Type() string
func (*MsgAddRValidator) Unmarshal ¶
func (m *MsgAddRValidator) Unmarshal(dAtA []byte) error
func (*MsgAddRValidator) ValidateBasic ¶
func (msg *MsgAddRValidator) ValidateBasic() error
func (*MsgAddRValidator) XXX_DiscardUnknown ¶
func (m *MsgAddRValidator) XXX_DiscardUnknown()
func (*MsgAddRValidator) XXX_Marshal ¶
func (m *MsgAddRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRValidator) XXX_Merge ¶
func (m *MsgAddRValidator) XXX_Merge(src proto.Message)
func (*MsgAddRValidator) XXX_Size ¶
func (m *MsgAddRValidator) XXX_Size() int
func (*MsgAddRValidator) XXX_Unmarshal ¶
func (m *MsgAddRValidator) XXX_Unmarshal(b []byte) error
type MsgAddRValidatorResponse ¶
type MsgAddRValidatorResponse struct { }
func (*MsgAddRValidatorResponse) Descriptor ¶
func (*MsgAddRValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgAddRValidatorResponse) Marshal ¶
func (m *MsgAddRValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddRValidatorResponse) MarshalTo ¶
func (m *MsgAddRValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRValidatorResponse) MarshalToSizedBuffer ¶
func (m *MsgAddRValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRValidatorResponse) ProtoMessage ¶
func (*MsgAddRValidatorResponse) ProtoMessage()
func (*MsgAddRValidatorResponse) Reset ¶
func (m *MsgAddRValidatorResponse) Reset()
func (*MsgAddRValidatorResponse) Size ¶
func (m *MsgAddRValidatorResponse) Size() (n int)
func (*MsgAddRValidatorResponse) String ¶
func (m *MsgAddRValidatorResponse) String() string
func (*MsgAddRValidatorResponse) Unmarshal ¶
func (m *MsgAddRValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgAddRValidatorResponse) XXX_DiscardUnknown ¶
func (m *MsgAddRValidatorResponse) XXX_DiscardUnknown()
func (*MsgAddRValidatorResponse) XXX_Marshal ¶
func (m *MsgAddRValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRValidatorResponse) XXX_Merge ¶
func (m *MsgAddRValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgAddRValidatorResponse) XXX_Size ¶
func (m *MsgAddRValidatorResponse) XXX_Size() int
func (*MsgAddRValidatorResponse) XXX_Unmarshal ¶
func (m *MsgAddRValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { InitRValidator(ctx context.Context, in *MsgInitRValidator, opts ...grpc.CallOption) (*MsgInitRValidatorResponse, error) SetCycleSeconds(ctx context.Context, in *MsgSetCycleSeconds, opts ...grpc.CallOption) (*MsgSetCycleSecondsResponse, error) SetShuffleSeconds(ctx context.Context, in *MsgSetShuffleSeconds, opts ...grpc.CallOption) (*MsgSetShuffleSecondsResponse, error) AddRValidator(ctx context.Context, in *MsgAddRValidator, opts ...grpc.CallOption) (*MsgAddRValidatorResponse, error) RmRValidator(ctx context.Context, in *MsgRmRValidator, opts ...grpc.CallOption) (*MsgRmRValidatorResponse, 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 MsgInitRValidator ¶
type MsgInitRValidator struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,3,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` ValAddressList []string `protobuf:"bytes,4,rep,name=valAddressList,proto3" json:"valAddressList,omitempty"` }
func NewMsgInitRValidator ¶
func NewMsgInitRValidator(creator string, denom, poolAddress string, addressList []string) *MsgInitRValidator
func (*MsgInitRValidator) Descriptor ¶
func (*MsgInitRValidator) Descriptor() ([]byte, []int)
func (*MsgInitRValidator) GetCreator ¶
func (m *MsgInitRValidator) GetCreator() string
func (*MsgInitRValidator) GetDenom ¶
func (m *MsgInitRValidator) GetDenom() string
func (*MsgInitRValidator) GetPoolAddress ¶
func (m *MsgInitRValidator) GetPoolAddress() string
func (*MsgInitRValidator) GetSignBytes ¶
func (msg *MsgInitRValidator) GetSignBytes() []byte
func (*MsgInitRValidator) GetSigners ¶
func (msg *MsgInitRValidator) GetSigners() []sdk.AccAddress
func (*MsgInitRValidator) GetValAddressList ¶
func (m *MsgInitRValidator) GetValAddressList() []string
func (*MsgInitRValidator) Marshal ¶
func (m *MsgInitRValidator) Marshal() (dAtA []byte, err error)
func (*MsgInitRValidator) MarshalTo ¶
func (m *MsgInitRValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgInitRValidator) MarshalToSizedBuffer ¶
func (m *MsgInitRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitRValidator) ProtoMessage ¶
func (*MsgInitRValidator) ProtoMessage()
func (*MsgInitRValidator) Reset ¶
func (m *MsgInitRValidator) Reset()
func (*MsgInitRValidator) Route ¶
func (msg *MsgInitRValidator) Route() string
func (*MsgInitRValidator) Size ¶
func (m *MsgInitRValidator) Size() (n int)
func (*MsgInitRValidator) String ¶
func (m *MsgInitRValidator) String() string
func (*MsgInitRValidator) Type ¶
func (msg *MsgInitRValidator) Type() string
func (*MsgInitRValidator) Unmarshal ¶
func (m *MsgInitRValidator) Unmarshal(dAtA []byte) error
func (*MsgInitRValidator) ValidateBasic ¶
func (msg *MsgInitRValidator) ValidateBasic() error
func (*MsgInitRValidator) XXX_DiscardUnknown ¶
func (m *MsgInitRValidator) XXX_DiscardUnknown()
func (*MsgInitRValidator) XXX_Marshal ¶
func (m *MsgInitRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitRValidator) XXX_Merge ¶
func (m *MsgInitRValidator) XXX_Merge(src proto.Message)
func (*MsgInitRValidator) XXX_Size ¶
func (m *MsgInitRValidator) XXX_Size() int
func (*MsgInitRValidator) XXX_Unmarshal ¶
func (m *MsgInitRValidator) XXX_Unmarshal(b []byte) error
type MsgInitRValidatorResponse ¶
type MsgInitRValidatorResponse struct { }
func (*MsgInitRValidatorResponse) Descriptor ¶
func (*MsgInitRValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgInitRValidatorResponse) Marshal ¶
func (m *MsgInitRValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgInitRValidatorResponse) MarshalTo ¶
func (m *MsgInitRValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInitRValidatorResponse) MarshalToSizedBuffer ¶
func (m *MsgInitRValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitRValidatorResponse) ProtoMessage ¶
func (*MsgInitRValidatorResponse) ProtoMessage()
func (*MsgInitRValidatorResponse) Reset ¶
func (m *MsgInitRValidatorResponse) Reset()
func (*MsgInitRValidatorResponse) Size ¶
func (m *MsgInitRValidatorResponse) Size() (n int)
func (*MsgInitRValidatorResponse) String ¶
func (m *MsgInitRValidatorResponse) String() string
func (*MsgInitRValidatorResponse) Unmarshal ¶
func (m *MsgInitRValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgInitRValidatorResponse) XXX_DiscardUnknown ¶
func (m *MsgInitRValidatorResponse) XXX_DiscardUnknown()
func (*MsgInitRValidatorResponse) XXX_Marshal ¶
func (m *MsgInitRValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitRValidatorResponse) XXX_Merge ¶
func (m *MsgInitRValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgInitRValidatorResponse) XXX_Size ¶
func (m *MsgInitRValidatorResponse) XXX_Size() int
func (*MsgInitRValidatorResponse) XXX_Unmarshal ¶
func (m *MsgInitRValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgRmRValidator ¶
type MsgRmRValidator struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,3,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` OldAddress string `protobuf:"bytes,4,opt,name=oldAddress,proto3" json:"oldAddress,omitempty"` NewAddress string `protobuf:"bytes,5,opt,name=newAddress,proto3" json:"newAddress,omitempty"` }
func NewMsgRmRValidator ¶
func (*MsgRmRValidator) Descriptor ¶
func (*MsgRmRValidator) Descriptor() ([]byte, []int)
func (*MsgRmRValidator) GetCreator ¶
func (m *MsgRmRValidator) GetCreator() string
func (*MsgRmRValidator) GetDenom ¶
func (m *MsgRmRValidator) GetDenom() string
func (*MsgRmRValidator) GetNewAddress ¶
func (m *MsgRmRValidator) GetNewAddress() string
func (*MsgRmRValidator) GetOldAddress ¶
func (m *MsgRmRValidator) GetOldAddress() string
func (*MsgRmRValidator) GetPoolAddress ¶
func (m *MsgRmRValidator) GetPoolAddress() string
func (*MsgRmRValidator) GetSignBytes ¶
func (msg *MsgRmRValidator) GetSignBytes() []byte
func (*MsgRmRValidator) GetSigners ¶
func (msg *MsgRmRValidator) GetSigners() []sdk.AccAddress
func (*MsgRmRValidator) Marshal ¶
func (m *MsgRmRValidator) Marshal() (dAtA []byte, err error)
func (*MsgRmRValidator) MarshalToSizedBuffer ¶
func (m *MsgRmRValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmRValidator) ProtoMessage ¶
func (*MsgRmRValidator) ProtoMessage()
func (*MsgRmRValidator) Reset ¶
func (m *MsgRmRValidator) Reset()
func (*MsgRmRValidator) Route ¶
func (msg *MsgRmRValidator) Route() string
func (*MsgRmRValidator) Size ¶
func (m *MsgRmRValidator) Size() (n int)
func (*MsgRmRValidator) String ¶
func (m *MsgRmRValidator) String() string
func (*MsgRmRValidator) Type ¶
func (msg *MsgRmRValidator) Type() string
func (*MsgRmRValidator) Unmarshal ¶
func (m *MsgRmRValidator) Unmarshal(dAtA []byte) error
func (*MsgRmRValidator) ValidateBasic ¶
func (msg *MsgRmRValidator) ValidateBasic() error
func (*MsgRmRValidator) XXX_DiscardUnknown ¶
func (m *MsgRmRValidator) XXX_DiscardUnknown()
func (*MsgRmRValidator) XXX_Marshal ¶
func (m *MsgRmRValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmRValidator) XXX_Merge ¶
func (m *MsgRmRValidator) XXX_Merge(src proto.Message)
func (*MsgRmRValidator) XXX_Size ¶
func (m *MsgRmRValidator) XXX_Size() int
func (*MsgRmRValidator) XXX_Unmarshal ¶
func (m *MsgRmRValidator) XXX_Unmarshal(b []byte) error
type MsgRmRValidatorResponse ¶
type MsgRmRValidatorResponse struct { }
func (*MsgRmRValidatorResponse) Descriptor ¶
func (*MsgRmRValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgRmRValidatorResponse) Marshal ¶
func (m *MsgRmRValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgRmRValidatorResponse) MarshalTo ¶
func (m *MsgRmRValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRmRValidatorResponse) MarshalToSizedBuffer ¶
func (m *MsgRmRValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmRValidatorResponse) ProtoMessage ¶
func (*MsgRmRValidatorResponse) ProtoMessage()
func (*MsgRmRValidatorResponse) Reset ¶
func (m *MsgRmRValidatorResponse) Reset()
func (*MsgRmRValidatorResponse) Size ¶
func (m *MsgRmRValidatorResponse) Size() (n int)
func (*MsgRmRValidatorResponse) String ¶
func (m *MsgRmRValidatorResponse) String() string
func (*MsgRmRValidatorResponse) Unmarshal ¶
func (m *MsgRmRValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgRmRValidatorResponse) XXX_DiscardUnknown ¶
func (m *MsgRmRValidatorResponse) XXX_DiscardUnknown()
func (*MsgRmRValidatorResponse) XXX_Marshal ¶
func (m *MsgRmRValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmRValidatorResponse) XXX_Merge ¶
func (m *MsgRmRValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgRmRValidatorResponse) XXX_Size ¶
func (m *MsgRmRValidatorResponse) XXX_Size() int
func (*MsgRmRValidatorResponse) XXX_Unmarshal ¶
func (m *MsgRmRValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { InitRValidator(context.Context, *MsgInitRValidator) (*MsgInitRValidatorResponse, error) SetCycleSeconds(context.Context, *MsgSetCycleSeconds) (*MsgSetCycleSecondsResponse, error) SetShuffleSeconds(context.Context, *MsgSetShuffleSeconds) (*MsgSetShuffleSecondsResponse, error) AddRValidator(context.Context, *MsgAddRValidator) (*MsgAddRValidatorResponse, error) RmRValidator(context.Context, *MsgRmRValidator) (*MsgRmRValidatorResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetCycleSeconds ¶
type MsgSetCycleSeconds struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Seconds uint64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds"` }
func NewMsgSetCycleSeconds ¶
func NewMsgSetCycleSeconds(creator string, denom string, seconds uint64) *MsgSetCycleSeconds
func (*MsgSetCycleSeconds) Descriptor ¶
func (*MsgSetCycleSeconds) Descriptor() ([]byte, []int)
func (*MsgSetCycleSeconds) GetCreator ¶
func (m *MsgSetCycleSeconds) GetCreator() string
func (*MsgSetCycleSeconds) GetDenom ¶
func (m *MsgSetCycleSeconds) GetDenom() string
func (*MsgSetCycleSeconds) GetSeconds ¶
func (m *MsgSetCycleSeconds) GetSeconds() uint64
func (*MsgSetCycleSeconds) GetSignBytes ¶
func (msg *MsgSetCycleSeconds) GetSignBytes() []byte
func (*MsgSetCycleSeconds) GetSigners ¶
func (msg *MsgSetCycleSeconds) GetSigners() []sdk.AccAddress
func (*MsgSetCycleSeconds) Marshal ¶
func (m *MsgSetCycleSeconds) Marshal() (dAtA []byte, err error)
func (*MsgSetCycleSeconds) MarshalTo ¶
func (m *MsgSetCycleSeconds) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetCycleSeconds) MarshalToSizedBuffer ¶
func (m *MsgSetCycleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetCycleSeconds) ProtoMessage ¶
func (*MsgSetCycleSeconds) ProtoMessage()
func (*MsgSetCycleSeconds) Reset ¶
func (m *MsgSetCycleSeconds) Reset()
func (*MsgSetCycleSeconds) Route ¶
func (msg *MsgSetCycleSeconds) Route() string
func (*MsgSetCycleSeconds) Size ¶
func (m *MsgSetCycleSeconds) Size() (n int)
func (*MsgSetCycleSeconds) String ¶
func (m *MsgSetCycleSeconds) String() string
func (*MsgSetCycleSeconds) Type ¶
func (msg *MsgSetCycleSeconds) Type() string
func (*MsgSetCycleSeconds) Unmarshal ¶
func (m *MsgSetCycleSeconds) Unmarshal(dAtA []byte) error
func (*MsgSetCycleSeconds) ValidateBasic ¶
func (msg *MsgSetCycleSeconds) ValidateBasic() error
func (*MsgSetCycleSeconds) XXX_DiscardUnknown ¶
func (m *MsgSetCycleSeconds) XXX_DiscardUnknown()
func (*MsgSetCycleSeconds) XXX_Marshal ¶
func (m *MsgSetCycleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetCycleSeconds) XXX_Merge ¶
func (m *MsgSetCycleSeconds) XXX_Merge(src proto.Message)
func (*MsgSetCycleSeconds) XXX_Size ¶
func (m *MsgSetCycleSeconds) XXX_Size() int
func (*MsgSetCycleSeconds) XXX_Unmarshal ¶
func (m *MsgSetCycleSeconds) XXX_Unmarshal(b []byte) error
type MsgSetCycleSecondsResponse ¶
type MsgSetCycleSecondsResponse struct { }
func (*MsgSetCycleSecondsResponse) Descriptor ¶
func (*MsgSetCycleSecondsResponse) Descriptor() ([]byte, []int)
func (*MsgSetCycleSecondsResponse) Marshal ¶
func (m *MsgSetCycleSecondsResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetCycleSecondsResponse) MarshalTo ¶
func (m *MsgSetCycleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetCycleSecondsResponse) MarshalToSizedBuffer ¶
func (m *MsgSetCycleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetCycleSecondsResponse) ProtoMessage ¶
func (*MsgSetCycleSecondsResponse) ProtoMessage()
func (*MsgSetCycleSecondsResponse) Reset ¶
func (m *MsgSetCycleSecondsResponse) Reset()
func (*MsgSetCycleSecondsResponse) Size ¶
func (m *MsgSetCycleSecondsResponse) Size() (n int)
func (*MsgSetCycleSecondsResponse) String ¶
func (m *MsgSetCycleSecondsResponse) String() string
func (*MsgSetCycleSecondsResponse) Unmarshal ¶
func (m *MsgSetCycleSecondsResponse) Unmarshal(dAtA []byte) error
func (*MsgSetCycleSecondsResponse) XXX_DiscardUnknown ¶
func (m *MsgSetCycleSecondsResponse) XXX_DiscardUnknown()
func (*MsgSetCycleSecondsResponse) XXX_Marshal ¶
func (m *MsgSetCycleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetCycleSecondsResponse) XXX_Merge ¶
func (m *MsgSetCycleSecondsResponse) XXX_Merge(src proto.Message)
func (*MsgSetCycleSecondsResponse) XXX_Size ¶
func (m *MsgSetCycleSecondsResponse) XXX_Size() int
func (*MsgSetCycleSecondsResponse) XXX_Unmarshal ¶
func (m *MsgSetCycleSecondsResponse) XXX_Unmarshal(b []byte) error
type MsgSetShuffleSeconds ¶
type MsgSetShuffleSeconds struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Seconds uint64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds"` }
func NewMsgSetShuffleSeconds ¶
func NewMsgSetShuffleSeconds(creator string, denom string, seconds uint64) *MsgSetShuffleSeconds
func (*MsgSetShuffleSeconds) Descriptor ¶
func (*MsgSetShuffleSeconds) Descriptor() ([]byte, []int)
func (*MsgSetShuffleSeconds) GetCreator ¶
func (m *MsgSetShuffleSeconds) GetCreator() string
func (*MsgSetShuffleSeconds) GetDenom ¶
func (m *MsgSetShuffleSeconds) GetDenom() string
func (*MsgSetShuffleSeconds) GetSeconds ¶
func (m *MsgSetShuffleSeconds) GetSeconds() uint64
func (*MsgSetShuffleSeconds) GetSignBytes ¶
func (msg *MsgSetShuffleSeconds) GetSignBytes() []byte
func (*MsgSetShuffleSeconds) GetSigners ¶
func (msg *MsgSetShuffleSeconds) GetSigners() []sdk.AccAddress
func (*MsgSetShuffleSeconds) Marshal ¶
func (m *MsgSetShuffleSeconds) Marshal() (dAtA []byte, err error)
func (*MsgSetShuffleSeconds) MarshalTo ¶
func (m *MsgSetShuffleSeconds) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetShuffleSeconds) MarshalToSizedBuffer ¶
func (m *MsgSetShuffleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetShuffleSeconds) ProtoMessage ¶
func (*MsgSetShuffleSeconds) ProtoMessage()
func (*MsgSetShuffleSeconds) Reset ¶
func (m *MsgSetShuffleSeconds) Reset()
func (*MsgSetShuffleSeconds) Route ¶
func (msg *MsgSetShuffleSeconds) Route() string
func (*MsgSetShuffleSeconds) Size ¶
func (m *MsgSetShuffleSeconds) Size() (n int)
func (*MsgSetShuffleSeconds) String ¶
func (m *MsgSetShuffleSeconds) String() string
func (*MsgSetShuffleSeconds) Type ¶
func (msg *MsgSetShuffleSeconds) Type() string
func (*MsgSetShuffleSeconds) Unmarshal ¶
func (m *MsgSetShuffleSeconds) Unmarshal(dAtA []byte) error
func (*MsgSetShuffleSeconds) ValidateBasic ¶
func (msg *MsgSetShuffleSeconds) ValidateBasic() error
func (*MsgSetShuffleSeconds) XXX_DiscardUnknown ¶
func (m *MsgSetShuffleSeconds) XXX_DiscardUnknown()
func (*MsgSetShuffleSeconds) XXX_Marshal ¶
func (m *MsgSetShuffleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetShuffleSeconds) XXX_Merge ¶
func (m *MsgSetShuffleSeconds) XXX_Merge(src proto.Message)
func (*MsgSetShuffleSeconds) XXX_Size ¶
func (m *MsgSetShuffleSeconds) XXX_Size() int
func (*MsgSetShuffleSeconds) XXX_Unmarshal ¶
func (m *MsgSetShuffleSeconds) XXX_Unmarshal(b []byte) error
type MsgSetShuffleSecondsResponse ¶
type MsgSetShuffleSecondsResponse struct { }
func (*MsgSetShuffleSecondsResponse) Descriptor ¶
func (*MsgSetShuffleSecondsResponse) Descriptor() ([]byte, []int)
func (*MsgSetShuffleSecondsResponse) Marshal ¶
func (m *MsgSetShuffleSecondsResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetShuffleSecondsResponse) MarshalTo ¶
func (m *MsgSetShuffleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetShuffleSecondsResponse) MarshalToSizedBuffer ¶
func (m *MsgSetShuffleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetShuffleSecondsResponse) ProtoMessage ¶
func (*MsgSetShuffleSecondsResponse) ProtoMessage()
func (*MsgSetShuffleSecondsResponse) Reset ¶
func (m *MsgSetShuffleSecondsResponse) Reset()
func (*MsgSetShuffleSecondsResponse) Size ¶
func (m *MsgSetShuffleSecondsResponse) Size() (n int)
func (*MsgSetShuffleSecondsResponse) String ¶
func (m *MsgSetShuffleSecondsResponse) String() string
func (*MsgSetShuffleSecondsResponse) Unmarshal ¶
func (m *MsgSetShuffleSecondsResponse) Unmarshal(dAtA []byte) error
func (*MsgSetShuffleSecondsResponse) XXX_DiscardUnknown ¶
func (m *MsgSetShuffleSecondsResponse) XXX_DiscardUnknown()
func (*MsgSetShuffleSecondsResponse) XXX_Marshal ¶
func (m *MsgSetShuffleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetShuffleSecondsResponse) XXX_Merge ¶
func (m *MsgSetShuffleSecondsResponse) XXX_Merge(src proto.Message)
func (*MsgSetShuffleSecondsResponse) XXX_Size ¶
func (m *MsgSetShuffleSecondsResponse) XXX_Size() int
func (*MsgSetShuffleSecondsResponse) XXX_Unmarshal ¶
func (m *MsgSetShuffleSecondsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
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 QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of RValidatorList items. RValidatorList(ctx context.Context, in *QueryRValidatorListRequest, opts ...grpc.CallOption) (*QueryRValidatorListResponse, error) // Queries a list of CycleSeconds items. CycleSeconds(ctx context.Context, in *QueryCycleSecondsRequest, opts ...grpc.CallOption) (*QueryCycleSecondsResponse, error) // Queries a list of ShuffleSeconds items. ShuffleSeconds(ctx context.Context, in *QueryShuffleSecondsRequest, opts ...grpc.CallOption) (*QueryShuffleSecondsResponse, error) // Queries a list of LatestVotedCycle items. LatestVotedCycle(ctx context.Context, in *QueryLatestVotedCycleRequest, opts ...grpc.CallOption) (*QueryLatestVotedCycleResponse, error) // Queries a list of LatestDealedCycle items. LatestDealedCycle(ctx context.Context, in *QueryLatestDealedCycleRequest, opts ...grpc.CallOption) (*QueryLatestDealedCycleResponse, 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 QueryCycleSecondsRequest ¶
type QueryCycleSecondsRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryCycleSecondsRequest) Descriptor ¶
func (*QueryCycleSecondsRequest) Descriptor() ([]byte, []int)
func (*QueryCycleSecondsRequest) GetDenom ¶
func (m *QueryCycleSecondsRequest) GetDenom() string
func (*QueryCycleSecondsRequest) Marshal ¶
func (m *QueryCycleSecondsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCycleSecondsRequest) MarshalTo ¶
func (m *QueryCycleSecondsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCycleSecondsRequest) MarshalToSizedBuffer ¶
func (m *QueryCycleSecondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCycleSecondsRequest) ProtoMessage ¶
func (*QueryCycleSecondsRequest) ProtoMessage()
func (*QueryCycleSecondsRequest) Reset ¶
func (m *QueryCycleSecondsRequest) Reset()
func (*QueryCycleSecondsRequest) Size ¶
func (m *QueryCycleSecondsRequest) Size() (n int)
func (*QueryCycleSecondsRequest) String ¶
func (m *QueryCycleSecondsRequest) String() string
func (*QueryCycleSecondsRequest) Unmarshal ¶
func (m *QueryCycleSecondsRequest) Unmarshal(dAtA []byte) error
func (*QueryCycleSecondsRequest) XXX_DiscardUnknown ¶
func (m *QueryCycleSecondsRequest) XXX_DiscardUnknown()
func (*QueryCycleSecondsRequest) XXX_Marshal ¶
func (m *QueryCycleSecondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCycleSecondsRequest) XXX_Merge ¶
func (m *QueryCycleSecondsRequest) XXX_Merge(src proto.Message)
func (*QueryCycleSecondsRequest) XXX_Size ¶
func (m *QueryCycleSecondsRequest) XXX_Size() int
func (*QueryCycleSecondsRequest) XXX_Unmarshal ¶
func (m *QueryCycleSecondsRequest) XXX_Unmarshal(b []byte) error
type QueryCycleSecondsResponse ¶
type QueryCycleSecondsResponse struct {
CycleSeconds *CycleSeconds `protobuf:"bytes,1,opt,name=cycleSeconds,proto3" json:"cycleSeconds,omitempty"`
}
func (*QueryCycleSecondsResponse) Descriptor ¶
func (*QueryCycleSecondsResponse) Descriptor() ([]byte, []int)
func (*QueryCycleSecondsResponse) GetCycleSeconds ¶
func (m *QueryCycleSecondsResponse) GetCycleSeconds() *CycleSeconds
func (*QueryCycleSecondsResponse) Marshal ¶
func (m *QueryCycleSecondsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCycleSecondsResponse) MarshalTo ¶
func (m *QueryCycleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCycleSecondsResponse) MarshalToSizedBuffer ¶
func (m *QueryCycleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCycleSecondsResponse) ProtoMessage ¶
func (*QueryCycleSecondsResponse) ProtoMessage()
func (*QueryCycleSecondsResponse) Reset ¶
func (m *QueryCycleSecondsResponse) Reset()
func (*QueryCycleSecondsResponse) Size ¶
func (m *QueryCycleSecondsResponse) Size() (n int)
func (*QueryCycleSecondsResponse) String ¶
func (m *QueryCycleSecondsResponse) String() string
func (*QueryCycleSecondsResponse) Unmarshal ¶
func (m *QueryCycleSecondsResponse) Unmarshal(dAtA []byte) error
func (*QueryCycleSecondsResponse) XXX_DiscardUnknown ¶
func (m *QueryCycleSecondsResponse) XXX_DiscardUnknown()
func (*QueryCycleSecondsResponse) XXX_Marshal ¶
func (m *QueryCycleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCycleSecondsResponse) XXX_Merge ¶
func (m *QueryCycleSecondsResponse) XXX_Merge(src proto.Message)
func (*QueryCycleSecondsResponse) XXX_Size ¶
func (m *QueryCycleSecondsResponse) XXX_Size() int
func (*QueryCycleSecondsResponse) XXX_Unmarshal ¶
func (m *QueryCycleSecondsResponse) XXX_Unmarshal(b []byte) error
type QueryLatestDealedCycleRequest ¶
type QueryLatestDealedCycleRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,2,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` }
func (*QueryLatestDealedCycleRequest) Descriptor ¶
func (*QueryLatestDealedCycleRequest) Descriptor() ([]byte, []int)
func (*QueryLatestDealedCycleRequest) GetDenom ¶
func (m *QueryLatestDealedCycleRequest) GetDenom() string
func (*QueryLatestDealedCycleRequest) GetPoolAddress ¶
func (m *QueryLatestDealedCycleRequest) GetPoolAddress() string
func (*QueryLatestDealedCycleRequest) Marshal ¶
func (m *QueryLatestDealedCycleRequest) Marshal() (dAtA []byte, err error)
func (*QueryLatestDealedCycleRequest) MarshalTo ¶
func (m *QueryLatestDealedCycleRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestDealedCycleRequest) MarshalToSizedBuffer ¶
func (m *QueryLatestDealedCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestDealedCycleRequest) ProtoMessage ¶
func (*QueryLatestDealedCycleRequest) ProtoMessage()
func (*QueryLatestDealedCycleRequest) Reset ¶
func (m *QueryLatestDealedCycleRequest) Reset()
func (*QueryLatestDealedCycleRequest) Size ¶
func (m *QueryLatestDealedCycleRequest) Size() (n int)
func (*QueryLatestDealedCycleRequest) String ¶
func (m *QueryLatestDealedCycleRequest) String() string
func (*QueryLatestDealedCycleRequest) Unmarshal ¶
func (m *QueryLatestDealedCycleRequest) Unmarshal(dAtA []byte) error
func (*QueryLatestDealedCycleRequest) XXX_DiscardUnknown ¶
func (m *QueryLatestDealedCycleRequest) XXX_DiscardUnknown()
func (*QueryLatestDealedCycleRequest) XXX_Marshal ¶
func (m *QueryLatestDealedCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestDealedCycleRequest) XXX_Merge ¶
func (m *QueryLatestDealedCycleRequest) XXX_Merge(src proto.Message)
func (*QueryLatestDealedCycleRequest) XXX_Size ¶
func (m *QueryLatestDealedCycleRequest) XXX_Size() int
func (*QueryLatestDealedCycleRequest) XXX_Unmarshal ¶
func (m *QueryLatestDealedCycleRequest) XXX_Unmarshal(b []byte) error
type QueryLatestDealedCycleResponse ¶
type QueryLatestDealedCycleResponse struct {
LatestDealedCycle *Cycle `protobuf:"bytes,1,opt,name=latestDealedCycle,proto3" json:"latestDealedCycle,omitempty"`
}
func (*QueryLatestDealedCycleResponse) Descriptor ¶
func (*QueryLatestDealedCycleResponse) Descriptor() ([]byte, []int)
func (*QueryLatestDealedCycleResponse) GetLatestDealedCycle ¶
func (m *QueryLatestDealedCycleResponse) GetLatestDealedCycle() *Cycle
func (*QueryLatestDealedCycleResponse) Marshal ¶
func (m *QueryLatestDealedCycleResponse) Marshal() (dAtA []byte, err error)
func (*QueryLatestDealedCycleResponse) MarshalTo ¶
func (m *QueryLatestDealedCycleResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestDealedCycleResponse) MarshalToSizedBuffer ¶
func (m *QueryLatestDealedCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestDealedCycleResponse) ProtoMessage ¶
func (*QueryLatestDealedCycleResponse) ProtoMessage()
func (*QueryLatestDealedCycleResponse) Reset ¶
func (m *QueryLatestDealedCycleResponse) Reset()
func (*QueryLatestDealedCycleResponse) Size ¶
func (m *QueryLatestDealedCycleResponse) Size() (n int)
func (*QueryLatestDealedCycleResponse) String ¶
func (m *QueryLatestDealedCycleResponse) String() string
func (*QueryLatestDealedCycleResponse) Unmarshal ¶
func (m *QueryLatestDealedCycleResponse) Unmarshal(dAtA []byte) error
func (*QueryLatestDealedCycleResponse) XXX_DiscardUnknown ¶
func (m *QueryLatestDealedCycleResponse) XXX_DiscardUnknown()
func (*QueryLatestDealedCycleResponse) XXX_Marshal ¶
func (m *QueryLatestDealedCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestDealedCycleResponse) XXX_Merge ¶
func (m *QueryLatestDealedCycleResponse) XXX_Merge(src proto.Message)
func (*QueryLatestDealedCycleResponse) XXX_Size ¶
func (m *QueryLatestDealedCycleResponse) XXX_Size() int
func (*QueryLatestDealedCycleResponse) XXX_Unmarshal ¶
func (m *QueryLatestDealedCycleResponse) XXX_Unmarshal(b []byte) error
type QueryLatestVotedCycleRequest ¶
type QueryLatestVotedCycleRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,2,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` }
func (*QueryLatestVotedCycleRequest) Descriptor ¶
func (*QueryLatestVotedCycleRequest) Descriptor() ([]byte, []int)
func (*QueryLatestVotedCycleRequest) GetDenom ¶
func (m *QueryLatestVotedCycleRequest) GetDenom() string
func (*QueryLatestVotedCycleRequest) GetPoolAddress ¶
func (m *QueryLatestVotedCycleRequest) GetPoolAddress() string
func (*QueryLatestVotedCycleRequest) Marshal ¶
func (m *QueryLatestVotedCycleRequest) Marshal() (dAtA []byte, err error)
func (*QueryLatestVotedCycleRequest) MarshalTo ¶
func (m *QueryLatestVotedCycleRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestVotedCycleRequest) MarshalToSizedBuffer ¶
func (m *QueryLatestVotedCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestVotedCycleRequest) ProtoMessage ¶
func (*QueryLatestVotedCycleRequest) ProtoMessage()
func (*QueryLatestVotedCycleRequest) Reset ¶
func (m *QueryLatestVotedCycleRequest) Reset()
func (*QueryLatestVotedCycleRequest) Size ¶
func (m *QueryLatestVotedCycleRequest) Size() (n int)
func (*QueryLatestVotedCycleRequest) String ¶
func (m *QueryLatestVotedCycleRequest) String() string
func (*QueryLatestVotedCycleRequest) Unmarshal ¶
func (m *QueryLatestVotedCycleRequest) Unmarshal(dAtA []byte) error
func (*QueryLatestVotedCycleRequest) XXX_DiscardUnknown ¶
func (m *QueryLatestVotedCycleRequest) XXX_DiscardUnknown()
func (*QueryLatestVotedCycleRequest) XXX_Marshal ¶
func (m *QueryLatestVotedCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestVotedCycleRequest) XXX_Merge ¶
func (m *QueryLatestVotedCycleRequest) XXX_Merge(src proto.Message)
func (*QueryLatestVotedCycleRequest) XXX_Size ¶
func (m *QueryLatestVotedCycleRequest) XXX_Size() int
func (*QueryLatestVotedCycleRequest) XXX_Unmarshal ¶
func (m *QueryLatestVotedCycleRequest) XXX_Unmarshal(b []byte) error
type QueryLatestVotedCycleResponse ¶
type QueryLatestVotedCycleResponse struct {
LatestVotedCycle *Cycle `protobuf:"bytes,1,opt,name=latestVotedCycle,proto3" json:"latestVotedCycle,omitempty"`
}
func (*QueryLatestVotedCycleResponse) Descriptor ¶
func (*QueryLatestVotedCycleResponse) Descriptor() ([]byte, []int)
func (*QueryLatestVotedCycleResponse) GetLatestVotedCycle ¶
func (m *QueryLatestVotedCycleResponse) GetLatestVotedCycle() *Cycle
func (*QueryLatestVotedCycleResponse) Marshal ¶
func (m *QueryLatestVotedCycleResponse) Marshal() (dAtA []byte, err error)
func (*QueryLatestVotedCycleResponse) MarshalTo ¶
func (m *QueryLatestVotedCycleResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestVotedCycleResponse) MarshalToSizedBuffer ¶
func (m *QueryLatestVotedCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestVotedCycleResponse) ProtoMessage ¶
func (*QueryLatestVotedCycleResponse) ProtoMessage()
func (*QueryLatestVotedCycleResponse) Reset ¶
func (m *QueryLatestVotedCycleResponse) Reset()
func (*QueryLatestVotedCycleResponse) Size ¶
func (m *QueryLatestVotedCycleResponse) Size() (n int)
func (*QueryLatestVotedCycleResponse) String ¶
func (m *QueryLatestVotedCycleResponse) String() string
func (*QueryLatestVotedCycleResponse) Unmarshal ¶
func (m *QueryLatestVotedCycleResponse) Unmarshal(dAtA []byte) error
func (*QueryLatestVotedCycleResponse) XXX_DiscardUnknown ¶
func (m *QueryLatestVotedCycleResponse) XXX_DiscardUnknown()
func (*QueryLatestVotedCycleResponse) XXX_Marshal ¶
func (m *QueryLatestVotedCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestVotedCycleResponse) XXX_Merge ¶
func (m *QueryLatestVotedCycleResponse) XXX_Merge(src proto.Message)
func (*QueryLatestVotedCycleResponse) XXX_Size ¶
func (m *QueryLatestVotedCycleResponse) XXX_Size() int
func (*QueryLatestVotedCycleResponse) XXX_Unmarshal ¶
func (m *QueryLatestVotedCycleResponse) 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 QueryRValidatorListRequest ¶
type QueryRValidatorListRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,2,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` }
func (*QueryRValidatorListRequest) Descriptor ¶
func (*QueryRValidatorListRequest) Descriptor() ([]byte, []int)
func (*QueryRValidatorListRequest) GetDenom ¶
func (m *QueryRValidatorListRequest) GetDenom() string
func (*QueryRValidatorListRequest) GetPoolAddress ¶
func (m *QueryRValidatorListRequest) GetPoolAddress() string
func (*QueryRValidatorListRequest) Marshal ¶
func (m *QueryRValidatorListRequest) Marshal() (dAtA []byte, err error)
func (*QueryRValidatorListRequest) MarshalTo ¶
func (m *QueryRValidatorListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRValidatorListRequest) MarshalToSizedBuffer ¶
func (m *QueryRValidatorListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRValidatorListRequest) ProtoMessage ¶
func (*QueryRValidatorListRequest) ProtoMessage()
func (*QueryRValidatorListRequest) Reset ¶
func (m *QueryRValidatorListRequest) Reset()
func (*QueryRValidatorListRequest) Size ¶
func (m *QueryRValidatorListRequest) Size() (n int)
func (*QueryRValidatorListRequest) String ¶
func (m *QueryRValidatorListRequest) String() string
func (*QueryRValidatorListRequest) Unmarshal ¶
func (m *QueryRValidatorListRequest) Unmarshal(dAtA []byte) error
func (*QueryRValidatorListRequest) XXX_DiscardUnknown ¶
func (m *QueryRValidatorListRequest) XXX_DiscardUnknown()
func (*QueryRValidatorListRequest) XXX_Marshal ¶
func (m *QueryRValidatorListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRValidatorListRequest) XXX_Merge ¶
func (m *QueryRValidatorListRequest) XXX_Merge(src proto.Message)
func (*QueryRValidatorListRequest) XXX_Size ¶
func (m *QueryRValidatorListRequest) XXX_Size() int
func (*QueryRValidatorListRequest) XXX_Unmarshal ¶
func (m *QueryRValidatorListRequest) XXX_Unmarshal(b []byte) error
type QueryRValidatorListResponse ¶
type QueryRValidatorListResponse struct {
RValidatorList []string `protobuf:"bytes,1,rep,name=rValidatorList,proto3" json:"rValidatorList,omitempty"`
}
func (*QueryRValidatorListResponse) Descriptor ¶
func (*QueryRValidatorListResponse) Descriptor() ([]byte, []int)
func (*QueryRValidatorListResponse) GetRValidatorList ¶
func (m *QueryRValidatorListResponse) GetRValidatorList() []string
func (*QueryRValidatorListResponse) Marshal ¶
func (m *QueryRValidatorListResponse) Marshal() (dAtA []byte, err error)
func (*QueryRValidatorListResponse) MarshalTo ¶
func (m *QueryRValidatorListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRValidatorListResponse) MarshalToSizedBuffer ¶
func (m *QueryRValidatorListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRValidatorListResponse) ProtoMessage ¶
func (*QueryRValidatorListResponse) ProtoMessage()
func (*QueryRValidatorListResponse) Reset ¶
func (m *QueryRValidatorListResponse) Reset()
func (*QueryRValidatorListResponse) Size ¶
func (m *QueryRValidatorListResponse) Size() (n int)
func (*QueryRValidatorListResponse) String ¶
func (m *QueryRValidatorListResponse) String() string
func (*QueryRValidatorListResponse) Unmarshal ¶
func (m *QueryRValidatorListResponse) Unmarshal(dAtA []byte) error
func (*QueryRValidatorListResponse) XXX_DiscardUnknown ¶
func (m *QueryRValidatorListResponse) XXX_DiscardUnknown()
func (*QueryRValidatorListResponse) XXX_Marshal ¶
func (m *QueryRValidatorListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRValidatorListResponse) XXX_Merge ¶
func (m *QueryRValidatorListResponse) XXX_Merge(src proto.Message)
func (*QueryRValidatorListResponse) XXX_Size ¶
func (m *QueryRValidatorListResponse) XXX_Size() int
func (*QueryRValidatorListResponse) XXX_Unmarshal ¶
func (m *QueryRValidatorListResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of RValidatorList items. RValidatorList(context.Context, *QueryRValidatorListRequest) (*QueryRValidatorListResponse, error) // Queries a list of CycleSeconds items. CycleSeconds(context.Context, *QueryCycleSecondsRequest) (*QueryCycleSecondsResponse, error) // Queries a list of ShuffleSeconds items. ShuffleSeconds(context.Context, *QueryShuffleSecondsRequest) (*QueryShuffleSecondsResponse, error) // Queries a list of LatestVotedCycle items. LatestVotedCycle(context.Context, *QueryLatestVotedCycleRequest) (*QueryLatestVotedCycleResponse, error) // Queries a list of LatestDealedCycle items. LatestDealedCycle(context.Context, *QueryLatestDealedCycleRequest) (*QueryLatestDealedCycleResponse, error) }
QueryServer is the server API for Query service.
type QueryShuffleSecondsRequest ¶
type QueryShuffleSecondsRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryShuffleSecondsRequest) Descriptor ¶
func (*QueryShuffleSecondsRequest) Descriptor() ([]byte, []int)
func (*QueryShuffleSecondsRequest) GetDenom ¶
func (m *QueryShuffleSecondsRequest) GetDenom() string
func (*QueryShuffleSecondsRequest) Marshal ¶
func (m *QueryShuffleSecondsRequest) Marshal() (dAtA []byte, err error)
func (*QueryShuffleSecondsRequest) MarshalTo ¶
func (m *QueryShuffleSecondsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryShuffleSecondsRequest) MarshalToSizedBuffer ¶
func (m *QueryShuffleSecondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShuffleSecondsRequest) ProtoMessage ¶
func (*QueryShuffleSecondsRequest) ProtoMessage()
func (*QueryShuffleSecondsRequest) Reset ¶
func (m *QueryShuffleSecondsRequest) Reset()
func (*QueryShuffleSecondsRequest) Size ¶
func (m *QueryShuffleSecondsRequest) Size() (n int)
func (*QueryShuffleSecondsRequest) String ¶
func (m *QueryShuffleSecondsRequest) String() string
func (*QueryShuffleSecondsRequest) Unmarshal ¶
func (m *QueryShuffleSecondsRequest) Unmarshal(dAtA []byte) error
func (*QueryShuffleSecondsRequest) XXX_DiscardUnknown ¶
func (m *QueryShuffleSecondsRequest) XXX_DiscardUnknown()
func (*QueryShuffleSecondsRequest) XXX_Marshal ¶
func (m *QueryShuffleSecondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShuffleSecondsRequest) XXX_Merge ¶
func (m *QueryShuffleSecondsRequest) XXX_Merge(src proto.Message)
func (*QueryShuffleSecondsRequest) XXX_Size ¶
func (m *QueryShuffleSecondsRequest) XXX_Size() int
func (*QueryShuffleSecondsRequest) XXX_Unmarshal ¶
func (m *QueryShuffleSecondsRequest) XXX_Unmarshal(b []byte) error
type QueryShuffleSecondsResponse ¶
type QueryShuffleSecondsResponse struct {
ShuffleSeconds *ShuffleSeconds `protobuf:"bytes,1,opt,name=shuffleSeconds,proto3" json:"shuffleSeconds,omitempty"`
}
func (*QueryShuffleSecondsResponse) Descriptor ¶
func (*QueryShuffleSecondsResponse) Descriptor() ([]byte, []int)
func (*QueryShuffleSecondsResponse) GetShuffleSeconds ¶
func (m *QueryShuffleSecondsResponse) GetShuffleSeconds() *ShuffleSeconds
func (*QueryShuffleSecondsResponse) Marshal ¶
func (m *QueryShuffleSecondsResponse) Marshal() (dAtA []byte, err error)
func (*QueryShuffleSecondsResponse) MarshalTo ¶
func (m *QueryShuffleSecondsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryShuffleSecondsResponse) MarshalToSizedBuffer ¶
func (m *QueryShuffleSecondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShuffleSecondsResponse) ProtoMessage ¶
func (*QueryShuffleSecondsResponse) ProtoMessage()
func (*QueryShuffleSecondsResponse) Reset ¶
func (m *QueryShuffleSecondsResponse) Reset()
func (*QueryShuffleSecondsResponse) Size ¶
func (m *QueryShuffleSecondsResponse) Size() (n int)
func (*QueryShuffleSecondsResponse) String ¶
func (m *QueryShuffleSecondsResponse) String() string
func (*QueryShuffleSecondsResponse) Unmarshal ¶
func (m *QueryShuffleSecondsResponse) Unmarshal(dAtA []byte) error
func (*QueryShuffleSecondsResponse) XXX_DiscardUnknown ¶
func (m *QueryShuffleSecondsResponse) XXX_DiscardUnknown()
func (*QueryShuffleSecondsResponse) XXX_Marshal ¶
func (m *QueryShuffleSecondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShuffleSecondsResponse) XXX_Merge ¶
func (m *QueryShuffleSecondsResponse) XXX_Merge(src proto.Message)
func (*QueryShuffleSecondsResponse) XXX_Size ¶
func (m *QueryShuffleSecondsResponse) XXX_Size() int
func (*QueryShuffleSecondsResponse) XXX_Unmarshal ¶
func (m *QueryShuffleSecondsResponse) XXX_Unmarshal(b []byte) error
type RBankKeeper ¶
type RValidator ¶
type RValidator struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,2,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` ValAddress string `protobuf:"bytes,3,opt,name=valAddress,proto3" json:"valAddress,omitempty"` }
func (*RValidator) Descriptor ¶
func (*RValidator) Descriptor() ([]byte, []int)
func (*RValidator) GetDenom ¶
func (m *RValidator) GetDenom() string
func (*RValidator) GetPoolAddress ¶
func (m *RValidator) GetPoolAddress() string
func (*RValidator) GetValAddress ¶
func (m *RValidator) GetValAddress() string
func (*RValidator) Marshal ¶
func (m *RValidator) Marshal() (dAtA []byte, err error)
func (*RValidator) MarshalToSizedBuffer ¶
func (m *RValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RValidator) ProtoMessage ¶
func (*RValidator) ProtoMessage()
func (*RValidator) Reset ¶
func (m *RValidator) Reset()
func (*RValidator) Size ¶
func (m *RValidator) Size() (n int)
func (*RValidator) String ¶
func (m *RValidator) String() string
func (*RValidator) Unmarshal ¶
func (m *RValidator) Unmarshal(dAtA []byte) error
func (*RValidator) XXX_DiscardUnknown ¶
func (m *RValidator) XXX_DiscardUnknown()
func (*RValidator) XXX_Marshal ¶
func (m *RValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RValidator) XXX_Merge ¶
func (m *RValidator) XXX_Merge(src proto.Message)
func (*RValidator) XXX_Size ¶
func (m *RValidator) XXX_Size() int
func (*RValidator) XXX_Unmarshal ¶
func (m *RValidator) XXX_Unmarshal(b []byte) error
type ShuffleSeconds ¶
type ShuffleSeconds struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Seconds uint64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` }
func (*ShuffleSeconds) Descriptor ¶
func (*ShuffleSeconds) Descriptor() ([]byte, []int)
func (*ShuffleSeconds) GetDenom ¶
func (m *ShuffleSeconds) GetDenom() string
func (*ShuffleSeconds) GetSeconds ¶
func (m *ShuffleSeconds) GetSeconds() uint64
func (*ShuffleSeconds) GetVersion ¶
func (m *ShuffleSeconds) GetVersion() uint64
func (*ShuffleSeconds) Marshal ¶
func (m *ShuffleSeconds) Marshal() (dAtA []byte, err error)
func (*ShuffleSeconds) MarshalToSizedBuffer ¶
func (m *ShuffleSeconds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ShuffleSeconds) ProtoMessage ¶
func (*ShuffleSeconds) ProtoMessage()
func (*ShuffleSeconds) Reset ¶
func (m *ShuffleSeconds) Reset()
func (*ShuffleSeconds) Size ¶
func (m *ShuffleSeconds) Size() (n int)
func (*ShuffleSeconds) String ¶
func (m *ShuffleSeconds) String() string
func (*ShuffleSeconds) Unmarshal ¶
func (m *ShuffleSeconds) Unmarshal(dAtA []byte) error
func (*ShuffleSeconds) XXX_DiscardUnknown ¶
func (m *ShuffleSeconds) XXX_DiscardUnknown()
func (*ShuffleSeconds) XXX_Marshal ¶
func (m *ShuffleSeconds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShuffleSeconds) XXX_Merge ¶
func (m *ShuffleSeconds) XXX_Merge(src proto.Message)
func (*ShuffleSeconds) XXX_Size ¶
func (m *ShuffleSeconds) XXX_Size() int
func (*ShuffleSeconds) XXX_Unmarshal ¶
func (m *ShuffleSeconds) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddRValidator ¶
func (*UnimplementedMsgServer) AddRValidator(ctx context.Context, req *MsgAddRValidator) (*MsgAddRValidatorResponse, error)
func (*UnimplementedMsgServer) InitRValidator ¶
func (*UnimplementedMsgServer) InitRValidator(ctx context.Context, req *MsgInitRValidator) (*MsgInitRValidatorResponse, error)
func (*UnimplementedMsgServer) RmRValidator ¶
func (*UnimplementedMsgServer) RmRValidator(ctx context.Context, req *MsgRmRValidator) (*MsgRmRValidatorResponse, error)
func (*UnimplementedMsgServer) SetCycleSeconds ¶
func (*UnimplementedMsgServer) SetCycleSeconds(ctx context.Context, req *MsgSetCycleSeconds) (*MsgSetCycleSecondsResponse, error)
func (*UnimplementedMsgServer) SetShuffleSeconds ¶
func (*UnimplementedMsgServer) SetShuffleSeconds(ctx context.Context, req *MsgSetShuffleSeconds) (*MsgSetShuffleSecondsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) CycleSeconds ¶
func (*UnimplementedQueryServer) CycleSeconds(ctx context.Context, req *QueryCycleSecondsRequest) (*QueryCycleSecondsResponse, error)
func (*UnimplementedQueryServer) LatestDealedCycle ¶
func (*UnimplementedQueryServer) LatestDealedCycle(ctx context.Context, req *QueryLatestDealedCycleRequest) (*QueryLatestDealedCycleResponse, error)
func (*UnimplementedQueryServer) LatestVotedCycle ¶
func (*UnimplementedQueryServer) LatestVotedCycle(ctx context.Context, req *QueryLatestVotedCycleRequest) (*QueryLatestVotedCycleResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) RValidatorList ¶
func (*UnimplementedQueryServer) RValidatorList(ctx context.Context, req *QueryRValidatorListRequest) (*QueryRValidatorListResponse, error)
func (*UnimplementedQueryServer) ShuffleSeconds ¶
func (*UnimplementedQueryServer) ShuffleSeconds(ctx context.Context, req *QueryShuffleSecondsRequest) (*QueryShuffleSecondsResponse, error)
type UpdateRValidatorProposal ¶
type UpdateRValidatorProposal struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,3,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` OldAddress string `protobuf:"bytes,4,opt,name=oldAddress,proto3" json:"oldAddress,omitempty"` NewAddress string `protobuf:"bytes,5,opt,name=newAddress,proto3" json:"newAddress,omitempty"` PropId string `protobuf:"bytes,6,opt,name=propId,proto3" json:"propId,omitempty"` Cycle *Cycle `protobuf:"bytes,7,opt,name=cycle,proto3" json:"cycle,omitempty"` }
func (*UpdateRValidatorProposal) Descriptor ¶
func (*UpdateRValidatorProposal) Descriptor() ([]byte, []int)
func (*UpdateRValidatorProposal) GetCreator ¶
func (m *UpdateRValidatorProposal) GetCreator() string
func (*UpdateRValidatorProposal) GetCycle ¶
func (m *UpdateRValidatorProposal) GetCycle() *Cycle
func (*UpdateRValidatorProposal) GetDenom ¶
func (m *UpdateRValidatorProposal) GetDenom() string
func (*UpdateRValidatorProposal) GetNewAddress ¶
func (m *UpdateRValidatorProposal) GetNewAddress() string
func (*UpdateRValidatorProposal) GetOldAddress ¶
func (m *UpdateRValidatorProposal) GetOldAddress() string
func (*UpdateRValidatorProposal) GetPoolAddress ¶
func (m *UpdateRValidatorProposal) GetPoolAddress() string
func (*UpdateRValidatorProposal) GetPropId ¶
func (m *UpdateRValidatorProposal) GetPropId() string
func (*UpdateRValidatorProposal) GetSignBytes ¶
func (msg *UpdateRValidatorProposal) GetSignBytes() []byte
func (*UpdateRValidatorProposal) GetSigners ¶
func (msg *UpdateRValidatorProposal) GetSigners() []sdk.AccAddress
func (*UpdateRValidatorProposal) InFavour ¶
func (p *UpdateRValidatorProposal) InFavour() bool
func (*UpdateRValidatorProposal) Marshal ¶
func (m *UpdateRValidatorProposal) Marshal() (dAtA []byte, err error)
func (*UpdateRValidatorProposal) MarshalTo ¶
func (m *UpdateRValidatorProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateRValidatorProposal) MarshalToSizedBuffer ¶
func (m *UpdateRValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateRValidatorProposal) ProposalRoute ¶
func (p *UpdateRValidatorProposal) ProposalRoute() string
func (*UpdateRValidatorProposal) ProposalType ¶
func (p *UpdateRValidatorProposal) ProposalType() string
func (*UpdateRValidatorProposal) ProtoMessage ¶
func (*UpdateRValidatorProposal) ProtoMessage()
func (*UpdateRValidatorProposal) Reset ¶
func (m *UpdateRValidatorProposal) Reset()
func (*UpdateRValidatorProposal) Size ¶
func (m *UpdateRValidatorProposal) Size() (n int)
func (*UpdateRValidatorProposal) String ¶
func (m *UpdateRValidatorProposal) String() string
func (*UpdateRValidatorProposal) Unmarshal ¶
func (m *UpdateRValidatorProposal) Unmarshal(dAtA []byte) error
func (*UpdateRValidatorProposal) ValidateBasic ¶
func (msg *UpdateRValidatorProposal) ValidateBasic() error
func (*UpdateRValidatorProposal) XXX_DiscardUnknown ¶
func (m *UpdateRValidatorProposal) XXX_DiscardUnknown()
func (*UpdateRValidatorProposal) XXX_Marshal ¶
func (m *UpdateRValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRValidatorProposal) XXX_Merge ¶
func (m *UpdateRValidatorProposal) XXX_Merge(src proto.Message)
func (*UpdateRValidatorProposal) XXX_Size ¶
func (m *UpdateRValidatorProposal) XXX_Size() int
func (*UpdateRValidatorProposal) XXX_Unmarshal ¶
func (m *UpdateRValidatorProposal) XXX_Unmarshal(b []byte) error
type UpdateRValidatorReportProposal ¶
type UpdateRValidatorReportProposal struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` PoolAddress string `protobuf:"bytes,3,opt,name=poolAddress,proto3" json:"poolAddress,omitempty"` PropId string `protobuf:"bytes,4,opt,name=propId,proto3" json:"propId,omitempty"` Cycle *Cycle `protobuf:"bytes,5,opt,name=cycle,proto3" json:"cycle,omitempty"` Status UpdateRValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=fury.fury.rvalidator.UpdateRValidatorStatus" json:"status,omitempty"` }
func NewUpdateRValidatorReportProposal ¶
func NewUpdateRValidatorReportProposal(creator string, denom string, poolAddress string, cycle *Cycle, status UpdateRValidatorStatus) *UpdateRValidatorReportProposal
func (*UpdateRValidatorReportProposal) Descriptor ¶
func (*UpdateRValidatorReportProposal) Descriptor() ([]byte, []int)
func (*UpdateRValidatorReportProposal) GetCreator ¶
func (m *UpdateRValidatorReportProposal) GetCreator() string
func (*UpdateRValidatorReportProposal) GetCycle ¶
func (m *UpdateRValidatorReportProposal) GetCycle() *Cycle
func (*UpdateRValidatorReportProposal) GetDenom ¶
func (m *UpdateRValidatorReportProposal) GetDenom() string
func (*UpdateRValidatorReportProposal) GetPoolAddress ¶
func (m *UpdateRValidatorReportProposal) GetPoolAddress() string
func (*UpdateRValidatorReportProposal) GetPropId ¶
func (m *UpdateRValidatorReportProposal) GetPropId() string
func (*UpdateRValidatorReportProposal) GetSignBytes ¶
func (msg *UpdateRValidatorReportProposal) GetSignBytes() []byte
func (*UpdateRValidatorReportProposal) GetSigners ¶
func (msg *UpdateRValidatorReportProposal) GetSigners() []sdk.AccAddress
func (*UpdateRValidatorReportProposal) GetStatus ¶
func (m *UpdateRValidatorReportProposal) GetStatus() UpdateRValidatorStatus
func (*UpdateRValidatorReportProposal) InFavour ¶
func (p *UpdateRValidatorReportProposal) InFavour() bool
func (*UpdateRValidatorReportProposal) Marshal ¶
func (m *UpdateRValidatorReportProposal) Marshal() (dAtA []byte, err error)
func (*UpdateRValidatorReportProposal) MarshalTo ¶
func (m *UpdateRValidatorReportProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateRValidatorReportProposal) MarshalToSizedBuffer ¶
func (m *UpdateRValidatorReportProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateRValidatorReportProposal) ProposalRoute ¶
func (p *UpdateRValidatorReportProposal) ProposalRoute() string
func (*UpdateRValidatorReportProposal) ProposalType ¶
func (p *UpdateRValidatorReportProposal) ProposalType() string
func (*UpdateRValidatorReportProposal) ProtoMessage ¶
func (*UpdateRValidatorReportProposal) ProtoMessage()
func (*UpdateRValidatorReportProposal) Reset ¶
func (m *UpdateRValidatorReportProposal) Reset()
func (*UpdateRValidatorReportProposal) Size ¶
func (m *UpdateRValidatorReportProposal) Size() (n int)
func (*UpdateRValidatorReportProposal) String ¶
func (m *UpdateRValidatorReportProposal) String() string
func (*UpdateRValidatorReportProposal) Unmarshal ¶
func (m *UpdateRValidatorReportProposal) Unmarshal(dAtA []byte) error
func (*UpdateRValidatorReportProposal) ValidateBasic ¶
func (msg *UpdateRValidatorReportProposal) ValidateBasic() error
func (*UpdateRValidatorReportProposal) XXX_DiscardUnknown ¶
func (m *UpdateRValidatorReportProposal) XXX_DiscardUnknown()
func (*UpdateRValidatorReportProposal) XXX_Marshal ¶
func (m *UpdateRValidatorReportProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRValidatorReportProposal) XXX_Merge ¶
func (m *UpdateRValidatorReportProposal) XXX_Merge(src proto.Message)
func (*UpdateRValidatorReportProposal) XXX_Size ¶
func (m *UpdateRValidatorReportProposal) XXX_Size() int
func (*UpdateRValidatorReportProposal) XXX_Unmarshal ¶
func (m *UpdateRValidatorReportProposal) XXX_Unmarshal(b []byte) error
type UpdateRValidatorStatus ¶
type UpdateRValidatorStatus int32
const ( UpdateRValidatorStatusUnspecified UpdateRValidatorStatus = 0 UpdateRValidatorStatusSuccess UpdateRValidatorStatus = 1 UpdateRValidatorStatusFailed UpdateRValidatorStatus = 2 )
func (UpdateRValidatorStatus) EnumDescriptor ¶
func (UpdateRValidatorStatus) EnumDescriptor() ([]byte, []int)
func (UpdateRValidatorStatus) String ¶
func (x UpdateRValidatorStatus) String() string
Source Files ¶
- codec.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_add_r_validator.go
- message_init_r_validator.go
- message_rm_r_validator.go
- message_set_cycle_seconds.go
- message_set_shuffle_seconds.go
- params.go
- params.pb.go
- proposal.go
- proposal.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go