Versions in this module Expand all Collapse all v1 v1.0.0 May 14, 2020 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + func KeyTestPubAddr() (crypto.PrivKey, crypto.PubKey, sdk.AccAddress) + func NewTestCoins() sdk.Coins + func NewTestMsg(addrs ...sdk.AccAddress) *sdk.TestMsg + func RegisterCodec(cdc *codec.Codec) + 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) UnmarshalJSON(bz []byte) error + 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) MarshalJSON() ([]byte, error) + 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) UnmarshalJSON(bz []byte) error + 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) MarshalJSON() ([]byte, error) + 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) UnmarshalJSON(bz []byte) error + 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) MarshalJSON() ([]byte, error) + 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 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) UnmarshalJSON(bz []byte) error + 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) MarshalJSON() ([]byte, error) + func (pva PeriodicVestingAccount) MarshalYAML() (interface{}, error) + func (pva PeriodicVestingAccount) String() string + func (pva PeriodicVestingAccount) Validate() error + type Periods []Period + func (vp Periods) String() string v1.0.0-playground Jul 8, 2020