Versions in this module Expand all Collapse all v0 v0.47.0 Feb 1, 2022 Changes in this version + const AttributeValueCategory + const ModuleName + const RouterKey + const TypeMsgCreatePeriodicVestingAccount + const TypeMsgCreateVestingAccount + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowVesting = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthVesting = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupVesting = fmt.Errorf("proto: unexpected end of group") + func KeyTestPubAddr() (cryptotypes.PrivKey, cryptotypes.PubKey, sdk.AccAddress) + func NewTestCoins() sdk.Coins + func NewTestMsg(addrs ...sdk.AccAddress) *testdata.TestMsg + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + type BankKeeper interface + BlockedAddr func(addr sdk.AccAddress) bool + IsSendEnabledCoins func(ctx sdk.Context, coins ...sdk.Coin) error + SendCoins func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + type BaseVestingAccount struct + DelegatedFree github_com_cosmos_cosmos_sdk_types.Coins + DelegatedVesting github_com_cosmos_cosmos_sdk_types.Coins + EndTime int64 + OriginalVesting github_com_cosmos_cosmos_sdk_types.Coins + func NewBaseVestingAccount(baseAccount *authtypes.BaseAccount, originalVesting sdk.Coins, endTime int64) *BaseVestingAccount + func (*BaseVestingAccount) Descriptor() ([]byte, []int) + func (*BaseVestingAccount) ProtoMessage() + func (bva *BaseVestingAccount) TrackDelegation(balance, vestingCoins, amount sdk.Coins) + func (bva *BaseVestingAccount) TrackUndelegation(amount sdk.Coins) + func (bva BaseVestingAccount) GetDelegatedFree() sdk.Coins + func (bva BaseVestingAccount) GetDelegatedVesting() sdk.Coins + func (bva BaseVestingAccount) GetEndTime() int64 + func (bva BaseVestingAccount) GetOriginalVesting() sdk.Coins + func (bva BaseVestingAccount) LockedCoinsFromVesting(vestingCoins sdk.Coins) sdk.Coins + func (bva BaseVestingAccount) MarshalYAML() (interface{}, error) + func (bva BaseVestingAccount) String() string + func (bva BaseVestingAccount) Validate() error + func (m *BaseVestingAccount) Marshal() (dAtA []byte, err error) + func (m *BaseVestingAccount) MarshalTo(dAtA []byte) (int, error) + func (m *BaseVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BaseVestingAccount) Reset() + func (m *BaseVestingAccount) Size() (n int) + func (m *BaseVestingAccount) Unmarshal(dAtA []byte) error + func (m *BaseVestingAccount) XXX_DiscardUnknown() + func (m *BaseVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BaseVestingAccount) XXX_Merge(src proto.Message) + func (m *BaseVestingAccount) XXX_Size() int + func (m *BaseVestingAccount) XXX_Unmarshal(b []byte) error + type ContinuousVestingAccount struct + StartTime int64 + func NewContinuousVestingAccount(baseAcc *authtypes.BaseAccount, originalVesting sdk.Coins, ...) *ContinuousVestingAccount + func NewContinuousVestingAccountRaw(bva *BaseVestingAccount, startTime int64) *ContinuousVestingAccount + func (*ContinuousVestingAccount) Descriptor() ([]byte, []int) + func (*ContinuousVestingAccount) ProtoMessage() + func (cva *ContinuousVestingAccount) TrackDelegation(blockTime time.Time, balance, amount sdk.Coins) + func (cva ContinuousVestingAccount) GetStartTime() int64 + func (cva ContinuousVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins + func (cva ContinuousVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins + func (cva ContinuousVestingAccount) LockedCoins(blockTime time.Time) sdk.Coins + func (cva ContinuousVestingAccount) MarshalYAML() (interface{}, error) + func (cva ContinuousVestingAccount) String() string + func (cva ContinuousVestingAccount) Validate() error + func (m *ContinuousVestingAccount) Marshal() (dAtA []byte, err error) + func (m *ContinuousVestingAccount) MarshalTo(dAtA []byte) (int, error) + func (m *ContinuousVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ContinuousVestingAccount) Reset() + func (m *ContinuousVestingAccount) Size() (n int) + func (m *ContinuousVestingAccount) Unmarshal(dAtA []byte) error + func (m *ContinuousVestingAccount) XXX_DiscardUnknown() + func (m *ContinuousVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContinuousVestingAccount) XXX_Merge(src proto.Message) + func (m *ContinuousVestingAccount) XXX_Size() int + func (m *ContinuousVestingAccount) XXX_Unmarshal(b []byte) error + type DelayedVestingAccount struct + func NewDelayedVestingAccount(baseAcc *authtypes.BaseAccount, originalVesting sdk.Coins, endTime int64) *DelayedVestingAccount + func NewDelayedVestingAccountRaw(bva *BaseVestingAccount) *DelayedVestingAccount + func (*DelayedVestingAccount) Descriptor() ([]byte, []int) + func (*DelayedVestingAccount) ProtoMessage() + func (dva *DelayedVestingAccount) TrackDelegation(blockTime time.Time, balance, amount sdk.Coins) + func (dva DelayedVestingAccount) GetStartTime() int64 + func (dva DelayedVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins + func (dva DelayedVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins + func (dva DelayedVestingAccount) LockedCoins(blockTime time.Time) sdk.Coins + func (dva DelayedVestingAccount) String() string + func (dva DelayedVestingAccount) Validate() error + func (m *DelayedVestingAccount) Marshal() (dAtA []byte, err error) + func (m *DelayedVestingAccount) MarshalTo(dAtA []byte) (int, error) + func (m *DelayedVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DelayedVestingAccount) Reset() + func (m *DelayedVestingAccount) Size() (n int) + func (m *DelayedVestingAccount) Unmarshal(dAtA []byte) error + func (m *DelayedVestingAccount) XXX_DiscardUnknown() + func (m *DelayedVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelayedVestingAccount) XXX_Merge(src proto.Message) + func (m *DelayedVestingAccount) XXX_Size() int + func (m *DelayedVestingAccount) XXX_Unmarshal(b []byte) error + type MsgClient interface + CreatePeriodicVestingAccount func(ctx context.Context, in *MsgCreatePeriodicVestingAccount, ...) (*MsgCreatePeriodicVestingAccountResponse, error) + CreateVestingAccount func(ctx context.Context, in *MsgCreateVestingAccount, opts ...grpc.CallOption) (*MsgCreateVestingAccountResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreatePeriodicVestingAccount struct + FromAddress string + StartTime int64 + ToAddress string + VestingPeriods []Period + func NewMsgCreatePeriodicVestingAccount(fromAddr, toAddr sdk.AccAddress, startTime int64, periods []Period) *MsgCreatePeriodicVestingAccount + func (*MsgCreatePeriodicVestingAccount) Descriptor() ([]byte, []int) + func (*MsgCreatePeriodicVestingAccount) ProtoMessage() + func (m *MsgCreatePeriodicVestingAccount) GetFromAddress() string + func (m *MsgCreatePeriodicVestingAccount) GetStartTime() int64 + func (m *MsgCreatePeriodicVestingAccount) GetToAddress() string + func (m *MsgCreatePeriodicVestingAccount) GetVestingPeriods() []Period + func (m *MsgCreatePeriodicVestingAccount) Marshal() (dAtA []byte, err error) + func (m *MsgCreatePeriodicVestingAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreatePeriodicVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreatePeriodicVestingAccount) Reset() + func (m *MsgCreatePeriodicVestingAccount) Size() (n int) + func (m *MsgCreatePeriodicVestingAccount) String() string + func (m *MsgCreatePeriodicVestingAccount) Unmarshal(dAtA []byte) error + func (m *MsgCreatePeriodicVestingAccount) XXX_DiscardUnknown() + func (m *MsgCreatePeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreatePeriodicVestingAccount) XXX_Merge(src proto.Message) + func (m *MsgCreatePeriodicVestingAccount) XXX_Size() int + func (m *MsgCreatePeriodicVestingAccount) XXX_Unmarshal(b []byte) error + func (msg MsgCreatePeriodicVestingAccount) GetSignBytes() []byte + func (msg MsgCreatePeriodicVestingAccount) GetSigners() []sdk.AccAddress + func (msg MsgCreatePeriodicVestingAccount) Route() string + func (msg MsgCreatePeriodicVestingAccount) Type() string + func (msg MsgCreatePeriodicVestingAccount) ValidateBasic() error + type MsgCreatePeriodicVestingAccountResponse struct + func (*MsgCreatePeriodicVestingAccountResponse) Descriptor() ([]byte, []int) + func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage() + func (m *MsgCreatePeriodicVestingAccountResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreatePeriodicVestingAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreatePeriodicVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreatePeriodicVestingAccountResponse) Reset() + func (m *MsgCreatePeriodicVestingAccountResponse) Size() (n int) + func (m *MsgCreatePeriodicVestingAccountResponse) String() string + func (m *MsgCreatePeriodicVestingAccountResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreatePeriodicVestingAccountResponse) XXX_DiscardUnknown() + func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Merge(src proto.Message) + func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Size() int + func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Unmarshal(b []byte) error + type MsgCreateVestingAccount struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + Delayed bool + EndTime int64 + FromAddress string + ToAddress string + func NewMsgCreateVestingAccount(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins, endTime int64, delayed bool) *MsgCreateVestingAccount + func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int) + func (*MsgCreateVestingAccount) ProtoMessage() + func (m *MsgCreateVestingAccount) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins + func (m *MsgCreateVestingAccount) GetDelayed() bool + func (m *MsgCreateVestingAccount) GetEndTime() int64 + func (m *MsgCreateVestingAccount) GetFromAddress() string + func (m *MsgCreateVestingAccount) GetToAddress() string + func (m *MsgCreateVestingAccount) Marshal() (dAtA []byte, err error) + func (m *MsgCreateVestingAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateVestingAccount) Reset() + func (m *MsgCreateVestingAccount) Size() (n int) + func (m *MsgCreateVestingAccount) String() string + func (m *MsgCreateVestingAccount) Unmarshal(dAtA []byte) error + func (m *MsgCreateVestingAccount) XXX_DiscardUnknown() + func (m *MsgCreateVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateVestingAccount) XXX_Merge(src proto.Message) + func (m *MsgCreateVestingAccount) XXX_Size() int + func (m *MsgCreateVestingAccount) XXX_Unmarshal(b []byte) error + func (msg MsgCreateVestingAccount) GetSignBytes() []byte + func (msg MsgCreateVestingAccount) GetSigners() []sdk.AccAddress + func (msg MsgCreateVestingAccount) Route() string + func (msg MsgCreateVestingAccount) Type() string + func (msg MsgCreateVestingAccount) ValidateBasic() error + func (this *MsgCreateVestingAccount) Equal(that interface{}) bool + type MsgCreateVestingAccountResponse struct + func (*MsgCreateVestingAccountResponse) Descriptor() ([]byte, []int) + func (*MsgCreateVestingAccountResponse) ProtoMessage() + func (m *MsgCreateVestingAccountResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateVestingAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateVestingAccountResponse) Reset() + func (m *MsgCreateVestingAccountResponse) Size() (n int) + func (m *MsgCreateVestingAccountResponse) String() string + func (m *MsgCreateVestingAccountResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateVestingAccountResponse) XXX_DiscardUnknown() + func (m *MsgCreateVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateVestingAccountResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateVestingAccountResponse) XXX_Size() int + func (m *MsgCreateVestingAccountResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + CreatePeriodicVestingAccount func(context.Context, *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error) + CreateVestingAccount func(context.Context, *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error) + type Period struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + Length int64 + func (*Period) Descriptor() ([]byte, []int) + func (*Period) ProtoMessage() + func (m *Period) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins + func (m *Period) GetLength() int64 + func (m *Period) Marshal() (dAtA []byte, err error) + func (m *Period) MarshalTo(dAtA []byte) (int, error) + func (m *Period) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Period) Reset() + func (m *Period) Size() (n int) + func (m *Period) Unmarshal(dAtA []byte) error + func (m *Period) XXX_DiscardUnknown() + func (m *Period) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Period) XXX_Merge(src proto.Message) + func (m *Period) XXX_Size() int + func (m *Period) XXX_Unmarshal(b []byte) error + func (p Period) String() string + type PeriodicVestingAccount struct + StartTime int64 + VestingPeriods []Period + func NewPeriodicVestingAccount(baseAcc *authtypes.BaseAccount, originalVesting sdk.Coins, startTime int64, ...) *PeriodicVestingAccount + func NewPeriodicVestingAccountRaw(bva *BaseVestingAccount, startTime int64, periods Periods) *PeriodicVestingAccount + func (*PeriodicVestingAccount) Descriptor() ([]byte, []int) + func (*PeriodicVestingAccount) ProtoMessage() + func (m *PeriodicVestingAccount) Marshal() (dAtA []byte, err error) + func (m *PeriodicVestingAccount) MarshalTo(dAtA []byte) (int, error) + func (m *PeriodicVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PeriodicVestingAccount) Reset() + func (m *PeriodicVestingAccount) Size() (n int) + func (m *PeriodicVestingAccount) Unmarshal(dAtA []byte) error + func (m *PeriodicVestingAccount) XXX_DiscardUnknown() + func (m *PeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PeriodicVestingAccount) XXX_Merge(src proto.Message) + func (m *PeriodicVestingAccount) XXX_Size() int + func (m *PeriodicVestingAccount) XXX_Unmarshal(b []byte) error + func (pva *PeriodicVestingAccount) TrackDelegation(blockTime time.Time, balance, amount sdk.Coins) + func (pva PeriodicVestingAccount) GetStartTime() int64 + func (pva PeriodicVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins + func (pva PeriodicVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins + func (pva PeriodicVestingAccount) GetVestingPeriods() Periods + func (pva PeriodicVestingAccount) LockedCoins(blockTime time.Time) sdk.Coins + func (pva PeriodicVestingAccount) MarshalYAML() (interface{}, error) + func (pva PeriodicVestingAccount) String() string + func (pva PeriodicVestingAccount) Validate() error + type Periods []Period + func (vp Periods) String() string + type PermanentLockedAccount struct + func NewPermanentLockedAccount(baseAcc *authtypes.BaseAccount, coins sdk.Coins) *PermanentLockedAccount + func (*PermanentLockedAccount) Descriptor() ([]byte, []int) + func (*PermanentLockedAccount) ProtoMessage() + func (m *PermanentLockedAccount) Marshal() (dAtA []byte, err error) + func (m *PermanentLockedAccount) MarshalTo(dAtA []byte) (int, error) + func (m *PermanentLockedAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PermanentLockedAccount) Reset() + func (m *PermanentLockedAccount) Size() (n int) + func (m *PermanentLockedAccount) Unmarshal(dAtA []byte) error + func (m *PermanentLockedAccount) XXX_DiscardUnknown() + func (m *PermanentLockedAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PermanentLockedAccount) XXX_Merge(src proto.Message) + func (m *PermanentLockedAccount) XXX_Size() int + func (m *PermanentLockedAccount) XXX_Unmarshal(b []byte) error + func (plva *PermanentLockedAccount) TrackDelegation(blockTime time.Time, balance, amount sdk.Coins) + func (plva PermanentLockedAccount) GetEndTime() int64 + func (plva PermanentLockedAccount) GetStartTime() int64 + func (plva PermanentLockedAccount) GetVestedCoins(_ time.Time) sdk.Coins + func (plva PermanentLockedAccount) GetVestingCoins(_ time.Time) sdk.Coins + func (plva PermanentLockedAccount) LockedCoins(_ time.Time) sdk.Coins + func (plva PermanentLockedAccount) String() string + func (plva PermanentLockedAccount) Validate() error + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) CreatePeriodicVestingAccount(ctx context.Context, req *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error) + func (*UnimplementedMsgServer) CreateVestingAccount(ctx context.Context, req *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error)