Documentation ¶
Index ¶
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- type MsgBeginUnlocking
- func (*MsgBeginUnlocking) Descriptor() ([]byte, []int)
- func (m *MsgBeginUnlocking) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgBeginUnlocking) GetID() uint64
- func (m *MsgBeginUnlocking) GetOwner() string
- func (msg MsgBeginUnlocking) GetSignBytes() []byte
- func (msg MsgBeginUnlocking) GetSigners() []sdk.AccAddress
- func (m *MsgBeginUnlocking) Marshal() (dAtA []byte, err error)
- func (m *MsgBeginUnlocking) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBeginUnlocking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBeginUnlocking) ProtoMessage()
- func (m *MsgBeginUnlocking) Reset()
- func (msg MsgBeginUnlocking) Route() string
- func (m *MsgBeginUnlocking) Size() (n int)
- func (m *MsgBeginUnlocking) String() string
- func (msg MsgBeginUnlocking) Type() string
- func (m *MsgBeginUnlocking) Unmarshal(dAtA []byte) error
- func (msg MsgBeginUnlocking) ValidateBasic() error
- func (m *MsgBeginUnlocking) XXX_DiscardUnknown()
- func (m *MsgBeginUnlocking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBeginUnlocking) XXX_Merge(src proto.Message)
- func (m *MsgBeginUnlocking) XXX_Size() int
- func (m *MsgBeginUnlocking) XXX_Unmarshal(b []byte) error
- type MsgBeginUnlockingAll
- func (*MsgBeginUnlockingAll) Descriptor() ([]byte, []int)
- func (m *MsgBeginUnlockingAll) GetOwner() string
- func (msg MsgBeginUnlockingAll) GetSignBytes() []byte
- func (msg MsgBeginUnlockingAll) GetSigners() []sdk.AccAddress
- func (m *MsgBeginUnlockingAll) Marshal() (dAtA []byte, err error)
- func (m *MsgBeginUnlockingAll) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBeginUnlockingAll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBeginUnlockingAll) ProtoMessage()
- func (m *MsgBeginUnlockingAll) Reset()
- func (msg MsgBeginUnlockingAll) Route() string
- func (m *MsgBeginUnlockingAll) Size() (n int)
- func (m *MsgBeginUnlockingAll) String() string
- func (msg MsgBeginUnlockingAll) Type() string
- func (m *MsgBeginUnlockingAll) Unmarshal(dAtA []byte) error
- func (msg MsgBeginUnlockingAll) ValidateBasic() error
- func (m *MsgBeginUnlockingAll) XXX_DiscardUnknown()
- func (m *MsgBeginUnlockingAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBeginUnlockingAll) XXX_Merge(src proto.Message)
- func (m *MsgBeginUnlockingAll) XXX_Size() int
- func (m *MsgBeginUnlockingAll) XXX_Unmarshal(b []byte) error
- type MsgBeginUnlockingAllResponse
- func (*MsgBeginUnlockingAllResponse) Descriptor() ([]byte, []int)
- func (m *MsgBeginUnlockingAllResponse) GetUnlocks() []*PeriodLock
- func (m *MsgBeginUnlockingAllResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBeginUnlockingAllResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBeginUnlockingAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBeginUnlockingAllResponse) ProtoMessage()
- func (m *MsgBeginUnlockingAllResponse) Reset()
- func (m *MsgBeginUnlockingAllResponse) Size() (n int)
- func (m *MsgBeginUnlockingAllResponse) String() string
- func (m *MsgBeginUnlockingAllResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBeginUnlockingAllResponse) XXX_DiscardUnknown()
- func (m *MsgBeginUnlockingAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBeginUnlockingAllResponse) XXX_Merge(src proto.Message)
- func (m *MsgBeginUnlockingAllResponse) XXX_Size() int
- func (m *MsgBeginUnlockingAllResponse) XXX_Unmarshal(b []byte) error
- type MsgBeginUnlockingResponse
- func (*MsgBeginUnlockingResponse) Descriptor() ([]byte, []int)
- func (m *MsgBeginUnlockingResponse) GetSuccess() bool
- func (m *MsgBeginUnlockingResponse) GetUnlockingLockID() uint64
- func (m *MsgBeginUnlockingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBeginUnlockingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBeginUnlockingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBeginUnlockingResponse) ProtoMessage()
- func (m *MsgBeginUnlockingResponse) Reset()
- func (m *MsgBeginUnlockingResponse) Size() (n int)
- func (m *MsgBeginUnlockingResponse) String() string
- func (m *MsgBeginUnlockingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBeginUnlockingResponse) XXX_DiscardUnknown()
- func (m *MsgBeginUnlockingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBeginUnlockingResponse) XXX_Merge(src proto.Message)
- func (m *MsgBeginUnlockingResponse) XXX_Size() int
- func (m *MsgBeginUnlockingResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgExtendLockup
- func (*MsgExtendLockup) Descriptor() ([]byte, []int)
- func (m *MsgExtendLockup) GetDuration() time.Duration
- func (m *MsgExtendLockup) GetID() uint64
- func (m *MsgExtendLockup) GetOwner() string
- func (msg MsgExtendLockup) GetSignBytes() []byte
- func (msg MsgExtendLockup) GetSigners() []sdk.AccAddress
- func (m *MsgExtendLockup) Marshal() (dAtA []byte, err error)
- func (m *MsgExtendLockup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExtendLockup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExtendLockup) ProtoMessage()
- func (m *MsgExtendLockup) Reset()
- func (msg MsgExtendLockup) Route() string
- func (m *MsgExtendLockup) Size() (n int)
- func (m *MsgExtendLockup) String() string
- func (msg MsgExtendLockup) Type() string
- func (m *MsgExtendLockup) Unmarshal(dAtA []byte) error
- func (msg MsgExtendLockup) ValidateBasic() error
- func (m *MsgExtendLockup) XXX_DiscardUnknown()
- func (m *MsgExtendLockup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExtendLockup) XXX_Merge(src proto.Message)
- func (m *MsgExtendLockup) XXX_Size() int
- func (m *MsgExtendLockup) XXX_Unmarshal(b []byte) error
- type MsgExtendLockupResponse
- func (*MsgExtendLockupResponse) Descriptor() ([]byte, []int)
- func (m *MsgExtendLockupResponse) GetSuccess() bool
- func (m *MsgExtendLockupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExtendLockupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExtendLockupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExtendLockupResponse) ProtoMessage()
- func (m *MsgExtendLockupResponse) Reset()
- func (m *MsgExtendLockupResponse) Size() (n int)
- func (m *MsgExtendLockupResponse) String() string
- func (m *MsgExtendLockupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExtendLockupResponse) XXX_DiscardUnknown()
- func (m *MsgExtendLockupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExtendLockupResponse) XXX_Merge(src proto.Message)
- func (m *MsgExtendLockupResponse) XXX_Size() int
- func (m *MsgExtendLockupResponse) XXX_Unmarshal(b []byte) error
- type MsgForceUnlock
- func (*MsgForceUnlock) Descriptor() ([]byte, []int)
- func (m *MsgForceUnlock) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgForceUnlock) GetID() uint64
- func (m *MsgForceUnlock) GetOwner() string
- func (msg MsgForceUnlock) GetSignBytes() []byte
- func (msg MsgForceUnlock) GetSigners() []sdk.AccAddress
- func (m *MsgForceUnlock) Marshal() (dAtA []byte, err error)
- func (m *MsgForceUnlock) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgForceUnlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgForceUnlock) ProtoMessage()
- func (m *MsgForceUnlock) Reset()
- func (msg MsgForceUnlock) Route() string
- func (m *MsgForceUnlock) Size() (n int)
- func (m *MsgForceUnlock) String() string
- func (msg MsgForceUnlock) Type() string
- func (m *MsgForceUnlock) Unmarshal(dAtA []byte) error
- func (msg MsgForceUnlock) ValidateBasic() error
- func (m *MsgForceUnlock) XXX_DiscardUnknown()
- func (m *MsgForceUnlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgForceUnlock) XXX_Merge(src proto.Message)
- func (m *MsgForceUnlock) XXX_Size() int
- func (m *MsgForceUnlock) XXX_Unmarshal(b []byte) error
- type MsgForceUnlockResponse
- func (*MsgForceUnlockResponse) Descriptor() ([]byte, []int)
- func (m *MsgForceUnlockResponse) GetSuccess() bool
- func (m *MsgForceUnlockResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgForceUnlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgForceUnlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgForceUnlockResponse) ProtoMessage()
- func (m *MsgForceUnlockResponse) Reset()
- func (m *MsgForceUnlockResponse) Size() (n int)
- func (m *MsgForceUnlockResponse) String() string
- func (m *MsgForceUnlockResponse) Unmarshal(dAtA []byte) error
- func (m *MsgForceUnlockResponse) XXX_DiscardUnknown()
- func (m *MsgForceUnlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgForceUnlockResponse) XXX_Merge(src proto.Message)
- func (m *MsgForceUnlockResponse) XXX_Size() int
- func (m *MsgForceUnlockResponse) XXX_Unmarshal(b []byte) error
- type MsgLockTokens
- func (*MsgLockTokens) Descriptor() ([]byte, []int)
- func (m *MsgLockTokens) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgLockTokens) GetDuration() time.Duration
- func (m *MsgLockTokens) GetOwner() string
- func (msg MsgLockTokens) GetSignBytes() []byte
- func (msg MsgLockTokens) GetSigners() []sdk.AccAddress
- func (m *MsgLockTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgLockTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLockTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLockTokens) ProtoMessage()
- func (m *MsgLockTokens) Reset()
- func (msg MsgLockTokens) Route() string
- func (m *MsgLockTokens) Size() (n int)
- func (m *MsgLockTokens) String() string
- func (msg MsgLockTokens) Type() string
- func (m *MsgLockTokens) Unmarshal(dAtA []byte) error
- func (msg MsgLockTokens) ValidateBasic() error
- func (m *MsgLockTokens) XXX_DiscardUnknown()
- func (m *MsgLockTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLockTokens) XXX_Merge(src proto.Message)
- func (m *MsgLockTokens) XXX_Size() int
- func (m *MsgLockTokens) XXX_Unmarshal(b []byte) error
- type MsgLockTokensResponse
- func (*MsgLockTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgLockTokensResponse) GetID() uint64
- func (m *MsgLockTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgLockTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLockTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLockTokensResponse) ProtoMessage()
- func (m *MsgLockTokensResponse) Reset()
- func (m *MsgLockTokensResponse) Size() (n int)
- func (m *MsgLockTokensResponse) String() string
- func (m *MsgLockTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgLockTokensResponse) XXX_DiscardUnknown()
- func (m *MsgLockTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLockTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgLockTokensResponse) XXX_Size() int
- func (m *MsgLockTokensResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUnlockPeriodLock
- func (*MsgUnlockPeriodLock) Descriptor() ([]byte, []int)
- func (m *MsgUnlockPeriodLock) GetID() uint64
- func (m *MsgUnlockPeriodLock) GetOwner() string
- func (msg MsgUnlockPeriodLock) GetSignBytes() []byte
- func (msg MsgUnlockPeriodLock) GetSigners() []sdk.AccAddress
- func (m *MsgUnlockPeriodLock) Marshal() (dAtA []byte, err error)
- func (m *MsgUnlockPeriodLock) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnlockPeriodLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnlockPeriodLock) ProtoMessage()
- func (m *MsgUnlockPeriodLock) Reset()
- func (msg MsgUnlockPeriodLock) Route() string
- func (m *MsgUnlockPeriodLock) Size() (n int)
- func (m *MsgUnlockPeriodLock) String() string
- func (msg MsgUnlockPeriodLock) Type() string
- func (m *MsgUnlockPeriodLock) Unmarshal(dAtA []byte) error
- func (msg MsgUnlockPeriodLock) ValidateBasic() error
- func (m *MsgUnlockPeriodLock) XXX_DiscardUnknown()
- func (m *MsgUnlockPeriodLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnlockPeriodLock) XXX_Merge(src proto.Message)
- func (m *MsgUnlockPeriodLock) XXX_Size() int
- func (m *MsgUnlockPeriodLock) XXX_Unmarshal(b []byte) error
- type MsgUnlockPeriodLockResponse
- func (*MsgUnlockPeriodLockResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnlockPeriodLockResponse) GetSuccess() bool
- func (m *MsgUnlockPeriodLockResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnlockPeriodLockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnlockPeriodLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnlockPeriodLockResponse) ProtoMessage()
- func (m *MsgUnlockPeriodLockResponse) Reset()
- func (m *MsgUnlockPeriodLockResponse) Size() (n int)
- func (m *MsgUnlockPeriodLockResponse) String() string
- func (m *MsgUnlockPeriodLockResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnlockPeriodLockResponse) XXX_DiscardUnknown()
- func (m *MsgUnlockPeriodLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnlockPeriodLockResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnlockPeriodLockResponse) XXX_Size() int
- func (m *MsgUnlockPeriodLockResponse) XXX_Unmarshal(b []byte) error
- type MsgUnlockTokens
- func (*MsgUnlockTokens) Descriptor() ([]byte, []int)
- func (m *MsgUnlockTokens) GetOwner() string
- func (msg MsgUnlockTokens) GetSignBytes() []byte
- func (msg MsgUnlockTokens) GetSigners() []sdk.AccAddress
- func (m *MsgUnlockTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgUnlockTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnlockTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnlockTokens) ProtoMessage()
- func (m *MsgUnlockTokens) Reset()
- func (msg MsgUnlockTokens) Route() string
- func (m *MsgUnlockTokens) Size() (n int)
- func (m *MsgUnlockTokens) String() string
- func (msg MsgUnlockTokens) Type() string
- func (m *MsgUnlockTokens) Unmarshal(dAtA []byte) error
- func (msg MsgUnlockTokens) ValidateBasic() error
- func (m *MsgUnlockTokens) XXX_DiscardUnknown()
- func (m *MsgUnlockTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnlockTokens) XXX_Merge(src proto.Message)
- func (m *MsgUnlockTokens) XXX_Size() int
- func (m *MsgUnlockTokens) XXX_Unmarshal(b []byte) error
- type MsgUnlockTokensResponse
- func (*MsgUnlockTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnlockTokensResponse) GetUnlocks() []*PeriodLock
- func (m *MsgUnlockTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnlockTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnlockTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnlockTokensResponse) ProtoMessage()
- func (m *MsgUnlockTokensResponse) Reset()
- func (m *MsgUnlockTokensResponse) Size() (n int)
- func (m *MsgUnlockTokensResponse) String() string
- func (m *MsgUnlockTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnlockTokensResponse) XXX_DiscardUnknown()
- func (m *MsgUnlockTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnlockTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnlockTokensResponse) XXX_Size() int
- func (m *MsgUnlockTokensResponse) XXX_Unmarshal(b []byte) error
- type PeriodLock
- func (*PeriodLock) Descriptor() ([]byte, []int)
- func (m *PeriodLock) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *PeriodLock) GetDuration() time.Duration
- func (m *PeriodLock) GetEndTime() time.Time
- func (m *PeriodLock) GetID() uint64
- func (m *PeriodLock) GetOwner() string
- func (m *PeriodLock) Marshal() (dAtA []byte, err error)
- func (m *PeriodLock) MarshalTo(dAtA []byte) (int, error)
- func (m *PeriodLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PeriodLock) ProtoMessage()
- func (m *PeriodLock) Reset()
- func (m *PeriodLock) Size() (n int)
- func (m *PeriodLock) String() string
- func (m *PeriodLock) Unmarshal(dAtA []byte) error
- func (m *PeriodLock) XXX_DiscardUnknown()
- func (m *PeriodLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PeriodLock) XXX_Merge(src proto.Message)
- func (m *PeriodLock) XXX_Size() int
- func (m *PeriodLock) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BeginUnlocking(ctx context.Context, req *MsgBeginUnlocking) (*MsgBeginUnlockingResponse, error)
- func (*UnimplementedMsgServer) BeginUnlockingAll(ctx context.Context, req *MsgBeginUnlockingAll) (*MsgBeginUnlockingAllResponse, error)
- func (*UnimplementedMsgServer) ExtendLockup(ctx context.Context, req *MsgExtendLockup) (*MsgExtendLockupResponse, error)
- func (*UnimplementedMsgServer) ForceUnlock(ctx context.Context, req *MsgForceUnlock) (*MsgForceUnlockResponse, error)
- func (*UnimplementedMsgServer) LockTokens(ctx context.Context, req *MsgLockTokens) (*MsgLockTokensResponse, error)
- func (*UnimplementedMsgServer) UnlockPeriodLock(ctx context.Context, req *MsgUnlockPeriodLock) (*MsgUnlockPeriodLockResponse, error)
- func (*UnimplementedMsgServer) UnlockTokens(ctx context.Context, req *MsgUnlockTokens) (*MsgUnlockTokensResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/liquidity module codec. Note, the // codec should ONLY be used in certain instances of tests and for JSON // encoding as Amino is still used for that purpose. // // The actual codec used for serialization should be provided to x/liquidity // and defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
legacy amino codecs
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers concrete types on the codec.
func RegisterMsgServer ¶
Types ¶
type MsgBeginUnlocking ¶
type MsgBeginUnlocking struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` ID uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"` // Amount of unlocking coins. Unlock all if not set. Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` }
func (*MsgBeginUnlocking) Descriptor ¶
func (*MsgBeginUnlocking) Descriptor() ([]byte, []int)
func (*MsgBeginUnlocking) GetCoins ¶
func (m *MsgBeginUnlocking) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgBeginUnlocking) GetID ¶
func (m *MsgBeginUnlocking) GetID() uint64
func (*MsgBeginUnlocking) GetOwner ¶
func (m *MsgBeginUnlocking) GetOwner() string
func (MsgBeginUnlocking) GetSignBytes ¶
func (msg MsgBeginUnlocking) GetSignBytes() []byte
func (MsgBeginUnlocking) GetSigners ¶
func (msg MsgBeginUnlocking) GetSigners() []sdk.AccAddress
func (*MsgBeginUnlocking) Marshal ¶
func (m *MsgBeginUnlocking) Marshal() (dAtA []byte, err error)
func (*MsgBeginUnlocking) MarshalTo ¶
func (m *MsgBeginUnlocking) MarshalTo(dAtA []byte) (int, error)
func (*MsgBeginUnlocking) MarshalToSizedBuffer ¶
func (m *MsgBeginUnlocking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBeginUnlocking) ProtoMessage ¶
func (*MsgBeginUnlocking) ProtoMessage()
func (*MsgBeginUnlocking) Reset ¶
func (m *MsgBeginUnlocking) Reset()
func (*MsgBeginUnlocking) Size ¶
func (m *MsgBeginUnlocking) Size() (n int)
func (*MsgBeginUnlocking) String ¶
func (m *MsgBeginUnlocking) String() string
func (MsgBeginUnlocking) Type ¶
func (msg MsgBeginUnlocking) Type() string
func (*MsgBeginUnlocking) Unmarshal ¶
func (m *MsgBeginUnlocking) Unmarshal(dAtA []byte) error
func (MsgBeginUnlocking) ValidateBasic ¶
func (msg MsgBeginUnlocking) ValidateBasic() error
func (*MsgBeginUnlocking) XXX_DiscardUnknown ¶
func (m *MsgBeginUnlocking) XXX_DiscardUnknown()
func (*MsgBeginUnlocking) XXX_Marshal ¶
func (m *MsgBeginUnlocking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBeginUnlocking) XXX_Merge ¶
func (m *MsgBeginUnlocking) XXX_Merge(src proto.Message)
func (*MsgBeginUnlocking) XXX_Size ¶
func (m *MsgBeginUnlocking) XXX_Size() int
func (*MsgBeginUnlocking) XXX_Unmarshal ¶
func (m *MsgBeginUnlocking) XXX_Unmarshal(b []byte) error
type MsgBeginUnlockingAll ¶
type MsgBeginUnlockingAll struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
}
func (*MsgBeginUnlockingAll) Descriptor ¶
func (*MsgBeginUnlockingAll) Descriptor() ([]byte, []int)
func (*MsgBeginUnlockingAll) GetOwner ¶
func (m *MsgBeginUnlockingAll) GetOwner() string
func (MsgBeginUnlockingAll) GetSignBytes ¶
func (msg MsgBeginUnlockingAll) GetSignBytes() []byte
func (MsgBeginUnlockingAll) GetSigners ¶
func (msg MsgBeginUnlockingAll) GetSigners() []sdk.AccAddress
func (*MsgBeginUnlockingAll) Marshal ¶
func (m *MsgBeginUnlockingAll) Marshal() (dAtA []byte, err error)
func (*MsgBeginUnlockingAll) MarshalTo ¶
func (m *MsgBeginUnlockingAll) MarshalTo(dAtA []byte) (int, error)
func (*MsgBeginUnlockingAll) MarshalToSizedBuffer ¶
func (m *MsgBeginUnlockingAll) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBeginUnlockingAll) ProtoMessage ¶
func (*MsgBeginUnlockingAll) ProtoMessage()
func (*MsgBeginUnlockingAll) Reset ¶
func (m *MsgBeginUnlockingAll) Reset()
func (MsgBeginUnlockingAll) Route ¶
func (msg MsgBeginUnlockingAll) Route() string
MsgBeginUnlockingAll
func (*MsgBeginUnlockingAll) Size ¶
func (m *MsgBeginUnlockingAll) Size() (n int)
func (*MsgBeginUnlockingAll) String ¶
func (m *MsgBeginUnlockingAll) String() string
func (MsgBeginUnlockingAll) Type ¶
func (msg MsgBeginUnlockingAll) Type() string
func (*MsgBeginUnlockingAll) Unmarshal ¶
func (m *MsgBeginUnlockingAll) Unmarshal(dAtA []byte) error
func (MsgBeginUnlockingAll) ValidateBasic ¶
func (msg MsgBeginUnlockingAll) ValidateBasic() error
func (*MsgBeginUnlockingAll) XXX_DiscardUnknown ¶
func (m *MsgBeginUnlockingAll) XXX_DiscardUnknown()
func (*MsgBeginUnlockingAll) XXX_Marshal ¶
func (m *MsgBeginUnlockingAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBeginUnlockingAll) XXX_Merge ¶
func (m *MsgBeginUnlockingAll) XXX_Merge(src proto.Message)
func (*MsgBeginUnlockingAll) XXX_Size ¶
func (m *MsgBeginUnlockingAll) XXX_Size() int
func (*MsgBeginUnlockingAll) XXX_Unmarshal ¶
func (m *MsgBeginUnlockingAll) XXX_Unmarshal(b []byte) error
type MsgBeginUnlockingAllResponse ¶
type MsgBeginUnlockingAllResponse struct {
Unlocks []*PeriodLock `protobuf:"bytes,1,rep,name=unlocks,proto3" json:"unlocks,omitempty"`
}
func (*MsgBeginUnlockingAllResponse) Descriptor ¶
func (*MsgBeginUnlockingAllResponse) Descriptor() ([]byte, []int)
func (*MsgBeginUnlockingAllResponse) GetUnlocks ¶
func (m *MsgBeginUnlockingAllResponse) GetUnlocks() []*PeriodLock
func (*MsgBeginUnlockingAllResponse) Marshal ¶
func (m *MsgBeginUnlockingAllResponse) Marshal() (dAtA []byte, err error)
func (*MsgBeginUnlockingAllResponse) MarshalTo ¶
func (m *MsgBeginUnlockingAllResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBeginUnlockingAllResponse) MarshalToSizedBuffer ¶
func (m *MsgBeginUnlockingAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBeginUnlockingAllResponse) ProtoMessage ¶
func (*MsgBeginUnlockingAllResponse) ProtoMessage()
func (*MsgBeginUnlockingAllResponse) Reset ¶
func (m *MsgBeginUnlockingAllResponse) Reset()
func (*MsgBeginUnlockingAllResponse) Size ¶
func (m *MsgBeginUnlockingAllResponse) Size() (n int)
func (*MsgBeginUnlockingAllResponse) String ¶
func (m *MsgBeginUnlockingAllResponse) String() string
func (*MsgBeginUnlockingAllResponse) Unmarshal ¶
func (m *MsgBeginUnlockingAllResponse) Unmarshal(dAtA []byte) error
func (*MsgBeginUnlockingAllResponse) XXX_DiscardUnknown ¶
func (m *MsgBeginUnlockingAllResponse) XXX_DiscardUnknown()
func (*MsgBeginUnlockingAllResponse) XXX_Marshal ¶
func (m *MsgBeginUnlockingAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBeginUnlockingAllResponse) XXX_Merge ¶
func (m *MsgBeginUnlockingAllResponse) XXX_Merge(src proto.Message)
func (*MsgBeginUnlockingAllResponse) XXX_Size ¶
func (m *MsgBeginUnlockingAllResponse) XXX_Size() int
func (*MsgBeginUnlockingAllResponse) XXX_Unmarshal ¶
func (m *MsgBeginUnlockingAllResponse) XXX_Unmarshal(b []byte) error
type MsgBeginUnlockingResponse ¶
type MsgBeginUnlockingResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` UnlockingLockID uint64 `protobuf:"varint,2,opt,name=unlockingLockID,proto3" json:"unlockingLockID,omitempty"` }
func (*MsgBeginUnlockingResponse) Descriptor ¶
func (*MsgBeginUnlockingResponse) Descriptor() ([]byte, []int)
func (*MsgBeginUnlockingResponse) GetSuccess ¶
func (m *MsgBeginUnlockingResponse) GetSuccess() bool
func (*MsgBeginUnlockingResponse) GetUnlockingLockID ¶
func (m *MsgBeginUnlockingResponse) GetUnlockingLockID() uint64
func (*MsgBeginUnlockingResponse) Marshal ¶
func (m *MsgBeginUnlockingResponse) Marshal() (dAtA []byte, err error)
func (*MsgBeginUnlockingResponse) MarshalTo ¶
func (m *MsgBeginUnlockingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBeginUnlockingResponse) MarshalToSizedBuffer ¶
func (m *MsgBeginUnlockingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBeginUnlockingResponse) ProtoMessage ¶
func (*MsgBeginUnlockingResponse) ProtoMessage()
func (*MsgBeginUnlockingResponse) Reset ¶
func (m *MsgBeginUnlockingResponse) Reset()
func (*MsgBeginUnlockingResponse) Size ¶
func (m *MsgBeginUnlockingResponse) Size() (n int)
func (*MsgBeginUnlockingResponse) String ¶
func (m *MsgBeginUnlockingResponse) String() string
func (*MsgBeginUnlockingResponse) Unmarshal ¶
func (m *MsgBeginUnlockingResponse) Unmarshal(dAtA []byte) error
func (*MsgBeginUnlockingResponse) XXX_DiscardUnknown ¶
func (m *MsgBeginUnlockingResponse) XXX_DiscardUnknown()
func (*MsgBeginUnlockingResponse) XXX_Marshal ¶
func (m *MsgBeginUnlockingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBeginUnlockingResponse) XXX_Merge ¶
func (m *MsgBeginUnlockingResponse) XXX_Merge(src proto.Message)
func (*MsgBeginUnlockingResponse) XXX_Size ¶
func (m *MsgBeginUnlockingResponse) XXX_Size() int
func (*MsgBeginUnlockingResponse) XXX_Unmarshal ¶
func (m *MsgBeginUnlockingResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // LockTokens lock tokens LockTokens(ctx context.Context, in *MsgLockTokens, opts ...grpc.CallOption) (*MsgLockTokensResponse, error) // BeginUnlockingAll begin unlocking all tokens BeginUnlockingAll(ctx context.Context, in *MsgBeginUnlockingAll, opts ...grpc.CallOption) (*MsgBeginUnlockingAllResponse, error) // MsgBeginUnlocking begins unlocking tokens by lock ID BeginUnlocking(ctx context.Context, in *MsgBeginUnlocking, opts ...grpc.CallOption) (*MsgBeginUnlockingResponse, error) // MsgEditLockup edits the existing lockups by lock ID ExtendLockup(ctx context.Context, in *MsgExtendLockup, opts ...grpc.CallOption) (*MsgExtendLockupResponse, error) ForceUnlock(ctx context.Context, in *MsgForceUnlock, opts ...grpc.CallOption) (*MsgForceUnlockResponse, error) // Old Osmosis message types needed for backwards compatibility reasons UnlockTokens(ctx context.Context, in *MsgUnlockTokens, opts ...grpc.CallOption) (*MsgUnlockTokensResponse, error) UnlockPeriodLock(ctx context.Context, in *MsgUnlockPeriodLock, opts ...grpc.CallOption) (*MsgUnlockPeriodLockResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgExtendLockup ¶
type MsgExtendLockup struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` ID uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"` // duration to be set. fails if lower than the current duration, or is // unlocking Duration time.Duration `protobuf:"bytes,3,opt,name=duration,proto3,stdduration" json:"duration,omitempty" yaml:"duration"` }
MsgExtendLockup extends the existing lockup's duration. The new duration is longer than the original.
func (*MsgExtendLockup) Descriptor ¶
func (*MsgExtendLockup) Descriptor() ([]byte, []int)
func (*MsgExtendLockup) GetDuration ¶
func (m *MsgExtendLockup) GetDuration() time.Duration
func (*MsgExtendLockup) GetID ¶
func (m *MsgExtendLockup) GetID() uint64
func (*MsgExtendLockup) GetOwner ¶
func (m *MsgExtendLockup) GetOwner() string
func (MsgExtendLockup) GetSignBytes ¶
func (msg MsgExtendLockup) GetSignBytes() []byte
func (MsgExtendLockup) GetSigners ¶
func (msg MsgExtendLockup) GetSigners() []sdk.AccAddress
func (*MsgExtendLockup) Marshal ¶
func (m *MsgExtendLockup) Marshal() (dAtA []byte, err error)
func (*MsgExtendLockup) MarshalToSizedBuffer ¶
func (m *MsgExtendLockup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExtendLockup) ProtoMessage ¶
func (*MsgExtendLockup) ProtoMessage()
func (*MsgExtendLockup) Reset ¶
func (m *MsgExtendLockup) Reset()
func (*MsgExtendLockup) Size ¶
func (m *MsgExtendLockup) Size() (n int)
func (*MsgExtendLockup) String ¶
func (m *MsgExtendLockup) String() string
func (MsgExtendLockup) Type ¶
func (msg MsgExtendLockup) Type() string
func (*MsgExtendLockup) Unmarshal ¶
func (m *MsgExtendLockup) Unmarshal(dAtA []byte) error
func (MsgExtendLockup) ValidateBasic ¶
func (msg MsgExtendLockup) ValidateBasic() error
func (*MsgExtendLockup) XXX_DiscardUnknown ¶
func (m *MsgExtendLockup) XXX_DiscardUnknown()
func (*MsgExtendLockup) XXX_Marshal ¶
func (m *MsgExtendLockup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExtendLockup) XXX_Merge ¶
func (m *MsgExtendLockup) XXX_Merge(src proto.Message)
func (*MsgExtendLockup) XXX_Size ¶
func (m *MsgExtendLockup) XXX_Size() int
func (*MsgExtendLockup) XXX_Unmarshal ¶
func (m *MsgExtendLockup) XXX_Unmarshal(b []byte) error
type MsgExtendLockupResponse ¶
type MsgExtendLockupResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (*MsgExtendLockupResponse) Descriptor ¶
func (*MsgExtendLockupResponse) Descriptor() ([]byte, []int)
func (*MsgExtendLockupResponse) GetSuccess ¶
func (m *MsgExtendLockupResponse) GetSuccess() bool
func (*MsgExtendLockupResponse) Marshal ¶
func (m *MsgExtendLockupResponse) Marshal() (dAtA []byte, err error)
func (*MsgExtendLockupResponse) MarshalTo ¶
func (m *MsgExtendLockupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExtendLockupResponse) MarshalToSizedBuffer ¶
func (m *MsgExtendLockupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExtendLockupResponse) ProtoMessage ¶
func (*MsgExtendLockupResponse) ProtoMessage()
func (*MsgExtendLockupResponse) Reset ¶
func (m *MsgExtendLockupResponse) Reset()
func (*MsgExtendLockupResponse) Size ¶
func (m *MsgExtendLockupResponse) Size() (n int)
func (*MsgExtendLockupResponse) String ¶
func (m *MsgExtendLockupResponse) String() string
func (*MsgExtendLockupResponse) Unmarshal ¶
func (m *MsgExtendLockupResponse) Unmarshal(dAtA []byte) error
func (*MsgExtendLockupResponse) XXX_DiscardUnknown ¶
func (m *MsgExtendLockupResponse) XXX_DiscardUnknown()
func (*MsgExtendLockupResponse) XXX_Marshal ¶
func (m *MsgExtendLockupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExtendLockupResponse) XXX_Merge ¶
func (m *MsgExtendLockupResponse) XXX_Merge(src proto.Message)
func (*MsgExtendLockupResponse) XXX_Size ¶
func (m *MsgExtendLockupResponse) XXX_Size() int
func (*MsgExtendLockupResponse) XXX_Unmarshal ¶
func (m *MsgExtendLockupResponse) XXX_Unmarshal(b []byte) error
type MsgForceUnlock ¶
type MsgForceUnlock struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` ID uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"` // Amount of unlocking coins. Unlock all if not set. Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` }
MsgForceUnlock unlocks locks immediately for addresses registered via governance.
func (*MsgForceUnlock) Descriptor ¶
func (*MsgForceUnlock) Descriptor() ([]byte, []int)
func (*MsgForceUnlock) GetCoins ¶
func (m *MsgForceUnlock) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgForceUnlock) GetID ¶
func (m *MsgForceUnlock) GetID() uint64
func (*MsgForceUnlock) GetOwner ¶
func (m *MsgForceUnlock) GetOwner() string
func (MsgForceUnlock) GetSignBytes ¶
func (msg MsgForceUnlock) GetSignBytes() []byte
func (MsgForceUnlock) GetSigners ¶
func (msg MsgForceUnlock) GetSigners() []sdk.AccAddress
func (*MsgForceUnlock) Marshal ¶
func (m *MsgForceUnlock) Marshal() (dAtA []byte, err error)
func (*MsgForceUnlock) MarshalToSizedBuffer ¶
func (m *MsgForceUnlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgForceUnlock) ProtoMessage ¶
func (*MsgForceUnlock) ProtoMessage()
func (*MsgForceUnlock) Reset ¶
func (m *MsgForceUnlock) Reset()
func (*MsgForceUnlock) Size ¶
func (m *MsgForceUnlock) Size() (n int)
func (*MsgForceUnlock) String ¶
func (m *MsgForceUnlock) String() string
func (MsgForceUnlock) Type ¶
func (msg MsgForceUnlock) Type() string
func (*MsgForceUnlock) Unmarshal ¶
func (m *MsgForceUnlock) Unmarshal(dAtA []byte) error
func (MsgForceUnlock) ValidateBasic ¶
func (msg MsgForceUnlock) ValidateBasic() error
func (*MsgForceUnlock) XXX_DiscardUnknown ¶
func (m *MsgForceUnlock) XXX_DiscardUnknown()
func (*MsgForceUnlock) XXX_Marshal ¶
func (m *MsgForceUnlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgForceUnlock) XXX_Merge ¶
func (m *MsgForceUnlock) XXX_Merge(src proto.Message)
func (*MsgForceUnlock) XXX_Size ¶
func (m *MsgForceUnlock) XXX_Size() int
func (*MsgForceUnlock) XXX_Unmarshal ¶
func (m *MsgForceUnlock) XXX_Unmarshal(b []byte) error
type MsgForceUnlockResponse ¶
type MsgForceUnlockResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (*MsgForceUnlockResponse) Descriptor ¶
func (*MsgForceUnlockResponse) Descriptor() ([]byte, []int)
func (*MsgForceUnlockResponse) GetSuccess ¶
func (m *MsgForceUnlockResponse) GetSuccess() bool
func (*MsgForceUnlockResponse) Marshal ¶
func (m *MsgForceUnlockResponse) Marshal() (dAtA []byte, err error)
func (*MsgForceUnlockResponse) MarshalTo ¶
func (m *MsgForceUnlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgForceUnlockResponse) MarshalToSizedBuffer ¶
func (m *MsgForceUnlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgForceUnlockResponse) ProtoMessage ¶
func (*MsgForceUnlockResponse) ProtoMessage()
func (*MsgForceUnlockResponse) Reset ¶
func (m *MsgForceUnlockResponse) Reset()
func (*MsgForceUnlockResponse) Size ¶
func (m *MsgForceUnlockResponse) Size() (n int)
func (*MsgForceUnlockResponse) String ¶
func (m *MsgForceUnlockResponse) String() string
func (*MsgForceUnlockResponse) Unmarshal ¶
func (m *MsgForceUnlockResponse) Unmarshal(dAtA []byte) error
func (*MsgForceUnlockResponse) XXX_DiscardUnknown ¶
func (m *MsgForceUnlockResponse) XXX_DiscardUnknown()
func (*MsgForceUnlockResponse) XXX_Marshal ¶
func (m *MsgForceUnlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgForceUnlockResponse) XXX_Merge ¶
func (m *MsgForceUnlockResponse) XXX_Merge(src proto.Message)
func (*MsgForceUnlockResponse) XXX_Size ¶
func (m *MsgForceUnlockResponse) XXX_Size() int
func (*MsgForceUnlockResponse) XXX_Unmarshal ¶
func (m *MsgForceUnlockResponse) XXX_Unmarshal(b []byte) error
type MsgLockTokens ¶
type MsgLockTokens struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` Duration time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,stdduration" json:"duration,omitempty" yaml:"duration"` Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` }
func (*MsgLockTokens) Descriptor ¶
func (*MsgLockTokens) Descriptor() ([]byte, []int)
func (*MsgLockTokens) GetCoins ¶
func (m *MsgLockTokens) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgLockTokens) GetDuration ¶
func (m *MsgLockTokens) GetDuration() time.Duration
func (*MsgLockTokens) GetOwner ¶
func (m *MsgLockTokens) GetOwner() string
func (MsgLockTokens) GetSignBytes ¶
func (msg MsgLockTokens) GetSignBytes() []byte
func (MsgLockTokens) GetSigners ¶
func (msg MsgLockTokens) GetSigners() []sdk.AccAddress
func (*MsgLockTokens) Marshal ¶
func (m *MsgLockTokens) Marshal() (dAtA []byte, err error)
func (*MsgLockTokens) MarshalToSizedBuffer ¶
func (m *MsgLockTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLockTokens) ProtoMessage ¶
func (*MsgLockTokens) ProtoMessage()
func (*MsgLockTokens) Reset ¶
func (m *MsgLockTokens) Reset()
func (*MsgLockTokens) Size ¶
func (m *MsgLockTokens) Size() (n int)
func (*MsgLockTokens) String ¶
func (m *MsgLockTokens) String() string
func (MsgLockTokens) Type ¶
func (msg MsgLockTokens) Type() string
func (*MsgLockTokens) Unmarshal ¶
func (m *MsgLockTokens) Unmarshal(dAtA []byte) error
func (MsgLockTokens) ValidateBasic ¶
func (msg MsgLockTokens) ValidateBasic() error
func (*MsgLockTokens) XXX_DiscardUnknown ¶
func (m *MsgLockTokens) XXX_DiscardUnknown()
func (*MsgLockTokens) XXX_Marshal ¶
func (m *MsgLockTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLockTokens) XXX_Merge ¶
func (m *MsgLockTokens) XXX_Merge(src proto.Message)
func (*MsgLockTokens) XXX_Size ¶
func (m *MsgLockTokens) XXX_Size() int
func (*MsgLockTokens) XXX_Unmarshal ¶
func (m *MsgLockTokens) XXX_Unmarshal(b []byte) error
type MsgLockTokensResponse ¶
type MsgLockTokensResponse struct {
ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}
func (*MsgLockTokensResponse) Descriptor ¶
func (*MsgLockTokensResponse) Descriptor() ([]byte, []int)
func (*MsgLockTokensResponse) GetID ¶
func (m *MsgLockTokensResponse) GetID() uint64
func (*MsgLockTokensResponse) Marshal ¶
func (m *MsgLockTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgLockTokensResponse) MarshalTo ¶
func (m *MsgLockTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgLockTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgLockTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLockTokensResponse) ProtoMessage ¶
func (*MsgLockTokensResponse) ProtoMessage()
func (*MsgLockTokensResponse) Reset ¶
func (m *MsgLockTokensResponse) Reset()
func (*MsgLockTokensResponse) Size ¶
func (m *MsgLockTokensResponse) Size() (n int)
func (*MsgLockTokensResponse) String ¶
func (m *MsgLockTokensResponse) String() string
func (*MsgLockTokensResponse) Unmarshal ¶
func (m *MsgLockTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgLockTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgLockTokensResponse) XXX_DiscardUnknown()
func (*MsgLockTokensResponse) XXX_Marshal ¶
func (m *MsgLockTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLockTokensResponse) XXX_Merge ¶
func (m *MsgLockTokensResponse) XXX_Merge(src proto.Message)
func (*MsgLockTokensResponse) XXX_Size ¶
func (m *MsgLockTokensResponse) XXX_Size() int
func (*MsgLockTokensResponse) XXX_Unmarshal ¶
func (m *MsgLockTokensResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // LockTokens lock tokens LockTokens(context.Context, *MsgLockTokens) (*MsgLockTokensResponse, error) // BeginUnlockingAll begin unlocking all tokens BeginUnlockingAll(context.Context, *MsgBeginUnlockingAll) (*MsgBeginUnlockingAllResponse, error) // MsgBeginUnlocking begins unlocking tokens by lock ID BeginUnlocking(context.Context, *MsgBeginUnlocking) (*MsgBeginUnlockingResponse, error) // MsgEditLockup edits the existing lockups by lock ID ExtendLockup(context.Context, *MsgExtendLockup) (*MsgExtendLockupResponse, error) ForceUnlock(context.Context, *MsgForceUnlock) (*MsgForceUnlockResponse, error) // Old Osmosis message types needed for backwards compatibility reasons UnlockTokens(context.Context, *MsgUnlockTokens) (*MsgUnlockTokensResponse, error) UnlockPeriodLock(context.Context, *MsgUnlockPeriodLock) (*MsgUnlockPeriodLockResponse, error) }
MsgServer is the server API for Msg service.
type MsgUnlockPeriodLock ¶
type MsgUnlockPeriodLock struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` ID uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"` }
func (*MsgUnlockPeriodLock) Descriptor ¶
func (*MsgUnlockPeriodLock) Descriptor() ([]byte, []int)
func (*MsgUnlockPeriodLock) GetID ¶
func (m *MsgUnlockPeriodLock) GetID() uint64
func (*MsgUnlockPeriodLock) GetOwner ¶
func (m *MsgUnlockPeriodLock) GetOwner() string
func (MsgUnlockPeriodLock) GetSignBytes ¶
func (msg MsgUnlockPeriodLock) GetSignBytes() []byte
func (MsgUnlockPeriodLock) GetSigners ¶
func (msg MsgUnlockPeriodLock) GetSigners() []sdk.AccAddress
func (*MsgUnlockPeriodLock) Marshal ¶
func (m *MsgUnlockPeriodLock) Marshal() (dAtA []byte, err error)
func (*MsgUnlockPeriodLock) MarshalTo ¶
func (m *MsgUnlockPeriodLock) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnlockPeriodLock) MarshalToSizedBuffer ¶
func (m *MsgUnlockPeriodLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnlockPeriodLock) ProtoMessage ¶
func (*MsgUnlockPeriodLock) ProtoMessage()
func (*MsgUnlockPeriodLock) Reset ¶
func (m *MsgUnlockPeriodLock) Reset()
func (MsgUnlockPeriodLock) Route ¶
func (msg MsgUnlockPeriodLock) Route() string
Old Osmosis Lockup types MsgUnlockPeriodLock
func (*MsgUnlockPeriodLock) Size ¶
func (m *MsgUnlockPeriodLock) Size() (n int)
func (*MsgUnlockPeriodLock) String ¶
func (m *MsgUnlockPeriodLock) String() string
func (MsgUnlockPeriodLock) Type ¶
func (msg MsgUnlockPeriodLock) Type() string
func (*MsgUnlockPeriodLock) Unmarshal ¶
func (m *MsgUnlockPeriodLock) Unmarshal(dAtA []byte) error
func (MsgUnlockPeriodLock) ValidateBasic ¶
func (msg MsgUnlockPeriodLock) ValidateBasic() error
func (*MsgUnlockPeriodLock) XXX_DiscardUnknown ¶
func (m *MsgUnlockPeriodLock) XXX_DiscardUnknown()
func (*MsgUnlockPeriodLock) XXX_Marshal ¶
func (m *MsgUnlockPeriodLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnlockPeriodLock) XXX_Merge ¶
func (m *MsgUnlockPeriodLock) XXX_Merge(src proto.Message)
func (*MsgUnlockPeriodLock) XXX_Size ¶
func (m *MsgUnlockPeriodLock) XXX_Size() int
func (*MsgUnlockPeriodLock) XXX_Unmarshal ¶
func (m *MsgUnlockPeriodLock) XXX_Unmarshal(b []byte) error
type MsgUnlockPeriodLockResponse ¶
type MsgUnlockPeriodLockResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (*MsgUnlockPeriodLockResponse) Descriptor ¶
func (*MsgUnlockPeriodLockResponse) Descriptor() ([]byte, []int)
func (*MsgUnlockPeriodLockResponse) GetSuccess ¶
func (m *MsgUnlockPeriodLockResponse) GetSuccess() bool
func (*MsgUnlockPeriodLockResponse) Marshal ¶
func (m *MsgUnlockPeriodLockResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnlockPeriodLockResponse) MarshalTo ¶
func (m *MsgUnlockPeriodLockResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnlockPeriodLockResponse) MarshalToSizedBuffer ¶
func (m *MsgUnlockPeriodLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnlockPeriodLockResponse) ProtoMessage ¶
func (*MsgUnlockPeriodLockResponse) ProtoMessage()
func (*MsgUnlockPeriodLockResponse) Reset ¶
func (m *MsgUnlockPeriodLockResponse) Reset()
func (*MsgUnlockPeriodLockResponse) Size ¶
func (m *MsgUnlockPeriodLockResponse) Size() (n int)
func (*MsgUnlockPeriodLockResponse) String ¶
func (m *MsgUnlockPeriodLockResponse) String() string
func (*MsgUnlockPeriodLockResponse) Unmarshal ¶
func (m *MsgUnlockPeriodLockResponse) Unmarshal(dAtA []byte) error
func (*MsgUnlockPeriodLockResponse) XXX_DiscardUnknown ¶
func (m *MsgUnlockPeriodLockResponse) XXX_DiscardUnknown()
func (*MsgUnlockPeriodLockResponse) XXX_Marshal ¶
func (m *MsgUnlockPeriodLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnlockPeriodLockResponse) XXX_Merge ¶
func (m *MsgUnlockPeriodLockResponse) XXX_Merge(src proto.Message)
func (*MsgUnlockPeriodLockResponse) XXX_Size ¶
func (m *MsgUnlockPeriodLockResponse) XXX_Size() int
func (*MsgUnlockPeriodLockResponse) XXX_Unmarshal ¶
func (m *MsgUnlockPeriodLockResponse) XXX_Unmarshal(b []byte) error
type MsgUnlockTokens ¶
type MsgUnlockTokens struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
}
Old Osmosis message types needed for backwards compatibility reasons
func (*MsgUnlockTokens) Descriptor ¶
func (*MsgUnlockTokens) Descriptor() ([]byte, []int)
func (*MsgUnlockTokens) GetOwner ¶
func (m *MsgUnlockTokens) GetOwner() string
func (MsgUnlockTokens) GetSignBytes ¶
func (msg MsgUnlockTokens) GetSignBytes() []byte
func (MsgUnlockTokens) GetSigners ¶
func (msg MsgUnlockTokens) GetSigners() []sdk.AccAddress
func (*MsgUnlockTokens) Marshal ¶
func (m *MsgUnlockTokens) Marshal() (dAtA []byte, err error)
func (*MsgUnlockTokens) MarshalToSizedBuffer ¶
func (m *MsgUnlockTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnlockTokens) ProtoMessage ¶
func (*MsgUnlockTokens) ProtoMessage()
func (*MsgUnlockTokens) Reset ¶
func (m *MsgUnlockTokens) Reset()
func (*MsgUnlockTokens) Size ¶
func (m *MsgUnlockTokens) Size() (n int)
func (*MsgUnlockTokens) String ¶
func (m *MsgUnlockTokens) String() string
func (MsgUnlockTokens) Type ¶
func (msg MsgUnlockTokens) Type() string
func (*MsgUnlockTokens) Unmarshal ¶
func (m *MsgUnlockTokens) Unmarshal(dAtA []byte) error
func (MsgUnlockTokens) ValidateBasic ¶
func (msg MsgUnlockTokens) ValidateBasic() error
func (*MsgUnlockTokens) XXX_DiscardUnknown ¶
func (m *MsgUnlockTokens) XXX_DiscardUnknown()
func (*MsgUnlockTokens) XXX_Marshal ¶
func (m *MsgUnlockTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnlockTokens) XXX_Merge ¶
func (m *MsgUnlockTokens) XXX_Merge(src proto.Message)
func (*MsgUnlockTokens) XXX_Size ¶
func (m *MsgUnlockTokens) XXX_Size() int
func (*MsgUnlockTokens) XXX_Unmarshal ¶
func (m *MsgUnlockTokens) XXX_Unmarshal(b []byte) error
type MsgUnlockTokensResponse ¶
type MsgUnlockTokensResponse struct {
Unlocks []*PeriodLock `protobuf:"bytes,1,rep,name=unlocks,proto3" json:"unlocks,omitempty"`
}
func (*MsgUnlockTokensResponse) Descriptor ¶
func (*MsgUnlockTokensResponse) Descriptor() ([]byte, []int)
func (*MsgUnlockTokensResponse) GetUnlocks ¶
func (m *MsgUnlockTokensResponse) GetUnlocks() []*PeriodLock
func (*MsgUnlockTokensResponse) Marshal ¶
func (m *MsgUnlockTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnlockTokensResponse) MarshalTo ¶
func (m *MsgUnlockTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnlockTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgUnlockTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnlockTokensResponse) ProtoMessage ¶
func (*MsgUnlockTokensResponse) ProtoMessage()
func (*MsgUnlockTokensResponse) Reset ¶
func (m *MsgUnlockTokensResponse) Reset()
func (*MsgUnlockTokensResponse) Size ¶
func (m *MsgUnlockTokensResponse) Size() (n int)
func (*MsgUnlockTokensResponse) String ¶
func (m *MsgUnlockTokensResponse) String() string
func (*MsgUnlockTokensResponse) Unmarshal ¶
func (m *MsgUnlockTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgUnlockTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgUnlockTokensResponse) XXX_DiscardUnknown()
func (*MsgUnlockTokensResponse) XXX_Marshal ¶
func (m *MsgUnlockTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnlockTokensResponse) XXX_Merge ¶
func (m *MsgUnlockTokensResponse) XXX_Merge(src proto.Message)
func (*MsgUnlockTokensResponse) XXX_Size ¶
func (m *MsgUnlockTokensResponse) XXX_Size() int
func (*MsgUnlockTokensResponse) XXX_Unmarshal ¶
func (m *MsgUnlockTokensResponse) XXX_Unmarshal(b []byte) error
type PeriodLock ¶
type PeriodLock struct { // ID is the unique id of the lock. // The ID of the lock is decided upon lock creation, incrementing by 1 for // every lock. ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // Owner is the account address of the lock owner. // Only the owner can modify the state of the lock. Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // Duration is the time needed for a lock to mature after unlocking has // started. Duration time.Duration `protobuf:"bytes,3,opt,name=duration,proto3,stdduration" json:"duration,omitempty" yaml:"duration"` // EndTime refers to the time at which the lock would mature and get deleted. // This value is first initialized when an unlock has started for the lock, // end time being block time + duration. EndTime time.Time `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time" yaml:"end_time"` // Coins are the tokens locked within the lock, kept in the module account. Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` }
func (*PeriodLock) Descriptor ¶
func (*PeriodLock) Descriptor() ([]byte, []int)
func (*PeriodLock) GetCoins ¶
func (m *PeriodLock) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*PeriodLock) GetDuration ¶
func (m *PeriodLock) GetDuration() time.Duration
func (*PeriodLock) GetEndTime ¶
func (m *PeriodLock) GetEndTime() time.Time
func (*PeriodLock) GetID ¶
func (m *PeriodLock) GetID() uint64
func (*PeriodLock) GetOwner ¶
func (m *PeriodLock) GetOwner() string
func (*PeriodLock) Marshal ¶
func (m *PeriodLock) Marshal() (dAtA []byte, err error)
func (*PeriodLock) MarshalToSizedBuffer ¶
func (m *PeriodLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PeriodLock) ProtoMessage ¶
func (*PeriodLock) ProtoMessage()
func (*PeriodLock) Reset ¶
func (m *PeriodLock) Reset()
func (*PeriodLock) Size ¶
func (m *PeriodLock) Size() (n int)
func (*PeriodLock) String ¶
func (m *PeriodLock) String() string
func (*PeriodLock) Unmarshal ¶
func (m *PeriodLock) Unmarshal(dAtA []byte) error
func (*PeriodLock) XXX_DiscardUnknown ¶
func (m *PeriodLock) XXX_DiscardUnknown()
func (*PeriodLock) XXX_Marshal ¶
func (m *PeriodLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PeriodLock) XXX_Merge ¶
func (m *PeriodLock) XXX_Merge(src proto.Message)
func (*PeriodLock) XXX_Size ¶
func (m *PeriodLock) XXX_Size() int
func (*PeriodLock) XXX_Unmarshal ¶
func (m *PeriodLock) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BeginUnlocking ¶
func (*UnimplementedMsgServer) BeginUnlocking(ctx context.Context, req *MsgBeginUnlocking) (*MsgBeginUnlockingResponse, error)
func (*UnimplementedMsgServer) BeginUnlockingAll ¶
func (*UnimplementedMsgServer) BeginUnlockingAll(ctx context.Context, req *MsgBeginUnlockingAll) (*MsgBeginUnlockingAllResponse, error)
func (*UnimplementedMsgServer) ExtendLockup ¶
func (*UnimplementedMsgServer) ExtendLockup(ctx context.Context, req *MsgExtendLockup) (*MsgExtendLockupResponse, error)
func (*UnimplementedMsgServer) ForceUnlock ¶
func (*UnimplementedMsgServer) ForceUnlock(ctx context.Context, req *MsgForceUnlock) (*MsgForceUnlockResponse, error)
func (*UnimplementedMsgServer) LockTokens ¶
func (*UnimplementedMsgServer) LockTokens(ctx context.Context, req *MsgLockTokens) (*MsgLockTokensResponse, error)
func (*UnimplementedMsgServer) UnlockPeriodLock ¶
func (*UnimplementedMsgServer) UnlockPeriodLock(ctx context.Context, req *MsgUnlockPeriodLock) (*MsgUnlockPeriodLockResponse, error)
func (*UnimplementedMsgServer) UnlockTokens ¶
func (*UnimplementedMsgServer) UnlockTokens(ctx context.Context, req *MsgUnlockTokens) (*MsgUnlockTokensResponse, error)