Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec nonlint
Types ¶
type LazyGradedVestingAccount ¶
type LazyGradedVestingAccount struct { *v039auth.BaseVestingAccount VestingSchedules VestingSchedules `json:"vesting_schedules"` }
LazyGradedVestingAccount nolint
func NewLazyGradedVestingAccountRaw ¶
func NewLazyGradedVestingAccountRaw(baseVestingAcc *v039auth.BaseVestingAccount, lazyVestingSchedules VestingSchedules) *LazyGradedVestingAccount
NewLazyGradedVestingAccountRaw nolint
func (LazyGradedVestingAccount) MarshalJSON ¶
func (lgva LazyGradedVestingAccount) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation of a LazyGradedVestingAccount.
func (*LazyGradedVestingAccount) UnmarshalJSON ¶
func (lgva *LazyGradedVestingAccount) UnmarshalJSON(bz []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a LazyGradedVestingAccount.
func (LazyGradedVestingAccount) Validate ¶
func (lgva LazyGradedVestingAccount) Validate() error
Validate nolint
type LazySchedule ¶
type LazySchedule struct { StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` Ratio sdk.Dec `json:"ratio"` }
LazySchedule nolint
type VestingSchedule ¶
type VestingSchedule struct { Denom string `json:"denom"` LazySchedules LazySchedules `json:"schedules"` // maps blocktime to percentage vested. Should sum to 1. }
VestingSchedule nolint
Click to show internal directories.
Click to hide internal directories.