Documentation ¶
Overview ¶
nolint noalias
Index ¶
- Variables
- 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
- func (*BaseVestingAccount) Descriptor() ([]byte, []int)
- func (bva BaseVestingAccount) GetDelegatedFree() sdk.Coins
- func (bva BaseVestingAccount) GetDelegatedVesting() sdk.Coins
- func (bva BaseVestingAccount) GetEndTime() int64
- func (bva BaseVestingAccount) GetOriginalVesting() sdk.Coins
- func (m *BaseVestingAccount) Marshal() (dAtA []byte, err error)
- func (bva BaseVestingAccount) MarshalJSON() ([]byte, error)
- func (m *BaseVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (bva BaseVestingAccount) MarshalYAML() (interface{}, error)
- func (*BaseVestingAccount) ProtoMessage()
- func (m *BaseVestingAccount) Reset()
- func (m *BaseVestingAccount) Size() (n int)
- func (bva BaseVestingAccount) SpendableCoinsVestingAccount(vestingCoins sdk.Coins) sdk.Coins
- func (bva BaseVestingAccount) String() string
- func (bva *BaseVestingAccount) TrackDelegation(vestingCoins, amount sdk.Coins)
- func (bva *BaseVestingAccount) TrackUndelegation(amount sdk.Coins)
- func (m *BaseVestingAccount) Unmarshal(dAtA []byte) error
- func (bva *BaseVestingAccount) UnmarshalJSON(bz []byte) error
- func (bva BaseVestingAccount) Validate() 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
- func (*ContinuousVestingAccount) Descriptor() ([]byte, []int)
- func (cva ContinuousVestingAccount) GetStartTime() int64
- func (cva ContinuousVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins
- func (cva ContinuousVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins
- func (m *ContinuousVestingAccount) Marshal() (dAtA []byte, err error)
- func (cva ContinuousVestingAccount) MarshalJSON() ([]byte, error)
- func (m *ContinuousVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *ContinuousVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (cva ContinuousVestingAccount) MarshalYAML() (interface{}, error)
- func (*ContinuousVestingAccount) ProtoMessage()
- func (m *ContinuousVestingAccount) Reset()
- func (m *ContinuousVestingAccount) Size() (n int)
- func (cva ContinuousVestingAccount) SpendableCoins(blockTime time.Time) sdk.Coins
- func (cva ContinuousVestingAccount) String() string
- func (cva *ContinuousVestingAccount) TrackDelegation(blockTime time.Time, amount sdk.Coins)
- func (m *ContinuousVestingAccount) Unmarshal(dAtA []byte) error
- func (cva *ContinuousVestingAccount) UnmarshalJSON(bz []byte) error
- func (cva ContinuousVestingAccount) Validate() 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
- func (*DelayedVestingAccount) Descriptor() ([]byte, []int)
- func (dva DelayedVestingAccount) GetStartTime() int64
- func (dva DelayedVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins
- func (dva DelayedVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins
- func (m *DelayedVestingAccount) Marshal() (dAtA []byte, err error)
- func (dva DelayedVestingAccount) MarshalJSON() ([]byte, error)
- func (m *DelayedVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *DelayedVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelayedVestingAccount) ProtoMessage()
- func (m *DelayedVestingAccount) Reset()
- func (m *DelayedVestingAccount) Size() (n int)
- func (dva DelayedVestingAccount) SpendableCoins(blockTime time.Time) sdk.Coins
- func (dva *DelayedVestingAccount) TrackDelegation(blockTime time.Time, amount sdk.Coins)
- func (m *DelayedVestingAccount) Unmarshal(dAtA []byte) error
- func (dva *DelayedVestingAccount) UnmarshalJSON(bz []byte) error
- func (dva DelayedVestingAccount) Validate() 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
- func (*Period) Descriptor() ([]byte, []int)
- 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 (*Period) ProtoMessage()
- func (m *Period) Reset()
- func (m *Period) Size() (n int)
- func (p Period) String() string
- 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
- type PeriodicVestingAccount
- func (*PeriodicVestingAccount) Descriptor() ([]byte, []int)
- 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 (m *PeriodicVestingAccount) Marshal() (dAtA []byte, err error)
- func (pva PeriodicVestingAccount) MarshalJSON() ([]byte, error)
- func (m *PeriodicVestingAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *PeriodicVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (pva PeriodicVestingAccount) MarshalYAML() (interface{}, error)
- func (*PeriodicVestingAccount) ProtoMessage()
- func (m *PeriodicVestingAccount) Reset()
- func (m *PeriodicVestingAccount) Size() (n int)
- func (pva PeriodicVestingAccount) SpendableCoins(blockTime time.Time) sdk.Coins
- func (pva PeriodicVestingAccount) String() string
- func (pva *PeriodicVestingAccount) TrackDelegation(blockTime time.Time, amount sdk.Coins)
- func (m *PeriodicVestingAccount) Unmarshal(dAtA []byte) error
- func (pva *PeriodicVestingAccount) UnmarshalJSON(bz []byte) error
- func (pva PeriodicVestingAccount) Validate() 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
- type Periods
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var VestingCdc *codec.Codec
VestingCdc module wide codec
Functions ¶
func KeyTestPubAddr ¶
KeyTestPubAddr generates a test key pair
func NewTestMsg ¶
func NewTestMsg(addrs ...sdk.AccAddress) *sdk.TestMsg
NewTestMsg generates a test message
func RegisterCodec ¶
RegisterCodec registers concrete types on the codec
Types ¶
type BaseVestingAccount ¶
type BaseVestingAccount struct { *authtypes.BaseAccount OriginalVesting sdk.Coins `json:"original_vesting" yaml:"original_vesting"` // coins in account upon initialization DelegatedFree sdk.Coins `json:"delegated_free" yaml:"delegated_free"` // coins that are vested and delegated DelegatedVesting sdk.Coins `json:"delegated_vesting" yaml:"delegated_vesting"` // coins that vesting and delegated EndTime int64 `json:"end_time" yaml:"end_time"` // when the coins become unlocked }
BaseVestingAccount implements the VestingAccount interface. It contains all the necessary fields needed for any vesting account implementation.
func NewBaseVestingAccount ¶
func NewBaseVestingAccount(baseAccount *authtypes.BaseAccount, originalVesting sdk.Coins, endTime int64) (*BaseVestingAccount, error)
NewBaseVestingAccount creates a new BaseVestingAccount object
func (*BaseVestingAccount) Descriptor ¶
func (BaseVestingAccount) GetDelegatedFree ¶
func (bva BaseVestingAccount) GetDelegatedFree() sdk.Coins
GetDelegatedFree returns a vesting account's delegation amount that is not vesting.
func (BaseVestingAccount) GetDelegatedVesting ¶
func (bva BaseVestingAccount) GetDelegatedVesting() sdk.Coins
GetDelegatedVesting returns a vesting account's delegation amount that is still vesting.
func (BaseVestingAccount) GetEndTime ¶
func (bva BaseVestingAccount) GetEndTime() int64
GetEndTime returns a vesting account's end time
func (BaseVestingAccount) GetOriginalVesting ¶
func (bva BaseVestingAccount) GetOriginalVesting() sdk.Coins
GetOriginalVesting returns a vesting account's original vesting amount
func (BaseVestingAccount) MarshalJSON ¶
func (bva BaseVestingAccount) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation of a BaseVestingAccount.
func (*BaseVestingAccount) MarshalToSizedBuffer ¶
func (BaseVestingAccount) MarshalYAML ¶
func (bva BaseVestingAccount) MarshalYAML() (interface{}, error)
MarshalYAML returns the YAML representation of a BaseVestingAccount.
func (*BaseVestingAccount) ProtoMessage ¶
func (*BaseVestingAccount) ProtoMessage()
func (BaseVestingAccount) SpendableCoinsVestingAccount ¶ added in v0.1.3
func (bva BaseVestingAccount) SpendableCoinsVestingAccount(vestingCoins sdk.Coins) sdk.Coins
SpendableCoinsVestingAccount returns all the spendable coins for a vesting account given a set of vesting coins.
CONTRACT: The account's coins, delegated vesting coins, vestingCoins must be sorted.
func (BaseVestingAccount) String ¶
func (bva BaseVestingAccount) String() string
func (*BaseVestingAccount) TrackDelegation ¶
func (bva *BaseVestingAccount) TrackDelegation(vestingCoins, amount sdk.Coins)
TrackDelegation tracks a delegation amount for any given vesting account type given the amount of coins currently vesting.
CONTRACT: The account's coins, delegation coins, vesting coins, and delegated vesting coins must be sorted.
func (*BaseVestingAccount) TrackUndelegation ¶
func (bva *BaseVestingAccount) TrackUndelegation(amount sdk.Coins)
TrackUndelegation tracks an undelegation amount by setting the necessary values by which delegated vesting and delegated vesting need to decrease and by which amount the base coins need to increase.
NOTE: The undelegation (bond refund) amount may exceed the delegated vesting (bond) amount due to the way undelegation truncates the bond refund, which can increase the validator's exchange rate (tokens/shares) slightly if the undelegated tokens are non-integral.
CONTRACT: The account's coins and undelegation coins must be sorted.
func (*BaseVestingAccount) UnmarshalJSON ¶
func (bva *BaseVestingAccount) UnmarshalJSON(bz []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a BaseVestingAccount.
func (BaseVestingAccount) Validate ¶
func (bva BaseVestingAccount) Validate() error
Validate checks for errors on the account fields
func (*BaseVestingAccount) XXX_DiscardUnknown ¶
func (m *BaseVestingAccount) XXX_DiscardUnknown()
func (*BaseVestingAccount) XXX_Marshal ¶
func (*BaseVestingAccount) XXX_Unmarshal ¶
type ContinuousVestingAccount ¶
type ContinuousVestingAccount struct { *BaseVestingAccount StartTime int64 `json:"start_time" yaml:"start_time"` // when the coins start to vest }
ContinuousVestingAccount implements the VestingAccount interface. It continuously vests by unlocking coins linearly with respect to time.
func NewContinuousVestingAccount ¶
func NewContinuousVestingAccount(baseAcc *authtypes.BaseAccount, startTime, endTime int64) *ContinuousVestingAccount
NewContinuousVestingAccount returns a new ContinuousVestingAccount
func NewContinuousVestingAccountRaw ¶
func NewContinuousVestingAccountRaw(bva *BaseVestingAccount, startTime int64) *ContinuousVestingAccount
NewContinuousVestingAccountRaw creates a new ContinuousVestingAccount object from BaseVestingAccount
func (*ContinuousVestingAccount) Descriptor ¶
func (ContinuousVestingAccount) GetStartTime ¶
func (cva ContinuousVestingAccount) GetStartTime() int64
GetStartTime returns the time when vesting starts for a continuous vesting account.
func (ContinuousVestingAccount) GetVestedCoins ¶
func (cva ContinuousVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins
GetVestedCoins returns the total number of vested coins. If no coins are vested, nil is returned.
func (ContinuousVestingAccount) GetVestingCoins ¶
func (cva ContinuousVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins
GetVestingCoins returns the total number of vesting coins. If no coins are vesting, nil is returned.
func (ContinuousVestingAccount) MarshalJSON ¶
func (cva ContinuousVestingAccount) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation of a ContinuousVestingAccount.
func (*ContinuousVestingAccount) MarshalToSizedBuffer ¶
func (ContinuousVestingAccount) MarshalYAML ¶
func (cva ContinuousVestingAccount) MarshalYAML() (interface{}, error)
MarshalYAML returns the YAML representation of a ContinuousVestingAccount.
func (*ContinuousVestingAccount) ProtoMessage ¶
func (*ContinuousVestingAccount) ProtoMessage()
func (ContinuousVestingAccount) SpendableCoins ¶ added in v0.1.3
func (cva ContinuousVestingAccount) SpendableCoins(blockTime time.Time) sdk.Coins
SpendableCoins returns the total number of spendable coins per denom for a continuous vesting account.
func (ContinuousVestingAccount) String ¶
func (cva ContinuousVestingAccount) String() string
func (*ContinuousVestingAccount) TrackDelegation ¶
func (cva *ContinuousVestingAccount) TrackDelegation(blockTime time.Time, amount sdk.Coins)
TrackDelegation tracks a desired delegation amount by setting the appropriate values for the amount of delegated vesting, delegated free, and reducing the overall amount of base coins.
func (*ContinuousVestingAccount) UnmarshalJSON ¶
func (cva *ContinuousVestingAccount) UnmarshalJSON(bz []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a ContinuousVestingAccount.
func (ContinuousVestingAccount) Validate ¶
func (cva ContinuousVestingAccount) Validate() error
Validate checks for errors on the account fields
func (*ContinuousVestingAccount) XXX_DiscardUnknown ¶
func (m *ContinuousVestingAccount) XXX_DiscardUnknown()
func (*ContinuousVestingAccount) XXX_Marshal ¶
func (*ContinuousVestingAccount) XXX_Unmarshal ¶
type DelayedVestingAccount ¶
type DelayedVestingAccount struct {
*BaseVestingAccount
}
DelayedVestingAccount implements the VestingAccount interface. It vests all coins after a specific time, but non prior. In other words, it keeps them locked until a specified time.
func NewDelayedVestingAccount ¶
func NewDelayedVestingAccount(baseAcc *authtypes.BaseAccount, endTime int64) *DelayedVestingAccount
NewDelayedVestingAccount returns a DelayedVestingAccount
func NewDelayedVestingAccountRaw ¶
func NewDelayedVestingAccountRaw(bva *BaseVestingAccount) *DelayedVestingAccount
NewDelayedVestingAccountRaw creates a new DelayedVestingAccount object from BaseVestingAccount
func (*DelayedVestingAccount) Descriptor ¶
func (DelayedVestingAccount) GetStartTime ¶
func (dva DelayedVestingAccount) GetStartTime() int64
GetStartTime returns zero since a delayed vesting account has no start time.
func (DelayedVestingAccount) GetVestedCoins ¶
func (dva DelayedVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins
GetVestedCoins returns the total amount of vested coins for a delayed vesting account. All coins are only vested once the schedule has elapsed.
func (DelayedVestingAccount) GetVestingCoins ¶
func (dva DelayedVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins
GetVestingCoins returns the total number of vesting coins for a delayed vesting account.
func (DelayedVestingAccount) MarshalJSON ¶
func (dva DelayedVestingAccount) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation of a DelayedVestingAccount.
func (*DelayedVestingAccount) MarshalToSizedBuffer ¶
func (*DelayedVestingAccount) ProtoMessage ¶
func (*DelayedVestingAccount) ProtoMessage()
func (DelayedVestingAccount) SpendableCoins ¶ added in v0.1.3
func (dva DelayedVestingAccount) SpendableCoins(blockTime time.Time) sdk.Coins
SpendableCoins returns the total number of spendable coins for a delayed vesting account.
func (*DelayedVestingAccount) TrackDelegation ¶
func (dva *DelayedVestingAccount) TrackDelegation(blockTime time.Time, amount sdk.Coins)
TrackDelegation tracks a desired delegation amount by setting the appropriate values for the amount of delegated vesting, delegated free, and reducing the overall amount of base coins.
func (*DelayedVestingAccount) UnmarshalJSON ¶
func (dva *DelayedVestingAccount) UnmarshalJSON(bz []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a DelayedVestingAccount.
func (DelayedVestingAccount) Validate ¶
func (dva DelayedVestingAccount) Validate() error
Validate checks for errors on the account fields
func (*DelayedVestingAccount) XXX_DiscardUnknown ¶
func (m *DelayedVestingAccount) XXX_DiscardUnknown()
func (*DelayedVestingAccount) XXX_Marshal ¶
func (*DelayedVestingAccount) XXX_Unmarshal ¶
type Period ¶
type Period struct { Length int64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/ayher/anatha/types.Coins" json:"amount"` }
Period defines a length of time and amount of coins that will vest
func (*Period) Descriptor ¶
func (*Period) GetAmount ¶
func (m *Period) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Period) MarshalToSizedBuffer ¶
func (*Period) ProtoMessage ¶
func (*Period) ProtoMessage()
func (*Period) XXX_DiscardUnknown ¶
func (m *Period) XXX_DiscardUnknown()
func (*Period) XXX_Marshal ¶
func (*Period) XXX_Unmarshal ¶
type PeriodicVestingAccount ¶
type PeriodicVestingAccount struct { *BaseVestingAccount StartTime int64 `json:"start_time" yaml:"start_time"` // when the coins start to vest VestingPeriods Periods `json:"vesting_periods" yaml:"vesting_periods"` // the vesting schedule }
PeriodicVestingAccount implements the VestingAccount interface. It periodically vests by unlocking coins during each specified period
func NewPeriodicVestingAccount ¶
func NewPeriodicVestingAccount(baseAcc *authtypes.BaseAccount, startTime int64, periods Periods) *PeriodicVestingAccount
NewPeriodicVestingAccount returns a new PeriodicVestingAccount
func NewPeriodicVestingAccountRaw ¶
func NewPeriodicVestingAccountRaw(bva *BaseVestingAccount, startTime int64, periods Periods) *PeriodicVestingAccount
NewPeriodicVestingAccountRaw creates a new PeriodicVestingAccount object from BaseVestingAccount
func (*PeriodicVestingAccount) Descriptor ¶
func (PeriodicVestingAccount) GetStartTime ¶
func (pva PeriodicVestingAccount) GetStartTime() int64
GetStartTime returns the time when vesting starts for a periodic vesting account.
func (PeriodicVestingAccount) GetVestedCoins ¶
func (pva PeriodicVestingAccount) GetVestedCoins(blockTime time.Time) sdk.Coins
GetVestedCoins returns the total number of vested coins. If no coins are vested, nil is returned.
func (PeriodicVestingAccount) GetVestingCoins ¶
func (pva PeriodicVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins
GetVestingCoins returns the total number of vesting coins. If no coins are vesting, nil is returned.
func (PeriodicVestingAccount) GetVestingPeriods ¶
func (pva PeriodicVestingAccount) GetVestingPeriods() Periods
GetVestingPeriods returns vesting periods associated with periodic vesting account.
func (PeriodicVestingAccount) MarshalJSON ¶
func (pva PeriodicVestingAccount) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation of a PeriodicVestingAccount.
func (*PeriodicVestingAccount) MarshalToSizedBuffer ¶
func (PeriodicVestingAccount) MarshalYAML ¶
func (pva PeriodicVestingAccount) MarshalYAML() (interface{}, error)
MarshalYAML returns the YAML representation of a PeriodicVestingAccount.
func (*PeriodicVestingAccount) ProtoMessage ¶
func (*PeriodicVestingAccount) ProtoMessage()
func (PeriodicVestingAccount) SpendableCoins ¶ added in v0.1.3
func (pva PeriodicVestingAccount) SpendableCoins(blockTime time.Time) sdk.Coins
SpendableCoins returns the total number of spendable coins per denom for a periodic vesting account.
func (PeriodicVestingAccount) String ¶
func (pva PeriodicVestingAccount) String() string
func (*PeriodicVestingAccount) TrackDelegation ¶
func (pva *PeriodicVestingAccount) TrackDelegation(blockTime time.Time, amount sdk.Coins)
TrackDelegation tracks a desired delegation amount by setting the appropriate values for the amount of delegated vesting, delegated free, and reducing the overall amount of base coins.
func (*PeriodicVestingAccount) UnmarshalJSON ¶
func (pva *PeriodicVestingAccount) UnmarshalJSON(bz []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a PeriodicVestingAccount.
func (PeriodicVestingAccount) Validate ¶
func (pva PeriodicVestingAccount) Validate() error
Validate checks for errors on the account fields
func (*PeriodicVestingAccount) XXX_DiscardUnknown ¶
func (m *PeriodicVestingAccount) XXX_DiscardUnknown()