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,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { PageRequest, PageResponse } from "
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
|
|
2
|
+
import { PageRequest, PageResponse } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
|
|
3
3
|
import { AccessConfig, ContractCodeHistoryEntry, ContractInfo, Model, Params } from "./types";
|
|
4
4
|
export declare const protobufPackage = "cosmwasm.wasm.v1";
|
|
5
5
|
/**
|
|
@@ -186,1204 +186,29 @@ export interface QueryContractsByCreatorResponse {
|
|
|
186
186
|
/** Pagination defines the pagination in the response. */
|
|
187
187
|
pagination: PageResponse | undefined;
|
|
188
188
|
}
|
|
189
|
-
export declare const QueryContractInfoRequest:
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
export declare const
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
contractInfo?: {
|
|
213
|
-
codeId?: number;
|
|
214
|
-
creator?: string;
|
|
215
|
-
admin?: string;
|
|
216
|
-
label?: string;
|
|
217
|
-
created?: {
|
|
218
|
-
blockHeight?: number;
|
|
219
|
-
txIndex?: number;
|
|
220
|
-
};
|
|
221
|
-
ibcPortId?: string;
|
|
222
|
-
extension?: {
|
|
223
|
-
typeUrl?: string;
|
|
224
|
-
value?: Uint8Array;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
} & {
|
|
228
|
-
address?: string;
|
|
229
|
-
contractInfo?: {
|
|
230
|
-
codeId?: number;
|
|
231
|
-
creator?: string;
|
|
232
|
-
admin?: string;
|
|
233
|
-
label?: string;
|
|
234
|
-
created?: {
|
|
235
|
-
blockHeight?: number;
|
|
236
|
-
txIndex?: number;
|
|
237
|
-
};
|
|
238
|
-
ibcPortId?: string;
|
|
239
|
-
extension?: {
|
|
240
|
-
typeUrl?: string;
|
|
241
|
-
value?: Uint8Array;
|
|
242
|
-
};
|
|
243
|
-
} & {
|
|
244
|
-
codeId?: number;
|
|
245
|
-
creator?: string;
|
|
246
|
-
admin?: string;
|
|
247
|
-
label?: string;
|
|
248
|
-
created?: {
|
|
249
|
-
blockHeight?: number;
|
|
250
|
-
txIndex?: number;
|
|
251
|
-
} & {
|
|
252
|
-
blockHeight?: number;
|
|
253
|
-
txIndex?: number;
|
|
254
|
-
} & { [K in Exclude<keyof I["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
|
|
255
|
-
ibcPortId?: string;
|
|
256
|
-
extension?: {
|
|
257
|
-
typeUrl?: string;
|
|
258
|
-
value?: Uint8Array;
|
|
259
|
-
} & {
|
|
260
|
-
typeUrl?: string;
|
|
261
|
-
value?: Uint8Array;
|
|
262
|
-
} & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
|
|
263
|
-
} & { [K_2 in Exclude<keyof I["contractInfo"], keyof ContractInfo>]: never; };
|
|
264
|
-
} & { [K_3 in Exclude<keyof I, keyof QueryContractInfoResponse>]: never; }>(base?: I): QueryContractInfoResponse;
|
|
265
|
-
fromPartial<I_1 extends {
|
|
266
|
-
address?: string;
|
|
267
|
-
contractInfo?: {
|
|
268
|
-
codeId?: number;
|
|
269
|
-
creator?: string;
|
|
270
|
-
admin?: string;
|
|
271
|
-
label?: string;
|
|
272
|
-
created?: {
|
|
273
|
-
blockHeight?: number;
|
|
274
|
-
txIndex?: number;
|
|
275
|
-
};
|
|
276
|
-
ibcPortId?: string;
|
|
277
|
-
extension?: {
|
|
278
|
-
typeUrl?: string;
|
|
279
|
-
value?: Uint8Array;
|
|
280
|
-
};
|
|
281
|
-
};
|
|
282
|
-
} & {
|
|
283
|
-
address?: string;
|
|
284
|
-
contractInfo?: {
|
|
285
|
-
codeId?: number;
|
|
286
|
-
creator?: string;
|
|
287
|
-
admin?: string;
|
|
288
|
-
label?: string;
|
|
289
|
-
created?: {
|
|
290
|
-
blockHeight?: number;
|
|
291
|
-
txIndex?: number;
|
|
292
|
-
};
|
|
293
|
-
ibcPortId?: string;
|
|
294
|
-
extension?: {
|
|
295
|
-
typeUrl?: string;
|
|
296
|
-
value?: Uint8Array;
|
|
297
|
-
};
|
|
298
|
-
} & {
|
|
299
|
-
codeId?: number;
|
|
300
|
-
creator?: string;
|
|
301
|
-
admin?: string;
|
|
302
|
-
label?: string;
|
|
303
|
-
created?: {
|
|
304
|
-
blockHeight?: number;
|
|
305
|
-
txIndex?: number;
|
|
306
|
-
} & {
|
|
307
|
-
blockHeight?: number;
|
|
308
|
-
txIndex?: number;
|
|
309
|
-
} & { [K_4 in Exclude<keyof I_1["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
|
|
310
|
-
ibcPortId?: string;
|
|
311
|
-
extension?: {
|
|
312
|
-
typeUrl?: string;
|
|
313
|
-
value?: Uint8Array;
|
|
314
|
-
} & {
|
|
315
|
-
typeUrl?: string;
|
|
316
|
-
value?: Uint8Array;
|
|
317
|
-
} & { [K_5 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
|
|
318
|
-
} & { [K_6 in Exclude<keyof I_1["contractInfo"], keyof ContractInfo>]: never; };
|
|
319
|
-
} & { [K_7 in Exclude<keyof I_1, keyof QueryContractInfoResponse>]: never; }>(object: I_1): QueryContractInfoResponse;
|
|
320
|
-
};
|
|
321
|
-
export declare const QueryContractHistoryRequest: {
|
|
322
|
-
encode(message: QueryContractHistoryRequest, writer?: _m0.Writer): _m0.Writer;
|
|
323
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest;
|
|
324
|
-
fromJSON(object: any): QueryContractHistoryRequest;
|
|
325
|
-
toJSON(message: QueryContractHistoryRequest): unknown;
|
|
326
|
-
create<I extends {
|
|
327
|
-
address?: string;
|
|
328
|
-
pagination?: {
|
|
329
|
-
key?: Uint8Array;
|
|
330
|
-
offset?: number;
|
|
331
|
-
limit?: number;
|
|
332
|
-
countTotal?: boolean;
|
|
333
|
-
reverse?: boolean;
|
|
334
|
-
};
|
|
335
|
-
} & {
|
|
336
|
-
address?: string;
|
|
337
|
-
pagination?: {
|
|
338
|
-
key?: Uint8Array;
|
|
339
|
-
offset?: number;
|
|
340
|
-
limit?: number;
|
|
341
|
-
countTotal?: boolean;
|
|
342
|
-
reverse?: boolean;
|
|
343
|
-
} & {
|
|
344
|
-
key?: Uint8Array;
|
|
345
|
-
offset?: number;
|
|
346
|
-
limit?: number;
|
|
347
|
-
countTotal?: boolean;
|
|
348
|
-
reverse?: boolean;
|
|
349
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
350
|
-
} & { [K_1 in Exclude<keyof I, keyof QueryContractHistoryRequest>]: never; }>(base?: I): QueryContractHistoryRequest;
|
|
351
|
-
fromPartial<I_1 extends {
|
|
352
|
-
address?: string;
|
|
353
|
-
pagination?: {
|
|
354
|
-
key?: Uint8Array;
|
|
355
|
-
offset?: number;
|
|
356
|
-
limit?: number;
|
|
357
|
-
countTotal?: boolean;
|
|
358
|
-
reverse?: boolean;
|
|
359
|
-
};
|
|
360
|
-
} & {
|
|
361
|
-
address?: string;
|
|
362
|
-
pagination?: {
|
|
363
|
-
key?: Uint8Array;
|
|
364
|
-
offset?: number;
|
|
365
|
-
limit?: number;
|
|
366
|
-
countTotal?: boolean;
|
|
367
|
-
reverse?: boolean;
|
|
368
|
-
} & {
|
|
369
|
-
key?: Uint8Array;
|
|
370
|
-
offset?: number;
|
|
371
|
-
limit?: number;
|
|
372
|
-
countTotal?: boolean;
|
|
373
|
-
reverse?: boolean;
|
|
374
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
375
|
-
} & { [K_3 in Exclude<keyof I_1, keyof QueryContractHistoryRequest>]: never; }>(object: I_1): QueryContractHistoryRequest;
|
|
376
|
-
};
|
|
377
|
-
export declare const QueryContractHistoryResponse: {
|
|
378
|
-
encode(message: QueryContractHistoryResponse, writer?: _m0.Writer): _m0.Writer;
|
|
379
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse;
|
|
380
|
-
fromJSON(object: any): QueryContractHistoryResponse;
|
|
381
|
-
toJSON(message: QueryContractHistoryResponse): unknown;
|
|
382
|
-
create<I extends {
|
|
383
|
-
entries?: {
|
|
384
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
385
|
-
codeId?: number;
|
|
386
|
-
updated?: {
|
|
387
|
-
blockHeight?: number;
|
|
388
|
-
txIndex?: number;
|
|
389
|
-
};
|
|
390
|
-
msg?: Uint8Array;
|
|
391
|
-
}[];
|
|
392
|
-
pagination?: {
|
|
393
|
-
nextKey?: Uint8Array;
|
|
394
|
-
total?: number;
|
|
395
|
-
};
|
|
396
|
-
} & {
|
|
397
|
-
entries?: {
|
|
398
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
399
|
-
codeId?: number;
|
|
400
|
-
updated?: {
|
|
401
|
-
blockHeight?: number;
|
|
402
|
-
txIndex?: number;
|
|
403
|
-
};
|
|
404
|
-
msg?: Uint8Array;
|
|
405
|
-
}[] & ({
|
|
406
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
407
|
-
codeId?: number;
|
|
408
|
-
updated?: {
|
|
409
|
-
blockHeight?: number;
|
|
410
|
-
txIndex?: number;
|
|
411
|
-
};
|
|
412
|
-
msg?: Uint8Array;
|
|
413
|
-
} & {
|
|
414
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
415
|
-
codeId?: number;
|
|
416
|
-
updated?: {
|
|
417
|
-
blockHeight?: number;
|
|
418
|
-
txIndex?: number;
|
|
419
|
-
} & {
|
|
420
|
-
blockHeight?: number;
|
|
421
|
-
txIndex?: number;
|
|
422
|
-
} & { [K in Exclude<keyof I["entries"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
|
|
423
|
-
msg?: Uint8Array;
|
|
424
|
-
} & { [K_1 in Exclude<keyof I["entries"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_2 in Exclude<keyof I["entries"], keyof {
|
|
425
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
426
|
-
codeId?: number;
|
|
427
|
-
updated?: {
|
|
428
|
-
blockHeight?: number;
|
|
429
|
-
txIndex?: number;
|
|
430
|
-
};
|
|
431
|
-
msg?: Uint8Array;
|
|
432
|
-
}[]>]: never; };
|
|
433
|
-
pagination?: {
|
|
434
|
-
nextKey?: Uint8Array;
|
|
435
|
-
total?: number;
|
|
436
|
-
} & {
|
|
437
|
-
nextKey?: Uint8Array;
|
|
438
|
-
total?: number;
|
|
439
|
-
} & { [K_3 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
440
|
-
} & { [K_4 in Exclude<keyof I, keyof QueryContractHistoryResponse>]: never; }>(base?: I): QueryContractHistoryResponse;
|
|
441
|
-
fromPartial<I_1 extends {
|
|
442
|
-
entries?: {
|
|
443
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
444
|
-
codeId?: number;
|
|
445
|
-
updated?: {
|
|
446
|
-
blockHeight?: number;
|
|
447
|
-
txIndex?: number;
|
|
448
|
-
};
|
|
449
|
-
msg?: Uint8Array;
|
|
450
|
-
}[];
|
|
451
|
-
pagination?: {
|
|
452
|
-
nextKey?: Uint8Array;
|
|
453
|
-
total?: number;
|
|
454
|
-
};
|
|
455
|
-
} & {
|
|
456
|
-
entries?: {
|
|
457
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
458
|
-
codeId?: number;
|
|
459
|
-
updated?: {
|
|
460
|
-
blockHeight?: number;
|
|
461
|
-
txIndex?: number;
|
|
462
|
-
};
|
|
463
|
-
msg?: Uint8Array;
|
|
464
|
-
}[] & ({
|
|
465
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
466
|
-
codeId?: number;
|
|
467
|
-
updated?: {
|
|
468
|
-
blockHeight?: number;
|
|
469
|
-
txIndex?: number;
|
|
470
|
-
};
|
|
471
|
-
msg?: Uint8Array;
|
|
472
|
-
} & {
|
|
473
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
474
|
-
codeId?: number;
|
|
475
|
-
updated?: {
|
|
476
|
-
blockHeight?: number;
|
|
477
|
-
txIndex?: number;
|
|
478
|
-
} & {
|
|
479
|
-
blockHeight?: number;
|
|
480
|
-
txIndex?: number;
|
|
481
|
-
} & { [K_5 in Exclude<keyof I_1["entries"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
|
|
482
|
-
msg?: Uint8Array;
|
|
483
|
-
} & { [K_6 in Exclude<keyof I_1["entries"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_7 in Exclude<keyof I_1["entries"], keyof {
|
|
484
|
-
operation?: import("./types").ContractCodeHistoryOperationType;
|
|
485
|
-
codeId?: number;
|
|
486
|
-
updated?: {
|
|
487
|
-
blockHeight?: number;
|
|
488
|
-
txIndex?: number;
|
|
489
|
-
};
|
|
490
|
-
msg?: Uint8Array;
|
|
491
|
-
}[]>]: never; };
|
|
492
|
-
pagination?: {
|
|
493
|
-
nextKey?: Uint8Array;
|
|
494
|
-
total?: number;
|
|
495
|
-
} & {
|
|
496
|
-
nextKey?: Uint8Array;
|
|
497
|
-
total?: number;
|
|
498
|
-
} & { [K_8 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
499
|
-
} & { [K_9 in Exclude<keyof I_1, keyof QueryContractHistoryResponse>]: never; }>(object: I_1): QueryContractHistoryResponse;
|
|
500
|
-
};
|
|
501
|
-
export declare const QueryContractsByCodeRequest: {
|
|
502
|
-
encode(message: QueryContractsByCodeRequest, writer?: _m0.Writer): _m0.Writer;
|
|
503
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest;
|
|
504
|
-
fromJSON(object: any): QueryContractsByCodeRequest;
|
|
505
|
-
toJSON(message: QueryContractsByCodeRequest): unknown;
|
|
506
|
-
create<I extends {
|
|
507
|
-
codeId?: number;
|
|
508
|
-
pagination?: {
|
|
509
|
-
key?: Uint8Array;
|
|
510
|
-
offset?: number;
|
|
511
|
-
limit?: number;
|
|
512
|
-
countTotal?: boolean;
|
|
513
|
-
reverse?: boolean;
|
|
514
|
-
};
|
|
515
|
-
} & {
|
|
516
|
-
codeId?: number;
|
|
517
|
-
pagination?: {
|
|
518
|
-
key?: Uint8Array;
|
|
519
|
-
offset?: number;
|
|
520
|
-
limit?: number;
|
|
521
|
-
countTotal?: boolean;
|
|
522
|
-
reverse?: boolean;
|
|
523
|
-
} & {
|
|
524
|
-
key?: Uint8Array;
|
|
525
|
-
offset?: number;
|
|
526
|
-
limit?: number;
|
|
527
|
-
countTotal?: boolean;
|
|
528
|
-
reverse?: boolean;
|
|
529
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
530
|
-
} & { [K_1 in Exclude<keyof I, keyof QueryContractsByCodeRequest>]: never; }>(base?: I): QueryContractsByCodeRequest;
|
|
531
|
-
fromPartial<I_1 extends {
|
|
532
|
-
codeId?: number;
|
|
533
|
-
pagination?: {
|
|
534
|
-
key?: Uint8Array;
|
|
535
|
-
offset?: number;
|
|
536
|
-
limit?: number;
|
|
537
|
-
countTotal?: boolean;
|
|
538
|
-
reverse?: boolean;
|
|
539
|
-
};
|
|
540
|
-
} & {
|
|
541
|
-
codeId?: number;
|
|
542
|
-
pagination?: {
|
|
543
|
-
key?: Uint8Array;
|
|
544
|
-
offset?: number;
|
|
545
|
-
limit?: number;
|
|
546
|
-
countTotal?: boolean;
|
|
547
|
-
reverse?: boolean;
|
|
548
|
-
} & {
|
|
549
|
-
key?: Uint8Array;
|
|
550
|
-
offset?: number;
|
|
551
|
-
limit?: number;
|
|
552
|
-
countTotal?: boolean;
|
|
553
|
-
reverse?: boolean;
|
|
554
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
555
|
-
} & { [K_3 in Exclude<keyof I_1, keyof QueryContractsByCodeRequest>]: never; }>(object: I_1): QueryContractsByCodeRequest;
|
|
556
|
-
};
|
|
557
|
-
export declare const QueryContractsByCodeResponse: {
|
|
558
|
-
encode(message: QueryContractsByCodeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
559
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse;
|
|
560
|
-
fromJSON(object: any): QueryContractsByCodeResponse;
|
|
561
|
-
toJSON(message: QueryContractsByCodeResponse): unknown;
|
|
562
|
-
create<I extends {
|
|
563
|
-
contracts?: string[];
|
|
564
|
-
pagination?: {
|
|
565
|
-
nextKey?: Uint8Array;
|
|
566
|
-
total?: number;
|
|
567
|
-
};
|
|
568
|
-
} & {
|
|
569
|
-
contracts?: string[] & string[] & { [K in Exclude<keyof I["contracts"], keyof string[]>]: never; };
|
|
570
|
-
pagination?: {
|
|
571
|
-
nextKey?: Uint8Array;
|
|
572
|
-
total?: number;
|
|
573
|
-
} & {
|
|
574
|
-
nextKey?: Uint8Array;
|
|
575
|
-
total?: number;
|
|
576
|
-
} & { [K_1 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
577
|
-
} & { [K_2 in Exclude<keyof I, keyof QueryContractsByCodeResponse>]: never; }>(base?: I): QueryContractsByCodeResponse;
|
|
578
|
-
fromPartial<I_1 extends {
|
|
579
|
-
contracts?: string[];
|
|
580
|
-
pagination?: {
|
|
581
|
-
nextKey?: Uint8Array;
|
|
582
|
-
total?: number;
|
|
583
|
-
};
|
|
584
|
-
} & {
|
|
585
|
-
contracts?: string[] & string[] & { [K_3 in Exclude<keyof I_1["contracts"], keyof string[]>]: never; };
|
|
586
|
-
pagination?: {
|
|
587
|
-
nextKey?: Uint8Array;
|
|
588
|
-
total?: number;
|
|
589
|
-
} & {
|
|
590
|
-
nextKey?: Uint8Array;
|
|
591
|
-
total?: number;
|
|
592
|
-
} & { [K_4 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
593
|
-
} & { [K_5 in Exclude<keyof I_1, keyof QueryContractsByCodeResponse>]: never; }>(object: I_1): QueryContractsByCodeResponse;
|
|
594
|
-
};
|
|
595
|
-
export declare const QueryAllContractStateRequest: {
|
|
596
|
-
encode(message: QueryAllContractStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
597
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest;
|
|
598
|
-
fromJSON(object: any): QueryAllContractStateRequest;
|
|
599
|
-
toJSON(message: QueryAllContractStateRequest): unknown;
|
|
600
|
-
create<I extends {
|
|
601
|
-
address?: string;
|
|
602
|
-
pagination?: {
|
|
603
|
-
key?: Uint8Array;
|
|
604
|
-
offset?: number;
|
|
605
|
-
limit?: number;
|
|
606
|
-
countTotal?: boolean;
|
|
607
|
-
reverse?: boolean;
|
|
608
|
-
};
|
|
609
|
-
} & {
|
|
610
|
-
address?: string;
|
|
611
|
-
pagination?: {
|
|
612
|
-
key?: Uint8Array;
|
|
613
|
-
offset?: number;
|
|
614
|
-
limit?: number;
|
|
615
|
-
countTotal?: boolean;
|
|
616
|
-
reverse?: boolean;
|
|
617
|
-
} & {
|
|
618
|
-
key?: Uint8Array;
|
|
619
|
-
offset?: number;
|
|
620
|
-
limit?: number;
|
|
621
|
-
countTotal?: boolean;
|
|
622
|
-
reverse?: boolean;
|
|
623
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
624
|
-
} & { [K_1 in Exclude<keyof I, keyof QueryAllContractStateRequest>]: never; }>(base?: I): QueryAllContractStateRequest;
|
|
625
|
-
fromPartial<I_1 extends {
|
|
626
|
-
address?: string;
|
|
627
|
-
pagination?: {
|
|
628
|
-
key?: Uint8Array;
|
|
629
|
-
offset?: number;
|
|
630
|
-
limit?: number;
|
|
631
|
-
countTotal?: boolean;
|
|
632
|
-
reverse?: boolean;
|
|
633
|
-
};
|
|
634
|
-
} & {
|
|
635
|
-
address?: string;
|
|
636
|
-
pagination?: {
|
|
637
|
-
key?: Uint8Array;
|
|
638
|
-
offset?: number;
|
|
639
|
-
limit?: number;
|
|
640
|
-
countTotal?: boolean;
|
|
641
|
-
reverse?: boolean;
|
|
642
|
-
} & {
|
|
643
|
-
key?: Uint8Array;
|
|
644
|
-
offset?: number;
|
|
645
|
-
limit?: number;
|
|
646
|
-
countTotal?: boolean;
|
|
647
|
-
reverse?: boolean;
|
|
648
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
649
|
-
} & { [K_3 in Exclude<keyof I_1, keyof QueryAllContractStateRequest>]: never; }>(object: I_1): QueryAllContractStateRequest;
|
|
650
|
-
};
|
|
651
|
-
export declare const QueryAllContractStateResponse: {
|
|
652
|
-
encode(message: QueryAllContractStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
653
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse;
|
|
654
|
-
fromJSON(object: any): QueryAllContractStateResponse;
|
|
655
|
-
toJSON(message: QueryAllContractStateResponse): unknown;
|
|
656
|
-
create<I extends {
|
|
657
|
-
models?: {
|
|
658
|
-
key?: Uint8Array;
|
|
659
|
-
value?: Uint8Array;
|
|
660
|
-
}[];
|
|
661
|
-
pagination?: {
|
|
662
|
-
nextKey?: Uint8Array;
|
|
663
|
-
total?: number;
|
|
664
|
-
};
|
|
665
|
-
} & {
|
|
666
|
-
models?: {
|
|
667
|
-
key?: Uint8Array;
|
|
668
|
-
value?: Uint8Array;
|
|
669
|
-
}[] & ({
|
|
670
|
-
key?: Uint8Array;
|
|
671
|
-
value?: Uint8Array;
|
|
672
|
-
} & {
|
|
673
|
-
key?: Uint8Array;
|
|
674
|
-
value?: Uint8Array;
|
|
675
|
-
} & { [K in Exclude<keyof I["models"][number], keyof Model>]: never; })[] & { [K_1 in Exclude<keyof I["models"], keyof {
|
|
676
|
-
key?: Uint8Array;
|
|
677
|
-
value?: Uint8Array;
|
|
678
|
-
}[]>]: never; };
|
|
679
|
-
pagination?: {
|
|
680
|
-
nextKey?: Uint8Array;
|
|
681
|
-
total?: number;
|
|
682
|
-
} & {
|
|
683
|
-
nextKey?: Uint8Array;
|
|
684
|
-
total?: number;
|
|
685
|
-
} & { [K_2 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
686
|
-
} & { [K_3 in Exclude<keyof I, keyof QueryAllContractStateResponse>]: never; }>(base?: I): QueryAllContractStateResponse;
|
|
687
|
-
fromPartial<I_1 extends {
|
|
688
|
-
models?: {
|
|
689
|
-
key?: Uint8Array;
|
|
690
|
-
value?: Uint8Array;
|
|
691
|
-
}[];
|
|
692
|
-
pagination?: {
|
|
693
|
-
nextKey?: Uint8Array;
|
|
694
|
-
total?: number;
|
|
695
|
-
};
|
|
696
|
-
} & {
|
|
697
|
-
models?: {
|
|
698
|
-
key?: Uint8Array;
|
|
699
|
-
value?: Uint8Array;
|
|
700
|
-
}[] & ({
|
|
701
|
-
key?: Uint8Array;
|
|
702
|
-
value?: Uint8Array;
|
|
703
|
-
} & {
|
|
704
|
-
key?: Uint8Array;
|
|
705
|
-
value?: Uint8Array;
|
|
706
|
-
} & { [K_4 in Exclude<keyof I_1["models"][number], keyof Model>]: never; })[] & { [K_5 in Exclude<keyof I_1["models"], keyof {
|
|
707
|
-
key?: Uint8Array;
|
|
708
|
-
value?: Uint8Array;
|
|
709
|
-
}[]>]: never; };
|
|
710
|
-
pagination?: {
|
|
711
|
-
nextKey?: Uint8Array;
|
|
712
|
-
total?: number;
|
|
713
|
-
} & {
|
|
714
|
-
nextKey?: Uint8Array;
|
|
715
|
-
total?: number;
|
|
716
|
-
} & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
717
|
-
} & { [K_7 in Exclude<keyof I_1, keyof QueryAllContractStateResponse>]: never; }>(object: I_1): QueryAllContractStateResponse;
|
|
718
|
-
};
|
|
719
|
-
export declare const QueryRawContractStateRequest: {
|
|
720
|
-
encode(message: QueryRawContractStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
721
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest;
|
|
722
|
-
fromJSON(object: any): QueryRawContractStateRequest;
|
|
723
|
-
toJSON(message: QueryRawContractStateRequest): unknown;
|
|
724
|
-
create<I extends {
|
|
725
|
-
address?: string;
|
|
726
|
-
queryData?: Uint8Array;
|
|
727
|
-
} & {
|
|
728
|
-
address?: string;
|
|
729
|
-
queryData?: Uint8Array;
|
|
730
|
-
} & { [K in Exclude<keyof I, keyof QueryRawContractStateRequest>]: never; }>(base?: I): QueryRawContractStateRequest;
|
|
731
|
-
fromPartial<I_1 extends {
|
|
732
|
-
address?: string;
|
|
733
|
-
queryData?: Uint8Array;
|
|
734
|
-
} & {
|
|
735
|
-
address?: string;
|
|
736
|
-
queryData?: Uint8Array;
|
|
737
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QueryRawContractStateRequest>]: never; }>(object: I_1): QueryRawContractStateRequest;
|
|
738
|
-
};
|
|
739
|
-
export declare const QueryRawContractStateResponse: {
|
|
740
|
-
encode(message: QueryRawContractStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
741
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse;
|
|
742
|
-
fromJSON(object: any): QueryRawContractStateResponse;
|
|
743
|
-
toJSON(message: QueryRawContractStateResponse): unknown;
|
|
744
|
-
create<I extends {
|
|
745
|
-
data?: Uint8Array;
|
|
746
|
-
} & {
|
|
747
|
-
data?: Uint8Array;
|
|
748
|
-
} & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): QueryRawContractStateResponse;
|
|
749
|
-
fromPartial<I_1 extends {
|
|
750
|
-
data?: Uint8Array;
|
|
751
|
-
} & {
|
|
752
|
-
data?: Uint8Array;
|
|
753
|
-
} & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): QueryRawContractStateResponse;
|
|
754
|
-
};
|
|
755
|
-
export declare const QuerySmartContractStateRequest: {
|
|
756
|
-
encode(message: QuerySmartContractStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
757
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest;
|
|
758
|
-
fromJSON(object: any): QuerySmartContractStateRequest;
|
|
759
|
-
toJSON(message: QuerySmartContractStateRequest): unknown;
|
|
760
|
-
create<I extends {
|
|
761
|
-
address?: string;
|
|
762
|
-
queryData?: Uint8Array;
|
|
763
|
-
} & {
|
|
764
|
-
address?: string;
|
|
765
|
-
queryData?: Uint8Array;
|
|
766
|
-
} & { [K in Exclude<keyof I, keyof QuerySmartContractStateRequest>]: never; }>(base?: I): QuerySmartContractStateRequest;
|
|
767
|
-
fromPartial<I_1 extends {
|
|
768
|
-
address?: string;
|
|
769
|
-
queryData?: Uint8Array;
|
|
770
|
-
} & {
|
|
771
|
-
address?: string;
|
|
772
|
-
queryData?: Uint8Array;
|
|
773
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QuerySmartContractStateRequest>]: never; }>(object: I_1): QuerySmartContractStateRequest;
|
|
774
|
-
};
|
|
775
|
-
export declare const QuerySmartContractStateResponse: {
|
|
776
|
-
encode(message: QuerySmartContractStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
777
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse;
|
|
778
|
-
fromJSON(object: any): QuerySmartContractStateResponse;
|
|
779
|
-
toJSON(message: QuerySmartContractStateResponse): unknown;
|
|
780
|
-
create<I extends {
|
|
781
|
-
data?: Uint8Array;
|
|
782
|
-
} & {
|
|
783
|
-
data?: Uint8Array;
|
|
784
|
-
} & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): QuerySmartContractStateResponse;
|
|
785
|
-
fromPartial<I_1 extends {
|
|
786
|
-
data?: Uint8Array;
|
|
787
|
-
} & {
|
|
788
|
-
data?: Uint8Array;
|
|
789
|
-
} & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): QuerySmartContractStateResponse;
|
|
790
|
-
};
|
|
791
|
-
export declare const QueryCodeRequest: {
|
|
792
|
-
encode(message: QueryCodeRequest, writer?: _m0.Writer): _m0.Writer;
|
|
793
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest;
|
|
794
|
-
fromJSON(object: any): QueryCodeRequest;
|
|
795
|
-
toJSON(message: QueryCodeRequest): unknown;
|
|
796
|
-
create<I extends {
|
|
797
|
-
codeId?: number;
|
|
798
|
-
} & {
|
|
799
|
-
codeId?: number;
|
|
800
|
-
} & { [K in Exclude<keyof I, "codeId">]: never; }>(base?: I): QueryCodeRequest;
|
|
801
|
-
fromPartial<I_1 extends {
|
|
802
|
-
codeId?: number;
|
|
803
|
-
} & {
|
|
804
|
-
codeId?: number;
|
|
805
|
-
} & { [K_1 in Exclude<keyof I_1, "codeId">]: never; }>(object: I_1): QueryCodeRequest;
|
|
806
|
-
};
|
|
807
|
-
export declare const CodeInfoResponse: {
|
|
808
|
-
encode(message: CodeInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
809
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse;
|
|
810
|
-
fromJSON(object: any): CodeInfoResponse;
|
|
811
|
-
toJSON(message: CodeInfoResponse): unknown;
|
|
812
|
-
create<I extends {
|
|
813
|
-
codeId?: number;
|
|
814
|
-
creator?: string;
|
|
815
|
-
dataHash?: Uint8Array;
|
|
816
|
-
instantiatePermission?: {
|
|
817
|
-
permission?: import("./types").AccessType;
|
|
818
|
-
address?: string;
|
|
819
|
-
addresses?: string[];
|
|
820
|
-
};
|
|
821
|
-
} & {
|
|
822
|
-
codeId?: number;
|
|
823
|
-
creator?: string;
|
|
824
|
-
dataHash?: Uint8Array;
|
|
825
|
-
instantiatePermission?: {
|
|
826
|
-
permission?: import("./types").AccessType;
|
|
827
|
-
address?: string;
|
|
828
|
-
addresses?: string[];
|
|
829
|
-
} & {
|
|
830
|
-
permission?: import("./types").AccessType;
|
|
831
|
-
address?: string;
|
|
832
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
833
|
-
} & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
834
|
-
} & { [K_2 in Exclude<keyof I, keyof CodeInfoResponse>]: never; }>(base?: I): CodeInfoResponse;
|
|
835
|
-
fromPartial<I_1 extends {
|
|
836
|
-
codeId?: number;
|
|
837
|
-
creator?: string;
|
|
838
|
-
dataHash?: Uint8Array;
|
|
839
|
-
instantiatePermission?: {
|
|
840
|
-
permission?: import("./types").AccessType;
|
|
841
|
-
address?: string;
|
|
842
|
-
addresses?: string[];
|
|
843
|
-
};
|
|
844
|
-
} & {
|
|
845
|
-
codeId?: number;
|
|
846
|
-
creator?: string;
|
|
847
|
-
dataHash?: Uint8Array;
|
|
848
|
-
instantiatePermission?: {
|
|
849
|
-
permission?: import("./types").AccessType;
|
|
850
|
-
address?: string;
|
|
851
|
-
addresses?: string[];
|
|
852
|
-
} & {
|
|
853
|
-
permission?: import("./types").AccessType;
|
|
854
|
-
address?: string;
|
|
855
|
-
addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
856
|
-
} & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
857
|
-
} & { [K_5 in Exclude<keyof I_1, keyof CodeInfoResponse>]: never; }>(object: I_1): CodeInfoResponse;
|
|
858
|
-
};
|
|
859
|
-
export declare const QueryCodeResponse: {
|
|
860
|
-
encode(message: QueryCodeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
861
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse;
|
|
862
|
-
fromJSON(object: any): QueryCodeResponse;
|
|
863
|
-
toJSON(message: QueryCodeResponse): unknown;
|
|
864
|
-
create<I extends {
|
|
865
|
-
codeInfo?: {
|
|
866
|
-
codeId?: number;
|
|
867
|
-
creator?: string;
|
|
868
|
-
dataHash?: Uint8Array;
|
|
869
|
-
instantiatePermission?: {
|
|
870
|
-
permission?: import("./types").AccessType;
|
|
871
|
-
address?: string;
|
|
872
|
-
addresses?: string[];
|
|
873
|
-
};
|
|
874
|
-
};
|
|
875
|
-
data?: Uint8Array;
|
|
876
|
-
} & {
|
|
877
|
-
codeInfo?: {
|
|
878
|
-
codeId?: number;
|
|
879
|
-
creator?: string;
|
|
880
|
-
dataHash?: Uint8Array;
|
|
881
|
-
instantiatePermission?: {
|
|
882
|
-
permission?: import("./types").AccessType;
|
|
883
|
-
address?: string;
|
|
884
|
-
addresses?: string[];
|
|
885
|
-
};
|
|
886
|
-
} & {
|
|
887
|
-
codeId?: number;
|
|
888
|
-
creator?: string;
|
|
889
|
-
dataHash?: Uint8Array;
|
|
890
|
-
instantiatePermission?: {
|
|
891
|
-
permission?: import("./types").AccessType;
|
|
892
|
-
address?: string;
|
|
893
|
-
addresses?: string[];
|
|
894
|
-
} & {
|
|
895
|
-
permission?: import("./types").AccessType;
|
|
896
|
-
address?: string;
|
|
897
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["codeInfo"]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
898
|
-
} & { [K_1 in Exclude<keyof I["codeInfo"]["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
899
|
-
} & { [K_2 in Exclude<keyof I["codeInfo"], keyof CodeInfoResponse>]: never; };
|
|
900
|
-
data?: Uint8Array;
|
|
901
|
-
} & { [K_3 in Exclude<keyof I, keyof QueryCodeResponse>]: never; }>(base?: I): QueryCodeResponse;
|
|
902
|
-
fromPartial<I_1 extends {
|
|
903
|
-
codeInfo?: {
|
|
904
|
-
codeId?: number;
|
|
905
|
-
creator?: string;
|
|
906
|
-
dataHash?: Uint8Array;
|
|
907
|
-
instantiatePermission?: {
|
|
908
|
-
permission?: import("./types").AccessType;
|
|
909
|
-
address?: string;
|
|
910
|
-
addresses?: string[];
|
|
911
|
-
};
|
|
912
|
-
};
|
|
913
|
-
data?: Uint8Array;
|
|
914
|
-
} & {
|
|
915
|
-
codeInfo?: {
|
|
916
|
-
codeId?: number;
|
|
917
|
-
creator?: string;
|
|
918
|
-
dataHash?: Uint8Array;
|
|
919
|
-
instantiatePermission?: {
|
|
920
|
-
permission?: import("./types").AccessType;
|
|
921
|
-
address?: string;
|
|
922
|
-
addresses?: string[];
|
|
923
|
-
};
|
|
924
|
-
} & {
|
|
925
|
-
codeId?: number;
|
|
926
|
-
creator?: string;
|
|
927
|
-
dataHash?: Uint8Array;
|
|
928
|
-
instantiatePermission?: {
|
|
929
|
-
permission?: import("./types").AccessType;
|
|
930
|
-
address?: string;
|
|
931
|
-
addresses?: string[];
|
|
932
|
-
} & {
|
|
933
|
-
permission?: import("./types").AccessType;
|
|
934
|
-
address?: string;
|
|
935
|
-
addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["codeInfo"]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
936
|
-
} & { [K_5 in Exclude<keyof I_1["codeInfo"]["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
937
|
-
} & { [K_6 in Exclude<keyof I_1["codeInfo"], keyof CodeInfoResponse>]: never; };
|
|
938
|
-
data?: Uint8Array;
|
|
939
|
-
} & { [K_7 in Exclude<keyof I_1, keyof QueryCodeResponse>]: never; }>(object: I_1): QueryCodeResponse;
|
|
940
|
-
};
|
|
941
|
-
export declare const QueryCodesRequest: {
|
|
942
|
-
encode(message: QueryCodesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
943
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest;
|
|
944
|
-
fromJSON(object: any): QueryCodesRequest;
|
|
945
|
-
toJSON(message: QueryCodesRequest): unknown;
|
|
946
|
-
create<I extends {
|
|
947
|
-
pagination?: {
|
|
948
|
-
key?: Uint8Array;
|
|
949
|
-
offset?: number;
|
|
950
|
-
limit?: number;
|
|
951
|
-
countTotal?: boolean;
|
|
952
|
-
reverse?: boolean;
|
|
953
|
-
};
|
|
954
|
-
} & {
|
|
955
|
-
pagination?: {
|
|
956
|
-
key?: Uint8Array;
|
|
957
|
-
offset?: number;
|
|
958
|
-
limit?: number;
|
|
959
|
-
countTotal?: boolean;
|
|
960
|
-
reverse?: boolean;
|
|
961
|
-
} & {
|
|
962
|
-
key?: Uint8Array;
|
|
963
|
-
offset?: number;
|
|
964
|
-
limit?: number;
|
|
965
|
-
countTotal?: boolean;
|
|
966
|
-
reverse?: boolean;
|
|
967
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
968
|
-
} & { [K_1 in Exclude<keyof I, "pagination">]: never; }>(base?: I): QueryCodesRequest;
|
|
969
|
-
fromPartial<I_1 extends {
|
|
970
|
-
pagination?: {
|
|
971
|
-
key?: Uint8Array;
|
|
972
|
-
offset?: number;
|
|
973
|
-
limit?: number;
|
|
974
|
-
countTotal?: boolean;
|
|
975
|
-
reverse?: boolean;
|
|
976
|
-
};
|
|
977
|
-
} & {
|
|
978
|
-
pagination?: {
|
|
979
|
-
key?: Uint8Array;
|
|
980
|
-
offset?: number;
|
|
981
|
-
limit?: number;
|
|
982
|
-
countTotal?: boolean;
|
|
983
|
-
reverse?: boolean;
|
|
984
|
-
} & {
|
|
985
|
-
key?: Uint8Array;
|
|
986
|
-
offset?: number;
|
|
987
|
-
limit?: number;
|
|
988
|
-
countTotal?: boolean;
|
|
989
|
-
reverse?: boolean;
|
|
990
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
991
|
-
} & { [K_3 in Exclude<keyof I_1, "pagination">]: never; }>(object: I_1): QueryCodesRequest;
|
|
992
|
-
};
|
|
993
|
-
export declare const QueryCodesResponse: {
|
|
994
|
-
encode(message: QueryCodesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
995
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse;
|
|
996
|
-
fromJSON(object: any): QueryCodesResponse;
|
|
997
|
-
toJSON(message: QueryCodesResponse): unknown;
|
|
998
|
-
create<I extends {
|
|
999
|
-
codeInfos?: {
|
|
1000
|
-
codeId?: number;
|
|
1001
|
-
creator?: string;
|
|
1002
|
-
dataHash?: Uint8Array;
|
|
1003
|
-
instantiatePermission?: {
|
|
1004
|
-
permission?: import("./types").AccessType;
|
|
1005
|
-
address?: string;
|
|
1006
|
-
addresses?: string[];
|
|
1007
|
-
};
|
|
1008
|
-
}[];
|
|
1009
|
-
pagination?: {
|
|
1010
|
-
nextKey?: Uint8Array;
|
|
1011
|
-
total?: number;
|
|
1012
|
-
};
|
|
1013
|
-
} & {
|
|
1014
|
-
codeInfos?: {
|
|
1015
|
-
codeId?: number;
|
|
1016
|
-
creator?: string;
|
|
1017
|
-
dataHash?: Uint8Array;
|
|
1018
|
-
instantiatePermission?: {
|
|
1019
|
-
permission?: import("./types").AccessType;
|
|
1020
|
-
address?: string;
|
|
1021
|
-
addresses?: string[];
|
|
1022
|
-
};
|
|
1023
|
-
}[] & ({
|
|
1024
|
-
codeId?: number;
|
|
1025
|
-
creator?: string;
|
|
1026
|
-
dataHash?: Uint8Array;
|
|
1027
|
-
instantiatePermission?: {
|
|
1028
|
-
permission?: import("./types").AccessType;
|
|
1029
|
-
address?: string;
|
|
1030
|
-
addresses?: string[];
|
|
1031
|
-
};
|
|
1032
|
-
} & {
|
|
1033
|
-
codeId?: number;
|
|
1034
|
-
creator?: string;
|
|
1035
|
-
dataHash?: Uint8Array;
|
|
1036
|
-
instantiatePermission?: {
|
|
1037
|
-
permission?: import("./types").AccessType;
|
|
1038
|
-
address?: string;
|
|
1039
|
-
addresses?: string[];
|
|
1040
|
-
} & {
|
|
1041
|
-
permission?: import("./types").AccessType;
|
|
1042
|
-
address?: string;
|
|
1043
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["codeInfos"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
1044
|
-
} & { [K_1 in Exclude<keyof I["codeInfos"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
1045
|
-
} & { [K_2 in Exclude<keyof I["codeInfos"][number], keyof CodeInfoResponse>]: never; })[] & { [K_3 in Exclude<keyof I["codeInfos"], keyof {
|
|
1046
|
-
codeId?: number;
|
|
1047
|
-
creator?: string;
|
|
1048
|
-
dataHash?: Uint8Array;
|
|
1049
|
-
instantiatePermission?: {
|
|
1050
|
-
permission?: import("./types").AccessType;
|
|
1051
|
-
address?: string;
|
|
1052
|
-
addresses?: string[];
|
|
1053
|
-
};
|
|
1054
|
-
}[]>]: never; };
|
|
1055
|
-
pagination?: {
|
|
1056
|
-
nextKey?: Uint8Array;
|
|
1057
|
-
total?: number;
|
|
1058
|
-
} & {
|
|
1059
|
-
nextKey?: Uint8Array;
|
|
1060
|
-
total?: number;
|
|
1061
|
-
} & { [K_4 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
1062
|
-
} & { [K_5 in Exclude<keyof I, keyof QueryCodesResponse>]: never; }>(base?: I): QueryCodesResponse;
|
|
1063
|
-
fromPartial<I_1 extends {
|
|
1064
|
-
codeInfos?: {
|
|
1065
|
-
codeId?: number;
|
|
1066
|
-
creator?: string;
|
|
1067
|
-
dataHash?: Uint8Array;
|
|
1068
|
-
instantiatePermission?: {
|
|
1069
|
-
permission?: import("./types").AccessType;
|
|
1070
|
-
address?: string;
|
|
1071
|
-
addresses?: string[];
|
|
1072
|
-
};
|
|
1073
|
-
}[];
|
|
1074
|
-
pagination?: {
|
|
1075
|
-
nextKey?: Uint8Array;
|
|
1076
|
-
total?: number;
|
|
1077
|
-
};
|
|
1078
|
-
} & {
|
|
1079
|
-
codeInfos?: {
|
|
1080
|
-
codeId?: number;
|
|
1081
|
-
creator?: string;
|
|
1082
|
-
dataHash?: Uint8Array;
|
|
1083
|
-
instantiatePermission?: {
|
|
1084
|
-
permission?: import("./types").AccessType;
|
|
1085
|
-
address?: string;
|
|
1086
|
-
addresses?: string[];
|
|
1087
|
-
};
|
|
1088
|
-
}[] & ({
|
|
1089
|
-
codeId?: number;
|
|
1090
|
-
creator?: string;
|
|
1091
|
-
dataHash?: Uint8Array;
|
|
1092
|
-
instantiatePermission?: {
|
|
1093
|
-
permission?: import("./types").AccessType;
|
|
1094
|
-
address?: string;
|
|
1095
|
-
addresses?: string[];
|
|
1096
|
-
};
|
|
1097
|
-
} & {
|
|
1098
|
-
codeId?: number;
|
|
1099
|
-
creator?: string;
|
|
1100
|
-
dataHash?: Uint8Array;
|
|
1101
|
-
instantiatePermission?: {
|
|
1102
|
-
permission?: import("./types").AccessType;
|
|
1103
|
-
address?: string;
|
|
1104
|
-
addresses?: string[];
|
|
1105
|
-
} & {
|
|
1106
|
-
permission?: import("./types").AccessType;
|
|
1107
|
-
address?: string;
|
|
1108
|
-
addresses?: string[] & string[] & { [K_6 in Exclude<keyof I_1["codeInfos"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
1109
|
-
} & { [K_7 in Exclude<keyof I_1["codeInfos"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
1110
|
-
} & { [K_8 in Exclude<keyof I_1["codeInfos"][number], keyof CodeInfoResponse>]: never; })[] & { [K_9 in Exclude<keyof I_1["codeInfos"], keyof {
|
|
1111
|
-
codeId?: number;
|
|
1112
|
-
creator?: string;
|
|
1113
|
-
dataHash?: Uint8Array;
|
|
1114
|
-
instantiatePermission?: {
|
|
1115
|
-
permission?: import("./types").AccessType;
|
|
1116
|
-
address?: string;
|
|
1117
|
-
addresses?: string[];
|
|
1118
|
-
};
|
|
1119
|
-
}[]>]: never; };
|
|
1120
|
-
pagination?: {
|
|
1121
|
-
nextKey?: Uint8Array;
|
|
1122
|
-
total?: number;
|
|
1123
|
-
} & {
|
|
1124
|
-
nextKey?: Uint8Array;
|
|
1125
|
-
total?: number;
|
|
1126
|
-
} & { [K_10 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
1127
|
-
} & { [K_11 in Exclude<keyof I_1, keyof QueryCodesResponse>]: never; }>(object: I_1): QueryCodesResponse;
|
|
1128
|
-
};
|
|
1129
|
-
export declare const QueryPinnedCodesRequest: {
|
|
1130
|
-
encode(message: QueryPinnedCodesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1131
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest;
|
|
1132
|
-
fromJSON(object: any): QueryPinnedCodesRequest;
|
|
1133
|
-
toJSON(message: QueryPinnedCodesRequest): unknown;
|
|
1134
|
-
create<I extends {
|
|
1135
|
-
pagination?: {
|
|
1136
|
-
key?: Uint8Array;
|
|
1137
|
-
offset?: number;
|
|
1138
|
-
limit?: number;
|
|
1139
|
-
countTotal?: boolean;
|
|
1140
|
-
reverse?: boolean;
|
|
1141
|
-
};
|
|
1142
|
-
} & {
|
|
1143
|
-
pagination?: {
|
|
1144
|
-
key?: Uint8Array;
|
|
1145
|
-
offset?: number;
|
|
1146
|
-
limit?: number;
|
|
1147
|
-
countTotal?: boolean;
|
|
1148
|
-
reverse?: boolean;
|
|
1149
|
-
} & {
|
|
1150
|
-
key?: Uint8Array;
|
|
1151
|
-
offset?: number;
|
|
1152
|
-
limit?: number;
|
|
1153
|
-
countTotal?: boolean;
|
|
1154
|
-
reverse?: boolean;
|
|
1155
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
1156
|
-
} & { [K_1 in Exclude<keyof I, "pagination">]: never; }>(base?: I): QueryPinnedCodesRequest;
|
|
1157
|
-
fromPartial<I_1 extends {
|
|
1158
|
-
pagination?: {
|
|
1159
|
-
key?: Uint8Array;
|
|
1160
|
-
offset?: number;
|
|
1161
|
-
limit?: number;
|
|
1162
|
-
countTotal?: boolean;
|
|
1163
|
-
reverse?: boolean;
|
|
1164
|
-
};
|
|
1165
|
-
} & {
|
|
1166
|
-
pagination?: {
|
|
1167
|
-
key?: Uint8Array;
|
|
1168
|
-
offset?: number;
|
|
1169
|
-
limit?: number;
|
|
1170
|
-
countTotal?: boolean;
|
|
1171
|
-
reverse?: boolean;
|
|
1172
|
-
} & {
|
|
1173
|
-
key?: Uint8Array;
|
|
1174
|
-
offset?: number;
|
|
1175
|
-
limit?: number;
|
|
1176
|
-
countTotal?: boolean;
|
|
1177
|
-
reverse?: boolean;
|
|
1178
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
1179
|
-
} & { [K_3 in Exclude<keyof I_1, "pagination">]: never; }>(object: I_1): QueryPinnedCodesRequest;
|
|
1180
|
-
};
|
|
1181
|
-
export declare const QueryPinnedCodesResponse: {
|
|
1182
|
-
encode(message: QueryPinnedCodesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1183
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse;
|
|
1184
|
-
fromJSON(object: any): QueryPinnedCodesResponse;
|
|
1185
|
-
toJSON(message: QueryPinnedCodesResponse): unknown;
|
|
1186
|
-
create<I extends {
|
|
1187
|
-
codeIds?: number[];
|
|
1188
|
-
pagination?: {
|
|
1189
|
-
nextKey?: Uint8Array;
|
|
1190
|
-
total?: number;
|
|
1191
|
-
};
|
|
1192
|
-
} & {
|
|
1193
|
-
codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
|
|
1194
|
-
pagination?: {
|
|
1195
|
-
nextKey?: Uint8Array;
|
|
1196
|
-
total?: number;
|
|
1197
|
-
} & {
|
|
1198
|
-
nextKey?: Uint8Array;
|
|
1199
|
-
total?: number;
|
|
1200
|
-
} & { [K_1 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
1201
|
-
} & { [K_2 in Exclude<keyof I, keyof QueryPinnedCodesResponse>]: never; }>(base?: I): QueryPinnedCodesResponse;
|
|
1202
|
-
fromPartial<I_1 extends {
|
|
1203
|
-
codeIds?: number[];
|
|
1204
|
-
pagination?: {
|
|
1205
|
-
nextKey?: Uint8Array;
|
|
1206
|
-
total?: number;
|
|
1207
|
-
};
|
|
1208
|
-
} & {
|
|
1209
|
-
codeIds?: number[] & number[] & { [K_3 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
|
|
1210
|
-
pagination?: {
|
|
1211
|
-
nextKey?: Uint8Array;
|
|
1212
|
-
total?: number;
|
|
1213
|
-
} & {
|
|
1214
|
-
nextKey?: Uint8Array;
|
|
1215
|
-
total?: number;
|
|
1216
|
-
} & { [K_4 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
1217
|
-
} & { [K_5 in Exclude<keyof I_1, keyof QueryPinnedCodesResponse>]: never; }>(object: I_1): QueryPinnedCodesResponse;
|
|
1218
|
-
};
|
|
1219
|
-
export declare const QueryParamsRequest: {
|
|
1220
|
-
encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1221
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
|
|
1222
|
-
fromJSON(_: any): QueryParamsRequest;
|
|
1223
|
-
toJSON(_: QueryParamsRequest): unknown;
|
|
1224
|
-
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): QueryParamsRequest;
|
|
1225
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): QueryParamsRequest;
|
|
1226
|
-
};
|
|
1227
|
-
export declare const QueryParamsResponse: {
|
|
1228
|
-
encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1229
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
|
|
1230
|
-
fromJSON(object: any): QueryParamsResponse;
|
|
1231
|
-
toJSON(message: QueryParamsResponse): unknown;
|
|
1232
|
-
create<I extends {
|
|
1233
|
-
params?: {
|
|
1234
|
-
codeUploadAccess?: {
|
|
1235
|
-
permission?: import("./types").AccessType;
|
|
1236
|
-
address?: string;
|
|
1237
|
-
addresses?: string[];
|
|
1238
|
-
};
|
|
1239
|
-
instantiateDefaultPermission?: import("./types").AccessType;
|
|
1240
|
-
};
|
|
1241
|
-
} & {
|
|
1242
|
-
params?: {
|
|
1243
|
-
codeUploadAccess?: {
|
|
1244
|
-
permission?: import("./types").AccessType;
|
|
1245
|
-
address?: string;
|
|
1246
|
-
addresses?: string[];
|
|
1247
|
-
};
|
|
1248
|
-
instantiateDefaultPermission?: import("./types").AccessType;
|
|
1249
|
-
} & {
|
|
1250
|
-
codeUploadAccess?: {
|
|
1251
|
-
permission?: import("./types").AccessType;
|
|
1252
|
-
address?: string;
|
|
1253
|
-
addresses?: string[];
|
|
1254
|
-
} & {
|
|
1255
|
-
permission?: import("./types").AccessType;
|
|
1256
|
-
address?: string;
|
|
1257
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
|
|
1258
|
-
} & { [K_1 in Exclude<keyof I["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
|
|
1259
|
-
instantiateDefaultPermission?: import("./types").AccessType;
|
|
1260
|
-
} & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
|
|
1261
|
-
} & { [K_3 in Exclude<keyof I, "params">]: never; }>(base?: I): QueryParamsResponse;
|
|
1262
|
-
fromPartial<I_1 extends {
|
|
1263
|
-
params?: {
|
|
1264
|
-
codeUploadAccess?: {
|
|
1265
|
-
permission?: import("./types").AccessType;
|
|
1266
|
-
address?: string;
|
|
1267
|
-
addresses?: string[];
|
|
1268
|
-
};
|
|
1269
|
-
instantiateDefaultPermission?: import("./types").AccessType;
|
|
1270
|
-
};
|
|
1271
|
-
} & {
|
|
1272
|
-
params?: {
|
|
1273
|
-
codeUploadAccess?: {
|
|
1274
|
-
permission?: import("./types").AccessType;
|
|
1275
|
-
address?: string;
|
|
1276
|
-
addresses?: string[];
|
|
1277
|
-
};
|
|
1278
|
-
instantiateDefaultPermission?: import("./types").AccessType;
|
|
1279
|
-
} & {
|
|
1280
|
-
codeUploadAccess?: {
|
|
1281
|
-
permission?: import("./types").AccessType;
|
|
1282
|
-
address?: string;
|
|
1283
|
-
addresses?: string[];
|
|
1284
|
-
} & {
|
|
1285
|
-
permission?: import("./types").AccessType;
|
|
1286
|
-
address?: string;
|
|
1287
|
-
addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
|
|
1288
|
-
} & { [K_5 in Exclude<keyof I_1["params"]["codeUploadAccess"], keyof AccessConfig>]: never; };
|
|
1289
|
-
instantiateDefaultPermission?: import("./types").AccessType;
|
|
1290
|
-
} & { [K_6 in Exclude<keyof I_1["params"], keyof Params>]: never; };
|
|
1291
|
-
} & { [K_7 in Exclude<keyof I_1, "params">]: never; }>(object: I_1): QueryParamsResponse;
|
|
1292
|
-
};
|
|
1293
|
-
export declare const QueryContractsByCreatorRequest: {
|
|
1294
|
-
encode(message: QueryContractsByCreatorRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1295
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCreatorRequest;
|
|
1296
|
-
fromJSON(object: any): QueryContractsByCreatorRequest;
|
|
1297
|
-
toJSON(message: QueryContractsByCreatorRequest): unknown;
|
|
1298
|
-
create<I extends {
|
|
1299
|
-
creatorAddress?: string;
|
|
1300
|
-
pagination?: {
|
|
1301
|
-
key?: Uint8Array;
|
|
1302
|
-
offset?: number;
|
|
1303
|
-
limit?: number;
|
|
1304
|
-
countTotal?: boolean;
|
|
1305
|
-
reverse?: boolean;
|
|
1306
|
-
};
|
|
1307
|
-
} & {
|
|
1308
|
-
creatorAddress?: string;
|
|
1309
|
-
pagination?: {
|
|
1310
|
-
key?: Uint8Array;
|
|
1311
|
-
offset?: number;
|
|
1312
|
-
limit?: number;
|
|
1313
|
-
countTotal?: boolean;
|
|
1314
|
-
reverse?: boolean;
|
|
1315
|
-
} & {
|
|
1316
|
-
key?: Uint8Array;
|
|
1317
|
-
offset?: number;
|
|
1318
|
-
limit?: number;
|
|
1319
|
-
countTotal?: boolean;
|
|
1320
|
-
reverse?: boolean;
|
|
1321
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
1322
|
-
} & { [K_1 in Exclude<keyof I, keyof QueryContractsByCreatorRequest>]: never; }>(base?: I): QueryContractsByCreatorRequest;
|
|
1323
|
-
fromPartial<I_1 extends {
|
|
1324
|
-
creatorAddress?: string;
|
|
1325
|
-
pagination?: {
|
|
1326
|
-
key?: Uint8Array;
|
|
1327
|
-
offset?: number;
|
|
1328
|
-
limit?: number;
|
|
1329
|
-
countTotal?: boolean;
|
|
1330
|
-
reverse?: boolean;
|
|
1331
|
-
};
|
|
1332
|
-
} & {
|
|
1333
|
-
creatorAddress?: string;
|
|
1334
|
-
pagination?: {
|
|
1335
|
-
key?: Uint8Array;
|
|
1336
|
-
offset?: number;
|
|
1337
|
-
limit?: number;
|
|
1338
|
-
countTotal?: boolean;
|
|
1339
|
-
reverse?: boolean;
|
|
1340
|
-
} & {
|
|
1341
|
-
key?: Uint8Array;
|
|
1342
|
-
offset?: number;
|
|
1343
|
-
limit?: number;
|
|
1344
|
-
countTotal?: boolean;
|
|
1345
|
-
reverse?: boolean;
|
|
1346
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
1347
|
-
} & { [K_3 in Exclude<keyof I_1, keyof QueryContractsByCreatorRequest>]: never; }>(object: I_1): QueryContractsByCreatorRequest;
|
|
1348
|
-
};
|
|
1349
|
-
export declare const QueryContractsByCreatorResponse: {
|
|
1350
|
-
encode(message: QueryContractsByCreatorResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1351
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCreatorResponse;
|
|
1352
|
-
fromJSON(object: any): QueryContractsByCreatorResponse;
|
|
1353
|
-
toJSON(message: QueryContractsByCreatorResponse): unknown;
|
|
1354
|
-
create<I extends {
|
|
1355
|
-
contractAddresses?: string[];
|
|
1356
|
-
pagination?: {
|
|
1357
|
-
nextKey?: Uint8Array;
|
|
1358
|
-
total?: number;
|
|
1359
|
-
};
|
|
1360
|
-
} & {
|
|
1361
|
-
contractAddresses?: string[] & string[] & { [K in Exclude<keyof I["contractAddresses"], keyof string[]>]: never; };
|
|
1362
|
-
pagination?: {
|
|
1363
|
-
nextKey?: Uint8Array;
|
|
1364
|
-
total?: number;
|
|
1365
|
-
} & {
|
|
1366
|
-
nextKey?: Uint8Array;
|
|
1367
|
-
total?: number;
|
|
1368
|
-
} & { [K_1 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
1369
|
-
} & { [K_2 in Exclude<keyof I, keyof QueryContractsByCreatorResponse>]: never; }>(base?: I): QueryContractsByCreatorResponse;
|
|
1370
|
-
fromPartial<I_1 extends {
|
|
1371
|
-
contractAddresses?: string[];
|
|
1372
|
-
pagination?: {
|
|
1373
|
-
nextKey?: Uint8Array;
|
|
1374
|
-
total?: number;
|
|
1375
|
-
};
|
|
1376
|
-
} & {
|
|
1377
|
-
contractAddresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["contractAddresses"], keyof string[]>]: never; };
|
|
1378
|
-
pagination?: {
|
|
1379
|
-
nextKey?: Uint8Array;
|
|
1380
|
-
total?: number;
|
|
1381
|
-
} & {
|
|
1382
|
-
nextKey?: Uint8Array;
|
|
1383
|
-
total?: number;
|
|
1384
|
-
} & { [K_4 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
1385
|
-
} & { [K_5 in Exclude<keyof I_1, keyof QueryContractsByCreatorResponse>]: never; }>(object: I_1): QueryContractsByCreatorResponse;
|
|
1386
|
-
};
|
|
189
|
+
export declare const QueryContractInfoRequest: MessageFns<QueryContractInfoRequest>;
|
|
190
|
+
export declare const QueryContractInfoResponse: MessageFns<QueryContractInfoResponse>;
|
|
191
|
+
export declare const QueryContractHistoryRequest: MessageFns<QueryContractHistoryRequest>;
|
|
192
|
+
export declare const QueryContractHistoryResponse: MessageFns<QueryContractHistoryResponse>;
|
|
193
|
+
export declare const QueryContractsByCodeRequest: MessageFns<QueryContractsByCodeRequest>;
|
|
194
|
+
export declare const QueryContractsByCodeResponse: MessageFns<QueryContractsByCodeResponse>;
|
|
195
|
+
export declare const QueryAllContractStateRequest: MessageFns<QueryAllContractStateRequest>;
|
|
196
|
+
export declare const QueryAllContractStateResponse: MessageFns<QueryAllContractStateResponse>;
|
|
197
|
+
export declare const QueryRawContractStateRequest: MessageFns<QueryRawContractStateRequest>;
|
|
198
|
+
export declare const QueryRawContractStateResponse: MessageFns<QueryRawContractStateResponse>;
|
|
199
|
+
export declare const QuerySmartContractStateRequest: MessageFns<QuerySmartContractStateRequest>;
|
|
200
|
+
export declare const QuerySmartContractStateResponse: MessageFns<QuerySmartContractStateResponse>;
|
|
201
|
+
export declare const QueryCodeRequest: MessageFns<QueryCodeRequest>;
|
|
202
|
+
export declare const CodeInfoResponse: MessageFns<CodeInfoResponse>;
|
|
203
|
+
export declare const QueryCodeResponse: MessageFns<QueryCodeResponse>;
|
|
204
|
+
export declare const QueryCodesRequest: MessageFns<QueryCodesRequest>;
|
|
205
|
+
export declare const QueryCodesResponse: MessageFns<QueryCodesResponse>;
|
|
206
|
+
export declare const QueryPinnedCodesRequest: MessageFns<QueryPinnedCodesRequest>;
|
|
207
|
+
export declare const QueryPinnedCodesResponse: MessageFns<QueryPinnedCodesResponse>;
|
|
208
|
+
export declare const QueryParamsRequest: MessageFns<QueryParamsRequest>;
|
|
209
|
+
export declare const QueryParamsResponse: MessageFns<QueryParamsResponse>;
|
|
210
|
+
export declare const QueryContractsByCreatorRequest: MessageFns<QueryContractsByCreatorRequest>;
|
|
211
|
+
export declare const QueryContractsByCreatorResponse: MessageFns<QueryContractsByCreatorResponse>;
|
|
1387
212
|
/** Query provides defines the gRPC querier service */
|
|
1388
213
|
export interface Query {
|
|
1389
214
|
/** ContractInfo gets the contract meta data */
|
|
@@ -1409,6 +234,7 @@ export interface Query {
|
|
|
1409
234
|
/** ContractsByCreator gets the contracts by creator */
|
|
1410
235
|
ContractsByCreator(request: QueryContractsByCreatorRequest): Promise<QueryContractsByCreatorResponse>;
|
|
1411
236
|
}
|
|
237
|
+
export declare const QueryServiceName = "cosmwasm.wasm.v1.Query";
|
|
1412
238
|
export declare class QueryClientImpl implements Query {
|
|
1413
239
|
private readonly rpc;
|
|
1414
240
|
private readonly service;
|
|
@@ -1431,7 +257,7 @@ interface Rpc {
|
|
|
1431
257
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
1432
258
|
}
|
|
1433
259
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1434
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
260
|
+
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 {} ? {
|
|
1435
261
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1436
262
|
} : Partial<T>;
|
|
1437
263
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
@@ -1440,4 +266,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
|
1440
266
|
} & {
|
|
1441
267
|
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
1442
268
|
};
|
|
269
|
+
export interface MessageFns<T> {
|
|
270
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
271
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
272
|
+
fromJSON(object: any): T;
|
|
273
|
+
toJSON(message: T): unknown;
|
|
274
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
275
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
276
|
+
}
|
|
1443
277
|
export {};
|