coreum-js 2.16.2 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/client/index.js +16 -17
- package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
- package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -120
- package/dist/main/coreum/asset/ft/v1/event.js +744 -138
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -517
- package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
- package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -63
- package/dist/main/coreum/asset/ft/v1/params.js +37 -33
- package/dist/main/coreum/asset/ft/v1/query.d.ts +86 -1950
- package/dist/main/coreum/asset/ft/v1/query.js +697 -217
- package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -249
- package/dist/main/coreum/asset/ft/v1/token.js +273 -197
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -755
- package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
- package/dist/main/coreum/asset/index.d.ts +2 -3
- package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
- package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -147
- package/dist/main/coreum/asset/nft/v1/event.js +475 -147
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -286
- package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -108
- package/dist/main/coreum/asset/nft/v1/nft.js +136 -101
- package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -38
- package/dist/main/coreum/asset/nft/v1/params.js +17 -20
- package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -706
- package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -266
- package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
- package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -19
- package/dist/main/coreum/asset/nft/v1/types.js +273 -45
- package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -32
- package/dist/main/coreum/customparams/v1/genesis.js +26 -22
- package/dist/main/coreum/customparams/v1/params.d.ts +11 -19
- package/dist/main/coreum/customparams/v1/params.js +23 -20
- package/dist/main/coreum/customparams/v1/query.d.ts +14 -40
- package/dist/main/coreum/customparams/v1/query.js +35 -29
- package/dist/main/coreum/dex/index.d.ts +1 -0
- package/dist/main/coreum/dex/index.js +12 -0
- package/dist/main/coreum/dex/v1/event.d.ts +73 -0
- package/dist/main/coreum/dex/v1/event.js +470 -0
- package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/main/coreum/dex/v1/genesis.js +318 -0
- package/dist/main/coreum/dex/v1/order.d.ts +172 -0
- package/dist/main/coreum/dex/v1/order.js +1137 -0
- package/dist/main/coreum/dex/v1/params.d.ts +34 -0
- package/dist/main/coreum/dex/v1/params.js +139 -0
- package/dist/main/coreum/dex/v1/query.d.ts +133 -0
- package/dist/main/coreum/dex/v1/query.js +873 -0
- package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/main/coreum/dex/v1/tx.js +521 -0
- package/dist/main/coreum/extensions/dex.d.ts +12 -0
- package/dist/main/coreum/extensions/dex.js +32 -0
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -233
- package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
- package/dist/main/coreum/feemodel/v1/params.d.ts +14 -337
- package/dist/main/coreum/feemodel/v1/params.js +113 -66
- package/dist/main/coreum/feemodel/v1/query.d.ts +30 -261
- package/dist/main/coreum/feemodel/v1/query.js +196 -43
- package/dist/main/coreum/index.d.ts +46 -0
- package/dist/main/coreum/index.js +58 -1
- package/dist/main/coreum/nft/index.d.ts +1 -2
- package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -79
- package/dist/main/coreum/nft/v1beta1/event.js +103 -77
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -435
- package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -114
- package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
- package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -1628
- package/dist/main/coreum/nft/v1beta1/query.js +259 -223
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -39
- package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
- package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/main/cosmos/extensions/distribution.js +9 -9
- package/dist/main/cosmos/extensions/gov.d.ts +13 -13
- package/dist/main/cosmos/extensions/gov.js +14 -8
- package/dist/main/cosmos/index.d.ts +8 -8
- package/dist/main/google/api/http.js +18 -21
- package/dist/main/google/protobuf/any.js +3 -4
- package/dist/main/google/protobuf/duration.js +3 -4
- package/dist/main/google/protobuf/timestamp.js +3 -4
- package/dist/main/services/cosmostation.js +1 -1
- package/dist/main/tendermint/abci/types.js +183 -223
- package/dist/main/tendermint/crypto/keys.js +3 -4
- package/dist/main/tendermint/crypto/proof.js +19 -24
- package/dist/main/tendermint/types/params.js +15 -20
- package/dist/main/tendermint/types/types.js +57 -68
- package/dist/main/tendermint/types/validator.js +10 -13
- package/dist/main/tendermint/version/types.js +6 -8
- package/dist/main/types/core.d.ts +2 -1
- package/dist/main/types/core.js +2 -0
- package/dist/main/wasm/v1/authz.d.ts +20 -471
- package/dist/main/wasm/v1/authz.js +129 -148
- package/dist/main/wasm/v1/genesis.d.ts +14 -1020
- package/dist/main/wasm/v1/genesis.js +169 -140
- package/dist/main/wasm/v1/ibc.d.ts +13 -62
- package/dist/main/wasm/v1/ibc.js +91 -76
- package/dist/main/wasm/v1/index.d.ts +1 -2
- package/dist/main/wasm/v1/pagination.js +9 -11
- package/dist/main/wasm/v1/proposal.d.ts +23 -720
- package/dist/main/wasm/v1/proposal.js +634 -465
- package/dist/main/wasm/v1/query.d.ts +35 -1201
- package/dist/main/wasm/v1/query.js +370 -363
- package/dist/main/wasm/v1/tx.d.ts +37 -788
- package/dist/main/wasm/v1/tx.js +621 -497
- package/dist/main/wasm/v1/types.d.ts +19 -297
- package/dist/main/wasm/v1/types.js +219 -190
- package/dist/module/client/index.js +4 -3
- package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
- package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -120
- package/dist/module/coreum/asset/ft/v1/event.js +721 -109
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -517
- package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
- package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -63
- package/dist/module/coreum/asset/ft/v1/params.js +35 -27
- package/dist/module/coreum/asset/ft/v1/query.d.ts +86 -1950
- package/dist/module/coreum/asset/ft/v1/query.js +672 -180
- package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -249
- package/dist/module/coreum/asset/ft/v1/token.js +236 -152
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -755
- package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
- package/dist/module/coreum/asset/index.d.ts +2 -3
- package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
- package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -147
- package/dist/module/coreum/asset/nft/v1/event.js +448 -112
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -286
- package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -108
- package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
- package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -38
- package/dist/module/coreum/asset/nft/v1/params.js +16 -16
- package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -706
- package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -266
- package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
- package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -19
- package/dist/module/coreum/asset/nft/v1/types.js +269 -39
- package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -32
- package/dist/module/coreum/customparams/v1/genesis.js +25 -18
- package/dist/module/coreum/customparams/v1/params.d.ts +11 -19
- package/dist/module/coreum/customparams/v1/params.js +21 -14
- package/dist/module/coreum/customparams/v1/query.d.ts +14 -40
- package/dist/module/coreum/customparams/v1/query.js +32 -23
- package/dist/module/coreum/dex/index.d.ts +1 -0
- package/dist/module/coreum/dex/index.js +9 -0
- package/dist/module/coreum/dex/v1/event.d.ts +73 -0
- package/dist/module/coreum/dex/v1/event.js +467 -0
- package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/module/coreum/dex/v1/genesis.js +315 -0
- package/dist/module/coreum/dex/v1/order.d.ts +172 -0
- package/dist/module/coreum/dex/v1/order.js +1128 -0
- package/dist/module/coreum/dex/v1/params.d.ts +34 -0
- package/dist/module/coreum/dex/v1/params.js +136 -0
- package/dist/module/coreum/dex/v1/query.d.ts +133 -0
- package/dist/module/coreum/dex/v1/query.js +871 -0
- package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/module/coreum/dex/v1/tx.js +519 -0
- package/dist/module/coreum/extensions/dex.d.ts +12 -0
- package/dist/module/coreum/extensions/dex.js +28 -0
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -233
- package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
- package/dist/module/coreum/feemodel/v1/params.d.ts +14 -337
- package/dist/module/coreum/feemodel/v1/params.js +105 -54
- package/dist/module/coreum/feemodel/v1/query.d.ts +30 -261
- package/dist/module/coreum/feemodel/v1/query.js +191 -35
- package/dist/module/coreum/index.d.ts +46 -0
- package/dist/module/coreum/index.js +57 -0
- package/dist/module/coreum/nft/index.d.ts +1 -2
- package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -79
- package/dist/module/coreum/nft/v1beta1/event.js +90 -58
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -435
- package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -114
- package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
- package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -1628
- package/dist/module/coreum/nft/v1beta1/query.js +231 -183
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -39
- package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
- package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/module/cosmos/extensions/gov.d.ts +13 -13
- package/dist/module/cosmos/index.d.ts +8 -8
- package/dist/module/services/cosmostation.js +1 -1
- package/dist/module/types/core.d.ts +2 -1
- package/dist/module/types/core.js +2 -0
- package/dist/module/wasm/v1/authz.d.ts +20 -471
- package/dist/module/wasm/v1/authz.js +111 -119
- package/dist/module/wasm/v1/genesis.d.ts +14 -1020
- package/dist/module/wasm/v1/genesis.js +161 -125
- package/dist/module/wasm/v1/ibc.d.ts +13 -62
- package/dist/module/wasm/v1/ibc.js +83 -62
- package/dist/module/wasm/v1/index.d.ts +1 -2
- package/dist/module/wasm/v1/proposal.d.ts +23 -720
- package/dist/module/wasm/v1/proposal.js +562 -377
- package/dist/module/wasm/v1/query.d.ts +35 -1201
- package/dist/module/wasm/v1/query.js +330 -301
- package/dist/module/wasm/v1/tx.d.ts +37 -788
- package/dist/module/wasm/v1/tx.js +551 -404
- package/dist/module/wasm/v1/types.d.ts +19 -297
- package/dist/module/wasm/v1/types.js +196 -156
- package/package.json +11 -10
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
|
|
3
2
|
import { PageRequest, PageResponse } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
|
|
4
3
|
import { Class } from "./nft";
|
|
5
4
|
import { Params } from "./params";
|
|
@@ -9,7 +8,7 @@ export interface QueryParamsRequest {
|
|
|
9
8
|
}
|
|
10
9
|
/** QueryParamsResponse defines the response type for querying x/asset/nft parameters. */
|
|
11
10
|
export interface QueryParamsResponse {
|
|
12
|
-
params
|
|
11
|
+
params: Params | undefined;
|
|
13
12
|
}
|
|
14
13
|
/** QueryTokenRequest is request type for the Query/Class RPC method. */
|
|
15
14
|
export interface QueryClassRequest {
|
|
@@ -18,7 +17,19 @@ export interface QueryClassRequest {
|
|
|
18
17
|
}
|
|
19
18
|
/** QueryClassResponse is response type for the Query/Class RPC method. */
|
|
20
19
|
export interface QueryClassResponse {
|
|
21
|
-
class
|
|
20
|
+
class: Class | undefined;
|
|
21
|
+
}
|
|
22
|
+
/** QueryTokenRequest is request type for the Query/Classes RPC method. */
|
|
23
|
+
export interface QueryClassesRequest {
|
|
24
|
+
/** pagination defines an optional pagination for the request. */
|
|
25
|
+
pagination: PageRequest | undefined;
|
|
26
|
+
issuer: string;
|
|
27
|
+
}
|
|
28
|
+
/** QueryClassResponse is response type for the Query/Classes RPC method. */
|
|
29
|
+
export interface QueryClassesResponse {
|
|
30
|
+
/** pagination defines the pagination in the response. */
|
|
31
|
+
pagination: PageResponse | undefined;
|
|
32
|
+
classes: Class[];
|
|
22
33
|
}
|
|
23
34
|
export interface QueryFrozenRequest {
|
|
24
35
|
id: string;
|
|
@@ -27,6 +38,13 @@ export interface QueryFrozenRequest {
|
|
|
27
38
|
export interface QueryFrozenResponse {
|
|
28
39
|
frozen: boolean;
|
|
29
40
|
}
|
|
41
|
+
export interface QueryClassFrozenRequest {
|
|
42
|
+
classId: string;
|
|
43
|
+
account: string;
|
|
44
|
+
}
|
|
45
|
+
export interface QueryClassFrozenResponse {
|
|
46
|
+
frozen: boolean;
|
|
47
|
+
}
|
|
30
48
|
export interface QueryWhitelistedRequest {
|
|
31
49
|
id: string;
|
|
32
50
|
classId: string;
|
|
@@ -37,726 +55,98 @@ export interface QueryWhitelistedResponse {
|
|
|
37
55
|
}
|
|
38
56
|
export interface QueryWhitelistedAccountsForNFTRequest {
|
|
39
57
|
/** pagination defines an optional pagination for the request. */
|
|
40
|
-
pagination
|
|
58
|
+
pagination: PageRequest | undefined;
|
|
41
59
|
id: string;
|
|
42
60
|
classId: string;
|
|
43
61
|
}
|
|
44
62
|
export interface QueryWhitelistedAccountsForNFTResponse {
|
|
45
63
|
/** pagination defines the pagination in the response. */
|
|
46
|
-
pagination
|
|
64
|
+
pagination: PageResponse | undefined;
|
|
47
65
|
accounts: string[];
|
|
48
66
|
}
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} & { [K_4 in Exclude<keyof I_1["params"], "mintFee">]: never; };
|
|
107
|
-
} & { [K_5 in Exclude<keyof I_1, "params">]: never; }>(object: I_1): QueryParamsResponse;
|
|
108
|
-
};
|
|
109
|
-
export declare const QueryClassRequest: {
|
|
110
|
-
encode(message: QueryClassRequest, writer?: _m0.Writer): _m0.Writer;
|
|
111
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest;
|
|
112
|
-
fromJSON(object: any): QueryClassRequest;
|
|
113
|
-
toJSON(message: QueryClassRequest): unknown;
|
|
114
|
-
create<I extends {
|
|
115
|
-
id?: string;
|
|
116
|
-
} & {
|
|
117
|
-
id?: string;
|
|
118
|
-
} & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): QueryClassRequest;
|
|
119
|
-
fromPartial<I_1 extends {
|
|
120
|
-
id?: string;
|
|
121
|
-
} & {
|
|
122
|
-
id?: string;
|
|
123
|
-
} & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): QueryClassRequest;
|
|
124
|
-
};
|
|
125
|
-
export declare const QueryClassResponse: {
|
|
126
|
-
encode(message: QueryClassResponse, writer?: _m0.Writer): _m0.Writer;
|
|
127
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse;
|
|
128
|
-
fromJSON(object: any): QueryClassResponse;
|
|
129
|
-
toJSON(message: QueryClassResponse): unknown;
|
|
130
|
-
create<I extends {
|
|
131
|
-
class?: {
|
|
132
|
-
id?: string;
|
|
133
|
-
issuer?: string;
|
|
134
|
-
name?: string;
|
|
135
|
-
symbol?: string;
|
|
136
|
-
description?: string;
|
|
137
|
-
uri?: string;
|
|
138
|
-
uriHash?: string;
|
|
139
|
-
data?: {
|
|
140
|
-
typeUrl?: string;
|
|
141
|
-
value?: Uint8Array;
|
|
142
|
-
};
|
|
143
|
-
features?: import("./nft").ClassFeature[];
|
|
144
|
-
royaltyRate?: string;
|
|
145
|
-
};
|
|
146
|
-
} & {
|
|
147
|
-
class?: {
|
|
148
|
-
id?: string;
|
|
149
|
-
issuer?: string;
|
|
150
|
-
name?: string;
|
|
151
|
-
symbol?: string;
|
|
152
|
-
description?: string;
|
|
153
|
-
uri?: string;
|
|
154
|
-
uriHash?: string;
|
|
155
|
-
data?: {
|
|
156
|
-
typeUrl?: string;
|
|
157
|
-
value?: Uint8Array;
|
|
158
|
-
};
|
|
159
|
-
features?: import("./nft").ClassFeature[];
|
|
160
|
-
royaltyRate?: string;
|
|
161
|
-
} & {
|
|
162
|
-
id?: string;
|
|
163
|
-
issuer?: string;
|
|
164
|
-
name?: string;
|
|
165
|
-
symbol?: string;
|
|
166
|
-
description?: string;
|
|
167
|
-
uri?: string;
|
|
168
|
-
uriHash?: string;
|
|
169
|
-
data?: {
|
|
170
|
-
typeUrl?: string;
|
|
171
|
-
value?: Uint8Array;
|
|
172
|
-
} & {
|
|
173
|
-
typeUrl?: string;
|
|
174
|
-
value?: Uint8Array;
|
|
175
|
-
} & { [K in Exclude<keyof I["class"]["data"], keyof import("../../../../google").Any>]: never; };
|
|
176
|
-
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_1 in Exclude<keyof I["class"]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
177
|
-
royaltyRate?: string;
|
|
178
|
-
} & { [K_2 in Exclude<keyof I["class"], keyof Class>]: never; };
|
|
179
|
-
} & { [K_3 in Exclude<keyof I, "class">]: never; }>(base?: I): QueryClassResponse;
|
|
180
|
-
fromPartial<I_1 extends {
|
|
181
|
-
class?: {
|
|
182
|
-
id?: string;
|
|
183
|
-
issuer?: string;
|
|
184
|
-
name?: string;
|
|
185
|
-
symbol?: string;
|
|
186
|
-
description?: string;
|
|
187
|
-
uri?: string;
|
|
188
|
-
uriHash?: string;
|
|
189
|
-
data?: {
|
|
190
|
-
typeUrl?: string;
|
|
191
|
-
value?: Uint8Array;
|
|
192
|
-
};
|
|
193
|
-
features?: import("./nft").ClassFeature[];
|
|
194
|
-
royaltyRate?: string;
|
|
195
|
-
};
|
|
196
|
-
} & {
|
|
197
|
-
class?: {
|
|
198
|
-
id?: string;
|
|
199
|
-
issuer?: string;
|
|
200
|
-
name?: string;
|
|
201
|
-
symbol?: string;
|
|
202
|
-
description?: string;
|
|
203
|
-
uri?: string;
|
|
204
|
-
uriHash?: string;
|
|
205
|
-
data?: {
|
|
206
|
-
typeUrl?: string;
|
|
207
|
-
value?: Uint8Array;
|
|
208
|
-
};
|
|
209
|
-
features?: import("./nft").ClassFeature[];
|
|
210
|
-
royaltyRate?: string;
|
|
211
|
-
} & {
|
|
212
|
-
id?: string;
|
|
213
|
-
issuer?: string;
|
|
214
|
-
name?: string;
|
|
215
|
-
symbol?: string;
|
|
216
|
-
description?: string;
|
|
217
|
-
uri?: string;
|
|
218
|
-
uriHash?: string;
|
|
219
|
-
data?: {
|
|
220
|
-
typeUrl?: string;
|
|
221
|
-
value?: Uint8Array;
|
|
222
|
-
} & {
|
|
223
|
-
typeUrl?: string;
|
|
224
|
-
value?: Uint8Array;
|
|
225
|
-
} & { [K_4 in Exclude<keyof I_1["class"]["data"], keyof import("../../../../google").Any>]: never; };
|
|
226
|
-
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_5 in Exclude<keyof I_1["class"]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
227
|
-
royaltyRate?: string;
|
|
228
|
-
} & { [K_6 in Exclude<keyof I_1["class"], keyof Class>]: never; };
|
|
229
|
-
} & { [K_7 in Exclude<keyof I_1, "class">]: never; }>(object: I_1): QueryClassResponse;
|
|
230
|
-
};
|
|
231
|
-
export declare const QueryFrozenRequest: {
|
|
232
|
-
encode(message: QueryFrozenRequest, writer?: _m0.Writer): _m0.Writer;
|
|
233
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFrozenRequest;
|
|
234
|
-
fromJSON(object: any): QueryFrozenRequest;
|
|
235
|
-
toJSON(message: QueryFrozenRequest): unknown;
|
|
236
|
-
create<I extends {
|
|
237
|
-
id?: string;
|
|
238
|
-
classId?: string;
|
|
239
|
-
} & {
|
|
240
|
-
id?: string;
|
|
241
|
-
classId?: string;
|
|
242
|
-
} & { [K in Exclude<keyof I, keyof QueryFrozenRequest>]: never; }>(base?: I): QueryFrozenRequest;
|
|
243
|
-
fromPartial<I_1 extends {
|
|
244
|
-
id?: string;
|
|
245
|
-
classId?: string;
|
|
246
|
-
} & {
|
|
247
|
-
id?: string;
|
|
248
|
-
classId?: string;
|
|
249
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QueryFrozenRequest>]: never; }>(object: I_1): QueryFrozenRequest;
|
|
250
|
-
};
|
|
251
|
-
export declare const QueryFrozenResponse: {
|
|
252
|
-
encode(message: QueryFrozenResponse, writer?: _m0.Writer): _m0.Writer;
|
|
253
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFrozenResponse;
|
|
254
|
-
fromJSON(object: any): QueryFrozenResponse;
|
|
255
|
-
toJSON(message: QueryFrozenResponse): unknown;
|
|
256
|
-
create<I extends {
|
|
257
|
-
frozen?: boolean;
|
|
258
|
-
} & {
|
|
259
|
-
frozen?: boolean;
|
|
260
|
-
} & { [K in Exclude<keyof I, "frozen">]: never; }>(base?: I): QueryFrozenResponse;
|
|
261
|
-
fromPartial<I_1 extends {
|
|
262
|
-
frozen?: boolean;
|
|
263
|
-
} & {
|
|
264
|
-
frozen?: boolean;
|
|
265
|
-
} & { [K_1 in Exclude<keyof I_1, "frozen">]: never; }>(object: I_1): QueryFrozenResponse;
|
|
266
|
-
};
|
|
267
|
-
export declare const QueryWhitelistedRequest: {
|
|
268
|
-
encode(message: QueryWhitelistedRequest, writer?: _m0.Writer): _m0.Writer;
|
|
269
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryWhitelistedRequest;
|
|
270
|
-
fromJSON(object: any): QueryWhitelistedRequest;
|
|
271
|
-
toJSON(message: QueryWhitelistedRequest): unknown;
|
|
272
|
-
create<I extends {
|
|
273
|
-
id?: string;
|
|
274
|
-
classId?: string;
|
|
275
|
-
account?: string;
|
|
276
|
-
} & {
|
|
277
|
-
id?: string;
|
|
278
|
-
classId?: string;
|
|
279
|
-
account?: string;
|
|
280
|
-
} & { [K in Exclude<keyof I, keyof QueryWhitelistedRequest>]: never; }>(base?: I): QueryWhitelistedRequest;
|
|
281
|
-
fromPartial<I_1 extends {
|
|
282
|
-
id?: string;
|
|
283
|
-
classId?: string;
|
|
284
|
-
account?: string;
|
|
285
|
-
} & {
|
|
286
|
-
id?: string;
|
|
287
|
-
classId?: string;
|
|
288
|
-
account?: string;
|
|
289
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QueryWhitelistedRequest>]: never; }>(object: I_1): QueryWhitelistedRequest;
|
|
290
|
-
};
|
|
291
|
-
export declare const QueryWhitelistedResponse: {
|
|
292
|
-
encode(message: QueryWhitelistedResponse, writer?: _m0.Writer): _m0.Writer;
|
|
293
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryWhitelistedResponse;
|
|
294
|
-
fromJSON(object: any): QueryWhitelistedResponse;
|
|
295
|
-
toJSON(message: QueryWhitelistedResponse): unknown;
|
|
296
|
-
create<I extends {
|
|
297
|
-
whitelisted?: boolean;
|
|
298
|
-
} & {
|
|
299
|
-
whitelisted?: boolean;
|
|
300
|
-
} & { [K in Exclude<keyof I, "whitelisted">]: never; }>(base?: I): QueryWhitelistedResponse;
|
|
301
|
-
fromPartial<I_1 extends {
|
|
302
|
-
whitelisted?: boolean;
|
|
303
|
-
} & {
|
|
304
|
-
whitelisted?: boolean;
|
|
305
|
-
} & { [K_1 in Exclude<keyof I_1, "whitelisted">]: never; }>(object: I_1): QueryWhitelistedResponse;
|
|
306
|
-
};
|
|
307
|
-
export declare const QueryWhitelistedAccountsForNFTRequest: {
|
|
308
|
-
encode(message: QueryWhitelistedAccountsForNFTRequest, writer?: _m0.Writer): _m0.Writer;
|
|
309
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryWhitelistedAccountsForNFTRequest;
|
|
310
|
-
fromJSON(object: any): QueryWhitelistedAccountsForNFTRequest;
|
|
311
|
-
toJSON(message: QueryWhitelistedAccountsForNFTRequest): unknown;
|
|
312
|
-
create<I extends {
|
|
313
|
-
pagination?: {
|
|
314
|
-
key?: Uint8Array;
|
|
315
|
-
offset?: string | number | Long.Long;
|
|
316
|
-
limit?: string | number | Long.Long;
|
|
317
|
-
countTotal?: boolean;
|
|
318
|
-
reverse?: boolean;
|
|
319
|
-
};
|
|
320
|
-
id?: string;
|
|
321
|
-
classId?: string;
|
|
322
|
-
} & {
|
|
323
|
-
pagination?: {
|
|
324
|
-
key?: Uint8Array;
|
|
325
|
-
offset?: string | number | Long.Long;
|
|
326
|
-
limit?: string | number | Long.Long;
|
|
327
|
-
countTotal?: boolean;
|
|
328
|
-
reverse?: boolean;
|
|
329
|
-
} & {
|
|
330
|
-
key?: Uint8Array;
|
|
331
|
-
offset?: string | number | (Long.Long & {
|
|
332
|
-
high: number;
|
|
333
|
-
low: number;
|
|
334
|
-
unsigned: boolean;
|
|
335
|
-
add: (addend: string | number | Long.Long) => Long.Long;
|
|
336
|
-
and: (other: string | number | Long.Long) => Long.Long;
|
|
337
|
-
compare: (other: string | number | Long.Long) => number;
|
|
338
|
-
comp: (other: string | number | Long.Long) => number;
|
|
339
|
-
divide: (divisor: string | number | Long.Long) => Long.Long;
|
|
340
|
-
div: (divisor: string | number | Long.Long) => Long.Long;
|
|
341
|
-
equals: (other: string | number | Long.Long) => boolean;
|
|
342
|
-
eq: (other: string | number | Long.Long) => boolean;
|
|
343
|
-
getHighBits: () => number;
|
|
344
|
-
getHighBitsUnsigned: () => number;
|
|
345
|
-
getLowBits: () => number;
|
|
346
|
-
getLowBitsUnsigned: () => number;
|
|
347
|
-
getNumBitsAbs: () => number;
|
|
348
|
-
greaterThan: (other: string | number | Long.Long) => boolean;
|
|
349
|
-
gt: (other: string | number | Long.Long) => boolean;
|
|
350
|
-
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
351
|
-
gte: (other: string | number | Long.Long) => boolean;
|
|
352
|
-
isEven: () => boolean;
|
|
353
|
-
isNegative: () => boolean;
|
|
354
|
-
isOdd: () => boolean;
|
|
355
|
-
isPositive: () => boolean;
|
|
356
|
-
isZero: () => boolean;
|
|
357
|
-
lessThan: (other: string | number | Long.Long) => boolean;
|
|
358
|
-
lt: (other: string | number | Long.Long) => boolean;
|
|
359
|
-
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
360
|
-
lte: (other: string | number | Long.Long) => boolean;
|
|
361
|
-
modulo: (other: string | number | Long.Long) => Long.Long;
|
|
362
|
-
mod: (other: string | number | Long.Long) => Long.Long;
|
|
363
|
-
multiply: (multiplier: string | number | Long.Long) => Long.Long;
|
|
364
|
-
mul: (multiplier: string | number | Long.Long) => Long.Long;
|
|
365
|
-
negate: () => Long.Long;
|
|
366
|
-
neg: () => Long.Long;
|
|
367
|
-
not: () => Long.Long;
|
|
368
|
-
notEquals: (other: string | number | Long.Long) => boolean;
|
|
369
|
-
neq: (other: string | number | Long.Long) => boolean;
|
|
370
|
-
or: (other: string | number | Long.Long) => Long.Long;
|
|
371
|
-
shiftLeft: (numBits: number | Long.Long) => Long.Long;
|
|
372
|
-
shl: (numBits: number | Long.Long) => Long.Long;
|
|
373
|
-
shiftRight: (numBits: number | Long.Long) => Long.Long;
|
|
374
|
-
shr: (numBits: number | Long.Long) => Long.Long;
|
|
375
|
-
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
|
|
376
|
-
shru: (numBits: number | Long.Long) => Long.Long;
|
|
377
|
-
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
378
|
-
sub: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
379
|
-
toInt: () => number;
|
|
380
|
-
toNumber: () => number;
|
|
381
|
-
toBytes: (le?: boolean) => number[];
|
|
382
|
-
toBytesLE: () => number[];
|
|
383
|
-
toBytesBE: () => number[];
|
|
384
|
-
toSigned: () => Long.Long;
|
|
385
|
-
toString: (radix?: number) => string;
|
|
386
|
-
toUnsigned: () => Long.Long;
|
|
387
|
-
xor: (other: string | number | Long.Long) => Long.Long;
|
|
388
|
-
} & { [K in Exclude<keyof I["pagination"]["offset"], keyof Long.Long>]: never; });
|
|
389
|
-
limit?: string | number | (Long.Long & {
|
|
390
|
-
high: number;
|
|
391
|
-
low: number;
|
|
392
|
-
unsigned: boolean;
|
|
393
|
-
add: (addend: string | number | Long.Long) => Long.Long;
|
|
394
|
-
and: (other: string | number | Long.Long) => Long.Long;
|
|
395
|
-
compare: (other: string | number | Long.Long) => number;
|
|
396
|
-
comp: (other: string | number | Long.Long) => number;
|
|
397
|
-
divide: (divisor: string | number | Long.Long) => Long.Long;
|
|
398
|
-
div: (divisor: string | number | Long.Long) => Long.Long;
|
|
399
|
-
equals: (other: string | number | Long.Long) => boolean;
|
|
400
|
-
eq: (other: string | number | Long.Long) => boolean;
|
|
401
|
-
getHighBits: () => number;
|
|
402
|
-
getHighBitsUnsigned: () => number;
|
|
403
|
-
getLowBits: () => number;
|
|
404
|
-
getLowBitsUnsigned: () => number;
|
|
405
|
-
getNumBitsAbs: () => number;
|
|
406
|
-
greaterThan: (other: string | number | Long.Long) => boolean;
|
|
407
|
-
gt: (other: string | number | Long.Long) => boolean;
|
|
408
|
-
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
409
|
-
gte: (other: string | number | Long.Long) => boolean;
|
|
410
|
-
isEven: () => boolean;
|
|
411
|
-
isNegative: () => boolean;
|
|
412
|
-
isOdd: () => boolean;
|
|
413
|
-
isPositive: () => boolean;
|
|
414
|
-
isZero: () => boolean;
|
|
415
|
-
lessThan: (other: string | number | Long.Long) => boolean;
|
|
416
|
-
lt: (other: string | number | Long.Long) => boolean;
|
|
417
|
-
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
418
|
-
lte: (other: string | number | Long.Long) => boolean;
|
|
419
|
-
modulo: (other: string | number | Long.Long) => Long.Long;
|
|
420
|
-
mod: (other: string | number | Long.Long) => Long.Long;
|
|
421
|
-
multiply: (multiplier: string | number | Long.Long) => Long.Long;
|
|
422
|
-
mul: (multiplier: string | number | Long.Long) => Long.Long;
|
|
423
|
-
negate: () => Long.Long;
|
|
424
|
-
neg: () => Long.Long;
|
|
425
|
-
not: () => Long.Long;
|
|
426
|
-
notEquals: (other: string | number | Long.Long) => boolean;
|
|
427
|
-
neq: (other: string | number | Long.Long) => boolean;
|
|
428
|
-
or: (other: string | number | Long.Long) => Long.Long;
|
|
429
|
-
shiftLeft: (numBits: number | Long.Long) => Long.Long;
|
|
430
|
-
shl: (numBits: number | Long.Long) => Long.Long;
|
|
431
|
-
shiftRight: (numBits: number | Long.Long) => Long.Long;
|
|
432
|
-
shr: (numBits: number | Long.Long) => Long.Long;
|
|
433
|
-
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
|
|
434
|
-
shru: (numBits: number | Long.Long) => Long.Long;
|
|
435
|
-
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
436
|
-
sub: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
437
|
-
toInt: () => number;
|
|
438
|
-
toNumber: () => number;
|
|
439
|
-
toBytes: (le?: boolean) => number[];
|
|
440
|
-
toBytesLE: () => number[];
|
|
441
|
-
toBytesBE: () => number[];
|
|
442
|
-
toSigned: () => Long.Long;
|
|
443
|
-
toString: (radix?: number) => string;
|
|
444
|
-
toUnsigned: () => Long.Long;
|
|
445
|
-
xor: (other: string | number | Long.Long) => Long.Long;
|
|
446
|
-
} & { [K_1 in Exclude<keyof I["pagination"]["limit"], keyof Long.Long>]: never; });
|
|
447
|
-
countTotal?: boolean;
|
|
448
|
-
reverse?: boolean;
|
|
449
|
-
} & { [K_2 in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
450
|
-
id?: string;
|
|
451
|
-
classId?: string;
|
|
452
|
-
} & { [K_3 in Exclude<keyof I, keyof QueryWhitelistedAccountsForNFTRequest>]: never; }>(base?: I): QueryWhitelistedAccountsForNFTRequest;
|
|
453
|
-
fromPartial<I_1 extends {
|
|
454
|
-
pagination?: {
|
|
455
|
-
key?: Uint8Array;
|
|
456
|
-
offset?: string | number | Long.Long;
|
|
457
|
-
limit?: string | number | Long.Long;
|
|
458
|
-
countTotal?: boolean;
|
|
459
|
-
reverse?: boolean;
|
|
460
|
-
};
|
|
461
|
-
id?: string;
|
|
462
|
-
classId?: string;
|
|
463
|
-
} & {
|
|
464
|
-
pagination?: {
|
|
465
|
-
key?: Uint8Array;
|
|
466
|
-
offset?: string | number | Long.Long;
|
|
467
|
-
limit?: string | number | Long.Long;
|
|
468
|
-
countTotal?: boolean;
|
|
469
|
-
reverse?: boolean;
|
|
470
|
-
} & {
|
|
471
|
-
key?: Uint8Array;
|
|
472
|
-
offset?: string | number | (Long.Long & {
|
|
473
|
-
high: number;
|
|
474
|
-
low: number;
|
|
475
|
-
unsigned: boolean;
|
|
476
|
-
add: (addend: string | number | Long.Long) => Long.Long;
|
|
477
|
-
and: (other: string | number | Long.Long) => Long.Long;
|
|
478
|
-
compare: (other: string | number | Long.Long) => number;
|
|
479
|
-
comp: (other: string | number | Long.Long) => number;
|
|
480
|
-
divide: (divisor: string | number | Long.Long) => Long.Long;
|
|
481
|
-
div: (divisor: string | number | Long.Long) => Long.Long;
|
|
482
|
-
equals: (other: string | number | Long.Long) => boolean;
|
|
483
|
-
eq: (other: string | number | Long.Long) => boolean;
|
|
484
|
-
getHighBits: () => number;
|
|
485
|
-
getHighBitsUnsigned: () => number;
|
|
486
|
-
getLowBits: () => number;
|
|
487
|
-
getLowBitsUnsigned: () => number;
|
|
488
|
-
getNumBitsAbs: () => number;
|
|
489
|
-
greaterThan: (other: string | number | Long.Long) => boolean;
|
|
490
|
-
gt: (other: string | number | Long.Long) => boolean;
|
|
491
|
-
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
492
|
-
gte: (other: string | number | Long.Long) => boolean;
|
|
493
|
-
isEven: () => boolean;
|
|
494
|
-
isNegative: () => boolean;
|
|
495
|
-
isOdd: () => boolean;
|
|
496
|
-
isPositive: () => boolean;
|
|
497
|
-
isZero: () => boolean;
|
|
498
|
-
lessThan: (other: string | number | Long.Long) => boolean;
|
|
499
|
-
lt: (other: string | number | Long.Long) => boolean;
|
|
500
|
-
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
501
|
-
lte: (other: string | number | Long.Long) => boolean;
|
|
502
|
-
modulo: (other: string | number | Long.Long) => Long.Long;
|
|
503
|
-
mod: (other: string | number | Long.Long) => Long.Long;
|
|
504
|
-
multiply: (multiplier: string | number | Long.Long) => Long.Long;
|
|
505
|
-
mul: (multiplier: string | number | Long.Long) => Long.Long;
|
|
506
|
-
negate: () => Long.Long;
|
|
507
|
-
neg: () => Long.Long;
|
|
508
|
-
not: () => Long.Long;
|
|
509
|
-
notEquals: (other: string | number | Long.Long) => boolean;
|
|
510
|
-
neq: (other: string | number | Long.Long) => boolean;
|
|
511
|
-
or: (other: string | number | Long.Long) => Long.Long;
|
|
512
|
-
shiftLeft: (numBits: number | Long.Long) => Long.Long;
|
|
513
|
-
shl: (numBits: number | Long.Long) => Long.Long;
|
|
514
|
-
shiftRight: (numBits: number | Long.Long) => Long.Long;
|
|
515
|
-
shr: (numBits: number | Long.Long) => Long.Long;
|
|
516
|
-
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
|
|
517
|
-
shru: (numBits: number | Long.Long) => Long.Long;
|
|
518
|
-
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
519
|
-
sub: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
520
|
-
toInt: () => number;
|
|
521
|
-
toNumber: () => number;
|
|
522
|
-
toBytes: (le?: boolean) => number[];
|
|
523
|
-
toBytesLE: () => number[];
|
|
524
|
-
toBytesBE: () => number[];
|
|
525
|
-
toSigned: () => Long.Long;
|
|
526
|
-
toString: (radix?: number) => string;
|
|
527
|
-
toUnsigned: () => Long.Long;
|
|
528
|
-
xor: (other: string | number | Long.Long) => Long.Long;
|
|
529
|
-
} & { [K_4 in Exclude<keyof I_1["pagination"]["offset"], keyof Long.Long>]: never; });
|
|
530
|
-
limit?: string | number | (Long.Long & {
|
|
531
|
-
high: number;
|
|
532
|
-
low: number;
|
|
533
|
-
unsigned: boolean;
|
|
534
|
-
add: (addend: string | number | Long.Long) => Long.Long;
|
|
535
|
-
and: (other: string | number | Long.Long) => Long.Long;
|
|
536
|
-
compare: (other: string | number | Long.Long) => number;
|
|
537
|
-
comp: (other: string | number | Long.Long) => number;
|
|
538
|
-
divide: (divisor: string | number | Long.Long) => Long.Long;
|
|
539
|
-
div: (divisor: string | number | Long.Long) => Long.Long;
|
|
540
|
-
equals: (other: string | number | Long.Long) => boolean;
|
|
541
|
-
eq: (other: string | number | Long.Long) => boolean;
|
|
542
|
-
getHighBits: () => number;
|
|
543
|
-
getHighBitsUnsigned: () => number;
|
|
544
|
-
getLowBits: () => number;
|
|
545
|
-
getLowBitsUnsigned: () => number;
|
|
546
|
-
getNumBitsAbs: () => number;
|
|
547
|
-
greaterThan: (other: string | number | Long.Long) => boolean;
|
|
548
|
-
gt: (other: string | number | Long.Long) => boolean;
|
|
549
|
-
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
550
|
-
gte: (other: string | number | Long.Long) => boolean;
|
|
551
|
-
isEven: () => boolean;
|
|
552
|
-
isNegative: () => boolean;
|
|
553
|
-
isOdd: () => boolean;
|
|
554
|
-
isPositive: () => boolean;
|
|
555
|
-
isZero: () => boolean;
|
|
556
|
-
lessThan: (other: string | number | Long.Long) => boolean;
|
|
557
|
-
lt: (other: string | number | Long.Long) => boolean;
|
|
558
|
-
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
559
|
-
lte: (other: string | number | Long.Long) => boolean;
|
|
560
|
-
modulo: (other: string | number | Long.Long) => Long.Long;
|
|
561
|
-
mod: (other: string | number | Long.Long) => Long.Long;
|
|
562
|
-
multiply: (multiplier: string | number | Long.Long) => Long.Long;
|
|
563
|
-
mul: (multiplier: string | number | Long.Long) => Long.Long;
|
|
564
|
-
negate: () => Long.Long;
|
|
565
|
-
neg: () => Long.Long;
|
|
566
|
-
not: () => Long.Long;
|
|
567
|
-
notEquals: (other: string | number | Long.Long) => boolean;
|
|
568
|
-
neq: (other: string | number | Long.Long) => boolean;
|
|
569
|
-
or: (other: string | number | Long.Long) => Long.Long;
|
|
570
|
-
shiftLeft: (numBits: number | Long.Long) => Long.Long;
|
|
571
|
-
shl: (numBits: number | Long.Long) => Long.Long;
|
|
572
|
-
shiftRight: (numBits: number | Long.Long) => Long.Long;
|
|
573
|
-
shr: (numBits: number | Long.Long) => Long.Long;
|
|
574
|
-
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
|
|
575
|
-
shru: (numBits: number | Long.Long) => Long.Long;
|
|
576
|
-
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
577
|
-
sub: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
578
|
-
toInt: () => number;
|
|
579
|
-
toNumber: () => number;
|
|
580
|
-
toBytes: (le?: boolean) => number[];
|
|
581
|
-
toBytesLE: () => number[];
|
|
582
|
-
toBytesBE: () => number[];
|
|
583
|
-
toSigned: () => Long.Long;
|
|
584
|
-
toString: (radix?: number) => string;
|
|
585
|
-
toUnsigned: () => Long.Long;
|
|
586
|
-
xor: (other: string | number | Long.Long) => Long.Long;
|
|
587
|
-
} & { [K_5 in Exclude<keyof I_1["pagination"]["limit"], keyof Long.Long>]: never; });
|
|
588
|
-
countTotal?: boolean;
|
|
589
|
-
reverse?: boolean;
|
|
590
|
-
} & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
591
|
-
id?: string;
|
|
592
|
-
classId?: string;
|
|
593
|
-
} & { [K_7 in Exclude<keyof I_1, keyof QueryWhitelistedAccountsForNFTRequest>]: never; }>(object: I_1): QueryWhitelistedAccountsForNFTRequest;
|
|
594
|
-
};
|
|
595
|
-
export declare const QueryWhitelistedAccountsForNFTResponse: {
|
|
596
|
-
encode(message: QueryWhitelistedAccountsForNFTResponse, writer?: _m0.Writer): _m0.Writer;
|
|
597
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryWhitelistedAccountsForNFTResponse;
|
|
598
|
-
fromJSON(object: any): QueryWhitelistedAccountsForNFTResponse;
|
|
599
|
-
toJSON(message: QueryWhitelistedAccountsForNFTResponse): unknown;
|
|
600
|
-
create<I extends {
|
|
601
|
-
pagination?: {
|
|
602
|
-
nextKey?: Uint8Array;
|
|
603
|
-
total?: string | number | Long.Long;
|
|
604
|
-
};
|
|
605
|
-
accounts?: string[];
|
|
606
|
-
} & {
|
|
607
|
-
pagination?: {
|
|
608
|
-
nextKey?: Uint8Array;
|
|
609
|
-
total?: string | number | Long.Long;
|
|
610
|
-
} & {
|
|
611
|
-
nextKey?: Uint8Array;
|
|
612
|
-
total?: string | number | (Long.Long & {
|
|
613
|
-
high: number;
|
|
614
|
-
low: number;
|
|
615
|
-
unsigned: boolean;
|
|
616
|
-
add: (addend: string | number | Long.Long) => Long.Long;
|
|
617
|
-
and: (other: string | number | Long.Long) => Long.Long;
|
|
618
|
-
compare: (other: string | number | Long.Long) => number;
|
|
619
|
-
comp: (other: string | number | Long.Long) => number;
|
|
620
|
-
divide: (divisor: string | number | Long.Long) => Long.Long;
|
|
621
|
-
div: (divisor: string | number | Long.Long) => Long.Long;
|
|
622
|
-
equals: (other: string | number | Long.Long) => boolean;
|
|
623
|
-
eq: (other: string | number | Long.Long) => boolean;
|
|
624
|
-
getHighBits: () => number;
|
|
625
|
-
getHighBitsUnsigned: () => number;
|
|
626
|
-
getLowBits: () => number;
|
|
627
|
-
getLowBitsUnsigned: () => number;
|
|
628
|
-
getNumBitsAbs: () => number;
|
|
629
|
-
greaterThan: (other: string | number | Long.Long) => boolean;
|
|
630
|
-
gt: (other: string | number | Long.Long) => boolean;
|
|
631
|
-
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
632
|
-
gte: (other: string | number | Long.Long) => boolean;
|
|
633
|
-
isEven: () => boolean;
|
|
634
|
-
isNegative: () => boolean;
|
|
635
|
-
isOdd: () => boolean;
|
|
636
|
-
isPositive: () => boolean;
|
|
637
|
-
isZero: () => boolean;
|
|
638
|
-
lessThan: (other: string | number | Long.Long) => boolean;
|
|
639
|
-
lt: (other: string | number | Long.Long) => boolean;
|
|
640
|
-
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
641
|
-
lte: (other: string | number | Long.Long) => boolean;
|
|
642
|
-
modulo: (other: string | number | Long.Long) => Long.Long;
|
|
643
|
-
mod: (other: string | number | Long.Long) => Long.Long;
|
|
644
|
-
multiply: (multiplier: string | number | Long.Long) => Long.Long;
|
|
645
|
-
mul: (multiplier: string | number | Long.Long) => Long.Long;
|
|
646
|
-
negate: () => Long.Long;
|
|
647
|
-
neg: () => Long.Long;
|
|
648
|
-
not: () => Long.Long;
|
|
649
|
-
notEquals: (other: string | number | Long.Long) => boolean;
|
|
650
|
-
neq: (other: string | number | Long.Long) => boolean;
|
|
651
|
-
or: (other: string | number | Long.Long) => Long.Long;
|
|
652
|
-
shiftLeft: (numBits: number | Long.Long) => Long.Long;
|
|
653
|
-
shl: (numBits: number | Long.Long) => Long.Long;
|
|
654
|
-
shiftRight: (numBits: number | Long.Long) => Long.Long;
|
|
655
|
-
shr: (numBits: number | Long.Long) => Long.Long;
|
|
656
|
-
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
|
|
657
|
-
shru: (numBits: number | Long.Long) => Long.Long;
|
|
658
|
-
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
659
|
-
sub: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
660
|
-
toInt: () => number;
|
|
661
|
-
toNumber: () => number;
|
|
662
|
-
toBytes: (le?: boolean) => number[];
|
|
663
|
-
toBytesLE: () => number[];
|
|
664
|
-
toBytesBE: () => number[];
|
|
665
|
-
toSigned: () => Long.Long;
|
|
666
|
-
toString: (radix?: number) => string;
|
|
667
|
-
toUnsigned: () => Long.Long;
|
|
668
|
-
xor: (other: string | number | Long.Long) => Long.Long;
|
|
669
|
-
} & { [K in Exclude<keyof I["pagination"]["total"], keyof Long.Long>]: never; });
|
|
670
|
-
} & { [K_1 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
671
|
-
accounts?: string[] & string[] & { [K_2 in Exclude<keyof I["accounts"], keyof string[]>]: never; };
|
|
672
|
-
} & { [K_3 in Exclude<keyof I, keyof QueryWhitelistedAccountsForNFTResponse>]: never; }>(base?: I): QueryWhitelistedAccountsForNFTResponse;
|
|
673
|
-
fromPartial<I_1 extends {
|
|
674
|
-
pagination?: {
|
|
675
|
-
nextKey?: Uint8Array;
|
|
676
|
-
total?: string | number | Long.Long;
|
|
677
|
-
};
|
|
678
|
-
accounts?: string[];
|
|
679
|
-
} & {
|
|
680
|
-
pagination?: {
|
|
681
|
-
nextKey?: Uint8Array;
|
|
682
|
-
total?: string | number | Long.Long;
|
|
683
|
-
} & {
|
|
684
|
-
nextKey?: Uint8Array;
|
|
685
|
-
total?: string | number | (Long.Long & {
|
|
686
|
-
high: number;
|
|
687
|
-
low: number;
|
|
688
|
-
unsigned: boolean;
|
|
689
|
-
add: (addend: string | number | Long.Long) => Long.Long;
|
|
690
|
-
and: (other: string | number | Long.Long) => Long.Long;
|
|
691
|
-
compare: (other: string | number | Long.Long) => number;
|
|
692
|
-
comp: (other: string | number | Long.Long) => number;
|
|
693
|
-
divide: (divisor: string | number | Long.Long) => Long.Long;
|
|
694
|
-
div: (divisor: string | number | Long.Long) => Long.Long;
|
|
695
|
-
equals: (other: string | number | Long.Long) => boolean;
|
|
696
|
-
eq: (other: string | number | Long.Long) => boolean;
|
|
697
|
-
getHighBits: () => number;
|
|
698
|
-
getHighBitsUnsigned: () => number;
|
|
699
|
-
getLowBits: () => number;
|
|
700
|
-
getLowBitsUnsigned: () => number;
|
|
701
|
-
getNumBitsAbs: () => number;
|
|
702
|
-
greaterThan: (other: string | number | Long.Long) => boolean;
|
|
703
|
-
gt: (other: string | number | Long.Long) => boolean;
|
|
704
|
-
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
705
|
-
gte: (other: string | number | Long.Long) => boolean;
|
|
706
|
-
isEven: () => boolean;
|
|
707
|
-
isNegative: () => boolean;
|
|
708
|
-
isOdd: () => boolean;
|
|
709
|
-
isPositive: () => boolean;
|
|
710
|
-
isZero: () => boolean;
|
|
711
|
-
lessThan: (other: string | number | Long.Long) => boolean;
|
|
712
|
-
lt: (other: string | number | Long.Long) => boolean;
|
|
713
|
-
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
|
|
714
|
-
lte: (other: string | number | Long.Long) => boolean;
|
|
715
|
-
modulo: (other: string | number | Long.Long) => Long.Long;
|
|
716
|
-
mod: (other: string | number | Long.Long) => Long.Long;
|
|
717
|
-
multiply: (multiplier: string | number | Long.Long) => Long.Long;
|
|
718
|
-
mul: (multiplier: string | number | Long.Long) => Long.Long;
|
|
719
|
-
negate: () => Long.Long;
|
|
720
|
-
neg: () => Long.Long;
|
|
721
|
-
not: () => Long.Long;
|
|
722
|
-
notEquals: (other: string | number | Long.Long) => boolean;
|
|
723
|
-
neq: (other: string | number | Long.Long) => boolean;
|
|
724
|
-
or: (other: string | number | Long.Long) => Long.Long;
|
|
725
|
-
shiftLeft: (numBits: number | Long.Long) => Long.Long;
|
|
726
|
-
shl: (numBits: number | Long.Long) => Long.Long;
|
|
727
|
-
shiftRight: (numBits: number | Long.Long) => Long.Long;
|
|
728
|
-
shr: (numBits: number | Long.Long) => Long.Long;
|
|
729
|
-
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
|
|
730
|
-
shru: (numBits: number | Long.Long) => Long.Long;
|
|
731
|
-
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
732
|
-
sub: (subtrahend: string | number | Long.Long) => Long.Long;
|
|
733
|
-
toInt: () => number;
|
|
734
|
-
toNumber: () => number;
|
|
735
|
-
toBytes: (le?: boolean) => number[];
|
|
736
|
-
toBytesLE: () => number[];
|
|
737
|
-
toBytesBE: () => number[];
|
|
738
|
-
toSigned: () => Long.Long;
|
|
739
|
-
toString: (radix?: number) => string;
|
|
740
|
-
toUnsigned: () => Long.Long;
|
|
741
|
-
xor: (other: string | number | Long.Long) => Long.Long;
|
|
742
|
-
} & { [K_4 in Exclude<keyof I_1["pagination"]["total"], keyof Long.Long>]: never; });
|
|
743
|
-
} & { [K_5 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
744
|
-
accounts?: string[] & string[] & { [K_6 in Exclude<keyof I_1["accounts"], keyof string[]>]: never; };
|
|
745
|
-
} & { [K_7 in Exclude<keyof I_1, keyof QueryWhitelistedAccountsForNFTResponse>]: never; }>(object: I_1): QueryWhitelistedAccountsForNFTResponse;
|
|
746
|
-
};
|
|
67
|
+
export interface QueryClassWhitelistedAccountsRequest {
|
|
68
|
+
/** pagination defines an optional pagination for the request. */
|
|
69
|
+
pagination: PageRequest | undefined;
|
|
70
|
+
classId: string;
|
|
71
|
+
}
|
|
72
|
+
export interface QueryClassWhitelistedAccountsResponse {
|
|
73
|
+
/** pagination defines the pagination in the response. */
|
|
74
|
+
pagination: PageResponse | undefined;
|
|
75
|
+
accounts: string[];
|
|
76
|
+
}
|
|
77
|
+
export interface QueryClassFrozenAccountsRequest {
|
|
78
|
+
/** pagination defines an optional pagination for the request. */
|
|
79
|
+
pagination: PageRequest | undefined;
|
|
80
|
+
classId: string;
|
|
81
|
+
}
|
|
82
|
+
export interface QueryClassFrozenAccountsResponse {
|
|
83
|
+
/** pagination defines the pagination in the response. */
|
|
84
|
+
pagination: PageResponse | undefined;
|
|
85
|
+
accounts: string[];
|
|
86
|
+
}
|
|
87
|
+
export interface QueryBurntNFTRequest {
|
|
88
|
+
classId: string;
|
|
89
|
+
nftId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface QueryBurntNFTResponse {
|
|
92
|
+
burnt: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface QueryBurntNFTsInClassRequest {
|
|
95
|
+
pagination: PageRequest | undefined;
|
|
96
|
+
classId: string;
|
|
97
|
+
}
|
|
98
|
+
export interface QueryBurntNFTsInClassResponse {
|
|
99
|
+
pagination: PageResponse | undefined;
|
|
100
|
+
nftIds: string[];
|
|
101
|
+
}
|
|
102
|
+
export declare const QueryParamsRequest: MessageFns<QueryParamsRequest>;
|
|
103
|
+
export declare const QueryParamsResponse: MessageFns<QueryParamsResponse>;
|
|
104
|
+
export declare const QueryClassRequest: MessageFns<QueryClassRequest>;
|
|
105
|
+
export declare const QueryClassResponse: MessageFns<QueryClassResponse>;
|
|
106
|
+
export declare const QueryClassesRequest: MessageFns<QueryClassesRequest>;
|
|
107
|
+
export declare const QueryClassesResponse: MessageFns<QueryClassesResponse>;
|
|
108
|
+
export declare const QueryFrozenRequest: MessageFns<QueryFrozenRequest>;
|
|
109
|
+
export declare const QueryFrozenResponse: MessageFns<QueryFrozenResponse>;
|
|
110
|
+
export declare const QueryClassFrozenRequest: MessageFns<QueryClassFrozenRequest>;
|
|
111
|
+
export declare const QueryClassFrozenResponse: MessageFns<QueryClassFrozenResponse>;
|
|
112
|
+
export declare const QueryWhitelistedRequest: MessageFns<QueryWhitelistedRequest>;
|
|
113
|
+
export declare const QueryWhitelistedResponse: MessageFns<QueryWhitelistedResponse>;
|
|
114
|
+
export declare const QueryWhitelistedAccountsForNFTRequest: MessageFns<QueryWhitelistedAccountsForNFTRequest>;
|
|
115
|
+
export declare const QueryWhitelistedAccountsForNFTResponse: MessageFns<QueryWhitelistedAccountsForNFTResponse>;
|
|
116
|
+
export declare const QueryClassWhitelistedAccountsRequest: MessageFns<QueryClassWhitelistedAccountsRequest>;
|
|
117
|
+
export declare const QueryClassWhitelistedAccountsResponse: MessageFns<QueryClassWhitelistedAccountsResponse>;
|
|
118
|
+
export declare const QueryClassFrozenAccountsRequest: MessageFns<QueryClassFrozenAccountsRequest>;
|
|
119
|
+
export declare const QueryClassFrozenAccountsResponse: MessageFns<QueryClassFrozenAccountsResponse>;
|
|
120
|
+
export declare const QueryBurntNFTRequest: MessageFns<QueryBurntNFTRequest>;
|
|
121
|
+
export declare const QueryBurntNFTResponse: MessageFns<QueryBurntNFTResponse>;
|
|
122
|
+
export declare const QueryBurntNFTsInClassRequest: MessageFns<QueryBurntNFTsInClassRequest>;
|
|
123
|
+
export declare const QueryBurntNFTsInClassResponse: MessageFns<QueryBurntNFTsInClassResponse>;
|
|
747
124
|
/** Query defines the gRPC querier service. */
|
|
748
125
|
export interface Query {
|
|
749
|
-
/** Params queries the parameters of x/asset/
|
|
126
|
+
/** Params queries the parameters of x/asset/nft module. */
|
|
750
127
|
Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
751
128
|
/** Class queries the non-fungible token class of the module. */
|
|
752
129
|
Class(request: QueryClassRequest): Promise<QueryClassResponse>;
|
|
130
|
+
/** Classes queries the non-fungible token classes of the module. */
|
|
131
|
+
Classes(request: QueryClassesRequest): Promise<QueryClassesResponse>;
|
|
753
132
|
/** Frozen queries to check if an NFT is frozen or not. */
|
|
754
133
|
Frozen(request: QueryFrozenRequest): Promise<QueryFrozenResponse>;
|
|
134
|
+
/** ClassFrozen queries to check if an account if frozen for an NFT class. */
|
|
135
|
+
ClassFrozen(request: QueryClassFrozenRequest): Promise<QueryClassFrozenResponse>;
|
|
136
|
+
/** QueryClassFrozenAccountsRequest returns the list of accounts which are frozen to hold NFTs in this class. */
|
|
137
|
+
ClassFrozenAccounts(request: QueryClassFrozenAccountsRequest): Promise<QueryClassFrozenAccountsResponse>;
|
|
755
138
|
/** Whitelisted queries to check if an account is whitelited to hold an NFT or not. */
|
|
756
139
|
Whitelisted(request: QueryWhitelistedRequest): Promise<QueryWhitelistedResponse>;
|
|
757
140
|
/** WhitelistedAccountsForNFT returns the list of accounts which are whitelisted to hold this NFT. */
|
|
758
141
|
WhitelistedAccountsForNFT(request: QueryWhitelistedAccountsForNFTRequest): Promise<QueryWhitelistedAccountsForNFTResponse>;
|
|
142
|
+
/** ClassWhitelistedAccounts returns the list of accounts which are whitelisted to hold NFTs in this class. */
|
|
143
|
+
ClassWhitelistedAccounts(request: QueryClassWhitelistedAccountsRequest): Promise<QueryClassWhitelistedAccountsResponse>;
|
|
144
|
+
/** BurntNFTsInClass checks if an nft if is in burnt NFTs list. */
|
|
145
|
+
BurntNFT(request: QueryBurntNFTRequest): Promise<QueryBurntNFTResponse>;
|
|
146
|
+
/** BurntNFTsInClass returns the list of burnt nfts in a class. */
|
|
147
|
+
BurntNFTsInClass(request: QueryBurntNFTsInClassRequest): Promise<QueryBurntNFTsInClassResponse>;
|
|
759
148
|
}
|
|
149
|
+
export declare const QueryServiceName = "coreum.asset.nft.v1.Query";
|
|
760
150
|
export declare class QueryClientImpl implements Query {
|
|
761
151
|
private readonly rpc;
|
|
762
152
|
private readonly service;
|
|
@@ -765,15 +155,21 @@ export declare class QueryClientImpl implements Query {
|
|
|
765
155
|
});
|
|
766
156
|
Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
767
157
|
Class(request: QueryClassRequest): Promise<QueryClassResponse>;
|
|
158
|
+
Classes(request: QueryClassesRequest): Promise<QueryClassesResponse>;
|
|
768
159
|
Frozen(request: QueryFrozenRequest): Promise<QueryFrozenResponse>;
|
|
160
|
+
ClassFrozen(request: QueryClassFrozenRequest): Promise<QueryClassFrozenResponse>;
|
|
161
|
+
ClassFrozenAccounts(request: QueryClassFrozenAccountsRequest): Promise<QueryClassFrozenAccountsResponse>;
|
|
769
162
|
Whitelisted(request: QueryWhitelistedRequest): Promise<QueryWhitelistedResponse>;
|
|
770
163
|
WhitelistedAccountsForNFT(request: QueryWhitelistedAccountsForNFTRequest): Promise<QueryWhitelistedAccountsForNFTResponse>;
|
|
164
|
+
ClassWhitelistedAccounts(request: QueryClassWhitelistedAccountsRequest): Promise<QueryClassWhitelistedAccountsResponse>;
|
|
165
|
+
BurntNFT(request: QueryBurntNFTRequest): Promise<QueryBurntNFTResponse>;
|
|
166
|
+
BurntNFTsInClass(request: QueryBurntNFTsInClassRequest): Promise<QueryBurntNFTsInClassResponse>;
|
|
771
167
|
}
|
|
772
168
|
interface Rpc {
|
|
773
169
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
774
170
|
}
|
|
775
171
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
776
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends
|
|
172
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
777
173
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
778
174
|
} : Partial<T>;
|
|
779
175
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
@@ -782,4 +178,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
|
782
178
|
} & {
|
|
783
179
|
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
784
180
|
};
|
|
181
|
+
export interface MessageFns<T> {
|
|
182
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
183
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
184
|
+
fromJSON(object: any): T;
|
|
185
|
+
toJSON(message: T): unknown;
|
|
186
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
187
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
188
|
+
}
|
|
785
189
|
export {};
|