types

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgAddDelegatorToWhitelist = "add_delegator_to_whitelist"
View Source
const TypeMsgAddValToWhitelist = "add_val_to_whitelist"
View Source
const TypeMsgProvideToken = "provide_token"
View Source
const TypeMsgRmDelegatorFromWhitelist = "rm_delegator_from_whitelist"
View Source
const TypeMsgSetInflationBase = "set_inflation_base"
View Source
const TypeMsgToggleDelegatorWhitelistSwitch = "toggle_delegator_whitelist_switch"
View Source
const TypeMsgToggleValidatorWhitelistSwitch = "toggle_validator_whitelist_switch"
View Source
const TypeMsgWithdraw = "withdraw"

Variables

View Source
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

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ValAddressStoreKeyPrefix       = []byte{0x00}
	InflationBaseKey               = []byte{0x01}
	ValidatorWhitelistSwitchKey    = []byte{0x02}
	DelegatorAddressStoreKeyPrefix = []byte{0x03}
	DelegatorWhitelistSwitchKey    = []byte{0x04}
)
View Source
var (
	SwitchStateClose = []byte{0x00}
	SwitchStateOpen  = []byte{0x01}
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func DelegatorAddressStoreKey

func DelegatorAddressStoreKey(addr sdk.AccAddress) []byte

func KeyPrefix

func KeyPrefix(p string) []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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 MintKeeper interface {
	GetMinter(ctx sdk.Context) (minter minttypes.Minter)
	GetParams(ctx sdk.Context) (params minttypes.Params)
}

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 (*MsgAddDelegatorToWhitelistResponse) Size

func (*MsgAddDelegatorToWhitelistResponse) 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 (*MsgAddDelegatorToWhitelistResponse) XXX_Size

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 (*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

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) MarshalTo

func (m *MsgProvideToken) MarshalTo(dAtA []byte) (int, 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 added in v0.2.0

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 added in v0.2.0

func NewMsgRmDelegatorFromWhitelist(creator string, delAddress string) *MsgRmDelegatorFromWhitelist

func (*MsgRmDelegatorFromWhitelist) Descriptor added in v0.2.0

func (*MsgRmDelegatorFromWhitelist) Descriptor() ([]byte, []int)

func (*MsgRmDelegatorFromWhitelist) GetCreator added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) GetCreator() string

func (*MsgRmDelegatorFromWhitelist) GetDelAddress added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) GetDelAddress() string

func (*MsgRmDelegatorFromWhitelist) GetSignBytes added in v0.2.0

func (msg *MsgRmDelegatorFromWhitelist) GetSignBytes() []byte

func (*MsgRmDelegatorFromWhitelist) GetSigners added in v0.2.0

func (msg *MsgRmDelegatorFromWhitelist) GetSigners() []sdk.AccAddress

func (*MsgRmDelegatorFromWhitelist) Marshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) Marshal() (dAtA []byte, err error)

func (*MsgRmDelegatorFromWhitelist) MarshalTo added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) MarshalTo(dAtA []byte) (int, error)

func (*MsgRmDelegatorFromWhitelist) MarshalToSizedBuffer added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRmDelegatorFromWhitelist) ProtoMessage added in v0.2.0

func (*MsgRmDelegatorFromWhitelist) ProtoMessage()

func (*MsgRmDelegatorFromWhitelist) Reset added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) Reset()

func (*MsgRmDelegatorFromWhitelist) Route added in v0.2.0

func (msg *MsgRmDelegatorFromWhitelist) Route() string

func (*MsgRmDelegatorFromWhitelist) Size added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) Size() (n int)

func (*MsgRmDelegatorFromWhitelist) String added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) String() string

func (*MsgRmDelegatorFromWhitelist) Type added in v0.2.0

func (msg *MsgRmDelegatorFromWhitelist) Type() string

func (*MsgRmDelegatorFromWhitelist) Unmarshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) Unmarshal(dAtA []byte) error

func (*MsgRmDelegatorFromWhitelist) ValidateBasic added in v0.2.0

func (msg *MsgRmDelegatorFromWhitelist) ValidateBasic() error

func (*MsgRmDelegatorFromWhitelist) XXX_DiscardUnknown added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) XXX_DiscardUnknown()

func (*MsgRmDelegatorFromWhitelist) XXX_Marshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRmDelegatorFromWhitelist) XXX_Merge added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) XXX_Merge(src proto.Message)

func (*MsgRmDelegatorFromWhitelist) XXX_Size added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) XXX_Size() int

func (*MsgRmDelegatorFromWhitelist) XXX_Unmarshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelist) XXX_Unmarshal(b []byte) error

type MsgRmDelegatorFromWhitelistResponse added in v0.2.0

type MsgRmDelegatorFromWhitelistResponse struct {
}

func (*MsgRmDelegatorFromWhitelistResponse) Descriptor added in v0.2.0

func (*MsgRmDelegatorFromWhitelistResponse) Descriptor() ([]byte, []int)

func (*MsgRmDelegatorFromWhitelistResponse) Marshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelistResponse) Marshal() (dAtA []byte, err error)

func (*MsgRmDelegatorFromWhitelistResponse) MarshalTo added in v0.2.0

func (m *MsgRmDelegatorFromWhitelistResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRmDelegatorFromWhitelistResponse) MarshalToSizedBuffer added in v0.2.0

func (m *MsgRmDelegatorFromWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRmDelegatorFromWhitelistResponse) ProtoMessage added in v0.2.0

func (*MsgRmDelegatorFromWhitelistResponse) ProtoMessage()

func (*MsgRmDelegatorFromWhitelistResponse) Reset added in v0.2.0

func (*MsgRmDelegatorFromWhitelistResponse) Size added in v0.2.0

func (*MsgRmDelegatorFromWhitelistResponse) String added in v0.2.0

func (*MsgRmDelegatorFromWhitelistResponse) Unmarshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelistResponse) Unmarshal(dAtA []byte) error

func (*MsgRmDelegatorFromWhitelistResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgRmDelegatorFromWhitelistResponse) XXX_DiscardUnknown()

func (*MsgRmDelegatorFromWhitelistResponse) XXX_Marshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRmDelegatorFromWhitelistResponse) XXX_Merge added in v0.2.0

func (*MsgRmDelegatorFromWhitelistResponse) XXX_Size added in v0.2.0

func (*MsgRmDelegatorFromWhitelistResponse) XXX_Unmarshal added in v0.2.0

func (m *MsgRmDelegatorFromWhitelistResponse) XXX_Unmarshal(b []byte) error

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 (*MsgToggleDelegatorWhitelistSwitch) Route

func (*MsgToggleDelegatorWhitelistSwitch) Size

func (m *MsgToggleDelegatorWhitelistSwitch) Size() (n int)

func (*MsgToggleDelegatorWhitelistSwitch) String

func (*MsgToggleDelegatorWhitelistSwitch) Type

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 (*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) Reset

func (*MsgToggleDelegatorWhitelistSwitchResponse) Size

func (*MsgToggleDelegatorWhitelistSwitchResponse) String

func (*MsgToggleDelegatorWhitelistSwitchResponse) Unmarshal

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 (*MsgToggleDelegatorWhitelistSwitchResponse) XXX_Size

func (*MsgToggleDelegatorWhitelistSwitchResponse) XXX_Unmarshal

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 (*MsgToggleValidatorWhitelistSwitch) Route

func (*MsgToggleValidatorWhitelistSwitch) Size

func (m *MsgToggleValidatorWhitelistSwitch) Size() (n int)

func (*MsgToggleValidatorWhitelistSwitch) String

func (*MsgToggleValidatorWhitelistSwitch) Type

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 (*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) Reset

func (*MsgToggleValidatorWhitelistSwitchResponse) Size

func (*MsgToggleValidatorWhitelistSwitchResponse) String

func (*MsgToggleValidatorWhitelistSwitchResponse) Unmarshal

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 (*MsgToggleValidatorWhitelistSwitchResponse) XXX_Size

func (*MsgToggleValidatorWhitelistSwitchResponse) XXX_Unmarshal

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) MarshalTo

func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, 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 DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of 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 (*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 (*QueryDelegatorWhitelistResponse) Size

func (m *QueryDelegatorWhitelistResponse) Size() (n int)

func (*QueryDelegatorWhitelistResponse) 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 (*QueryDelegatorWhitelistSwitchRequest) Size

func (*QueryDelegatorWhitelistSwitchRequest) 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 (*QueryDelegatorWhitelistSwitchRequest) XXX_Size

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 (*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 (*QueryDelegatorWhitelistSwitchResponse) Size

func (*QueryDelegatorWhitelistSwitchResponse) 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 (*QueryDelegatorWhitelistSwitchResponse) XXX_Size

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 (*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 (*QueryValidatorWhitelistResponse) Size

func (m *QueryValidatorWhitelistResponse) Size() (n int)

func (*QueryValidatorWhitelistResponse) 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 (*QueryValidatorWhitelistSwitchRequest) Size

func (*QueryValidatorWhitelistSwitchRequest) 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 (*QueryValidatorWhitelistSwitchRequest) XXX_Size

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 (*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 (*QueryValidatorWhitelistSwitchResponse) Size

func (*QueryValidatorWhitelistSwitchResponse) 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 (*QueryValidatorWhitelistSwitchResponse) XXX_Size

func (*QueryValidatorWhitelistSwitchResponse) XXX_Unmarshal

func (m *QueryValidatorWhitelistSwitchResponse) XXX_Unmarshal(b []byte) error

type SudoKeeper

type SudoKeeper interface {
	IsAdmin(ctx sdk.Context, address string) bool
	GetAdmin(ctx sdk.Context) sdk.AccAddress
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddDelegatorToWhitelist

func (*UnimplementedMsgServer) AddValToWhitelist

func (*UnimplementedMsgServer) ProvideToken

func (*UnimplementedMsgServer) RmDelegatorFromWhitelist added in v0.2.0

func (*UnimplementedMsgServer) SetInflationBase

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DelegatorWhitelist

func (*UnimplementedQueryServer) InflationBase

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ValidatorWhitelist

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL