Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DelegatorAddressStoreKey(addr sdk.AccAddress) []byte
- func KeyPrefix(p 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 ValAddressStoreKey(addr sdk.ValAddress) []byte
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDelegatorWhitelist() []string
- func (m *GenesisState) GetDelegatorWhitelistSwitch() bool
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetValidatorWhitelist() []string
- func (m *GenesisState) GetValidatorWhitelistSwitch() bool
- 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 MintKeeper
- type MsgAddDelegatorToWhitelist
- func (*MsgAddDelegatorToWhitelist) Descriptor() ([]byte, []int)
- func (m *MsgAddDelegatorToWhitelist) GetCreator() string
- func (m *MsgAddDelegatorToWhitelist) GetDelAddress() string
- func (msg *MsgAddDelegatorToWhitelist) GetSignBytes() []byte
- func (msg *MsgAddDelegatorToWhitelist) GetSigners() []sdk.AccAddress
- func (m *MsgAddDelegatorToWhitelist) Marshal() (dAtA []byte, err error)
- func (m *MsgAddDelegatorToWhitelist) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddDelegatorToWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddDelegatorToWhitelist) ProtoMessage()
- func (m *MsgAddDelegatorToWhitelist) Reset()
- func (msg *MsgAddDelegatorToWhitelist) Route() string
- func (m *MsgAddDelegatorToWhitelist) Size() (n int)
- func (m *MsgAddDelegatorToWhitelist) String() string
- func (msg *MsgAddDelegatorToWhitelist) Type() string
- func (m *MsgAddDelegatorToWhitelist) Unmarshal(dAtA []byte) error
- func (msg *MsgAddDelegatorToWhitelist) ValidateBasic() error
- func (m *MsgAddDelegatorToWhitelist) XXX_DiscardUnknown()
- func (m *MsgAddDelegatorToWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddDelegatorToWhitelist) XXX_Merge(src proto.Message)
- func (m *MsgAddDelegatorToWhitelist) XXX_Size() int
- func (m *MsgAddDelegatorToWhitelist) XXX_Unmarshal(b []byte) error
- type MsgAddDelegatorToWhitelistResponse
- func (*MsgAddDelegatorToWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddDelegatorToWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddDelegatorToWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddDelegatorToWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddDelegatorToWhitelistResponse) ProtoMessage()
- func (m *MsgAddDelegatorToWhitelistResponse) Reset()
- func (m *MsgAddDelegatorToWhitelistResponse) Size() (n int)
- func (m *MsgAddDelegatorToWhitelistResponse) String() string
- func (m *MsgAddDelegatorToWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddDelegatorToWhitelistResponse) XXX_DiscardUnknown()
- func (m *MsgAddDelegatorToWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddDelegatorToWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddDelegatorToWhitelistResponse) XXX_Size() int
- func (m *MsgAddDelegatorToWhitelistResponse) XXX_Unmarshal(b []byte) error
- type MsgAddValToWhitelist
- func (*MsgAddValToWhitelist) Descriptor() ([]byte, []int)
- func (m *MsgAddValToWhitelist) GetCreator() string
- func (msg *MsgAddValToWhitelist) GetSignBytes() []byte
- func (msg *MsgAddValToWhitelist) GetSigners() []sdk.AccAddress
- func (m *MsgAddValToWhitelist) GetValAddress() string
- func (m *MsgAddValToWhitelist) Marshal() (dAtA []byte, err error)
- func (m *MsgAddValToWhitelist) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddValToWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddValToWhitelist) ProtoMessage()
- func (m *MsgAddValToWhitelist) Reset()
- func (msg *MsgAddValToWhitelist) Route() string
- func (m *MsgAddValToWhitelist) Size() (n int)
- func (m *MsgAddValToWhitelist) String() string
- func (msg *MsgAddValToWhitelist) Type() string
- func (m *MsgAddValToWhitelist) Unmarshal(dAtA []byte) error
- func (msg *MsgAddValToWhitelist) ValidateBasic() error
- func (m *MsgAddValToWhitelist) XXX_DiscardUnknown()
- func (m *MsgAddValToWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddValToWhitelist) XXX_Merge(src proto.Message)
- func (m *MsgAddValToWhitelist) XXX_Size() int
- func (m *MsgAddValToWhitelist) XXX_Unmarshal(b []byte) error
- type MsgAddValToWhitelistResponse
- func (*MsgAddValToWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddValToWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddValToWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddValToWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddValToWhitelistResponse) ProtoMessage()
- func (m *MsgAddValToWhitelistResponse) Reset()
- func (m *MsgAddValToWhitelistResponse) Size() (n int)
- func (m *MsgAddValToWhitelistResponse) String() string
- func (m *MsgAddValToWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddValToWhitelistResponse) XXX_DiscardUnknown()
- func (m *MsgAddValToWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddValToWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddValToWhitelistResponse) XXX_Size() int
- func (m *MsgAddValToWhitelistResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgProvideToken
- func (*MsgProvideToken) Descriptor() ([]byte, []int)
- func (m *MsgProvideToken) GetCreator() string
- func (msg *MsgProvideToken) GetSignBytes() []byte
- func (msg *MsgProvideToken) GetSigners() []sdk.AccAddress
- func (m *MsgProvideToken) Marshal() (dAtA []byte, err error)
- func (m *MsgProvideToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProvideToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProvideToken) ProtoMessage()
- func (m *MsgProvideToken) Reset()
- func (msg *MsgProvideToken) Route() string
- func (m *MsgProvideToken) Size() (n int)
- func (m *MsgProvideToken) String() string
- func (msg *MsgProvideToken) Type() string
- func (m *MsgProvideToken) Unmarshal(dAtA []byte) error
- func (msg *MsgProvideToken) ValidateBasic() error
- func (m *MsgProvideToken) XXX_DiscardUnknown()
- func (m *MsgProvideToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProvideToken) XXX_Merge(src proto.Message)
- func (m *MsgProvideToken) XXX_Size() int
- func (m *MsgProvideToken) XXX_Unmarshal(b []byte) error
- type MsgProvideTokenResponse
- func (*MsgProvideTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgProvideTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgProvideTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProvideTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProvideTokenResponse) ProtoMessage()
- func (m *MsgProvideTokenResponse) Reset()
- func (m *MsgProvideTokenResponse) Size() (n int)
- func (m *MsgProvideTokenResponse) String() string
- func (m *MsgProvideTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgProvideTokenResponse) XXX_DiscardUnknown()
- func (m *MsgProvideTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProvideTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgProvideTokenResponse) XXX_Size() int
- func (m *MsgProvideTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgRmDelegatorFromWhitelist
- func (*MsgRmDelegatorFromWhitelist) Descriptor() ([]byte, []int)
- func (m *MsgRmDelegatorFromWhitelist) GetCreator() string
- func (m *MsgRmDelegatorFromWhitelist) GetDelAddress() string
- func (msg *MsgRmDelegatorFromWhitelist) GetSignBytes() []byte
- func (msg *MsgRmDelegatorFromWhitelist) GetSigners() []sdk.AccAddress
- func (m *MsgRmDelegatorFromWhitelist) Marshal() (dAtA []byte, err error)
- func (m *MsgRmDelegatorFromWhitelist) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmDelegatorFromWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmDelegatorFromWhitelist) ProtoMessage()
- func (m *MsgRmDelegatorFromWhitelist) Reset()
- func (msg *MsgRmDelegatorFromWhitelist) Route() string
- func (m *MsgRmDelegatorFromWhitelist) Size() (n int)
- func (m *MsgRmDelegatorFromWhitelist) String() string
- func (msg *MsgRmDelegatorFromWhitelist) Type() string
- func (m *MsgRmDelegatorFromWhitelist) Unmarshal(dAtA []byte) error
- func (msg *MsgRmDelegatorFromWhitelist) ValidateBasic() error
- func (m *MsgRmDelegatorFromWhitelist) XXX_DiscardUnknown()
- func (m *MsgRmDelegatorFromWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmDelegatorFromWhitelist) XXX_Merge(src proto.Message)
- func (m *MsgRmDelegatorFromWhitelist) XXX_Size() int
- func (m *MsgRmDelegatorFromWhitelist) XXX_Unmarshal(b []byte) error
- type MsgRmDelegatorFromWhitelistResponse
- func (*MsgRmDelegatorFromWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *MsgRmDelegatorFromWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRmDelegatorFromWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmDelegatorFromWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmDelegatorFromWhitelistResponse) ProtoMessage()
- func (m *MsgRmDelegatorFromWhitelistResponse) Reset()
- func (m *MsgRmDelegatorFromWhitelistResponse) Size() (n int)
- func (m *MsgRmDelegatorFromWhitelistResponse) String() string
- func (m *MsgRmDelegatorFromWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRmDelegatorFromWhitelistResponse) XXX_DiscardUnknown()
- func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Size() int
- func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetInflationBase
- func (*MsgSetInflationBase) Descriptor() ([]byte, []int)
- func (m *MsgSetInflationBase) GetCreator() string
- func (msg *MsgSetInflationBase) GetSignBytes() []byte
- func (msg *MsgSetInflationBase) GetSigners() []sdk.AccAddress
- func (m *MsgSetInflationBase) Marshal() (dAtA []byte, err error)
- func (m *MsgSetInflationBase) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetInflationBase) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetInflationBase) ProtoMessage()
- func (m *MsgSetInflationBase) Reset()
- func (msg *MsgSetInflationBase) Route() string
- func (m *MsgSetInflationBase) Size() (n int)
- func (m *MsgSetInflationBase) String() string
- func (msg *MsgSetInflationBase) Type() string
- func (m *MsgSetInflationBase) Unmarshal(dAtA []byte) error
- func (msg *MsgSetInflationBase) ValidateBasic() error
- func (m *MsgSetInflationBase) XXX_DiscardUnknown()
- func (m *MsgSetInflationBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetInflationBase) XXX_Merge(src proto.Message)
- func (m *MsgSetInflationBase) XXX_Size() int
- func (m *MsgSetInflationBase) XXX_Unmarshal(b []byte) error
- type MsgSetInflationBaseResponse
- func (*MsgSetInflationBaseResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetInflationBaseResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetInflationBaseResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetInflationBaseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetInflationBaseResponse) ProtoMessage()
- func (m *MsgSetInflationBaseResponse) Reset()
- func (m *MsgSetInflationBaseResponse) Size() (n int)
- func (m *MsgSetInflationBaseResponse) String() string
- func (m *MsgSetInflationBaseResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetInflationBaseResponse) XXX_DiscardUnknown()
- func (m *MsgSetInflationBaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetInflationBaseResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetInflationBaseResponse) XXX_Size() int
- func (m *MsgSetInflationBaseResponse) XXX_Unmarshal(b []byte) error
- type MsgToggleDelegatorWhitelistSwitch
- func (*MsgToggleDelegatorWhitelistSwitch) Descriptor() ([]byte, []int)
- func (m *MsgToggleDelegatorWhitelistSwitch) GetCreator() string
- func (msg *MsgToggleDelegatorWhitelistSwitch) GetSignBytes() []byte
- func (msg *MsgToggleDelegatorWhitelistSwitch) GetSigners() []sdk.AccAddress
- func (m *MsgToggleDelegatorWhitelistSwitch) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleDelegatorWhitelistSwitch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleDelegatorWhitelistSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleDelegatorWhitelistSwitch) ProtoMessage()
- func (m *MsgToggleDelegatorWhitelistSwitch) Reset()
- func (msg *MsgToggleDelegatorWhitelistSwitch) Route() string
- func (m *MsgToggleDelegatorWhitelistSwitch) Size() (n int)
- func (m *MsgToggleDelegatorWhitelistSwitch) String() string
- func (msg *MsgToggleDelegatorWhitelistSwitch) Type() string
- func (m *MsgToggleDelegatorWhitelistSwitch) Unmarshal(dAtA []byte) error
- func (msg *MsgToggleDelegatorWhitelistSwitch) ValidateBasic() error
- func (m *MsgToggleDelegatorWhitelistSwitch) XXX_DiscardUnknown()
- func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Merge(src proto.Message)
- func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Size() int
- func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Unmarshal(b []byte) error
- type MsgToggleDelegatorWhitelistSwitchResponse
- func (*MsgToggleDelegatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleDelegatorWhitelistSwitchResponse) ProtoMessage()
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) Reset()
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) Size() (n int)
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) String() string
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_DiscardUnknown()
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Size() int
- func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
- type MsgToggleValidatorWhitelistSwitch
- func (*MsgToggleValidatorWhitelistSwitch) Descriptor() ([]byte, []int)
- func (m *MsgToggleValidatorWhitelistSwitch) GetCreator() string
- func (msg *MsgToggleValidatorWhitelistSwitch) GetSignBytes() []byte
- func (msg *MsgToggleValidatorWhitelistSwitch) GetSigners() []sdk.AccAddress
- func (m *MsgToggleValidatorWhitelistSwitch) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleValidatorWhitelistSwitch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleValidatorWhitelistSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleValidatorWhitelistSwitch) ProtoMessage()
- func (m *MsgToggleValidatorWhitelistSwitch) Reset()
- func (msg *MsgToggleValidatorWhitelistSwitch) Route() string
- func (m *MsgToggleValidatorWhitelistSwitch) Size() (n int)
- func (m *MsgToggleValidatorWhitelistSwitch) String() string
- func (msg *MsgToggleValidatorWhitelistSwitch) Type() string
- func (m *MsgToggleValidatorWhitelistSwitch) Unmarshal(dAtA []byte) error
- func (msg *MsgToggleValidatorWhitelistSwitch) ValidateBasic() error
- func (m *MsgToggleValidatorWhitelistSwitch) XXX_DiscardUnknown()
- func (m *MsgToggleValidatorWhitelistSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleValidatorWhitelistSwitch) XXX_Merge(src proto.Message)
- func (m *MsgToggleValidatorWhitelistSwitch) XXX_Size() int
- func (m *MsgToggleValidatorWhitelistSwitch) XXX_Unmarshal(b []byte) error
- type MsgToggleValidatorWhitelistSwitchResponse
- func (*MsgToggleValidatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
- func (m *MsgToggleValidatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleValidatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleValidatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleValidatorWhitelistSwitchResponse) ProtoMessage()
- func (m *MsgToggleValidatorWhitelistSwitchResponse) Reset()
- func (m *MsgToggleValidatorWhitelistSwitchResponse) Size() (n int)
- func (m *MsgToggleValidatorWhitelistSwitchResponse) String() string
- func (m *MsgToggleValidatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_DiscardUnknown()
- func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
- func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Size() int
- func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdraw
- func (*MsgWithdraw) Descriptor() ([]byte, []int)
- func (m *MsgWithdraw) GetCreator() string
- func (m *MsgWithdraw) GetRecipient() string
- func (msg *MsgWithdraw) GetSignBytes() []byte
- func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdraw) ProtoMessage()
- func (m *MsgWithdraw) Reset()
- func (msg *MsgWithdraw) Route() string
- func (m *MsgWithdraw) Size() (n int)
- func (m *MsgWithdraw) String() string
- func (msg *MsgWithdraw) Type() string
- func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdraw) ValidateBasic() error
- func (m *MsgWithdraw) XXX_DiscardUnknown()
- func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgWithdraw) XXX_Size() int
- func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
- type MsgWithdrawResponse
- func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawResponse) ProtoMessage()
- func (m *MsgWithdrawResponse) Reset()
- func (m *MsgWithdrawResponse) Size() (n int)
- func (m *MsgWithdrawResponse) String() string
- func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawResponse) XXX_Size() int
- func (m *MsgWithdrawResponse) 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 QueryDelegatorWhitelistRequest
- func (*QueryDelegatorWhitelistRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorWhitelistRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorWhitelistRequest) ProtoMessage()
- func (m *QueryDelegatorWhitelistRequest) Reset()
- func (m *QueryDelegatorWhitelistRequest) Size() (n int)
- func (m *QueryDelegatorWhitelistRequest) String() string
- func (m *QueryDelegatorWhitelistRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorWhitelistRequest) XXX_DiscardUnknown()
- func (m *QueryDelegatorWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorWhitelistRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorWhitelistRequest) XXX_Size() int
- func (m *QueryDelegatorWhitelistRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegatorWhitelistResponse
- func (*QueryDelegatorWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorWhitelistResponse) GetDelegatorAddress() []string
- func (m *QueryDelegatorWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorWhitelistResponse) ProtoMessage()
- func (m *QueryDelegatorWhitelistResponse) Reset()
- func (m *QueryDelegatorWhitelistResponse) Size() (n int)
- func (m *QueryDelegatorWhitelistResponse) String() string
- func (m *QueryDelegatorWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorWhitelistResponse) XXX_DiscardUnknown()
- func (m *QueryDelegatorWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorWhitelistResponse) XXX_Size() int
- func (m *QueryDelegatorWhitelistResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegatorWhitelistSwitchRequest
- func (*QueryDelegatorWhitelistSwitchRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorWhitelistSwitchRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorWhitelistSwitchRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorWhitelistSwitchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorWhitelistSwitchRequest) ProtoMessage()
- func (m *QueryDelegatorWhitelistSwitchRequest) Reset()
- func (m *QueryDelegatorWhitelistSwitchRequest) Size() (n int)
- func (m *QueryDelegatorWhitelistSwitchRequest) String() string
- func (m *QueryDelegatorWhitelistSwitchRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorWhitelistSwitchRequest) XXX_DiscardUnknown()
- func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Size() int
- func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegatorWhitelistSwitchResponse
- func (*QueryDelegatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorWhitelistSwitchResponse) GetIsOpen() bool
- func (m *QueryDelegatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorWhitelistSwitchResponse) ProtoMessage()
- func (m *QueryDelegatorWhitelistSwitchResponse) Reset()
- func (m *QueryDelegatorWhitelistSwitchResponse) Size() (n int)
- func (m *QueryDelegatorWhitelistSwitchResponse) String() string
- func (m *QueryDelegatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorWhitelistSwitchResponse) XXX_DiscardUnknown()
- func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Size() int
- func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
- type QueryInflationBaseRequest
- func (*QueryInflationBaseRequest) Descriptor() ([]byte, []int)
- func (m *QueryInflationBaseRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationBaseRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationBaseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationBaseRequest) ProtoMessage()
- func (m *QueryInflationBaseRequest) Reset()
- func (m *QueryInflationBaseRequest) Size() (n int)
- func (m *QueryInflationBaseRequest) String() string
- func (m *QueryInflationBaseRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInflationBaseRequest) XXX_DiscardUnknown()
- func (m *QueryInflationBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationBaseRequest) XXX_Merge(src proto.Message)
- func (m *QueryInflationBaseRequest) XXX_Size() int
- func (m *QueryInflationBaseRequest) XXX_Unmarshal(b []byte) error
- type QueryInflationBaseResponse
- func (*QueryInflationBaseResponse) Descriptor() ([]byte, []int)
- func (m *QueryInflationBaseResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationBaseResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationBaseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationBaseResponse) ProtoMessage()
- func (m *QueryInflationBaseResponse) Reset()
- func (m *QueryInflationBaseResponse) Size() (n int)
- func (m *QueryInflationBaseResponse) String() string
- func (m *QueryInflationBaseResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInflationBaseResponse) XXX_DiscardUnknown()
- func (m *QueryInflationBaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationBaseResponse) XXX_Merge(src proto.Message)
- func (m *QueryInflationBaseResponse) XXX_Size() int
- func (m *QueryInflationBaseResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryValidatorWhitelistRequest
- func (*QueryValidatorWhitelistRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorWhitelistRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorWhitelistRequest) ProtoMessage()
- func (m *QueryValidatorWhitelistRequest) Reset()
- func (m *QueryValidatorWhitelistRequest) Size() (n int)
- func (m *QueryValidatorWhitelistRequest) String() string
- func (m *QueryValidatorWhitelistRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorWhitelistRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorWhitelistRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorWhitelistRequest) XXX_Size() int
- func (m *QueryValidatorWhitelistRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorWhitelistResponse
- func (*QueryValidatorWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorWhitelistResponse) GetValAddress() []string
- func (m *QueryValidatorWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorWhitelistResponse) ProtoMessage()
- func (m *QueryValidatorWhitelistResponse) Reset()
- func (m *QueryValidatorWhitelistResponse) Size() (n int)
- func (m *QueryValidatorWhitelistResponse) String() string
- func (m *QueryValidatorWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorWhitelistResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorWhitelistResponse) XXX_Size() int
- func (m *QueryValidatorWhitelistResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorWhitelistSwitchRequest
- func (*QueryValidatorWhitelistSwitchRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorWhitelistSwitchRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorWhitelistSwitchRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorWhitelistSwitchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorWhitelistSwitchRequest) ProtoMessage()
- func (m *QueryValidatorWhitelistSwitchRequest) Reset()
- func (m *QueryValidatorWhitelistSwitchRequest) Size() (n int)
- func (m *QueryValidatorWhitelistSwitchRequest) String() string
- func (m *QueryValidatorWhitelistSwitchRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorWhitelistSwitchRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorWhitelistSwitchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorWhitelistSwitchRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorWhitelistSwitchRequest) XXX_Size() int
- func (m *QueryValidatorWhitelistSwitchRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorWhitelistSwitchResponse
- func (*QueryValidatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorWhitelistSwitchResponse) GetIsOpen() bool
- func (m *QueryValidatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorWhitelistSwitchResponse) ProtoMessage()
- func (m *QueryValidatorWhitelistSwitchResponse) Reset()
- func (m *QueryValidatorWhitelistSwitchResponse) Size() (n int)
- func (m *QueryValidatorWhitelistSwitchResponse) String() string
- func (m *QueryValidatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorWhitelistSwitchResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorWhitelistSwitchResponse) XXX_Size() int
- func (m *QueryValidatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
- type SudoKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddDelegatorToWhitelist(ctx context.Context, req *MsgAddDelegatorToWhitelist) (*MsgAddDelegatorToWhitelistResponse, error)
- func (*UnimplementedMsgServer) AddValToWhitelist(ctx context.Context, req *MsgAddValToWhitelist) (*MsgAddValToWhitelistResponse, error)
- func (*UnimplementedMsgServer) ProvideToken(ctx context.Context, req *MsgProvideToken) (*MsgProvideTokenResponse, error)
- func (*UnimplementedMsgServer) RmDelegatorFromWhitelist(ctx context.Context, req *MsgRmDelegatorFromWhitelist) (*MsgRmDelegatorFromWhitelistResponse, error)
- func (*UnimplementedMsgServer) SetInflationBase(ctx context.Context, req *MsgSetInflationBase) (*MsgSetInflationBaseResponse, error)
- func (*UnimplementedMsgServer) ToggleDelegatorWhitelistSwitch(ctx context.Context, req *MsgToggleDelegatorWhitelistSwitch) (*MsgToggleDelegatorWhitelistSwitchResponse, error)
- func (*UnimplementedMsgServer) ToggleValidatorWhitelistSwitch(ctx context.Context, req *MsgToggleValidatorWhitelistSwitch) (*MsgToggleValidatorWhitelistSwitchResponse, error)
- func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DelegatorWhitelist(ctx context.Context, req *QueryDelegatorWhitelistRequest) (*QueryDelegatorWhitelistResponse, error)
- func (*UnimplementedQueryServer) DelegatorWhitelistSwitch(ctx context.Context, req *QueryDelegatorWhitelistSwitchRequest) (*QueryDelegatorWhitelistSwitchResponse, error)
- func (*UnimplementedQueryServer) InflationBase(ctx context.Context, req *QueryInflationBaseRequest) (*QueryInflationBaseResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ValidatorWhitelist(ctx context.Context, req *QueryValidatorWhitelistRequest) (*QueryValidatorWhitelistResponse, error)
- func (*UnimplementedQueryServer) ValidatorWhitelistSwitch(ctx context.Context, req *QueryValidatorWhitelistSwitchRequest) (*QueryValidatorWhitelistSwitchResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "rstaking" // 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_rstaking" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgAddDelegatorToWhitelist = "add_delegator_to_whitelist"
const TypeMsgAddValToWhitelist = "add_val_to_whitelist"
const TypeMsgProvideToken = "provide_token"
const TypeMsgRmDelegatorFromWhitelist = "rm_delegator_from_whitelist"
const TypeMsgSetInflationBase = "set_inflation_base"
const TypeMsgToggleDelegatorWhitelistSwitch = "toggle_delegator_whitelist_switch"
const TypeMsgToggleValidatorWhitelistSwitch = "toggle_validator_whitelist_switch"
const TypeMsgWithdraw = "withdraw"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrValAlreadyInWhitelist = sdkerrors.Register(ModuleName, 1100, "validator already in whitelist error") ErrInsufficientFunds = sdkerrors.Register(ModuleName, 1101, "insufficient funds error") ErrDelegatorAlreadyInWhitelist = sdkerrors.Register(ModuleName, 1102, "delegator already in whitelist error") ErrDenomUnmatch = sdkerrors.Register(ModuleName, 1103, "denom unmatch") ErrDelegatorNotInWhitelist = sdkerrors.Register(ModuleName, 1104, "delegator not in whitelist error") )
x/rstaking 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 ( ValAddressStoreKeyPrefix = []byte{0x00} InflationBaseKey = []byte{0x01} ValidatorWhitelistSwitchKey = []byte{0x02} DelegatorAddressStoreKeyPrefix = []byte{0x03} DelegatorWhitelistSwitchKey = []byte{0x04} )
var ( SwitchStateClose = []byte{0x00} SwitchStateOpen = []byte{0x01} )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func DelegatorAddressStoreKey ¶
func DelegatorAddressStoreKey(addr sdk.AccAddress) []byte
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func 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 ValAddressStoreKey ¶
func ValAddressStoreKey(addr sdk.ValAddress) []byte
Types ¶
type BankKeeper ¶
type BankKeeper interface { BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` InflationBase github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ CoinToBeBurned github_com_cosmos_cosmos_sdk_types.Coin `` /* 148-byte string literal not displayed */ ValidatorWhitelist []string `protobuf:"bytes,4,rep,name=validator_whitelist,json=validatorWhitelist,proto3" json:"validator_whitelist,omitempty"` ValidatorWhitelistSwitch bool `` /* 136-byte string literal not displayed */ DelegatorWhitelist []string `protobuf:"bytes,6,rep,name=delegator_whitelist,json=delegatorWhitelist,proto3" json:"delegator_whitelist,omitempty"` DelegatorWhitelistSwitch bool `` /* 136-byte string literal not displayed */ }
GenesisState defines the rstaking 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) GetDelegatorWhitelist ¶
func (m *GenesisState) GetDelegatorWhitelist() []string
func (*GenesisState) GetDelegatorWhitelistSwitch ¶
func (m *GenesisState) GetDelegatorWhitelistSwitch() bool
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetValidatorWhitelist ¶
func (m *GenesisState) GetValidatorWhitelist() []string
func (*GenesisState) GetValidatorWhitelistSwitch ¶
func (m *GenesisState) GetValidatorWhitelistSwitch() bool
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 MintKeeper ¶
type MsgAddDelegatorToWhitelist ¶
type MsgAddDelegatorToWhitelist struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` DelAddress string `protobuf:"bytes,2,opt,name=delAddress,proto3" json:"delAddress,omitempty"` }
func NewMsgAddDelegatorToWhitelist ¶
func NewMsgAddDelegatorToWhitelist(creator string, delAddress string) *MsgAddDelegatorToWhitelist
func (*MsgAddDelegatorToWhitelist) Descriptor ¶
func (*MsgAddDelegatorToWhitelist) Descriptor() ([]byte, []int)
func (*MsgAddDelegatorToWhitelist) GetCreator ¶
func (m *MsgAddDelegatorToWhitelist) GetCreator() string
func (*MsgAddDelegatorToWhitelist) GetDelAddress ¶
func (m *MsgAddDelegatorToWhitelist) GetDelAddress() string
func (*MsgAddDelegatorToWhitelist) GetSignBytes ¶
func (msg *MsgAddDelegatorToWhitelist) GetSignBytes() []byte
func (*MsgAddDelegatorToWhitelist) GetSigners ¶
func (msg *MsgAddDelegatorToWhitelist) GetSigners() []sdk.AccAddress
func (*MsgAddDelegatorToWhitelist) Marshal ¶
func (m *MsgAddDelegatorToWhitelist) Marshal() (dAtA []byte, err error)
func (*MsgAddDelegatorToWhitelist) MarshalTo ¶
func (m *MsgAddDelegatorToWhitelist) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddDelegatorToWhitelist) MarshalToSizedBuffer ¶
func (m *MsgAddDelegatorToWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddDelegatorToWhitelist) ProtoMessage ¶
func (*MsgAddDelegatorToWhitelist) ProtoMessage()
func (*MsgAddDelegatorToWhitelist) Reset ¶
func (m *MsgAddDelegatorToWhitelist) Reset()
func (*MsgAddDelegatorToWhitelist) Route ¶
func (msg *MsgAddDelegatorToWhitelist) Route() string
func (*MsgAddDelegatorToWhitelist) Size ¶
func (m *MsgAddDelegatorToWhitelist) Size() (n int)
func (*MsgAddDelegatorToWhitelist) String ¶
func (m *MsgAddDelegatorToWhitelist) String() string
func (*MsgAddDelegatorToWhitelist) Type ¶
func (msg *MsgAddDelegatorToWhitelist) Type() string
func (*MsgAddDelegatorToWhitelist) Unmarshal ¶
func (m *MsgAddDelegatorToWhitelist) Unmarshal(dAtA []byte) error
func (*MsgAddDelegatorToWhitelist) ValidateBasic ¶
func (msg *MsgAddDelegatorToWhitelist) ValidateBasic() error
func (*MsgAddDelegatorToWhitelist) XXX_DiscardUnknown ¶
func (m *MsgAddDelegatorToWhitelist) XXX_DiscardUnknown()
func (*MsgAddDelegatorToWhitelist) XXX_Marshal ¶
func (m *MsgAddDelegatorToWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddDelegatorToWhitelist) XXX_Merge ¶
func (m *MsgAddDelegatorToWhitelist) XXX_Merge(src proto.Message)
func (*MsgAddDelegatorToWhitelist) XXX_Size ¶
func (m *MsgAddDelegatorToWhitelist) XXX_Size() int
func (*MsgAddDelegatorToWhitelist) XXX_Unmarshal ¶
func (m *MsgAddDelegatorToWhitelist) XXX_Unmarshal(b []byte) error
type MsgAddDelegatorToWhitelistResponse ¶
type MsgAddDelegatorToWhitelistResponse struct { }
func (*MsgAddDelegatorToWhitelistResponse) Descriptor ¶
func (*MsgAddDelegatorToWhitelistResponse) Descriptor() ([]byte, []int)
func (*MsgAddDelegatorToWhitelistResponse) Marshal ¶
func (m *MsgAddDelegatorToWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddDelegatorToWhitelistResponse) MarshalTo ¶
func (m *MsgAddDelegatorToWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddDelegatorToWhitelistResponse) MarshalToSizedBuffer ¶
func (m *MsgAddDelegatorToWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddDelegatorToWhitelistResponse) ProtoMessage ¶
func (*MsgAddDelegatorToWhitelistResponse) ProtoMessage()
func (*MsgAddDelegatorToWhitelistResponse) Reset ¶
func (m *MsgAddDelegatorToWhitelistResponse) Reset()
func (*MsgAddDelegatorToWhitelistResponse) Size ¶
func (m *MsgAddDelegatorToWhitelistResponse) Size() (n int)
func (*MsgAddDelegatorToWhitelistResponse) String ¶
func (m *MsgAddDelegatorToWhitelistResponse) String() string
func (*MsgAddDelegatorToWhitelistResponse) Unmarshal ¶
func (m *MsgAddDelegatorToWhitelistResponse) Unmarshal(dAtA []byte) error
func (*MsgAddDelegatorToWhitelistResponse) XXX_DiscardUnknown ¶
func (m *MsgAddDelegatorToWhitelistResponse) XXX_DiscardUnknown()
func (*MsgAddDelegatorToWhitelistResponse) XXX_Marshal ¶
func (m *MsgAddDelegatorToWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddDelegatorToWhitelistResponse) XXX_Merge ¶
func (m *MsgAddDelegatorToWhitelistResponse) XXX_Merge(src proto.Message)
func (*MsgAddDelegatorToWhitelistResponse) XXX_Size ¶
func (m *MsgAddDelegatorToWhitelistResponse) XXX_Size() int
func (*MsgAddDelegatorToWhitelistResponse) XXX_Unmarshal ¶
func (m *MsgAddDelegatorToWhitelistResponse) XXX_Unmarshal(b []byte) error
type MsgAddValToWhitelist ¶
type MsgAddValToWhitelist struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ValAddress string `protobuf:"bytes,2,opt,name=valAddress,proto3" json:"valAddress,omitempty"` }
func NewMsgAddValToWhitelist ¶
func NewMsgAddValToWhitelist(creator string, valAddress string) *MsgAddValToWhitelist
func (*MsgAddValToWhitelist) Descriptor ¶
func (*MsgAddValToWhitelist) Descriptor() ([]byte, []int)
func (*MsgAddValToWhitelist) GetCreator ¶
func (m *MsgAddValToWhitelist) GetCreator() string
func (*MsgAddValToWhitelist) GetSignBytes ¶
func (msg *MsgAddValToWhitelist) GetSignBytes() []byte
func (*MsgAddValToWhitelist) GetSigners ¶
func (msg *MsgAddValToWhitelist) GetSigners() []sdk.AccAddress
func (*MsgAddValToWhitelist) GetValAddress ¶
func (m *MsgAddValToWhitelist) GetValAddress() string
func (*MsgAddValToWhitelist) Marshal ¶
func (m *MsgAddValToWhitelist) Marshal() (dAtA []byte, err error)
func (*MsgAddValToWhitelist) MarshalTo ¶
func (m *MsgAddValToWhitelist) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddValToWhitelist) MarshalToSizedBuffer ¶
func (m *MsgAddValToWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddValToWhitelist) ProtoMessage ¶
func (*MsgAddValToWhitelist) ProtoMessage()
func (*MsgAddValToWhitelist) Reset ¶
func (m *MsgAddValToWhitelist) Reset()
func (*MsgAddValToWhitelist) Route ¶
func (msg *MsgAddValToWhitelist) Route() string
func (*MsgAddValToWhitelist) Size ¶
func (m *MsgAddValToWhitelist) Size() (n int)
func (*MsgAddValToWhitelist) String ¶
func (m *MsgAddValToWhitelist) String() string
func (*MsgAddValToWhitelist) Type ¶
func (msg *MsgAddValToWhitelist) Type() string
func (*MsgAddValToWhitelist) Unmarshal ¶
func (m *MsgAddValToWhitelist) Unmarshal(dAtA []byte) error
func (*MsgAddValToWhitelist) ValidateBasic ¶
func (msg *MsgAddValToWhitelist) ValidateBasic() error
func (*MsgAddValToWhitelist) XXX_DiscardUnknown ¶
func (m *MsgAddValToWhitelist) XXX_DiscardUnknown()
func (*MsgAddValToWhitelist) XXX_Marshal ¶
func (m *MsgAddValToWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddValToWhitelist) XXX_Merge ¶
func (m *MsgAddValToWhitelist) XXX_Merge(src proto.Message)
func (*MsgAddValToWhitelist) XXX_Size ¶
func (m *MsgAddValToWhitelist) XXX_Size() int
func (*MsgAddValToWhitelist) XXX_Unmarshal ¶
func (m *MsgAddValToWhitelist) XXX_Unmarshal(b []byte) error
type MsgAddValToWhitelistResponse ¶
type MsgAddValToWhitelistResponse struct { }
func (*MsgAddValToWhitelistResponse) Descriptor ¶
func (*MsgAddValToWhitelistResponse) Descriptor() ([]byte, []int)
func (*MsgAddValToWhitelistResponse) Marshal ¶
func (m *MsgAddValToWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddValToWhitelistResponse) MarshalTo ¶
func (m *MsgAddValToWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddValToWhitelistResponse) MarshalToSizedBuffer ¶
func (m *MsgAddValToWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddValToWhitelistResponse) ProtoMessage ¶
func (*MsgAddValToWhitelistResponse) ProtoMessage()
func (*MsgAddValToWhitelistResponse) Reset ¶
func (m *MsgAddValToWhitelistResponse) Reset()
func (*MsgAddValToWhitelistResponse) Size ¶
func (m *MsgAddValToWhitelistResponse) Size() (n int)
func (*MsgAddValToWhitelistResponse) String ¶
func (m *MsgAddValToWhitelistResponse) String() string
func (*MsgAddValToWhitelistResponse) Unmarshal ¶
func (m *MsgAddValToWhitelistResponse) Unmarshal(dAtA []byte) error
func (*MsgAddValToWhitelistResponse) XXX_DiscardUnknown ¶
func (m *MsgAddValToWhitelistResponse) XXX_DiscardUnknown()
func (*MsgAddValToWhitelistResponse) XXX_Marshal ¶
func (m *MsgAddValToWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddValToWhitelistResponse) XXX_Merge ¶
func (m *MsgAddValToWhitelistResponse) XXX_Merge(src proto.Message)
func (*MsgAddValToWhitelistResponse) XXX_Size ¶
func (m *MsgAddValToWhitelistResponse) XXX_Size() int
func (*MsgAddValToWhitelistResponse) XXX_Unmarshal ¶
func (m *MsgAddValToWhitelistResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { SetInflationBase(ctx context.Context, in *MsgSetInflationBase, opts ...grpc.CallOption) (*MsgSetInflationBaseResponse, error) AddValToWhitelist(ctx context.Context, in *MsgAddValToWhitelist, opts ...grpc.CallOption) (*MsgAddValToWhitelistResponse, error) ToggleValidatorWhitelistSwitch(ctx context.Context, in *MsgToggleValidatorWhitelistSwitch, opts ...grpc.CallOption) (*MsgToggleValidatorWhitelistSwitchResponse, error) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) AddDelegatorToWhitelist(ctx context.Context, in *MsgAddDelegatorToWhitelist, opts ...grpc.CallOption) (*MsgAddDelegatorToWhitelistResponse, error) ToggleDelegatorWhitelistSwitch(ctx context.Context, in *MsgToggleDelegatorWhitelistSwitch, opts ...grpc.CallOption) (*MsgToggleDelegatorWhitelistSwitchResponse, error) ProvideToken(ctx context.Context, in *MsgProvideToken, opts ...grpc.CallOption) (*MsgProvideTokenResponse, error) RmDelegatorFromWhitelist(ctx context.Context, in *MsgRmDelegatorFromWhitelist, opts ...grpc.CallOption) (*MsgRmDelegatorFromWhitelistResponse, 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 MsgProvideToken ¶
type MsgProvideToken struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Token github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=token,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"token"` }
func NewMsgProvideToken ¶
func NewMsgProvideToken(creator string, token sdk.Coin) *MsgProvideToken
func (*MsgProvideToken) Descriptor ¶
func (*MsgProvideToken) Descriptor() ([]byte, []int)
func (*MsgProvideToken) GetCreator ¶
func (m *MsgProvideToken) GetCreator() string
func (*MsgProvideToken) GetSignBytes ¶
func (msg *MsgProvideToken) GetSignBytes() []byte
func (*MsgProvideToken) GetSigners ¶
func (msg *MsgProvideToken) GetSigners() []sdk.AccAddress
func (*MsgProvideToken) Marshal ¶
func (m *MsgProvideToken) Marshal() (dAtA []byte, err error)
func (*MsgProvideToken) MarshalToSizedBuffer ¶
func (m *MsgProvideToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProvideToken) ProtoMessage ¶
func (*MsgProvideToken) ProtoMessage()
func (*MsgProvideToken) Reset ¶
func (m *MsgProvideToken) Reset()
func (*MsgProvideToken) Route ¶
func (msg *MsgProvideToken) Route() string
func (*MsgProvideToken) Size ¶
func (m *MsgProvideToken) Size() (n int)
func (*MsgProvideToken) String ¶
func (m *MsgProvideToken) String() string
func (*MsgProvideToken) Type ¶
func (msg *MsgProvideToken) Type() string
func (*MsgProvideToken) Unmarshal ¶
func (m *MsgProvideToken) Unmarshal(dAtA []byte) error
func (*MsgProvideToken) ValidateBasic ¶
func (msg *MsgProvideToken) ValidateBasic() error
func (*MsgProvideToken) XXX_DiscardUnknown ¶
func (m *MsgProvideToken) XXX_DiscardUnknown()
func (*MsgProvideToken) XXX_Marshal ¶
func (m *MsgProvideToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProvideToken) XXX_Merge ¶
func (m *MsgProvideToken) XXX_Merge(src proto.Message)
func (*MsgProvideToken) XXX_Size ¶
func (m *MsgProvideToken) XXX_Size() int
func (*MsgProvideToken) XXX_Unmarshal ¶
func (m *MsgProvideToken) XXX_Unmarshal(b []byte) error
type MsgProvideTokenResponse ¶
type MsgProvideTokenResponse struct { }
func (*MsgProvideTokenResponse) Descriptor ¶
func (*MsgProvideTokenResponse) Descriptor() ([]byte, []int)
func (*MsgProvideTokenResponse) Marshal ¶
func (m *MsgProvideTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgProvideTokenResponse) MarshalTo ¶
func (m *MsgProvideTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgProvideTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgProvideTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProvideTokenResponse) ProtoMessage ¶
func (*MsgProvideTokenResponse) ProtoMessage()
func (*MsgProvideTokenResponse) Reset ¶
func (m *MsgProvideTokenResponse) Reset()
func (*MsgProvideTokenResponse) Size ¶
func (m *MsgProvideTokenResponse) Size() (n int)
func (*MsgProvideTokenResponse) String ¶
func (m *MsgProvideTokenResponse) String() string
func (*MsgProvideTokenResponse) Unmarshal ¶
func (m *MsgProvideTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgProvideTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgProvideTokenResponse) XXX_DiscardUnknown()
func (*MsgProvideTokenResponse) XXX_Marshal ¶
func (m *MsgProvideTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProvideTokenResponse) XXX_Merge ¶
func (m *MsgProvideTokenResponse) XXX_Merge(src proto.Message)
func (*MsgProvideTokenResponse) XXX_Size ¶
func (m *MsgProvideTokenResponse) XXX_Size() int
func (*MsgProvideTokenResponse) XXX_Unmarshal ¶
func (m *MsgProvideTokenResponse) XXX_Unmarshal(b []byte) error
type MsgRmDelegatorFromWhitelist ¶
type MsgRmDelegatorFromWhitelist struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` DelAddress string `protobuf:"bytes,2,opt,name=delAddress,proto3" json:"delAddress,omitempty"` }
func NewMsgRmDelegatorFromWhitelist ¶
func NewMsgRmDelegatorFromWhitelist(creator string, delAddress string) *MsgRmDelegatorFromWhitelist
func (*MsgRmDelegatorFromWhitelist) Descriptor ¶
func (*MsgRmDelegatorFromWhitelist) Descriptor() ([]byte, []int)
func (*MsgRmDelegatorFromWhitelist) GetCreator ¶
func (m *MsgRmDelegatorFromWhitelist) GetCreator() string
func (*MsgRmDelegatorFromWhitelist) GetDelAddress ¶
func (m *MsgRmDelegatorFromWhitelist) GetDelAddress() string
func (*MsgRmDelegatorFromWhitelist) GetSignBytes ¶
func (msg *MsgRmDelegatorFromWhitelist) GetSignBytes() []byte
func (*MsgRmDelegatorFromWhitelist) GetSigners ¶
func (msg *MsgRmDelegatorFromWhitelist) GetSigners() []sdk.AccAddress
func (*MsgRmDelegatorFromWhitelist) Marshal ¶
func (m *MsgRmDelegatorFromWhitelist) Marshal() (dAtA []byte, err error)
func (*MsgRmDelegatorFromWhitelist) MarshalTo ¶
func (m *MsgRmDelegatorFromWhitelist) MarshalTo(dAtA []byte) (int, error)
func (*MsgRmDelegatorFromWhitelist) MarshalToSizedBuffer ¶
func (m *MsgRmDelegatorFromWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmDelegatorFromWhitelist) ProtoMessage ¶
func (*MsgRmDelegatorFromWhitelist) ProtoMessage()
func (*MsgRmDelegatorFromWhitelist) Reset ¶
func (m *MsgRmDelegatorFromWhitelist) Reset()
func (*MsgRmDelegatorFromWhitelist) Route ¶
func (msg *MsgRmDelegatorFromWhitelist) Route() string
func (*MsgRmDelegatorFromWhitelist) Size ¶
func (m *MsgRmDelegatorFromWhitelist) Size() (n int)
func (*MsgRmDelegatorFromWhitelist) String ¶
func (m *MsgRmDelegatorFromWhitelist) String() string
func (*MsgRmDelegatorFromWhitelist) Type ¶
func (msg *MsgRmDelegatorFromWhitelist) Type() string
func (*MsgRmDelegatorFromWhitelist) Unmarshal ¶
func (m *MsgRmDelegatorFromWhitelist) Unmarshal(dAtA []byte) error
func (*MsgRmDelegatorFromWhitelist) ValidateBasic ¶
func (msg *MsgRmDelegatorFromWhitelist) ValidateBasic() error
func (*MsgRmDelegatorFromWhitelist) XXX_DiscardUnknown ¶
func (m *MsgRmDelegatorFromWhitelist) XXX_DiscardUnknown()
func (*MsgRmDelegatorFromWhitelist) XXX_Marshal ¶
func (m *MsgRmDelegatorFromWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmDelegatorFromWhitelist) XXX_Merge ¶
func (m *MsgRmDelegatorFromWhitelist) XXX_Merge(src proto.Message)
func (*MsgRmDelegatorFromWhitelist) XXX_Size ¶
func (m *MsgRmDelegatorFromWhitelist) XXX_Size() int
func (*MsgRmDelegatorFromWhitelist) XXX_Unmarshal ¶
func (m *MsgRmDelegatorFromWhitelist) XXX_Unmarshal(b []byte) error
type MsgRmDelegatorFromWhitelistResponse ¶
type MsgRmDelegatorFromWhitelistResponse struct { }
func (*MsgRmDelegatorFromWhitelistResponse) Descriptor ¶
func (*MsgRmDelegatorFromWhitelistResponse) Descriptor() ([]byte, []int)
func (*MsgRmDelegatorFromWhitelistResponse) Marshal ¶
func (m *MsgRmDelegatorFromWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*MsgRmDelegatorFromWhitelistResponse) MarshalTo ¶
func (m *MsgRmDelegatorFromWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRmDelegatorFromWhitelistResponse) MarshalToSizedBuffer ¶
func (m *MsgRmDelegatorFromWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmDelegatorFromWhitelistResponse) ProtoMessage ¶
func (*MsgRmDelegatorFromWhitelistResponse) ProtoMessage()
func (*MsgRmDelegatorFromWhitelistResponse) Reset ¶
func (m *MsgRmDelegatorFromWhitelistResponse) Reset()
func (*MsgRmDelegatorFromWhitelistResponse) Size ¶
func (m *MsgRmDelegatorFromWhitelistResponse) Size() (n int)
func (*MsgRmDelegatorFromWhitelistResponse) String ¶
func (m *MsgRmDelegatorFromWhitelistResponse) String() string
func (*MsgRmDelegatorFromWhitelistResponse) Unmarshal ¶
func (m *MsgRmDelegatorFromWhitelistResponse) Unmarshal(dAtA []byte) error
func (*MsgRmDelegatorFromWhitelistResponse) XXX_DiscardUnknown ¶
func (m *MsgRmDelegatorFromWhitelistResponse) XXX_DiscardUnknown()
func (*MsgRmDelegatorFromWhitelistResponse) XXX_Marshal ¶
func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmDelegatorFromWhitelistResponse) XXX_Merge ¶
func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Merge(src proto.Message)
func (*MsgRmDelegatorFromWhitelistResponse) XXX_Size ¶
func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Size() int
func (*MsgRmDelegatorFromWhitelistResponse) XXX_Unmarshal ¶
func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { SetInflationBase(context.Context, *MsgSetInflationBase) (*MsgSetInflationBaseResponse, error) AddValToWhitelist(context.Context, *MsgAddValToWhitelist) (*MsgAddValToWhitelistResponse, error) ToggleValidatorWhitelistSwitch(context.Context, *MsgToggleValidatorWhitelistSwitch) (*MsgToggleValidatorWhitelistSwitchResponse, error) Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error) AddDelegatorToWhitelist(context.Context, *MsgAddDelegatorToWhitelist) (*MsgAddDelegatorToWhitelistResponse, error) ToggleDelegatorWhitelistSwitch(context.Context, *MsgToggleDelegatorWhitelistSwitch) (*MsgToggleDelegatorWhitelistSwitchResponse, error) ProvideToken(context.Context, *MsgProvideToken) (*MsgProvideTokenResponse, error) RmDelegatorFromWhitelist(context.Context, *MsgRmDelegatorFromWhitelist) (*MsgRmDelegatorFromWhitelistResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetInflationBase ¶
type MsgSetInflationBase struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` InflationBase github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=inflationBase,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"inflationBase"` }
func NewMsgSetInflationBase ¶
func NewMsgSetInflationBase(creator string, inflationBase sdk.Int) *MsgSetInflationBase
func (*MsgSetInflationBase) Descriptor ¶
func (*MsgSetInflationBase) Descriptor() ([]byte, []int)
func (*MsgSetInflationBase) GetCreator ¶
func (m *MsgSetInflationBase) GetCreator() string
func (*MsgSetInflationBase) GetSignBytes ¶
func (msg *MsgSetInflationBase) GetSignBytes() []byte
func (*MsgSetInflationBase) GetSigners ¶
func (msg *MsgSetInflationBase) GetSigners() []sdk.AccAddress
func (*MsgSetInflationBase) Marshal ¶
func (m *MsgSetInflationBase) Marshal() (dAtA []byte, err error)
func (*MsgSetInflationBase) MarshalTo ¶
func (m *MsgSetInflationBase) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetInflationBase) MarshalToSizedBuffer ¶
func (m *MsgSetInflationBase) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetInflationBase) ProtoMessage ¶
func (*MsgSetInflationBase) ProtoMessage()
func (*MsgSetInflationBase) Reset ¶
func (m *MsgSetInflationBase) Reset()
func (*MsgSetInflationBase) Route ¶
func (msg *MsgSetInflationBase) Route() string
func (*MsgSetInflationBase) Size ¶
func (m *MsgSetInflationBase) Size() (n int)
func (*MsgSetInflationBase) String ¶
func (m *MsgSetInflationBase) String() string
func (*MsgSetInflationBase) Type ¶
func (msg *MsgSetInflationBase) Type() string
func (*MsgSetInflationBase) Unmarshal ¶
func (m *MsgSetInflationBase) Unmarshal(dAtA []byte) error
func (*MsgSetInflationBase) ValidateBasic ¶
func (msg *MsgSetInflationBase) ValidateBasic() error
func (*MsgSetInflationBase) XXX_DiscardUnknown ¶
func (m *MsgSetInflationBase) XXX_DiscardUnknown()
func (*MsgSetInflationBase) XXX_Marshal ¶
func (m *MsgSetInflationBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetInflationBase) XXX_Merge ¶
func (m *MsgSetInflationBase) XXX_Merge(src proto.Message)
func (*MsgSetInflationBase) XXX_Size ¶
func (m *MsgSetInflationBase) XXX_Size() int
func (*MsgSetInflationBase) XXX_Unmarshal ¶
func (m *MsgSetInflationBase) XXX_Unmarshal(b []byte) error
type MsgSetInflationBaseResponse ¶
type MsgSetInflationBaseResponse struct { }
func (*MsgSetInflationBaseResponse) Descriptor ¶
func (*MsgSetInflationBaseResponse) Descriptor() ([]byte, []int)
func (*MsgSetInflationBaseResponse) Marshal ¶
func (m *MsgSetInflationBaseResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetInflationBaseResponse) MarshalTo ¶
func (m *MsgSetInflationBaseResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetInflationBaseResponse) MarshalToSizedBuffer ¶
func (m *MsgSetInflationBaseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetInflationBaseResponse) ProtoMessage ¶
func (*MsgSetInflationBaseResponse) ProtoMessage()
func (*MsgSetInflationBaseResponse) Reset ¶
func (m *MsgSetInflationBaseResponse) Reset()
func (*MsgSetInflationBaseResponse) Size ¶
func (m *MsgSetInflationBaseResponse) Size() (n int)
func (*MsgSetInflationBaseResponse) String ¶
func (m *MsgSetInflationBaseResponse) String() string
func (*MsgSetInflationBaseResponse) Unmarshal ¶
func (m *MsgSetInflationBaseResponse) Unmarshal(dAtA []byte) error
func (*MsgSetInflationBaseResponse) XXX_DiscardUnknown ¶
func (m *MsgSetInflationBaseResponse) XXX_DiscardUnknown()
func (*MsgSetInflationBaseResponse) XXX_Marshal ¶
func (m *MsgSetInflationBaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetInflationBaseResponse) XXX_Merge ¶
func (m *MsgSetInflationBaseResponse) XXX_Merge(src proto.Message)
func (*MsgSetInflationBaseResponse) XXX_Size ¶
func (m *MsgSetInflationBaseResponse) XXX_Size() int
func (*MsgSetInflationBaseResponse) XXX_Unmarshal ¶
func (m *MsgSetInflationBaseResponse) XXX_Unmarshal(b []byte) error
type MsgToggleDelegatorWhitelistSwitch ¶
type MsgToggleDelegatorWhitelistSwitch struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}
func NewMsgToggleDelegatorWhitelistSwitch ¶
func NewMsgToggleDelegatorWhitelistSwitch(creator string) *MsgToggleDelegatorWhitelistSwitch
func (*MsgToggleDelegatorWhitelistSwitch) Descriptor ¶
func (*MsgToggleDelegatorWhitelistSwitch) Descriptor() ([]byte, []int)
func (*MsgToggleDelegatorWhitelistSwitch) GetCreator ¶
func (m *MsgToggleDelegatorWhitelistSwitch) GetCreator() string
func (*MsgToggleDelegatorWhitelistSwitch) GetSignBytes ¶
func (msg *MsgToggleDelegatorWhitelistSwitch) GetSignBytes() []byte
func (*MsgToggleDelegatorWhitelistSwitch) GetSigners ¶
func (msg *MsgToggleDelegatorWhitelistSwitch) GetSigners() []sdk.AccAddress
func (*MsgToggleDelegatorWhitelistSwitch) Marshal ¶
func (m *MsgToggleDelegatorWhitelistSwitch) Marshal() (dAtA []byte, err error)
func (*MsgToggleDelegatorWhitelistSwitch) MarshalTo ¶
func (m *MsgToggleDelegatorWhitelistSwitch) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleDelegatorWhitelistSwitch) MarshalToSizedBuffer ¶
func (m *MsgToggleDelegatorWhitelistSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleDelegatorWhitelistSwitch) ProtoMessage ¶
func (*MsgToggleDelegatorWhitelistSwitch) ProtoMessage()
func (*MsgToggleDelegatorWhitelistSwitch) Reset ¶
func (m *MsgToggleDelegatorWhitelistSwitch) Reset()
func (*MsgToggleDelegatorWhitelistSwitch) Route ¶
func (msg *MsgToggleDelegatorWhitelistSwitch) Route() string
func (*MsgToggleDelegatorWhitelistSwitch) Size ¶
func (m *MsgToggleDelegatorWhitelistSwitch) Size() (n int)
func (*MsgToggleDelegatorWhitelistSwitch) String ¶
func (m *MsgToggleDelegatorWhitelistSwitch) String() string
func (*MsgToggleDelegatorWhitelistSwitch) Type ¶
func (msg *MsgToggleDelegatorWhitelistSwitch) Type() string
func (*MsgToggleDelegatorWhitelistSwitch) Unmarshal ¶
func (m *MsgToggleDelegatorWhitelistSwitch) Unmarshal(dAtA []byte) error
func (*MsgToggleDelegatorWhitelistSwitch) ValidateBasic ¶
func (msg *MsgToggleDelegatorWhitelistSwitch) ValidateBasic() error
func (*MsgToggleDelegatorWhitelistSwitch) XXX_DiscardUnknown ¶
func (m *MsgToggleDelegatorWhitelistSwitch) XXX_DiscardUnknown()
func (*MsgToggleDelegatorWhitelistSwitch) XXX_Marshal ¶
func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleDelegatorWhitelistSwitch) XXX_Merge ¶
func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Merge(src proto.Message)
func (*MsgToggleDelegatorWhitelistSwitch) XXX_Size ¶
func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Size() int
func (*MsgToggleDelegatorWhitelistSwitch) XXX_Unmarshal ¶
func (m *MsgToggleDelegatorWhitelistSwitch) XXX_Unmarshal(b []byte) error
type MsgToggleDelegatorWhitelistSwitchResponse ¶
type MsgToggleDelegatorWhitelistSwitchResponse struct { }
func (*MsgToggleDelegatorWhitelistSwitchResponse) Descriptor ¶
func (*MsgToggleDelegatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
func (*MsgToggleDelegatorWhitelistSwitchResponse) Marshal ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
func (*MsgToggleDelegatorWhitelistSwitchResponse) MarshalTo ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleDelegatorWhitelistSwitchResponse) MarshalToSizedBuffer ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleDelegatorWhitelistSwitchResponse) ProtoMessage ¶
func (*MsgToggleDelegatorWhitelistSwitchResponse) ProtoMessage()
func (*MsgToggleDelegatorWhitelistSwitchResponse) Reset ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) Reset()
func (*MsgToggleDelegatorWhitelistSwitchResponse) Size ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) Size() (n int)
func (*MsgToggleDelegatorWhitelistSwitchResponse) String ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) String() string
func (*MsgToggleDelegatorWhitelistSwitchResponse) Unmarshal ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
func (*MsgToggleDelegatorWhitelistSwitchResponse) XXX_DiscardUnknown ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_DiscardUnknown()
func (*MsgToggleDelegatorWhitelistSwitchResponse) XXX_Marshal ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleDelegatorWhitelistSwitchResponse) XXX_Merge ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
func (*MsgToggleDelegatorWhitelistSwitchResponse) XXX_Size ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Size() int
func (*MsgToggleDelegatorWhitelistSwitchResponse) XXX_Unmarshal ¶
func (m *MsgToggleDelegatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
type MsgToggleValidatorWhitelistSwitch ¶
type MsgToggleValidatorWhitelistSwitch struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}
func NewMsgToggleValidatorWhitelistSwitch ¶
func NewMsgToggleValidatorWhitelistSwitch(creator string) *MsgToggleValidatorWhitelistSwitch
func (*MsgToggleValidatorWhitelistSwitch) Descriptor ¶
func (*MsgToggleValidatorWhitelistSwitch) Descriptor() ([]byte, []int)
func (*MsgToggleValidatorWhitelistSwitch) GetCreator ¶
func (m *MsgToggleValidatorWhitelistSwitch) GetCreator() string
func (*MsgToggleValidatorWhitelistSwitch) GetSignBytes ¶
func (msg *MsgToggleValidatorWhitelistSwitch) GetSignBytes() []byte
func (*MsgToggleValidatorWhitelistSwitch) GetSigners ¶
func (msg *MsgToggleValidatorWhitelistSwitch) GetSigners() []sdk.AccAddress
func (*MsgToggleValidatorWhitelistSwitch) Marshal ¶
func (m *MsgToggleValidatorWhitelistSwitch) Marshal() (dAtA []byte, err error)
func (*MsgToggleValidatorWhitelistSwitch) MarshalTo ¶
func (m *MsgToggleValidatorWhitelistSwitch) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleValidatorWhitelistSwitch) MarshalToSizedBuffer ¶
func (m *MsgToggleValidatorWhitelistSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleValidatorWhitelistSwitch) ProtoMessage ¶
func (*MsgToggleValidatorWhitelistSwitch) ProtoMessage()
func (*MsgToggleValidatorWhitelistSwitch) Reset ¶
func (m *MsgToggleValidatorWhitelistSwitch) Reset()
func (*MsgToggleValidatorWhitelistSwitch) Route ¶
func (msg *MsgToggleValidatorWhitelistSwitch) Route() string
func (*MsgToggleValidatorWhitelistSwitch) Size ¶
func (m *MsgToggleValidatorWhitelistSwitch) Size() (n int)
func (*MsgToggleValidatorWhitelistSwitch) String ¶
func (m *MsgToggleValidatorWhitelistSwitch) String() string
func (*MsgToggleValidatorWhitelistSwitch) Type ¶
func (msg *MsgToggleValidatorWhitelistSwitch) Type() string
func (*MsgToggleValidatorWhitelistSwitch) Unmarshal ¶
func (m *MsgToggleValidatorWhitelistSwitch) Unmarshal(dAtA []byte) error
func (*MsgToggleValidatorWhitelistSwitch) ValidateBasic ¶
func (msg *MsgToggleValidatorWhitelistSwitch) ValidateBasic() error
func (*MsgToggleValidatorWhitelistSwitch) XXX_DiscardUnknown ¶
func (m *MsgToggleValidatorWhitelistSwitch) XXX_DiscardUnknown()
func (*MsgToggleValidatorWhitelistSwitch) XXX_Marshal ¶
func (m *MsgToggleValidatorWhitelistSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleValidatorWhitelistSwitch) XXX_Merge ¶
func (m *MsgToggleValidatorWhitelistSwitch) XXX_Merge(src proto.Message)
func (*MsgToggleValidatorWhitelistSwitch) XXX_Size ¶
func (m *MsgToggleValidatorWhitelistSwitch) XXX_Size() int
func (*MsgToggleValidatorWhitelistSwitch) XXX_Unmarshal ¶
func (m *MsgToggleValidatorWhitelistSwitch) XXX_Unmarshal(b []byte) error
type MsgToggleValidatorWhitelistSwitchResponse ¶
type MsgToggleValidatorWhitelistSwitchResponse struct { }
func (*MsgToggleValidatorWhitelistSwitchResponse) Descriptor ¶
func (*MsgToggleValidatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
func (*MsgToggleValidatorWhitelistSwitchResponse) Marshal ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
func (*MsgToggleValidatorWhitelistSwitchResponse) MarshalTo ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleValidatorWhitelistSwitchResponse) MarshalToSizedBuffer ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleValidatorWhitelistSwitchResponse) ProtoMessage ¶
func (*MsgToggleValidatorWhitelistSwitchResponse) ProtoMessage()
func (*MsgToggleValidatorWhitelistSwitchResponse) Reset ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) Reset()
func (*MsgToggleValidatorWhitelistSwitchResponse) Size ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) Size() (n int)
func (*MsgToggleValidatorWhitelistSwitchResponse) String ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) String() string
func (*MsgToggleValidatorWhitelistSwitchResponse) Unmarshal ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
func (*MsgToggleValidatorWhitelistSwitchResponse) XXX_DiscardUnknown ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_DiscardUnknown()
func (*MsgToggleValidatorWhitelistSwitchResponse) XXX_Marshal ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleValidatorWhitelistSwitchResponse) XXX_Merge ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
func (*MsgToggleValidatorWhitelistSwitchResponse) XXX_Size ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Size() int
func (*MsgToggleValidatorWhitelistSwitchResponse) XXX_Unmarshal ¶
func (m *MsgToggleValidatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
type MsgWithdraw ¶
type MsgWithdraw struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` }
func NewMsgWithdraw ¶
func NewMsgWithdraw(creator string, amount sdk.Coin, recepient string) *MsgWithdraw
func (*MsgWithdraw) Descriptor ¶
func (*MsgWithdraw) Descriptor() ([]byte, []int)
func (*MsgWithdraw) GetCreator ¶
func (m *MsgWithdraw) GetCreator() string
func (*MsgWithdraw) GetRecipient ¶
func (m *MsgWithdraw) GetRecipient() string
func (*MsgWithdraw) GetSignBytes ¶
func (msg *MsgWithdraw) GetSignBytes() []byte
func (*MsgWithdraw) GetSigners ¶
func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
func (*MsgWithdraw) Marshal ¶
func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgWithdraw) MarshalToSizedBuffer ¶
func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdraw) ProtoMessage ¶
func (*MsgWithdraw) ProtoMessage()
func (*MsgWithdraw) Reset ¶
func (m *MsgWithdraw) Reset()
func (*MsgWithdraw) Route ¶
func (msg *MsgWithdraw) Route() string
func (*MsgWithdraw) Size ¶
func (m *MsgWithdraw) Size() (n int)
func (*MsgWithdraw) String ¶
func (m *MsgWithdraw) String() string
func (*MsgWithdraw) Type ¶
func (msg *MsgWithdraw) Type() string
func (*MsgWithdraw) Unmarshal ¶
func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
func (*MsgWithdraw) ValidateBasic ¶
func (msg *MsgWithdraw) ValidateBasic() error
func (*MsgWithdraw) XXX_DiscardUnknown ¶
func (m *MsgWithdraw) XXX_DiscardUnknown()
func (*MsgWithdraw) XXX_Marshal ¶
func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdraw) XXX_Merge ¶
func (m *MsgWithdraw) XXX_Merge(src proto.Message)
func (*MsgWithdraw) XXX_Size ¶
func (m *MsgWithdraw) XXX_Size() int
func (*MsgWithdraw) XXX_Unmarshal ¶
func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
type MsgWithdrawResponse ¶
type MsgWithdrawResponse struct { }
func (*MsgWithdrawResponse) Descriptor ¶
func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawResponse) Marshal ¶
func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawResponse) MarshalTo ¶
func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) ProtoMessage ¶
func (*MsgWithdrawResponse) ProtoMessage()
func (*MsgWithdrawResponse) Reset ¶
func (m *MsgWithdrawResponse) Reset()
func (*MsgWithdrawResponse) Size ¶
func (m *MsgWithdrawResponse) Size() (n int)
func (*MsgWithdrawResponse) String ¶
func (m *MsgWithdrawResponse) String() string
func (*MsgWithdrawResponse) Unmarshal ¶
func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
func (*MsgWithdrawResponse) XXX_Marshal ¶
func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawResponse) XXX_Merge ¶
func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawResponse) XXX_Size ¶
func (m *MsgWithdrawResponse) XXX_Size() int
func (*MsgWithdrawResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawResponse) 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 InflationBase items. InflationBase(ctx context.Context, in *QueryInflationBaseRequest, opts ...grpc.CallOption) (*QueryInflationBaseResponse, error) // Queries a list of ValidatorWhitelist items. ValidatorWhitelist(ctx context.Context, in *QueryValidatorWhitelistRequest, opts ...grpc.CallOption) (*QueryValidatorWhitelistResponse, error) // Queries a list of WhitelistSwitch items. ValidatorWhitelistSwitch(ctx context.Context, in *QueryValidatorWhitelistSwitchRequest, opts ...grpc.CallOption) (*QueryValidatorWhitelistSwitchResponse, error) // Queries a list of DelegatorWhitelist items. DelegatorWhitelist(ctx context.Context, in *QueryDelegatorWhitelistRequest, opts ...grpc.CallOption) (*QueryDelegatorWhitelistResponse, error) // Queries a list of DelegatorWhitelistSwitch items. DelegatorWhitelistSwitch(ctx context.Context, in *QueryDelegatorWhitelistSwitchRequest, opts ...grpc.CallOption) (*QueryDelegatorWhitelistSwitchResponse, 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 QueryDelegatorWhitelistRequest ¶
type QueryDelegatorWhitelistRequest struct { }
func (*QueryDelegatorWhitelistRequest) Descriptor ¶
func (*QueryDelegatorWhitelistRequest) Descriptor() ([]byte, []int)
func (*QueryDelegatorWhitelistRequest) Marshal ¶
func (m *QueryDelegatorWhitelistRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorWhitelistRequest) MarshalTo ¶
func (m *QueryDelegatorWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistRequest) MarshalToSizedBuffer ¶
func (m *QueryDelegatorWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistRequest) ProtoMessage ¶
func (*QueryDelegatorWhitelistRequest) ProtoMessage()
func (*QueryDelegatorWhitelistRequest) Reset ¶
func (m *QueryDelegatorWhitelistRequest) Reset()
func (*QueryDelegatorWhitelistRequest) Size ¶
func (m *QueryDelegatorWhitelistRequest) Size() (n int)
func (*QueryDelegatorWhitelistRequest) String ¶
func (m *QueryDelegatorWhitelistRequest) String() string
func (*QueryDelegatorWhitelistRequest) Unmarshal ¶
func (m *QueryDelegatorWhitelistRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegatorWhitelistRequest) XXX_DiscardUnknown ¶
func (m *QueryDelegatorWhitelistRequest) XXX_DiscardUnknown()
func (*QueryDelegatorWhitelistRequest) XXX_Marshal ¶
func (m *QueryDelegatorWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorWhitelistRequest) XXX_Merge ¶
func (m *QueryDelegatorWhitelistRequest) XXX_Merge(src proto.Message)
func (*QueryDelegatorWhitelistRequest) XXX_Size ¶
func (m *QueryDelegatorWhitelistRequest) XXX_Size() int
func (*QueryDelegatorWhitelistRequest) XXX_Unmarshal ¶
func (m *QueryDelegatorWhitelistRequest) XXX_Unmarshal(b []byte) error
type QueryDelegatorWhitelistResponse ¶
type QueryDelegatorWhitelistResponse struct {
DelegatorAddress []string `protobuf:"bytes,1,rep,name=delegatorAddress,proto3" json:"delegatorAddress,omitempty"`
}
func (*QueryDelegatorWhitelistResponse) Descriptor ¶
func (*QueryDelegatorWhitelistResponse) Descriptor() ([]byte, []int)
func (*QueryDelegatorWhitelistResponse) GetDelegatorAddress ¶
func (m *QueryDelegatorWhitelistResponse) GetDelegatorAddress() []string
func (*QueryDelegatorWhitelistResponse) Marshal ¶
func (m *QueryDelegatorWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorWhitelistResponse) MarshalTo ¶
func (m *QueryDelegatorWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistResponse) MarshalToSizedBuffer ¶
func (m *QueryDelegatorWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistResponse) ProtoMessage ¶
func (*QueryDelegatorWhitelistResponse) ProtoMessage()
func (*QueryDelegatorWhitelistResponse) Reset ¶
func (m *QueryDelegatorWhitelistResponse) Reset()
func (*QueryDelegatorWhitelistResponse) Size ¶
func (m *QueryDelegatorWhitelistResponse) Size() (n int)
func (*QueryDelegatorWhitelistResponse) String ¶
func (m *QueryDelegatorWhitelistResponse) String() string
func (*QueryDelegatorWhitelistResponse) Unmarshal ¶
func (m *QueryDelegatorWhitelistResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegatorWhitelistResponse) XXX_DiscardUnknown ¶
func (m *QueryDelegatorWhitelistResponse) XXX_DiscardUnknown()
func (*QueryDelegatorWhitelistResponse) XXX_Marshal ¶
func (m *QueryDelegatorWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorWhitelistResponse) XXX_Merge ¶
func (m *QueryDelegatorWhitelistResponse) XXX_Merge(src proto.Message)
func (*QueryDelegatorWhitelistResponse) XXX_Size ¶
func (m *QueryDelegatorWhitelistResponse) XXX_Size() int
func (*QueryDelegatorWhitelistResponse) XXX_Unmarshal ¶
func (m *QueryDelegatorWhitelistResponse) XXX_Unmarshal(b []byte) error
type QueryDelegatorWhitelistSwitchRequest ¶
type QueryDelegatorWhitelistSwitchRequest struct { }
func (*QueryDelegatorWhitelistSwitchRequest) Descriptor ¶
func (*QueryDelegatorWhitelistSwitchRequest) Descriptor() ([]byte, []int)
func (*QueryDelegatorWhitelistSwitchRequest) Marshal ¶
func (m *QueryDelegatorWhitelistSwitchRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorWhitelistSwitchRequest) MarshalTo ¶
func (m *QueryDelegatorWhitelistSwitchRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistSwitchRequest) MarshalToSizedBuffer ¶
func (m *QueryDelegatorWhitelistSwitchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistSwitchRequest) ProtoMessage ¶
func (*QueryDelegatorWhitelistSwitchRequest) ProtoMessage()
func (*QueryDelegatorWhitelistSwitchRequest) Reset ¶
func (m *QueryDelegatorWhitelistSwitchRequest) Reset()
func (*QueryDelegatorWhitelistSwitchRequest) Size ¶
func (m *QueryDelegatorWhitelistSwitchRequest) Size() (n int)
func (*QueryDelegatorWhitelistSwitchRequest) String ¶
func (m *QueryDelegatorWhitelistSwitchRequest) String() string
func (*QueryDelegatorWhitelistSwitchRequest) Unmarshal ¶
func (m *QueryDelegatorWhitelistSwitchRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegatorWhitelistSwitchRequest) XXX_DiscardUnknown ¶
func (m *QueryDelegatorWhitelistSwitchRequest) XXX_DiscardUnknown()
func (*QueryDelegatorWhitelistSwitchRequest) XXX_Marshal ¶
func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorWhitelistSwitchRequest) XXX_Merge ¶
func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Merge(src proto.Message)
func (*QueryDelegatorWhitelistSwitchRequest) XXX_Size ¶
func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Size() int
func (*QueryDelegatorWhitelistSwitchRequest) XXX_Unmarshal ¶
func (m *QueryDelegatorWhitelistSwitchRequest) XXX_Unmarshal(b []byte) error
type QueryDelegatorWhitelistSwitchResponse ¶
type QueryDelegatorWhitelistSwitchResponse struct {
IsOpen bool `protobuf:"varint,1,opt,name=isOpen,proto3" json:"isOpen,omitempty"`
}
func (*QueryDelegatorWhitelistSwitchResponse) Descriptor ¶
func (*QueryDelegatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
func (*QueryDelegatorWhitelistSwitchResponse) GetIsOpen ¶
func (m *QueryDelegatorWhitelistSwitchResponse) GetIsOpen() bool
func (*QueryDelegatorWhitelistSwitchResponse) Marshal ¶
func (m *QueryDelegatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorWhitelistSwitchResponse) MarshalTo ¶
func (m *QueryDelegatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistSwitchResponse) MarshalToSizedBuffer ¶
func (m *QueryDelegatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorWhitelistSwitchResponse) ProtoMessage ¶
func (*QueryDelegatorWhitelistSwitchResponse) ProtoMessage()
func (*QueryDelegatorWhitelistSwitchResponse) Reset ¶
func (m *QueryDelegatorWhitelistSwitchResponse) Reset()
func (*QueryDelegatorWhitelistSwitchResponse) Size ¶
func (m *QueryDelegatorWhitelistSwitchResponse) Size() (n int)
func (*QueryDelegatorWhitelistSwitchResponse) String ¶
func (m *QueryDelegatorWhitelistSwitchResponse) String() string
func (*QueryDelegatorWhitelistSwitchResponse) Unmarshal ¶
func (m *QueryDelegatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegatorWhitelistSwitchResponse) XXX_DiscardUnknown ¶
func (m *QueryDelegatorWhitelistSwitchResponse) XXX_DiscardUnknown()
func (*QueryDelegatorWhitelistSwitchResponse) XXX_Marshal ¶
func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorWhitelistSwitchResponse) XXX_Merge ¶
func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
func (*QueryDelegatorWhitelistSwitchResponse) XXX_Size ¶
func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Size() int
func (*QueryDelegatorWhitelistSwitchResponse) XXX_Unmarshal ¶
func (m *QueryDelegatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
type QueryInflationBaseRequest ¶
type QueryInflationBaseRequest struct { }
func (*QueryInflationBaseRequest) Descriptor ¶
func (*QueryInflationBaseRequest) Descriptor() ([]byte, []int)
func (*QueryInflationBaseRequest) Marshal ¶
func (m *QueryInflationBaseRequest) Marshal() (dAtA []byte, err error)
func (*QueryInflationBaseRequest) MarshalTo ¶
func (m *QueryInflationBaseRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationBaseRequest) MarshalToSizedBuffer ¶
func (m *QueryInflationBaseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationBaseRequest) ProtoMessage ¶
func (*QueryInflationBaseRequest) ProtoMessage()
func (*QueryInflationBaseRequest) Reset ¶
func (m *QueryInflationBaseRequest) Reset()
func (*QueryInflationBaseRequest) Size ¶
func (m *QueryInflationBaseRequest) Size() (n int)
func (*QueryInflationBaseRequest) String ¶
func (m *QueryInflationBaseRequest) String() string
func (*QueryInflationBaseRequest) Unmarshal ¶
func (m *QueryInflationBaseRequest) Unmarshal(dAtA []byte) error
func (*QueryInflationBaseRequest) XXX_DiscardUnknown ¶
func (m *QueryInflationBaseRequest) XXX_DiscardUnknown()
func (*QueryInflationBaseRequest) XXX_Marshal ¶
func (m *QueryInflationBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationBaseRequest) XXX_Merge ¶
func (m *QueryInflationBaseRequest) XXX_Merge(src proto.Message)
func (*QueryInflationBaseRequest) XXX_Size ¶
func (m *QueryInflationBaseRequest) XXX_Size() int
func (*QueryInflationBaseRequest) XXX_Unmarshal ¶
func (m *QueryInflationBaseRequest) XXX_Unmarshal(b []byte) error
type QueryInflationBaseResponse ¶
type QueryInflationBaseResponse struct {
InflationBase github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=inflationBase,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"inflationBase"`
}
func (*QueryInflationBaseResponse) Descriptor ¶
func (*QueryInflationBaseResponse) Descriptor() ([]byte, []int)
func (*QueryInflationBaseResponse) Marshal ¶
func (m *QueryInflationBaseResponse) Marshal() (dAtA []byte, err error)
func (*QueryInflationBaseResponse) MarshalTo ¶
func (m *QueryInflationBaseResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationBaseResponse) MarshalToSizedBuffer ¶
func (m *QueryInflationBaseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationBaseResponse) ProtoMessage ¶
func (*QueryInflationBaseResponse) ProtoMessage()
func (*QueryInflationBaseResponse) Reset ¶
func (m *QueryInflationBaseResponse) Reset()
func (*QueryInflationBaseResponse) Size ¶
func (m *QueryInflationBaseResponse) Size() (n int)
func (*QueryInflationBaseResponse) String ¶
func (m *QueryInflationBaseResponse) String() string
func (*QueryInflationBaseResponse) Unmarshal ¶
func (m *QueryInflationBaseResponse) Unmarshal(dAtA []byte) error
func (*QueryInflationBaseResponse) XXX_DiscardUnknown ¶
func (m *QueryInflationBaseResponse) XXX_DiscardUnknown()
func (*QueryInflationBaseResponse) XXX_Marshal ¶
func (m *QueryInflationBaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationBaseResponse) XXX_Merge ¶
func (m *QueryInflationBaseResponse) XXX_Merge(src proto.Message)
func (*QueryInflationBaseResponse) XXX_Size ¶
func (m *QueryInflationBaseResponse) XXX_Size() int
func (*QueryInflationBaseResponse) XXX_Unmarshal ¶
func (m *QueryInflationBaseResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of InflationBase items. InflationBase(context.Context, *QueryInflationBaseRequest) (*QueryInflationBaseResponse, error) // Queries a list of ValidatorWhitelist items. ValidatorWhitelist(context.Context, *QueryValidatorWhitelistRequest) (*QueryValidatorWhitelistResponse, error) // Queries a list of WhitelistSwitch items. ValidatorWhitelistSwitch(context.Context, *QueryValidatorWhitelistSwitchRequest) (*QueryValidatorWhitelistSwitchResponse, error) // Queries a list of DelegatorWhitelist items. DelegatorWhitelist(context.Context, *QueryDelegatorWhitelistRequest) (*QueryDelegatorWhitelistResponse, error) // Queries a list of DelegatorWhitelistSwitch items. DelegatorWhitelistSwitch(context.Context, *QueryDelegatorWhitelistSwitchRequest) (*QueryDelegatorWhitelistSwitchResponse, error) }
QueryServer is the server API for Query service.
type QueryValidatorWhitelistRequest ¶
type QueryValidatorWhitelistRequest struct { }
func (*QueryValidatorWhitelistRequest) Descriptor ¶
func (*QueryValidatorWhitelistRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorWhitelistRequest) Marshal ¶
func (m *QueryValidatorWhitelistRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorWhitelistRequest) MarshalTo ¶
func (m *QueryValidatorWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistRequest) ProtoMessage ¶
func (*QueryValidatorWhitelistRequest) ProtoMessage()
func (*QueryValidatorWhitelistRequest) Reset ¶
func (m *QueryValidatorWhitelistRequest) Reset()
func (*QueryValidatorWhitelistRequest) Size ¶
func (m *QueryValidatorWhitelistRequest) Size() (n int)
func (*QueryValidatorWhitelistRequest) String ¶
func (m *QueryValidatorWhitelistRequest) String() string
func (*QueryValidatorWhitelistRequest) Unmarshal ¶
func (m *QueryValidatorWhitelistRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorWhitelistRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorWhitelistRequest) XXX_DiscardUnknown()
func (*QueryValidatorWhitelistRequest) XXX_Marshal ¶
func (m *QueryValidatorWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorWhitelistRequest) XXX_Merge ¶
func (m *QueryValidatorWhitelistRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorWhitelistRequest) XXX_Size ¶
func (m *QueryValidatorWhitelistRequest) XXX_Size() int
func (*QueryValidatorWhitelistRequest) XXX_Unmarshal ¶
func (m *QueryValidatorWhitelistRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorWhitelistResponse ¶
type QueryValidatorWhitelistResponse struct {
ValAddress []string `protobuf:"bytes,1,rep,name=valAddress,proto3" json:"valAddress,omitempty"`
}
func (*QueryValidatorWhitelistResponse) Descriptor ¶
func (*QueryValidatorWhitelistResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorWhitelistResponse) GetValAddress ¶
func (m *QueryValidatorWhitelistResponse) GetValAddress() []string
func (*QueryValidatorWhitelistResponse) Marshal ¶
func (m *QueryValidatorWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorWhitelistResponse) MarshalTo ¶
func (m *QueryValidatorWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistResponse) ProtoMessage ¶
func (*QueryValidatorWhitelistResponse) ProtoMessage()
func (*QueryValidatorWhitelistResponse) Reset ¶
func (m *QueryValidatorWhitelistResponse) Reset()
func (*QueryValidatorWhitelistResponse) Size ¶
func (m *QueryValidatorWhitelistResponse) Size() (n int)
func (*QueryValidatorWhitelistResponse) String ¶
func (m *QueryValidatorWhitelistResponse) String() string
func (*QueryValidatorWhitelistResponse) Unmarshal ¶
func (m *QueryValidatorWhitelistResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorWhitelistResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorWhitelistResponse) XXX_DiscardUnknown()
func (*QueryValidatorWhitelistResponse) XXX_Marshal ¶
func (m *QueryValidatorWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorWhitelistResponse) XXX_Merge ¶
func (m *QueryValidatorWhitelistResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorWhitelistResponse) XXX_Size ¶
func (m *QueryValidatorWhitelistResponse) XXX_Size() int
func (*QueryValidatorWhitelistResponse) XXX_Unmarshal ¶
func (m *QueryValidatorWhitelistResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorWhitelistSwitchRequest ¶
type QueryValidatorWhitelistSwitchRequest struct { }
func (*QueryValidatorWhitelistSwitchRequest) Descriptor ¶
func (*QueryValidatorWhitelistSwitchRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorWhitelistSwitchRequest) Marshal ¶
func (m *QueryValidatorWhitelistSwitchRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorWhitelistSwitchRequest) MarshalTo ¶
func (m *QueryValidatorWhitelistSwitchRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistSwitchRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorWhitelistSwitchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistSwitchRequest) ProtoMessage ¶
func (*QueryValidatorWhitelistSwitchRequest) ProtoMessage()
func (*QueryValidatorWhitelistSwitchRequest) Reset ¶
func (m *QueryValidatorWhitelistSwitchRequest) Reset()
func (*QueryValidatorWhitelistSwitchRequest) Size ¶
func (m *QueryValidatorWhitelistSwitchRequest) Size() (n int)
func (*QueryValidatorWhitelistSwitchRequest) String ¶
func (m *QueryValidatorWhitelistSwitchRequest) String() string
func (*QueryValidatorWhitelistSwitchRequest) Unmarshal ¶
func (m *QueryValidatorWhitelistSwitchRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorWhitelistSwitchRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorWhitelistSwitchRequest) XXX_DiscardUnknown()
func (*QueryValidatorWhitelistSwitchRequest) XXX_Marshal ¶
func (m *QueryValidatorWhitelistSwitchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorWhitelistSwitchRequest) XXX_Merge ¶
func (m *QueryValidatorWhitelistSwitchRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorWhitelistSwitchRequest) XXX_Size ¶
func (m *QueryValidatorWhitelistSwitchRequest) XXX_Size() int
func (*QueryValidatorWhitelistSwitchRequest) XXX_Unmarshal ¶
func (m *QueryValidatorWhitelistSwitchRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorWhitelistSwitchResponse ¶
type QueryValidatorWhitelistSwitchResponse struct {
IsOpen bool `protobuf:"varint,1,opt,name=isOpen,proto3" json:"isOpen,omitempty"`
}
func (*QueryValidatorWhitelistSwitchResponse) Descriptor ¶
func (*QueryValidatorWhitelistSwitchResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorWhitelistSwitchResponse) GetIsOpen ¶
func (m *QueryValidatorWhitelistSwitchResponse) GetIsOpen() bool
func (*QueryValidatorWhitelistSwitchResponse) Marshal ¶
func (m *QueryValidatorWhitelistSwitchResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorWhitelistSwitchResponse) MarshalTo ¶
func (m *QueryValidatorWhitelistSwitchResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistSwitchResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorWhitelistSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorWhitelistSwitchResponse) ProtoMessage ¶
func (*QueryValidatorWhitelistSwitchResponse) ProtoMessage()
func (*QueryValidatorWhitelistSwitchResponse) Reset ¶
func (m *QueryValidatorWhitelistSwitchResponse) Reset()
func (*QueryValidatorWhitelistSwitchResponse) Size ¶
func (m *QueryValidatorWhitelistSwitchResponse) Size() (n int)
func (*QueryValidatorWhitelistSwitchResponse) String ¶
func (m *QueryValidatorWhitelistSwitchResponse) String() string
func (*QueryValidatorWhitelistSwitchResponse) Unmarshal ¶
func (m *QueryValidatorWhitelistSwitchResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorWhitelistSwitchResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorWhitelistSwitchResponse) XXX_DiscardUnknown()
func (*QueryValidatorWhitelistSwitchResponse) XXX_Marshal ¶
func (m *QueryValidatorWhitelistSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorWhitelistSwitchResponse) XXX_Merge ¶
func (m *QueryValidatorWhitelistSwitchResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorWhitelistSwitchResponse) XXX_Size ¶
func (m *QueryValidatorWhitelistSwitchResponse) XXX_Size() int
func (*QueryValidatorWhitelistSwitchResponse) XXX_Unmarshal ¶
func (m *QueryValidatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error
type SudoKeeper ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddDelegatorToWhitelist ¶
func (*UnimplementedMsgServer) AddDelegatorToWhitelist(ctx context.Context, req *MsgAddDelegatorToWhitelist) (*MsgAddDelegatorToWhitelistResponse, error)
func (*UnimplementedMsgServer) AddValToWhitelist ¶
func (*UnimplementedMsgServer) AddValToWhitelist(ctx context.Context, req *MsgAddValToWhitelist) (*MsgAddValToWhitelistResponse, error)
func (*UnimplementedMsgServer) ProvideToken ¶
func (*UnimplementedMsgServer) ProvideToken(ctx context.Context, req *MsgProvideToken) (*MsgProvideTokenResponse, error)
func (*UnimplementedMsgServer) RmDelegatorFromWhitelist ¶
func (*UnimplementedMsgServer) RmDelegatorFromWhitelist(ctx context.Context, req *MsgRmDelegatorFromWhitelist) (*MsgRmDelegatorFromWhitelistResponse, error)
func (*UnimplementedMsgServer) SetInflationBase ¶
func (*UnimplementedMsgServer) SetInflationBase(ctx context.Context, req *MsgSetInflationBase) (*MsgSetInflationBaseResponse, error)
func (*UnimplementedMsgServer) ToggleDelegatorWhitelistSwitch ¶
func (*UnimplementedMsgServer) ToggleDelegatorWhitelistSwitch(ctx context.Context, req *MsgToggleDelegatorWhitelistSwitch) (*MsgToggleDelegatorWhitelistSwitchResponse, error)
func (*UnimplementedMsgServer) ToggleValidatorWhitelistSwitch ¶
func (*UnimplementedMsgServer) ToggleValidatorWhitelistSwitch(ctx context.Context, req *MsgToggleValidatorWhitelistSwitch) (*MsgToggleValidatorWhitelistSwitchResponse, error)
func (*UnimplementedMsgServer) Withdraw ¶
func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DelegatorWhitelist ¶
func (*UnimplementedQueryServer) DelegatorWhitelist(ctx context.Context, req *QueryDelegatorWhitelistRequest) (*QueryDelegatorWhitelistResponse, error)
func (*UnimplementedQueryServer) DelegatorWhitelistSwitch ¶
func (*UnimplementedQueryServer) DelegatorWhitelistSwitch(ctx context.Context, req *QueryDelegatorWhitelistSwitchRequest) (*QueryDelegatorWhitelistSwitchResponse, error)
func (*UnimplementedQueryServer) InflationBase ¶
func (*UnimplementedQueryServer) InflationBase(ctx context.Context, req *QueryInflationBaseRequest) (*QueryInflationBaseResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ValidatorWhitelist ¶
func (*UnimplementedQueryServer) ValidatorWhitelist(ctx context.Context, req *QueryValidatorWhitelistRequest) (*QueryValidatorWhitelistResponse, error)
func (*UnimplementedQueryServer) ValidatorWhitelistSwitch ¶
func (*UnimplementedQueryServer) ValidatorWhitelistSwitch(ctx context.Context, req *QueryValidatorWhitelistSwitchRequest) (*QueryValidatorWhitelistSwitchResponse, error)
Source Files ¶
- codec.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_add_delegator_to_whitelist.go
- message_add_val_to_whitelist.go
- message_provide_token.go
- message_rm_delegator_from_whitelist.go
- message_set_inflation_base.go
- message_toggle_delegator_whitelist_switch.go
- message_toggle_validator_whitelist_switch.go
- message_withdraw.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go