v1

package
v1.2.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAccountVestingPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccountVestingPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccountVestingPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	VestingTypesKey = []byte{0x01}

	AccountVestingPoolsKeyPrefix = []byte{0x02}
)
View Source
var (
	ErrInvalidLengthVestingTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVestingTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVestingTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type AccountVestingPools

type AccountVestingPools struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// string delegable_address = 2;
	VestingPools []*VestingPool `protobuf:"bytes,3,rep,name=vesting_pools,json=vestingPools,proto3" json:"vesting_pools,omitempty"`
}

func (*AccountVestingPools) Descriptor

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

func (*AccountVestingPools) GetAddress

func (m *AccountVestingPools) GetAddress() string

func (*AccountVestingPools) GetVestingPools

func (m *AccountVestingPools) GetVestingPools() []*VestingPool

func (*AccountVestingPools) Marshal

func (m *AccountVestingPools) Marshal() (dAtA []byte, err error)

func (*AccountVestingPools) MarshalTo

func (m *AccountVestingPools) MarshalTo(dAtA []byte) (int, error)

func (*AccountVestingPools) MarshalToSizedBuffer

func (m *AccountVestingPools) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountVestingPools) ProtoMessage

func (*AccountVestingPools) ProtoMessage()

func (*AccountVestingPools) Reset

func (m *AccountVestingPools) Reset()

func (*AccountVestingPools) Size

func (m *AccountVestingPools) Size() (n int)

func (*AccountVestingPools) String

func (m *AccountVestingPools) String() string

func (*AccountVestingPools) Unmarshal

func (m *AccountVestingPools) Unmarshal(dAtA []byte) error

func (*AccountVestingPools) XXX_DiscardUnknown

func (m *AccountVestingPools) XXX_DiscardUnknown()

func (*AccountVestingPools) XXX_Marshal

func (m *AccountVestingPools) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountVestingPools) XXX_Merge

func (m *AccountVestingPools) XXX_Merge(src proto.Message)

func (*AccountVestingPools) XXX_Size

func (m *AccountVestingPools) XXX_Size() int

func (*AccountVestingPools) XXX_Unmarshal

func (m *AccountVestingPools) XXX_Unmarshal(b []byte) error

type VestingPool

type VestingPool struct {
	Id                        int32                                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                      string                                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	VestingType               string                                 `protobuf:"bytes,3,opt,name=vesting_type,json=vestingType,proto3" json:"vesting_type,omitempty"`
	LockStart                 time.Time                              `protobuf:"bytes,4,opt,name=lock_start,json=lockStart,proto3,stdtime" json:"lock_start"`
	LockEnd                   time.Time                              `protobuf:"bytes,5,opt,name=lock_end,json=lockEnd,proto3,stdtime" json:"lock_end"`
	Vested                    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=vested,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"vested"`
	Withdrawn                 github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=withdrawn,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"withdrawn"`
	Sent                      github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,8,opt,name=sent,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"sent"`
	LastModification          time.Time                              `protobuf:"bytes,9,opt,name=last_modification,json=lastModification,proto3,stdtime" json:"last_modification"`
	LastModificationVested    github_com_cosmos_cosmos_sdk_types.Int `` /* 170-byte string literal not displayed */
	LastModificationWithdrawn github_com_cosmos_cosmos_sdk_types.Int `` /* 179-byte string literal not displayed */
}

func (*VestingPool) Descriptor

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

func (*VestingPool) GetId

func (m *VestingPool) GetId() int32

func (*VestingPool) GetLastModification

func (m *VestingPool) GetLastModification() time.Time

func (*VestingPool) GetLockEnd

func (m *VestingPool) GetLockEnd() time.Time

func (*VestingPool) GetLockStart

func (m *VestingPool) GetLockStart() time.Time

func (*VestingPool) GetName

func (m *VestingPool) GetName() string

func (*VestingPool) GetVestingType

func (m *VestingPool) GetVestingType() string

func (*VestingPool) Marshal

func (m *VestingPool) Marshal() (dAtA []byte, err error)

func (*VestingPool) MarshalTo

func (m *VestingPool) MarshalTo(dAtA []byte) (int, error)

func (*VestingPool) MarshalToSizedBuffer

func (m *VestingPool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingPool) ProtoMessage

func (*VestingPool) ProtoMessage()

func (*VestingPool) Reset

func (m *VestingPool) Reset()

func (*VestingPool) Size

func (m *VestingPool) Size() (n int)

func (*VestingPool) String

func (m *VestingPool) String() string

func (*VestingPool) Unmarshal

func (m *VestingPool) Unmarshal(dAtA []byte) error

func (*VestingPool) XXX_DiscardUnknown

func (m *VestingPool) XXX_DiscardUnknown()

func (*VestingPool) XXX_Marshal

func (m *VestingPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingPool) XXX_Merge

func (m *VestingPool) XXX_Merge(src proto.Message)

func (*VestingPool) XXX_Size

func (m *VestingPool) XXX_Size() int

func (*VestingPool) XXX_Unmarshal

func (m *VestingPool) XXX_Unmarshal(b []byte) error

type VestingType

type VestingType struct {
	// vesting type name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// period of locked coins (minutes) from vesting start
	LockupPeriod time.Duration `protobuf:"bytes,2,opt,name=lockup_period,json=lockupPeriod,proto3,stdduration" json:"lockup_period"`
	// period of veesting coins (minutes) from lockup period end
	VestingPeriod time.Duration `protobuf:"bytes,3,opt,name=vesting_period,json=vestingPeriod,proto3,stdduration" json:"vesting_period"`
}

func (*VestingType) Descriptor

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

func (*VestingType) GetLockupPeriod

func (m *VestingType) GetLockupPeriod() time.Duration

func (*VestingType) GetName

func (m *VestingType) GetName() string

func (*VestingType) GetVestingPeriod

func (m *VestingType) GetVestingPeriod() time.Duration

func (*VestingType) Marshal

func (m *VestingType) Marshal() (dAtA []byte, err error)

func (*VestingType) MarshalTo

func (m *VestingType) MarshalTo(dAtA []byte) (int, error)

func (*VestingType) MarshalToSizedBuffer

func (m *VestingType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingType) ProtoMessage

func (*VestingType) ProtoMessage()

func (*VestingType) Reset

func (m *VestingType) Reset()

func (*VestingType) Size

func (m *VestingType) Size() (n int)

func (*VestingType) String

func (m *VestingType) String() string

func (*VestingType) Unmarshal

func (m *VestingType) Unmarshal(dAtA []byte) error

func (*VestingType) XXX_DiscardUnknown

func (m *VestingType) XXX_DiscardUnknown()

func (*VestingType) XXX_Marshal

func (m *VestingType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingType) XXX_Merge

func (m *VestingType) XXX_Merge(src proto.Message)

func (*VestingType) XXX_Size

func (m *VestingType) XXX_Size() int

func (*VestingType) XXX_Unmarshal

func (m *VestingType) XXX_Unmarshal(b []byte) error

type VestingTypes

type VestingTypes struct {
	VestingTypes []*VestingType `protobuf:"bytes,1,rep,name=vesting_types,json=vestingTypes,proto3" json:"vesting_types,omitempty"`
}

func (*VestingTypes) Descriptor

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

func (*VestingTypes) GetVestingTypes

func (m *VestingTypes) GetVestingTypes() []*VestingType

func (*VestingTypes) Marshal

func (m *VestingTypes) Marshal() (dAtA []byte, err error)

func (*VestingTypes) MarshalTo

func (m *VestingTypes) MarshalTo(dAtA []byte) (int, error)

func (*VestingTypes) MarshalToSizedBuffer

func (m *VestingTypes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingTypes) ProtoMessage

func (*VestingTypes) ProtoMessage()

func (*VestingTypes) Reset

func (m *VestingTypes) Reset()

func (*VestingTypes) Size

func (m *VestingTypes) Size() (n int)

func (*VestingTypes) String

func (m *VestingTypes) String() string

func (*VestingTypes) Unmarshal

func (m *VestingTypes) Unmarshal(dAtA []byte) error

func (*VestingTypes) XXX_DiscardUnknown

func (m *VestingTypes) XXX_DiscardUnknown()

func (*VestingTypes) XXX_Marshal

func (m *VestingTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingTypes) XXX_Merge

func (m *VestingTypes) XXX_Merge(src proto.Message)

func (*VestingTypes) XXX_Size

func (m *VestingTypes) XXX_Size() int

func (*VestingTypes) XXX_Unmarshal

func (m *VestingTypes) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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