Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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 ValidateInvestorsRewardRatio(ratio sdkmath.LegacyDec) error
- type AccountKeeper
- type BankKeeper
- type DistrKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetVestingInvestorsAddresses() []string
- 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 MsgAddVestingInvestor
- func (*MsgAddVestingInvestor) Descriptor() ([]byte, []int)
- func (m *MsgAddVestingInvestor) GetAuthority() string
- func (m *MsgAddVestingInvestor) GetVestingInvestor() string
- func (m *MsgAddVestingInvestor) Marshal() (dAtA []byte, err error)
- func (m *MsgAddVestingInvestor) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddVestingInvestor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddVestingInvestor) ProtoMessage()
- func (m *MsgAddVestingInvestor) Reset()
- func (m *MsgAddVestingInvestor) Size() (n int)
- func (m *MsgAddVestingInvestor) String() string
- func (m *MsgAddVestingInvestor) Unmarshal(dAtA []byte) error
- func (m *MsgAddVestingInvestor) XXX_DiscardUnknown()
- func (m *MsgAddVestingInvestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddVestingInvestor) XXX_Merge(src proto.Message)
- func (m *MsgAddVestingInvestor) XXX_Size() int
- func (m *MsgAddVestingInvestor) XXX_Unmarshal(b []byte) error
- type MsgAddVestingInvestorResponse
- func (*MsgAddVestingInvestorResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddVestingInvestorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddVestingInvestorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddVestingInvestorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddVestingInvestorResponse) ProtoMessage()
- func (m *MsgAddVestingInvestorResponse) Reset()
- func (m *MsgAddVestingInvestorResponse) Size() (n int)
- func (m *MsgAddVestingInvestorResponse) String() string
- func (m *MsgAddVestingInvestorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddVestingInvestorResponse) XXX_DiscardUnknown()
- func (m *MsgAddVestingInvestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddVestingInvestorResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddVestingInvestorResponse) XXX_Size() int
- func (m *MsgAddVestingInvestorResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgUpdateInvestorsRewardRatio
- func (*MsgUpdateInvestorsRewardRatio) Descriptor() ([]byte, []int)
- func (m *MsgUpdateInvestorsRewardRatio) GetAuthority() string
- func (m *MsgUpdateInvestorsRewardRatio) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateInvestorsRewardRatio) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateInvestorsRewardRatio) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateInvestorsRewardRatio) ProtoMessage()
- func (m *MsgUpdateInvestorsRewardRatio) Reset()
- func (m *MsgUpdateInvestorsRewardRatio) Size() (n int)
- func (m *MsgUpdateInvestorsRewardRatio) String() string
- func (m *MsgUpdateInvestorsRewardRatio) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateInvestorsRewardRatio) XXX_DiscardUnknown()
- func (m *MsgUpdateInvestorsRewardRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateInvestorsRewardRatio) XXX_Merge(src proto.Message)
- func (m *MsgUpdateInvestorsRewardRatio) XXX_Size() int
- func (m *MsgUpdateInvestorsRewardRatio) XXX_Unmarshal(b []byte) error
- type MsgUpdateInvestorsRewardRatioResponse
- func (*MsgUpdateInvestorsRewardRatioResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateInvestorsRewardRatioResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateInvestorsRewardRatioResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateInvestorsRewardRatioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateInvestorsRewardRatioResponse) ProtoMessage()
- func (m *MsgUpdateInvestorsRewardRatioResponse) Reset()
- func (m *MsgUpdateInvestorsRewardRatioResponse) Size() (n int)
- func (m *MsgUpdateInvestorsRewardRatioResponse) String() string
- func (m *MsgUpdateInvestorsRewardRatioResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Size() int
- func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryInvestorsRewardRatioRequest
- func (*QueryInvestorsRewardRatioRequest) Descriptor() ([]byte, []int)
- func (m *QueryInvestorsRewardRatioRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInvestorsRewardRatioRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInvestorsRewardRatioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInvestorsRewardRatioRequest) ProtoMessage()
- func (m *QueryInvestorsRewardRatioRequest) Reset()
- func (m *QueryInvestorsRewardRatioRequest) Size() (n int)
- func (m *QueryInvestorsRewardRatioRequest) String() string
- func (m *QueryInvestorsRewardRatioRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInvestorsRewardRatioRequest) XXX_DiscardUnknown()
- func (m *QueryInvestorsRewardRatioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInvestorsRewardRatioRequest) XXX_Merge(src proto.Message)
- func (m *QueryInvestorsRewardRatioRequest) XXX_Size() int
- func (m *QueryInvestorsRewardRatioRequest) XXX_Unmarshal(b []byte) error
- type QueryInvestorsRewardRatioResponse
- func (*QueryInvestorsRewardRatioResponse) Descriptor() ([]byte, []int)
- func (m *QueryInvestorsRewardRatioResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInvestorsRewardRatioResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInvestorsRewardRatioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInvestorsRewardRatioResponse) ProtoMessage()
- func (m *QueryInvestorsRewardRatioResponse) Reset()
- func (m *QueryInvestorsRewardRatioResponse) Size() (n int)
- func (m *QueryInvestorsRewardRatioResponse) String() string
- func (m *QueryInvestorsRewardRatioResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInvestorsRewardRatioResponse) XXX_DiscardUnknown()
- func (m *QueryInvestorsRewardRatioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInvestorsRewardRatioResponse) XXX_Merge(src proto.Message)
- func (m *QueryInvestorsRewardRatioResponse) XXX_Size() int
- func (m *QueryInvestorsRewardRatioResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryVestingInvestorsRequest
- func (*QueryVestingInvestorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryVestingInvestorsRequest) GetPagination() *query.PageRequest
- func (m *QueryVestingInvestorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingInvestorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingInvestorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingInvestorsRequest) ProtoMessage()
- func (m *QueryVestingInvestorsRequest) Reset()
- func (m *QueryVestingInvestorsRequest) Size() (n int)
- func (m *QueryVestingInvestorsRequest) String() string
- func (m *QueryVestingInvestorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVestingInvestorsRequest) XXX_DiscardUnknown()
- func (m *QueryVestingInvestorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingInvestorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryVestingInvestorsRequest) XXX_Size() int
- func (m *QueryVestingInvestorsRequest) XXX_Unmarshal(b []byte) error
- type QueryVestingInvestorsResponse
- func (*QueryVestingInvestorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryVestingInvestorsResponse) GetPagination() *query.PageResponse
- func (m *QueryVestingInvestorsResponse) GetVestingInvestorsAddresses() []string
- func (m *QueryVestingInvestorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVestingInvestorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVestingInvestorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVestingInvestorsResponse) ProtoMessage()
- func (m *QueryVestingInvestorsResponse) Reset()
- func (m *QueryVestingInvestorsResponse) Size() (n int)
- func (m *QueryVestingInvestorsResponse) String() string
- func (m *QueryVestingInvestorsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVestingInvestorsResponse) XXX_DiscardUnknown()
- func (m *QueryVestingInvestorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVestingInvestorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryVestingInvestorsResponse) XXX_Size() int
- func (m *QueryVestingInvestorsResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddVestingInvestor(ctx context.Context, req *MsgAddVestingInvestor) (*MsgAddVestingInvestorResponse, error)
- func (*UnimplementedMsgServer) UpdateInvestorsRewardRatio(ctx context.Context, req *MsgUpdateInvestorsRewardRatio) (*MsgUpdateInvestorsRewardRatioResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) InvestorsRewardRatio(ctx context.Context, req *QueryInvestorsRewardRatioRequest) (*QueryInvestorsRewardRatioResponse, error)
- func (*UnimplementedQueryServer) VestingInvestors(ctx context.Context, req *QueryVestingInvestorsRequest) (*QueryVestingInvestorsResponse, error)
- type VestingInvestorRewards
- func (*VestingInvestorRewards) Descriptor() ([]byte, []int)
- func (m *VestingInvestorRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *VestingInvestorRewards) Marshal() (dAtA []byte, err error)
- func (m *VestingInvestorRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingInvestorRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingInvestorRewards) ProtoMessage()
- func (m *VestingInvestorRewards) Reset()
- func (m *VestingInvestorRewards) Size() (n int)
- func (m *VestingInvestorRewards) String() string
- func (m *VestingInvestorRewards) Unmarshal(dAtA []byte) error
- func (m *VestingInvestorRewards) XXX_DiscardUnknown()
- func (m *VestingInvestorRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingInvestorRewards) XXX_Merge(src proto.Message)
- func (m *VestingInvestorRewards) XXX_Size() int
- func (m *VestingInvestorRewards) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeAddVestingInvestor = "add_vesting_investor" EventTypeUpdateInvestorsRewardRatio = "update_investors_reward_ratio" AttributeKeyVestingInvestor = "vesting_investor" AttributeKeyInvestorsRewardRatio = "investors_reward_ratio" )
const ( ModuleName = "investors" StoreKey = ModuleName )
Variables ¶
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 ( InvestorsRewardRatioKey = collections.NewPrefix(0x01) InvestorsVestingQueueKeyPrefix = collections.NewPrefix(0x02) VestingInvestorsKeyPrefix = collections.NewPrefix(0x03) )
var ( ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessages = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMessages = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthModels = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModels = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupModels = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var (
DefaultInvestorsRewardRatio = sdkmath.LegacyNewDecWithPrec(5, 1) // 50%
)
var (
ErrInvalidInvestorsRewardRatio = errorsmod.Register(ModuleName, 2, "invalid investors reward ratio")
)
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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 ValidateInvestorsRewardRatio ¶
ValidateInvestorsRewardRatio validates the investors reward ratio.
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
AddressCodec() address.Codec
GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
GetModuleAddress(moduleName string) sdk.AccAddress
GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI
}
AccountKeeper defines the expected account keeper.
type BankKeeper ¶
type DistrKeeper ¶
type DistrKeeper interface {
GetDelegatorWithdrawAddr(ctx context.Context, delAddr sdk.AccAddress) (sdk.AccAddress, error)
IterateDelegatorWithdrawAddrs(ctx context.Context, handler func(del, addr sdk.AccAddress) (stop bool))
WithdrawDelegationRewards(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (sdk.Coins, error)
FundCommunityPool(ctx context.Context, amount sdk.Coins, sender sdk.AccAddress) error
}
type GenesisState ¶
type GenesisState struct {
// InvestorsRewardRatio defines the proportion of staking rewards allocated to
// vesting investors relative to normal users. For example, if the ratio is 0.3,
// then the investors would receive 30% of the staking rewards. The rest of the
// rewards would be sent to the community pool.
InvestorsRewardRatio cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */
// VestingInvestorsAddresses defines the list of investor addresses that are
// still in their vesting period and will receive rewards based on the
// InvestorsRewardRatio.
VestingInvestorsAddresses []string `` /* 138-byte string literal not displayed */
}
GenesisState defines the investors module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default genesis state.
func NewGenesisState ¶
func NewGenesisState(investorsRewardRatio sdkmath.LegacyDec, vestingInvestorsAddrs []string, ) *GenesisState
NewGenesisState creates a new GenesisState instance.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetVestingInvestorsAddresses ¶
func (m *GenesisState) GetVestingInvestorsAddresses() []string
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 validates the genesis state.
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 MsgAddVestingInvestor ¶
type MsgAddVestingInvestor struct {
// Authority is the address that controls the module (defaults to x/gov unless
// overwritten).
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// VestingInvestor defines the vesting investor address to be added.
VestingInvestor string `protobuf:"bytes,2,opt,name=vesting_investor,json=vestingInvestor,proto3" json:"vesting_investor,omitempty"`
}
MsgAddVestingInvestor defines the message structure for the AddVestingInvestor gRPC service method. It allows the authority to add a new vesting investor.
func (*MsgAddVestingInvestor) Descriptor ¶
func (*MsgAddVestingInvestor) Descriptor() ([]byte, []int)
func (*MsgAddVestingInvestor) GetAuthority ¶
func (m *MsgAddVestingInvestor) GetAuthority() string
func (*MsgAddVestingInvestor) GetVestingInvestor ¶
func (m *MsgAddVestingInvestor) GetVestingInvestor() string
func (*MsgAddVestingInvestor) Marshal ¶
func (m *MsgAddVestingInvestor) Marshal() (dAtA []byte, err error)
func (*MsgAddVestingInvestor) MarshalTo ¶
func (m *MsgAddVestingInvestor) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddVestingInvestor) MarshalToSizedBuffer ¶
func (m *MsgAddVestingInvestor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddVestingInvestor) ProtoMessage ¶
func (*MsgAddVestingInvestor) ProtoMessage()
func (*MsgAddVestingInvestor) Reset ¶
func (m *MsgAddVestingInvestor) Reset()
func (*MsgAddVestingInvestor) Size ¶
func (m *MsgAddVestingInvestor) Size() (n int)
func (*MsgAddVestingInvestor) String ¶
func (m *MsgAddVestingInvestor) String() string
func (*MsgAddVestingInvestor) Unmarshal ¶
func (m *MsgAddVestingInvestor) Unmarshal(dAtA []byte) error
func (*MsgAddVestingInvestor) XXX_DiscardUnknown ¶
func (m *MsgAddVestingInvestor) XXX_DiscardUnknown()
func (*MsgAddVestingInvestor) XXX_Marshal ¶
func (m *MsgAddVestingInvestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddVestingInvestor) XXX_Merge ¶
func (m *MsgAddVestingInvestor) XXX_Merge(src proto.Message)
func (*MsgAddVestingInvestor) XXX_Size ¶
func (m *MsgAddVestingInvestor) XXX_Size() int
func (*MsgAddVestingInvestor) XXX_Unmarshal ¶
func (m *MsgAddVestingInvestor) XXX_Unmarshal(b []byte) error
type MsgAddVestingInvestorResponse ¶
type MsgAddVestingInvestorResponse struct {
}
MsgAddVestingInvestorResponse is the return value of MsgAddVestingInvestor.
func (*MsgAddVestingInvestorResponse) Descriptor ¶
func (*MsgAddVestingInvestorResponse) Descriptor() ([]byte, []int)
func (*MsgAddVestingInvestorResponse) Marshal ¶
func (m *MsgAddVestingInvestorResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddVestingInvestorResponse) MarshalTo ¶
func (m *MsgAddVestingInvestorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddVestingInvestorResponse) MarshalToSizedBuffer ¶
func (m *MsgAddVestingInvestorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddVestingInvestorResponse) ProtoMessage ¶
func (*MsgAddVestingInvestorResponse) ProtoMessage()
func (*MsgAddVestingInvestorResponse) Reset ¶
func (m *MsgAddVestingInvestorResponse) Reset()
func (*MsgAddVestingInvestorResponse) Size ¶
func (m *MsgAddVestingInvestorResponse) Size() (n int)
func (*MsgAddVestingInvestorResponse) String ¶
func (m *MsgAddVestingInvestorResponse) String() string
func (*MsgAddVestingInvestorResponse) Unmarshal ¶
func (m *MsgAddVestingInvestorResponse) Unmarshal(dAtA []byte) error
func (*MsgAddVestingInvestorResponse) XXX_DiscardUnknown ¶
func (m *MsgAddVestingInvestorResponse) XXX_DiscardUnknown()
func (*MsgAddVestingInvestorResponse) XXX_Marshal ¶
func (m *MsgAddVestingInvestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddVestingInvestorResponse) XXX_Merge ¶
func (m *MsgAddVestingInvestorResponse) XXX_Merge(src proto.Message)
func (*MsgAddVestingInvestorResponse) XXX_Size ¶
func (m *MsgAddVestingInvestorResponse) XXX_Size() int
func (*MsgAddVestingInvestorResponse) XXX_Unmarshal ¶
func (m *MsgAddVestingInvestorResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
// AddVestingInvestor defines a (governance) operation for adding a new
// vesting investor. The authority defaults to the x/gov module account.
AddVestingInvestor(ctx context.Context, in *MsgAddVestingInvestor, opts ...grpc.CallOption) (*MsgAddVestingInvestorResponse, error)
// UpdateInvestorsRewardRatio defines a (governance) operation for updating
// the investors reward ratio. The authority defaults to the x/gov module
// account.
UpdateInvestorsRewardRatio(ctx context.Context, in *MsgUpdateInvestorsRewardRatio, opts ...grpc.CallOption) (*MsgUpdateInvestorsRewardRatioResponse, 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 MsgServer ¶
type MsgServer interface {
// AddVestingInvestor defines a (governance) operation for adding a new
// vesting investor. The authority defaults to the x/gov module account.
AddVestingInvestor(context.Context, *MsgAddVestingInvestor) (*MsgAddVestingInvestorResponse, error)
// UpdateInvestorsRewardRatio defines a (governance) operation for updating
// the investors reward ratio. The authority defaults to the x/gov module
// account.
UpdateInvestorsRewardRatio(context.Context, *MsgUpdateInvestorsRewardRatio) (*MsgUpdateInvestorsRewardRatioResponse, error)
}
MsgServer is the server API for Msg service.
type MsgUpdateInvestorsRewardRatio ¶
type MsgUpdateInvestorsRewardRatio struct {
// Authority is the address that controls the module (defaults to x/gov unless
// overwritten).
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// InvestorsRewardRatio defines the proportion of staking rewards allocated to
// vesting investors relative to normal users.
InvestorsRewardRatio cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */
}
MsgUpdateInvestorsRewardRatio defines the message structure for the UpdateInvestorsRewardRatio gRPC service method. It allows the authority to update the investors reward ratio.
func (*MsgUpdateInvestorsRewardRatio) Descriptor ¶
func (*MsgUpdateInvestorsRewardRatio) Descriptor() ([]byte, []int)
func (*MsgUpdateInvestorsRewardRatio) GetAuthority ¶
func (m *MsgUpdateInvestorsRewardRatio) GetAuthority() string
func (*MsgUpdateInvestorsRewardRatio) Marshal ¶
func (m *MsgUpdateInvestorsRewardRatio) Marshal() (dAtA []byte, err error)
func (*MsgUpdateInvestorsRewardRatio) MarshalTo ¶
func (m *MsgUpdateInvestorsRewardRatio) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateInvestorsRewardRatio) MarshalToSizedBuffer ¶
func (m *MsgUpdateInvestorsRewardRatio) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateInvestorsRewardRatio) ProtoMessage ¶
func (*MsgUpdateInvestorsRewardRatio) ProtoMessage()
func (*MsgUpdateInvestorsRewardRatio) Reset ¶
func (m *MsgUpdateInvestorsRewardRatio) Reset()
func (*MsgUpdateInvestorsRewardRatio) Size ¶
func (m *MsgUpdateInvestorsRewardRatio) Size() (n int)
func (*MsgUpdateInvestorsRewardRatio) String ¶
func (m *MsgUpdateInvestorsRewardRatio) String() string
func (*MsgUpdateInvestorsRewardRatio) Unmarshal ¶
func (m *MsgUpdateInvestorsRewardRatio) Unmarshal(dAtA []byte) error
func (*MsgUpdateInvestorsRewardRatio) XXX_DiscardUnknown ¶
func (m *MsgUpdateInvestorsRewardRatio) XXX_DiscardUnknown()
func (*MsgUpdateInvestorsRewardRatio) XXX_Marshal ¶
func (m *MsgUpdateInvestorsRewardRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateInvestorsRewardRatio) XXX_Merge ¶
func (m *MsgUpdateInvestorsRewardRatio) XXX_Merge(src proto.Message)
func (*MsgUpdateInvestorsRewardRatio) XXX_Size ¶
func (m *MsgUpdateInvestorsRewardRatio) XXX_Size() int
func (*MsgUpdateInvestorsRewardRatio) XXX_Unmarshal ¶
func (m *MsgUpdateInvestorsRewardRatio) XXX_Unmarshal(b []byte) error
type MsgUpdateInvestorsRewardRatioResponse ¶
type MsgUpdateInvestorsRewardRatioResponse struct {
}
MsgUpdateInvestorsRewardRatioResponse is the return value of MsgUpdateInvestorsRewardRatio.
func (*MsgUpdateInvestorsRewardRatioResponse) Descriptor ¶
func (*MsgUpdateInvestorsRewardRatioResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateInvestorsRewardRatioResponse) Marshal ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateInvestorsRewardRatioResponse) MarshalTo ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateInvestorsRewardRatioResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateInvestorsRewardRatioResponse) ProtoMessage ¶
func (*MsgUpdateInvestorsRewardRatioResponse) ProtoMessage()
func (*MsgUpdateInvestorsRewardRatioResponse) Reset ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) Reset()
func (*MsgUpdateInvestorsRewardRatioResponse) Size ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) Size() (n int)
func (*MsgUpdateInvestorsRewardRatioResponse) String ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) String() string
func (*MsgUpdateInvestorsRewardRatioResponse) Unmarshal ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateInvestorsRewardRatioResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_DiscardUnknown()
func (*MsgUpdateInvestorsRewardRatioResponse) XXX_Marshal ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateInvestorsRewardRatioResponse) XXX_Merge ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateInvestorsRewardRatioResponse) XXX_Size ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Size() int
func (*MsgUpdateInvestorsRewardRatioResponse) XXX_Unmarshal ¶
func (m *MsgUpdateInvestorsRewardRatioResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface {
// InvestorsRewardRatio queries the investors reward ratio.
InvestorsRewardRatio(ctx context.Context, in *QueryInvestorsRewardRatioRequest, opts ...grpc.CallOption) (*QueryInvestorsRewardRatioResponse, error)
// VestingInvestors queries the list of vesting investors.
VestingInvestors(ctx context.Context, in *QueryVestingInvestorsRequest, opts ...grpc.CallOption) (*QueryVestingInvestorsResponse, 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 QueryInvestorsRewardRatioRequest ¶
type QueryInvestorsRewardRatioRequest struct {
}
QueryInvestorsRewardRatioRequest is request type for the Query/InvestorsRewardRatio RPC method.
func (*QueryInvestorsRewardRatioRequest) Descriptor ¶
func (*QueryInvestorsRewardRatioRequest) Descriptor() ([]byte, []int)
func (*QueryInvestorsRewardRatioRequest) Marshal ¶
func (m *QueryInvestorsRewardRatioRequest) Marshal() (dAtA []byte, err error)
func (*QueryInvestorsRewardRatioRequest) MarshalTo ¶
func (m *QueryInvestorsRewardRatioRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInvestorsRewardRatioRequest) MarshalToSizedBuffer ¶
func (m *QueryInvestorsRewardRatioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInvestorsRewardRatioRequest) ProtoMessage ¶
func (*QueryInvestorsRewardRatioRequest) ProtoMessage()
func (*QueryInvestorsRewardRatioRequest) Reset ¶
func (m *QueryInvestorsRewardRatioRequest) Reset()
func (*QueryInvestorsRewardRatioRequest) Size ¶
func (m *QueryInvestorsRewardRatioRequest) Size() (n int)
func (*QueryInvestorsRewardRatioRequest) String ¶
func (m *QueryInvestorsRewardRatioRequest) String() string
func (*QueryInvestorsRewardRatioRequest) Unmarshal ¶
func (m *QueryInvestorsRewardRatioRequest) Unmarshal(dAtA []byte) error
func (*QueryInvestorsRewardRatioRequest) XXX_DiscardUnknown ¶
func (m *QueryInvestorsRewardRatioRequest) XXX_DiscardUnknown()
func (*QueryInvestorsRewardRatioRequest) XXX_Marshal ¶
func (m *QueryInvestorsRewardRatioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInvestorsRewardRatioRequest) XXX_Merge ¶
func (m *QueryInvestorsRewardRatioRequest) XXX_Merge(src proto.Message)
func (*QueryInvestorsRewardRatioRequest) XXX_Size ¶
func (m *QueryInvestorsRewardRatioRequest) XXX_Size() int
func (*QueryInvestorsRewardRatioRequest) XXX_Unmarshal ¶
func (m *QueryInvestorsRewardRatioRequest) XXX_Unmarshal(b []byte) error
type QueryInvestorsRewardRatioResponse ¶
type QueryInvestorsRewardRatioResponse struct {
// InvestorsRewardRatio defines the proportion of staking rewards allocated to
// vesting investors relative to normal users.
InvestorsRewardRatio cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */
}
QueryInvestorsRewardRatioResponse is response type for the Query/InvestorsRewardRatio RPC method.
func (*QueryInvestorsRewardRatioResponse) Descriptor ¶
func (*QueryInvestorsRewardRatioResponse) Descriptor() ([]byte, []int)
func (*QueryInvestorsRewardRatioResponse) Marshal ¶
func (m *QueryInvestorsRewardRatioResponse) Marshal() (dAtA []byte, err error)
func (*QueryInvestorsRewardRatioResponse) MarshalTo ¶
func (m *QueryInvestorsRewardRatioResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInvestorsRewardRatioResponse) MarshalToSizedBuffer ¶
func (m *QueryInvestorsRewardRatioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInvestorsRewardRatioResponse) ProtoMessage ¶
func (*QueryInvestorsRewardRatioResponse) ProtoMessage()
func (*QueryInvestorsRewardRatioResponse) Reset ¶
func (m *QueryInvestorsRewardRatioResponse) Reset()
func (*QueryInvestorsRewardRatioResponse) Size ¶
func (m *QueryInvestorsRewardRatioResponse) Size() (n int)
func (*QueryInvestorsRewardRatioResponse) String ¶
func (m *QueryInvestorsRewardRatioResponse) String() string
func (*QueryInvestorsRewardRatioResponse) Unmarshal ¶
func (m *QueryInvestorsRewardRatioResponse) Unmarshal(dAtA []byte) error
func (*QueryInvestorsRewardRatioResponse) XXX_DiscardUnknown ¶
func (m *QueryInvestorsRewardRatioResponse) XXX_DiscardUnknown()
func (*QueryInvestorsRewardRatioResponse) XXX_Marshal ¶
func (m *QueryInvestorsRewardRatioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInvestorsRewardRatioResponse) XXX_Merge ¶
func (m *QueryInvestorsRewardRatioResponse) XXX_Merge(src proto.Message)
func (*QueryInvestorsRewardRatioResponse) XXX_Size ¶
func (m *QueryInvestorsRewardRatioResponse) XXX_Size() int
func (*QueryInvestorsRewardRatioResponse) XXX_Unmarshal ¶
func (m *QueryInvestorsRewardRatioResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// InvestorsRewardRatio queries the investors reward ratio.
InvestorsRewardRatio(context.Context, *QueryInvestorsRewardRatioRequest) (*QueryInvestorsRewardRatioResponse, error)
// VestingInvestors queries the list of vesting investors.
VestingInvestors(context.Context, *QueryVestingInvestorsRequest) (*QueryVestingInvestorsResponse, error)
}
QueryServer is the server API for Query service.
type QueryVestingInvestorsRequest ¶
type QueryVestingInvestorsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVestingInvestorsRequest is request type for the Query/VestingInvestors RPC method.
func (*QueryVestingInvestorsRequest) Descriptor ¶
func (*QueryVestingInvestorsRequest) Descriptor() ([]byte, []int)
func (*QueryVestingInvestorsRequest) GetPagination ¶
func (m *QueryVestingInvestorsRequest) GetPagination() *query.PageRequest
func (*QueryVestingInvestorsRequest) Marshal ¶
func (m *QueryVestingInvestorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryVestingInvestorsRequest) MarshalTo ¶
func (m *QueryVestingInvestorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVestingInvestorsRequest) MarshalToSizedBuffer ¶
func (m *QueryVestingInvestorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVestingInvestorsRequest) ProtoMessage ¶
func (*QueryVestingInvestorsRequest) ProtoMessage()
func (*QueryVestingInvestorsRequest) Reset ¶
func (m *QueryVestingInvestorsRequest) Reset()
func (*QueryVestingInvestorsRequest) Size ¶
func (m *QueryVestingInvestorsRequest) Size() (n int)
func (*QueryVestingInvestorsRequest) String ¶
func (m *QueryVestingInvestorsRequest) String() string
func (*QueryVestingInvestorsRequest) Unmarshal ¶
func (m *QueryVestingInvestorsRequest) Unmarshal(dAtA []byte) error
func (*QueryVestingInvestorsRequest) XXX_DiscardUnknown ¶
func (m *QueryVestingInvestorsRequest) XXX_DiscardUnknown()
func (*QueryVestingInvestorsRequest) XXX_Marshal ¶
func (m *QueryVestingInvestorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVestingInvestorsRequest) XXX_Merge ¶
func (m *QueryVestingInvestorsRequest) XXX_Merge(src proto.Message)
func (*QueryVestingInvestorsRequest) XXX_Size ¶
func (m *QueryVestingInvestorsRequest) XXX_Size() int
func (*QueryVestingInvestorsRequest) XXX_Unmarshal ¶
func (m *QueryVestingInvestorsRequest) XXX_Unmarshal(b []byte) error
type QueryVestingInvestorsResponse ¶
type QueryVestingInvestorsResponse struct {
VestingInvestorsAddresses []string `` /* 138-byte string literal not displayed */
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVestingInvestorsResponse is response type for the Query/VestingInvestors RPC method.
func (*QueryVestingInvestorsResponse) Descriptor ¶
func (*QueryVestingInvestorsResponse) Descriptor() ([]byte, []int)
func (*QueryVestingInvestorsResponse) GetPagination ¶
func (m *QueryVestingInvestorsResponse) GetPagination() *query.PageResponse
func (*QueryVestingInvestorsResponse) GetVestingInvestorsAddresses ¶
func (m *QueryVestingInvestorsResponse) GetVestingInvestorsAddresses() []string
func (*QueryVestingInvestorsResponse) Marshal ¶
func (m *QueryVestingInvestorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryVestingInvestorsResponse) MarshalTo ¶
func (m *QueryVestingInvestorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVestingInvestorsResponse) MarshalToSizedBuffer ¶
func (m *QueryVestingInvestorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVestingInvestorsResponse) ProtoMessage ¶
func (*QueryVestingInvestorsResponse) ProtoMessage()
func (*QueryVestingInvestorsResponse) Reset ¶
func (m *QueryVestingInvestorsResponse) Reset()
func (*QueryVestingInvestorsResponse) Size ¶
func (m *QueryVestingInvestorsResponse) Size() (n int)
func (*QueryVestingInvestorsResponse) String ¶
func (m *QueryVestingInvestorsResponse) String() string
func (*QueryVestingInvestorsResponse) Unmarshal ¶
func (m *QueryVestingInvestorsResponse) Unmarshal(dAtA []byte) error
func (*QueryVestingInvestorsResponse) XXX_DiscardUnknown ¶
func (m *QueryVestingInvestorsResponse) XXX_DiscardUnknown()
func (*QueryVestingInvestorsResponse) XXX_Marshal ¶
func (m *QueryVestingInvestorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVestingInvestorsResponse) XXX_Merge ¶
func (m *QueryVestingInvestorsResponse) XXX_Merge(src proto.Message)
func (*QueryVestingInvestorsResponse) XXX_Size ¶
func (m *QueryVestingInvestorsResponse) XXX_Size() int
func (*QueryVestingInvestorsResponse) XXX_Unmarshal ¶
func (m *QueryVestingInvestorsResponse) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
type StakingKeeper interface {
ValidatorAddressCodec() address.Codec
IterateDelegatorDelegations(
ctx context.Context,
delegator sdk.AccAddress,
cb func(delegation stakingtypes.Delegation) (stop bool),
) error
}
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddVestingInvestor ¶
func (*UnimplementedMsgServer) AddVestingInvestor(ctx context.Context, req *MsgAddVestingInvestor) (*MsgAddVestingInvestorResponse, error)
func (*UnimplementedMsgServer) UpdateInvestorsRewardRatio ¶
func (*UnimplementedMsgServer) UpdateInvestorsRewardRatio(ctx context.Context, req *MsgUpdateInvestorsRewardRatio) (*MsgUpdateInvestorsRewardRatioResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) InvestorsRewardRatio ¶
func (*UnimplementedQueryServer) InvestorsRewardRatio(ctx context.Context, req *QueryInvestorsRewardRatioRequest) (*QueryInvestorsRewardRatioResponse, error)
func (*UnimplementedQueryServer) VestingInvestors ¶
func (*UnimplementedQueryServer) VestingInvestors(ctx context.Context, req *QueryVestingInvestorsRequest) (*QueryVestingInvestorsResponse, error)
type VestingInvestorRewards ¶
type VestingInvestorRewards struct {
// Rewards is the amount of rewards that are temporarily redirected.
Rewards github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"rewards"`
}
VestingInvestorRewards defines the temporarily redirected rewards for vesting investors.
func (*VestingInvestorRewards) Descriptor ¶
func (*VestingInvestorRewards) Descriptor() ([]byte, []int)
func (*VestingInvestorRewards) GetRewards ¶
func (m *VestingInvestorRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.Coins
func (*VestingInvestorRewards) Marshal ¶
func (m *VestingInvestorRewards) Marshal() (dAtA []byte, err error)
func (*VestingInvestorRewards) MarshalTo ¶
func (m *VestingInvestorRewards) MarshalTo(dAtA []byte) (int, error)
func (*VestingInvestorRewards) MarshalToSizedBuffer ¶
func (m *VestingInvestorRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VestingInvestorRewards) ProtoMessage ¶
func (*VestingInvestorRewards) ProtoMessage()
func (*VestingInvestorRewards) Reset ¶
func (m *VestingInvestorRewards) Reset()
func (*VestingInvestorRewards) Size ¶
func (m *VestingInvestorRewards) Size() (n int)
func (*VestingInvestorRewards) String ¶
func (m *VestingInvestorRewards) String() string
func (*VestingInvestorRewards) Unmarshal ¶
func (m *VestingInvestorRewards) Unmarshal(dAtA []byte) error
func (*VestingInvestorRewards) XXX_DiscardUnknown ¶
func (m *VestingInvestorRewards) XXX_DiscardUnknown()
func (*VestingInvestorRewards) XXX_Marshal ¶
func (m *VestingInvestorRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VestingInvestorRewards) XXX_Merge ¶
func (m *VestingInvestorRewards) XXX_Merge(src proto.Message)
func (*VestingInvestorRewards) XXX_Size ¶
func (m *VestingInvestorRewards) XXX_Size() int
func (*VestingInvestorRewards) XXX_Unmarshal ¶
func (m *VestingInvestorRewards) XXX_Unmarshal(b []byte) error