vestingv1beta1

package
v0.8.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 8

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_vesting_v1beta1_vesting_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BaseVestingAccount

type BaseVestingAccount struct {
	BaseAccount      *v1beta11.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3" json:"base_account,omitempty"`
	OriginalVesting  []*v1beta1.Coin       `protobuf:"bytes,2,rep,name=original_vesting,json=originalVesting,proto3" json:"original_vesting,omitempty"`
	DelegatedFree    []*v1beta1.Coin       `protobuf:"bytes,3,rep,name=delegated_free,json=delegatedFree,proto3" json:"delegated_free,omitempty"`
	DelegatedVesting []*v1beta1.Coin       `protobuf:"bytes,4,rep,name=delegated_vesting,json=delegatedVesting,proto3" json:"delegated_vesting,omitempty"`
	// Vesting end time, as unix timestamp (in seconds).
	EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

BaseVestingAccount implements the VestingAccount interface. It contains all the necessary fields needed for any vesting account implementation.

func (*BaseVestingAccount) Descriptor deprecated

func (*BaseVestingAccount) Descriptor() ([]byte, []int)

Deprecated: Use BaseVestingAccount.ProtoReflect.Descriptor instead.

func (*BaseVestingAccount) GetBaseAccount

func (x *BaseVestingAccount) GetBaseAccount() *v1beta11.BaseAccount

func (*BaseVestingAccount) GetDelegatedFree

func (x *BaseVestingAccount) GetDelegatedFree() []*v1beta1.Coin

func (*BaseVestingAccount) GetDelegatedVesting

func (x *BaseVestingAccount) GetDelegatedVesting() []*v1beta1.Coin

func (*BaseVestingAccount) GetEndTime

func (x *BaseVestingAccount) GetEndTime() int64

func (*BaseVestingAccount) GetOriginalVesting

func (x *BaseVestingAccount) GetOriginalVesting() []*v1beta1.Coin

func (*BaseVestingAccount) ProtoMessage

func (*BaseVestingAccount) ProtoMessage()

func (*BaseVestingAccount) ProtoReflect

func (x *BaseVestingAccount) ProtoReflect() protoreflect.Message

func (*BaseVestingAccount) Reset

func (x *BaseVestingAccount) Reset()

func (*BaseVestingAccount) String

func (x *BaseVestingAccount) String() string

type ContinuousVestingAccount

type ContinuousVestingAccount struct {
	BaseVestingAccount *BaseVestingAccount `protobuf:"bytes,1,opt,name=base_vesting_account,json=baseVestingAccount,proto3" json:"base_vesting_account,omitempty"`
	// Vesting start time, as unix timestamp (in seconds).
	StartTime int64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

ContinuousVestingAccount implements the VestingAccount interface. It continuously vests by unlocking coins linearly with respect to time.

func (*ContinuousVestingAccount) Descriptor deprecated

func (*ContinuousVestingAccount) Descriptor() ([]byte, []int)

Deprecated: Use ContinuousVestingAccount.ProtoReflect.Descriptor instead.

func (*ContinuousVestingAccount) GetBaseVestingAccount

func (x *ContinuousVestingAccount) GetBaseVestingAccount() *BaseVestingAccount

func (*ContinuousVestingAccount) GetStartTime

func (x *ContinuousVestingAccount) GetStartTime() int64

func (*ContinuousVestingAccount) ProtoMessage

func (*ContinuousVestingAccount) ProtoMessage()

func (*ContinuousVestingAccount) ProtoReflect

func (x *ContinuousVestingAccount) ProtoReflect() protoreflect.Message

func (*ContinuousVestingAccount) Reset

func (x *ContinuousVestingAccount) Reset()

func (*ContinuousVestingAccount) String

func (x *ContinuousVestingAccount) String() string

type DelayedVestingAccount

type DelayedVestingAccount struct {
	BaseVestingAccount *BaseVestingAccount `protobuf:"bytes,1,opt,name=base_vesting_account,json=baseVestingAccount,proto3" json:"base_vesting_account,omitempty"`
	// contains filtered or unexported fields
}

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 (*DelayedVestingAccount) Descriptor deprecated

func (*DelayedVestingAccount) Descriptor() ([]byte, []int)

Deprecated: Use DelayedVestingAccount.ProtoReflect.Descriptor instead.

func (*DelayedVestingAccount) GetBaseVestingAccount

func (x *DelayedVestingAccount) GetBaseVestingAccount() *BaseVestingAccount

func (*DelayedVestingAccount) ProtoMessage

func (*DelayedVestingAccount) ProtoMessage()

func (*DelayedVestingAccount) ProtoReflect

func (x *DelayedVestingAccount) ProtoReflect() protoreflect.Message

func (*DelayedVestingAccount) Reset

func (x *DelayedVestingAccount) Reset()

func (*DelayedVestingAccount) String

func (x *DelayedVestingAccount) String() string

type Period

type Period struct {

	// Period duration in seconds.
	Length int64           `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	Amount []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Period defines a length of time and amount of coins that will vest.

func (*Period) Descriptor deprecated

func (*Period) Descriptor() ([]byte, []int)

Deprecated: Use Period.ProtoReflect.Descriptor instead.

func (*Period) GetAmount

func (x *Period) GetAmount() []*v1beta1.Coin

func (*Period) GetLength

func (x *Period) GetLength() int64

func (*Period) ProtoMessage

func (*Period) ProtoMessage()

func (*Period) ProtoReflect

func (x *Period) ProtoReflect() protoreflect.Message

func (*Period) Reset

func (x *Period) Reset()

func (*Period) String

func (x *Period) String() string

type PeriodicVestingAccount

type PeriodicVestingAccount struct {
	BaseVestingAccount *BaseVestingAccount `protobuf:"bytes,1,opt,name=base_vesting_account,json=baseVestingAccount,proto3" json:"base_vesting_account,omitempty"`
	StartTime          int64               `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	VestingPeriods     []*Period           `protobuf:"bytes,3,rep,name=vesting_periods,json=vestingPeriods,proto3" json:"vesting_periods,omitempty"`
	// contains filtered or unexported fields
}

PeriodicVestingAccount implements the VestingAccount interface. It periodically vests by unlocking coins during each specified period.

func (*PeriodicVestingAccount) Descriptor deprecated

func (*PeriodicVestingAccount) Descriptor() ([]byte, []int)

Deprecated: Use PeriodicVestingAccount.ProtoReflect.Descriptor instead.

func (*PeriodicVestingAccount) GetBaseVestingAccount

func (x *PeriodicVestingAccount) GetBaseVestingAccount() *BaseVestingAccount

func (*PeriodicVestingAccount) GetStartTime

func (x *PeriodicVestingAccount) GetStartTime() int64

func (*PeriodicVestingAccount) GetVestingPeriods

func (x *PeriodicVestingAccount) GetVestingPeriods() []*Period

func (*PeriodicVestingAccount) ProtoMessage

func (*PeriodicVestingAccount) ProtoMessage()

func (*PeriodicVestingAccount) ProtoReflect

func (x *PeriodicVestingAccount) ProtoReflect() protoreflect.Message

func (*PeriodicVestingAccount) Reset

func (x *PeriodicVestingAccount) Reset()

func (*PeriodicVestingAccount) String

func (x *PeriodicVestingAccount) String() string

type PermanentLockedAccount

type PermanentLockedAccount struct {
	BaseVestingAccount *BaseVestingAccount `protobuf:"bytes,1,opt,name=base_vesting_account,json=baseVestingAccount,proto3" json:"base_vesting_account,omitempty"`
	// contains filtered or unexported fields
}

PermanentLockedAccount implements the VestingAccount interface. It does not ever release coins, locking them indefinitely. Coins in this account can still be used for delegating and for governance votes even while locked.

Since: cosmos-sdk 0.43

func (*PermanentLockedAccount) Descriptor deprecated

func (*PermanentLockedAccount) Descriptor() ([]byte, []int)

Deprecated: Use PermanentLockedAccount.ProtoReflect.Descriptor instead.

func (*PermanentLockedAccount) GetBaseVestingAccount

func (x *PermanentLockedAccount) GetBaseVestingAccount() *BaseVestingAccount

func (*PermanentLockedAccount) ProtoMessage

func (*PermanentLockedAccount) ProtoMessage()

func (*PermanentLockedAccount) ProtoReflect

func (x *PermanentLockedAccount) ProtoReflect() protoreflect.Message

func (*PermanentLockedAccount) Reset

func (x *PermanentLockedAccount) Reset()

func (*PermanentLockedAccount) String

func (x *PermanentLockedAccount) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL