Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CommitmentsKey(creator string) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type AssetProfileKeeper
- type BankKeeper
- type CommitmentHooks
- type Commitments
- func (*Commitments) Descriptor() ([]byte, []int)
- func (c *Commitments) GetCommittedAmountForDenom(denom string) sdk.Int
- func (m *Commitments) GetCommittedTokens() []*CommittedTokens
- func (c *Commitments) GetCommittedTokensForDenom(denom string) (*CommittedTokens, bool)
- func (m *Commitments) GetCreator() string
- func (c *Commitments) GetUncommittedAmountForDenom(denom string) sdk.Int
- func (m *Commitments) GetUncommittedTokens() []*UncommittedTokens
- func (c *Commitments) GetUncommittedTokensForDenom(denom string) (*UncommittedTokens, bool)
- func (m *Commitments) GetVestingTokens() []*VestingTokens
- func (m *Commitments) Marshal() (dAtA []byte, err error)
- func (m *Commitments) MarshalTo(dAtA []byte) (int, error)
- func (m *Commitments) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Commitments) ProtoMessage()
- func (m *Commitments) Reset()
- func (m *Commitments) Size() (n int)
- func (m *Commitments) String() string
- func (m *Commitments) Unmarshal(dAtA []byte) error
- func (m *Commitments) XXX_DiscardUnknown()
- func (m *Commitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Commitments) XXX_Merge(src proto.Message)
- func (m *Commitments) XXX_Size() int
- func (m *Commitments) XXX_Unmarshal(b []byte) error
- type CommittedTokens
- func (*CommittedTokens) Descriptor() ([]byte, []int)
- func (m *CommittedTokens) GetDenom() string
- func (m *CommittedTokens) Marshal() (dAtA []byte, err error)
- func (m *CommittedTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *CommittedTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommittedTokens) ProtoMessage()
- func (m *CommittedTokens) Reset()
- func (m *CommittedTokens) Size() (n int)
- func (m *CommittedTokens) String() string
- func (m *CommittedTokens) Unmarshal(dAtA []byte) error
- func (m *CommittedTokens) XXX_DiscardUnknown()
- func (m *CommittedTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommittedTokens) XXX_Merge(src proto.Message)
- func (m *CommittedTokens) XXX_Size() int
- func (m *CommittedTokens) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgCancelVest
- func (*MsgCancelVest) Descriptor() ([]byte, []int)
- func (m *MsgCancelVest) GetCreator() string
- func (m *MsgCancelVest) GetDenom() string
- func (msg *MsgCancelVest) GetSignBytes() []byte
- func (msg *MsgCancelVest) GetSigners() []sdk.AccAddress
- func (m *MsgCancelVest) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelVest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelVest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelVest) ProtoMessage()
- func (m *MsgCancelVest) Reset()
- func (msg *MsgCancelVest) Route() string
- func (m *MsgCancelVest) Size() (n int)
- func (m *MsgCancelVest) String() string
- func (msg *MsgCancelVest) Type() string
- func (m *MsgCancelVest) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelVest) ValidateBasic() error
- func (m *MsgCancelVest) XXX_DiscardUnknown()
- func (m *MsgCancelVest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelVest) XXX_Merge(src proto.Message)
- func (m *MsgCancelVest) XXX_Size() int
- func (m *MsgCancelVest) XXX_Unmarshal(b []byte) error
- type MsgCancelVestResponse
- func (*MsgCancelVestResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelVestResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelVestResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelVestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelVestResponse) ProtoMessage()
- func (m *MsgCancelVestResponse) Reset()
- func (m *MsgCancelVestResponse) Size() (n int)
- func (m *MsgCancelVestResponse) String() string
- func (m *MsgCancelVestResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelVestResponse) XXX_DiscardUnknown()
- func (m *MsgCancelVestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelVestResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelVestResponse) XXX_Size() int
- func (m *MsgCancelVestResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCommitTokens
- func (*MsgCommitTokens) Descriptor() ([]byte, []int)
- func (m *MsgCommitTokens) GetCreator() string
- func (m *MsgCommitTokens) GetDenom() string
- func (msg *MsgCommitTokens) GetSignBytes() []byte
- func (msg *MsgCommitTokens) GetSigners() []sdk.AccAddress
- func (m *MsgCommitTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitTokens) ProtoMessage()
- func (m *MsgCommitTokens) Reset()
- func (msg *MsgCommitTokens) Route() string
- func (m *MsgCommitTokens) Size() (n int)
- func (m *MsgCommitTokens) String() string
- func (msg *MsgCommitTokens) Type() string
- func (m *MsgCommitTokens) Unmarshal(dAtA []byte) error
- func (msg *MsgCommitTokens) ValidateBasic() error
- func (m *MsgCommitTokens) XXX_DiscardUnknown()
- func (m *MsgCommitTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitTokens) XXX_Merge(src proto.Message)
- func (m *MsgCommitTokens) XXX_Size() int
- func (m *MsgCommitTokens) XXX_Unmarshal(b []byte) error
- type MsgCommitTokensResponse
- func (*MsgCommitTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgCommitTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitTokensResponse) ProtoMessage()
- func (m *MsgCommitTokensResponse) Reset()
- func (m *MsgCommitTokensResponse) Size() (n int)
- func (m *MsgCommitTokensResponse) String() string
- func (m *MsgCommitTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCommitTokensResponse) XXX_DiscardUnknown()
- func (m *MsgCommitTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgCommitTokensResponse) XXX_Size() int
- func (m *MsgCommitTokensResponse) XXX_Unmarshal(b []byte) error
- type MsgDepositTokens
- func (*MsgDepositTokens) Descriptor() ([]byte, []int)
- func (m *MsgDepositTokens) GetCreator() string
- func (m *MsgDepositTokens) GetDenom() string
- func (msg *MsgDepositTokens) GetSignBytes() []byte
- func (msg *MsgDepositTokens) GetSigners() []sdk.AccAddress
- func (m *MsgDepositTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositTokens) ProtoMessage()
- func (m *MsgDepositTokens) Reset()
- func (msg *MsgDepositTokens) Route() string
- func (m *MsgDepositTokens) Size() (n int)
- func (m *MsgDepositTokens) String() string
- func (msg *MsgDepositTokens) Type() string
- func (m *MsgDepositTokens) Unmarshal(dAtA []byte) error
- func (msg *MsgDepositTokens) ValidateBasic() error
- func (m *MsgDepositTokens) XXX_DiscardUnknown()
- func (m *MsgDepositTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositTokens) XXX_Merge(src proto.Message)
- func (m *MsgDepositTokens) XXX_Size() int
- func (m *MsgDepositTokens) XXX_Unmarshal(b []byte) error
- type MsgDepositTokensResponse
- func (*MsgDepositTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositTokensResponse) ProtoMessage()
- func (m *MsgDepositTokensResponse) Reset()
- func (m *MsgDepositTokensResponse) Size() (n int)
- func (m *MsgDepositTokensResponse) String() string
- func (m *MsgDepositTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositTokensResponse) XXX_DiscardUnknown()
- func (m *MsgDepositTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositTokensResponse) XXX_Size() int
- func (m *MsgDepositTokensResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUncommitTokens
- func (*MsgUncommitTokens) Descriptor() ([]byte, []int)
- func (m *MsgUncommitTokens) GetCreator() string
- func (m *MsgUncommitTokens) GetDenom() string
- func (msg *MsgUncommitTokens) GetSignBytes() []byte
- func (msg *MsgUncommitTokens) GetSigners() []sdk.AccAddress
- func (m *MsgUncommitTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgUncommitTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUncommitTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUncommitTokens) ProtoMessage()
- func (m *MsgUncommitTokens) Reset()
- func (msg *MsgUncommitTokens) Route() string
- func (m *MsgUncommitTokens) Size() (n int)
- func (m *MsgUncommitTokens) String() string
- func (msg *MsgUncommitTokens) Type() string
- func (m *MsgUncommitTokens) Unmarshal(dAtA []byte) error
- func (msg MsgUncommitTokens) ValidateBasic() error
- func (m *MsgUncommitTokens) XXX_DiscardUnknown()
- func (m *MsgUncommitTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUncommitTokens) XXX_Merge(src proto.Message)
- func (m *MsgUncommitTokens) XXX_Size() int
- func (m *MsgUncommitTokens) XXX_Unmarshal(b []byte) error
- type MsgUncommitTokensResponse
- func (*MsgUncommitTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgUncommitTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUncommitTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUncommitTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUncommitTokensResponse) ProtoMessage()
- func (m *MsgUncommitTokensResponse) Reset()
- func (m *MsgUncommitTokensResponse) Size() (n int)
- func (m *MsgUncommitTokensResponse) String() string
- func (m *MsgUncommitTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUncommitTokensResponse) XXX_DiscardUnknown()
- func (m *MsgUncommitTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUncommitTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgUncommitTokensResponse) XXX_Size() int
- func (m *MsgUncommitTokensResponse) XXX_Unmarshal(b []byte) error
- type MsgVest
- func (*MsgVest) Descriptor() ([]byte, []int)
- func (m *MsgVest) GetCreator() string
- func (m *MsgVest) GetDenom() string
- func (msg *MsgVest) GetSignBytes() []byte
- func (msg *MsgVest) GetSigners() []sdk.AccAddress
- func (m *MsgVest) Marshal() (dAtA []byte, err error)
- func (m *MsgVest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVest) ProtoMessage()
- func (m *MsgVest) Reset()
- func (msg *MsgVest) Route() string
- func (m *MsgVest) Size() (n int)
- func (m *MsgVest) String() string
- func (msg *MsgVest) Type() string
- func (m *MsgVest) Unmarshal(dAtA []byte) error
- func (msg *MsgVest) ValidateBasic() error
- func (m *MsgVest) XXX_DiscardUnknown()
- func (m *MsgVest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVest) XXX_Merge(src proto.Message)
- func (m *MsgVest) XXX_Size() int
- func (m *MsgVest) XXX_Unmarshal(b []byte) error
- type MsgVestNow
- func (*MsgVestNow) Descriptor() ([]byte, []int)
- func (m *MsgVestNow) GetCreator() string
- func (m *MsgVestNow) GetDenom() string
- func (msg *MsgVestNow) GetSignBytes() []byte
- func (msg *MsgVestNow) GetSigners() []sdk.AccAddress
- func (m *MsgVestNow) Marshal() (dAtA []byte, err error)
- func (m *MsgVestNow) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVestNow) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVestNow) ProtoMessage()
- func (m *MsgVestNow) Reset()
- func (msg *MsgVestNow) Route() string
- func (m *MsgVestNow) Size() (n int)
- func (m *MsgVestNow) String() string
- func (msg *MsgVestNow) Type() string
- func (m *MsgVestNow) Unmarshal(dAtA []byte) error
- func (msg *MsgVestNow) ValidateBasic() error
- func (m *MsgVestNow) XXX_DiscardUnknown()
- func (m *MsgVestNow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVestNow) XXX_Merge(src proto.Message)
- func (m *MsgVestNow) XXX_Size() int
- func (m *MsgVestNow) XXX_Unmarshal(b []byte) error
- type MsgVestNowResponse
- func (*MsgVestNowResponse) Descriptor() ([]byte, []int)
- func (m *MsgVestNowResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVestNowResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVestNowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVestNowResponse) ProtoMessage()
- func (m *MsgVestNowResponse) Reset()
- func (m *MsgVestNowResponse) Size() (n int)
- func (m *MsgVestNowResponse) String() string
- func (m *MsgVestNowResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVestNowResponse) XXX_DiscardUnknown()
- func (m *MsgVestNowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVestNowResponse) XXX_Merge(src proto.Message)
- func (m *MsgVestNowResponse) XXX_Size() int
- func (m *MsgVestNowResponse) XXX_Unmarshal(b []byte) error
- type MsgVestResponse
- func (*MsgVestResponse) Descriptor() ([]byte, []int)
- func (m *MsgVestResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVestResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVestResponse) ProtoMessage()
- func (m *MsgVestResponse) Reset()
- func (m *MsgVestResponse) Size() (n int)
- func (m *MsgVestResponse) String() string
- func (m *MsgVestResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVestResponse) XXX_DiscardUnknown()
- func (m *MsgVestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVestResponse) XXX_Merge(src proto.Message)
- func (m *MsgVestResponse) XXX_Size() int
- func (m *MsgVestResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawTokens
- func (*MsgWithdrawTokens) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawTokens) GetCreator() string
- func (m *MsgWithdrawTokens) GetDenom() string
- func (msg *MsgWithdrawTokens) GetSignBytes() []byte
- func (msg *MsgWithdrawTokens) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawTokens) ProtoMessage()
- func (m *MsgWithdrawTokens) Reset()
- func (msg *MsgWithdrawTokens) Route() string
- func (m *MsgWithdrawTokens) Size() (n int)
- func (m *MsgWithdrawTokens) String() string
- func (msg *MsgWithdrawTokens) Type() string
- func (m *MsgWithdrawTokens) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawTokens) ValidateBasic() error
- func (m *MsgWithdrawTokens) XXX_DiscardUnknown()
- func (m *MsgWithdrawTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawTokens) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawTokens) XXX_Size() int
- func (m *MsgWithdrawTokens) XXX_Unmarshal(b []byte) error
- type MsgWithdrawTokensResponse
- func (*MsgWithdrawTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawTokensResponse) ProtoMessage()
- func (m *MsgWithdrawTokensResponse) Reset()
- func (m *MsgWithdrawTokensResponse) Size() (n int)
- func (m *MsgWithdrawTokensResponse) String() string
- func (m *MsgWithdrawTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawTokensResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawTokensResponse) XXX_Size() int
- func (m *MsgWithdrawTokensResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetVestingInfos() []*VestingInfo
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryShowCommitmentsRequest
- func (*QueryShowCommitmentsRequest) Descriptor() ([]byte, []int)
- func (m *QueryShowCommitmentsRequest) GetCreator() string
- func (m *QueryShowCommitmentsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryShowCommitmentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShowCommitmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShowCommitmentsRequest) ProtoMessage()
- func (m *QueryShowCommitmentsRequest) Reset()
- func (m *QueryShowCommitmentsRequest) Size() (n int)
- func (m *QueryShowCommitmentsRequest) String() string
- func (m *QueryShowCommitmentsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryShowCommitmentsRequest) XXX_DiscardUnknown()
- func (m *QueryShowCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShowCommitmentsRequest) XXX_Merge(src proto.Message)
- func (m *QueryShowCommitmentsRequest) XXX_Size() int
- func (m *QueryShowCommitmentsRequest) XXX_Unmarshal(b []byte) error
- type QueryShowCommitmentsResponse
- func (*QueryShowCommitmentsResponse) Descriptor() ([]byte, []int)
- func (m *QueryShowCommitmentsResponse) GetCommitments() *Commitments
- func (m *QueryShowCommitmentsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryShowCommitmentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShowCommitmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShowCommitmentsResponse) ProtoMessage()
- func (m *QueryShowCommitmentsResponse) Reset()
- func (m *QueryShowCommitmentsResponse) Size() (n int)
- func (m *QueryShowCommitmentsResponse) String() string
- func (m *QueryShowCommitmentsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryShowCommitmentsResponse) XXX_DiscardUnknown()
- func (m *QueryShowCommitmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShowCommitmentsResponse) XXX_Merge(src proto.Message)
- func (m *QueryShowCommitmentsResponse) XXX_Size() int
- func (m *QueryShowCommitmentsResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UncommittedTokens
- func (*UncommittedTokens) Descriptor() ([]byte, []int)
- func (m *UncommittedTokens) GetDenom() string
- func (m *UncommittedTokens) Marshal() (dAtA []byte, err error)
- func (m *UncommittedTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *UncommittedTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UncommittedTokens) ProtoMessage()
- func (m *UncommittedTokens) Reset()
- func (m *UncommittedTokens) Size() (n int)
- func (m *UncommittedTokens) String() string
- func (m *UncommittedTokens) Unmarshal(dAtA []byte) error
- func (m *UncommittedTokens) XXX_DiscardUnknown()
- func (m *UncommittedTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UncommittedTokens) XXX_Merge(src proto.Message)
- func (m *UncommittedTokens) XXX_Size() int
- func (m *UncommittedTokens) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelVest(ctx context.Context, req *MsgCancelVest) (*MsgCancelVestResponse, error)
- func (*UnimplementedMsgServer) CommitTokens(ctx context.Context, req *MsgCommitTokens) (*MsgCommitTokensResponse, error)
- func (*UnimplementedMsgServer) DepositTokens(ctx context.Context, req *MsgDepositTokens) (*MsgDepositTokensResponse, error)
- func (*UnimplementedMsgServer) UncommitTokens(ctx context.Context, req *MsgUncommitTokens) (*MsgUncommitTokensResponse, error)
- func (*UnimplementedMsgServer) Vest(ctx context.Context, req *MsgVest) (*MsgVestResponse, error)
- func (*UnimplementedMsgServer) VestNow(ctx context.Context, req *MsgVestNow) (*MsgVestNowResponse, error)
- func (*UnimplementedMsgServer) WithdrawTokens(ctx context.Context, req *MsgWithdrawTokens) (*MsgWithdrawTokensResponse, error)
- type UnimplementedQueryServer
- type VestingInfo
- func (*VestingInfo) Descriptor() ([]byte, []int)
- func (m *VestingInfo) GetBaseDenom() string
- func (m *VestingInfo) GetEpochIdentifier() string
- func (m *VestingInfo) GetNumEpochs() int64
- func (m *VestingInfo) GetVestingDenom() string
- func (m *VestingInfo) Marshal() (dAtA []byte, err error)
- func (m *VestingInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingInfo) ProtoMessage()
- func (m *VestingInfo) Reset()
- func (m *VestingInfo) Size() (n int)
- func (m *VestingInfo) String() string
- func (m *VestingInfo) Unmarshal(dAtA []byte) error
- func (m *VestingInfo) XXX_DiscardUnknown()
- func (m *VestingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingInfo) XXX_Merge(src proto.Message)
- func (m *VestingInfo) XXX_Size() int
- func (m *VestingInfo) XXX_Unmarshal(b []byte) error
- type VestingTokens
- func (*VestingTokens) Descriptor() ([]byte, []int)
- func (m *VestingTokens) GetCurrentEpoch() int64
- func (m *VestingTokens) GetDenom() string
- func (m *VestingTokens) GetEpochIdentifier() string
- func (m *VestingTokens) GetNumEpochs() int64
- func (m *VestingTokens) Marshal() (dAtA []byte, err error)
- func (m *VestingTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *VestingTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VestingTokens) ProtoMessage()
- func (m *VestingTokens) Reset()
- func (m *VestingTokens) Size() (n int)
- func (m *VestingTokens) String() string
- func (m *VestingTokens) Unmarshal(dAtA []byte) error
- func (m *VestingTokens) XXX_DiscardUnknown()
- func (m *VestingTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VestingTokens) XXX_Merge(src proto.Message)
- func (m *VestingTokens) XXX_Size() int
- func (m *VestingTokens) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeCommitmentChanged = "commitment_changed" AttributeCreator = "creator" AttributeAmount = "token_amount" AttributeDenom = "token_denom" )
epochs events
const ( // ModuleName defines the module name ModuleName = "commitment" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_commitment" )
const (
// CommitmentsKeyPrefix is the prefix to retrieve all Commitments
CommitmentsKeyPrefix = "Commitments/value/"
)
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgCancelVest = "cancel_vest"
const TypeMsgCommitTokens = "commit_tokens"
const TypeMsgDepositTokens = "deposit_tokens"
const TypeMsgUncommitTokens = "uncommit_tokens"
const TypeMsgVest = "vest"
const TypeMsgVestNow = "vest_now"
const TypeMsgWithdrawTokens = "withdraw_tokens"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthCommitments = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommitments = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCommitments = fmt.Errorf("proto: unexpected end of group") )
var ( ErrCommitmentsNotFound = sdkerrors.Register(ModuleName, 1001, "commitments not found for creator") ErrInsufficientUncommittedTokens = sdkerrors.Register(ModuleName, 1002, "insufficient uncommitted tokens for creator and denom") ErrInsufficientCommittedTokens = sdkerrors.Register(ModuleName, 1003, "insufficient committed tokens for creator and denom") ErrInvalidAmount = sdkerrors.Register(ModuleName, 1004, "invalid amount") ErrInvalidDenom = sdkerrors.Register(ModuleName, 1005, "invalid denom") ErrInsufficientVestingTokens = sdkerrors.Register(ModuleName, 1006, "insufficient vesting tokens for creator and denom") ErrCommitDisabled = sdkerrors.Register(ModuleName, 1007, "commitment disabled for denom") ErrWithdrawDisabled = sdkerrors.Register(ModuleName, 1008, "withdraw disabled for denom") )
x/commitment module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
KeyVestingInfos = []byte("VestingInfos")
)
Functions ¶
func CommitmentsKey ¶
CommitmentsKey returns the store key to retrieve a Commitments from the index fields
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AssetProfileKeeper ¶
type AssetProfileKeeper interface {
GetEntry(ctx sdk.Context, baseDenom string) (val aptypes.Entry, found bool)
}
AssetProfileKeeper defines the expected interface needed to retrieve denom info
type BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CommitmentHooks ¶
type CommitmentHooks interface { // Token commitment changed CommitmentChanged(ctx sdk.Context, creator string, amount sdk.Coin) }
CommitmentHooks event hooks for commitment processing
type Commitments ¶
type Commitments struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CommittedTokens []*CommittedTokens `protobuf:"bytes,2,rep,name=committed_tokens,json=committedTokens,proto3" json:"committed_tokens,omitempty"` UncommittedTokens []*UncommittedTokens `protobuf:"bytes,3,rep,name=uncommitted_tokens,json=uncommittedTokens,proto3" json:"uncommitted_tokens,omitempty"` VestingTokens []*VestingTokens `protobuf:"bytes,4,rep,name=vesting_tokens,json=vestingTokens,proto3" json:"vesting_tokens,omitempty"` }
GenesisState defines the commitment module's genesis state.
func (*Commitments) Descriptor ¶
func (*Commitments) Descriptor() ([]byte, []int)
func (*Commitments) GetCommittedAmountForDenom ¶
func (c *Commitments) GetCommittedAmountForDenom(denom string) sdk.Int
func (*Commitments) GetCommittedTokens ¶
func (m *Commitments) GetCommittedTokens() []*CommittedTokens
func (*Commitments) GetCommittedTokensForDenom ¶
func (c *Commitments) GetCommittedTokensForDenom(denom string) (*CommittedTokens, bool)
func (*Commitments) GetCreator ¶
func (m *Commitments) GetCreator() string
func (*Commitments) GetUncommittedAmountForDenom ¶
func (c *Commitments) GetUncommittedAmountForDenom(denom string) sdk.Int
func (*Commitments) GetUncommittedTokens ¶
func (m *Commitments) GetUncommittedTokens() []*UncommittedTokens
func (*Commitments) GetUncommittedTokensForDenom ¶
func (c *Commitments) GetUncommittedTokensForDenom(denom string) (*UncommittedTokens, bool)
func (*Commitments) GetVestingTokens ¶
func (m *Commitments) GetVestingTokens() []*VestingTokens
func (*Commitments) Marshal ¶
func (m *Commitments) Marshal() (dAtA []byte, err error)
func (*Commitments) MarshalToSizedBuffer ¶
func (m *Commitments) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Commitments) ProtoMessage ¶
func (*Commitments) ProtoMessage()
func (*Commitments) Reset ¶
func (m *Commitments) Reset()
func (*Commitments) Size ¶
func (m *Commitments) Size() (n int)
func (*Commitments) String ¶
func (m *Commitments) String() string
func (*Commitments) Unmarshal ¶
func (m *Commitments) Unmarshal(dAtA []byte) error
func (*Commitments) XXX_DiscardUnknown ¶
func (m *Commitments) XXX_DiscardUnknown()
func (*Commitments) XXX_Marshal ¶
func (m *Commitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Commitments) XXX_Merge ¶
func (m *Commitments) XXX_Merge(src proto.Message)
func (*Commitments) XXX_Size ¶
func (m *Commitments) XXX_Size() int
func (*Commitments) XXX_Unmarshal ¶
func (m *Commitments) XXX_Unmarshal(b []byte) error
type CommittedTokens ¶
type CommittedTokens struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*CommittedTokens) Descriptor ¶
func (*CommittedTokens) Descriptor() ([]byte, []int)
func (*CommittedTokens) GetDenom ¶
func (m *CommittedTokens) GetDenom() string
func (*CommittedTokens) Marshal ¶
func (m *CommittedTokens) Marshal() (dAtA []byte, err error)
func (*CommittedTokens) MarshalToSizedBuffer ¶
func (m *CommittedTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommittedTokens) ProtoMessage ¶
func (*CommittedTokens) ProtoMessage()
func (*CommittedTokens) Reset ¶
func (m *CommittedTokens) Reset()
func (*CommittedTokens) Size ¶
func (m *CommittedTokens) Size() (n int)
func (*CommittedTokens) String ¶
func (m *CommittedTokens) String() string
func (*CommittedTokens) Unmarshal ¶
func (m *CommittedTokens) Unmarshal(dAtA []byte) error
func (*CommittedTokens) XXX_DiscardUnknown ¶
func (m *CommittedTokens) XXX_DiscardUnknown()
func (*CommittedTokens) XXX_Marshal ¶
func (m *CommittedTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommittedTokens) XXX_Merge ¶
func (m *CommittedTokens) XXX_Merge(src proto.Message)
func (*CommittedTokens) XXX_Size ¶
func (m *CommittedTokens) XXX_Size() int
func (*CommittedTokens) XXX_Unmarshal ¶
func (m *CommittedTokens) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the commitment module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgCancelVest ¶
type MsgCancelVest struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func NewMsgCancelVest ¶
func NewMsgCancelVest(creator string, amount sdk.Int, denom string) *MsgCancelVest
func (*MsgCancelVest) Descriptor ¶
func (*MsgCancelVest) Descriptor() ([]byte, []int)
func (*MsgCancelVest) GetCreator ¶
func (m *MsgCancelVest) GetCreator() string
func (*MsgCancelVest) GetDenom ¶
func (m *MsgCancelVest) GetDenom() string
func (*MsgCancelVest) GetSignBytes ¶
func (msg *MsgCancelVest) GetSignBytes() []byte
func (*MsgCancelVest) GetSigners ¶
func (msg *MsgCancelVest) GetSigners() []sdk.AccAddress
func (*MsgCancelVest) Marshal ¶
func (m *MsgCancelVest) Marshal() (dAtA []byte, err error)
func (*MsgCancelVest) MarshalToSizedBuffer ¶
func (m *MsgCancelVest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelVest) ProtoMessage ¶
func (*MsgCancelVest) ProtoMessage()
func (*MsgCancelVest) Reset ¶
func (m *MsgCancelVest) Reset()
func (*MsgCancelVest) Route ¶
func (msg *MsgCancelVest) Route() string
func (*MsgCancelVest) Size ¶
func (m *MsgCancelVest) Size() (n int)
func (*MsgCancelVest) String ¶
func (m *MsgCancelVest) String() string
func (*MsgCancelVest) Type ¶
func (msg *MsgCancelVest) Type() string
func (*MsgCancelVest) Unmarshal ¶
func (m *MsgCancelVest) Unmarshal(dAtA []byte) error
func (*MsgCancelVest) ValidateBasic ¶
func (msg *MsgCancelVest) ValidateBasic() error
func (*MsgCancelVest) XXX_DiscardUnknown ¶
func (m *MsgCancelVest) XXX_DiscardUnknown()
func (*MsgCancelVest) XXX_Marshal ¶
func (m *MsgCancelVest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelVest) XXX_Merge ¶
func (m *MsgCancelVest) XXX_Merge(src proto.Message)
func (*MsgCancelVest) XXX_Size ¶
func (m *MsgCancelVest) XXX_Size() int
func (*MsgCancelVest) XXX_Unmarshal ¶
func (m *MsgCancelVest) XXX_Unmarshal(b []byte) error
type MsgCancelVestResponse ¶
type MsgCancelVestResponse struct { }
func (*MsgCancelVestResponse) Descriptor ¶
func (*MsgCancelVestResponse) Descriptor() ([]byte, []int)
func (*MsgCancelVestResponse) Marshal ¶
func (m *MsgCancelVestResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelVestResponse) MarshalTo ¶
func (m *MsgCancelVestResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelVestResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelVestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelVestResponse) ProtoMessage ¶
func (*MsgCancelVestResponse) ProtoMessage()
func (*MsgCancelVestResponse) Reset ¶
func (m *MsgCancelVestResponse) Reset()
func (*MsgCancelVestResponse) Size ¶
func (m *MsgCancelVestResponse) Size() (n int)
func (*MsgCancelVestResponse) String ¶
func (m *MsgCancelVestResponse) String() string
func (*MsgCancelVestResponse) Unmarshal ¶
func (m *MsgCancelVestResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelVestResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelVestResponse) XXX_DiscardUnknown()
func (*MsgCancelVestResponse) XXX_Marshal ¶
func (m *MsgCancelVestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelVestResponse) XXX_Merge ¶
func (m *MsgCancelVestResponse) XXX_Merge(src proto.Message)
func (*MsgCancelVestResponse) XXX_Size ¶
func (m *MsgCancelVestResponse) XXX_Size() int
func (*MsgCancelVestResponse) XXX_Unmarshal ¶
func (m *MsgCancelVestResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CommitTokens(ctx context.Context, in *MsgCommitTokens, opts ...grpc.CallOption) (*MsgCommitTokensResponse, error) UncommitTokens(ctx context.Context, in *MsgUncommitTokens, opts ...grpc.CallOption) (*MsgUncommitTokensResponse, error) WithdrawTokens(ctx context.Context, in *MsgWithdrawTokens, opts ...grpc.CallOption) (*MsgWithdrawTokensResponse, error) DepositTokens(ctx context.Context, in *MsgDepositTokens, opts ...grpc.CallOption) (*MsgDepositTokensResponse, error) Vest(ctx context.Context, in *MsgVest, opts ...grpc.CallOption) (*MsgVestResponse, error) CancelVest(ctx context.Context, in *MsgCancelVest, opts ...grpc.CallOption) (*MsgCancelVestResponse, error) VestNow(ctx context.Context, in *MsgVestNow, opts ...grpc.CallOption) (*MsgVestNowResponse, 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 MsgCommitTokens ¶
type MsgCommitTokens struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func NewMsgCommitTokens ¶
func NewMsgCommitTokens(creator string, amount sdk.Int, denom string) *MsgCommitTokens
func (*MsgCommitTokens) Descriptor ¶
func (*MsgCommitTokens) Descriptor() ([]byte, []int)
func (*MsgCommitTokens) GetCreator ¶
func (m *MsgCommitTokens) GetCreator() string
func (*MsgCommitTokens) GetDenom ¶
func (m *MsgCommitTokens) GetDenom() string
func (*MsgCommitTokens) GetSignBytes ¶
func (msg *MsgCommitTokens) GetSignBytes() []byte
func (*MsgCommitTokens) GetSigners ¶
func (msg *MsgCommitTokens) GetSigners() []sdk.AccAddress
func (*MsgCommitTokens) Marshal ¶
func (m *MsgCommitTokens) Marshal() (dAtA []byte, err error)
func (*MsgCommitTokens) MarshalToSizedBuffer ¶
func (m *MsgCommitTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitTokens) ProtoMessage ¶
func (*MsgCommitTokens) ProtoMessage()
func (*MsgCommitTokens) Reset ¶
func (m *MsgCommitTokens) Reset()
func (*MsgCommitTokens) Route ¶
func (msg *MsgCommitTokens) Route() string
func (*MsgCommitTokens) Size ¶
func (m *MsgCommitTokens) Size() (n int)
func (*MsgCommitTokens) String ¶
func (m *MsgCommitTokens) String() string
func (*MsgCommitTokens) Type ¶
func (msg *MsgCommitTokens) Type() string
func (*MsgCommitTokens) Unmarshal ¶
func (m *MsgCommitTokens) Unmarshal(dAtA []byte) error
func (*MsgCommitTokens) ValidateBasic ¶
func (msg *MsgCommitTokens) ValidateBasic() error
func (*MsgCommitTokens) XXX_DiscardUnknown ¶
func (m *MsgCommitTokens) XXX_DiscardUnknown()
func (*MsgCommitTokens) XXX_Marshal ¶
func (m *MsgCommitTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitTokens) XXX_Merge ¶
func (m *MsgCommitTokens) XXX_Merge(src proto.Message)
func (*MsgCommitTokens) XXX_Size ¶
func (m *MsgCommitTokens) XXX_Size() int
func (*MsgCommitTokens) XXX_Unmarshal ¶
func (m *MsgCommitTokens) XXX_Unmarshal(b []byte) error
type MsgCommitTokensResponse ¶
type MsgCommitTokensResponse struct { }
func (*MsgCommitTokensResponse) Descriptor ¶
func (*MsgCommitTokensResponse) Descriptor() ([]byte, []int)
func (*MsgCommitTokensResponse) Marshal ¶
func (m *MsgCommitTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgCommitTokensResponse) MarshalTo ¶
func (m *MsgCommitTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommitTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgCommitTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitTokensResponse) ProtoMessage ¶
func (*MsgCommitTokensResponse) ProtoMessage()
func (*MsgCommitTokensResponse) Reset ¶
func (m *MsgCommitTokensResponse) Reset()
func (*MsgCommitTokensResponse) Size ¶
func (m *MsgCommitTokensResponse) Size() (n int)
func (*MsgCommitTokensResponse) String ¶
func (m *MsgCommitTokensResponse) String() string
func (*MsgCommitTokensResponse) Unmarshal ¶
func (m *MsgCommitTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgCommitTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgCommitTokensResponse) XXX_DiscardUnknown()
func (*MsgCommitTokensResponse) XXX_Marshal ¶
func (m *MsgCommitTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitTokensResponse) XXX_Merge ¶
func (m *MsgCommitTokensResponse) XXX_Merge(src proto.Message)
func (*MsgCommitTokensResponse) XXX_Size ¶
func (m *MsgCommitTokensResponse) XXX_Size() int
func (*MsgCommitTokensResponse) XXX_Unmarshal ¶
func (m *MsgCommitTokensResponse) XXX_Unmarshal(b []byte) error
type MsgDepositTokens ¶
type MsgDepositTokens struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func NewMsgDepositTokens ¶
func NewMsgDepositTokens(creator string, amount sdk.Int, denom string) *MsgDepositTokens
func (*MsgDepositTokens) Descriptor ¶
func (*MsgDepositTokens) Descriptor() ([]byte, []int)
func (*MsgDepositTokens) GetCreator ¶
func (m *MsgDepositTokens) GetCreator() string
func (*MsgDepositTokens) GetDenom ¶
func (m *MsgDepositTokens) GetDenom() string
func (*MsgDepositTokens) GetSignBytes ¶
func (msg *MsgDepositTokens) GetSignBytes() []byte
func (*MsgDepositTokens) GetSigners ¶
func (msg *MsgDepositTokens) GetSigners() []sdk.AccAddress
func (*MsgDepositTokens) Marshal ¶
func (m *MsgDepositTokens) Marshal() (dAtA []byte, err error)
func (*MsgDepositTokens) MarshalToSizedBuffer ¶
func (m *MsgDepositTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositTokens) ProtoMessage ¶
func (*MsgDepositTokens) ProtoMessage()
func (*MsgDepositTokens) Reset ¶
func (m *MsgDepositTokens) Reset()
func (*MsgDepositTokens) Route ¶
func (msg *MsgDepositTokens) Route() string
func (*MsgDepositTokens) Size ¶
func (m *MsgDepositTokens) Size() (n int)
func (*MsgDepositTokens) String ¶
func (m *MsgDepositTokens) String() string
func (*MsgDepositTokens) Type ¶
func (msg *MsgDepositTokens) Type() string
func (*MsgDepositTokens) Unmarshal ¶
func (m *MsgDepositTokens) Unmarshal(dAtA []byte) error
func (*MsgDepositTokens) ValidateBasic ¶
func (msg *MsgDepositTokens) ValidateBasic() error
func (*MsgDepositTokens) XXX_DiscardUnknown ¶
func (m *MsgDepositTokens) XXX_DiscardUnknown()
func (*MsgDepositTokens) XXX_Marshal ¶
func (m *MsgDepositTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositTokens) XXX_Merge ¶
func (m *MsgDepositTokens) XXX_Merge(src proto.Message)
func (*MsgDepositTokens) XXX_Size ¶
func (m *MsgDepositTokens) XXX_Size() int
func (*MsgDepositTokens) XXX_Unmarshal ¶
func (m *MsgDepositTokens) XXX_Unmarshal(b []byte) error
type MsgDepositTokensResponse ¶
type MsgDepositTokensResponse struct { }
func (*MsgDepositTokensResponse) Descriptor ¶
func (*MsgDepositTokensResponse) Descriptor() ([]byte, []int)
func (*MsgDepositTokensResponse) Marshal ¶
func (m *MsgDepositTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositTokensResponse) MarshalTo ¶
func (m *MsgDepositTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositTokensResponse) ProtoMessage ¶
func (*MsgDepositTokensResponse) ProtoMessage()
func (*MsgDepositTokensResponse) Reset ¶
func (m *MsgDepositTokensResponse) Reset()
func (*MsgDepositTokensResponse) Size ¶
func (m *MsgDepositTokensResponse) Size() (n int)
func (*MsgDepositTokensResponse) String ¶
func (m *MsgDepositTokensResponse) String() string
func (*MsgDepositTokensResponse) Unmarshal ¶
func (m *MsgDepositTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositTokensResponse) XXX_DiscardUnknown()
func (*MsgDepositTokensResponse) XXX_Marshal ¶
func (m *MsgDepositTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositTokensResponse) XXX_Merge ¶
func (m *MsgDepositTokensResponse) XXX_Merge(src proto.Message)
func (*MsgDepositTokensResponse) XXX_Size ¶
func (m *MsgDepositTokensResponse) XXX_Size() int
func (*MsgDepositTokensResponse) XXX_Unmarshal ¶
func (m *MsgDepositTokensResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CommitTokens(context.Context, *MsgCommitTokens) (*MsgCommitTokensResponse, error) UncommitTokens(context.Context, *MsgUncommitTokens) (*MsgUncommitTokensResponse, error) WithdrawTokens(context.Context, *MsgWithdrawTokens) (*MsgWithdrawTokensResponse, error) DepositTokens(context.Context, *MsgDepositTokens) (*MsgDepositTokensResponse, error) Vest(context.Context, *MsgVest) (*MsgVestResponse, error) CancelVest(context.Context, *MsgCancelVest) (*MsgCancelVestResponse, error) VestNow(context.Context, *MsgVestNow) (*MsgVestNowResponse, error) }
MsgServer is the server API for Msg service.
type MsgUncommitTokens ¶
type MsgUncommitTokens struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func NewMsgUncommitTokens ¶
func NewMsgUncommitTokens(creator string, amount sdk.Int, denom string) *MsgUncommitTokens
func (*MsgUncommitTokens) Descriptor ¶
func (*MsgUncommitTokens) Descriptor() ([]byte, []int)
func (*MsgUncommitTokens) GetCreator ¶
func (m *MsgUncommitTokens) GetCreator() string
func (*MsgUncommitTokens) GetDenom ¶
func (m *MsgUncommitTokens) GetDenom() string
func (*MsgUncommitTokens) GetSignBytes ¶
func (msg *MsgUncommitTokens) GetSignBytes() []byte
func (*MsgUncommitTokens) GetSigners ¶
func (msg *MsgUncommitTokens) GetSigners() []sdk.AccAddress
func (*MsgUncommitTokens) Marshal ¶
func (m *MsgUncommitTokens) Marshal() (dAtA []byte, err error)
func (*MsgUncommitTokens) MarshalTo ¶
func (m *MsgUncommitTokens) MarshalTo(dAtA []byte) (int, error)
func (*MsgUncommitTokens) MarshalToSizedBuffer ¶
func (m *MsgUncommitTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUncommitTokens) ProtoMessage ¶
func (*MsgUncommitTokens) ProtoMessage()
func (*MsgUncommitTokens) Reset ¶
func (m *MsgUncommitTokens) Reset()
func (*MsgUncommitTokens) Route ¶
func (msg *MsgUncommitTokens) Route() string
func (*MsgUncommitTokens) Size ¶
func (m *MsgUncommitTokens) Size() (n int)
func (*MsgUncommitTokens) String ¶
func (m *MsgUncommitTokens) String() string
func (*MsgUncommitTokens) Type ¶
func (msg *MsgUncommitTokens) Type() string
func (*MsgUncommitTokens) Unmarshal ¶
func (m *MsgUncommitTokens) Unmarshal(dAtA []byte) error
func (MsgUncommitTokens) ValidateBasic ¶
func (msg MsgUncommitTokens) ValidateBasic() error
func (*MsgUncommitTokens) XXX_DiscardUnknown ¶
func (m *MsgUncommitTokens) XXX_DiscardUnknown()
func (*MsgUncommitTokens) XXX_Marshal ¶
func (m *MsgUncommitTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUncommitTokens) XXX_Merge ¶
func (m *MsgUncommitTokens) XXX_Merge(src proto.Message)
func (*MsgUncommitTokens) XXX_Size ¶
func (m *MsgUncommitTokens) XXX_Size() int
func (*MsgUncommitTokens) XXX_Unmarshal ¶
func (m *MsgUncommitTokens) XXX_Unmarshal(b []byte) error
type MsgUncommitTokensResponse ¶
type MsgUncommitTokensResponse struct { }
func (*MsgUncommitTokensResponse) Descriptor ¶
func (*MsgUncommitTokensResponse) Descriptor() ([]byte, []int)
func (*MsgUncommitTokensResponse) Marshal ¶
func (m *MsgUncommitTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgUncommitTokensResponse) MarshalTo ¶
func (m *MsgUncommitTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUncommitTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgUncommitTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUncommitTokensResponse) ProtoMessage ¶
func (*MsgUncommitTokensResponse) ProtoMessage()
func (*MsgUncommitTokensResponse) Reset ¶
func (m *MsgUncommitTokensResponse) Reset()
func (*MsgUncommitTokensResponse) Size ¶
func (m *MsgUncommitTokensResponse) Size() (n int)
func (*MsgUncommitTokensResponse) String ¶
func (m *MsgUncommitTokensResponse) String() string
func (*MsgUncommitTokensResponse) Unmarshal ¶
func (m *MsgUncommitTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgUncommitTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgUncommitTokensResponse) XXX_DiscardUnknown()
func (*MsgUncommitTokensResponse) XXX_Marshal ¶
func (m *MsgUncommitTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUncommitTokensResponse) XXX_Merge ¶
func (m *MsgUncommitTokensResponse) XXX_Merge(src proto.Message)
func (*MsgUncommitTokensResponse) XXX_Size ¶
func (m *MsgUncommitTokensResponse) XXX_Size() int
func (*MsgUncommitTokensResponse) XXX_Unmarshal ¶
func (m *MsgUncommitTokensResponse) XXX_Unmarshal(b []byte) error
type MsgVest ¶
type MsgVest struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*MsgVest) Descriptor ¶
func (*MsgVest) GetCreator ¶
func (*MsgVest) GetSignBytes ¶
func (*MsgVest) GetSigners ¶
func (msg *MsgVest) GetSigners() []sdk.AccAddress
func (*MsgVest) MarshalToSizedBuffer ¶
func (*MsgVest) ProtoMessage ¶
func (*MsgVest) ProtoMessage()
func (*MsgVest) ValidateBasic ¶
func (*MsgVest) XXX_DiscardUnknown ¶
func (m *MsgVest) XXX_DiscardUnknown()
func (*MsgVest) XXX_Marshal ¶
func (*MsgVest) XXX_Unmarshal ¶
type MsgVestNow ¶
type MsgVestNow struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func NewMsgVestNow ¶
func NewMsgVestNow(creator string, amount sdk.Int, denom string) *MsgVestNow
func (*MsgVestNow) Descriptor ¶
func (*MsgVestNow) Descriptor() ([]byte, []int)
func (*MsgVestNow) GetCreator ¶
func (m *MsgVestNow) GetCreator() string
func (*MsgVestNow) GetDenom ¶
func (m *MsgVestNow) GetDenom() string
func (*MsgVestNow) GetSignBytes ¶
func (msg *MsgVestNow) GetSignBytes() []byte
func (*MsgVestNow) GetSigners ¶
func (msg *MsgVestNow) GetSigners() []sdk.AccAddress
func (*MsgVestNow) Marshal ¶
func (m *MsgVestNow) Marshal() (dAtA []byte, err error)
func (*MsgVestNow) MarshalToSizedBuffer ¶
func (m *MsgVestNow) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVestNow) ProtoMessage ¶
func (*MsgVestNow) ProtoMessage()
func (*MsgVestNow) Reset ¶
func (m *MsgVestNow) Reset()
func (*MsgVestNow) Route ¶
func (msg *MsgVestNow) Route() string
func (*MsgVestNow) Size ¶
func (m *MsgVestNow) Size() (n int)
func (*MsgVestNow) String ¶
func (m *MsgVestNow) String() string
func (*MsgVestNow) Type ¶
func (msg *MsgVestNow) Type() string
func (*MsgVestNow) Unmarshal ¶
func (m *MsgVestNow) Unmarshal(dAtA []byte) error
func (*MsgVestNow) ValidateBasic ¶
func (msg *MsgVestNow) ValidateBasic() error
func (*MsgVestNow) XXX_DiscardUnknown ¶
func (m *MsgVestNow) XXX_DiscardUnknown()
func (*MsgVestNow) XXX_Marshal ¶
func (m *MsgVestNow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVestNow) XXX_Merge ¶
func (m *MsgVestNow) XXX_Merge(src proto.Message)
func (*MsgVestNow) XXX_Size ¶
func (m *MsgVestNow) XXX_Size() int
func (*MsgVestNow) XXX_Unmarshal ¶
func (m *MsgVestNow) XXX_Unmarshal(b []byte) error
type MsgVestNowResponse ¶
type MsgVestNowResponse struct { }
func (*MsgVestNowResponse) Descriptor ¶
func (*MsgVestNowResponse) Descriptor() ([]byte, []int)
func (*MsgVestNowResponse) Marshal ¶
func (m *MsgVestNowResponse) Marshal() (dAtA []byte, err error)
func (*MsgVestNowResponse) MarshalTo ¶
func (m *MsgVestNowResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVestNowResponse) MarshalToSizedBuffer ¶
func (m *MsgVestNowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVestNowResponse) ProtoMessage ¶
func (*MsgVestNowResponse) ProtoMessage()
func (*MsgVestNowResponse) Reset ¶
func (m *MsgVestNowResponse) Reset()
func (*MsgVestNowResponse) Size ¶
func (m *MsgVestNowResponse) Size() (n int)
func (*MsgVestNowResponse) String ¶
func (m *MsgVestNowResponse) String() string
func (*MsgVestNowResponse) Unmarshal ¶
func (m *MsgVestNowResponse) Unmarshal(dAtA []byte) error
func (*MsgVestNowResponse) XXX_DiscardUnknown ¶
func (m *MsgVestNowResponse) XXX_DiscardUnknown()
func (*MsgVestNowResponse) XXX_Marshal ¶
func (m *MsgVestNowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVestNowResponse) XXX_Merge ¶
func (m *MsgVestNowResponse) XXX_Merge(src proto.Message)
func (*MsgVestNowResponse) XXX_Size ¶
func (m *MsgVestNowResponse) XXX_Size() int
func (*MsgVestNowResponse) XXX_Unmarshal ¶
func (m *MsgVestNowResponse) XXX_Unmarshal(b []byte) error
type MsgVestResponse ¶
type MsgVestResponse struct { }
func (*MsgVestResponse) Descriptor ¶
func (*MsgVestResponse) Descriptor() ([]byte, []int)
func (*MsgVestResponse) Marshal ¶
func (m *MsgVestResponse) Marshal() (dAtA []byte, err error)
func (*MsgVestResponse) MarshalToSizedBuffer ¶
func (m *MsgVestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVestResponse) ProtoMessage ¶
func (*MsgVestResponse) ProtoMessage()
func (*MsgVestResponse) Reset ¶
func (m *MsgVestResponse) Reset()
func (*MsgVestResponse) Size ¶
func (m *MsgVestResponse) Size() (n int)
func (*MsgVestResponse) String ¶
func (m *MsgVestResponse) String() string
func (*MsgVestResponse) Unmarshal ¶
func (m *MsgVestResponse) Unmarshal(dAtA []byte) error
func (*MsgVestResponse) XXX_DiscardUnknown ¶
func (m *MsgVestResponse) XXX_DiscardUnknown()
func (*MsgVestResponse) XXX_Marshal ¶
func (m *MsgVestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVestResponse) XXX_Merge ¶
func (m *MsgVestResponse) XXX_Merge(src proto.Message)
func (*MsgVestResponse) XXX_Size ¶
func (m *MsgVestResponse) XXX_Size() int
func (*MsgVestResponse) XXX_Unmarshal ¶
func (m *MsgVestResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawTokens ¶
type MsgWithdrawTokens struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func NewMsgWithdrawTokens ¶
func NewMsgWithdrawTokens(creator string, amount sdk.Int, denom string) *MsgWithdrawTokens
func (*MsgWithdrawTokens) Descriptor ¶
func (*MsgWithdrawTokens) Descriptor() ([]byte, []int)
func (*MsgWithdrawTokens) GetCreator ¶
func (m *MsgWithdrawTokens) GetCreator() string
func (*MsgWithdrawTokens) GetDenom ¶
func (m *MsgWithdrawTokens) GetDenom() string
func (*MsgWithdrawTokens) GetSignBytes ¶
func (msg *MsgWithdrawTokens) GetSignBytes() []byte
func (*MsgWithdrawTokens) GetSigners ¶
func (msg *MsgWithdrawTokens) GetSigners() []sdk.AccAddress
func (*MsgWithdrawTokens) Marshal ¶
func (m *MsgWithdrawTokens) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawTokens) MarshalTo ¶
func (m *MsgWithdrawTokens) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawTokens) MarshalToSizedBuffer ¶
func (m *MsgWithdrawTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawTokens) ProtoMessage ¶
func (*MsgWithdrawTokens) ProtoMessage()
func (*MsgWithdrawTokens) Reset ¶
func (m *MsgWithdrawTokens) Reset()
func (*MsgWithdrawTokens) Route ¶
func (msg *MsgWithdrawTokens) Route() string
func (*MsgWithdrawTokens) Size ¶
func (m *MsgWithdrawTokens) Size() (n int)
func (*MsgWithdrawTokens) String ¶
func (m *MsgWithdrawTokens) String() string
func (*MsgWithdrawTokens) Type ¶
func (msg *MsgWithdrawTokens) Type() string
func (*MsgWithdrawTokens) Unmarshal ¶
func (m *MsgWithdrawTokens) Unmarshal(dAtA []byte) error
func (*MsgWithdrawTokens) ValidateBasic ¶
func (msg *MsgWithdrawTokens) ValidateBasic() error
func (*MsgWithdrawTokens) XXX_DiscardUnknown ¶
func (m *MsgWithdrawTokens) XXX_DiscardUnknown()
func (*MsgWithdrawTokens) XXX_Marshal ¶
func (m *MsgWithdrawTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawTokens) XXX_Merge ¶
func (m *MsgWithdrawTokens) XXX_Merge(src proto.Message)
func (*MsgWithdrawTokens) XXX_Size ¶
func (m *MsgWithdrawTokens) XXX_Size() int
func (*MsgWithdrawTokens) XXX_Unmarshal ¶
func (m *MsgWithdrawTokens) XXX_Unmarshal(b []byte) error
type MsgWithdrawTokensResponse ¶
type MsgWithdrawTokensResponse struct { }
func (*MsgWithdrawTokensResponse) Descriptor ¶
func (*MsgWithdrawTokensResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawTokensResponse) Marshal ¶
func (m *MsgWithdrawTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawTokensResponse) MarshalTo ¶
func (m *MsgWithdrawTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawTokensResponse) ProtoMessage ¶
func (*MsgWithdrawTokensResponse) ProtoMessage()
func (*MsgWithdrawTokensResponse) Reset ¶
func (m *MsgWithdrawTokensResponse) Reset()
func (*MsgWithdrawTokensResponse) Size ¶
func (m *MsgWithdrawTokensResponse) Size() (n int)
func (*MsgWithdrawTokensResponse) String ¶
func (m *MsgWithdrawTokensResponse) String() string
func (*MsgWithdrawTokensResponse) Unmarshal ¶
func (m *MsgWithdrawTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawTokensResponse) XXX_DiscardUnknown()
func (*MsgWithdrawTokensResponse) XXX_Marshal ¶
func (m *MsgWithdrawTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawTokensResponse) XXX_Merge ¶
func (m *MsgWithdrawTokensResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawTokensResponse) XXX_Size ¶
func (m *MsgWithdrawTokensResponse) XXX_Size() int
func (*MsgWithdrawTokensResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawTokensResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
VestingInfos []*VestingInfo `protobuf:"bytes,1,rep,name=vesting_infos,json=vestingInfos,proto3" json:"vesting_infos,omitempty"`
}
Params defines the parameters for the module.
func NewParams ¶
func NewParams(vestingInfos []*VestingInfo) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetVestingInfos ¶
func (m *Params) GetVestingInfos() []*VestingInfo
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of ShowCommitments items. ShowCommitments(ctx context.Context, in *QueryShowCommitmentsRequest, opts ...grpc.CallOption) (*QueryShowCommitmentsResponse, 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 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 ShowCommitments items. ShowCommitments(context.Context, *QueryShowCommitmentsRequest) (*QueryShowCommitmentsResponse, error) }
QueryServer is the server API for Query service.
type QueryShowCommitmentsRequest ¶
type QueryShowCommitmentsRequest struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}
func (*QueryShowCommitmentsRequest) Descriptor ¶
func (*QueryShowCommitmentsRequest) Descriptor() ([]byte, []int)
func (*QueryShowCommitmentsRequest) GetCreator ¶
func (m *QueryShowCommitmentsRequest) GetCreator() string
func (*QueryShowCommitmentsRequest) Marshal ¶
func (m *QueryShowCommitmentsRequest) Marshal() (dAtA []byte, err error)
func (*QueryShowCommitmentsRequest) MarshalTo ¶
func (m *QueryShowCommitmentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryShowCommitmentsRequest) MarshalToSizedBuffer ¶
func (m *QueryShowCommitmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShowCommitmentsRequest) ProtoMessage ¶
func (*QueryShowCommitmentsRequest) ProtoMessage()
func (*QueryShowCommitmentsRequest) Reset ¶
func (m *QueryShowCommitmentsRequest) Reset()
func (*QueryShowCommitmentsRequest) Size ¶
func (m *QueryShowCommitmentsRequest) Size() (n int)
func (*QueryShowCommitmentsRequest) String ¶
func (m *QueryShowCommitmentsRequest) String() string
func (*QueryShowCommitmentsRequest) Unmarshal ¶
func (m *QueryShowCommitmentsRequest) Unmarshal(dAtA []byte) error
func (*QueryShowCommitmentsRequest) XXX_DiscardUnknown ¶
func (m *QueryShowCommitmentsRequest) XXX_DiscardUnknown()
func (*QueryShowCommitmentsRequest) XXX_Marshal ¶
func (m *QueryShowCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShowCommitmentsRequest) XXX_Merge ¶
func (m *QueryShowCommitmentsRequest) XXX_Merge(src proto.Message)
func (*QueryShowCommitmentsRequest) XXX_Size ¶
func (m *QueryShowCommitmentsRequest) XXX_Size() int
func (*QueryShowCommitmentsRequest) XXX_Unmarshal ¶
func (m *QueryShowCommitmentsRequest) XXX_Unmarshal(b []byte) error
type QueryShowCommitmentsResponse ¶
type QueryShowCommitmentsResponse struct {
Commitments *Commitments `protobuf:"bytes,1,opt,name=commitments,proto3" json:"commitments,omitempty"`
}
func (*QueryShowCommitmentsResponse) Descriptor ¶
func (*QueryShowCommitmentsResponse) Descriptor() ([]byte, []int)
func (*QueryShowCommitmentsResponse) GetCommitments ¶
func (m *QueryShowCommitmentsResponse) GetCommitments() *Commitments
func (*QueryShowCommitmentsResponse) Marshal ¶
func (m *QueryShowCommitmentsResponse) Marshal() (dAtA []byte, err error)
func (*QueryShowCommitmentsResponse) MarshalTo ¶
func (m *QueryShowCommitmentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryShowCommitmentsResponse) MarshalToSizedBuffer ¶
func (m *QueryShowCommitmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShowCommitmentsResponse) ProtoMessage ¶
func (*QueryShowCommitmentsResponse) ProtoMessage()
func (*QueryShowCommitmentsResponse) Reset ¶
func (m *QueryShowCommitmentsResponse) Reset()
func (*QueryShowCommitmentsResponse) Size ¶
func (m *QueryShowCommitmentsResponse) Size() (n int)
func (*QueryShowCommitmentsResponse) String ¶
func (m *QueryShowCommitmentsResponse) String() string
func (*QueryShowCommitmentsResponse) Unmarshal ¶
func (m *QueryShowCommitmentsResponse) Unmarshal(dAtA []byte) error
func (*QueryShowCommitmentsResponse) XXX_DiscardUnknown ¶
func (m *QueryShowCommitmentsResponse) XXX_DiscardUnknown()
func (*QueryShowCommitmentsResponse) XXX_Marshal ¶
func (m *QueryShowCommitmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShowCommitmentsResponse) XXX_Merge ¶
func (m *QueryShowCommitmentsResponse) XXX_Merge(src proto.Message)
func (*QueryShowCommitmentsResponse) XXX_Size ¶
func (m *QueryShowCommitmentsResponse) XXX_Size() int
func (*QueryShowCommitmentsResponse) XXX_Unmarshal ¶
func (m *QueryShowCommitmentsResponse) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
StakingKeeper defines the expected interface contract the vesting module requires for finding and changing the delegated tokens, used in clawback.
type UncommittedTokens ¶
type UncommittedTokens struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*UncommittedTokens) Descriptor ¶
func (*UncommittedTokens) Descriptor() ([]byte, []int)
func (*UncommittedTokens) GetDenom ¶
func (m *UncommittedTokens) GetDenom() string
func (*UncommittedTokens) Marshal ¶
func (m *UncommittedTokens) Marshal() (dAtA []byte, err error)
func (*UncommittedTokens) MarshalTo ¶
func (m *UncommittedTokens) MarshalTo(dAtA []byte) (int, error)
func (*UncommittedTokens) MarshalToSizedBuffer ¶
func (m *UncommittedTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UncommittedTokens) ProtoMessage ¶
func (*UncommittedTokens) ProtoMessage()
func (*UncommittedTokens) Reset ¶
func (m *UncommittedTokens) Reset()
func (*UncommittedTokens) Size ¶
func (m *UncommittedTokens) Size() (n int)
func (*UncommittedTokens) String ¶
func (m *UncommittedTokens) String() string
func (*UncommittedTokens) Unmarshal ¶
func (m *UncommittedTokens) Unmarshal(dAtA []byte) error
func (*UncommittedTokens) XXX_DiscardUnknown ¶
func (m *UncommittedTokens) XXX_DiscardUnknown()
func (*UncommittedTokens) XXX_Marshal ¶
func (m *UncommittedTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UncommittedTokens) XXX_Merge ¶
func (m *UncommittedTokens) XXX_Merge(src proto.Message)
func (*UncommittedTokens) XXX_Size ¶
func (m *UncommittedTokens) XXX_Size() int
func (*UncommittedTokens) XXX_Unmarshal ¶
func (m *UncommittedTokens) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelVest ¶
func (*UnimplementedMsgServer) CancelVest(ctx context.Context, req *MsgCancelVest) (*MsgCancelVestResponse, error)
func (*UnimplementedMsgServer) CommitTokens ¶
func (*UnimplementedMsgServer) CommitTokens(ctx context.Context, req *MsgCommitTokens) (*MsgCommitTokensResponse, error)
func (*UnimplementedMsgServer) DepositTokens ¶
func (*UnimplementedMsgServer) DepositTokens(ctx context.Context, req *MsgDepositTokens) (*MsgDepositTokensResponse, error)
func (*UnimplementedMsgServer) UncommitTokens ¶
func (*UnimplementedMsgServer) UncommitTokens(ctx context.Context, req *MsgUncommitTokens) (*MsgUncommitTokensResponse, error)
func (*UnimplementedMsgServer) Vest ¶
func (*UnimplementedMsgServer) Vest(ctx context.Context, req *MsgVest) (*MsgVestResponse, error)
func (*UnimplementedMsgServer) VestNow ¶
func (*UnimplementedMsgServer) VestNow(ctx context.Context, req *MsgVestNow) (*MsgVestNowResponse, error)
func (*UnimplementedMsgServer) WithdrawTokens ¶
func (*UnimplementedMsgServer) WithdrawTokens(ctx context.Context, req *MsgWithdrawTokens) (*MsgWithdrawTokensResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ShowCommitments ¶
func (*UnimplementedQueryServer) ShowCommitments(ctx context.Context, req *QueryShowCommitmentsRequest) (*QueryShowCommitmentsResponse, error)
type VestingInfo ¶
type VestingInfo struct { BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"` VestingDenom string `protobuf:"bytes,2,opt,name=vesting_denom,json=vestingDenom,proto3" json:"vesting_denom,omitempty"` EpochIdentifier string `protobuf:"bytes,3,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"` NumEpochs int64 `protobuf:"varint,4,opt,name=num_epochs,json=numEpochs,proto3" json:"num_epochs,omitempty"` VestNowFactor github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */ }
func (*VestingInfo) Descriptor ¶
func (*VestingInfo) Descriptor() ([]byte, []int)
func (*VestingInfo) GetBaseDenom ¶
func (m *VestingInfo) GetBaseDenom() string
func (*VestingInfo) GetEpochIdentifier ¶
func (m *VestingInfo) GetEpochIdentifier() string
func (*VestingInfo) GetNumEpochs ¶
func (m *VestingInfo) GetNumEpochs() int64
func (*VestingInfo) GetVestingDenom ¶
func (m *VestingInfo) GetVestingDenom() string
func (*VestingInfo) Marshal ¶
func (m *VestingInfo) Marshal() (dAtA []byte, err error)
func (*VestingInfo) MarshalToSizedBuffer ¶
func (m *VestingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VestingInfo) ProtoMessage ¶
func (*VestingInfo) ProtoMessage()
func (*VestingInfo) Reset ¶
func (m *VestingInfo) Reset()
func (*VestingInfo) Size ¶
func (m *VestingInfo) Size() (n int)
func (*VestingInfo) String ¶
func (m *VestingInfo) String() string
func (*VestingInfo) Unmarshal ¶
func (m *VestingInfo) Unmarshal(dAtA []byte) error
func (*VestingInfo) XXX_DiscardUnknown ¶
func (m *VestingInfo) XXX_DiscardUnknown()
func (*VestingInfo) XXX_Marshal ¶
func (m *VestingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VestingInfo) XXX_Merge ¶
func (m *VestingInfo) XXX_Merge(src proto.Message)
func (*VestingInfo) XXX_Size ¶
func (m *VestingInfo) XXX_Size() int
func (*VestingInfo) XXX_Unmarshal ¶
func (m *VestingInfo) XXX_Unmarshal(b []byte) error
type VestingTokens ¶
type VestingTokens struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` TotalAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ UnvestedAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ EpochIdentifier string `protobuf:"bytes,4,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"` NumEpochs int64 `protobuf:"varint,5,opt,name=num_epochs,json=numEpochs,proto3" json:"num_epochs,omitempty"` CurrentEpoch int64 `protobuf:"varint,6,opt,name=current_epoch,json=currentEpoch,proto3" json:"current_epoch,omitempty"` }
func (*VestingTokens) Descriptor ¶
func (*VestingTokens) Descriptor() ([]byte, []int)
func (*VestingTokens) GetCurrentEpoch ¶
func (m *VestingTokens) GetCurrentEpoch() int64
func (*VestingTokens) GetDenom ¶
func (m *VestingTokens) GetDenom() string
func (*VestingTokens) GetEpochIdentifier ¶
func (m *VestingTokens) GetEpochIdentifier() string
func (*VestingTokens) GetNumEpochs ¶
func (m *VestingTokens) GetNumEpochs() int64
func (*VestingTokens) Marshal ¶
func (m *VestingTokens) Marshal() (dAtA []byte, err error)
func (*VestingTokens) MarshalToSizedBuffer ¶
func (m *VestingTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VestingTokens) ProtoMessage ¶
func (*VestingTokens) ProtoMessage()
func (*VestingTokens) Reset ¶
func (m *VestingTokens) Reset()
func (*VestingTokens) Size ¶
func (m *VestingTokens) Size() (n int)
func (*VestingTokens) String ¶
func (m *VestingTokens) String() string
func (*VestingTokens) Unmarshal ¶
func (m *VestingTokens) Unmarshal(dAtA []byte) error
func (*VestingTokens) XXX_DiscardUnknown ¶
func (m *VestingTokens) XXX_DiscardUnknown()
func (*VestingTokens) XXX_Marshal ¶
func (m *VestingTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VestingTokens) XXX_Merge ¶
func (m *VestingTokens) XXX_Merge(src proto.Message)
func (*VestingTokens) XXX_Size ¶
func (m *VestingTokens) XXX_Size() int
func (*VestingTokens) XXX_Unmarshal ¶
func (m *VestingTokens) XXX_Unmarshal(b []byte) error
Source Files ¶
- codec.go
- commitments.go
- commitments.pb.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- interfaces.go
- key_commitments.go
- keys.go
- message_cancel_vest.go
- message_commit_tokens.go
- message_deposit_tokens.go
- message_uncommit_tokens.go
- message_vest.go
- message_vest_now.go
- message_withdraw_tokens.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go