Versions in this module Expand all Collapse all v1 v1.7.4 Apr 15, 2023 v1.7.3 Apr 15, 2023 Changes in this version + const AttributeKeyAmount + const AttributeKeyDirection + const AttributeKeyHashLock + const AttributeKeyID + const AttributeKeyReceiver + const AttributeKeyReceiverOnOtherChain + const AttributeKeySecret + const AttributeKeySender + const AttributeKeySenderOnOtherChain + const AttributeKeyTimeLock + const AttributeKeyTransfer + const AttributeValueCategory + const DefaultParamspace + const EventTypeClaimHTLC + const EventTypeCreateHTLC + const EventTypeRefundHTLC + const FormatHTLTAssetPrefix + const HTLCIDLength + const HashLockLength + const MaxLengthForAddressOnOtherChain + const MaxTimeLock + const MinDenomLength + const MinTimeLock + const ModuleName + const QuerierRoute + const QueryAssetSupplies + const QueryAssetSupply + const QueryHTLC + const QueryParameters + const RouterKey + const SecretLength + const StoreKey + const TypeMsgClaimHTLC + const TypeMsgCreateHTLC + const TypeMsgRefundHTLC + var AssetSupplyPrefix = []byte + var DefaultPreviousBlockTime = time.Now() + var ErrAssetNotActive = sdkerrors.Register(ModuleName, 15, "asset is currently inactive") + var ErrAssetNotSupported = sdkerrors.Register(ModuleName, 14, "asset not found") + var ErrAssetSupplyNotFound = sdkerrors.Register(ModuleName, 25, "asset supply not found in store") + var ErrExceedsAvailableSupply = sdkerrors.Register(ModuleName, 24, "outgoing swap exceeds total available supply") + var ErrExceedsSupplyLimit = sdkerrors.Register(ModuleName, 19, "asset supply over limit") + var ErrExceedsTimeBasedSupplyLimit = sdkerrors.Register(ModuleName, 20, "asset supply over limit for current time period") + var ErrHTLCExists = sdkerrors.Register(ModuleName, 11, "htlc already exists") + var ErrHTLCNotOpen = sdkerrors.Register(ModuleName, 13, "htlc not open") + var ErrInsufficientAmount = sdkerrors.Register(ModuleName, 18, "amount cannot cover the deputy fixed fee") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowHtlc = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidAccount = sdkerrors.Register(ModuleName, 16, "invalid account") + var ErrInvalidAmount = sdkerrors.Register(ModuleName, 17, "invalid amount") + var ErrInvalidClosedBlock = sdkerrors.Register(ModuleName, 9, "invalid closed block") + var ErrInvalidCurrentSupply = sdkerrors.Register(ModuleName, 21, "supply decrease puts current asset supply below 0") + var ErrInvalidDirection = sdkerrors.Register(ModuleName, 10, "invalid direction") + var ErrInvalidExpirationHeight = sdkerrors.Register(ModuleName, 6, "invalid expiration height") + var ErrInvalidHashLock = sdkerrors.Register(ModuleName, 3, "invalid hash lock") + var ErrInvalidID = sdkerrors.Register(ModuleName, 2, "invalid htlc id") + var ErrInvalidIncomingSupply = sdkerrors.Register(ModuleName, 22, "supply decrease puts incoming asset supply below 0") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthHtlc = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidOutgoingSupply = sdkerrors.Register(ModuleName, 23, "supply decrease puts outgoing asset supply below 0") + var ErrInvalidSecret = sdkerrors.Register(ModuleName, 5, "invalid secret") + var ErrInvalidState = sdkerrors.Register(ModuleName, 8, "invalid state") + var ErrInvalidTimeLock = sdkerrors.Register(ModuleName, 4, "invalid time lock") + var ErrInvalidTimestamp = sdkerrors.Register(ModuleName, 7, "invalid timestamp") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupHtlc = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnknownHTLC = sdkerrors.Register(ModuleName, 12, "unknown htlc") + var HTLCExpiredQueueKey = []byte + var HTLCKey = []byte + var HTLCState_name = map[int32]string + var HTLCState_value = map[string]int32 + var KeyAssetParams = []byte("AssetParams") + var ModuleCdc = codec.NewAminoCodec(amino) + var PreviousBlockTimeKey = []byte + var SwapDirection_name = map[int32]string + var SwapDirection_value = map[string]int32 + func GetAssetSupplyKey(denom string) []byte + func GetHTLCExpiredQueueKey(expirationHeight uint64, id []byte) []byte + func GetHTLCExpiredQueueSubspace(expirationHeight uint64) []byte + func GetHTLCKey(id []byte) []byte + func GetHashLock(secret tmbytes.HexBytes, timestamp uint64) []byte + func GetID(sender sdk.AccAddress, to sdk.AccAddress, amount sdk.Coins, ...) tmbytes.HexBytes + func ParamKeyTable() paramtypes.KeyTable + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + 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 ValidateAmount(transfer bool, amount sdk.Coins) error + func ValidateGenesis(data GenesisState) error + func ValidateHashLock(hashLock string) error + func ValidateID(id string) error + func ValidateReceiverOnOtherChain(receiverOnOtherChain string) error + func ValidateSecret(secret string) error + func ValidateSenderOnOtherChain(senderOnOtherChain string) error + func ValidateTimeLock(timeLock uint64) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + GetModuleAccount func(ctx sdk.Context, name string) authtypes.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + GetModuleAddressAndPermissions func(moduleName string) (sdk.AccAddress, []string) + NewAccountWithAddress func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + SetAccount func(ctx sdk.Context, acc authtypes.AccountI) + SetModuleAccount func(ctx sdk.Context, macc authtypes.ModuleAccountI) + type AssetParam struct + Active bool + Denom string + DeputyAddress string + FixedFee github_com_cosmos_cosmos_sdk_types.Int + MaxBlockLock uint64 + MaxSwapAmount github_com_cosmos_cosmos_sdk_types.Int + MinBlockLock uint64 + MinSwapAmount github_com_cosmos_cosmos_sdk_types.Int + SupplyLimit SupplyLimit + func NewAssetParam(denom string, coinID int, limit SupplyLimit, active bool, deputyAddr string, ...) AssetParam + func (*AssetParam) Descriptor() ([]byte, []int) + func (*AssetParam) ProtoMessage() + func (m *AssetParam) Marshal() (dAtA []byte, err error) + func (m *AssetParam) MarshalTo(dAtA []byte) (int, error) + func (m *AssetParam) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AssetParam) Reset() + func (m *AssetParam) Size() (n int) + func (m *AssetParam) Unmarshal(dAtA []byte) error + func (m *AssetParam) XXX_DiscardUnknown() + func (m *AssetParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AssetParam) XXX_Merge(src proto.Message) + func (m *AssetParam) XXX_Size() int + func (m *AssetParam) XXX_Unmarshal(b []byte) error + func (p AssetParam) String() string + func (this *AssetParam) Equal(that interface{}) bool + type AssetSupply struct + CurrentSupply types.Coin + IncomingSupply types.Coin + OutgoingSupply types.Coin + TimeElapsed time.Duration + TimeLimitedCurrentSupply types.Coin + func DefaultAssetSupplies() []AssetSupply + func NewAssetSupply(incomingSupply sdk.Coin, outgoingSupply sdk.Coin, currentSupply sdk.Coin, ...) AssetSupply + func (*AssetSupply) Descriptor() ([]byte, []int) + func (*AssetSupply) ProtoMessage() + func (a AssetSupply) Validate() error + func (m *AssetSupply) Marshal() (dAtA []byte, err error) + func (m *AssetSupply) MarshalTo(dAtA []byte) (int, error) + func (m *AssetSupply) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AssetSupply) Reset() + func (m *AssetSupply) Size() (n int) + func (m *AssetSupply) String() string + func (m *AssetSupply) Unmarshal(dAtA []byte) error + func (m *AssetSupply) XXX_DiscardUnknown() + func (m *AssetSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AssetSupply) XXX_Merge(src proto.Message) + func (m *AssetSupply) XXX_Size() int + func (m *AssetSupply) XXX_Unmarshal(b []byte) error + type BankKeeper interface + BurnCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + GetSupply func(ctx sdk.Context, denom string) sdk.Coin + MintCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type GenesisState struct + Htlcs []HTLC + Params Params + PreviousBlockTime time.Time + Supplies []AssetSupply + func DefaultGenesisState() *GenesisState + func NewGenesisState(params Params, htlcs []HTLC, Supplies []AssetSupply, ...) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetHtlcs() []HTLC + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetPreviousBlockTime() time.Time + func (m *GenesisState) GetSupplies() []AssetSupply + 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 (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) 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 HTLC struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + ClosedBlock uint64 + Direction SwapDirection + ExpirationHeight uint64 + HashLock string + Id string + ReceiverOnOtherChain string + Secret string + Sender string + SenderOnOtherChain string + State HTLCState + Timestamp uint64 + To string + Transfer bool + func NewHTLC(id tmbytes.HexBytes, sender sdk.AccAddress, to sdk.AccAddress, ...) HTLC + func (*HTLC) Descriptor() ([]byte, []int) + func (*HTLC) ProtoMessage() + func (h HTLC) Validate() error + func (m *HTLC) Marshal() (dAtA []byte, err error) + func (m *HTLC) MarshalTo(dAtA []byte) (int, error) + func (m *HTLC) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *HTLC) Reset() + func (m *HTLC) Size() (n int) + func (m *HTLC) String() string + func (m *HTLC) Unmarshal(dAtA []byte) error + func (m *HTLC) XXX_DiscardUnknown() + func (m *HTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HTLC) XXX_Merge(src proto.Message) + func (m *HTLC) XXX_Size() int + func (m *HTLC) XXX_Unmarshal(b []byte) error + func (this *HTLC) Equal(that interface{}) bool + type HTLCState int32 + const Completed + const Open + const Refunded + func (HTLCState) EnumDescriptor() ([]byte, []int) + func (x HTLCState) String() string + type MsgClaimHTLC struct + Id string + Secret string + Sender string + func NewMsgClaimHTLC(sender string, id string, secret string) MsgClaimHTLC + func (*MsgClaimHTLC) Descriptor() ([]byte, []int) + func (*MsgClaimHTLC) ProtoMessage() + func (m *MsgClaimHTLC) Marshal() (dAtA []byte, err error) + func (m *MsgClaimHTLC) MarshalTo(dAtA []byte) (int, error) + func (m *MsgClaimHTLC) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgClaimHTLC) Reset() + func (m *MsgClaimHTLC) Size() (n int) + func (m *MsgClaimHTLC) String() string + func (m *MsgClaimHTLC) Unmarshal(dAtA []byte) error + func (m *MsgClaimHTLC) XXX_DiscardUnknown() + func (m *MsgClaimHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgClaimHTLC) XXX_Merge(src proto.Message) + func (m *MsgClaimHTLC) XXX_Size() int + func (m *MsgClaimHTLC) XXX_Unmarshal(b []byte) error + func (msg MsgClaimHTLC) GetSignBytes() []byte + func (msg MsgClaimHTLC) GetSigners() []sdk.AccAddress + func (msg MsgClaimHTLC) Route() string + func (msg MsgClaimHTLC) Type() string + func (msg MsgClaimHTLC) ValidateBasic() error + func (this *MsgClaimHTLC) Equal(that interface{}) bool + type MsgClaimHTLCResponse struct + func (*MsgClaimHTLCResponse) Descriptor() ([]byte, []int) + func (*MsgClaimHTLCResponse) ProtoMessage() + func (m *MsgClaimHTLCResponse) Marshal() (dAtA []byte, err error) + func (m *MsgClaimHTLCResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgClaimHTLCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgClaimHTLCResponse) Reset() + func (m *MsgClaimHTLCResponse) Size() (n int) + func (m *MsgClaimHTLCResponse) String() string + func (m *MsgClaimHTLCResponse) Unmarshal(dAtA []byte) error + func (m *MsgClaimHTLCResponse) XXX_DiscardUnknown() + func (m *MsgClaimHTLCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgClaimHTLCResponse) XXX_Merge(src proto.Message) + func (m *MsgClaimHTLCResponse) XXX_Size() int + func (m *MsgClaimHTLCResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + ClaimHTLC func(ctx context.Context, in *MsgClaimHTLC, opts ...grpc.CallOption) (*MsgClaimHTLCResponse, error) + CreateHTLC func(ctx context.Context, in *MsgCreateHTLC, opts ...grpc.CallOption) (*MsgCreateHTLCResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateHTLC struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + HashLock string + ReceiverOnOtherChain string + Sender string + SenderOnOtherChain string + TimeLock uint64 + Timestamp uint64 + To string + Transfer bool + func NewMsgCreateHTLC(sender string, to string, receiverOnOtherChain string, ...) MsgCreateHTLC + func (*MsgCreateHTLC) Descriptor() ([]byte, []int) + func (*MsgCreateHTLC) ProtoMessage() + func (m *MsgCreateHTLC) Marshal() (dAtA []byte, err error) + func (m *MsgCreateHTLC) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateHTLC) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateHTLC) Reset() + func (m *MsgCreateHTLC) Size() (n int) + func (m *MsgCreateHTLC) String() string + func (m *MsgCreateHTLC) Unmarshal(dAtA []byte) error + func (m *MsgCreateHTLC) XXX_DiscardUnknown() + func (m *MsgCreateHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateHTLC) XXX_Merge(src proto.Message) + func (m *MsgCreateHTLC) XXX_Size() int + func (m *MsgCreateHTLC) XXX_Unmarshal(b []byte) error + func (msg MsgCreateHTLC) GetSignBytes() []byte + func (msg MsgCreateHTLC) GetSigners() []sdk.AccAddress + func (msg MsgCreateHTLC) Route() string + func (msg MsgCreateHTLC) Type() string + func (msg MsgCreateHTLC) ValidateBasic() error + func (this *MsgCreateHTLC) Equal(that interface{}) bool + type MsgCreateHTLCResponse struct + Id string + func (*MsgCreateHTLCResponse) Descriptor() ([]byte, []int) + func (*MsgCreateHTLCResponse) ProtoMessage() + func (m *MsgCreateHTLCResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateHTLCResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateHTLCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateHTLCResponse) Reset() + func (m *MsgCreateHTLCResponse) Size() (n int) + func (m *MsgCreateHTLCResponse) String() string + func (m *MsgCreateHTLCResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateHTLCResponse) XXX_DiscardUnknown() + func (m *MsgCreateHTLCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateHTLCResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateHTLCResponse) XXX_Size() int + func (m *MsgCreateHTLCResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + ClaimHTLC func(context.Context, *MsgClaimHTLC) (*MsgClaimHTLCResponse, error) + CreateHTLC func(context.Context, *MsgCreateHTLC) (*MsgCreateHTLCResponse, error) + type Params struct + AssetParams []AssetParam + func DefaultParams() Params + func NewParams(assetParams []AssetParam) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) String() string + func (p Params) Validate() error + func (this *Params) Equal(that interface{}) bool + type QueryAssetSuppliesRequest struct + func (*QueryAssetSuppliesRequest) Descriptor() ([]byte, []int) + func (*QueryAssetSuppliesRequest) ProtoMessage() + func (m *QueryAssetSuppliesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSuppliesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesRequest) Reset() + func (m *QueryAssetSuppliesRequest) Size() (n int) + func (m *QueryAssetSuppliesRequest) String() string + func (m *QueryAssetSuppliesRequest) Unmarshal(dAtA []byte) error + func (m *QueryAssetSuppliesRequest) XXX_DiscardUnknown() + func (m *QueryAssetSuppliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSuppliesRequest) XXX_Merge(src proto.Message) + func (m *QueryAssetSuppliesRequest) XXX_Size() int + func (m *QueryAssetSuppliesRequest) XXX_Unmarshal(b []byte) error + type QueryAssetSuppliesResponse struct + AssetSupplies []AssetSupply + func (*QueryAssetSuppliesResponse) Descriptor() ([]byte, []int) + func (*QueryAssetSuppliesResponse) ProtoMessage() + func (m *QueryAssetSuppliesResponse) GetAssetSupplies() []AssetSupply + func (m *QueryAssetSuppliesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSuppliesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesResponse) Reset() + func (m *QueryAssetSuppliesResponse) Size() (n int) + func (m *QueryAssetSuppliesResponse) String() string + func (m *QueryAssetSuppliesResponse) Unmarshal(dAtA []byte) error + func (m *QueryAssetSuppliesResponse) XXX_DiscardUnknown() + func (m *QueryAssetSuppliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSuppliesResponse) XXX_Merge(src proto.Message) + func (m *QueryAssetSuppliesResponse) XXX_Size() int + func (m *QueryAssetSuppliesResponse) XXX_Unmarshal(b []byte) error + type QueryAssetSupplyParams struct + Denom string + type QueryAssetSupplyRequest struct + Denom string + func (*QueryAssetSupplyRequest) Descriptor() ([]byte, []int) + func (*QueryAssetSupplyRequest) ProtoMessage() + func (m *QueryAssetSupplyRequest) GetDenom() string + func (m *QueryAssetSupplyRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSupplyRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSupplyRequest) Reset() + func (m *QueryAssetSupplyRequest) Size() (n int) + func (m *QueryAssetSupplyRequest) String() string + func (m *QueryAssetSupplyRequest) Unmarshal(dAtA []byte) error + func (m *QueryAssetSupplyRequest) XXX_DiscardUnknown() + func (m *QueryAssetSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSupplyRequest) XXX_Merge(src proto.Message) + func (m *QueryAssetSupplyRequest) XXX_Size() int + func (m *QueryAssetSupplyRequest) XXX_Unmarshal(b []byte) error + type QueryAssetSupplyResponse struct + AssetSupply *AssetSupply + func (*QueryAssetSupplyResponse) Descriptor() ([]byte, []int) + func (*QueryAssetSupplyResponse) ProtoMessage() + func (m *QueryAssetSupplyResponse) GetAssetSupply() *AssetSupply + func (m *QueryAssetSupplyResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSupplyResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSupplyResponse) Reset() + func (m *QueryAssetSupplyResponse) Size() (n int) + func (m *QueryAssetSupplyResponse) String() string + func (m *QueryAssetSupplyResponse) Unmarshal(dAtA []byte) error + func (m *QueryAssetSupplyResponse) XXX_DiscardUnknown() + func (m *QueryAssetSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSupplyResponse) XXX_Merge(src proto.Message) + func (m *QueryAssetSupplyResponse) XXX_Size() int + func (m *QueryAssetSupplyResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + AssetSupplies func(ctx context.Context, in *QueryAssetSuppliesRequest, opts ...grpc.CallOption) (*QueryAssetSuppliesResponse, error) + AssetSupply func(ctx context.Context, in *QueryAssetSupplyRequest, opts ...grpc.CallOption) (*QueryAssetSupplyResponse, error) + HTLC func(ctx context.Context, in *QueryHTLCRequest, opts ...grpc.CallOption) (*QueryHTLCResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryHTLCParams struct + ID tmbytes.HexBytes + type QueryHTLCRequest struct + Id string + func (*QueryHTLCRequest) Descriptor() ([]byte, []int) + func (*QueryHTLCRequest) ProtoMessage() + func (m *QueryHTLCRequest) GetId() string + func (m *QueryHTLCRequest) Marshal() (dAtA []byte, err error) + func (m *QueryHTLCRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryHTLCRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryHTLCRequest) Reset() + func (m *QueryHTLCRequest) Size() (n int) + func (m *QueryHTLCRequest) String() string + func (m *QueryHTLCRequest) Unmarshal(dAtA []byte) error + func (m *QueryHTLCRequest) XXX_DiscardUnknown() + func (m *QueryHTLCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryHTLCRequest) XXX_Merge(src proto.Message) + func (m *QueryHTLCRequest) XXX_Size() int + func (m *QueryHTLCRequest) XXX_Unmarshal(b []byte) error + type QueryHTLCResponse struct + Htlc *HTLC + func (*QueryHTLCResponse) Descriptor() ([]byte, []int) + func (*QueryHTLCResponse) ProtoMessage() + func (m *QueryHTLCResponse) GetHtlc() *HTLC + func (m *QueryHTLCResponse) Marshal() (dAtA []byte, err error) + func (m *QueryHTLCResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryHTLCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryHTLCResponse) Reset() + func (m *QueryHTLCResponse) Size() (n int) + func (m *QueryHTLCResponse) String() string + func (m *QueryHTLCResponse) Unmarshal(dAtA []byte) error + func (m *QueryHTLCResponse) XXX_DiscardUnknown() + func (m *QueryHTLCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryHTLCResponse) XXX_Merge(src proto.Message) + func (m *QueryHTLCResponse) XXX_Size() int + func (m *QueryHTLCResponse) XXX_Unmarshal(b []byte) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) GetParams() Params + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + AssetSupplies func(context.Context, *QueryAssetSuppliesRequest) (*QueryAssetSuppliesResponse, error) + AssetSupply func(context.Context, *QueryAssetSupplyRequest) (*QueryAssetSupplyResponse, error) + HTLC func(context.Context, *QueryHTLCRequest) (*QueryHTLCResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type SupplyLimit struct + Limit github_com_cosmos_cosmos_sdk_types.Int + TimeBasedLimit github_com_cosmos_cosmos_sdk_types.Int + TimeLimited bool + TimePeriod time.Duration + func (*SupplyLimit) Descriptor() ([]byte, []int) + func (*SupplyLimit) ProtoMessage() + func (m *SupplyLimit) Marshal() (dAtA []byte, err error) + func (m *SupplyLimit) MarshalTo(dAtA []byte) (int, error) + func (m *SupplyLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SupplyLimit) Reset() + func (m *SupplyLimit) Size() (n int) + func (m *SupplyLimit) Unmarshal(dAtA []byte) error + func (m *SupplyLimit) XXX_DiscardUnknown() + func (m *SupplyLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SupplyLimit) XXX_Merge(src proto.Message) + func (m *SupplyLimit) XXX_Size() int + func (m *SupplyLimit) XXX_Unmarshal(b []byte) error + func (p SupplyLimit) String() string + func (this *SupplyLimit) Equal(that interface{}) bool + type SwapDirection int32 + const Incoming + const None + const Outgoing + func (SwapDirection) EnumDescriptor() ([]byte, []int) + func (x SwapDirection) String() string + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) ClaimHTLC(ctx context.Context, req *MsgClaimHTLC) (*MsgClaimHTLCResponse, error) + func (*UnimplementedMsgServer) CreateHTLC(ctx context.Context, req *MsgCreateHTLC) (*MsgCreateHTLCResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) AssetSupplies(ctx context.Context, req *QueryAssetSuppliesRequest) (*QueryAssetSuppliesResponse, error) + func (*UnimplementedQueryServer) AssetSupply(ctx context.Context, req *QueryAssetSupplyRequest) (*QueryAssetSupplyResponse, error) + func (*UnimplementedQueryServer) HTLC(ctx context.Context, req *QueryHTLCRequest) (*QueryHTLCResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)