v1

package
v0.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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_time is end of lockup
	EndTime time.Time `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"`
	// start_time is 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 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

type QuerySpendableAmountRequest

type QuerySpendableAmountRequest struct {
}

QuerySpendableAmountRequest is used to query the lockup account total spendable tokens.

func (*QuerySpendableAmountRequest) Descriptor

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

func (*QuerySpendableAmountRequest) Marshal

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

func (*QuerySpendableAmountRequest) MarshalTo

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

func (*QuerySpendableAmountRequest) MarshalToSizedBuffer

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

func (*QuerySpendableAmountRequest) ProtoMessage

func (*QuerySpendableAmountRequest) ProtoMessage()

func (*QuerySpendableAmountRequest) Reset

func (m *QuerySpendableAmountRequest) Reset()

func (*QuerySpendableAmountRequest) Size

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

func (*QuerySpendableAmountRequest) String

func (m *QuerySpendableAmountRequest) String() string

func (*QuerySpendableAmountRequest) Unmarshal

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

func (*QuerySpendableAmountRequest) XXX_DiscardUnknown

func (m *QuerySpendableAmountRequest) XXX_DiscardUnknown()

func (*QuerySpendableAmountRequest) XXX_Marshal

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

func (*QuerySpendableAmountRequest) XXX_Merge

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

func (*QuerySpendableAmountRequest) XXX_Size

func (m *QuerySpendableAmountRequest) XXX_Size() int

func (*QuerySpendableAmountRequest) XXX_Unmarshal

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

type QuerySpendableAmountResponse

type QuerySpendableAmountResponse struct {
	SpendableTokens github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */
}

QuerySpendableAmountResponse returns lockup account total spendable tokens.

func (*QuerySpendableAmountResponse) Descriptor

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

func (*QuerySpendableAmountResponse) GetSpendableTokens

func (*QuerySpendableAmountResponse) Marshal

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

func (*QuerySpendableAmountResponse) MarshalTo

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

func (*QuerySpendableAmountResponse) MarshalToSizedBuffer

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

func (*QuerySpendableAmountResponse) ProtoMessage

func (*QuerySpendableAmountResponse) ProtoMessage()

func (*QuerySpendableAmountResponse) Reset

func (m *QuerySpendableAmountResponse) Reset()

func (*QuerySpendableAmountResponse) Size

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

func (*QuerySpendableAmountResponse) String

func (*QuerySpendableAmountResponse) Unmarshal

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

func (*QuerySpendableAmountResponse) XXX_DiscardUnknown

func (m *QuerySpendableAmountResponse) XXX_DiscardUnknown()

func (*QuerySpendableAmountResponse) XXX_Marshal

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

func (*QuerySpendableAmountResponse) XXX_Merge

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

func (*QuerySpendableAmountResponse) XXX_Size

func (m *QuerySpendableAmountResponse) XXX_Size() int

func (*QuerySpendableAmountResponse) XXX_Unmarshal

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

type QueryUnbondingEntriesRequest

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

QueryUnbondingEntriesRequest is used to query the lockup account unbonding entries.

func (*QueryUnbondingEntriesRequest) Descriptor

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

func (*QueryUnbondingEntriesRequest) GetValidatorAddress

func (m *QueryUnbondingEntriesRequest) GetValidatorAddress() string

func (*QueryUnbondingEntriesRequest) Marshal

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

func (*QueryUnbondingEntriesRequest) MarshalTo

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

func (*QueryUnbondingEntriesRequest) MarshalToSizedBuffer

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

func (*QueryUnbondingEntriesRequest) ProtoMessage

func (*QueryUnbondingEntriesRequest) ProtoMessage()

func (*QueryUnbondingEntriesRequest) Reset

func (m *QueryUnbondingEntriesRequest) Reset()

func (*QueryUnbondingEntriesRequest) Size

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

func (*QueryUnbondingEntriesRequest) String

func (*QueryUnbondingEntriesRequest) Unmarshal

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

func (*QueryUnbondingEntriesRequest) XXX_DiscardUnknown

func (m *QueryUnbondingEntriesRequest) XXX_DiscardUnknown()

func (*QueryUnbondingEntriesRequest) XXX_Marshal

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

func (*QueryUnbondingEntriesRequest) XXX_Merge

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

func (*QueryUnbondingEntriesRequest) XXX_Size

func (m *QueryUnbondingEntriesRequest) XXX_Size() int

func (*QueryUnbondingEntriesRequest) XXX_Unmarshal

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

type QueryUnbondingEntriesResponse

type QueryUnbondingEntriesResponse struct {
	// UnbondingEntry defines the list of unbonding entries.
	UnbondingEntries []*UnbondingEntry `protobuf:"bytes,1,rep,name=unbonding_entries,json=unbondingEntries,proto3" json:"unbonding_entries,omitempty"`
}

QueryUnbondingEntriesResponse returns the lockup account unbonding entries.

func (*QueryUnbondingEntriesResponse) Descriptor

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

func (*QueryUnbondingEntriesResponse) GetUnbondingEntries

func (m *QueryUnbondingEntriesResponse) GetUnbondingEntries() []*UnbondingEntry

func (*QueryUnbondingEntriesResponse) Marshal

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

func (*QueryUnbondingEntriesResponse) MarshalTo

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

func (*QueryUnbondingEntriesResponse) MarshalToSizedBuffer

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

func (*QueryUnbondingEntriesResponse) ProtoMessage

func (*QueryUnbondingEntriesResponse) ProtoMessage()

func (*QueryUnbondingEntriesResponse) Reset

func (m *QueryUnbondingEntriesResponse) Reset()

func (*QueryUnbondingEntriesResponse) Size

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

func (*QueryUnbondingEntriesResponse) String

func (*QueryUnbondingEntriesResponse) Unmarshal

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

func (*QueryUnbondingEntriesResponse) XXX_DiscardUnknown

func (m *QueryUnbondingEntriesResponse) XXX_DiscardUnknown()

func (*QueryUnbondingEntriesResponse) XXX_Marshal

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

func (*QueryUnbondingEntriesResponse) XXX_Merge

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

func (*QueryUnbondingEntriesResponse) XXX_Size

func (m *QueryUnbondingEntriesResponse) XXX_Size() int

func (*QueryUnbondingEntriesResponse) XXX_Unmarshal

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

type UnbondingEntries

type UnbondingEntries struct {
	Entries []*UnbondingEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}

func (*UnbondingEntries) Descriptor

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

func (*UnbondingEntries) GetEntries

func (m *UnbondingEntries) GetEntries() []*UnbondingEntry

func (*UnbondingEntries) Marshal

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

func (*UnbondingEntries) MarshalTo

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

func (*UnbondingEntries) MarshalToSizedBuffer

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

func (*UnbondingEntries) ProtoMessage

func (*UnbondingEntries) ProtoMessage()

func (*UnbondingEntries) Reset

func (m *UnbondingEntries) Reset()

func (*UnbondingEntries) Size

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

func (*UnbondingEntries) String

func (m *UnbondingEntries) String() string

func (*UnbondingEntries) Unmarshal

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

func (*UnbondingEntries) XXX_DiscardUnknown

func (m *UnbondingEntries) XXX_DiscardUnknown()

func (*UnbondingEntries) XXX_Marshal

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

func (*UnbondingEntries) XXX_Merge

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

func (*UnbondingEntries) XXX_Size

func (m *UnbondingEntries) XXX_Size() int

func (*UnbondingEntries) XXX_Unmarshal

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

type UnbondingEntry

type UnbondingEntry struct {
	CreationHeight int64 `protobuf:"varint,1,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height,omitempty"`
	// end time of entry
	EndTime time.Time `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"`
	// unbond amount
	Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	// validator address
	ValidatorAddress string `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

UnbondingEntry defines an entry tracking the lockup account unbonding operation.

func (*UnbondingEntry) Descriptor

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

func (*UnbondingEntry) GetAmount

func (m *UnbondingEntry) GetAmount() types.Coin

func (*UnbondingEntry) GetCreationHeight

func (m *UnbondingEntry) GetCreationHeight() int64

func (*UnbondingEntry) GetEndTime

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

func (*UnbondingEntry) GetValidatorAddress

func (m *UnbondingEntry) GetValidatorAddress() string

func (*UnbondingEntry) Marshal

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

func (*UnbondingEntry) MarshalTo

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

func (*UnbondingEntry) MarshalToSizedBuffer

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

func (*UnbondingEntry) ProtoMessage

func (*UnbondingEntry) ProtoMessage()

func (*UnbondingEntry) Reset

func (m *UnbondingEntry) Reset()

func (*UnbondingEntry) Size

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

func (*UnbondingEntry) String

func (m *UnbondingEntry) String() string

func (*UnbondingEntry) Unmarshal

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

func (*UnbondingEntry) XXX_DiscardUnknown

func (m *UnbondingEntry) XXX_DiscardUnknown()

func (*UnbondingEntry) XXX_Marshal

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

func (*UnbondingEntry) XXX_Merge

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

func (*UnbondingEntry) XXX_Size

func (m *UnbondingEntry) XXX_Size() int

func (*UnbondingEntry) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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