Documentation ¶
Index ¶
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- type LazyGradedVestingAccount
- type LazySchedule
- type LazySchedules
- type LegacyAminoPubKey
- func (*LegacyAminoPubKey) Address() cryptotypes.Address
- func (*LegacyAminoPubKey) Bytes() []byte
- func (*LegacyAminoPubKey) Equals(key cryptotypes.PubKey) bool
- func (*LegacyAminoPubKey) ProtoMessage()
- func (*LegacyAminoPubKey) Reset()
- func (*LegacyAminoPubKey) String() string
- func (*LegacyAminoPubKey) Type() string
- func (*LegacyAminoPubKey) VerifySignature(msg []byte, sig []byte) bool
- type VestingSchedule
- type VestingSchedules
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 LegacyAminoPubKey ¶
type LegacyAminoPubKey struct { Threshold sdk.Int `json:"threshold"` PubKeys []cryptotypes.PubKey `json:"pubkeys"` }
LegacyAminoPubKey specifies a public key type which nests multiple public keys and a threshold, it uses legacy amino address rules.
func (*LegacyAminoPubKey) Address ¶
func (*LegacyAminoPubKey) Address() cryptotypes.Address
Address implements cryptotypes.PubKey Address method
func (*LegacyAminoPubKey) Equals ¶
func (*LegacyAminoPubKey) Equals(key cryptotypes.PubKey) bool
Equals no-lint
func (*LegacyAminoPubKey) ProtoMessage ¶
func (*LegacyAminoPubKey) ProtoMessage()
ProtoMessage no-lint
func (*LegacyAminoPubKey) VerifySignature ¶
func (*LegacyAminoPubKey) VerifySignature(msg []byte, sig []byte) bool
VerifySignature no-lint
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.