Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func IsSyntheticDenom(denom string) bool
- func NativeDenom(denom string) string
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SumLocksByDenom(locks []PeriodLock, denom string) sdkmath.Int
- type AccountKeeper
- type AccountLockedCoinsRequest
- func (*AccountLockedCoinsRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedCoinsRequest) GetOwner() string
- func (m *AccountLockedCoinsRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedCoinsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedCoinsRequest) ProtoMessage()
- func (m *AccountLockedCoinsRequest) Reset()
- func (m *AccountLockedCoinsRequest) Size() (n int)
- func (m *AccountLockedCoinsRequest) String() string
- func (m *AccountLockedCoinsRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedCoinsRequest) XXX_DiscardUnknown()
- func (m *AccountLockedCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedCoinsRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedCoinsRequest) XXX_Size() int
- func (m *AccountLockedCoinsRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedCoinsResponse
- func (*AccountLockedCoinsResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *AccountLockedCoinsResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedCoinsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedCoinsResponse) ProtoMessage()
- func (m *AccountLockedCoinsResponse) Reset()
- func (m *AccountLockedCoinsResponse) Size() (n int)
- func (m *AccountLockedCoinsResponse) String() string
- func (m *AccountLockedCoinsResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedCoinsResponse) XXX_DiscardUnknown()
- func (m *AccountLockedCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedCoinsResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedCoinsResponse) XXX_Size() int
- func (m *AccountLockedCoinsResponse) XXX_Unmarshal(b []byte) error
- type AccountLockedDurationRequest
- func (*AccountLockedDurationRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedDurationRequest) GetDuration() time.Duration
- func (m *AccountLockedDurationRequest) GetOwner() string
- func (m *AccountLockedDurationRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedDurationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedDurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedDurationRequest) ProtoMessage()
- func (m *AccountLockedDurationRequest) Reset()
- func (m *AccountLockedDurationRequest) Size() (n int)
- func (m *AccountLockedDurationRequest) String() string
- func (m *AccountLockedDurationRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedDurationRequest) XXX_DiscardUnknown()
- func (m *AccountLockedDurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedDurationRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedDurationRequest) XXX_Size() int
- func (m *AccountLockedDurationRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedDurationResponse
- func (*AccountLockedDurationResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedDurationResponse) GetLocks() []PeriodLock
- func (m *AccountLockedDurationResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedDurationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedDurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedDurationResponse) ProtoMessage()
- func (m *AccountLockedDurationResponse) Reset()
- func (m *AccountLockedDurationResponse) Size() (n int)
- func (m *AccountLockedDurationResponse) String() string
- func (m *AccountLockedDurationResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedDurationResponse) XXX_DiscardUnknown()
- func (m *AccountLockedDurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedDurationResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedDurationResponse) XXX_Size() int
- func (m *AccountLockedDurationResponse) XXX_Unmarshal(b []byte) error
- type AccountLockedLongerDurationDenomRequest
- func (*AccountLockedLongerDurationDenomRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedLongerDurationDenomRequest) GetDenom() string
- func (m *AccountLockedLongerDurationDenomRequest) GetDuration() time.Duration
- func (m *AccountLockedLongerDurationDenomRequest) GetOwner() string
- func (m *AccountLockedLongerDurationDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedLongerDurationDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedLongerDurationDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedLongerDurationDenomRequest) ProtoMessage()
- func (m *AccountLockedLongerDurationDenomRequest) Reset()
- func (m *AccountLockedLongerDurationDenomRequest) Size() (n int)
- func (m *AccountLockedLongerDurationDenomRequest) String() string
- func (m *AccountLockedLongerDurationDenomRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedLongerDurationDenomRequest) XXX_DiscardUnknown()
- func (m *AccountLockedLongerDurationDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedLongerDurationDenomRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedLongerDurationDenomRequest) XXX_Size() int
- func (m *AccountLockedLongerDurationDenomRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedLongerDurationDenomResponse
- func (*AccountLockedLongerDurationDenomResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedLongerDurationDenomResponse) GetLocks() []PeriodLock
- func (m *AccountLockedLongerDurationDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedLongerDurationDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedLongerDurationDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedLongerDurationDenomResponse) ProtoMessage()
- func (m *AccountLockedLongerDurationDenomResponse) Reset()
- func (m *AccountLockedLongerDurationDenomResponse) Size() (n int)
- func (m *AccountLockedLongerDurationDenomResponse) String() string
- func (m *AccountLockedLongerDurationDenomResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedLongerDurationDenomResponse) XXX_DiscardUnknown()
- func (m *AccountLockedLongerDurationDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedLongerDurationDenomResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedLongerDurationDenomResponse) XXX_Size() int
- func (m *AccountLockedLongerDurationDenomResponse) XXX_Unmarshal(b []byte) error
- type AccountLockedLongerDurationNotUnlockingOnlyRequest
- func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) GetDuration() time.Duration
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) GetOwner() string
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) ProtoMessage()
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Reset()
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Size() (n int)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) String() string
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_DiscardUnknown()
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Size() int
- func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedLongerDurationNotUnlockingOnlyResponse
- func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) GetLocks() []PeriodLock
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) ProtoMessage()
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Reset()
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Size() (n int)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) String() string
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_DiscardUnknown()
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Size() int
- func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Unmarshal(b []byte) error
- type AccountLockedLongerDurationRequest
- func (*AccountLockedLongerDurationRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedLongerDurationRequest) GetDuration() time.Duration
- func (m *AccountLockedLongerDurationRequest) GetOwner() string
- func (m *AccountLockedLongerDurationRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedLongerDurationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedLongerDurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedLongerDurationRequest) ProtoMessage()
- func (m *AccountLockedLongerDurationRequest) Reset()
- func (m *AccountLockedLongerDurationRequest) Size() (n int)
- func (m *AccountLockedLongerDurationRequest) String() string
- func (m *AccountLockedLongerDurationRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedLongerDurationRequest) XXX_DiscardUnknown()
- func (m *AccountLockedLongerDurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedLongerDurationRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedLongerDurationRequest) XXX_Size() int
- func (m *AccountLockedLongerDurationRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedLongerDurationResponse
- func (*AccountLockedLongerDurationResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedLongerDurationResponse) GetLocks() []PeriodLock
- func (m *AccountLockedLongerDurationResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedLongerDurationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedLongerDurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedLongerDurationResponse) ProtoMessage()
- func (m *AccountLockedLongerDurationResponse) Reset()
- func (m *AccountLockedLongerDurationResponse) Size() (n int)
- func (m *AccountLockedLongerDurationResponse) String() string
- func (m *AccountLockedLongerDurationResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedLongerDurationResponse) XXX_DiscardUnknown()
- func (m *AccountLockedLongerDurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedLongerDurationResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedLongerDurationResponse) XXX_Size() int
- func (m *AccountLockedLongerDurationResponse) XXX_Unmarshal(b []byte) error
- type AccountLockedPastTimeDenomRequest
- func (*AccountLockedPastTimeDenomRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedPastTimeDenomRequest) GetDenom() string
- func (m *AccountLockedPastTimeDenomRequest) GetOwner() string
- func (m *AccountLockedPastTimeDenomRequest) GetTimestamp() time.Time
- func (m *AccountLockedPastTimeDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedPastTimeDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedPastTimeDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedPastTimeDenomRequest) ProtoMessage()
- func (m *AccountLockedPastTimeDenomRequest) Reset()
- func (m *AccountLockedPastTimeDenomRequest) Size() (n int)
- func (m *AccountLockedPastTimeDenomRequest) String() string
- func (m *AccountLockedPastTimeDenomRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedPastTimeDenomRequest) XXX_DiscardUnknown()
- func (m *AccountLockedPastTimeDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedPastTimeDenomRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedPastTimeDenomRequest) XXX_Size() int
- func (m *AccountLockedPastTimeDenomRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedPastTimeDenomResponse
- func (*AccountLockedPastTimeDenomResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedPastTimeDenomResponse) GetLocks() []PeriodLock
- func (m *AccountLockedPastTimeDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedPastTimeDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedPastTimeDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedPastTimeDenomResponse) ProtoMessage()
- func (m *AccountLockedPastTimeDenomResponse) Reset()
- func (m *AccountLockedPastTimeDenomResponse) Size() (n int)
- func (m *AccountLockedPastTimeDenomResponse) String() string
- func (m *AccountLockedPastTimeDenomResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedPastTimeDenomResponse) XXX_DiscardUnknown()
- func (m *AccountLockedPastTimeDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedPastTimeDenomResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedPastTimeDenomResponse) XXX_Size() int
- func (m *AccountLockedPastTimeDenomResponse) XXX_Unmarshal(b []byte) error
- type AccountLockedPastTimeNotUnlockingOnlyRequest
- func (*AccountLockedPastTimeNotUnlockingOnlyRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) GetOwner() string
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) GetTimestamp() time.Time
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedPastTimeNotUnlockingOnlyRequest) ProtoMessage()
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Reset()
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Size() (n int)
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) String() string
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_DiscardUnknown()
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Size() int
- func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedPastTimeNotUnlockingOnlyResponse
- func (*AccountLockedPastTimeNotUnlockingOnlyResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) GetLocks() []PeriodLock
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedPastTimeNotUnlockingOnlyResponse) ProtoMessage()
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Reset()
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Size() (n int)
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) String() string
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_DiscardUnknown()
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Size() int
- func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Unmarshal(b []byte) error
- type AccountLockedPastTimeRequest
- func (*AccountLockedPastTimeRequest) Descriptor() ([]byte, []int)
- func (m *AccountLockedPastTimeRequest) GetOwner() string
- func (m *AccountLockedPastTimeRequest) GetTimestamp() time.Time
- func (m *AccountLockedPastTimeRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedPastTimeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedPastTimeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedPastTimeRequest) ProtoMessage()
- func (m *AccountLockedPastTimeRequest) Reset()
- func (m *AccountLockedPastTimeRequest) Size() (n int)
- func (m *AccountLockedPastTimeRequest) String() string
- func (m *AccountLockedPastTimeRequest) Unmarshal(dAtA []byte) error
- func (m *AccountLockedPastTimeRequest) XXX_DiscardUnknown()
- func (m *AccountLockedPastTimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedPastTimeRequest) XXX_Merge(src proto.Message)
- func (m *AccountLockedPastTimeRequest) XXX_Size() int
- func (m *AccountLockedPastTimeRequest) XXX_Unmarshal(b []byte) error
- type AccountLockedPastTimeResponse
- func (*AccountLockedPastTimeResponse) Descriptor() ([]byte, []int)
- func (m *AccountLockedPastTimeResponse) GetLocks() []PeriodLock
- func (m *AccountLockedPastTimeResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountLockedPastTimeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountLockedPastTimeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountLockedPastTimeResponse) ProtoMessage()
- func (m *AccountLockedPastTimeResponse) Reset()
- func (m *AccountLockedPastTimeResponse) Size() (n int)
- func (m *AccountLockedPastTimeResponse) String() string
- func (m *AccountLockedPastTimeResponse) Unmarshal(dAtA []byte) error
- func (m *AccountLockedPastTimeResponse) XXX_DiscardUnknown()
- func (m *AccountLockedPastTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountLockedPastTimeResponse) XXX_Merge(src proto.Message)
- func (m *AccountLockedPastTimeResponse) XXX_Size() int
- func (m *AccountLockedPastTimeResponse) XXX_Unmarshal(b []byte) error
- type AccountUnlockableCoinsRequest
- func (*AccountUnlockableCoinsRequest) Descriptor() ([]byte, []int)
- func (m *AccountUnlockableCoinsRequest) GetOwner() string
- func (m *AccountUnlockableCoinsRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountUnlockableCoinsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUnlockableCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUnlockableCoinsRequest) ProtoMessage()
- func (m *AccountUnlockableCoinsRequest) Reset()
- func (m *AccountUnlockableCoinsRequest) Size() (n int)
- func (m *AccountUnlockableCoinsRequest) String() string
- func (m *AccountUnlockableCoinsRequest) Unmarshal(dAtA []byte) error
- func (m *AccountUnlockableCoinsRequest) XXX_DiscardUnknown()
- func (m *AccountUnlockableCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUnlockableCoinsRequest) XXX_Merge(src proto.Message)
- func (m *AccountUnlockableCoinsRequest) XXX_Size() int
- func (m *AccountUnlockableCoinsRequest) XXX_Unmarshal(b []byte) error
- type AccountUnlockableCoinsResponse
- func (*AccountUnlockableCoinsResponse) Descriptor() ([]byte, []int)
- func (m *AccountUnlockableCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *AccountUnlockableCoinsResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountUnlockableCoinsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUnlockableCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUnlockableCoinsResponse) ProtoMessage()
- func (m *AccountUnlockableCoinsResponse) Reset()
- func (m *AccountUnlockableCoinsResponse) Size() (n int)
- func (m *AccountUnlockableCoinsResponse) String() string
- func (m *AccountUnlockableCoinsResponse) Unmarshal(dAtA []byte) error
- func (m *AccountUnlockableCoinsResponse) XXX_DiscardUnknown()
- func (m *AccountUnlockableCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUnlockableCoinsResponse) XXX_Merge(src proto.Message)
- func (m *AccountUnlockableCoinsResponse) XXX_Size() int
- func (m *AccountUnlockableCoinsResponse) XXX_Unmarshal(b []byte) error
- type AccountUnlockedBeforeTimeRequest
- func (*AccountUnlockedBeforeTimeRequest) Descriptor() ([]byte, []int)
- func (m *AccountUnlockedBeforeTimeRequest) GetOwner() string
- func (m *AccountUnlockedBeforeTimeRequest) GetTimestamp() time.Time
- func (m *AccountUnlockedBeforeTimeRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountUnlockedBeforeTimeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUnlockedBeforeTimeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUnlockedBeforeTimeRequest) ProtoMessage()
- func (m *AccountUnlockedBeforeTimeRequest) Reset()
- func (m *AccountUnlockedBeforeTimeRequest) Size() (n int)
- func (m *AccountUnlockedBeforeTimeRequest) String() string
- func (m *AccountUnlockedBeforeTimeRequest) Unmarshal(dAtA []byte) error
- func (m *AccountUnlockedBeforeTimeRequest) XXX_DiscardUnknown()
- func (m *AccountUnlockedBeforeTimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUnlockedBeforeTimeRequest) XXX_Merge(src proto.Message)
- func (m *AccountUnlockedBeforeTimeRequest) XXX_Size() int
- func (m *AccountUnlockedBeforeTimeRequest) XXX_Unmarshal(b []byte) error
- type AccountUnlockedBeforeTimeResponse
- func (*AccountUnlockedBeforeTimeResponse) Descriptor() ([]byte, []int)
- func (m *AccountUnlockedBeforeTimeResponse) GetLocks() []PeriodLock
- func (m *AccountUnlockedBeforeTimeResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountUnlockedBeforeTimeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUnlockedBeforeTimeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUnlockedBeforeTimeResponse) ProtoMessage()
- func (m *AccountUnlockedBeforeTimeResponse) Reset()
- func (m *AccountUnlockedBeforeTimeResponse) Size() (n int)
- func (m *AccountUnlockedBeforeTimeResponse) String() string
- func (m *AccountUnlockedBeforeTimeResponse) Unmarshal(dAtA []byte) error
- func (m *AccountUnlockedBeforeTimeResponse) XXX_DiscardUnknown()
- func (m *AccountUnlockedBeforeTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUnlockedBeforeTimeResponse) XXX_Merge(src proto.Message)
- func (m *AccountUnlockedBeforeTimeResponse) XXX_Size() int
- func (m *AccountUnlockedBeforeTimeResponse) XXX_Unmarshal(b []byte) error
- type AccountUnlockingCoinsRequest
- func (*AccountUnlockingCoinsRequest) Descriptor() ([]byte, []int)
- func (m *AccountUnlockingCoinsRequest) GetOwner() string
- func (m *AccountUnlockingCoinsRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountUnlockingCoinsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUnlockingCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUnlockingCoinsRequest) ProtoMessage()
- func (m *AccountUnlockingCoinsRequest) Reset()
- func (m *AccountUnlockingCoinsRequest) Size() (n int)
- func (m *AccountUnlockingCoinsRequest) String() string
- func (m *AccountUnlockingCoinsRequest) Unmarshal(dAtA []byte) error
- func (m *AccountUnlockingCoinsRequest) XXX_DiscardUnknown()
- func (m *AccountUnlockingCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUnlockingCoinsRequest) XXX_Merge(src proto.Message)
- func (m *AccountUnlockingCoinsRequest) XXX_Size() int
- func (m *AccountUnlockingCoinsRequest) XXX_Unmarshal(b []byte) error
- type AccountUnlockingCoinsResponse
- func (*AccountUnlockingCoinsResponse) Descriptor() ([]byte, []int)
- func (m *AccountUnlockingCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *AccountUnlockingCoinsResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountUnlockingCoinsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUnlockingCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUnlockingCoinsResponse) ProtoMessage()
- func (m *AccountUnlockingCoinsResponse) Reset()
- func (m *AccountUnlockingCoinsResponse) Size() (n int)
- func (m *AccountUnlockingCoinsResponse) String() string
- func (m *AccountUnlockingCoinsResponse) Unmarshal(dAtA []byte) error
- func (m *AccountUnlockingCoinsResponse) XXX_DiscardUnknown()
- func (m *AccountUnlockingCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUnlockingCoinsResponse) XXX_Merge(src proto.Message)
- func (m *AccountUnlockingCoinsResponse) XXX_Size() int
- func (m *AccountUnlockingCoinsResponse) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type CommunityPoolKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetLastLockId() uint64
- func (m *GenesisState) GetLocks() []PeriodLock
- func (m *GenesisState) GetSyntheticLocks() []SyntheticLock
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type LockI
- type LockQueryType
- type LockedDenomRequest
- func (*LockedDenomRequest) Descriptor() ([]byte, []int)
- func (m *LockedDenomRequest) GetDenom() string
- func (m *LockedDenomRequest) GetDuration() time.Duration
- func (m *LockedDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *LockedDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LockedDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LockedDenomRequest) ProtoMessage()
- func (m *LockedDenomRequest) Reset()
- func (m *LockedDenomRequest) Size() (n int)
- func (m *LockedDenomRequest) String() string
- func (m *LockedDenomRequest) Unmarshal(dAtA []byte) error
- func (m *LockedDenomRequest) XXX_DiscardUnknown()
- func (m *LockedDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockedDenomRequest) XXX_Merge(src proto.Message)
- func (m *LockedDenomRequest) XXX_Size() int
- func (m *LockedDenomRequest) XXX_Unmarshal(b []byte) error
- type LockedDenomResponse
- func (*LockedDenomResponse) Descriptor() ([]byte, []int)
- func (m *LockedDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *LockedDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LockedDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LockedDenomResponse) ProtoMessage()
- func (m *LockedDenomResponse) Reset()
- func (m *LockedDenomResponse) Size() (n int)
- func (m *LockedDenomResponse) String() string
- func (m *LockedDenomResponse) Unmarshal(dAtA []byte) error
- func (m *LockedDenomResponse) XXX_DiscardUnknown()
- func (m *LockedDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockedDenomResponse) XXX_Merge(src proto.Message)
- func (m *LockedDenomResponse) XXX_Size() int
- func (m *LockedDenomResponse) XXX_Unmarshal(b []byte) error
- type LockedRequest
- func (*LockedRequest) Descriptor() ([]byte, []int)
- func (m *LockedRequest) GetLockId() uint64
- func (m *LockedRequest) Marshal() (dAtA []byte, err error)
- func (m *LockedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LockedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LockedRequest) ProtoMessage()
- func (m *LockedRequest) Reset()
- func (m *LockedRequest) Size() (n int)
- func (m *LockedRequest) String() string
- func (m *LockedRequest) Unmarshal(dAtA []byte) error
- func (m *LockedRequest) XXX_DiscardUnknown()
- func (m *LockedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockedRequest) XXX_Merge(src proto.Message)
- func (m *LockedRequest) XXX_Size() int
- func (m *LockedRequest) XXX_Unmarshal(b []byte) error
- type LockedResponse
- func (*LockedResponse) Descriptor() ([]byte, []int)
- func (m *LockedResponse) GetLock() *PeriodLock
- func (m *LockedResponse) Marshal() (dAtA []byte, err error)
- func (m *LockedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LockedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LockedResponse) ProtoMessage()
- func (m *LockedResponse) Reset()
- func (m *LockedResponse) Size() (n int)
- func (m *LockedResponse) String() string
- func (m *LockedResponse) Unmarshal(dAtA []byte) error
- func (m *LockedResponse) XXX_DiscardUnknown()
- func (m *LockedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockedResponse) XXX_Merge(src proto.Message)
- func (m *LockedResponse) XXX_Size() int
- func (m *LockedResponse) XXX_Unmarshal(b []byte) error
- type LockupHooks
- type ModuleBalanceRequest
- func (*ModuleBalanceRequest) Descriptor() ([]byte, []int)
- func (m *ModuleBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *ModuleBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ModuleBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModuleBalanceRequest) ProtoMessage()
- func (m *ModuleBalanceRequest) Reset()
- func (m *ModuleBalanceRequest) Size() (n int)
- func (m *ModuleBalanceRequest) String() string
- func (m *ModuleBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *ModuleBalanceRequest) XXX_DiscardUnknown()
- func (m *ModuleBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModuleBalanceRequest) XXX_Merge(src proto.Message)
- func (m *ModuleBalanceRequest) XXX_Size() int
- func (m *ModuleBalanceRequest) XXX_Unmarshal(b []byte) error
- type ModuleBalanceResponse
- func (*ModuleBalanceResponse) Descriptor() ([]byte, []int)
- func (m *ModuleBalanceResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *ModuleBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *ModuleBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ModuleBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModuleBalanceResponse) ProtoMessage()
- func (m *ModuleBalanceResponse) Reset()
- func (m *ModuleBalanceResponse) Size() (n int)
- func (m *ModuleBalanceResponse) String() string
- func (m *ModuleBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *ModuleBalanceResponse) XXX_DiscardUnknown()
- func (m *ModuleBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModuleBalanceResponse) XXX_Merge(src proto.Message)
- func (m *ModuleBalanceResponse) XXX_Size() int
- func (m *ModuleBalanceResponse) XXX_Unmarshal(b []byte) error
- type ModuleLockedAmountRequest
- func (*ModuleLockedAmountRequest) Descriptor() ([]byte, []int)
- func (m *ModuleLockedAmountRequest) Marshal() (dAtA []byte, err error)
- func (m *ModuleLockedAmountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ModuleLockedAmountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModuleLockedAmountRequest) ProtoMessage()
- func (m *ModuleLockedAmountRequest) Reset()
- func (m *ModuleLockedAmountRequest) Size() (n int)
- func (m *ModuleLockedAmountRequest) String() string
- func (m *ModuleLockedAmountRequest) Unmarshal(dAtA []byte) error
- func (m *ModuleLockedAmountRequest) XXX_DiscardUnknown()
- func (m *ModuleLockedAmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModuleLockedAmountRequest) XXX_Merge(src proto.Message)
- func (m *ModuleLockedAmountRequest) XXX_Size() int
- func (m *ModuleLockedAmountRequest) XXX_Unmarshal(b []byte) error
- type ModuleLockedAmountResponse
- func (*ModuleLockedAmountResponse) Descriptor() ([]byte, []int)
- func (m *ModuleLockedAmountResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *ModuleLockedAmountResponse) Marshal() (dAtA []byte, err error)
- func (m *ModuleLockedAmountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ModuleLockedAmountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModuleLockedAmountResponse) ProtoMessage()
- func (m *ModuleLockedAmountResponse) Reset()
- func (m *ModuleLockedAmountResponse) Size() (n int)
- func (m *ModuleLockedAmountResponse) String() string
- func (m *ModuleLockedAmountResponse) Unmarshal(dAtA []byte) error
- func (m *ModuleLockedAmountResponse) XXX_DiscardUnknown()
- func (m *ModuleLockedAmountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModuleLockedAmountResponse) XXX_Merge(src proto.Message)
- func (m *ModuleLockedAmountResponse) XXX_Size() int
- func (m *ModuleLockedAmountResponse) XXX_Unmarshal(b []byte) error
- 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 (m MsgBeginUnlocking) GetSignBytes() []byte
- func (m 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 (MsgBeginUnlocking) Route() string
- func (m *MsgBeginUnlocking) Size() (n int)
- func (m *MsgBeginUnlocking) String() string
- func (MsgBeginUnlocking) Type() string
- func (m *MsgBeginUnlocking) Unmarshal(dAtA []byte) error
- func (m 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 (m MsgBeginUnlockingAll) GetSignBytes() []byte
- func (m 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 (MsgBeginUnlockingAll) Route() string
- func (m *MsgBeginUnlockingAll) Size() (n int)
- func (m *MsgBeginUnlockingAll) String() string
- func (MsgBeginUnlockingAll) Type() string
- func (m *MsgBeginUnlockingAll) Unmarshal(dAtA []byte) error
- func (m 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) 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 (m MsgExtendLockup) GetSignBytes() []byte
- func (m 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 (MsgExtendLockup) Route() string
- func (m *MsgExtendLockup) Size() (n int)
- func (m *MsgExtendLockup) String() string
- func (MsgExtendLockup) Type() string
- func (m *MsgExtendLockup) Unmarshal(dAtA []byte) error
- func (m 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 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 (m MsgLockTokens) GetSignBytes() []byte
- func (m 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 (MsgLockTokens) Route() string
- func (m *MsgLockTokens) Size() (n int)
- func (m *MsgLockTokens) String() string
- func (MsgLockTokens) Type() string
- func (m *MsgLockTokens) Unmarshal(dAtA []byte) error
- func (m 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 MultiLockupHooks
- func (h MultiLockupHooks) AfterAddTokensToLock(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins)
- func (h MultiLockupHooks) OnLockupExtend(ctx sdk.Context, lockID uint64, prevDuration, newDuration time.Duration)
- func (h MultiLockupHooks) OnStartUnlock(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins, ...)
- func (h MultiLockupHooks) OnTokenLocked(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins, ...)
- func (h MultiLockupHooks) OnTokenSlashed(ctx sdk.Context, lockID uint64, amount sdk.Coins)
- func (h MultiLockupHooks) OnTokenUnlocked(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins, ...)
- 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 (p PeriodLock) IsUnlocking() bool
- 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 (p PeriodLock) OwnerAddress() sdk.AccAddress
- func (*PeriodLock) ProtoMessage()
- func (m *PeriodLock) Reset()
- func (p PeriodLock) SingleCoin() (sdk.Coin, error)
- 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 QueryClient
- type QueryCondition
- func (*QueryCondition) Descriptor() ([]byte, []int)
- func (m *QueryCondition) GetDenom() string
- func (m *QueryCondition) GetDuration() time.Duration
- func (m *QueryCondition) GetLockQueryType() LockQueryType
- func (m *QueryCondition) GetTimestamp() time.Time
- func (m *QueryCondition) Marshal() (dAtA []byte, err error)
- func (m *QueryCondition) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCondition) ProtoMessage()
- func (m *QueryCondition) Reset()
- func (m *QueryCondition) Size() (n int)
- func (m *QueryCondition) String() string
- func (m *QueryCondition) Unmarshal(dAtA []byte) error
- func (m *QueryCondition) XXX_DiscardUnknown()
- func (m *QueryCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCondition) XXX_Merge(src proto.Message)
- func (m *QueryCondition) XXX_Size() int
- func (m *QueryCondition) XXX_Unmarshal(b []byte) error
- type QueryServer
- type SyntheticLock
- func (*SyntheticLock) Descriptor() ([]byte, []int)
- func (m *SyntheticLock) GetDuration() time.Duration
- func (m *SyntheticLock) GetEndTime() time.Time
- func (m *SyntheticLock) GetSynthDenom() string
- func (m *SyntheticLock) GetUnderlyingLockId() uint64
- func (p SyntheticLock) IsUnlocking() bool
- func (m *SyntheticLock) Marshal() (dAtA []byte, err error)
- func (m *SyntheticLock) MarshalTo(dAtA []byte) (int, error)
- func (m *SyntheticLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyntheticLock) ProtoMessage()
- func (m *SyntheticLock) Reset()
- func (m *SyntheticLock) Size() (n int)
- func (m *SyntheticLock) String() string
- func (m *SyntheticLock) Unmarshal(dAtA []byte) error
- func (m *SyntheticLock) XXX_DiscardUnknown()
- func (m *SyntheticLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyntheticLock) XXX_Merge(src proto.Message)
- func (m *SyntheticLock) XXX_Size() int
- func (m *SyntheticLock) XXX_Unmarshal(b []byte) error
- type SyntheticLockupsByLockupIDRequest
- func (*SyntheticLockupsByLockupIDRequest) Descriptor() ([]byte, []int)
- func (m *SyntheticLockupsByLockupIDRequest) GetLockId() uint64
- func (m *SyntheticLockupsByLockupIDRequest) Marshal() (dAtA []byte, err error)
- func (m *SyntheticLockupsByLockupIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SyntheticLockupsByLockupIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyntheticLockupsByLockupIDRequest) ProtoMessage()
- func (m *SyntheticLockupsByLockupIDRequest) Reset()
- func (m *SyntheticLockupsByLockupIDRequest) Size() (n int)
- func (m *SyntheticLockupsByLockupIDRequest) String() string
- func (m *SyntheticLockupsByLockupIDRequest) Unmarshal(dAtA []byte) error
- func (m *SyntheticLockupsByLockupIDRequest) XXX_DiscardUnknown()
- func (m *SyntheticLockupsByLockupIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyntheticLockupsByLockupIDRequest) XXX_Merge(src proto.Message)
- func (m *SyntheticLockupsByLockupIDRequest) XXX_Size() int
- func (m *SyntheticLockupsByLockupIDRequest) XXX_Unmarshal(b []byte) error
- type SyntheticLockupsByLockupIDResponse
- func (*SyntheticLockupsByLockupIDResponse) Descriptor() ([]byte, []int)
- func (m *SyntheticLockupsByLockupIDResponse) GetSyntheticLocks() []SyntheticLock
- func (m *SyntheticLockupsByLockupIDResponse) Marshal() (dAtA []byte, err error)
- func (m *SyntheticLockupsByLockupIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SyntheticLockupsByLockupIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyntheticLockupsByLockupIDResponse) ProtoMessage()
- func (m *SyntheticLockupsByLockupIDResponse) Reset()
- func (m *SyntheticLockupsByLockupIDResponse) Size() (n int)
- func (m *SyntheticLockupsByLockupIDResponse) String() string
- func (m *SyntheticLockupsByLockupIDResponse) Unmarshal(dAtA []byte) error
- func (m *SyntheticLockupsByLockupIDResponse) XXX_DiscardUnknown()
- func (m *SyntheticLockupsByLockupIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyntheticLockupsByLockupIDResponse) XXX_Merge(src proto.Message)
- func (m *SyntheticLockupsByLockupIDResponse) XXX_Size() int
- func (m *SyntheticLockupsByLockupIDResponse) 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) LockTokens(ctx context.Context, req *MsgLockTokens) (*MsgLockTokensResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AccountLockedCoins(ctx context.Context, req *AccountLockedCoinsRequest) (*AccountLockedCoinsResponse, error)
- func (*UnimplementedQueryServer) AccountLockedDuration(ctx context.Context, req *AccountLockedDurationRequest) (*AccountLockedDurationResponse, error)
- func (*UnimplementedQueryServer) AccountLockedLongerDuration(ctx context.Context, req *AccountLockedLongerDurationRequest) (*AccountLockedLongerDurationResponse, error)
- func (*UnimplementedQueryServer) AccountLockedLongerDurationDenom(ctx context.Context, req *AccountLockedLongerDurationDenomRequest) (*AccountLockedLongerDurationDenomResponse, error)
- func (*UnimplementedQueryServer) AccountLockedLongerDurationNotUnlockingOnly(ctx context.Context, req *AccountLockedLongerDurationNotUnlockingOnlyRequest) (*AccountLockedLongerDurationNotUnlockingOnlyResponse, error)
- func (*UnimplementedQueryServer) AccountLockedPastTime(ctx context.Context, req *AccountLockedPastTimeRequest) (*AccountLockedPastTimeResponse, error)
- func (*UnimplementedQueryServer) AccountLockedPastTimeDenom(ctx context.Context, req *AccountLockedPastTimeDenomRequest) (*AccountLockedPastTimeDenomResponse, error)
- func (*UnimplementedQueryServer) AccountLockedPastTimeNotUnlockingOnly(ctx context.Context, req *AccountLockedPastTimeNotUnlockingOnlyRequest) (*AccountLockedPastTimeNotUnlockingOnlyResponse, error)
- func (*UnimplementedQueryServer) AccountUnlockableCoins(ctx context.Context, req *AccountUnlockableCoinsRequest) (*AccountUnlockableCoinsResponse, error)
- func (*UnimplementedQueryServer) AccountUnlockedBeforeTime(ctx context.Context, req *AccountUnlockedBeforeTimeRequest) (*AccountUnlockedBeforeTimeResponse, error)
- func (*UnimplementedQueryServer) AccountUnlockingCoins(ctx context.Context, req *AccountUnlockingCoinsRequest) (*AccountUnlockingCoinsResponse, error)
- func (*UnimplementedQueryServer) LockedByID(ctx context.Context, req *LockedRequest) (*LockedResponse, error)
- func (*UnimplementedQueryServer) LockedDenom(ctx context.Context, req *LockedDenomRequest) (*LockedDenomResponse, error)
- func (*UnimplementedQueryServer) ModuleBalance(ctx context.Context, req *ModuleBalanceRequest) (*ModuleBalanceResponse, error)
- func (*UnimplementedQueryServer) ModuleLockedAmount(ctx context.Context, req *ModuleLockedAmountRequest) (*ModuleLockedAmountResponse, error)
- func (*UnimplementedQueryServer) SyntheticLockupsByLockupID(ctx context.Context, req *SyntheticLockupsByLockupIDRequest) (*SyntheticLockupsByLockupIDResponse, error)
Constants ¶
const ( TypeEvtLockTokens = "lock_tokens" TypeEvtAddTokensToLock = "add_tokens_to_lock" TypeEvtBeginUnlockAll = "begin_unlock_all" TypeEvtBeginUnlock = "begin_unlock" AttributePeriodLockID = "period_lock_id" AttributePeriodLockOwner = "owner" AttributePeriodLockAmount = "amount" AttributePeriodLockDuration = "duration" AttributePeriodLockUnlockTime = "unlock_time" AttributeUnlockedCoins = "unlocked_coins" )
event types.
const ( TypeMsgLockTokens = "lock_tokens" TypeMsgBeginUnlockingAll = "begin_unlocking_all" TypeMsgBeginUnlocking = "begin_unlocking" TypeMsgExtendLockup = "edit_lockup" )
constants.
const ( QueryModuleBalance = "module_balance" QueryModuleLockedAmount = "module_locked_amount" QueryAccountUnlockableCoins = "account_unlockable_coins" QueryAccountLockedCoins = "account_locked_coins" QueryAccountLockedPastTime = "account_locked_pastime" QueryAccountUnlockedBeforeTime = "account_unlocked_beforetime" QueryAccountLockedPastTimeDenom = "account_locked_denom_pastime" QueryLockedByID = "locked_by_id" QueryAccountLockedLongerDuration = "account_locked_longer_than_duration" QueryAccountLockedLongerDurationDenom = "account_locked_longer_than_duration_denom" QueryAccountLockedDuration = "account_locked_duration" )
query endpoints supported by the lockup Querier.
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index.
Variables ¶
var ( ErrNotLockOwner = sdkioerrors.Register(ModuleName, 1, "msg sender is not the owner of specified lock") ErrSyntheticLockupAlreadyExists = sdkioerrors.Register(ModuleName, 2, "synthetic lockup already exists for same lock and suffix") ErrSyntheticDurationLongerThanNative = sdkioerrors.Register(ModuleName, 3, "synthetic lockup duration should be shorter than native lockup duration") ErrLockupNotFound = sdkioerrors.Register(ModuleName, 4, "lockup not found") )
x/lockup module sentinel errors.
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleName defines the module name. ModuleName = "lockup" // StoreKey defines the primary module store key. StoreKey = ModuleName // RouterKey is the message route for slashing. RouterKey = ModuleName // QuerierRoute defines the module's query routing key. QuerierRoute = ModuleName // KeyLastLockID defines key to store lock ID used by last. KeyLastLockID = []byte{0x01} // KeyPrefixPeriodLock defines prefix to store period lock by ID. KeyPrefixPeriodLock = []byte{0x02} // KeyPrefixNotUnlocking defines prefix to query iterators which hasn't started unlocking. KeyPrefixNotUnlocking = []byte{0x03} // KeyPrefixUnlocking defines prefix to query iterators which has started unlocking. KeyPrefixUnlocking = []byte{0x04} // KeyPrefixTimestamp defines prefix key for timestamp iterator key. KeyPrefixTimestamp = []byte{0x05} // KeyPrefixDuration defines prefix key for duration iterator key. KeyPrefixDuration = []byte{0x06} // KeyPrefixLockDuration defines prefix for the iteration of lock IDs by duration. KeyPrefixLockDuration = []byte{0x07} // KeyPrefixAccountLockDuration defines prefix for the iteration of lock IDs by account and duration. KeyPrefixAccountLockDuration = []byte{0x08} // KeyPrefixDenomLockDuration defines prefix for the iteration of lock IDs by denom and duration. KeyPrefixDenomLockDuration = []byte{0x09} // KeyPrefixAccountDenomLockDuration defines prefix for the iteration of lock IDs by account, denomination and duration. KeyPrefixAccountDenomLockDuration = []byte{0x0A} // KeyPrefixLockTimestamp defines prefix for the iteration of lock IDs by timestamp. KeyPrefixLockTimestamp = []byte{0x0B} // KeyPrefixAccountLockTimestamp defines prefix for the iteration of lock IDs by account and timestamp. KeyPrefixAccountLockTimestamp = []byte{0x0C} // KeyPrefixDenomLockTimestamp defines prefix for the iteration of lock IDs by denom and timestamp. KeyPrefixDenomLockTimestamp = []byte{0x0D} // KeyPrefixAccountDenomLockTimestamp defines prefix for the iteration of lock IDs by account, denomination and timestamp. KeyPrefixAccountDenomLockTimestamp = []byte{0x0E} // KeyPrefixPeriodLock defines prefix to store synthetic lockup by lock ID and synthetic suffix. KeyPrefixSyntheticLockup = []byte{0x0F} // KeyPrefixSyntheticLockTimestamp defines prefix for the iteration of synthetic lockups by timestamp. KeyPrefixSyntheticLockTimestamp = []byte{0x10} // KeyPrefixLockAccumulation defines prefix for the lock accumulation store. KeyPrefixLockAccumulation = []byte{0x20} // KeyIndexSeparator defines separator between keys when combine, it should be one that is not used in denom expression. KeyIndexSeparator = []byte{0xFF} )
var ( ErrInvalidLengthLock = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLock = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLock = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
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 LockQueryType_name = map[int32]string{
0: "ByDuration",
1: "ByTime",
}
var LockQueryType_value = map[string]int32{
"ByDuration": 0,
"ByTime": 1,
}
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func IsSyntheticDenom ¶
func NativeDenom ¶
quick fix for getting native denom from synthetic denom.
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SumLocksByDenom ¶
func SumLocksByDenom(locks []PeriodLock, denom string) sdkmath.Int
Types ¶
type AccountKeeper ¶
type AccountLockedCoinsRequest ¶
type AccountLockedCoinsRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
}
func (*AccountLockedCoinsRequest) Descriptor ¶
func (*AccountLockedCoinsRequest) Descriptor() ([]byte, []int)
func (*AccountLockedCoinsRequest) GetOwner ¶
func (m *AccountLockedCoinsRequest) GetOwner() string
func (*AccountLockedCoinsRequest) Marshal ¶
func (m *AccountLockedCoinsRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedCoinsRequest) MarshalTo ¶
func (m *AccountLockedCoinsRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedCoinsRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedCoinsRequest) ProtoMessage ¶
func (*AccountLockedCoinsRequest) ProtoMessage()
func (*AccountLockedCoinsRequest) Reset ¶
func (m *AccountLockedCoinsRequest) Reset()
func (*AccountLockedCoinsRequest) Size ¶
func (m *AccountLockedCoinsRequest) Size() (n int)
func (*AccountLockedCoinsRequest) String ¶
func (m *AccountLockedCoinsRequest) String() string
func (*AccountLockedCoinsRequest) Unmarshal ¶
func (m *AccountLockedCoinsRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedCoinsRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedCoinsRequest) XXX_DiscardUnknown()
func (*AccountLockedCoinsRequest) XXX_Marshal ¶
func (m *AccountLockedCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedCoinsRequest) XXX_Merge ¶
func (m *AccountLockedCoinsRequest) XXX_Merge(src proto.Message)
func (*AccountLockedCoinsRequest) XXX_Size ¶
func (m *AccountLockedCoinsRequest) XXX_Size() int
func (*AccountLockedCoinsRequest) XXX_Unmarshal ¶
func (m *AccountLockedCoinsRequest) XXX_Unmarshal(b []byte) error
type AccountLockedCoinsResponse ¶
type AccountLockedCoinsResponse struct {
Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}
func (*AccountLockedCoinsResponse) Descriptor ¶
func (*AccountLockedCoinsResponse) Descriptor() ([]byte, []int)
func (*AccountLockedCoinsResponse) GetCoins ¶
func (m *AccountLockedCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*AccountLockedCoinsResponse) Marshal ¶
func (m *AccountLockedCoinsResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedCoinsResponse) MarshalTo ¶
func (m *AccountLockedCoinsResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedCoinsResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedCoinsResponse) ProtoMessage ¶
func (*AccountLockedCoinsResponse) ProtoMessage()
func (*AccountLockedCoinsResponse) Reset ¶
func (m *AccountLockedCoinsResponse) Reset()
func (*AccountLockedCoinsResponse) Size ¶
func (m *AccountLockedCoinsResponse) Size() (n int)
func (*AccountLockedCoinsResponse) String ¶
func (m *AccountLockedCoinsResponse) String() string
func (*AccountLockedCoinsResponse) Unmarshal ¶
func (m *AccountLockedCoinsResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedCoinsResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedCoinsResponse) XXX_DiscardUnknown()
func (*AccountLockedCoinsResponse) XXX_Marshal ¶
func (m *AccountLockedCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedCoinsResponse) XXX_Merge ¶
func (m *AccountLockedCoinsResponse) XXX_Merge(src proto.Message)
func (*AccountLockedCoinsResponse) XXX_Size ¶
func (m *AccountLockedCoinsResponse) XXX_Size() int
func (*AccountLockedCoinsResponse) XXX_Unmarshal ¶
func (m *AccountLockedCoinsResponse) XXX_Unmarshal(b []byte) error
type AccountLockedDurationRequest ¶
type AccountLockedDurationRequest 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" yaml:"duration"` }
func (*AccountLockedDurationRequest) Descriptor ¶
func (*AccountLockedDurationRequest) Descriptor() ([]byte, []int)
func (*AccountLockedDurationRequest) GetDuration ¶
func (m *AccountLockedDurationRequest) GetDuration() time.Duration
func (*AccountLockedDurationRequest) GetOwner ¶
func (m *AccountLockedDurationRequest) GetOwner() string
func (*AccountLockedDurationRequest) Marshal ¶
func (m *AccountLockedDurationRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedDurationRequest) MarshalTo ¶
func (m *AccountLockedDurationRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedDurationRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedDurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedDurationRequest) ProtoMessage ¶
func (*AccountLockedDurationRequest) ProtoMessage()
func (*AccountLockedDurationRequest) Reset ¶
func (m *AccountLockedDurationRequest) Reset()
func (*AccountLockedDurationRequest) Size ¶
func (m *AccountLockedDurationRequest) Size() (n int)
func (*AccountLockedDurationRequest) String ¶
func (m *AccountLockedDurationRequest) String() string
func (*AccountLockedDurationRequest) Unmarshal ¶
func (m *AccountLockedDurationRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedDurationRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedDurationRequest) XXX_DiscardUnknown()
func (*AccountLockedDurationRequest) XXX_Marshal ¶
func (m *AccountLockedDurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedDurationRequest) XXX_Merge ¶
func (m *AccountLockedDurationRequest) XXX_Merge(src proto.Message)
func (*AccountLockedDurationRequest) XXX_Size ¶
func (m *AccountLockedDurationRequest) XXX_Size() int
func (*AccountLockedDurationRequest) XXX_Unmarshal ¶
func (m *AccountLockedDurationRequest) XXX_Unmarshal(b []byte) error
type AccountLockedDurationResponse ¶
type AccountLockedDurationResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountLockedDurationResponse) Descriptor ¶
func (*AccountLockedDurationResponse) Descriptor() ([]byte, []int)
func (*AccountLockedDurationResponse) GetLocks ¶
func (m *AccountLockedDurationResponse) GetLocks() []PeriodLock
func (*AccountLockedDurationResponse) Marshal ¶
func (m *AccountLockedDurationResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedDurationResponse) MarshalTo ¶
func (m *AccountLockedDurationResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedDurationResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedDurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedDurationResponse) ProtoMessage ¶
func (*AccountLockedDurationResponse) ProtoMessage()
func (*AccountLockedDurationResponse) Reset ¶
func (m *AccountLockedDurationResponse) Reset()
func (*AccountLockedDurationResponse) Size ¶
func (m *AccountLockedDurationResponse) Size() (n int)
func (*AccountLockedDurationResponse) String ¶
func (m *AccountLockedDurationResponse) String() string
func (*AccountLockedDurationResponse) Unmarshal ¶
func (m *AccountLockedDurationResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedDurationResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedDurationResponse) XXX_DiscardUnknown()
func (*AccountLockedDurationResponse) XXX_Marshal ¶
func (m *AccountLockedDurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedDurationResponse) XXX_Merge ¶
func (m *AccountLockedDurationResponse) XXX_Merge(src proto.Message)
func (*AccountLockedDurationResponse) XXX_Size ¶
func (m *AccountLockedDurationResponse) XXX_Size() int
func (*AccountLockedDurationResponse) XXX_Unmarshal ¶
func (m *AccountLockedDurationResponse) XXX_Unmarshal(b []byte) error
type AccountLockedLongerDurationDenomRequest ¶
type AccountLockedLongerDurationDenomRequest 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" yaml:"duration"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*AccountLockedLongerDurationDenomRequest) Descriptor ¶
func (*AccountLockedLongerDurationDenomRequest) Descriptor() ([]byte, []int)
func (*AccountLockedLongerDurationDenomRequest) GetDenom ¶
func (m *AccountLockedLongerDurationDenomRequest) GetDenom() string
func (*AccountLockedLongerDurationDenomRequest) GetDuration ¶
func (m *AccountLockedLongerDurationDenomRequest) GetDuration() time.Duration
func (*AccountLockedLongerDurationDenomRequest) GetOwner ¶
func (m *AccountLockedLongerDurationDenomRequest) GetOwner() string
func (*AccountLockedLongerDurationDenomRequest) Marshal ¶
func (m *AccountLockedLongerDurationDenomRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedLongerDurationDenomRequest) MarshalTo ¶
func (m *AccountLockedLongerDurationDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationDenomRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedLongerDurationDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationDenomRequest) ProtoMessage ¶
func (*AccountLockedLongerDurationDenomRequest) ProtoMessage()
func (*AccountLockedLongerDurationDenomRequest) Reset ¶
func (m *AccountLockedLongerDurationDenomRequest) Reset()
func (*AccountLockedLongerDurationDenomRequest) Size ¶
func (m *AccountLockedLongerDurationDenomRequest) Size() (n int)
func (*AccountLockedLongerDurationDenomRequest) String ¶
func (m *AccountLockedLongerDurationDenomRequest) String() string
func (*AccountLockedLongerDurationDenomRequest) Unmarshal ¶
func (m *AccountLockedLongerDurationDenomRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedLongerDurationDenomRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedLongerDurationDenomRequest) XXX_DiscardUnknown()
func (*AccountLockedLongerDurationDenomRequest) XXX_Marshal ¶
func (m *AccountLockedLongerDurationDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedLongerDurationDenomRequest) XXX_Merge ¶
func (m *AccountLockedLongerDurationDenomRequest) XXX_Merge(src proto.Message)
func (*AccountLockedLongerDurationDenomRequest) XXX_Size ¶
func (m *AccountLockedLongerDurationDenomRequest) XXX_Size() int
func (*AccountLockedLongerDurationDenomRequest) XXX_Unmarshal ¶
func (m *AccountLockedLongerDurationDenomRequest) XXX_Unmarshal(b []byte) error
type AccountLockedLongerDurationDenomResponse ¶
type AccountLockedLongerDurationDenomResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountLockedLongerDurationDenomResponse) Descriptor ¶
func (*AccountLockedLongerDurationDenomResponse) Descriptor() ([]byte, []int)
func (*AccountLockedLongerDurationDenomResponse) GetLocks ¶
func (m *AccountLockedLongerDurationDenomResponse) GetLocks() []PeriodLock
func (*AccountLockedLongerDurationDenomResponse) Marshal ¶
func (m *AccountLockedLongerDurationDenomResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedLongerDurationDenomResponse) MarshalTo ¶
func (m *AccountLockedLongerDurationDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationDenomResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedLongerDurationDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationDenomResponse) ProtoMessage ¶
func (*AccountLockedLongerDurationDenomResponse) ProtoMessage()
func (*AccountLockedLongerDurationDenomResponse) Reset ¶
func (m *AccountLockedLongerDurationDenomResponse) Reset()
func (*AccountLockedLongerDurationDenomResponse) Size ¶
func (m *AccountLockedLongerDurationDenomResponse) Size() (n int)
func (*AccountLockedLongerDurationDenomResponse) String ¶
func (m *AccountLockedLongerDurationDenomResponse) String() string
func (*AccountLockedLongerDurationDenomResponse) Unmarshal ¶
func (m *AccountLockedLongerDurationDenomResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedLongerDurationDenomResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedLongerDurationDenomResponse) XXX_DiscardUnknown()
func (*AccountLockedLongerDurationDenomResponse) XXX_Marshal ¶
func (m *AccountLockedLongerDurationDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedLongerDurationDenomResponse) XXX_Merge ¶
func (m *AccountLockedLongerDurationDenomResponse) XXX_Merge(src proto.Message)
func (*AccountLockedLongerDurationDenomResponse) XXX_Size ¶
func (m *AccountLockedLongerDurationDenomResponse) XXX_Size() int
func (*AccountLockedLongerDurationDenomResponse) XXX_Unmarshal ¶
func (m *AccountLockedLongerDurationDenomResponse) XXX_Unmarshal(b []byte) error
type AccountLockedLongerDurationNotUnlockingOnlyRequest ¶
type AccountLockedLongerDurationNotUnlockingOnlyRequest 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" yaml:"duration"` }
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) Descriptor ¶
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) Descriptor() ([]byte, []int)
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) GetDuration ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) GetDuration() time.Duration
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) GetOwner ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) GetOwner() string
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) Marshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) MarshalTo ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) ProtoMessage ¶
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) ProtoMessage()
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) Reset ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Reset()
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) Size ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Size() (n int)
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) String ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) String() string
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) Unmarshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_DiscardUnknown()
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Marshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Merge ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Merge(src proto.Message)
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Size ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Size() int
func (*AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Unmarshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyRequest) XXX_Unmarshal(b []byte) error
type AccountLockedLongerDurationNotUnlockingOnlyResponse ¶
type AccountLockedLongerDurationNotUnlockingOnlyResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) Descriptor ¶
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) Descriptor() ([]byte, []int)
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) GetLocks ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) GetLocks() []PeriodLock
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) Marshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) MarshalTo ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) ProtoMessage ¶
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) ProtoMessage()
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) Reset ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Reset()
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) Size ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Size() (n int)
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) String ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) String() string
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) Unmarshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_DiscardUnknown()
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Marshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Merge ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Merge(src proto.Message)
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Size ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Size() int
func (*AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Unmarshal ¶
func (m *AccountLockedLongerDurationNotUnlockingOnlyResponse) XXX_Unmarshal(b []byte) error
type AccountLockedLongerDurationRequest ¶
type AccountLockedLongerDurationRequest 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" yaml:"duration"` }
func (*AccountLockedLongerDurationRequest) Descriptor ¶
func (*AccountLockedLongerDurationRequest) Descriptor() ([]byte, []int)
func (*AccountLockedLongerDurationRequest) GetDuration ¶
func (m *AccountLockedLongerDurationRequest) GetDuration() time.Duration
func (*AccountLockedLongerDurationRequest) GetOwner ¶
func (m *AccountLockedLongerDurationRequest) GetOwner() string
func (*AccountLockedLongerDurationRequest) Marshal ¶
func (m *AccountLockedLongerDurationRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedLongerDurationRequest) MarshalTo ¶
func (m *AccountLockedLongerDurationRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedLongerDurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationRequest) ProtoMessage ¶
func (*AccountLockedLongerDurationRequest) ProtoMessage()
func (*AccountLockedLongerDurationRequest) Reset ¶
func (m *AccountLockedLongerDurationRequest) Reset()
func (*AccountLockedLongerDurationRequest) Size ¶
func (m *AccountLockedLongerDurationRequest) Size() (n int)
func (*AccountLockedLongerDurationRequest) String ¶
func (m *AccountLockedLongerDurationRequest) String() string
func (*AccountLockedLongerDurationRequest) Unmarshal ¶
func (m *AccountLockedLongerDurationRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedLongerDurationRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedLongerDurationRequest) XXX_DiscardUnknown()
func (*AccountLockedLongerDurationRequest) XXX_Marshal ¶
func (m *AccountLockedLongerDurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedLongerDurationRequest) XXX_Merge ¶
func (m *AccountLockedLongerDurationRequest) XXX_Merge(src proto.Message)
func (*AccountLockedLongerDurationRequest) XXX_Size ¶
func (m *AccountLockedLongerDurationRequest) XXX_Size() int
func (*AccountLockedLongerDurationRequest) XXX_Unmarshal ¶
func (m *AccountLockedLongerDurationRequest) XXX_Unmarshal(b []byte) error
type AccountLockedLongerDurationResponse ¶
type AccountLockedLongerDurationResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountLockedLongerDurationResponse) Descriptor ¶
func (*AccountLockedLongerDurationResponse) Descriptor() ([]byte, []int)
func (*AccountLockedLongerDurationResponse) GetLocks ¶
func (m *AccountLockedLongerDurationResponse) GetLocks() []PeriodLock
func (*AccountLockedLongerDurationResponse) Marshal ¶
func (m *AccountLockedLongerDurationResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedLongerDurationResponse) MarshalTo ¶
func (m *AccountLockedLongerDurationResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedLongerDurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedLongerDurationResponse) ProtoMessage ¶
func (*AccountLockedLongerDurationResponse) ProtoMessage()
func (*AccountLockedLongerDurationResponse) Reset ¶
func (m *AccountLockedLongerDurationResponse) Reset()
func (*AccountLockedLongerDurationResponse) Size ¶
func (m *AccountLockedLongerDurationResponse) Size() (n int)
func (*AccountLockedLongerDurationResponse) String ¶
func (m *AccountLockedLongerDurationResponse) String() string
func (*AccountLockedLongerDurationResponse) Unmarshal ¶
func (m *AccountLockedLongerDurationResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedLongerDurationResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedLongerDurationResponse) XXX_DiscardUnknown()
func (*AccountLockedLongerDurationResponse) XXX_Marshal ¶
func (m *AccountLockedLongerDurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedLongerDurationResponse) XXX_Merge ¶
func (m *AccountLockedLongerDurationResponse) XXX_Merge(src proto.Message)
func (*AccountLockedLongerDurationResponse) XXX_Size ¶
func (m *AccountLockedLongerDurationResponse) XXX_Size() int
func (*AccountLockedLongerDurationResponse) XXX_Unmarshal ¶
func (m *AccountLockedLongerDurationResponse) XXX_Unmarshal(b []byte) error
type AccountLockedPastTimeDenomRequest ¶
type AccountLockedPastTimeDenomRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` Timestamp time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp" yaml:"timestamp"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*AccountLockedPastTimeDenomRequest) Descriptor ¶
func (*AccountLockedPastTimeDenomRequest) Descriptor() ([]byte, []int)
func (*AccountLockedPastTimeDenomRequest) GetDenom ¶
func (m *AccountLockedPastTimeDenomRequest) GetDenom() string
func (*AccountLockedPastTimeDenomRequest) GetOwner ¶
func (m *AccountLockedPastTimeDenomRequest) GetOwner() string
func (*AccountLockedPastTimeDenomRequest) GetTimestamp ¶
func (m *AccountLockedPastTimeDenomRequest) GetTimestamp() time.Time
func (*AccountLockedPastTimeDenomRequest) Marshal ¶
func (m *AccountLockedPastTimeDenomRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedPastTimeDenomRequest) MarshalTo ¶
func (m *AccountLockedPastTimeDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedPastTimeDenomRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedPastTimeDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedPastTimeDenomRequest) ProtoMessage ¶
func (*AccountLockedPastTimeDenomRequest) ProtoMessage()
func (*AccountLockedPastTimeDenomRequest) Reset ¶
func (m *AccountLockedPastTimeDenomRequest) Reset()
func (*AccountLockedPastTimeDenomRequest) Size ¶
func (m *AccountLockedPastTimeDenomRequest) Size() (n int)
func (*AccountLockedPastTimeDenomRequest) String ¶
func (m *AccountLockedPastTimeDenomRequest) String() string
func (*AccountLockedPastTimeDenomRequest) Unmarshal ¶
func (m *AccountLockedPastTimeDenomRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedPastTimeDenomRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedPastTimeDenomRequest) XXX_DiscardUnknown()
func (*AccountLockedPastTimeDenomRequest) XXX_Marshal ¶
func (m *AccountLockedPastTimeDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedPastTimeDenomRequest) XXX_Merge ¶
func (m *AccountLockedPastTimeDenomRequest) XXX_Merge(src proto.Message)
func (*AccountLockedPastTimeDenomRequest) XXX_Size ¶
func (m *AccountLockedPastTimeDenomRequest) XXX_Size() int
func (*AccountLockedPastTimeDenomRequest) XXX_Unmarshal ¶
func (m *AccountLockedPastTimeDenomRequest) XXX_Unmarshal(b []byte) error
type AccountLockedPastTimeDenomResponse ¶
type AccountLockedPastTimeDenomResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountLockedPastTimeDenomResponse) Descriptor ¶
func (*AccountLockedPastTimeDenomResponse) Descriptor() ([]byte, []int)
func (*AccountLockedPastTimeDenomResponse) GetLocks ¶
func (m *AccountLockedPastTimeDenomResponse) GetLocks() []PeriodLock
func (*AccountLockedPastTimeDenomResponse) Marshal ¶
func (m *AccountLockedPastTimeDenomResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedPastTimeDenomResponse) MarshalTo ¶
func (m *AccountLockedPastTimeDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedPastTimeDenomResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedPastTimeDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedPastTimeDenomResponse) ProtoMessage ¶
func (*AccountLockedPastTimeDenomResponse) ProtoMessage()
func (*AccountLockedPastTimeDenomResponse) Reset ¶
func (m *AccountLockedPastTimeDenomResponse) Reset()
func (*AccountLockedPastTimeDenomResponse) Size ¶
func (m *AccountLockedPastTimeDenomResponse) Size() (n int)
func (*AccountLockedPastTimeDenomResponse) String ¶
func (m *AccountLockedPastTimeDenomResponse) String() string
func (*AccountLockedPastTimeDenomResponse) Unmarshal ¶
func (m *AccountLockedPastTimeDenomResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedPastTimeDenomResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedPastTimeDenomResponse) XXX_DiscardUnknown()
func (*AccountLockedPastTimeDenomResponse) XXX_Marshal ¶
func (m *AccountLockedPastTimeDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedPastTimeDenomResponse) XXX_Merge ¶
func (m *AccountLockedPastTimeDenomResponse) XXX_Merge(src proto.Message)
func (*AccountLockedPastTimeDenomResponse) XXX_Size ¶
func (m *AccountLockedPastTimeDenomResponse) XXX_Size() int
func (*AccountLockedPastTimeDenomResponse) XXX_Unmarshal ¶
func (m *AccountLockedPastTimeDenomResponse) XXX_Unmarshal(b []byte) error
type AccountLockedPastTimeNotUnlockingOnlyRequest ¶
type AccountLockedPastTimeNotUnlockingOnlyRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` Timestamp time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp" yaml:"timestamp"` }
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) Descriptor ¶
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) Descriptor() ([]byte, []int)
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) GetOwner ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) GetOwner() string
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) GetTimestamp ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) GetTimestamp() time.Time
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) Marshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) MarshalTo ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) ProtoMessage ¶
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) ProtoMessage()
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) Reset ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Reset()
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) Size ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Size() (n int)
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) String ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) String() string
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) Unmarshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_DiscardUnknown()
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Marshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Merge ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Merge(src proto.Message)
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Size ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Size() int
func (*AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Unmarshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyRequest) XXX_Unmarshal(b []byte) error
type AccountLockedPastTimeNotUnlockingOnlyResponse ¶
type AccountLockedPastTimeNotUnlockingOnlyResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) Descriptor ¶
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) Descriptor() ([]byte, []int)
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) GetLocks ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) GetLocks() []PeriodLock
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) Marshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) MarshalTo ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) ProtoMessage ¶
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) ProtoMessage()
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) Reset ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Reset()
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) Size ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Size() (n int)
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) String ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) String() string
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) Unmarshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_DiscardUnknown()
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Marshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Merge ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Merge(src proto.Message)
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Size ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Size() int
func (*AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Unmarshal ¶
func (m *AccountLockedPastTimeNotUnlockingOnlyResponse) XXX_Unmarshal(b []byte) error
type AccountLockedPastTimeRequest ¶
type AccountLockedPastTimeRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` Timestamp time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp" yaml:"timestamp"` }
func (*AccountLockedPastTimeRequest) Descriptor ¶
func (*AccountLockedPastTimeRequest) Descriptor() ([]byte, []int)
func (*AccountLockedPastTimeRequest) GetOwner ¶
func (m *AccountLockedPastTimeRequest) GetOwner() string
func (*AccountLockedPastTimeRequest) GetTimestamp ¶
func (m *AccountLockedPastTimeRequest) GetTimestamp() time.Time
func (*AccountLockedPastTimeRequest) Marshal ¶
func (m *AccountLockedPastTimeRequest) Marshal() (dAtA []byte, err error)
func (*AccountLockedPastTimeRequest) MarshalTo ¶
func (m *AccountLockedPastTimeRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedPastTimeRequest) MarshalToSizedBuffer ¶
func (m *AccountLockedPastTimeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedPastTimeRequest) ProtoMessage ¶
func (*AccountLockedPastTimeRequest) ProtoMessage()
func (*AccountLockedPastTimeRequest) Reset ¶
func (m *AccountLockedPastTimeRequest) Reset()
func (*AccountLockedPastTimeRequest) Size ¶
func (m *AccountLockedPastTimeRequest) Size() (n int)
func (*AccountLockedPastTimeRequest) String ¶
func (m *AccountLockedPastTimeRequest) String() string
func (*AccountLockedPastTimeRequest) Unmarshal ¶
func (m *AccountLockedPastTimeRequest) Unmarshal(dAtA []byte) error
func (*AccountLockedPastTimeRequest) XXX_DiscardUnknown ¶
func (m *AccountLockedPastTimeRequest) XXX_DiscardUnknown()
func (*AccountLockedPastTimeRequest) XXX_Marshal ¶
func (m *AccountLockedPastTimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedPastTimeRequest) XXX_Merge ¶
func (m *AccountLockedPastTimeRequest) XXX_Merge(src proto.Message)
func (*AccountLockedPastTimeRequest) XXX_Size ¶
func (m *AccountLockedPastTimeRequest) XXX_Size() int
func (*AccountLockedPastTimeRequest) XXX_Unmarshal ¶
func (m *AccountLockedPastTimeRequest) XXX_Unmarshal(b []byte) error
type AccountLockedPastTimeResponse ¶
type AccountLockedPastTimeResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountLockedPastTimeResponse) Descriptor ¶
func (*AccountLockedPastTimeResponse) Descriptor() ([]byte, []int)
func (*AccountLockedPastTimeResponse) GetLocks ¶
func (m *AccountLockedPastTimeResponse) GetLocks() []PeriodLock
func (*AccountLockedPastTimeResponse) Marshal ¶
func (m *AccountLockedPastTimeResponse) Marshal() (dAtA []byte, err error)
func (*AccountLockedPastTimeResponse) MarshalTo ¶
func (m *AccountLockedPastTimeResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountLockedPastTimeResponse) MarshalToSizedBuffer ¶
func (m *AccountLockedPastTimeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountLockedPastTimeResponse) ProtoMessage ¶
func (*AccountLockedPastTimeResponse) ProtoMessage()
func (*AccountLockedPastTimeResponse) Reset ¶
func (m *AccountLockedPastTimeResponse) Reset()
func (*AccountLockedPastTimeResponse) Size ¶
func (m *AccountLockedPastTimeResponse) Size() (n int)
func (*AccountLockedPastTimeResponse) String ¶
func (m *AccountLockedPastTimeResponse) String() string
func (*AccountLockedPastTimeResponse) Unmarshal ¶
func (m *AccountLockedPastTimeResponse) Unmarshal(dAtA []byte) error
func (*AccountLockedPastTimeResponse) XXX_DiscardUnknown ¶
func (m *AccountLockedPastTimeResponse) XXX_DiscardUnknown()
func (*AccountLockedPastTimeResponse) XXX_Marshal ¶
func (m *AccountLockedPastTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountLockedPastTimeResponse) XXX_Merge ¶
func (m *AccountLockedPastTimeResponse) XXX_Merge(src proto.Message)
func (*AccountLockedPastTimeResponse) XXX_Size ¶
func (m *AccountLockedPastTimeResponse) XXX_Size() int
func (*AccountLockedPastTimeResponse) XXX_Unmarshal ¶
func (m *AccountLockedPastTimeResponse) XXX_Unmarshal(b []byte) error
type AccountUnlockableCoinsRequest ¶
type AccountUnlockableCoinsRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
}
func (*AccountUnlockableCoinsRequest) Descriptor ¶
func (*AccountUnlockableCoinsRequest) Descriptor() ([]byte, []int)
func (*AccountUnlockableCoinsRequest) GetOwner ¶
func (m *AccountUnlockableCoinsRequest) GetOwner() string
func (*AccountUnlockableCoinsRequest) Marshal ¶
func (m *AccountUnlockableCoinsRequest) Marshal() (dAtA []byte, err error)
func (*AccountUnlockableCoinsRequest) MarshalTo ¶
func (m *AccountUnlockableCoinsRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountUnlockableCoinsRequest) MarshalToSizedBuffer ¶
func (m *AccountUnlockableCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUnlockableCoinsRequest) ProtoMessage ¶
func (*AccountUnlockableCoinsRequest) ProtoMessage()
func (*AccountUnlockableCoinsRequest) Reset ¶
func (m *AccountUnlockableCoinsRequest) Reset()
func (*AccountUnlockableCoinsRequest) Size ¶
func (m *AccountUnlockableCoinsRequest) Size() (n int)
func (*AccountUnlockableCoinsRequest) String ¶
func (m *AccountUnlockableCoinsRequest) String() string
func (*AccountUnlockableCoinsRequest) Unmarshal ¶
func (m *AccountUnlockableCoinsRequest) Unmarshal(dAtA []byte) error
func (*AccountUnlockableCoinsRequest) XXX_DiscardUnknown ¶
func (m *AccountUnlockableCoinsRequest) XXX_DiscardUnknown()
func (*AccountUnlockableCoinsRequest) XXX_Marshal ¶
func (m *AccountUnlockableCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUnlockableCoinsRequest) XXX_Merge ¶
func (m *AccountUnlockableCoinsRequest) XXX_Merge(src proto.Message)
func (*AccountUnlockableCoinsRequest) XXX_Size ¶
func (m *AccountUnlockableCoinsRequest) XXX_Size() int
func (*AccountUnlockableCoinsRequest) XXX_Unmarshal ¶
func (m *AccountUnlockableCoinsRequest) XXX_Unmarshal(b []byte) error
type AccountUnlockableCoinsResponse ¶
type AccountUnlockableCoinsResponse struct {
Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}
func (*AccountUnlockableCoinsResponse) Descriptor ¶
func (*AccountUnlockableCoinsResponse) Descriptor() ([]byte, []int)
func (*AccountUnlockableCoinsResponse) GetCoins ¶
func (m *AccountUnlockableCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*AccountUnlockableCoinsResponse) Marshal ¶
func (m *AccountUnlockableCoinsResponse) Marshal() (dAtA []byte, err error)
func (*AccountUnlockableCoinsResponse) MarshalTo ¶
func (m *AccountUnlockableCoinsResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountUnlockableCoinsResponse) MarshalToSizedBuffer ¶
func (m *AccountUnlockableCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUnlockableCoinsResponse) ProtoMessage ¶
func (*AccountUnlockableCoinsResponse) ProtoMessage()
func (*AccountUnlockableCoinsResponse) Reset ¶
func (m *AccountUnlockableCoinsResponse) Reset()
func (*AccountUnlockableCoinsResponse) Size ¶
func (m *AccountUnlockableCoinsResponse) Size() (n int)
func (*AccountUnlockableCoinsResponse) String ¶
func (m *AccountUnlockableCoinsResponse) String() string
func (*AccountUnlockableCoinsResponse) Unmarshal ¶
func (m *AccountUnlockableCoinsResponse) Unmarshal(dAtA []byte) error
func (*AccountUnlockableCoinsResponse) XXX_DiscardUnknown ¶
func (m *AccountUnlockableCoinsResponse) XXX_DiscardUnknown()
func (*AccountUnlockableCoinsResponse) XXX_Marshal ¶
func (m *AccountUnlockableCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUnlockableCoinsResponse) XXX_Merge ¶
func (m *AccountUnlockableCoinsResponse) XXX_Merge(src proto.Message)
func (*AccountUnlockableCoinsResponse) XXX_Size ¶
func (m *AccountUnlockableCoinsResponse) XXX_Size() int
func (*AccountUnlockableCoinsResponse) XXX_Unmarshal ¶
func (m *AccountUnlockableCoinsResponse) XXX_Unmarshal(b []byte) error
type AccountUnlockedBeforeTimeRequest ¶
type AccountUnlockedBeforeTimeRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` Timestamp time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp" yaml:"timestamp"` }
func (*AccountUnlockedBeforeTimeRequest) Descriptor ¶
func (*AccountUnlockedBeforeTimeRequest) Descriptor() ([]byte, []int)
func (*AccountUnlockedBeforeTimeRequest) GetOwner ¶
func (m *AccountUnlockedBeforeTimeRequest) GetOwner() string
func (*AccountUnlockedBeforeTimeRequest) GetTimestamp ¶
func (m *AccountUnlockedBeforeTimeRequest) GetTimestamp() time.Time
func (*AccountUnlockedBeforeTimeRequest) Marshal ¶
func (m *AccountUnlockedBeforeTimeRequest) Marshal() (dAtA []byte, err error)
func (*AccountUnlockedBeforeTimeRequest) MarshalTo ¶
func (m *AccountUnlockedBeforeTimeRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountUnlockedBeforeTimeRequest) MarshalToSizedBuffer ¶
func (m *AccountUnlockedBeforeTimeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUnlockedBeforeTimeRequest) ProtoMessage ¶
func (*AccountUnlockedBeforeTimeRequest) ProtoMessage()
func (*AccountUnlockedBeforeTimeRequest) Reset ¶
func (m *AccountUnlockedBeforeTimeRequest) Reset()
func (*AccountUnlockedBeforeTimeRequest) Size ¶
func (m *AccountUnlockedBeforeTimeRequest) Size() (n int)
func (*AccountUnlockedBeforeTimeRequest) String ¶
func (m *AccountUnlockedBeforeTimeRequest) String() string
func (*AccountUnlockedBeforeTimeRequest) Unmarshal ¶
func (m *AccountUnlockedBeforeTimeRequest) Unmarshal(dAtA []byte) error
func (*AccountUnlockedBeforeTimeRequest) XXX_DiscardUnknown ¶
func (m *AccountUnlockedBeforeTimeRequest) XXX_DiscardUnknown()
func (*AccountUnlockedBeforeTimeRequest) XXX_Marshal ¶
func (m *AccountUnlockedBeforeTimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUnlockedBeforeTimeRequest) XXX_Merge ¶
func (m *AccountUnlockedBeforeTimeRequest) XXX_Merge(src proto.Message)
func (*AccountUnlockedBeforeTimeRequest) XXX_Size ¶
func (m *AccountUnlockedBeforeTimeRequest) XXX_Size() int
func (*AccountUnlockedBeforeTimeRequest) XXX_Unmarshal ¶
func (m *AccountUnlockedBeforeTimeRequest) XXX_Unmarshal(b []byte) error
type AccountUnlockedBeforeTimeResponse ¶
type AccountUnlockedBeforeTimeResponse struct {
Locks []PeriodLock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks"`
}
func (*AccountUnlockedBeforeTimeResponse) Descriptor ¶
func (*AccountUnlockedBeforeTimeResponse) Descriptor() ([]byte, []int)
func (*AccountUnlockedBeforeTimeResponse) GetLocks ¶
func (m *AccountUnlockedBeforeTimeResponse) GetLocks() []PeriodLock
func (*AccountUnlockedBeforeTimeResponse) Marshal ¶
func (m *AccountUnlockedBeforeTimeResponse) Marshal() (dAtA []byte, err error)
func (*AccountUnlockedBeforeTimeResponse) MarshalTo ¶
func (m *AccountUnlockedBeforeTimeResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountUnlockedBeforeTimeResponse) MarshalToSizedBuffer ¶
func (m *AccountUnlockedBeforeTimeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUnlockedBeforeTimeResponse) ProtoMessage ¶
func (*AccountUnlockedBeforeTimeResponse) ProtoMessage()
func (*AccountUnlockedBeforeTimeResponse) Reset ¶
func (m *AccountUnlockedBeforeTimeResponse) Reset()
func (*AccountUnlockedBeforeTimeResponse) Size ¶
func (m *AccountUnlockedBeforeTimeResponse) Size() (n int)
func (*AccountUnlockedBeforeTimeResponse) String ¶
func (m *AccountUnlockedBeforeTimeResponse) String() string
func (*AccountUnlockedBeforeTimeResponse) Unmarshal ¶
func (m *AccountUnlockedBeforeTimeResponse) Unmarshal(dAtA []byte) error
func (*AccountUnlockedBeforeTimeResponse) XXX_DiscardUnknown ¶
func (m *AccountUnlockedBeforeTimeResponse) XXX_DiscardUnknown()
func (*AccountUnlockedBeforeTimeResponse) XXX_Marshal ¶
func (m *AccountUnlockedBeforeTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUnlockedBeforeTimeResponse) XXX_Merge ¶
func (m *AccountUnlockedBeforeTimeResponse) XXX_Merge(src proto.Message)
func (*AccountUnlockedBeforeTimeResponse) XXX_Size ¶
func (m *AccountUnlockedBeforeTimeResponse) XXX_Size() int
func (*AccountUnlockedBeforeTimeResponse) XXX_Unmarshal ¶
func (m *AccountUnlockedBeforeTimeResponse) XXX_Unmarshal(b []byte) error
type AccountUnlockingCoinsRequest ¶
type AccountUnlockingCoinsRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
}
func (*AccountUnlockingCoinsRequest) Descriptor ¶
func (*AccountUnlockingCoinsRequest) Descriptor() ([]byte, []int)
func (*AccountUnlockingCoinsRequest) GetOwner ¶
func (m *AccountUnlockingCoinsRequest) GetOwner() string
func (*AccountUnlockingCoinsRequest) Marshal ¶
func (m *AccountUnlockingCoinsRequest) Marshal() (dAtA []byte, err error)
func (*AccountUnlockingCoinsRequest) MarshalTo ¶
func (m *AccountUnlockingCoinsRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountUnlockingCoinsRequest) MarshalToSizedBuffer ¶
func (m *AccountUnlockingCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUnlockingCoinsRequest) ProtoMessage ¶
func (*AccountUnlockingCoinsRequest) ProtoMessage()
func (*AccountUnlockingCoinsRequest) Reset ¶
func (m *AccountUnlockingCoinsRequest) Reset()
func (*AccountUnlockingCoinsRequest) Size ¶
func (m *AccountUnlockingCoinsRequest) Size() (n int)
func (*AccountUnlockingCoinsRequest) String ¶
func (m *AccountUnlockingCoinsRequest) String() string
func (*AccountUnlockingCoinsRequest) Unmarshal ¶
func (m *AccountUnlockingCoinsRequest) Unmarshal(dAtA []byte) error
func (*AccountUnlockingCoinsRequest) XXX_DiscardUnknown ¶
func (m *AccountUnlockingCoinsRequest) XXX_DiscardUnknown()
func (*AccountUnlockingCoinsRequest) XXX_Marshal ¶
func (m *AccountUnlockingCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUnlockingCoinsRequest) XXX_Merge ¶
func (m *AccountUnlockingCoinsRequest) XXX_Merge(src proto.Message)
func (*AccountUnlockingCoinsRequest) XXX_Size ¶
func (m *AccountUnlockingCoinsRequest) XXX_Size() int
func (*AccountUnlockingCoinsRequest) XXX_Unmarshal ¶
func (m *AccountUnlockingCoinsRequest) XXX_Unmarshal(b []byte) error
type AccountUnlockingCoinsResponse ¶
type AccountUnlockingCoinsResponse struct {
Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}
func (*AccountUnlockingCoinsResponse) Descriptor ¶
func (*AccountUnlockingCoinsResponse) Descriptor() ([]byte, []int)
func (*AccountUnlockingCoinsResponse) GetCoins ¶
func (m *AccountUnlockingCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*AccountUnlockingCoinsResponse) Marshal ¶
func (m *AccountUnlockingCoinsResponse) Marshal() (dAtA []byte, err error)
func (*AccountUnlockingCoinsResponse) MarshalTo ¶
func (m *AccountUnlockingCoinsResponse) MarshalTo(dAtA []byte) (int, error)
func (*AccountUnlockingCoinsResponse) MarshalToSizedBuffer ¶
func (m *AccountUnlockingCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUnlockingCoinsResponse) ProtoMessage ¶
func (*AccountUnlockingCoinsResponse) ProtoMessage()
func (*AccountUnlockingCoinsResponse) Reset ¶
func (m *AccountUnlockingCoinsResponse) Reset()
func (*AccountUnlockingCoinsResponse) Size ¶
func (m *AccountUnlockingCoinsResponse) Size() (n int)
func (*AccountUnlockingCoinsResponse) String ¶
func (m *AccountUnlockingCoinsResponse) String() string
func (*AccountUnlockingCoinsResponse) Unmarshal ¶
func (m *AccountUnlockingCoinsResponse) Unmarshal(dAtA []byte) error
func (*AccountUnlockingCoinsResponse) XXX_DiscardUnknown ¶
func (m *AccountUnlockingCoinsResponse) XXX_DiscardUnknown()
func (*AccountUnlockingCoinsResponse) XXX_Marshal ¶
func (m *AccountUnlockingCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUnlockingCoinsResponse) XXX_Merge ¶
func (m *AccountUnlockingCoinsResponse) XXX_Merge(src proto.Message)
func (*AccountUnlockingCoinsResponse) XXX_Size ¶
func (m *AccountUnlockingCoinsResponse) XXX_Size() int
func (*AccountUnlockingCoinsResponse) XXX_Unmarshal ¶
func (m *AccountUnlockingCoinsResponse) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CommunityPoolKeeper ¶
type GenesisState ¶
type GenesisState struct { LastLockId uint64 `protobuf:"varint,1,opt,name=last_lock_id,json=lastLockId,proto3" json:"last_lock_id,omitempty"` Locks []PeriodLock `protobuf:"bytes,2,rep,name=locks,proto3" json:"locks"` SyntheticLocks []SyntheticLock `protobuf:"bytes,3,rep,name=synthetic_locks,json=syntheticLocks,proto3" json:"synthetic_locks"` }
GenesisState defines the lockup module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetLastLockId ¶
func (m *GenesisState) GetLastLockId() uint64
func (*GenesisState) GetLocks ¶
func (m *GenesisState) GetLocks() []PeriodLock
func (*GenesisState) GetSyntheticLocks ¶
func (m *GenesisState) GetSyntheticLocks() []SyntheticLock
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type LockQueryType ¶
type LockQueryType int32
LockQueryType defines the type of the lock query that can either be by duration or start time of the lock.
const ( ByDuration LockQueryType = 0 ByTime LockQueryType = 1 )
func (LockQueryType) EnumDescriptor ¶
func (LockQueryType) EnumDescriptor() ([]byte, []int)
func (LockQueryType) String ¶
func (x LockQueryType) String() string
type LockedDenomRequest ¶
type LockedDenomRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Duration time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,stdduration" json:"duration" yaml:"duration"` }
func (*LockedDenomRequest) Descriptor ¶
func (*LockedDenomRequest) Descriptor() ([]byte, []int)
func (*LockedDenomRequest) GetDenom ¶
func (m *LockedDenomRequest) GetDenom() string
func (*LockedDenomRequest) GetDuration ¶
func (m *LockedDenomRequest) GetDuration() time.Duration
func (*LockedDenomRequest) Marshal ¶
func (m *LockedDenomRequest) Marshal() (dAtA []byte, err error)
func (*LockedDenomRequest) MarshalTo ¶
func (m *LockedDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*LockedDenomRequest) MarshalToSizedBuffer ¶
func (m *LockedDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LockedDenomRequest) ProtoMessage ¶
func (*LockedDenomRequest) ProtoMessage()
func (*LockedDenomRequest) Reset ¶
func (m *LockedDenomRequest) Reset()
func (*LockedDenomRequest) Size ¶
func (m *LockedDenomRequest) Size() (n int)
func (*LockedDenomRequest) String ¶
func (m *LockedDenomRequest) String() string
func (*LockedDenomRequest) Unmarshal ¶
func (m *LockedDenomRequest) Unmarshal(dAtA []byte) error
func (*LockedDenomRequest) XXX_DiscardUnknown ¶
func (m *LockedDenomRequest) XXX_DiscardUnknown()
func (*LockedDenomRequest) XXX_Marshal ¶
func (m *LockedDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LockedDenomRequest) XXX_Merge ¶
func (m *LockedDenomRequest) XXX_Merge(src proto.Message)
func (*LockedDenomRequest) XXX_Size ¶
func (m *LockedDenomRequest) XXX_Size() int
func (*LockedDenomRequest) XXX_Unmarshal ¶
func (m *LockedDenomRequest) XXX_Unmarshal(b []byte) error
type LockedDenomResponse ¶
type LockedDenomResponse struct {
Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"`
}
func (*LockedDenomResponse) Descriptor ¶
func (*LockedDenomResponse) Descriptor() ([]byte, []int)
func (*LockedDenomResponse) Marshal ¶
func (m *LockedDenomResponse) Marshal() (dAtA []byte, err error)
func (*LockedDenomResponse) MarshalTo ¶
func (m *LockedDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*LockedDenomResponse) MarshalToSizedBuffer ¶
func (m *LockedDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LockedDenomResponse) ProtoMessage ¶
func (*LockedDenomResponse) ProtoMessage()
func (*LockedDenomResponse) Reset ¶
func (m *LockedDenomResponse) Reset()
func (*LockedDenomResponse) Size ¶
func (m *LockedDenomResponse) Size() (n int)
func (*LockedDenomResponse) String ¶
func (m *LockedDenomResponse) String() string
func (*LockedDenomResponse) Unmarshal ¶
func (m *LockedDenomResponse) Unmarshal(dAtA []byte) error
func (*LockedDenomResponse) XXX_DiscardUnknown ¶
func (m *LockedDenomResponse) XXX_DiscardUnknown()
func (*LockedDenomResponse) XXX_Marshal ¶
func (m *LockedDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LockedDenomResponse) XXX_Merge ¶
func (m *LockedDenomResponse) XXX_Merge(src proto.Message)
func (*LockedDenomResponse) XXX_Size ¶
func (m *LockedDenomResponse) XXX_Size() int
func (*LockedDenomResponse) XXX_Unmarshal ¶
func (m *LockedDenomResponse) XXX_Unmarshal(b []byte) error
type LockedRequest ¶
type LockedRequest struct {
LockId uint64 `protobuf:"varint,1,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
}
func (*LockedRequest) Descriptor ¶
func (*LockedRequest) Descriptor() ([]byte, []int)
func (*LockedRequest) GetLockId ¶
func (m *LockedRequest) GetLockId() uint64
func (*LockedRequest) Marshal ¶
func (m *LockedRequest) Marshal() (dAtA []byte, err error)
func (*LockedRequest) MarshalToSizedBuffer ¶
func (m *LockedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LockedRequest) ProtoMessage ¶
func (*LockedRequest) ProtoMessage()
func (*LockedRequest) Reset ¶
func (m *LockedRequest) Reset()
func (*LockedRequest) Size ¶
func (m *LockedRequest) Size() (n int)
func (*LockedRequest) String ¶
func (m *LockedRequest) String() string
func (*LockedRequest) Unmarshal ¶
func (m *LockedRequest) Unmarshal(dAtA []byte) error
func (*LockedRequest) XXX_DiscardUnknown ¶
func (m *LockedRequest) XXX_DiscardUnknown()
func (*LockedRequest) XXX_Marshal ¶
func (m *LockedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LockedRequest) XXX_Merge ¶
func (m *LockedRequest) XXX_Merge(src proto.Message)
func (*LockedRequest) XXX_Size ¶
func (m *LockedRequest) XXX_Size() int
func (*LockedRequest) XXX_Unmarshal ¶
func (m *LockedRequest) XXX_Unmarshal(b []byte) error
type LockedResponse ¶
type LockedResponse struct {
Lock *PeriodLock `protobuf:"bytes,1,opt,name=lock,proto3" json:"lock,omitempty"`
}
func (*LockedResponse) Descriptor ¶
func (*LockedResponse) Descriptor() ([]byte, []int)
func (*LockedResponse) GetLock ¶
func (m *LockedResponse) GetLock() *PeriodLock
func (*LockedResponse) Marshal ¶
func (m *LockedResponse) Marshal() (dAtA []byte, err error)
func (*LockedResponse) MarshalToSizedBuffer ¶
func (m *LockedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LockedResponse) ProtoMessage ¶
func (*LockedResponse) ProtoMessage()
func (*LockedResponse) Reset ¶
func (m *LockedResponse) Reset()
func (*LockedResponse) Size ¶
func (m *LockedResponse) Size() (n int)
func (*LockedResponse) String ¶
func (m *LockedResponse) String() string
func (*LockedResponse) Unmarshal ¶
func (m *LockedResponse) Unmarshal(dAtA []byte) error
func (*LockedResponse) XXX_DiscardUnknown ¶
func (m *LockedResponse) XXX_DiscardUnknown()
func (*LockedResponse) XXX_Marshal ¶
func (m *LockedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LockedResponse) XXX_Merge ¶
func (m *LockedResponse) XXX_Merge(src proto.Message)
func (*LockedResponse) XXX_Size ¶
func (m *LockedResponse) XXX_Size() int
func (*LockedResponse) XXX_Unmarshal ¶
func (m *LockedResponse) XXX_Unmarshal(b []byte) error
type LockupHooks ¶
type LockupHooks interface { AfterAddTokensToLock(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins) OnTokenLocked(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins, lockDuration time.Duration, unlockTime time.Time) OnStartUnlock(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins, lockDuration time.Duration, unlockTime time.Time) OnTokenUnlocked(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins, lockDuration time.Duration, unlockTime time.Time) OnTokenSlashed(ctx sdk.Context, lockID uint64, amount sdk.Coins) OnLockupExtend(ctx sdk.Context, lockID uint64, prevDuration time.Duration, newDuration time.Duration) }
type ModuleBalanceRequest ¶
type ModuleBalanceRequest struct { }
func (*ModuleBalanceRequest) Descriptor ¶
func (*ModuleBalanceRequest) Descriptor() ([]byte, []int)
func (*ModuleBalanceRequest) Marshal ¶
func (m *ModuleBalanceRequest) Marshal() (dAtA []byte, err error)
func (*ModuleBalanceRequest) MarshalTo ¶
func (m *ModuleBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*ModuleBalanceRequest) MarshalToSizedBuffer ¶
func (m *ModuleBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModuleBalanceRequest) ProtoMessage ¶
func (*ModuleBalanceRequest) ProtoMessage()
func (*ModuleBalanceRequest) Reset ¶
func (m *ModuleBalanceRequest) Reset()
func (*ModuleBalanceRequest) Size ¶
func (m *ModuleBalanceRequest) Size() (n int)
func (*ModuleBalanceRequest) String ¶
func (m *ModuleBalanceRequest) String() string
func (*ModuleBalanceRequest) Unmarshal ¶
func (m *ModuleBalanceRequest) Unmarshal(dAtA []byte) error
func (*ModuleBalanceRequest) XXX_DiscardUnknown ¶
func (m *ModuleBalanceRequest) XXX_DiscardUnknown()
func (*ModuleBalanceRequest) XXX_Marshal ¶
func (m *ModuleBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleBalanceRequest) XXX_Merge ¶
func (m *ModuleBalanceRequest) XXX_Merge(src proto.Message)
func (*ModuleBalanceRequest) XXX_Size ¶
func (m *ModuleBalanceRequest) XXX_Size() int
func (*ModuleBalanceRequest) XXX_Unmarshal ¶
func (m *ModuleBalanceRequest) XXX_Unmarshal(b []byte) error
type ModuleBalanceResponse ¶
type ModuleBalanceResponse struct {
Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}
func (*ModuleBalanceResponse) Descriptor ¶
func (*ModuleBalanceResponse) Descriptor() ([]byte, []int)
func (*ModuleBalanceResponse) GetCoins ¶
func (m *ModuleBalanceResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*ModuleBalanceResponse) Marshal ¶
func (m *ModuleBalanceResponse) Marshal() (dAtA []byte, err error)
func (*ModuleBalanceResponse) MarshalTo ¶
func (m *ModuleBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*ModuleBalanceResponse) MarshalToSizedBuffer ¶
func (m *ModuleBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModuleBalanceResponse) ProtoMessage ¶
func (*ModuleBalanceResponse) ProtoMessage()
func (*ModuleBalanceResponse) Reset ¶
func (m *ModuleBalanceResponse) Reset()
func (*ModuleBalanceResponse) Size ¶
func (m *ModuleBalanceResponse) Size() (n int)
func (*ModuleBalanceResponse) String ¶
func (m *ModuleBalanceResponse) String() string
func (*ModuleBalanceResponse) Unmarshal ¶
func (m *ModuleBalanceResponse) Unmarshal(dAtA []byte) error
func (*ModuleBalanceResponse) XXX_DiscardUnknown ¶
func (m *ModuleBalanceResponse) XXX_DiscardUnknown()
func (*ModuleBalanceResponse) XXX_Marshal ¶
func (m *ModuleBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleBalanceResponse) XXX_Merge ¶
func (m *ModuleBalanceResponse) XXX_Merge(src proto.Message)
func (*ModuleBalanceResponse) XXX_Size ¶
func (m *ModuleBalanceResponse) XXX_Size() int
func (*ModuleBalanceResponse) XXX_Unmarshal ¶
func (m *ModuleBalanceResponse) XXX_Unmarshal(b []byte) error
type ModuleLockedAmountRequest ¶
type ModuleLockedAmountRequest struct { }
func (*ModuleLockedAmountRequest) Descriptor ¶
func (*ModuleLockedAmountRequest) Descriptor() ([]byte, []int)
func (*ModuleLockedAmountRequest) Marshal ¶
func (m *ModuleLockedAmountRequest) Marshal() (dAtA []byte, err error)
func (*ModuleLockedAmountRequest) MarshalTo ¶
func (m *ModuleLockedAmountRequest) MarshalTo(dAtA []byte) (int, error)
func (*ModuleLockedAmountRequest) MarshalToSizedBuffer ¶
func (m *ModuleLockedAmountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModuleLockedAmountRequest) ProtoMessage ¶
func (*ModuleLockedAmountRequest) ProtoMessage()
func (*ModuleLockedAmountRequest) Reset ¶
func (m *ModuleLockedAmountRequest) Reset()
func (*ModuleLockedAmountRequest) Size ¶
func (m *ModuleLockedAmountRequest) Size() (n int)
func (*ModuleLockedAmountRequest) String ¶
func (m *ModuleLockedAmountRequest) String() string
func (*ModuleLockedAmountRequest) Unmarshal ¶
func (m *ModuleLockedAmountRequest) Unmarshal(dAtA []byte) error
func (*ModuleLockedAmountRequest) XXX_DiscardUnknown ¶
func (m *ModuleLockedAmountRequest) XXX_DiscardUnknown()
func (*ModuleLockedAmountRequest) XXX_Marshal ¶
func (m *ModuleLockedAmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleLockedAmountRequest) XXX_Merge ¶
func (m *ModuleLockedAmountRequest) XXX_Merge(src proto.Message)
func (*ModuleLockedAmountRequest) XXX_Size ¶
func (m *ModuleLockedAmountRequest) XXX_Size() int
func (*ModuleLockedAmountRequest) XXX_Unmarshal ¶
func (m *ModuleLockedAmountRequest) XXX_Unmarshal(b []byte) error
type ModuleLockedAmountResponse ¶
type ModuleLockedAmountResponse struct {
Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}
func (*ModuleLockedAmountResponse) Descriptor ¶
func (*ModuleLockedAmountResponse) Descriptor() ([]byte, []int)
func (*ModuleLockedAmountResponse) GetCoins ¶
func (m *ModuleLockedAmountResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*ModuleLockedAmountResponse) Marshal ¶
func (m *ModuleLockedAmountResponse) Marshal() (dAtA []byte, err error)
func (*ModuleLockedAmountResponse) MarshalTo ¶
func (m *ModuleLockedAmountResponse) MarshalTo(dAtA []byte) (int, error)
func (*ModuleLockedAmountResponse) MarshalToSizedBuffer ¶
func (m *ModuleLockedAmountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModuleLockedAmountResponse) ProtoMessage ¶
func (*ModuleLockedAmountResponse) ProtoMessage()
func (*ModuleLockedAmountResponse) Reset ¶
func (m *ModuleLockedAmountResponse) Reset()
func (*ModuleLockedAmountResponse) Size ¶
func (m *ModuleLockedAmountResponse) Size() (n int)
func (*ModuleLockedAmountResponse) String ¶
func (m *ModuleLockedAmountResponse) String() string
func (*ModuleLockedAmountResponse) Unmarshal ¶
func (m *ModuleLockedAmountResponse) Unmarshal(dAtA []byte) error
func (*ModuleLockedAmountResponse) XXX_DiscardUnknown ¶
func (m *ModuleLockedAmountResponse) XXX_DiscardUnknown()
func (*ModuleLockedAmountResponse) XXX_Marshal ¶
func (m *ModuleLockedAmountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleLockedAmountResponse) XXX_Merge ¶
func (m *ModuleLockedAmountResponse) XXX_Merge(src proto.Message)
func (*ModuleLockedAmountResponse) XXX_Size ¶
func (m *ModuleLockedAmountResponse) XXX_Size() int
func (*ModuleLockedAmountResponse) XXX_Unmarshal ¶
func (m *ModuleLockedAmountResponse) XXX_Unmarshal(b []byte) error
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 NewMsgBeginUnlocking ¶
func NewMsgBeginUnlocking(owner sdk.AccAddress, id uint64, coins sdk.Coins) *MsgBeginUnlocking
NewMsgBeginUnlocking creates a message to begin unlocking the tokens of a specific lock.
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 (m MsgBeginUnlocking) GetSignBytes() []byte
func (MsgBeginUnlocking) GetSigners ¶
func (m 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) Route ¶
func (MsgBeginUnlocking) Route() string
func (*MsgBeginUnlocking) Size ¶
func (m *MsgBeginUnlocking) Size() (n int)
func (*MsgBeginUnlocking) String ¶
func (m *MsgBeginUnlocking) String() string
func (MsgBeginUnlocking) Type ¶
func (MsgBeginUnlocking) Type() string
func (*MsgBeginUnlocking) Unmarshal ¶
func (m *MsgBeginUnlocking) Unmarshal(dAtA []byte) error
func (MsgBeginUnlocking) ValidateBasic ¶
func (m 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 NewMsgBeginUnlockingAll ¶
func NewMsgBeginUnlockingAll(owner sdk.AccAddress) *MsgBeginUnlockingAll
NewMsgBeginUnlockingAll creates a message to begin unlocking tokens.
func (*MsgBeginUnlockingAll) Descriptor ¶
func (*MsgBeginUnlockingAll) Descriptor() ([]byte, []int)
func (*MsgBeginUnlockingAll) GetOwner ¶
func (m *MsgBeginUnlockingAll) GetOwner() string
func (MsgBeginUnlockingAll) GetSignBytes ¶
func (m MsgBeginUnlockingAll) GetSignBytes() []byte
func (MsgBeginUnlockingAll) GetSigners ¶
func (m 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 (MsgBeginUnlockingAll) Route() string
func (*MsgBeginUnlockingAll) Size ¶
func (m *MsgBeginUnlockingAll) Size() (n int)
func (*MsgBeginUnlockingAll) String ¶
func (m *MsgBeginUnlockingAll) String() string
func (MsgBeginUnlockingAll) Type ¶
func (MsgBeginUnlockingAll) Type() string
func (*MsgBeginUnlockingAll) Unmarshal ¶
func (m *MsgBeginUnlockingAll) Unmarshal(dAtA []byte) error
func (MsgBeginUnlockingAll) ValidateBasic ¶
func (m 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"`
}
func (*MsgBeginUnlockingResponse) Descriptor ¶
func (*MsgBeginUnlockingResponse) Descriptor() ([]byte, []int)
func (*MsgBeginUnlockingResponse) GetSuccess ¶
func (m *MsgBeginUnlockingResponse) GetSuccess() bool
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) }
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 NewMsgExtendLockup ¶
func NewMsgExtendLockup(owner sdk.AccAddress, id uint64, duration time.Duration) *MsgExtendLockup
NewMsgExtendLockup creates a message to edit the properties of existing locks
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 (m MsgExtendLockup) GetSignBytes() []byte
func (MsgExtendLockup) GetSigners ¶
func (m 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) Route ¶
func (MsgExtendLockup) Route() string
func (*MsgExtendLockup) Size ¶
func (m *MsgExtendLockup) Size() (n int)
func (*MsgExtendLockup) String ¶
func (m *MsgExtendLockup) String() string
func (MsgExtendLockup) Type ¶
func (MsgExtendLockup) Type() string
func (*MsgExtendLockup) Unmarshal ¶
func (m *MsgExtendLockup) Unmarshal(dAtA []byte) error
func (MsgExtendLockup) ValidateBasic ¶
func (m 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 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 NewMsgLockTokens ¶
func NewMsgLockTokens(owner sdk.AccAddress, duration time.Duration, coins sdk.Coins) *MsgLockTokens
NewMsgLockTokens creates a message to lock tokens.
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 (m MsgLockTokens) GetSignBytes() []byte
func (MsgLockTokens) GetSigners ¶
func (m 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) Route ¶
func (MsgLockTokens) Route() string
func (*MsgLockTokens) Size ¶
func (m *MsgLockTokens) Size() (n int)
func (*MsgLockTokens) String ¶
func (m *MsgLockTokens) String() string
func (MsgLockTokens) Type ¶
func (MsgLockTokens) Type() string
func (*MsgLockTokens) Unmarshal ¶
func (m *MsgLockTokens) Unmarshal(dAtA []byte) error
func (MsgLockTokens) ValidateBasic ¶
func (m 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) }
MsgServer is the server API for Msg service.
type MultiLockupHooks ¶
type MultiLockupHooks []LockupHooks
combine multiple gamm hooks, all hook functions are run in array sequence.
func NewMultiLockupHooks ¶
func NewMultiLockupHooks(hooks ...LockupHooks) MultiLockupHooks
func (MultiLockupHooks) AfterAddTokensToLock ¶
func (h MultiLockupHooks) AfterAddTokensToLock(ctx sdk.Context, address sdk.AccAddress, lockID uint64, amount sdk.Coins)
func (MultiLockupHooks) OnLockupExtend ¶
func (MultiLockupHooks) OnStartUnlock ¶
func (MultiLockupHooks) OnTokenLocked ¶
func (MultiLockupHooks) OnTokenSlashed ¶
func (MultiLockupHooks) OnTokenUnlocked ¶
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"` }
PeriodLock is a single lock unit by period defined by the x/lockup module. It's a record of a locked coin at a specific time. It stores owner, duration, unlock time and the number of coins locked. A state of a period lock is created upon lock creation, and deleted once the lock has been matured after the `duration` has passed since unbonding started.
func NewPeriodLock ¶
func NewPeriodLock(ID uint64, owner sdk.AccAddress, duration time.Duration, endTime time.Time, coins sdk.Coins) PeriodLock
NewPeriodLock returns a new instance of period lock.
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) IsUnlocking ¶
func (p PeriodLock) IsUnlocking() bool
IsUnlocking returns lock started unlocking already.
func (*PeriodLock) Marshal ¶
func (m *PeriodLock) Marshal() (dAtA []byte, err error)
func (*PeriodLock) MarshalToSizedBuffer ¶
func (m *PeriodLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (PeriodLock) OwnerAddress ¶
func (p PeriodLock) OwnerAddress() sdk.AccAddress
OwnerAddress returns locks owner address.
func (*PeriodLock) ProtoMessage ¶
func (*PeriodLock) ProtoMessage()
func (*PeriodLock) Reset ¶
func (m *PeriodLock) Reset()
func (PeriodLock) SingleCoin ¶
func (p PeriodLock) SingleCoin() (sdk.Coin, error)
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 QueryClient ¶
type QueryClient interface { // Return full balance of the module ModuleBalance(ctx context.Context, in *ModuleBalanceRequest, opts ...grpc.CallOption) (*ModuleBalanceResponse, error) // Return locked balance of the module ModuleLockedAmount(ctx context.Context, in *ModuleLockedAmountRequest, opts ...grpc.CallOption) (*ModuleLockedAmountResponse, error) // Returns unlockable coins which are not withdrawn yet AccountUnlockableCoins(ctx context.Context, in *AccountUnlockableCoinsRequest, opts ...grpc.CallOption) (*AccountUnlockableCoinsResponse, error) // Returns unlocking coins AccountUnlockingCoins(ctx context.Context, in *AccountUnlockingCoinsRequest, opts ...grpc.CallOption) (*AccountUnlockingCoinsResponse, error) // Return a locked coins that can't be withdrawn AccountLockedCoins(ctx context.Context, in *AccountLockedCoinsRequest, opts ...grpc.CallOption) (*AccountLockedCoinsResponse, error) // Returns locked records of an account with unlock time beyond timestamp AccountLockedPastTime(ctx context.Context, in *AccountLockedPastTimeRequest, opts ...grpc.CallOption) (*AccountLockedPastTimeResponse, error) // Returns locked records of an account with unlock time beyond timestamp // excluding tokens started unlocking AccountLockedPastTimeNotUnlockingOnly(ctx context.Context, in *AccountLockedPastTimeNotUnlockingOnlyRequest, opts ...grpc.CallOption) (*AccountLockedPastTimeNotUnlockingOnlyResponse, error) // Returns unlocked records with unlock time before timestamp AccountUnlockedBeforeTime(ctx context.Context, in *AccountUnlockedBeforeTimeRequest, opts ...grpc.CallOption) (*AccountUnlockedBeforeTimeResponse, error) // Returns lock records by address, timestamp, denom AccountLockedPastTimeDenom(ctx context.Context, in *AccountLockedPastTimeDenomRequest, opts ...grpc.CallOption) (*AccountLockedPastTimeDenomResponse, error) // Returns total locked per denom with longer past given time LockedDenom(ctx context.Context, in *LockedDenomRequest, opts ...grpc.CallOption) (*LockedDenomResponse, error) // Returns lock record by id LockedByID(ctx context.Context, in *LockedRequest, opts ...grpc.CallOption) (*LockedResponse, error) // Returns synthetic lockups by native lockup id SyntheticLockupsByLockupID(ctx context.Context, in *SyntheticLockupsByLockupIDRequest, opts ...grpc.CallOption) (*SyntheticLockupsByLockupIDResponse, error) // Returns account locked records with longer duration AccountLockedLongerDuration(ctx context.Context, in *AccountLockedLongerDurationRequest, opts ...grpc.CallOption) (*AccountLockedLongerDurationResponse, error) // Returns account locked records with a specific duration AccountLockedDuration(ctx context.Context, in *AccountLockedDurationRequest, opts ...grpc.CallOption) (*AccountLockedDurationResponse, error) // Returns account locked records with longer duration excluding tokens // started unlocking AccountLockedLongerDurationNotUnlockingOnly(ctx context.Context, in *AccountLockedLongerDurationNotUnlockingOnlyRequest, opts ...grpc.CallOption) (*AccountLockedLongerDurationNotUnlockingOnlyResponse, error) // Returns account's locked records for a denom with longer duration AccountLockedLongerDurationDenom(ctx context.Context, in *AccountLockedLongerDurationDenomRequest, opts ...grpc.CallOption) (*AccountLockedLongerDurationDenomResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCondition ¶
type QueryCondition struct { // LockQueryType is a type of lock query, ByLockDuration | ByLockTime LockQueryType LockQueryType `` /* 137-byte string literal not displayed */ // Denom represents the token denomination we are looking to lock up Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` // Duration is used to query locks with longer duration than the specified // duration. Duration field must not be nil when the lock query type is // `ByLockDuration`. Duration time.Duration `protobuf:"bytes,3,opt,name=duration,proto3,stdduration" json:"duration" yaml:"duration"` // Timestamp is used by locks started before the specified duration. // Timestamp field must not be nil when the lock query type is `ByLockTime`. // Querying locks with timestamp is currently not implemented. Timestamp time.Time `protobuf:"bytes,4,opt,name=timestamp,proto3,stdtime" json:"timestamp" yaml:"timestamp"` }
QueryCondition is a struct used for querying locks upon different conditions. Duration field and timestamp fields could be optional, depending on the LockQueryType.
func (*QueryCondition) Descriptor ¶
func (*QueryCondition) Descriptor() ([]byte, []int)
func (*QueryCondition) GetDenom ¶
func (m *QueryCondition) GetDenom() string
func (*QueryCondition) GetDuration ¶
func (m *QueryCondition) GetDuration() time.Duration
func (*QueryCondition) GetLockQueryType ¶
func (m *QueryCondition) GetLockQueryType() LockQueryType
func (*QueryCondition) GetTimestamp ¶
func (m *QueryCondition) GetTimestamp() time.Time
func (*QueryCondition) Marshal ¶
func (m *QueryCondition) Marshal() (dAtA []byte, err error)
func (*QueryCondition) MarshalToSizedBuffer ¶
func (m *QueryCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCondition) ProtoMessage ¶
func (*QueryCondition) ProtoMessage()
func (*QueryCondition) Reset ¶
func (m *QueryCondition) Reset()
func (*QueryCondition) Size ¶
func (m *QueryCondition) Size() (n int)
func (*QueryCondition) String ¶
func (m *QueryCondition) String() string
func (*QueryCondition) Unmarshal ¶
func (m *QueryCondition) Unmarshal(dAtA []byte) error
func (*QueryCondition) XXX_DiscardUnknown ¶
func (m *QueryCondition) XXX_DiscardUnknown()
func (*QueryCondition) XXX_Marshal ¶
func (m *QueryCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCondition) XXX_Merge ¶
func (m *QueryCondition) XXX_Merge(src proto.Message)
func (*QueryCondition) XXX_Size ¶
func (m *QueryCondition) XXX_Size() int
func (*QueryCondition) XXX_Unmarshal ¶
func (m *QueryCondition) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Return full balance of the module ModuleBalance(context.Context, *ModuleBalanceRequest) (*ModuleBalanceResponse, error) // Return locked balance of the module ModuleLockedAmount(context.Context, *ModuleLockedAmountRequest) (*ModuleLockedAmountResponse, error) // Returns unlockable coins which are not withdrawn yet AccountUnlockableCoins(context.Context, *AccountUnlockableCoinsRequest) (*AccountUnlockableCoinsResponse, error) // Returns unlocking coins AccountUnlockingCoins(context.Context, *AccountUnlockingCoinsRequest) (*AccountUnlockingCoinsResponse, error) // Return a locked coins that can't be withdrawn AccountLockedCoins(context.Context, *AccountLockedCoinsRequest) (*AccountLockedCoinsResponse, error) // Returns locked records of an account with unlock time beyond timestamp AccountLockedPastTime(context.Context, *AccountLockedPastTimeRequest) (*AccountLockedPastTimeResponse, error) // Returns locked records of an account with unlock time beyond timestamp // excluding tokens started unlocking AccountLockedPastTimeNotUnlockingOnly(context.Context, *AccountLockedPastTimeNotUnlockingOnlyRequest) (*AccountLockedPastTimeNotUnlockingOnlyResponse, error) // Returns unlocked records with unlock time before timestamp AccountUnlockedBeforeTime(context.Context, *AccountUnlockedBeforeTimeRequest) (*AccountUnlockedBeforeTimeResponse, error) // Returns lock records by address, timestamp, denom AccountLockedPastTimeDenom(context.Context, *AccountLockedPastTimeDenomRequest) (*AccountLockedPastTimeDenomResponse, error) // Returns total locked per denom with longer past given time LockedDenom(context.Context, *LockedDenomRequest) (*LockedDenomResponse, error) // Returns lock record by id LockedByID(context.Context, *LockedRequest) (*LockedResponse, error) // Returns synthetic lockups by native lockup id SyntheticLockupsByLockupID(context.Context, *SyntheticLockupsByLockupIDRequest) (*SyntheticLockupsByLockupIDResponse, error) // Returns account locked records with longer duration AccountLockedLongerDuration(context.Context, *AccountLockedLongerDurationRequest) (*AccountLockedLongerDurationResponse, error) // Returns account locked records with a specific duration AccountLockedDuration(context.Context, *AccountLockedDurationRequest) (*AccountLockedDurationResponse, error) // Returns account locked records with longer duration excluding tokens // started unlocking AccountLockedLongerDurationNotUnlockingOnly(context.Context, *AccountLockedLongerDurationNotUnlockingOnlyRequest) (*AccountLockedLongerDurationNotUnlockingOnlyResponse, error) // Returns account's locked records for a denom with longer duration AccountLockedLongerDurationDenom(context.Context, *AccountLockedLongerDurationDenomRequest) (*AccountLockedLongerDurationDenomResponse, error) }
QueryServer is the server API for Query service.
type SyntheticLock ¶
type SyntheticLock struct { // Underlying Lock ID is the underlying native lock's id for this synthetic // lockup. A synthetic lock MUST have an underlying lock. UnderlyingLockId uint64 `protobuf:"varint,1,opt,name=underlying_lock_id,json=underlyingLockId,proto3" json:"underlying_lock_id,omitempty"` // SynthDenom is the synthetic denom that is a combination of // gamm share + bonding status + validator address. SynthDenom string `protobuf:"bytes,2,opt,name=synth_denom,json=synthDenom,proto3" json:"synth_denom,omitempty"` // used for unbonding synthetic lockups, for active synthetic lockups, this // value is set to uninitialized value EndTime time.Time `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time" yaml:"end_time"` // Duration is the duration for a synthetic lock to mature // at the point of unbonding has started. Duration time.Duration `protobuf:"bytes,4,opt,name=duration,proto3,stdduration" json:"duration,omitempty" yaml:"duration"` }
SyntheticLock is creating virtual lockup where new denom is combination of original denom and synthetic suffix. At the time of synthetic lockup creation and deletion, accumulation store is also being updated and on querier side, they can query as freely as native lockup.
func (*SyntheticLock) Descriptor ¶
func (*SyntheticLock) Descriptor() ([]byte, []int)
func (*SyntheticLock) GetDuration ¶
func (m *SyntheticLock) GetDuration() time.Duration
func (*SyntheticLock) GetEndTime ¶
func (m *SyntheticLock) GetEndTime() time.Time
func (*SyntheticLock) GetSynthDenom ¶
func (m *SyntheticLock) GetSynthDenom() string
func (*SyntheticLock) GetUnderlyingLockId ¶
func (m *SyntheticLock) GetUnderlyingLockId() uint64
func (SyntheticLock) IsUnlocking ¶
func (p SyntheticLock) IsUnlocking() bool
IsUnlocking returns lock started unlocking already.
func (*SyntheticLock) Marshal ¶
func (m *SyntheticLock) Marshal() (dAtA []byte, err error)
func (*SyntheticLock) MarshalToSizedBuffer ¶
func (m *SyntheticLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyntheticLock) ProtoMessage ¶
func (*SyntheticLock) ProtoMessage()
func (*SyntheticLock) Reset ¶
func (m *SyntheticLock) Reset()
func (*SyntheticLock) Size ¶
func (m *SyntheticLock) Size() (n int)
func (*SyntheticLock) String ¶
func (m *SyntheticLock) String() string
func (*SyntheticLock) Unmarshal ¶
func (m *SyntheticLock) Unmarshal(dAtA []byte) error
func (*SyntheticLock) XXX_DiscardUnknown ¶
func (m *SyntheticLock) XXX_DiscardUnknown()
func (*SyntheticLock) XXX_Marshal ¶
func (m *SyntheticLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyntheticLock) XXX_Merge ¶
func (m *SyntheticLock) XXX_Merge(src proto.Message)
func (*SyntheticLock) XXX_Size ¶
func (m *SyntheticLock) XXX_Size() int
func (*SyntheticLock) XXX_Unmarshal ¶
func (m *SyntheticLock) XXX_Unmarshal(b []byte) error
type SyntheticLockupsByLockupIDRequest ¶
type SyntheticLockupsByLockupIDRequest struct {
LockId uint64 `protobuf:"varint,1,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
}
func (*SyntheticLockupsByLockupIDRequest) Descriptor ¶
func (*SyntheticLockupsByLockupIDRequest) Descriptor() ([]byte, []int)
func (*SyntheticLockupsByLockupIDRequest) GetLockId ¶
func (m *SyntheticLockupsByLockupIDRequest) GetLockId() uint64
func (*SyntheticLockupsByLockupIDRequest) Marshal ¶
func (m *SyntheticLockupsByLockupIDRequest) Marshal() (dAtA []byte, err error)
func (*SyntheticLockupsByLockupIDRequest) MarshalTo ¶
func (m *SyntheticLockupsByLockupIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*SyntheticLockupsByLockupIDRequest) MarshalToSizedBuffer ¶
func (m *SyntheticLockupsByLockupIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyntheticLockupsByLockupIDRequest) ProtoMessage ¶
func (*SyntheticLockupsByLockupIDRequest) ProtoMessage()
func (*SyntheticLockupsByLockupIDRequest) Reset ¶
func (m *SyntheticLockupsByLockupIDRequest) Reset()
func (*SyntheticLockupsByLockupIDRequest) Size ¶
func (m *SyntheticLockupsByLockupIDRequest) Size() (n int)
func (*SyntheticLockupsByLockupIDRequest) String ¶
func (m *SyntheticLockupsByLockupIDRequest) String() string
func (*SyntheticLockupsByLockupIDRequest) Unmarshal ¶
func (m *SyntheticLockupsByLockupIDRequest) Unmarshal(dAtA []byte) error
func (*SyntheticLockupsByLockupIDRequest) XXX_DiscardUnknown ¶
func (m *SyntheticLockupsByLockupIDRequest) XXX_DiscardUnknown()
func (*SyntheticLockupsByLockupIDRequest) XXX_Marshal ¶
func (m *SyntheticLockupsByLockupIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyntheticLockupsByLockupIDRequest) XXX_Merge ¶
func (m *SyntheticLockupsByLockupIDRequest) XXX_Merge(src proto.Message)
func (*SyntheticLockupsByLockupIDRequest) XXX_Size ¶
func (m *SyntheticLockupsByLockupIDRequest) XXX_Size() int
func (*SyntheticLockupsByLockupIDRequest) XXX_Unmarshal ¶
func (m *SyntheticLockupsByLockupIDRequest) XXX_Unmarshal(b []byte) error
type SyntheticLockupsByLockupIDResponse ¶
type SyntheticLockupsByLockupIDResponse struct {
SyntheticLocks []SyntheticLock `protobuf:"bytes,1,rep,name=synthetic_locks,json=syntheticLocks,proto3" json:"synthetic_locks"`
}
func (*SyntheticLockupsByLockupIDResponse) Descriptor ¶
func (*SyntheticLockupsByLockupIDResponse) Descriptor() ([]byte, []int)
func (*SyntheticLockupsByLockupIDResponse) GetSyntheticLocks ¶
func (m *SyntheticLockupsByLockupIDResponse) GetSyntheticLocks() []SyntheticLock
func (*SyntheticLockupsByLockupIDResponse) Marshal ¶
func (m *SyntheticLockupsByLockupIDResponse) Marshal() (dAtA []byte, err error)
func (*SyntheticLockupsByLockupIDResponse) MarshalTo ¶
func (m *SyntheticLockupsByLockupIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*SyntheticLockupsByLockupIDResponse) MarshalToSizedBuffer ¶
func (m *SyntheticLockupsByLockupIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyntheticLockupsByLockupIDResponse) ProtoMessage ¶
func (*SyntheticLockupsByLockupIDResponse) ProtoMessage()
func (*SyntheticLockupsByLockupIDResponse) Reset ¶
func (m *SyntheticLockupsByLockupIDResponse) Reset()
func (*SyntheticLockupsByLockupIDResponse) Size ¶
func (m *SyntheticLockupsByLockupIDResponse) Size() (n int)
func (*SyntheticLockupsByLockupIDResponse) String ¶
func (m *SyntheticLockupsByLockupIDResponse) String() string
func (*SyntheticLockupsByLockupIDResponse) Unmarshal ¶
func (m *SyntheticLockupsByLockupIDResponse) Unmarshal(dAtA []byte) error
func (*SyntheticLockupsByLockupIDResponse) XXX_DiscardUnknown ¶
func (m *SyntheticLockupsByLockupIDResponse) XXX_DiscardUnknown()
func (*SyntheticLockupsByLockupIDResponse) XXX_Marshal ¶
func (m *SyntheticLockupsByLockupIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyntheticLockupsByLockupIDResponse) XXX_Merge ¶
func (m *SyntheticLockupsByLockupIDResponse) XXX_Merge(src proto.Message)
func (*SyntheticLockupsByLockupIDResponse) XXX_Size ¶
func (m *SyntheticLockupsByLockupIDResponse) XXX_Size() int
func (*SyntheticLockupsByLockupIDResponse) XXX_Unmarshal ¶
func (m *SyntheticLockupsByLockupIDResponse) 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) LockTokens ¶
func (*UnimplementedMsgServer) LockTokens(ctx context.Context, req *MsgLockTokens) (*MsgLockTokensResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AccountLockedCoins ¶
func (*UnimplementedQueryServer) AccountLockedCoins(ctx context.Context, req *AccountLockedCoinsRequest) (*AccountLockedCoinsResponse, error)
func (*UnimplementedQueryServer) AccountLockedDuration ¶
func (*UnimplementedQueryServer) AccountLockedDuration(ctx context.Context, req *AccountLockedDurationRequest) (*AccountLockedDurationResponse, error)
func (*UnimplementedQueryServer) AccountLockedLongerDuration ¶
func (*UnimplementedQueryServer) AccountLockedLongerDuration(ctx context.Context, req *AccountLockedLongerDurationRequest) (*AccountLockedLongerDurationResponse, error)
func (*UnimplementedQueryServer) AccountLockedLongerDurationDenom ¶
func (*UnimplementedQueryServer) AccountLockedLongerDurationDenom(ctx context.Context, req *AccountLockedLongerDurationDenomRequest) (*AccountLockedLongerDurationDenomResponse, error)
func (*UnimplementedQueryServer) AccountLockedLongerDurationNotUnlockingOnly ¶
func (*UnimplementedQueryServer) AccountLockedLongerDurationNotUnlockingOnly(ctx context.Context, req *AccountLockedLongerDurationNotUnlockingOnlyRequest) (*AccountLockedLongerDurationNotUnlockingOnlyResponse, error)
func (*UnimplementedQueryServer) AccountLockedPastTime ¶
func (*UnimplementedQueryServer) AccountLockedPastTime(ctx context.Context, req *AccountLockedPastTimeRequest) (*AccountLockedPastTimeResponse, error)
func (*UnimplementedQueryServer) AccountLockedPastTimeDenom ¶
func (*UnimplementedQueryServer) AccountLockedPastTimeDenom(ctx context.Context, req *AccountLockedPastTimeDenomRequest) (*AccountLockedPastTimeDenomResponse, error)
func (*UnimplementedQueryServer) AccountLockedPastTimeNotUnlockingOnly ¶
func (*UnimplementedQueryServer) AccountLockedPastTimeNotUnlockingOnly(ctx context.Context, req *AccountLockedPastTimeNotUnlockingOnlyRequest) (*AccountLockedPastTimeNotUnlockingOnlyResponse, error)
func (*UnimplementedQueryServer) AccountUnlockableCoins ¶
func (*UnimplementedQueryServer) AccountUnlockableCoins(ctx context.Context, req *AccountUnlockableCoinsRequest) (*AccountUnlockableCoinsResponse, error)
func (*UnimplementedQueryServer) AccountUnlockedBeforeTime ¶
func (*UnimplementedQueryServer) AccountUnlockedBeforeTime(ctx context.Context, req *AccountUnlockedBeforeTimeRequest) (*AccountUnlockedBeforeTimeResponse, error)
func (*UnimplementedQueryServer) AccountUnlockingCoins ¶
func (*UnimplementedQueryServer) AccountUnlockingCoins(ctx context.Context, req *AccountUnlockingCoinsRequest) (*AccountUnlockingCoinsResponse, error)
func (*UnimplementedQueryServer) LockedByID ¶
func (*UnimplementedQueryServer) LockedByID(ctx context.Context, req *LockedRequest) (*LockedResponse, error)
func (*UnimplementedQueryServer) LockedDenom ¶
func (*UnimplementedQueryServer) LockedDenom(ctx context.Context, req *LockedDenomRequest) (*LockedDenomResponse, error)
func (*UnimplementedQueryServer) ModuleBalance ¶
func (*UnimplementedQueryServer) ModuleBalance(ctx context.Context, req *ModuleBalanceRequest) (*ModuleBalanceResponse, error)
func (*UnimplementedQueryServer) ModuleLockedAmount ¶
func (*UnimplementedQueryServer) ModuleLockedAmount(ctx context.Context, req *ModuleLockedAmountRequest) (*ModuleLockedAmountResponse, error)
func (*UnimplementedQueryServer) SyntheticLockupsByLockupID ¶
func (*UnimplementedQueryServer) SyntheticLockupsByLockupID(ctx context.Context, req *SyntheticLockupsByLockupIDRequest) (*SyntheticLockupsByLockupIDResponse, error)