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 (c *Commitments) AddCommitedTokens(denom string, amount sdk.Int, unlockTime uint64)
- func (c *Commitments) DeductFromCommitted(denom string, amount sdk.Int, currTime uint64) error
- 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 (m *Commitments) GetRewardsUnclaimed() []*RewardsUnclaimed
- func (c *Commitments) GetRewardsUnclaimedForDenom(denom string) (*RewardsUnclaimed, bool)
- func (c *Commitments) GetUnclaimedAmountForDenom(denom string) sdk.Int
- 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) GetLockups() []Lockup
- 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) GetCommitments() []*Commitments
- 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 Lockup
- func (*Lockup) Descriptor() ([]byte, []int)
- func (m *Lockup) GetUnlockTimestamp() uint64
- func (m *Lockup) Marshal() (dAtA []byte, err error)
- func (m *Lockup) MarshalTo(dAtA []byte) (int, error)
- func (m *Lockup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Lockup) ProtoMessage()
- func (m *Lockup) Reset()
- func (m *Lockup) Size() (n int)
- func (m *Lockup) String() string
- func (m *Lockup) Unmarshal(dAtA []byte) error
- func (m *Lockup) XXX_DiscardUnknown()
- func (m *Lockup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Lockup) XXX_Merge(src proto.Message)
- func (m *Lockup) XXX_Size() int
- func (m *Lockup) 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 MsgCommitLiquidTokens
- func (*MsgCommitLiquidTokens) Descriptor() ([]byte, []int)
- func (m *MsgCommitLiquidTokens) GetCreator() string
- func (m *MsgCommitLiquidTokens) GetDenom() string
- func (m *MsgCommitLiquidTokens) GetMinLock() uint64
- func (msg *MsgCommitLiquidTokens) GetSignBytes() []byte
- func (msg *MsgCommitLiquidTokens) GetSigners() []sdk.AccAddress
- func (m *MsgCommitLiquidTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitLiquidTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitLiquidTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitLiquidTokens) ProtoMessage()
- func (m *MsgCommitLiquidTokens) Reset()
- func (msg *MsgCommitLiquidTokens) Route() string
- func (m *MsgCommitLiquidTokens) Size() (n int)
- func (m *MsgCommitLiquidTokens) String() string
- func (msg *MsgCommitLiquidTokens) Type() string
- func (m *MsgCommitLiquidTokens) Unmarshal(dAtA []byte) error
- func (msg *MsgCommitLiquidTokens) ValidateBasic() error
- func (m *MsgCommitLiquidTokens) XXX_DiscardUnknown()
- func (m *MsgCommitLiquidTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitLiquidTokens) XXX_Merge(src proto.Message)
- func (m *MsgCommitLiquidTokens) XXX_Size() int
- func (m *MsgCommitLiquidTokens) XXX_Unmarshal(b []byte) error
- type MsgCommitLiquidTokensResponse
- func (*MsgCommitLiquidTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgCommitLiquidTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitLiquidTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitLiquidTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitLiquidTokensResponse) ProtoMessage()
- func (m *MsgCommitLiquidTokensResponse) Reset()
- func (m *MsgCommitLiquidTokensResponse) Size() (n int)
- func (m *MsgCommitLiquidTokensResponse) String() string
- func (m *MsgCommitLiquidTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCommitLiquidTokensResponse) XXX_DiscardUnknown()
- func (m *MsgCommitLiquidTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitLiquidTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgCommitLiquidTokensResponse) XXX_Size() int
- func (m *MsgCommitLiquidTokensResponse) XXX_Unmarshal(b []byte) error
- type MsgCommitUnclaimedRewards
- func (*MsgCommitUnclaimedRewards) Descriptor() ([]byte, []int)
- func (m *MsgCommitUnclaimedRewards) GetCreator() string
- func (m *MsgCommitUnclaimedRewards) GetDenom() string
- func (msg *MsgCommitUnclaimedRewards) GetSignBytes() []byte
- func (msg *MsgCommitUnclaimedRewards) GetSigners() []sdk.AccAddress
- func (m *MsgCommitUnclaimedRewards) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitUnclaimedRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitUnclaimedRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitUnclaimedRewards) ProtoMessage()
- func (m *MsgCommitUnclaimedRewards) Reset()
- func (msg *MsgCommitUnclaimedRewards) Route() string
- func (m *MsgCommitUnclaimedRewards) Size() (n int)
- func (m *MsgCommitUnclaimedRewards) String() string
- func (msg *MsgCommitUnclaimedRewards) Type() string
- func (m *MsgCommitUnclaimedRewards) Unmarshal(dAtA []byte) error
- func (msg *MsgCommitUnclaimedRewards) ValidateBasic() error
- func (m *MsgCommitUnclaimedRewards) XXX_DiscardUnknown()
- func (m *MsgCommitUnclaimedRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitUnclaimedRewards) XXX_Merge(src proto.Message)
- func (m *MsgCommitUnclaimedRewards) XXX_Size() int
- func (m *MsgCommitUnclaimedRewards) XXX_Unmarshal(b []byte) error
- type MsgCommitUnclaimedRewardsResponse
- func (*MsgCommitUnclaimedRewardsResponse) Descriptor() ([]byte, []int)
- func (m *MsgCommitUnclaimedRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitUnclaimedRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitUnclaimedRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitUnclaimedRewardsResponse) ProtoMessage()
- func (m *MsgCommitUnclaimedRewardsResponse) Reset()
- func (m *MsgCommitUnclaimedRewardsResponse) Size() (n int)
- func (m *MsgCommitUnclaimedRewardsResponse) String() string
- func (m *MsgCommitUnclaimedRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCommitUnclaimedRewardsResponse) XXX_DiscardUnknown()
- func (m *MsgCommitUnclaimedRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitUnclaimedRewardsResponse) XXX_Merge(src proto.Message)
- func (m *MsgCommitUnclaimedRewardsResponse) XXX_Size() int
- func (m *MsgCommitUnclaimedRewardsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStake
- func (*MsgStake) Descriptor() ([]byte, []int)
- func (m *MsgStake) GetAsset() string
- func (m *MsgStake) GetCreator() string
- func (msg *MsgStake) GetSignBytes() []byte
- func (msg *MsgStake) GetSigners() []sdk.AccAddress
- func (m *MsgStake) GetValidatorAddress() string
- func (m *MsgStake) Marshal() (dAtA []byte, err error)
- func (m *MsgStake) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStake) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStake) ProtoMessage()
- func (m *MsgStake) Reset()
- func (msg *MsgStake) Route() string
- func (m *MsgStake) Size() (n int)
- func (m *MsgStake) String() string
- func (msg *MsgStake) Type() string
- func (m *MsgStake) Unmarshal(dAtA []byte) error
- func (msg *MsgStake) ValidateBasic() error
- func (m *MsgStake) XXX_DiscardUnknown()
- func (m *MsgStake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStake) XXX_Merge(src proto.Message)
- func (m *MsgStake) XXX_Size() int
- func (m *MsgStake) XXX_Unmarshal(b []byte) error
- type MsgStakeResponse
- func (*MsgStakeResponse) Descriptor() ([]byte, []int)
- func (m *MsgStakeResponse) GetCode() uint64
- func (m *MsgStakeResponse) GetResult() string
- func (m *MsgStakeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeResponse) ProtoMessage()
- func (m *MsgStakeResponse) Reset()
- func (m *MsgStakeResponse) Size() (n int)
- func (m *MsgStakeResponse) String() string
- func (m *MsgStakeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStakeResponse) XXX_DiscardUnknown()
- func (m *MsgStakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeResponse) XXX_Merge(src proto.Message)
- func (m *MsgStakeResponse) XXX_Size() int
- func (m *MsgStakeResponse) XXX_Unmarshal(b []byte) error
- 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 MsgUnstake
- func (*MsgUnstake) Descriptor() ([]byte, []int)
- func (m *MsgUnstake) GetAsset() string
- func (m *MsgUnstake) GetCreator() string
- func (msg *MsgUnstake) GetSignBytes() []byte
- func (msg *MsgUnstake) GetSigners() []sdk.AccAddress
- func (m *MsgUnstake) GetValidatorAddress() string
- func (m *MsgUnstake) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstake) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstake) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstake) ProtoMessage()
- func (m *MsgUnstake) Reset()
- func (msg *MsgUnstake) Route() string
- func (m *MsgUnstake) Size() (n int)
- func (m *MsgUnstake) String() string
- func (msg *MsgUnstake) Type() string
- func (m *MsgUnstake) Unmarshal(dAtA []byte) error
- func (msg *MsgUnstake) ValidateBasic() error
- func (m *MsgUnstake) XXX_DiscardUnknown()
- func (m *MsgUnstake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstake) XXX_Merge(src proto.Message)
- func (m *MsgUnstake) XXX_Size() int
- func (m *MsgUnstake) XXX_Unmarshal(b []byte) error
- type MsgUnstakeResponse
- func (*MsgUnstakeResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeResponse) GetCode() uint64
- func (m *MsgUnstakeResponse) GetResult() string
- func (m *MsgUnstakeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeResponse) ProtoMessage()
- func (m *MsgUnstakeResponse) Reset()
- func (m *MsgUnstakeResponse) Size() (n int)
- func (m *MsgUnstakeResponse) String() string
- func (m *MsgUnstakeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnstakeResponse) XXX_DiscardUnknown()
- func (m *MsgUnstakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeResponse) XXX_Size() int
- func (m *MsgUnstakeResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateVestingInfo
- func (*MsgUpdateVestingInfo) Descriptor() ([]byte, []int)
- func (m *MsgUpdateVestingInfo) GetAuthority() string
- func (m *MsgUpdateVestingInfo) GetBaseDenom() string
- func (m *MsgUpdateVestingInfo) GetEpochIdentifier() string
- func (m *MsgUpdateVestingInfo) GetNumEpochs() int64
- func (m *MsgUpdateVestingInfo) GetNumMaxVestings() int64
- func (msg *MsgUpdateVestingInfo) GetSignBytes() []byte
- func (msg *MsgUpdateVestingInfo) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateVestingInfo) GetVestNowFactor() int64
- func (m *MsgUpdateVestingInfo) GetVestingDenom() string
- func (m *MsgUpdateVestingInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateVestingInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateVestingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateVestingInfo) ProtoMessage()
- func (m *MsgUpdateVestingInfo) Reset()
- func (msg *MsgUpdateVestingInfo) Route() string
- func (m *MsgUpdateVestingInfo) Size() (n int)
- func (m *MsgUpdateVestingInfo) String() string
- func (msg *MsgUpdateVestingInfo) Type() string
- func (m *MsgUpdateVestingInfo) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateVestingInfo) ValidateBasic() error
- func (m *MsgUpdateVestingInfo) XXX_DiscardUnknown()
- func (m *MsgUpdateVestingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateVestingInfo) XXX_Merge(src proto.Message)
- func (m *MsgUpdateVestingInfo) XXX_Size() int
- func (m *MsgUpdateVestingInfo) XXX_Unmarshal(b []byte) error
- type MsgUpdateVestingInfoResponse
- func (*MsgUpdateVestingInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateVestingInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateVestingInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateVestingInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateVestingInfoResponse) ProtoMessage()
- func (m *MsgUpdateVestingInfoResponse) Reset()
- func (m *MsgUpdateVestingInfoResponse) Size() (n int)
- func (m *MsgUpdateVestingInfoResponse) String() string
- func (m *MsgUpdateVestingInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateVestingInfoResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateVestingInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateVestingInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateVestingInfoResponse) XXX_Size() int
- func (m *MsgUpdateVestingInfoResponse) 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 MsgVestLiquid
- func (*MsgVestLiquid) Descriptor() ([]byte, []int)
- func (m *MsgVestLiquid) GetCreator() string
- func (m *MsgVestLiquid) GetDenom() string
- func (msg *MsgVestLiquid) GetSignBytes() []byte
- func (msg *MsgVestLiquid) GetSigners() []sdk.AccAddress
- func (m *MsgVestLiquid) Marshal() (dAtA []byte, err error)
- func (m *MsgVestLiquid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVestLiquid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVestLiquid) ProtoMessage()
- func (m *MsgVestLiquid) Reset()
- func (msg *MsgVestLiquid) Route() string
- func (m *MsgVestLiquid) Size() (n int)
- func (m *MsgVestLiquid) String() string
- func (msg *MsgVestLiquid) Type() string
- func (m *MsgVestLiquid) Unmarshal(dAtA []byte) error
- func (msg *MsgVestLiquid) ValidateBasic() error
- func (m *MsgVestLiquid) XXX_DiscardUnknown()
- func (m *MsgVestLiquid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVestLiquid) XXX_Merge(src proto.Message)
- func (m *MsgVestLiquid) XXX_Size() int
- func (m *MsgVestLiquid) XXX_Unmarshal(b []byte) error
- type MsgVestLiquidResponse
- func (*MsgVestLiquidResponse) Descriptor() ([]byte, []int)
- func (m *MsgVestLiquidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVestLiquidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVestLiquidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVestLiquidResponse) ProtoMessage()
- func (m *MsgVestLiquidResponse) Reset()
- func (m *MsgVestLiquidResponse) Size() (n int)
- func (m *MsgVestLiquidResponse) String() string
- func (m *MsgVestLiquidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVestLiquidResponse) XXX_DiscardUnknown()
- func (m *MsgVestLiquidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVestLiquidResponse) XXX_Merge(src proto.Message)
- func (m *MsgVestLiquidResponse) XXX_Size() int
- func (m *MsgVestLiquidResponse) 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 RewardsUnclaimed
- func (*RewardsUnclaimed) Descriptor() ([]byte, []int)
- func (m *RewardsUnclaimed) GetDenom() string
- func (m *RewardsUnclaimed) Marshal() (dAtA []byte, err error)
- func (m *RewardsUnclaimed) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardsUnclaimed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardsUnclaimed) ProtoMessage()
- func (m *RewardsUnclaimed) Reset()
- func (m *RewardsUnclaimed) Size() (n int)
- func (m *RewardsUnclaimed) String() string
- func (m *RewardsUnclaimed) Unmarshal(dAtA []byte) error
- func (m *RewardsUnclaimed) XXX_DiscardUnknown()
- func (m *RewardsUnclaimed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardsUnclaimed) XXX_Merge(src proto.Message)
- func (m *RewardsUnclaimed) XXX_Size() int
- func (m *RewardsUnclaimed) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelVest(ctx context.Context, req *MsgCancelVest) (*MsgCancelVestResponse, error)
- func (*UnimplementedMsgServer) CommitLiquidTokens(ctx context.Context, req *MsgCommitLiquidTokens) (*MsgCommitLiquidTokensResponse, error)
- func (*UnimplementedMsgServer) CommitUnclaimedRewards(ctx context.Context, req *MsgCommitUnclaimedRewards) (*MsgCommitUnclaimedRewardsResponse, error)
- func (*UnimplementedMsgServer) Stake(ctx context.Context, req *MsgStake) (*MsgStakeResponse, error)
- func (*UnimplementedMsgServer) UncommitTokens(ctx context.Context, req *MsgUncommitTokens) (*MsgUncommitTokensResponse, error)
- func (*UnimplementedMsgServer) Unstake(ctx context.Context, req *MsgUnstake) (*MsgUnstakeResponse, error)
- func (*UnimplementedMsgServer) UpdateVestingInfo(ctx context.Context, req *MsgUpdateVestingInfo) (*MsgUpdateVestingInfoResponse, error)
- func (*UnimplementedMsgServer) Vest(ctx context.Context, req *MsgVest) (*MsgVestResponse, error)
- func (*UnimplementedMsgServer) VestLiquid(ctx context.Context, req *MsgVestLiquid) (*MsgVestLiquidResponse, 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) GetNumMaxVestings() 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 TypeMsgCommitUnclaimedRewards = "commit_tokens"
const TypeMsgDepositTokens = "commit_liquid_tokens"
const TypeMsgStake = "stake"
const TypeMsgUncommitTokens = "uncommit_tokens"
const TypeMsgUnstake = "unstake"
const TypeMsgUpdateVestingInfo = "update_vesting_info"
const TypeMsgVest = "vest"
const TypeMsgVestLiquid = "vest_liquid"
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") ErrInsufficientRewardsUnclaimed = sdkerrors.Register(ModuleName, 1002, "insufficient unclaimed 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") ErrExceedMaxVestings = sdkerrors.Register(ModuleName, 1009, "exceed maximum allowed vestings") ErrInsufficientWithdrawableTokens = sdkerrors.Register(ModuleName, 1010, "insufficient withdrawable tokens") ErrVestNowIsNotEnabled = sdkerrors.Register(ModuleName, 1011, "instant vesting is not enabled at this stage") )
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) // Eden uncommitted EdenUncommitted(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"` RewardsUnclaimed []*RewardsUnclaimed `protobuf:"bytes,3,rep,name=rewards_unclaimed,json=rewardsUnclaimed,proto3" json:"rewards_unclaimed,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) AddCommitedTokens ¶ added in v0.14.0
func (c *Commitments) AddCommitedTokens(denom string, amount sdk.Int, unlockTime uint64)
func (*Commitments) DeductFromCommitted ¶ added in v0.14.0
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) GetRewardsUnclaimed ¶ added in v0.14.0
func (m *Commitments) GetRewardsUnclaimed() []*RewardsUnclaimed
func (*Commitments) GetRewardsUnclaimedForDenom ¶ added in v0.14.0
func (c *Commitments) GetRewardsUnclaimedForDenom(denom string) (*RewardsUnclaimed, bool)
func (*Commitments) GetUnclaimedAmountForDenom ¶ added in v0.14.0
func (c *Commitments) GetUnclaimedAmountForDenom(denom string) sdk.Int
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"` Lockups []Lockup `protobuf:"bytes,3,rep,name=lockups,proto3" json:"lockups"` }
func (*CommittedTokens) Descriptor ¶
func (*CommittedTokens) Descriptor() ([]byte, []int)
func (*CommittedTokens) GetDenom ¶
func (m *CommittedTokens) GetDenom() string
func (*CommittedTokens) GetLockups ¶ added in v0.14.0
func (m *CommittedTokens) GetLockups() []Lockup
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"` Commitments []*Commitments `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"` }
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) GetCommitments ¶ added in v0.13.0
func (m *GenesisState) GetCommitments() []*Commitments
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 Lockup ¶ added in v0.14.0
type Lockup struct { Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` UnlockTimestamp uint64 `protobuf:"varint,2,opt,name=unlock_timestamp,json=unlockTimestamp,proto3" json:"unlock_timestamp,omitempty"` }
func (*Lockup) Descriptor ¶ added in v0.14.0
func (*Lockup) GetUnlockTimestamp ¶ added in v0.14.0
func (*Lockup) MarshalToSizedBuffer ¶ added in v0.14.0
func (*Lockup) ProtoMessage ¶ added in v0.14.0
func (*Lockup) ProtoMessage()
func (*Lockup) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *Lockup) XXX_DiscardUnknown()
func (*Lockup) XXX_Marshal ¶ added in v0.14.0
func (*Lockup) XXX_Unmarshal ¶ added in v0.14.0
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 { // CommitLiquidTokens commit the tokens from user's balance CommitLiquidTokens(ctx context.Context, in *MsgCommitLiquidTokens, opts ...grpc.CallOption) (*MsgCommitLiquidTokensResponse, error) // CommitUnclaimedRewards commit the tokens on unclaimed store to committed CommitUnclaimedRewards(ctx context.Context, in *MsgCommitUnclaimedRewards, opts ...grpc.CallOption) (*MsgCommitUnclaimedRewardsResponse, error) // UncommitTokens uncommits the tokens from committed store and make it liquid immediately UncommitTokens(ctx context.Context, in *MsgUncommitTokens, opts ...grpc.CallOption) (*MsgUncommitTokensResponse, error) // WithdrawTokens withdraw first from unclaimed and if it requires more, withdraw from committed store WithdrawTokens(ctx context.Context, in *MsgWithdrawTokens, opts ...grpc.CallOption) (*MsgWithdrawTokensResponse, error) // Vest converts user's commitment to vesting - start with unclaimed rewards and if it's not enough deduct from committed bucket // mainly utilized for Eden Vest(ctx context.Context, in *MsgVest, opts ...grpc.CallOption) (*MsgVestResponse, error) // VestNow provides functionality to get the token immediately but lower amount than original // e.g. user can burn 1000 ueden and get 800 uelys when the ratio is 80% VestNow(ctx context.Context, in *MsgVestNow, opts ...grpc.CallOption) (*MsgVestNowResponse, error) // VestLiquid converts user's balance to vesting to be utilized for normal tokens vesting like ATOM vesting VestLiquid(ctx context.Context, in *MsgVestLiquid, opts ...grpc.CallOption) (*MsgVestLiquidResponse, error) // CancelVest cancel the user's vesting and the user reject to get vested tokens CancelVest(ctx context.Context, in *MsgCancelVest, opts ...grpc.CallOption) (*MsgCancelVestResponse, error) // UpdateVestingInfo add/update specific vesting info by denom on Params UpdateVestingInfo(ctx context.Context, in *MsgUpdateVestingInfo, opts ...grpc.CallOption) (*MsgUpdateVestingInfoResponse, error) Stake(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error) Unstake(ctx context.Context, in *MsgUnstake, opts ...grpc.CallOption) (*MsgUnstakeResponse, 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 MsgCommitLiquidTokens ¶ added in v0.13.0
type MsgCommitLiquidTokens 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"` MinLock uint64 `protobuf:"varint,4,opt,name=min_lock,json=minLock,proto3" json:"min_lock,omitempty"` }
func NewMsgCommitLiquidTokens ¶ added in v0.13.0
func NewMsgCommitLiquidTokens(creator string, amount sdk.Int, denom string) *MsgCommitLiquidTokens
func (*MsgCommitLiquidTokens) Descriptor ¶ added in v0.13.0
func (*MsgCommitLiquidTokens) Descriptor() ([]byte, []int)
func (*MsgCommitLiquidTokens) GetCreator ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) GetCreator() string
func (*MsgCommitLiquidTokens) GetDenom ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) GetDenom() string
func (*MsgCommitLiquidTokens) GetMinLock ¶ added in v0.14.0
func (m *MsgCommitLiquidTokens) GetMinLock() uint64
func (*MsgCommitLiquidTokens) GetSignBytes ¶ added in v0.13.0
func (msg *MsgCommitLiquidTokens) GetSignBytes() []byte
func (*MsgCommitLiquidTokens) GetSigners ¶ added in v0.13.0
func (msg *MsgCommitLiquidTokens) GetSigners() []sdk.AccAddress
func (*MsgCommitLiquidTokens) Marshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) Marshal() (dAtA []byte, err error)
func (*MsgCommitLiquidTokens) MarshalTo ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommitLiquidTokens) MarshalToSizedBuffer ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitLiquidTokens) ProtoMessage ¶ added in v0.13.0
func (*MsgCommitLiquidTokens) ProtoMessage()
func (*MsgCommitLiquidTokens) Reset ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) Reset()
func (*MsgCommitLiquidTokens) Route ¶ added in v0.13.0
func (msg *MsgCommitLiquidTokens) Route() string
func (*MsgCommitLiquidTokens) Size ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) Size() (n int)
func (*MsgCommitLiquidTokens) String ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) String() string
func (*MsgCommitLiquidTokens) Type ¶ added in v0.13.0
func (msg *MsgCommitLiquidTokens) Type() string
func (*MsgCommitLiquidTokens) Unmarshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) Unmarshal(dAtA []byte) error
func (*MsgCommitLiquidTokens) ValidateBasic ¶ added in v0.13.0
func (msg *MsgCommitLiquidTokens) ValidateBasic() error
func (*MsgCommitLiquidTokens) XXX_DiscardUnknown ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) XXX_DiscardUnknown()
func (*MsgCommitLiquidTokens) XXX_Marshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitLiquidTokens) XXX_Merge ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) XXX_Merge(src proto.Message)
func (*MsgCommitLiquidTokens) XXX_Size ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) XXX_Size() int
func (*MsgCommitLiquidTokens) XXX_Unmarshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokens) XXX_Unmarshal(b []byte) error
type MsgCommitLiquidTokensResponse ¶ added in v0.13.0
type MsgCommitLiquidTokensResponse struct { }
func (*MsgCommitLiquidTokensResponse) Descriptor ¶ added in v0.13.0
func (*MsgCommitLiquidTokensResponse) Descriptor() ([]byte, []int)
func (*MsgCommitLiquidTokensResponse) Marshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgCommitLiquidTokensResponse) MarshalTo ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommitLiquidTokensResponse) MarshalToSizedBuffer ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitLiquidTokensResponse) ProtoMessage ¶ added in v0.13.0
func (*MsgCommitLiquidTokensResponse) ProtoMessage()
func (*MsgCommitLiquidTokensResponse) Reset ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) Reset()
func (*MsgCommitLiquidTokensResponse) Size ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) Size() (n int)
func (*MsgCommitLiquidTokensResponse) String ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) String() string
func (*MsgCommitLiquidTokensResponse) Unmarshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgCommitLiquidTokensResponse) XXX_DiscardUnknown ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) XXX_DiscardUnknown()
func (*MsgCommitLiquidTokensResponse) XXX_Marshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitLiquidTokensResponse) XXX_Merge ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) XXX_Merge(src proto.Message)
func (*MsgCommitLiquidTokensResponse) XXX_Size ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) XXX_Size() int
func (*MsgCommitLiquidTokensResponse) XXX_Unmarshal ¶ added in v0.13.0
func (m *MsgCommitLiquidTokensResponse) XXX_Unmarshal(b []byte) error
type MsgCommitUnclaimedRewards ¶ added in v0.14.0
type MsgCommitUnclaimedRewards 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 NewMsgCommitUnclaimedRewards ¶ added in v0.14.0
func NewMsgCommitUnclaimedRewards(creator string, amount sdk.Int, denom string) *MsgCommitUnclaimedRewards
func (*MsgCommitUnclaimedRewards) Descriptor ¶ added in v0.14.0
func (*MsgCommitUnclaimedRewards) Descriptor() ([]byte, []int)
func (*MsgCommitUnclaimedRewards) GetCreator ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) GetCreator() string
func (*MsgCommitUnclaimedRewards) GetDenom ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) GetDenom() string
func (*MsgCommitUnclaimedRewards) GetSignBytes ¶ added in v0.14.0
func (msg *MsgCommitUnclaimedRewards) GetSignBytes() []byte
func (*MsgCommitUnclaimedRewards) GetSigners ¶ added in v0.14.0
func (msg *MsgCommitUnclaimedRewards) GetSigners() []sdk.AccAddress
func (*MsgCommitUnclaimedRewards) Marshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) Marshal() (dAtA []byte, err error)
func (*MsgCommitUnclaimedRewards) MarshalTo ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommitUnclaimedRewards) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitUnclaimedRewards) ProtoMessage ¶ added in v0.14.0
func (*MsgCommitUnclaimedRewards) ProtoMessage()
func (*MsgCommitUnclaimedRewards) Reset ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) Reset()
func (*MsgCommitUnclaimedRewards) Route ¶ added in v0.14.0
func (msg *MsgCommitUnclaimedRewards) Route() string
func (*MsgCommitUnclaimedRewards) Size ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) Size() (n int)
func (*MsgCommitUnclaimedRewards) String ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) String() string
func (*MsgCommitUnclaimedRewards) Type ¶ added in v0.14.0
func (msg *MsgCommitUnclaimedRewards) Type() string
func (*MsgCommitUnclaimedRewards) Unmarshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) Unmarshal(dAtA []byte) error
func (*MsgCommitUnclaimedRewards) ValidateBasic ¶ added in v0.14.0
func (msg *MsgCommitUnclaimedRewards) ValidateBasic() error
func (*MsgCommitUnclaimedRewards) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) XXX_DiscardUnknown()
func (*MsgCommitUnclaimedRewards) XXX_Marshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitUnclaimedRewards) XXX_Merge ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) XXX_Merge(src proto.Message)
func (*MsgCommitUnclaimedRewards) XXX_Size ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) XXX_Size() int
func (*MsgCommitUnclaimedRewards) XXX_Unmarshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewards) XXX_Unmarshal(b []byte) error
type MsgCommitUnclaimedRewardsResponse ¶ added in v0.14.0
type MsgCommitUnclaimedRewardsResponse struct { }
func (*MsgCommitUnclaimedRewardsResponse) Descriptor ¶ added in v0.14.0
func (*MsgCommitUnclaimedRewardsResponse) Descriptor() ([]byte, []int)
func (*MsgCommitUnclaimedRewardsResponse) Marshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) Marshal() (dAtA []byte, err error)
func (*MsgCommitUnclaimedRewardsResponse) MarshalTo ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommitUnclaimedRewardsResponse) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitUnclaimedRewardsResponse) ProtoMessage ¶ added in v0.14.0
func (*MsgCommitUnclaimedRewardsResponse) ProtoMessage()
func (*MsgCommitUnclaimedRewardsResponse) Reset ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) Reset()
func (*MsgCommitUnclaimedRewardsResponse) Size ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) Size() (n int)
func (*MsgCommitUnclaimedRewardsResponse) String ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) String() string
func (*MsgCommitUnclaimedRewardsResponse) Unmarshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) Unmarshal(dAtA []byte) error
func (*MsgCommitUnclaimedRewardsResponse) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) XXX_DiscardUnknown()
func (*MsgCommitUnclaimedRewardsResponse) XXX_Marshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitUnclaimedRewardsResponse) XXX_Merge ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) XXX_Merge(src proto.Message)
func (*MsgCommitUnclaimedRewardsResponse) XXX_Size ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) XXX_Size() int
func (*MsgCommitUnclaimedRewardsResponse) XXX_Unmarshal ¶ added in v0.14.0
func (m *MsgCommitUnclaimedRewardsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CommitLiquidTokens commit the tokens from user's balance CommitLiquidTokens(context.Context, *MsgCommitLiquidTokens) (*MsgCommitLiquidTokensResponse, error) // CommitUnclaimedRewards commit the tokens on unclaimed store to committed CommitUnclaimedRewards(context.Context, *MsgCommitUnclaimedRewards) (*MsgCommitUnclaimedRewardsResponse, error) // UncommitTokens uncommits the tokens from committed store and make it liquid immediately UncommitTokens(context.Context, *MsgUncommitTokens) (*MsgUncommitTokensResponse, error) // WithdrawTokens withdraw first from unclaimed and if it requires more, withdraw from committed store WithdrawTokens(context.Context, *MsgWithdrawTokens) (*MsgWithdrawTokensResponse, error) // Vest converts user's commitment to vesting - start with unclaimed rewards and if it's not enough deduct from committed bucket // mainly utilized for Eden Vest(context.Context, *MsgVest) (*MsgVestResponse, error) // VestNow provides functionality to get the token immediately but lower amount than original // e.g. user can burn 1000 ueden and get 800 uelys when the ratio is 80% VestNow(context.Context, *MsgVestNow) (*MsgVestNowResponse, error) // VestLiquid converts user's balance to vesting to be utilized for normal tokens vesting like ATOM vesting VestLiquid(context.Context, *MsgVestLiquid) (*MsgVestLiquidResponse, error) // CancelVest cancel the user's vesting and the user reject to get vested tokens CancelVest(context.Context, *MsgCancelVest) (*MsgCancelVestResponse, error) // UpdateVestingInfo add/update specific vesting info by denom on Params UpdateVestingInfo(context.Context, *MsgUpdateVestingInfo) (*MsgUpdateVestingInfoResponse, error) Stake(context.Context, *MsgStake) (*MsgStakeResponse, error) Unstake(context.Context, *MsgUnstake) (*MsgUnstakeResponse, error) }
MsgServer is the server API for Msg service.
type MsgStake ¶ added in v0.14.0
type MsgStake 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"` Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` ValidatorAddress string `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` }
func NewMsgStake ¶ added in v0.14.0
func (*MsgStake) Descriptor ¶ added in v0.14.0
func (*MsgStake) GetCreator ¶ added in v0.14.0
func (*MsgStake) GetSignBytes ¶ added in v0.14.0
func (*MsgStake) GetSigners ¶ added in v0.14.0
func (msg *MsgStake) GetSigners() []sdk.AccAddress
func (*MsgStake) GetValidatorAddress ¶ added in v0.14.0
func (*MsgStake) MarshalToSizedBuffer ¶ added in v0.14.0
func (*MsgStake) ProtoMessage ¶ added in v0.14.0
func (*MsgStake) ProtoMessage()
func (*MsgStake) ValidateBasic ¶ added in v0.14.0
func (*MsgStake) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *MsgStake) XXX_DiscardUnknown()
func (*MsgStake) XXX_Marshal ¶ added in v0.14.0
func (*MsgStake) XXX_Unmarshal ¶ added in v0.14.0
type MsgStakeResponse ¶ added in v0.14.0
type MsgStakeResponse struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` }
func (*MsgStakeResponse) Descriptor ¶ added in v0.14.0
func (*MsgStakeResponse) Descriptor() ([]byte, []int)
func (*MsgStakeResponse) GetCode ¶ added in v0.14.0
func (m *MsgStakeResponse) GetCode() uint64
func (*MsgStakeResponse) GetResult ¶ added in v0.14.0
func (m *MsgStakeResponse) GetResult() string
func (*MsgStakeResponse) Marshal ¶ added in v0.14.0
func (m *MsgStakeResponse) Marshal() (dAtA []byte, err error)
func (*MsgStakeResponse) MarshalTo ¶ added in v0.14.0
func (m *MsgStakeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeResponse) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *MsgStakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeResponse) ProtoMessage ¶ added in v0.14.0
func (*MsgStakeResponse) ProtoMessage()
func (*MsgStakeResponse) Reset ¶ added in v0.14.0
func (m *MsgStakeResponse) Reset()
func (*MsgStakeResponse) Size ¶ added in v0.14.0
func (m *MsgStakeResponse) Size() (n int)
func (*MsgStakeResponse) String ¶ added in v0.14.0
func (m *MsgStakeResponse) String() string
func (*MsgStakeResponse) Unmarshal ¶ added in v0.14.0
func (m *MsgStakeResponse) Unmarshal(dAtA []byte) error
func (*MsgStakeResponse) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *MsgStakeResponse) XXX_DiscardUnknown()
func (*MsgStakeResponse) XXX_Marshal ¶ added in v0.14.0
func (m *MsgStakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeResponse) XXX_Merge ¶ added in v0.14.0
func (m *MsgStakeResponse) XXX_Merge(src proto.Message)
func (*MsgStakeResponse) XXX_Size ¶ added in v0.14.0
func (m *MsgStakeResponse) XXX_Size() int
func (*MsgStakeResponse) XXX_Unmarshal ¶ added in v0.14.0
func (m *MsgStakeResponse) XXX_Unmarshal(b []byte) error
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 MsgUnstake ¶ added in v0.14.0
type MsgUnstake 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"` Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` ValidatorAddress string `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` }
func NewMsgUnstake ¶ added in v0.14.0
func (*MsgUnstake) Descriptor ¶ added in v0.14.0
func (*MsgUnstake) Descriptor() ([]byte, []int)
func (*MsgUnstake) GetAsset ¶ added in v0.14.0
func (m *MsgUnstake) GetAsset() string
func (*MsgUnstake) GetCreator ¶ added in v0.14.0
func (m *MsgUnstake) GetCreator() string
func (*MsgUnstake) GetSignBytes ¶ added in v0.14.0
func (msg *MsgUnstake) GetSignBytes() []byte
func (*MsgUnstake) GetSigners ¶ added in v0.14.0
func (msg *MsgUnstake) GetSigners() []sdk.AccAddress
func (*MsgUnstake) GetValidatorAddress ¶ added in v0.14.0
func (m *MsgUnstake) GetValidatorAddress() string
func (*MsgUnstake) Marshal ¶ added in v0.14.0
func (m *MsgUnstake) Marshal() (dAtA []byte, err error)
func (*MsgUnstake) MarshalTo ¶ added in v0.14.0
func (m *MsgUnstake) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstake) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *MsgUnstake) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstake) ProtoMessage ¶ added in v0.14.0
func (*MsgUnstake) ProtoMessage()
func (*MsgUnstake) Reset ¶ added in v0.14.0
func (m *MsgUnstake) Reset()
func (*MsgUnstake) Route ¶ added in v0.14.0
func (msg *MsgUnstake) Route() string
func (*MsgUnstake) Size ¶ added in v0.14.0
func (m *MsgUnstake) Size() (n int)
func (*MsgUnstake) String ¶ added in v0.14.0
func (m *MsgUnstake) String() string
func (*MsgUnstake) Type ¶ added in v0.14.0
func (msg *MsgUnstake) Type() string
func (*MsgUnstake) Unmarshal ¶ added in v0.14.0
func (m *MsgUnstake) Unmarshal(dAtA []byte) error
func (*MsgUnstake) ValidateBasic ¶ added in v0.14.0
func (msg *MsgUnstake) ValidateBasic() error
func (*MsgUnstake) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *MsgUnstake) XXX_DiscardUnknown()
func (*MsgUnstake) XXX_Marshal ¶ added in v0.14.0
func (m *MsgUnstake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstake) XXX_Merge ¶ added in v0.14.0
func (m *MsgUnstake) XXX_Merge(src proto.Message)
func (*MsgUnstake) XXX_Size ¶ added in v0.14.0
func (m *MsgUnstake) XXX_Size() int
func (*MsgUnstake) XXX_Unmarshal ¶ added in v0.14.0
func (m *MsgUnstake) XXX_Unmarshal(b []byte) error
type MsgUnstakeResponse ¶ added in v0.14.0
type MsgUnstakeResponse struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` }
func (*MsgUnstakeResponse) Descriptor ¶ added in v0.14.0
func (*MsgUnstakeResponse) Descriptor() ([]byte, []int)
func (*MsgUnstakeResponse) GetCode ¶ added in v0.14.0
func (m *MsgUnstakeResponse) GetCode() uint64
func (*MsgUnstakeResponse) GetResult ¶ added in v0.14.0
func (m *MsgUnstakeResponse) GetResult() string
func (*MsgUnstakeResponse) Marshal ¶ added in v0.14.0
func (m *MsgUnstakeResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeResponse) MarshalTo ¶ added in v0.14.0
func (m *MsgUnstakeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeResponse) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *MsgUnstakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeResponse) ProtoMessage ¶ added in v0.14.0
func (*MsgUnstakeResponse) ProtoMessage()
func (*MsgUnstakeResponse) Reset ¶ added in v0.14.0
func (m *MsgUnstakeResponse) Reset()
func (*MsgUnstakeResponse) Size ¶ added in v0.14.0
func (m *MsgUnstakeResponse) Size() (n int)
func (*MsgUnstakeResponse) String ¶ added in v0.14.0
func (m *MsgUnstakeResponse) String() string
func (*MsgUnstakeResponse) Unmarshal ¶ added in v0.14.0
func (m *MsgUnstakeResponse) Unmarshal(dAtA []byte) error
func (*MsgUnstakeResponse) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *MsgUnstakeResponse) XXX_DiscardUnknown()
func (*MsgUnstakeResponse) XXX_Marshal ¶ added in v0.14.0
func (m *MsgUnstakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeResponse) XXX_Merge ¶ added in v0.14.0
func (m *MsgUnstakeResponse) XXX_Merge(src proto.Message)
func (*MsgUnstakeResponse) XXX_Size ¶ added in v0.14.0
func (m *MsgUnstakeResponse) XXX_Size() int
func (*MsgUnstakeResponse) XXX_Unmarshal ¶ added in v0.14.0
func (m *MsgUnstakeResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateVestingInfo ¶ added in v0.12.0
type MsgUpdateVestingInfo struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` BaseDenom string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"` VestingDenom string `protobuf:"bytes,3,opt,name=vesting_denom,json=vestingDenom,proto3" json:"vesting_denom,omitempty"` 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"` VestNowFactor int64 `protobuf:"varint,6,opt,name=vest_now_factor,json=vestNowFactor,proto3" json:"vest_now_factor,omitempty"` NumMaxVestings int64 `protobuf:"varint,7,opt,name=num_max_vestings,json=numMaxVestings,proto3" json:"num_max_vestings,omitempty"` }
func NewMsgUpdateVestingInfo ¶ added in v0.12.0
func (*MsgUpdateVestingInfo) Descriptor ¶ added in v0.12.0
func (*MsgUpdateVestingInfo) Descriptor() ([]byte, []int)
func (*MsgUpdateVestingInfo) GetAuthority ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) GetAuthority() string
func (*MsgUpdateVestingInfo) GetBaseDenom ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) GetBaseDenom() string
func (*MsgUpdateVestingInfo) GetEpochIdentifier ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) GetEpochIdentifier() string
func (*MsgUpdateVestingInfo) GetNumEpochs ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) GetNumEpochs() int64
func (*MsgUpdateVestingInfo) GetNumMaxVestings ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) GetNumMaxVestings() int64
func (*MsgUpdateVestingInfo) GetSignBytes ¶ added in v0.12.0
func (msg *MsgUpdateVestingInfo) GetSignBytes() []byte
func (*MsgUpdateVestingInfo) GetSigners ¶ added in v0.12.0
func (msg *MsgUpdateVestingInfo) GetSigners() []sdk.AccAddress
func (*MsgUpdateVestingInfo) GetVestNowFactor ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) GetVestNowFactor() int64
func (*MsgUpdateVestingInfo) GetVestingDenom ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) GetVestingDenom() string
func (*MsgUpdateVestingInfo) Marshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) Marshal() (dAtA []byte, err error)
func (*MsgUpdateVestingInfo) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateVestingInfo) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateVestingInfo) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateVestingInfo) ProtoMessage()
func (*MsgUpdateVestingInfo) Reset ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) Reset()
func (*MsgUpdateVestingInfo) Route ¶ added in v0.12.0
func (msg *MsgUpdateVestingInfo) Route() string
func (*MsgUpdateVestingInfo) Size ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) Size() (n int)
func (*MsgUpdateVestingInfo) String ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) String() string
func (*MsgUpdateVestingInfo) Type ¶ added in v0.12.0
func (msg *MsgUpdateVestingInfo) Type() string
func (*MsgUpdateVestingInfo) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) Unmarshal(dAtA []byte) error
func (*MsgUpdateVestingInfo) ValidateBasic ¶ added in v0.12.0
func (msg *MsgUpdateVestingInfo) ValidateBasic() error
func (*MsgUpdateVestingInfo) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) XXX_DiscardUnknown()
func (*MsgUpdateVestingInfo) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateVestingInfo) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) XXX_Merge(src proto.Message)
func (*MsgUpdateVestingInfo) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) XXX_Size() int
func (*MsgUpdateVestingInfo) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfo) XXX_Unmarshal(b []byte) error
type MsgUpdateVestingInfoResponse ¶ added in v0.12.0
type MsgUpdateVestingInfoResponse struct { }
func (*MsgUpdateVestingInfoResponse) Descriptor ¶ added in v0.12.0
func (*MsgUpdateVestingInfoResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateVestingInfoResponse) Marshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateVestingInfoResponse) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateVestingInfoResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateVestingInfoResponse) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateVestingInfoResponse) ProtoMessage()
func (*MsgUpdateVestingInfoResponse) Reset ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) Reset()
func (*MsgUpdateVestingInfoResponse) Size ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) Size() (n int)
func (*MsgUpdateVestingInfoResponse) String ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) String() string
func (*MsgUpdateVestingInfoResponse) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateVestingInfoResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) XXX_DiscardUnknown()
func (*MsgUpdateVestingInfoResponse) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateVestingInfoResponse) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateVestingInfoResponse) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) XXX_Size() int
func (*MsgUpdateVestingInfoResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateVestingInfoResponse) 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 MsgVestLiquid ¶ added in v0.13.0
type MsgVestLiquid 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 NewMsgVestLiquid ¶ added in v0.13.0
func NewMsgVestLiquid(creator string, amount sdk.Int, denom string) *MsgVestLiquid
func (*MsgVestLiquid) Descriptor ¶ added in v0.13.0
func (*MsgVestLiquid) Descriptor() ([]byte, []int)
func (*MsgVestLiquid) GetCreator ¶ added in v0.13.0
func (m *MsgVestLiquid) GetCreator() string
func (*MsgVestLiquid) GetDenom ¶ added in v0.13.0
func (m *MsgVestLiquid) GetDenom() string
func (*MsgVestLiquid) GetSignBytes ¶ added in v0.13.0
func (msg *MsgVestLiquid) GetSignBytes() []byte
func (*MsgVestLiquid) GetSigners ¶ added in v0.13.0
func (msg *MsgVestLiquid) GetSigners() []sdk.AccAddress
func (*MsgVestLiquid) Marshal ¶ added in v0.13.0
func (m *MsgVestLiquid) Marshal() (dAtA []byte, err error)
func (*MsgVestLiquid) MarshalTo ¶ added in v0.13.0
func (m *MsgVestLiquid) MarshalTo(dAtA []byte) (int, error)
func (*MsgVestLiquid) MarshalToSizedBuffer ¶ added in v0.13.0
func (m *MsgVestLiquid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVestLiquid) ProtoMessage ¶ added in v0.13.0
func (*MsgVestLiquid) ProtoMessage()
func (*MsgVestLiquid) Reset ¶ added in v0.13.0
func (m *MsgVestLiquid) Reset()
func (*MsgVestLiquid) Route ¶ added in v0.13.0
func (msg *MsgVestLiquid) Route() string
func (*MsgVestLiquid) Size ¶ added in v0.13.0
func (m *MsgVestLiquid) Size() (n int)
func (*MsgVestLiquid) String ¶ added in v0.13.0
func (m *MsgVestLiquid) String() string
func (*MsgVestLiquid) Type ¶ added in v0.13.0
func (msg *MsgVestLiquid) Type() string
func (*MsgVestLiquid) Unmarshal ¶ added in v0.13.0
func (m *MsgVestLiquid) Unmarshal(dAtA []byte) error
func (*MsgVestLiquid) ValidateBasic ¶ added in v0.13.0
func (msg *MsgVestLiquid) ValidateBasic() error
func (*MsgVestLiquid) XXX_DiscardUnknown ¶ added in v0.13.0
func (m *MsgVestLiquid) XXX_DiscardUnknown()
func (*MsgVestLiquid) XXX_Marshal ¶ added in v0.13.0
func (m *MsgVestLiquid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVestLiquid) XXX_Merge ¶ added in v0.13.0
func (m *MsgVestLiquid) XXX_Merge(src proto.Message)
func (*MsgVestLiquid) XXX_Size ¶ added in v0.13.0
func (m *MsgVestLiquid) XXX_Size() int
func (*MsgVestLiquid) XXX_Unmarshal ¶ added in v0.13.0
func (m *MsgVestLiquid) XXX_Unmarshal(b []byte) error
type MsgVestLiquidResponse ¶ added in v0.13.0
type MsgVestLiquidResponse struct { }
func (*MsgVestLiquidResponse) Descriptor ¶ added in v0.13.0
func (*MsgVestLiquidResponse) Descriptor() ([]byte, []int)
func (*MsgVestLiquidResponse) Marshal ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) Marshal() (dAtA []byte, err error)
func (*MsgVestLiquidResponse) MarshalTo ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVestLiquidResponse) MarshalToSizedBuffer ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVestLiquidResponse) ProtoMessage ¶ added in v0.13.0
func (*MsgVestLiquidResponse) ProtoMessage()
func (*MsgVestLiquidResponse) Reset ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) Reset()
func (*MsgVestLiquidResponse) Size ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) Size() (n int)
func (*MsgVestLiquidResponse) String ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) String() string
func (*MsgVestLiquidResponse) Unmarshal ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) Unmarshal(dAtA []byte) error
func (*MsgVestLiquidResponse) XXX_DiscardUnknown ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) XXX_DiscardUnknown()
func (*MsgVestLiquidResponse) XXX_Marshal ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVestLiquidResponse) XXX_Merge ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) XXX_Merge(src proto.Message)
func (*MsgVestLiquidResponse) XXX_Size ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) XXX_Size() int
func (*MsgVestLiquidResponse) XXX_Unmarshal ¶ added in v0.13.0
func (m *MsgVestLiquidResponse) XXX_Unmarshal(b []byte) error
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 RewardsUnclaimed ¶ added in v0.14.0
type RewardsUnclaimed 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 (*RewardsUnclaimed) Descriptor ¶ added in v0.14.0
func (*RewardsUnclaimed) Descriptor() ([]byte, []int)
func (*RewardsUnclaimed) GetDenom ¶ added in v0.14.0
func (m *RewardsUnclaimed) GetDenom() string
func (*RewardsUnclaimed) Marshal ¶ added in v0.14.0
func (m *RewardsUnclaimed) Marshal() (dAtA []byte, err error)
func (*RewardsUnclaimed) MarshalTo ¶ added in v0.14.0
func (m *RewardsUnclaimed) MarshalTo(dAtA []byte) (int, error)
func (*RewardsUnclaimed) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *RewardsUnclaimed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardsUnclaimed) ProtoMessage ¶ added in v0.14.0
func (*RewardsUnclaimed) ProtoMessage()
func (*RewardsUnclaimed) Reset ¶ added in v0.14.0
func (m *RewardsUnclaimed) Reset()
func (*RewardsUnclaimed) Size ¶ added in v0.14.0
func (m *RewardsUnclaimed) Size() (n int)
func (*RewardsUnclaimed) String ¶ added in v0.14.0
func (m *RewardsUnclaimed) String() string
func (*RewardsUnclaimed) Unmarshal ¶ added in v0.14.0
func (m *RewardsUnclaimed) Unmarshal(dAtA []byte) error
func (*RewardsUnclaimed) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *RewardsUnclaimed) XXX_DiscardUnknown()
func (*RewardsUnclaimed) XXX_Marshal ¶ added in v0.14.0
func (m *RewardsUnclaimed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardsUnclaimed) XXX_Merge ¶ added in v0.14.0
func (m *RewardsUnclaimed) XXX_Merge(src proto.Message)
func (*RewardsUnclaimed) XXX_Size ¶ added in v0.14.0
func (m *RewardsUnclaimed) XXX_Size() int
func (*RewardsUnclaimed) XXX_Unmarshal ¶ added in v0.14.0
func (m *RewardsUnclaimed) 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 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) CommitLiquidTokens ¶ added in v0.13.0
func (*UnimplementedMsgServer) CommitLiquidTokens(ctx context.Context, req *MsgCommitLiquidTokens) (*MsgCommitLiquidTokensResponse, error)
func (*UnimplementedMsgServer) CommitUnclaimedRewards ¶ added in v0.14.0
func (*UnimplementedMsgServer) CommitUnclaimedRewards(ctx context.Context, req *MsgCommitUnclaimedRewards) (*MsgCommitUnclaimedRewardsResponse, error)
func (*UnimplementedMsgServer) Stake ¶ added in v0.14.0
func (*UnimplementedMsgServer) Stake(ctx context.Context, req *MsgStake) (*MsgStakeResponse, error)
func (*UnimplementedMsgServer) UncommitTokens ¶
func (*UnimplementedMsgServer) UncommitTokens(ctx context.Context, req *MsgUncommitTokens) (*MsgUncommitTokensResponse, error)
func (*UnimplementedMsgServer) Unstake ¶ added in v0.14.0
func (*UnimplementedMsgServer) Unstake(ctx context.Context, req *MsgUnstake) (*MsgUnstakeResponse, error)
func (*UnimplementedMsgServer) UpdateVestingInfo ¶ added in v0.12.0
func (*UnimplementedMsgServer) UpdateVestingInfo(ctx context.Context, req *MsgUpdateVestingInfo) (*MsgUpdateVestingInfoResponse, error)
func (*UnimplementedMsgServer) Vest ¶
func (*UnimplementedMsgServer) Vest(ctx context.Context, req *MsgVest) (*MsgVestResponse, error)
func (*UnimplementedMsgServer) VestLiquid ¶ added in v0.13.0
func (*UnimplementedMsgServer) VestLiquid(ctx context.Context, req *MsgVestLiquid) (*MsgVestLiquidResponse, 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 */ NumMaxVestings int64 `protobuf:"varint,6,opt,name=num_max_vestings,json=numMaxVestings,proto3" json:"num_max_vestings,omitempty"` }
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) GetNumMaxVestings ¶ added in v0.12.0
func (m *VestingInfo) GetNumMaxVestings() 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_liquid_tokens.go
- message_commit_tokens.go
- message_stake.go
- message_uncommit_tokens.go
- message_unstake.go
- message_update_vesting_info.go
- message_vest.go
- message_vest_liquid.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