types

package
v0.0.0-...-19e4884 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthLockup        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLockup          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLockup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func UnpackAnyRaw

func UnpackAnyRaw(m *codectypes.Any) (proto.Message, error)

Types

type MsgDelegate

type MsgDelegate struct {
	// sender is the owner of the lockup account
	Sender           string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ValidatorAddress string     `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgDelegate defines a message that enable lockup account to execute delegate message

func (*MsgDelegate) Descriptor

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

func (*MsgDelegate) Marshal

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

func (*MsgDelegate) MarshalTo

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

func (*MsgDelegate) MarshalToSizedBuffer

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

func (*MsgDelegate) ProtoMessage

func (*MsgDelegate) ProtoMessage()

func (*MsgDelegate) Reset

func (m *MsgDelegate) Reset()

func (*MsgDelegate) Size

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

func (*MsgDelegate) String

func (m *MsgDelegate) String() string

func (*MsgDelegate) Unmarshal

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

func (*MsgDelegate) XXX_DiscardUnknown

func (m *MsgDelegate) XXX_DiscardUnknown()

func (*MsgDelegate) XXX_Marshal

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

func (*MsgDelegate) XXX_Merge

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

func (*MsgDelegate) XXX_Size

func (m *MsgDelegate) XXX_Size() int

func (*MsgDelegate) XXX_Unmarshal

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

type MsgExecuteMessagesResponse

type MsgExecuteMessagesResponse struct {
	Responses []*any.Any `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
}

MsgExecuteMessagesResponse defines the response for lockup execute operations

func (*MsgExecuteMessagesResponse) Descriptor

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

func (*MsgExecuteMessagesResponse) GetResponses

func (m *MsgExecuteMessagesResponse) GetResponses() []*any.Any

func (*MsgExecuteMessagesResponse) Marshal

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

func (*MsgExecuteMessagesResponse) MarshalTo

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

func (*MsgExecuteMessagesResponse) MarshalToSizedBuffer

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

func (*MsgExecuteMessagesResponse) ProtoMessage

func (*MsgExecuteMessagesResponse) ProtoMessage()

func (*MsgExecuteMessagesResponse) Reset

func (m *MsgExecuteMessagesResponse) Reset()

func (*MsgExecuteMessagesResponse) Size

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

func (*MsgExecuteMessagesResponse) String

func (m *MsgExecuteMessagesResponse) String() string

func (*MsgExecuteMessagesResponse) Unmarshal

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

func (*MsgExecuteMessagesResponse) XXX_DiscardUnknown

func (m *MsgExecuteMessagesResponse) XXX_DiscardUnknown()

func (*MsgExecuteMessagesResponse) XXX_Marshal

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

func (*MsgExecuteMessagesResponse) XXX_Merge

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

func (*MsgExecuteMessagesResponse) XXX_Size

func (m *MsgExecuteMessagesResponse) XXX_Size() int

func (*MsgExecuteMessagesResponse) XXX_Unmarshal

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

type MsgInitLockupAccount

type MsgInitLockupAccount struct {
	// owner of the vesting account
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// end of lockup
	EndTime time.Time `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"`
	// start of lockup
	StartTime time.Time `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"`
}

MsgInitLockupAccount defines a message that enables creating a lockup account.

func (*MsgInitLockupAccount) Descriptor

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

func (*MsgInitLockupAccount) Equal

func (this *MsgInitLockupAccount) Equal(that interface{}) bool

func (*MsgInitLockupAccount) GetEndTime

func (m *MsgInitLockupAccount) GetEndTime() time.Time

func (*MsgInitLockupAccount) GetOwner

func (m *MsgInitLockupAccount) GetOwner() string

func (*MsgInitLockupAccount) GetStartTime

func (m *MsgInitLockupAccount) GetStartTime() time.Time

func (*MsgInitLockupAccount) Marshal

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

func (*MsgInitLockupAccount) MarshalTo

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

func (*MsgInitLockupAccount) MarshalToSizedBuffer

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

func (*MsgInitLockupAccount) ProtoMessage

func (*MsgInitLockupAccount) ProtoMessage()

func (*MsgInitLockupAccount) Reset

func (m *MsgInitLockupAccount) Reset()

func (*MsgInitLockupAccount) Size

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

func (*MsgInitLockupAccount) String

func (m *MsgInitLockupAccount) String() string

func (*MsgInitLockupAccount) Unmarshal

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

func (*MsgInitLockupAccount) XXX_DiscardUnknown

func (m *MsgInitLockupAccount) XXX_DiscardUnknown()

func (*MsgInitLockupAccount) XXX_Marshal

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

func (*MsgInitLockupAccount) XXX_Merge

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

func (*MsgInitLockupAccount) XXX_Size

func (m *MsgInitLockupAccount) XXX_Size() int

func (*MsgInitLockupAccount) XXX_Unmarshal

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

type MsgInitLockupAccountResponse

type MsgInitLockupAccountResponse struct {
}

MsgInitLockupAccountResponse defines the Msg/InitLockupAccount response type.

func (*MsgInitLockupAccountResponse) Descriptor

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

func (*MsgInitLockupAccountResponse) Marshal

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

func (*MsgInitLockupAccountResponse) MarshalTo

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

func (*MsgInitLockupAccountResponse) MarshalToSizedBuffer

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

func (*MsgInitLockupAccountResponse) ProtoMessage

func (*MsgInitLockupAccountResponse) ProtoMessage()

func (*MsgInitLockupAccountResponse) Reset

func (m *MsgInitLockupAccountResponse) Reset()

func (*MsgInitLockupAccountResponse) Size

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

func (*MsgInitLockupAccountResponse) String

func (*MsgInitLockupAccountResponse) Unmarshal

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

func (*MsgInitLockupAccountResponse) XXX_DiscardUnknown

func (m *MsgInitLockupAccountResponse) XXX_DiscardUnknown()

func (*MsgInitLockupAccountResponse) XXX_Marshal

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

func (*MsgInitLockupAccountResponse) XXX_Merge

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

func (*MsgInitLockupAccountResponse) XXX_Size

func (m *MsgInitLockupAccountResponse) XXX_Size() int

func (*MsgInitLockupAccountResponse) XXX_Unmarshal

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

type MsgInitPeriodicLockingAccount

type MsgInitPeriodicLockingAccount struct {
	// owner of the lockup account
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// start of lockup
	StartTime      time.Time `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"`
	LockingPeriods []Period  `protobuf:"bytes,3,rep,name=locking_periods,json=lockingPeriods,proto3" json:"locking_periods"`
}

MsgInitPeriodicLockingAccount defines a message that enables creating a periodic locking account.

func (*MsgInitPeriodicLockingAccount) Descriptor

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

func (*MsgInitPeriodicLockingAccount) GetLockingPeriods

func (m *MsgInitPeriodicLockingAccount) GetLockingPeriods() []Period

func (*MsgInitPeriodicLockingAccount) GetOwner

func (m *MsgInitPeriodicLockingAccount) GetOwner() string

func (*MsgInitPeriodicLockingAccount) GetStartTime

func (m *MsgInitPeriodicLockingAccount) GetStartTime() time.Time

func (*MsgInitPeriodicLockingAccount) Marshal

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

func (*MsgInitPeriodicLockingAccount) MarshalTo

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

func (*MsgInitPeriodicLockingAccount) MarshalToSizedBuffer

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

func (*MsgInitPeriodicLockingAccount) ProtoMessage

func (*MsgInitPeriodicLockingAccount) ProtoMessage()

func (*MsgInitPeriodicLockingAccount) Reset

func (m *MsgInitPeriodicLockingAccount) Reset()

func (*MsgInitPeriodicLockingAccount) Size

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

func (*MsgInitPeriodicLockingAccount) String

func (*MsgInitPeriodicLockingAccount) Unmarshal

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

func (*MsgInitPeriodicLockingAccount) XXX_DiscardUnknown

func (m *MsgInitPeriodicLockingAccount) XXX_DiscardUnknown()

func (*MsgInitPeriodicLockingAccount) XXX_Marshal

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

func (*MsgInitPeriodicLockingAccount) XXX_Merge

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

func (*MsgInitPeriodicLockingAccount) XXX_Size

func (m *MsgInitPeriodicLockingAccount) XXX_Size() int

func (*MsgInitPeriodicLockingAccount) XXX_Unmarshal

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

type MsgInitPeriodicLockingAccountResponse

type MsgInitPeriodicLockingAccountResponse struct {
}

MsgInitPeriodicLockingAccountResponse defines the Msg/InitPeriodicLockingAccount response type.

func (*MsgInitPeriodicLockingAccountResponse) Descriptor

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

func (*MsgInitPeriodicLockingAccountResponse) Marshal

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

func (*MsgInitPeriodicLockingAccountResponse) MarshalTo

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

func (*MsgInitPeriodicLockingAccountResponse) MarshalToSizedBuffer

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

func (*MsgInitPeriodicLockingAccountResponse) ProtoMessage

func (*MsgInitPeriodicLockingAccountResponse) ProtoMessage()

func (*MsgInitPeriodicLockingAccountResponse) Reset

func (*MsgInitPeriodicLockingAccountResponse) Size

func (*MsgInitPeriodicLockingAccountResponse) String

func (*MsgInitPeriodicLockingAccountResponse) Unmarshal

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

func (*MsgInitPeriodicLockingAccountResponse) XXX_DiscardUnknown

func (m *MsgInitPeriodicLockingAccountResponse) XXX_DiscardUnknown()

func (*MsgInitPeriodicLockingAccountResponse) XXX_Marshal

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

func (*MsgInitPeriodicLockingAccountResponse) XXX_Merge

func (*MsgInitPeriodicLockingAccountResponse) XXX_Size

func (*MsgInitPeriodicLockingAccountResponse) XXX_Unmarshal

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

type MsgSend

type MsgSend struct {
	Sender    string                                   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ToAddress string                                   `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount    github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MsgSend defines a message that enable lockup account to execute send message

func (*MsgSend) Descriptor

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

func (*MsgSend) Marshal

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

func (*MsgSend) MarshalTo

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

func (*MsgSend) MarshalToSizedBuffer

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

func (*MsgSend) ProtoMessage

func (*MsgSend) ProtoMessage()

func (*MsgSend) Reset

func (m *MsgSend) Reset()

func (*MsgSend) Size

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

func (*MsgSend) String

func (m *MsgSend) String() string

func (*MsgSend) Unmarshal

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

func (*MsgSend) XXX_DiscardUnknown

func (m *MsgSend) XXX_DiscardUnknown()

func (*MsgSend) XXX_Marshal

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

func (*MsgSend) XXX_Merge

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

func (*MsgSend) XXX_Size

func (m *MsgSend) XXX_Size() int

func (*MsgSend) XXX_Unmarshal

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

type MsgUndelegate

type MsgUndelegate struct {
	Sender           string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ValidatorAddress string     `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgUndelegate defines a message that enable lockup account to execute undelegate message

func (*MsgUndelegate) Descriptor

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

func (*MsgUndelegate) Marshal

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

func (*MsgUndelegate) MarshalTo

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

func (*MsgUndelegate) MarshalToSizedBuffer

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

func (*MsgUndelegate) ProtoMessage

func (*MsgUndelegate) ProtoMessage()

func (*MsgUndelegate) Reset

func (m *MsgUndelegate) Reset()

func (*MsgUndelegate) Size

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

func (*MsgUndelegate) String

func (m *MsgUndelegate) String() string

func (*MsgUndelegate) Unmarshal

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

func (*MsgUndelegate) XXX_DiscardUnknown

func (m *MsgUndelegate) XXX_DiscardUnknown()

func (*MsgUndelegate) XXX_Marshal

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

func (*MsgUndelegate) XXX_Merge

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

func (*MsgUndelegate) XXX_Size

func (m *MsgUndelegate) XXX_Size() int

func (*MsgUndelegate) XXX_Unmarshal

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

type MsgWithdraw

type MsgWithdraw struct {
	Withdrawer string   `protobuf:"bytes,1,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	ToAddress  string   `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Denoms     []string `protobuf:"bytes,3,rep,name=denoms,proto3" json:"denoms,omitempty"`
}

MsgWithdraw defines a message that the owner of the lockup can perform to withdraw unlocked token to an account of choice

func (*MsgWithdraw) Descriptor

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

func (*MsgWithdraw) Marshal

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

func (*MsgWithdraw) MarshalTo

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

func (*MsgWithdraw) MarshalToSizedBuffer

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

func (*MsgWithdraw) ProtoMessage

func (*MsgWithdraw) ProtoMessage()

func (*MsgWithdraw) Reset

func (m *MsgWithdraw) Reset()

func (*MsgWithdraw) Size

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

func (*MsgWithdraw) String

func (m *MsgWithdraw) String() string

func (*MsgWithdraw) Unmarshal

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

func (*MsgWithdraw) XXX_DiscardUnknown

func (m *MsgWithdraw) XXX_DiscardUnknown()

func (*MsgWithdraw) XXX_Marshal

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

func (*MsgWithdraw) XXX_Merge

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

func (*MsgWithdraw) XXX_Size

func (m *MsgWithdraw) XXX_Size() int

func (*MsgWithdraw) XXX_Unmarshal

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

type MsgWithdrawResponse

type MsgWithdrawResponse struct {
	Receiver       string                                   `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"`
	AmountReceived github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */
}

MsgWithdrawResponse defines the response for MsgWithdraw

func (*MsgWithdrawResponse) Descriptor

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

func (*MsgWithdrawResponse) GetAmountReceived

func (*MsgWithdrawResponse) GetReceiver

func (m *MsgWithdrawResponse) GetReceiver() string

func (*MsgWithdrawResponse) Marshal

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

func (*MsgWithdrawResponse) MarshalTo

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

func (*MsgWithdrawResponse) MarshalToSizedBuffer

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

func (*MsgWithdrawResponse) ProtoMessage

func (*MsgWithdrawResponse) ProtoMessage()

func (*MsgWithdrawResponse) Reset

func (m *MsgWithdrawResponse) Reset()

func (*MsgWithdrawResponse) Size

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

func (*MsgWithdrawResponse) String

func (m *MsgWithdrawResponse) String() string

func (*MsgWithdrawResponse) Unmarshal

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

func (*MsgWithdrawResponse) XXX_DiscardUnknown

func (m *MsgWithdrawResponse) XXX_DiscardUnknown()

func (*MsgWithdrawResponse) XXX_Marshal

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

func (*MsgWithdrawResponse) XXX_Merge

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

func (*MsgWithdrawResponse) XXX_Size

func (m *MsgWithdrawResponse) XXX_Size() int

func (*MsgWithdrawResponse) XXX_Unmarshal

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

type MsgWithdrawReward

type MsgWithdrawReward struct {
	Sender           string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

MsgWithdrawReward defines a message that enable lockup account to execute withdraw reward message

func (*MsgWithdrawReward) Descriptor

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

func (*MsgWithdrawReward) Marshal

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

func (*MsgWithdrawReward) MarshalTo

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

func (*MsgWithdrawReward) MarshalToSizedBuffer

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

func (*MsgWithdrawReward) ProtoMessage

func (*MsgWithdrawReward) ProtoMessage()

func (*MsgWithdrawReward) Reset

func (m *MsgWithdrawReward) Reset()

func (*MsgWithdrawReward) Size

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

func (*MsgWithdrawReward) String

func (m *MsgWithdrawReward) String() string

func (*MsgWithdrawReward) Unmarshal

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

func (*MsgWithdrawReward) XXX_DiscardUnknown

func (m *MsgWithdrawReward) XXX_DiscardUnknown()

func (*MsgWithdrawReward) XXX_Marshal

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

func (*MsgWithdrawReward) XXX_Merge

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

func (*MsgWithdrawReward) XXX_Size

func (m *MsgWithdrawReward) XXX_Size() int

func (*MsgWithdrawReward) XXX_Unmarshal

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

type Period

type Period struct {
	// Period duration
	Length time.Duration                            `protobuf:"bytes,1,opt,name=length,proto3,stdduration" json:"length"`
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

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

func (*Period) Descriptor

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

func (*Period) GetAmount

func (*Period) GetLength

func (m *Period) GetLength() time.Duration

func (*Period) Marshal

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

func (*Period) MarshalTo

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

func (*Period) MarshalToSizedBuffer

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

func (*Period) ProtoMessage

func (*Period) ProtoMessage()

func (*Period) Reset

func (m *Period) Reset()

func (*Period) Size

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

func (*Period) String

func (m *Period) String() string

func (*Period) Unmarshal

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

func (*Period) XXX_DiscardUnknown

func (m *Period) XXX_DiscardUnknown()

func (*Period) XXX_Marshal

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

func (*Period) XXX_Merge

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

func (*Period) XXX_Size

func (m *Period) XXX_Size() int

func (*Period) XXX_Unmarshal

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

type QueryLockingPeriodsRequest

type QueryLockingPeriodsRequest struct {
}

QueryLockingPeriodsRequest is used to query the periodic lockup account locking periods.

func (*QueryLockingPeriodsRequest) Descriptor

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

func (*QueryLockingPeriodsRequest) Marshal

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

func (*QueryLockingPeriodsRequest) MarshalTo

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

func (*QueryLockingPeriodsRequest) MarshalToSizedBuffer

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

func (*QueryLockingPeriodsRequest) ProtoMessage

func (*QueryLockingPeriodsRequest) ProtoMessage()

func (*QueryLockingPeriodsRequest) Reset

func (m *QueryLockingPeriodsRequest) Reset()

func (*QueryLockingPeriodsRequest) Size

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

func (*QueryLockingPeriodsRequest) String

func (m *QueryLockingPeriodsRequest) String() string

func (*QueryLockingPeriodsRequest) Unmarshal

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

func (*QueryLockingPeriodsRequest) XXX_DiscardUnknown

func (m *QueryLockingPeriodsRequest) XXX_DiscardUnknown()

func (*QueryLockingPeriodsRequest) XXX_Marshal

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

func (*QueryLockingPeriodsRequest) XXX_Merge

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

func (*QueryLockingPeriodsRequest) XXX_Size

func (m *QueryLockingPeriodsRequest) XXX_Size() int

func (*QueryLockingPeriodsRequest) XXX_Unmarshal

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

type QueryLockingPeriodsResponse

type QueryLockingPeriodsResponse struct {
	// lockup_periods defines the value of the periodic lockup account locking periods.
	LockingPeriods []*Period `protobuf:"bytes,1,rep,name=locking_periods,json=lockingPeriods,proto3" json:"locking_periods,omitempty"`
}

QueryLockingPeriodsResponse returns the periodic lockup account locking periods.

func (*QueryLockingPeriodsResponse) Descriptor

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

func (*QueryLockingPeriodsResponse) GetLockingPeriods

func (m *QueryLockingPeriodsResponse) GetLockingPeriods() []*Period

func (*QueryLockingPeriodsResponse) Marshal

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

func (*QueryLockingPeriodsResponse) MarshalTo

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

func (*QueryLockingPeriodsResponse) MarshalToSizedBuffer

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

func (*QueryLockingPeriodsResponse) ProtoMessage

func (*QueryLockingPeriodsResponse) ProtoMessage()

func (*QueryLockingPeriodsResponse) Reset

func (m *QueryLockingPeriodsResponse) Reset()

func (*QueryLockingPeriodsResponse) Size

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

func (*QueryLockingPeriodsResponse) String

func (m *QueryLockingPeriodsResponse) String() string

func (*QueryLockingPeriodsResponse) Unmarshal

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

func (*QueryLockingPeriodsResponse) XXX_DiscardUnknown

func (m *QueryLockingPeriodsResponse) XXX_DiscardUnknown()

func (*QueryLockingPeriodsResponse) XXX_Marshal

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

func (*QueryLockingPeriodsResponse) XXX_Merge

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

func (*QueryLockingPeriodsResponse) XXX_Size

func (m *QueryLockingPeriodsResponse) XXX_Size() int

func (*QueryLockingPeriodsResponse) XXX_Unmarshal

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

type QueryLockupAccountInfoRequest

type QueryLockupAccountInfoRequest struct {
}

QueryLockupAccountInfoRequest get lockup account info

func (*QueryLockupAccountInfoRequest) Descriptor

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

func (*QueryLockupAccountInfoRequest) Marshal

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

func (*QueryLockupAccountInfoRequest) MarshalTo

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

func (*QueryLockupAccountInfoRequest) MarshalToSizedBuffer

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

func (*QueryLockupAccountInfoRequest) ProtoMessage

func (*QueryLockupAccountInfoRequest) ProtoMessage()

func (*QueryLockupAccountInfoRequest) Reset

func (m *QueryLockupAccountInfoRequest) Reset()

func (*QueryLockupAccountInfoRequest) Size

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

func (*QueryLockupAccountInfoRequest) String

func (*QueryLockupAccountInfoRequest) Unmarshal

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

func (*QueryLockupAccountInfoRequest) XXX_DiscardUnknown

func (m *QueryLockupAccountInfoRequest) XXX_DiscardUnknown()

func (*QueryLockupAccountInfoRequest) XXX_Marshal

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

func (*QueryLockupAccountInfoRequest) XXX_Merge

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

func (*QueryLockupAccountInfoRequest) XXX_Size

func (m *QueryLockupAccountInfoRequest) XXX_Size() int

func (*QueryLockupAccountInfoRequest) XXX_Unmarshal

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

type QueryLockupAccountInfoResponse

type QueryLockupAccountInfoResponse struct {
	// original_locking defines the value of the account original locking coins.
	OriginalLocking github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */
	// delegated_free defines the value of the account free delegated amount.
	DelegatedFree github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */
	// delegated_locking defines the value of the account locking delegated amount.
	DelegatedLocking github_com_cosmos_cosmos_sdk_types.Coins `` /* 153-byte string literal not displayed */
	// end_time defines the value of the account lockup start time.
	StartTime *time.Time `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"`
	// end_time defines the value of the account lockup end time.
	EndTime *time.Time `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time,omitempty"`
	// locked_coins defines the value of the account locking coins.
	LockedCoins github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
	// unlocked_coins defines the value of the account released coins from lockup.
	UnlockedCoins github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */
	// owner defines the value of the owner of the lockup account.
	Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"`
}

QueryLockupAccountInfoResponse return lockup account info

func (*QueryLockupAccountInfoResponse) Descriptor

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

func (*QueryLockupAccountInfoResponse) GetDelegatedFree

func (*QueryLockupAccountInfoResponse) GetDelegatedLocking

func (*QueryLockupAccountInfoResponse) GetEndTime

func (m *QueryLockupAccountInfoResponse) GetEndTime() *time.Time

func (*QueryLockupAccountInfoResponse) GetLockedCoins

func (*QueryLockupAccountInfoResponse) GetOriginalLocking

func (*QueryLockupAccountInfoResponse) GetOwner

func (m *QueryLockupAccountInfoResponse) GetOwner() string

func (*QueryLockupAccountInfoResponse) GetStartTime

func (m *QueryLockupAccountInfoResponse) GetStartTime() *time.Time

func (*QueryLockupAccountInfoResponse) GetUnlockedCoins

func (*QueryLockupAccountInfoResponse) Marshal

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

func (*QueryLockupAccountInfoResponse) MarshalTo

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

func (*QueryLockupAccountInfoResponse) MarshalToSizedBuffer

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

func (*QueryLockupAccountInfoResponse) ProtoMessage

func (*QueryLockupAccountInfoResponse) ProtoMessage()

func (*QueryLockupAccountInfoResponse) Reset

func (m *QueryLockupAccountInfoResponse) Reset()

func (*QueryLockupAccountInfoResponse) Size

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

func (*QueryLockupAccountInfoResponse) String

func (*QueryLockupAccountInfoResponse) Unmarshal

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

func (*QueryLockupAccountInfoResponse) XXX_DiscardUnknown

func (m *QueryLockupAccountInfoResponse) XXX_DiscardUnknown()

func (*QueryLockupAccountInfoResponse) XXX_Marshal

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

func (*QueryLockupAccountInfoResponse) XXX_Merge

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

func (*QueryLockupAccountInfoResponse) XXX_Size

func (m *QueryLockupAccountInfoResponse) XXX_Size() int

func (*QueryLockupAccountInfoResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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