Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- type BaseVestingAccount
- func (*BaseVestingAccount) Descriptor() ([]byte, []int)deprecated
- func (x *BaseVestingAccount) GetBaseAccount() *v1beta11.BaseAccount
- func (x *BaseVestingAccount) GetDelegatedFree() []*v1beta1.Coin
- func (x *BaseVestingAccount) GetDelegatedVesting() []*v1beta1.Coin
- func (x *BaseVestingAccount) GetEndTime() int64
- func (x *BaseVestingAccount) GetOriginalVesting() []*v1beta1.Coin
- func (*BaseVestingAccount) ProtoMessage()
- func (x *BaseVestingAccount) ProtoReflect() protoreflect.Message
- func (x *BaseVestingAccount) Reset()
- func (x *BaseVestingAccount) String() string
- type ContinuousVestingAccount
- func (*ContinuousVestingAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ContinuousVestingAccount) GetBaseVestingAccount() *BaseVestingAccount
- func (x *ContinuousVestingAccount) GetStartTime() int64
- func (*ContinuousVestingAccount) ProtoMessage()
- func (x *ContinuousVestingAccount) ProtoReflect() protoreflect.Message
- func (x *ContinuousVestingAccount) Reset()
- func (x *ContinuousVestingAccount) String() string
- type DelayedVestingAccount
- func (*DelayedVestingAccount) Descriptor() ([]byte, []int)deprecated
- func (x *DelayedVestingAccount) GetBaseVestingAccount() *BaseVestingAccount
- func (*DelayedVestingAccount) ProtoMessage()
- func (x *DelayedVestingAccount) ProtoReflect() protoreflect.Message
- func (x *DelayedVestingAccount) Reset()
- func (x *DelayedVestingAccount) String() string
- type MsgClient
- type MsgCreatePeriodicVestingAccount
- func (*MsgCreatePeriodicVestingAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreatePeriodicVestingAccount) GetFromAddress() string
- func (x *MsgCreatePeriodicVestingAccount) GetStartTime() int64
- func (x *MsgCreatePeriodicVestingAccount) GetToAddress() string
- func (x *MsgCreatePeriodicVestingAccount) GetVestingPeriods() []*Period
- func (*MsgCreatePeriodicVestingAccount) ProtoMessage()
- func (x *MsgCreatePeriodicVestingAccount) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePeriodicVestingAccount) Reset()
- func (x *MsgCreatePeriodicVestingAccount) String() string
- type MsgCreatePeriodicVestingAccountResponse
- func (*MsgCreatePeriodicVestingAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage()
- func (x *MsgCreatePeriodicVestingAccountResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePeriodicVestingAccountResponse) Reset()
- func (x *MsgCreatePeriodicVestingAccountResponse) String() string
- type MsgCreatePermanentLockedAccount
- func (*MsgCreatePermanentLockedAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreatePermanentLockedAccount) GetAmount() []*v1beta1.Coin
- func (x *MsgCreatePermanentLockedAccount) GetFromAddress() string
- func (x *MsgCreatePermanentLockedAccount) GetToAddress() string
- func (*MsgCreatePermanentLockedAccount) ProtoMessage()
- func (x *MsgCreatePermanentLockedAccount) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePermanentLockedAccount) Reset()
- func (x *MsgCreatePermanentLockedAccount) String() string
- type MsgCreatePermanentLockedAccountResponse
- func (*MsgCreatePermanentLockedAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCreatePermanentLockedAccountResponse) ProtoMessage()
- func (x *MsgCreatePermanentLockedAccountResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePermanentLockedAccountResponse) Reset()
- func (x *MsgCreatePermanentLockedAccountResponse) String() string
- type MsgCreateVestingAccount
- func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateVestingAccount) GetAmount() []*v1beta1.Coin
- func (x *MsgCreateVestingAccount) GetDelayed() bool
- func (x *MsgCreateVestingAccount) GetEndTime() int64
- func (x *MsgCreateVestingAccount) GetFromAddress() string
- func (x *MsgCreateVestingAccount) GetToAddress() string
- func (*MsgCreateVestingAccount) ProtoMessage()
- func (x *MsgCreateVestingAccount) ProtoReflect() protoreflect.Message
- func (x *MsgCreateVestingAccount) Reset()
- func (x *MsgCreateVestingAccount) String() string
- type MsgCreateVestingAccountResponse
- func (*MsgCreateVestingAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCreateVestingAccountResponse) ProtoMessage()
- func (x *MsgCreateVestingAccountResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateVestingAccountResponse) Reset()
- func (x *MsgCreateVestingAccountResponse) String() string
- type MsgServer
- type Period
- type PeriodicVestingAccount
- func (*PeriodicVestingAccount) Descriptor() ([]byte, []int)deprecated
- func (x *PeriodicVestingAccount) GetBaseVestingAccount() *BaseVestingAccount
- func (x *PeriodicVestingAccount) GetStartTime() int64
- func (x *PeriodicVestingAccount) GetVestingPeriods() []*Period
- func (*PeriodicVestingAccount) ProtoMessage()
- func (x *PeriodicVestingAccount) ProtoReflect() protoreflect.Message
- func (x *PeriodicVestingAccount) Reset()
- func (x *PeriodicVestingAccount) String() string
- type PermanentLockedAccount
- func (*PermanentLockedAccount) Descriptor() ([]byte, []int)deprecated
- func (x *PermanentLockedAccount) GetBaseVestingAccount() *BaseVestingAccount
- func (*PermanentLockedAccount) ProtoMessage()
- func (x *PermanentLockedAccount) ProtoReflect() protoreflect.Message
- func (x *PermanentLockedAccount) Reset()
- func (x *PermanentLockedAccount) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CreatePeriodicVestingAccount(context.Context, *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error)
- func (UnimplementedMsgServer) CreatePermanentLockedAccount(context.Context, *MsgCreatePermanentLockedAccount) (*MsgCreatePermanentLockedAccountResponse, error)
- func (UnimplementedMsgServer) CreateVestingAccount(context.Context, *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error)
- type UnsafeMsgServer
Constants ¶
const ( Msg_CreateVestingAccount_FullMethodName = "/cosmos.vesting.v1beta1.Msg/CreateVestingAccount" Msg_CreatePermanentLockedAccount_FullMethodName = "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount" Msg_CreatePeriodicVestingAccount_FullMethodName = "/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount" )
Variables ¶
var File_cosmos_vesting_v1beta1_tx_proto protoreflect.FileDescriptor
var File_cosmos_vesting_v1beta1_vesting_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.vesting.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateVestingAccount", Handler: _Msg_CreateVestingAccount_Handler, }, { MethodName: "CreatePermanentLockedAccount", Handler: _Msg_CreatePermanentLockedAccount_Handler, }, { MethodName: "CreatePeriodicVestingAccount", Handler: _Msg_CreatePeriodicVestingAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/vesting/v1beta1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
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 MsgClient ¶
type MsgClient interface { // CreateVestingAccount defines a method that enables creating a vesting // account. CreateVestingAccount(ctx context.Context, in *MsgCreateVestingAccount, opts ...grpc.CallOption) (*MsgCreateVestingAccountResponse, error) // CreatePermanentLockedAccount defines a method that enables creating a permanent // locked account. // // Since: cosmos-sdk 0.46 CreatePermanentLockedAccount(ctx context.Context, in *MsgCreatePermanentLockedAccount, opts ...grpc.CallOption) (*MsgCreatePermanentLockedAccountResponse, error) // CreatePeriodicVestingAccount defines a method that enables creating a // periodic vesting account. // // Since: cosmos-sdk 0.46 CreatePeriodicVestingAccount(ctx context.Context, in *MsgCreatePeriodicVestingAccount, opts ...grpc.CallOption) (*MsgCreatePeriodicVestingAccountResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreatePeriodicVestingAccount ¶
type MsgCreatePeriodicVestingAccount struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` // start of vesting as unix time (in seconds). StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` VestingPeriods []*Period `protobuf:"bytes,4,rep,name=vesting_periods,json=vestingPeriods,proto3" json:"vesting_periods,omitempty"` // contains filtered or unexported fields }
MsgCreateVestingAccount defines a message that enables creating a vesting account.
Since: cosmos-sdk 0.46
func (*MsgCreatePeriodicVestingAccount) Descriptor
deprecated
func (*MsgCreatePeriodicVestingAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePeriodicVestingAccount.ProtoReflect.Descriptor instead.
func (*MsgCreatePeriodicVestingAccount) GetFromAddress ¶
func (x *MsgCreatePeriodicVestingAccount) GetFromAddress() string
func (*MsgCreatePeriodicVestingAccount) GetStartTime ¶
func (x *MsgCreatePeriodicVestingAccount) GetStartTime() int64
func (*MsgCreatePeriodicVestingAccount) GetToAddress ¶
func (x *MsgCreatePeriodicVestingAccount) GetToAddress() string
func (*MsgCreatePeriodicVestingAccount) GetVestingPeriods ¶
func (x *MsgCreatePeriodicVestingAccount) GetVestingPeriods() []*Period
func (*MsgCreatePeriodicVestingAccount) ProtoMessage ¶
func (*MsgCreatePeriodicVestingAccount) ProtoMessage()
func (*MsgCreatePeriodicVestingAccount) ProtoReflect ¶
func (x *MsgCreatePeriodicVestingAccount) ProtoReflect() protoreflect.Message
func (*MsgCreatePeriodicVestingAccount) Reset ¶
func (x *MsgCreatePeriodicVestingAccount) Reset()
func (*MsgCreatePeriodicVestingAccount) String ¶
func (x *MsgCreatePeriodicVestingAccount) String() string
type MsgCreatePeriodicVestingAccountResponse ¶
type MsgCreatePeriodicVestingAccountResponse struct {
// contains filtered or unexported fields
}
MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount response type.
Since: cosmos-sdk 0.46
func (*MsgCreatePeriodicVestingAccountResponse) Descriptor
deprecated
func (*MsgCreatePeriodicVestingAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePeriodicVestingAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage ¶
func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage()
func (*MsgCreatePeriodicVestingAccountResponse) ProtoReflect ¶
func (x *MsgCreatePeriodicVestingAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgCreatePeriodicVestingAccountResponse) Reset ¶
func (x *MsgCreatePeriodicVestingAccountResponse) Reset()
func (*MsgCreatePeriodicVestingAccountResponse) String ¶
func (x *MsgCreatePeriodicVestingAccountResponse) String() string
type MsgCreatePermanentLockedAccount ¶
type MsgCreatePermanentLockedAccount struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Amount []*v1beta1.Coin `protobuf:"bytes,3,rep,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
MsgCreatePermanentLockedAccount defines a message that enables creating a permanent locked account.
Since: cosmos-sdk 0.46
func (*MsgCreatePermanentLockedAccount) Descriptor
deprecated
func (*MsgCreatePermanentLockedAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePermanentLockedAccount.ProtoReflect.Descriptor instead.
func (*MsgCreatePermanentLockedAccount) GetAmount ¶
func (x *MsgCreatePermanentLockedAccount) GetAmount() []*v1beta1.Coin
func (*MsgCreatePermanentLockedAccount) GetFromAddress ¶
func (x *MsgCreatePermanentLockedAccount) GetFromAddress() string
func (*MsgCreatePermanentLockedAccount) GetToAddress ¶
func (x *MsgCreatePermanentLockedAccount) GetToAddress() string
func (*MsgCreatePermanentLockedAccount) ProtoMessage ¶
func (*MsgCreatePermanentLockedAccount) ProtoMessage()
func (*MsgCreatePermanentLockedAccount) ProtoReflect ¶
func (x *MsgCreatePermanentLockedAccount) ProtoReflect() protoreflect.Message
func (*MsgCreatePermanentLockedAccount) Reset ¶
func (x *MsgCreatePermanentLockedAccount) Reset()
func (*MsgCreatePermanentLockedAccount) String ¶
func (x *MsgCreatePermanentLockedAccount) String() string
type MsgCreatePermanentLockedAccountResponse ¶
type MsgCreatePermanentLockedAccountResponse struct {
// contains filtered or unexported fields
}
MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type.
Since: cosmos-sdk 0.46
func (*MsgCreatePermanentLockedAccountResponse) Descriptor
deprecated
func (*MsgCreatePermanentLockedAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePermanentLockedAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgCreatePermanentLockedAccountResponse) ProtoMessage ¶
func (*MsgCreatePermanentLockedAccountResponse) ProtoMessage()
func (*MsgCreatePermanentLockedAccountResponse) ProtoReflect ¶
func (x *MsgCreatePermanentLockedAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgCreatePermanentLockedAccountResponse) Reset ¶
func (x *MsgCreatePermanentLockedAccountResponse) Reset()
func (*MsgCreatePermanentLockedAccountResponse) String ¶
func (x *MsgCreatePermanentLockedAccountResponse) String() string
type MsgCreateVestingAccount ¶
type MsgCreateVestingAccount struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Amount []*v1beta1.Coin `protobuf:"bytes,3,rep,name=amount,proto3" json:"amount,omitempty"` // end of vesting as unix time (in seconds). EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Delayed bool `protobuf:"varint,5,opt,name=delayed,proto3" json:"delayed,omitempty"` // contains filtered or unexported fields }
MsgCreateVestingAccount defines a message that enables creating a vesting account.
func (*MsgCreateVestingAccount) Descriptor
deprecated
func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateVestingAccount.ProtoReflect.Descriptor instead.
func (*MsgCreateVestingAccount) GetAmount ¶
func (x *MsgCreateVestingAccount) GetAmount() []*v1beta1.Coin
func (*MsgCreateVestingAccount) GetDelayed ¶
func (x *MsgCreateVestingAccount) GetDelayed() bool
func (*MsgCreateVestingAccount) GetEndTime ¶
func (x *MsgCreateVestingAccount) GetEndTime() int64
func (*MsgCreateVestingAccount) GetFromAddress ¶
func (x *MsgCreateVestingAccount) GetFromAddress() string
func (*MsgCreateVestingAccount) GetToAddress ¶
func (x *MsgCreateVestingAccount) GetToAddress() string
func (*MsgCreateVestingAccount) ProtoMessage ¶
func (*MsgCreateVestingAccount) ProtoMessage()
func (*MsgCreateVestingAccount) ProtoReflect ¶
func (x *MsgCreateVestingAccount) ProtoReflect() protoreflect.Message
func (*MsgCreateVestingAccount) Reset ¶
func (x *MsgCreateVestingAccount) Reset()
func (*MsgCreateVestingAccount) String ¶
func (x *MsgCreateVestingAccount) String() string
type MsgCreateVestingAccountResponse ¶
type MsgCreateVestingAccountResponse struct {
// contains filtered or unexported fields
}
MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type.
func (*MsgCreateVestingAccountResponse) Descriptor
deprecated
func (*MsgCreateVestingAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateVestingAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateVestingAccountResponse) ProtoMessage ¶
func (*MsgCreateVestingAccountResponse) ProtoMessage()
func (*MsgCreateVestingAccountResponse) ProtoReflect ¶
func (x *MsgCreateVestingAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateVestingAccountResponse) Reset ¶
func (x *MsgCreateVestingAccountResponse) Reset()
func (*MsgCreateVestingAccountResponse) String ¶
func (x *MsgCreateVestingAccountResponse) String() string
type MsgServer ¶
type MsgServer interface { // CreateVestingAccount defines a method that enables creating a vesting // account. CreateVestingAccount(context.Context, *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error) // CreatePermanentLockedAccount defines a method that enables creating a permanent // locked account. // // Since: cosmos-sdk 0.46 CreatePermanentLockedAccount(context.Context, *MsgCreatePermanentLockedAccount) (*MsgCreatePermanentLockedAccountResponse, error) // CreatePeriodicVestingAccount defines a method that enables creating a // periodic vesting account. // // Since: cosmos-sdk 0.46 CreatePeriodicVestingAccount(context.Context, *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
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) ProtoMessage ¶
func (*Period) ProtoMessage()
func (*Period) ProtoReflect ¶
func (x *Period) ProtoReflect() protoreflect.Message
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
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) CreatePeriodicVestingAccount ¶
func (UnimplementedMsgServer) CreatePeriodicVestingAccount(context.Context, *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error)
func (UnimplementedMsgServer) CreatePermanentLockedAccount ¶
func (UnimplementedMsgServer) CreatePermanentLockedAccount(context.Context, *MsgCreatePermanentLockedAccount) (*MsgCreatePermanentLockedAccountResponse, error)
func (UnimplementedMsgServer) CreateVestingAccount ¶
func (UnimplementedMsgServer) CreateVestingAccount(context.Context, *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.