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,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
|
|
2
2
|
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
|
|
3
3
|
import { AccessConfig } from "./types";
|
|
4
4
|
export declare const protobufPackage = "cosmwasm.wasm.v1";
|
|
@@ -292,726 +292,21 @@ export interface StoreAndInstantiateContractProposal {
|
|
|
292
292
|
*/
|
|
293
293
|
codeHash: Uint8Array;
|
|
294
294
|
}
|
|
295
|
-
export declare const StoreCodeProposal:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
addresses?: string[];
|
|
309
|
-
};
|
|
310
|
-
unpinCode?: boolean;
|
|
311
|
-
source?: string;
|
|
312
|
-
builder?: string;
|
|
313
|
-
codeHash?: Uint8Array;
|
|
314
|
-
} & {
|
|
315
|
-
title?: string;
|
|
316
|
-
description?: string;
|
|
317
|
-
runAs?: string;
|
|
318
|
-
wasmByteCode?: Uint8Array;
|
|
319
|
-
instantiatePermission?: {
|
|
320
|
-
permission?: import("./types").AccessType;
|
|
321
|
-
address?: string;
|
|
322
|
-
addresses?: string[];
|
|
323
|
-
} & {
|
|
324
|
-
permission?: import("./types").AccessType;
|
|
325
|
-
address?: string;
|
|
326
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
327
|
-
} & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
328
|
-
unpinCode?: boolean;
|
|
329
|
-
source?: string;
|
|
330
|
-
builder?: string;
|
|
331
|
-
codeHash?: Uint8Array;
|
|
332
|
-
} & { [K_2 in Exclude<keyof I, keyof StoreCodeProposal>]: never; }>(base?: I): StoreCodeProposal;
|
|
333
|
-
fromPartial<I_1 extends {
|
|
334
|
-
title?: string;
|
|
335
|
-
description?: string;
|
|
336
|
-
runAs?: string;
|
|
337
|
-
wasmByteCode?: Uint8Array;
|
|
338
|
-
instantiatePermission?: {
|
|
339
|
-
permission?: import("./types").AccessType;
|
|
340
|
-
address?: string;
|
|
341
|
-
addresses?: string[];
|
|
342
|
-
};
|
|
343
|
-
unpinCode?: boolean;
|
|
344
|
-
source?: string;
|
|
345
|
-
builder?: string;
|
|
346
|
-
codeHash?: Uint8Array;
|
|
347
|
-
} & {
|
|
348
|
-
title?: string;
|
|
349
|
-
description?: string;
|
|
350
|
-
runAs?: string;
|
|
351
|
-
wasmByteCode?: Uint8Array;
|
|
352
|
-
instantiatePermission?: {
|
|
353
|
-
permission?: import("./types").AccessType;
|
|
354
|
-
address?: string;
|
|
355
|
-
addresses?: string[];
|
|
356
|
-
} & {
|
|
357
|
-
permission?: import("./types").AccessType;
|
|
358
|
-
address?: string;
|
|
359
|
-
addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
360
|
-
} & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
361
|
-
unpinCode?: boolean;
|
|
362
|
-
source?: string;
|
|
363
|
-
builder?: string;
|
|
364
|
-
codeHash?: Uint8Array;
|
|
365
|
-
} & { [K_5 in Exclude<keyof I_1, keyof StoreCodeProposal>]: never; }>(object: I_1): StoreCodeProposal;
|
|
366
|
-
};
|
|
367
|
-
export declare const InstantiateContractProposal: {
|
|
368
|
-
encode(message: InstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
|
|
369
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal;
|
|
370
|
-
fromJSON(object: any): InstantiateContractProposal;
|
|
371
|
-
toJSON(message: InstantiateContractProposal): unknown;
|
|
372
|
-
create<I extends {
|
|
373
|
-
title?: string;
|
|
374
|
-
description?: string;
|
|
375
|
-
runAs?: string;
|
|
376
|
-
admin?: string;
|
|
377
|
-
codeId?: number;
|
|
378
|
-
label?: string;
|
|
379
|
-
msg?: Uint8Array;
|
|
380
|
-
funds?: {
|
|
381
|
-
denom?: string;
|
|
382
|
-
amount?: string;
|
|
383
|
-
}[];
|
|
384
|
-
} & {
|
|
385
|
-
title?: string;
|
|
386
|
-
description?: string;
|
|
387
|
-
runAs?: string;
|
|
388
|
-
admin?: string;
|
|
389
|
-
codeId?: number;
|
|
390
|
-
label?: string;
|
|
391
|
-
msg?: Uint8Array;
|
|
392
|
-
funds?: {
|
|
393
|
-
denom?: string;
|
|
394
|
-
amount?: string;
|
|
395
|
-
}[] & ({
|
|
396
|
-
denom?: string;
|
|
397
|
-
amount?: string;
|
|
398
|
-
} & {
|
|
399
|
-
denom?: string;
|
|
400
|
-
amount?: string;
|
|
401
|
-
} & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
|
|
402
|
-
denom?: string;
|
|
403
|
-
amount?: string;
|
|
404
|
-
}[]>]: never; };
|
|
405
|
-
} & { [K_2 in Exclude<keyof I, keyof InstantiateContractProposal>]: never; }>(base?: I): InstantiateContractProposal;
|
|
406
|
-
fromPartial<I_1 extends {
|
|
407
|
-
title?: string;
|
|
408
|
-
description?: string;
|
|
409
|
-
runAs?: string;
|
|
410
|
-
admin?: string;
|
|
411
|
-
codeId?: number;
|
|
412
|
-
label?: string;
|
|
413
|
-
msg?: Uint8Array;
|
|
414
|
-
funds?: {
|
|
415
|
-
denom?: string;
|
|
416
|
-
amount?: string;
|
|
417
|
-
}[];
|
|
418
|
-
} & {
|
|
419
|
-
title?: string;
|
|
420
|
-
description?: string;
|
|
421
|
-
runAs?: string;
|
|
422
|
-
admin?: string;
|
|
423
|
-
codeId?: number;
|
|
424
|
-
label?: string;
|
|
425
|
-
msg?: Uint8Array;
|
|
426
|
-
funds?: {
|
|
427
|
-
denom?: string;
|
|
428
|
-
amount?: string;
|
|
429
|
-
}[] & ({
|
|
430
|
-
denom?: string;
|
|
431
|
-
amount?: string;
|
|
432
|
-
} & {
|
|
433
|
-
denom?: string;
|
|
434
|
-
amount?: string;
|
|
435
|
-
} & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
|
|
436
|
-
denom?: string;
|
|
437
|
-
amount?: string;
|
|
438
|
-
}[]>]: never; };
|
|
439
|
-
} & { [K_5 in Exclude<keyof I_1, keyof InstantiateContractProposal>]: never; }>(object: I_1): InstantiateContractProposal;
|
|
440
|
-
};
|
|
441
|
-
export declare const InstantiateContract2Proposal: {
|
|
442
|
-
encode(message: InstantiateContract2Proposal, writer?: _m0.Writer): _m0.Writer;
|
|
443
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContract2Proposal;
|
|
444
|
-
fromJSON(object: any): InstantiateContract2Proposal;
|
|
445
|
-
toJSON(message: InstantiateContract2Proposal): unknown;
|
|
446
|
-
create<I extends {
|
|
447
|
-
title?: string;
|
|
448
|
-
description?: string;
|
|
449
|
-
runAs?: string;
|
|
450
|
-
admin?: string;
|
|
451
|
-
codeId?: number;
|
|
452
|
-
label?: string;
|
|
453
|
-
msg?: Uint8Array;
|
|
454
|
-
funds?: {
|
|
455
|
-
denom?: string;
|
|
456
|
-
amount?: string;
|
|
457
|
-
}[];
|
|
458
|
-
salt?: Uint8Array;
|
|
459
|
-
fixMsg?: boolean;
|
|
460
|
-
} & {
|
|
461
|
-
title?: string;
|
|
462
|
-
description?: string;
|
|
463
|
-
runAs?: string;
|
|
464
|
-
admin?: string;
|
|
465
|
-
codeId?: number;
|
|
466
|
-
label?: string;
|
|
467
|
-
msg?: Uint8Array;
|
|
468
|
-
funds?: {
|
|
469
|
-
denom?: string;
|
|
470
|
-
amount?: string;
|
|
471
|
-
}[] & ({
|
|
472
|
-
denom?: string;
|
|
473
|
-
amount?: string;
|
|
474
|
-
} & {
|
|
475
|
-
denom?: string;
|
|
476
|
-
amount?: string;
|
|
477
|
-
} & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
|
|
478
|
-
denom?: string;
|
|
479
|
-
amount?: string;
|
|
480
|
-
}[]>]: never; };
|
|
481
|
-
salt?: Uint8Array;
|
|
482
|
-
fixMsg?: boolean;
|
|
483
|
-
} & { [K_2 in Exclude<keyof I, keyof InstantiateContract2Proposal>]: never; }>(base?: I): InstantiateContract2Proposal;
|
|
484
|
-
fromPartial<I_1 extends {
|
|
485
|
-
title?: string;
|
|
486
|
-
description?: string;
|
|
487
|
-
runAs?: string;
|
|
488
|
-
admin?: string;
|
|
489
|
-
codeId?: number;
|
|
490
|
-
label?: string;
|
|
491
|
-
msg?: Uint8Array;
|
|
492
|
-
funds?: {
|
|
493
|
-
denom?: string;
|
|
494
|
-
amount?: string;
|
|
495
|
-
}[];
|
|
496
|
-
salt?: Uint8Array;
|
|
497
|
-
fixMsg?: boolean;
|
|
498
|
-
} & {
|
|
499
|
-
title?: string;
|
|
500
|
-
description?: string;
|
|
501
|
-
runAs?: string;
|
|
502
|
-
admin?: string;
|
|
503
|
-
codeId?: number;
|
|
504
|
-
label?: string;
|
|
505
|
-
msg?: Uint8Array;
|
|
506
|
-
funds?: {
|
|
507
|
-
denom?: string;
|
|
508
|
-
amount?: string;
|
|
509
|
-
}[] & ({
|
|
510
|
-
denom?: string;
|
|
511
|
-
amount?: string;
|
|
512
|
-
} & {
|
|
513
|
-
denom?: string;
|
|
514
|
-
amount?: string;
|
|
515
|
-
} & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
|
|
516
|
-
denom?: string;
|
|
517
|
-
amount?: string;
|
|
518
|
-
}[]>]: never; };
|
|
519
|
-
salt?: Uint8Array;
|
|
520
|
-
fixMsg?: boolean;
|
|
521
|
-
} & { [K_5 in Exclude<keyof I_1, keyof InstantiateContract2Proposal>]: never; }>(object: I_1): InstantiateContract2Proposal;
|
|
522
|
-
};
|
|
523
|
-
export declare const MigrateContractProposal: {
|
|
524
|
-
encode(message: MigrateContractProposal, writer?: _m0.Writer): _m0.Writer;
|
|
525
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal;
|
|
526
|
-
fromJSON(object: any): MigrateContractProposal;
|
|
527
|
-
toJSON(message: MigrateContractProposal): unknown;
|
|
528
|
-
create<I extends {
|
|
529
|
-
title?: string;
|
|
530
|
-
description?: string;
|
|
531
|
-
contract?: string;
|
|
532
|
-
codeId?: number;
|
|
533
|
-
msg?: Uint8Array;
|
|
534
|
-
} & {
|
|
535
|
-
title?: string;
|
|
536
|
-
description?: string;
|
|
537
|
-
contract?: string;
|
|
538
|
-
codeId?: number;
|
|
539
|
-
msg?: Uint8Array;
|
|
540
|
-
} & { [K in Exclude<keyof I, keyof MigrateContractProposal>]: never; }>(base?: I): MigrateContractProposal;
|
|
541
|
-
fromPartial<I_1 extends {
|
|
542
|
-
title?: string;
|
|
543
|
-
description?: string;
|
|
544
|
-
contract?: string;
|
|
545
|
-
codeId?: number;
|
|
546
|
-
msg?: Uint8Array;
|
|
547
|
-
} & {
|
|
548
|
-
title?: string;
|
|
549
|
-
description?: string;
|
|
550
|
-
contract?: string;
|
|
551
|
-
codeId?: number;
|
|
552
|
-
msg?: Uint8Array;
|
|
553
|
-
} & { [K_1 in Exclude<keyof I_1, keyof MigrateContractProposal>]: never; }>(object: I_1): MigrateContractProposal;
|
|
554
|
-
};
|
|
555
|
-
export declare const SudoContractProposal: {
|
|
556
|
-
encode(message: SudoContractProposal, writer?: _m0.Writer): _m0.Writer;
|
|
557
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal;
|
|
558
|
-
fromJSON(object: any): SudoContractProposal;
|
|
559
|
-
toJSON(message: SudoContractProposal): unknown;
|
|
560
|
-
create<I extends {
|
|
561
|
-
title?: string;
|
|
562
|
-
description?: string;
|
|
563
|
-
contract?: string;
|
|
564
|
-
msg?: Uint8Array;
|
|
565
|
-
} & {
|
|
566
|
-
title?: string;
|
|
567
|
-
description?: string;
|
|
568
|
-
contract?: string;
|
|
569
|
-
msg?: Uint8Array;
|
|
570
|
-
} & { [K in Exclude<keyof I, keyof SudoContractProposal>]: never; }>(base?: I): SudoContractProposal;
|
|
571
|
-
fromPartial<I_1 extends {
|
|
572
|
-
title?: string;
|
|
573
|
-
description?: string;
|
|
574
|
-
contract?: string;
|
|
575
|
-
msg?: Uint8Array;
|
|
576
|
-
} & {
|
|
577
|
-
title?: string;
|
|
578
|
-
description?: string;
|
|
579
|
-
contract?: string;
|
|
580
|
-
msg?: Uint8Array;
|
|
581
|
-
} & { [K_1 in Exclude<keyof I_1, keyof SudoContractProposal>]: never; }>(object: I_1): SudoContractProposal;
|
|
582
|
-
};
|
|
583
|
-
export declare const ExecuteContractProposal: {
|
|
584
|
-
encode(message: ExecuteContractProposal, writer?: _m0.Writer): _m0.Writer;
|
|
585
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal;
|
|
586
|
-
fromJSON(object: any): ExecuteContractProposal;
|
|
587
|
-
toJSON(message: ExecuteContractProposal): unknown;
|
|
588
|
-
create<I extends {
|
|
589
|
-
title?: string;
|
|
590
|
-
description?: string;
|
|
591
|
-
runAs?: string;
|
|
592
|
-
contract?: string;
|
|
593
|
-
msg?: Uint8Array;
|
|
594
|
-
funds?: {
|
|
595
|
-
denom?: string;
|
|
596
|
-
amount?: string;
|
|
597
|
-
}[];
|
|
598
|
-
} & {
|
|
599
|
-
title?: string;
|
|
600
|
-
description?: string;
|
|
601
|
-
runAs?: string;
|
|
602
|
-
contract?: string;
|
|
603
|
-
msg?: Uint8Array;
|
|
604
|
-
funds?: {
|
|
605
|
-
denom?: string;
|
|
606
|
-
amount?: string;
|
|
607
|
-
}[] & ({
|
|
608
|
-
denom?: string;
|
|
609
|
-
amount?: string;
|
|
610
|
-
} & {
|
|
611
|
-
denom?: string;
|
|
612
|
-
amount?: string;
|
|
613
|
-
} & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
|
|
614
|
-
denom?: string;
|
|
615
|
-
amount?: string;
|
|
616
|
-
}[]>]: never; };
|
|
617
|
-
} & { [K_2 in Exclude<keyof I, keyof ExecuteContractProposal>]: never; }>(base?: I): ExecuteContractProposal;
|
|
618
|
-
fromPartial<I_1 extends {
|
|
619
|
-
title?: string;
|
|
620
|
-
description?: string;
|
|
621
|
-
runAs?: string;
|
|
622
|
-
contract?: string;
|
|
623
|
-
msg?: Uint8Array;
|
|
624
|
-
funds?: {
|
|
625
|
-
denom?: string;
|
|
626
|
-
amount?: string;
|
|
627
|
-
}[];
|
|
628
|
-
} & {
|
|
629
|
-
title?: string;
|
|
630
|
-
description?: string;
|
|
631
|
-
runAs?: string;
|
|
632
|
-
contract?: string;
|
|
633
|
-
msg?: Uint8Array;
|
|
634
|
-
funds?: {
|
|
635
|
-
denom?: string;
|
|
636
|
-
amount?: string;
|
|
637
|
-
}[] & ({
|
|
638
|
-
denom?: string;
|
|
639
|
-
amount?: string;
|
|
640
|
-
} & {
|
|
641
|
-
denom?: string;
|
|
642
|
-
amount?: string;
|
|
643
|
-
} & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
|
|
644
|
-
denom?: string;
|
|
645
|
-
amount?: string;
|
|
646
|
-
}[]>]: never; };
|
|
647
|
-
} & { [K_5 in Exclude<keyof I_1, keyof ExecuteContractProposal>]: never; }>(object: I_1): ExecuteContractProposal;
|
|
648
|
-
};
|
|
649
|
-
export declare const UpdateAdminProposal: {
|
|
650
|
-
encode(message: UpdateAdminProposal, writer?: _m0.Writer): _m0.Writer;
|
|
651
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal;
|
|
652
|
-
fromJSON(object: any): UpdateAdminProposal;
|
|
653
|
-
toJSON(message: UpdateAdminProposal): unknown;
|
|
654
|
-
create<I extends {
|
|
655
|
-
title?: string;
|
|
656
|
-
description?: string;
|
|
657
|
-
newAdmin?: string;
|
|
658
|
-
contract?: string;
|
|
659
|
-
} & {
|
|
660
|
-
title?: string;
|
|
661
|
-
description?: string;
|
|
662
|
-
newAdmin?: string;
|
|
663
|
-
contract?: string;
|
|
664
|
-
} & { [K in Exclude<keyof I, keyof UpdateAdminProposal>]: never; }>(base?: I): UpdateAdminProposal;
|
|
665
|
-
fromPartial<I_1 extends {
|
|
666
|
-
title?: string;
|
|
667
|
-
description?: string;
|
|
668
|
-
newAdmin?: string;
|
|
669
|
-
contract?: string;
|
|
670
|
-
} & {
|
|
671
|
-
title?: string;
|
|
672
|
-
description?: string;
|
|
673
|
-
newAdmin?: string;
|
|
674
|
-
contract?: string;
|
|
675
|
-
} & { [K_1 in Exclude<keyof I_1, keyof UpdateAdminProposal>]: never; }>(object: I_1): UpdateAdminProposal;
|
|
676
|
-
};
|
|
677
|
-
export declare const ClearAdminProposal: {
|
|
678
|
-
encode(message: ClearAdminProposal, writer?: _m0.Writer): _m0.Writer;
|
|
679
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal;
|
|
680
|
-
fromJSON(object: any): ClearAdminProposal;
|
|
681
|
-
toJSON(message: ClearAdminProposal): unknown;
|
|
682
|
-
create<I extends {
|
|
683
|
-
title?: string;
|
|
684
|
-
description?: string;
|
|
685
|
-
contract?: string;
|
|
686
|
-
} & {
|
|
687
|
-
title?: string;
|
|
688
|
-
description?: string;
|
|
689
|
-
contract?: string;
|
|
690
|
-
} & { [K in Exclude<keyof I, keyof ClearAdminProposal>]: never; }>(base?: I): ClearAdminProposal;
|
|
691
|
-
fromPartial<I_1 extends {
|
|
692
|
-
title?: string;
|
|
693
|
-
description?: string;
|
|
694
|
-
contract?: string;
|
|
695
|
-
} & {
|
|
696
|
-
title?: string;
|
|
697
|
-
description?: string;
|
|
698
|
-
contract?: string;
|
|
699
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ClearAdminProposal>]: never; }>(object: I_1): ClearAdminProposal;
|
|
700
|
-
};
|
|
701
|
-
export declare const PinCodesProposal: {
|
|
702
|
-
encode(message: PinCodesProposal, writer?: _m0.Writer): _m0.Writer;
|
|
703
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal;
|
|
704
|
-
fromJSON(object: any): PinCodesProposal;
|
|
705
|
-
toJSON(message: PinCodesProposal): unknown;
|
|
706
|
-
create<I extends {
|
|
707
|
-
title?: string;
|
|
708
|
-
description?: string;
|
|
709
|
-
codeIds?: number[];
|
|
710
|
-
} & {
|
|
711
|
-
title?: string;
|
|
712
|
-
description?: string;
|
|
713
|
-
codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
|
|
714
|
-
} & { [K_1 in Exclude<keyof I, keyof PinCodesProposal>]: never; }>(base?: I): PinCodesProposal;
|
|
715
|
-
fromPartial<I_1 extends {
|
|
716
|
-
title?: string;
|
|
717
|
-
description?: string;
|
|
718
|
-
codeIds?: number[];
|
|
719
|
-
} & {
|
|
720
|
-
title?: string;
|
|
721
|
-
description?: string;
|
|
722
|
-
codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
|
|
723
|
-
} & { [K_3 in Exclude<keyof I_1, keyof PinCodesProposal>]: never; }>(object: I_1): PinCodesProposal;
|
|
724
|
-
};
|
|
725
|
-
export declare const UnpinCodesProposal: {
|
|
726
|
-
encode(message: UnpinCodesProposal, writer?: _m0.Writer): _m0.Writer;
|
|
727
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal;
|
|
728
|
-
fromJSON(object: any): UnpinCodesProposal;
|
|
729
|
-
toJSON(message: UnpinCodesProposal): unknown;
|
|
730
|
-
create<I extends {
|
|
731
|
-
title?: string;
|
|
732
|
-
description?: string;
|
|
733
|
-
codeIds?: number[];
|
|
734
|
-
} & {
|
|
735
|
-
title?: string;
|
|
736
|
-
description?: string;
|
|
737
|
-
codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
|
|
738
|
-
} & { [K_1 in Exclude<keyof I, keyof UnpinCodesProposal>]: never; }>(base?: I): UnpinCodesProposal;
|
|
739
|
-
fromPartial<I_1 extends {
|
|
740
|
-
title?: string;
|
|
741
|
-
description?: string;
|
|
742
|
-
codeIds?: number[];
|
|
743
|
-
} & {
|
|
744
|
-
title?: string;
|
|
745
|
-
description?: string;
|
|
746
|
-
codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
|
|
747
|
-
} & { [K_3 in Exclude<keyof I_1, keyof UnpinCodesProposal>]: never; }>(object: I_1): UnpinCodesProposal;
|
|
748
|
-
};
|
|
749
|
-
export declare const AccessConfigUpdate: {
|
|
750
|
-
encode(message: AccessConfigUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
751
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfigUpdate;
|
|
752
|
-
fromJSON(object: any): AccessConfigUpdate;
|
|
753
|
-
toJSON(message: AccessConfigUpdate): unknown;
|
|
754
|
-
create<I extends {
|
|
755
|
-
codeId?: number;
|
|
756
|
-
instantiatePermission?: {
|
|
757
|
-
permission?: import("./types").AccessType;
|
|
758
|
-
address?: string;
|
|
759
|
-
addresses?: string[];
|
|
760
|
-
};
|
|
761
|
-
} & {
|
|
762
|
-
codeId?: number;
|
|
763
|
-
instantiatePermission?: {
|
|
764
|
-
permission?: import("./types").AccessType;
|
|
765
|
-
address?: string;
|
|
766
|
-
addresses?: string[];
|
|
767
|
-
} & {
|
|
768
|
-
permission?: import("./types").AccessType;
|
|
769
|
-
address?: string;
|
|
770
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
771
|
-
} & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
772
|
-
} & { [K_2 in Exclude<keyof I, keyof AccessConfigUpdate>]: never; }>(base?: I): AccessConfigUpdate;
|
|
773
|
-
fromPartial<I_1 extends {
|
|
774
|
-
codeId?: number;
|
|
775
|
-
instantiatePermission?: {
|
|
776
|
-
permission?: import("./types").AccessType;
|
|
777
|
-
address?: string;
|
|
778
|
-
addresses?: string[];
|
|
779
|
-
};
|
|
780
|
-
} & {
|
|
781
|
-
codeId?: number;
|
|
782
|
-
instantiatePermission?: {
|
|
783
|
-
permission?: import("./types").AccessType;
|
|
784
|
-
address?: string;
|
|
785
|
-
addresses?: string[];
|
|
786
|
-
} & {
|
|
787
|
-
permission?: import("./types").AccessType;
|
|
788
|
-
address?: string;
|
|
789
|
-
addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
790
|
-
} & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
791
|
-
} & { [K_5 in Exclude<keyof I_1, keyof AccessConfigUpdate>]: never; }>(object: I_1): AccessConfigUpdate;
|
|
792
|
-
};
|
|
793
|
-
export declare const UpdateInstantiateConfigProposal: {
|
|
794
|
-
encode(message: UpdateInstantiateConfigProposal, writer?: _m0.Writer): _m0.Writer;
|
|
795
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstantiateConfigProposal;
|
|
796
|
-
fromJSON(object: any): UpdateInstantiateConfigProposal;
|
|
797
|
-
toJSON(message: UpdateInstantiateConfigProposal): unknown;
|
|
798
|
-
create<I extends {
|
|
799
|
-
title?: string;
|
|
800
|
-
description?: string;
|
|
801
|
-
accessConfigUpdates?: {
|
|
802
|
-
codeId?: number;
|
|
803
|
-
instantiatePermission?: {
|
|
804
|
-
permission?: import("./types").AccessType;
|
|
805
|
-
address?: string;
|
|
806
|
-
addresses?: string[];
|
|
807
|
-
};
|
|
808
|
-
}[];
|
|
809
|
-
} & {
|
|
810
|
-
title?: string;
|
|
811
|
-
description?: string;
|
|
812
|
-
accessConfigUpdates?: {
|
|
813
|
-
codeId?: number;
|
|
814
|
-
instantiatePermission?: {
|
|
815
|
-
permission?: import("./types").AccessType;
|
|
816
|
-
address?: string;
|
|
817
|
-
addresses?: string[];
|
|
818
|
-
};
|
|
819
|
-
}[] & ({
|
|
820
|
-
codeId?: number;
|
|
821
|
-
instantiatePermission?: {
|
|
822
|
-
permission?: import("./types").AccessType;
|
|
823
|
-
address?: string;
|
|
824
|
-
addresses?: string[];
|
|
825
|
-
};
|
|
826
|
-
} & {
|
|
827
|
-
codeId?: number;
|
|
828
|
-
instantiatePermission?: {
|
|
829
|
-
permission?: import("./types").AccessType;
|
|
830
|
-
address?: string;
|
|
831
|
-
addresses?: string[];
|
|
832
|
-
} & {
|
|
833
|
-
permission?: import("./types").AccessType;
|
|
834
|
-
address?: string;
|
|
835
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["accessConfigUpdates"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
836
|
-
} & { [K_1 in Exclude<keyof I["accessConfigUpdates"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
837
|
-
} & { [K_2 in Exclude<keyof I["accessConfigUpdates"][number], keyof AccessConfigUpdate>]: never; })[] & { [K_3 in Exclude<keyof I["accessConfigUpdates"], keyof {
|
|
838
|
-
codeId?: number;
|
|
839
|
-
instantiatePermission?: {
|
|
840
|
-
permission?: import("./types").AccessType;
|
|
841
|
-
address?: string;
|
|
842
|
-
addresses?: string[];
|
|
843
|
-
};
|
|
844
|
-
}[]>]: never; };
|
|
845
|
-
} & { [K_4 in Exclude<keyof I, keyof UpdateInstantiateConfigProposal>]: never; }>(base?: I): UpdateInstantiateConfigProposal;
|
|
846
|
-
fromPartial<I_1 extends {
|
|
847
|
-
title?: string;
|
|
848
|
-
description?: string;
|
|
849
|
-
accessConfigUpdates?: {
|
|
850
|
-
codeId?: number;
|
|
851
|
-
instantiatePermission?: {
|
|
852
|
-
permission?: import("./types").AccessType;
|
|
853
|
-
address?: string;
|
|
854
|
-
addresses?: string[];
|
|
855
|
-
};
|
|
856
|
-
}[];
|
|
857
|
-
} & {
|
|
858
|
-
title?: string;
|
|
859
|
-
description?: string;
|
|
860
|
-
accessConfigUpdates?: {
|
|
861
|
-
codeId?: number;
|
|
862
|
-
instantiatePermission?: {
|
|
863
|
-
permission?: import("./types").AccessType;
|
|
864
|
-
address?: string;
|
|
865
|
-
addresses?: string[];
|
|
866
|
-
};
|
|
867
|
-
}[] & ({
|
|
868
|
-
codeId?: number;
|
|
869
|
-
instantiatePermission?: {
|
|
870
|
-
permission?: import("./types").AccessType;
|
|
871
|
-
address?: string;
|
|
872
|
-
addresses?: string[];
|
|
873
|
-
};
|
|
874
|
-
} & {
|
|
875
|
-
codeId?: number;
|
|
876
|
-
instantiatePermission?: {
|
|
877
|
-
permission?: import("./types").AccessType;
|
|
878
|
-
address?: string;
|
|
879
|
-
addresses?: string[];
|
|
880
|
-
} & {
|
|
881
|
-
permission?: import("./types").AccessType;
|
|
882
|
-
address?: string;
|
|
883
|
-
addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["accessConfigUpdates"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
884
|
-
} & { [K_6 in Exclude<keyof I_1["accessConfigUpdates"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
885
|
-
} & { [K_7 in Exclude<keyof I_1["accessConfigUpdates"][number], keyof AccessConfigUpdate>]: never; })[] & { [K_8 in Exclude<keyof I_1["accessConfigUpdates"], keyof {
|
|
886
|
-
codeId?: number;
|
|
887
|
-
instantiatePermission?: {
|
|
888
|
-
permission?: import("./types").AccessType;
|
|
889
|
-
address?: string;
|
|
890
|
-
addresses?: string[];
|
|
891
|
-
};
|
|
892
|
-
}[]>]: never; };
|
|
893
|
-
} & { [K_9 in Exclude<keyof I_1, keyof UpdateInstantiateConfigProposal>]: never; }>(object: I_1): UpdateInstantiateConfigProposal;
|
|
894
|
-
};
|
|
895
|
-
export declare const StoreAndInstantiateContractProposal: {
|
|
896
|
-
encode(message: StoreAndInstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
|
|
897
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): StoreAndInstantiateContractProposal;
|
|
898
|
-
fromJSON(object: any): StoreAndInstantiateContractProposal;
|
|
899
|
-
toJSON(message: StoreAndInstantiateContractProposal): unknown;
|
|
900
|
-
create<I extends {
|
|
901
|
-
title?: string;
|
|
902
|
-
description?: string;
|
|
903
|
-
runAs?: string;
|
|
904
|
-
wasmByteCode?: Uint8Array;
|
|
905
|
-
instantiatePermission?: {
|
|
906
|
-
permission?: import("./types").AccessType;
|
|
907
|
-
address?: string;
|
|
908
|
-
addresses?: string[];
|
|
909
|
-
};
|
|
910
|
-
unpinCode?: boolean;
|
|
911
|
-
admin?: string;
|
|
912
|
-
label?: string;
|
|
913
|
-
msg?: Uint8Array;
|
|
914
|
-
funds?: {
|
|
915
|
-
denom?: string;
|
|
916
|
-
amount?: string;
|
|
917
|
-
}[];
|
|
918
|
-
source?: string;
|
|
919
|
-
builder?: string;
|
|
920
|
-
codeHash?: Uint8Array;
|
|
921
|
-
} & {
|
|
922
|
-
title?: string;
|
|
923
|
-
description?: string;
|
|
924
|
-
runAs?: string;
|
|
925
|
-
wasmByteCode?: Uint8Array;
|
|
926
|
-
instantiatePermission?: {
|
|
927
|
-
permission?: import("./types").AccessType;
|
|
928
|
-
address?: string;
|
|
929
|
-
addresses?: string[];
|
|
930
|
-
} & {
|
|
931
|
-
permission?: import("./types").AccessType;
|
|
932
|
-
address?: string;
|
|
933
|
-
addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
934
|
-
} & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
935
|
-
unpinCode?: boolean;
|
|
936
|
-
admin?: string;
|
|
937
|
-
label?: string;
|
|
938
|
-
msg?: Uint8Array;
|
|
939
|
-
funds?: {
|
|
940
|
-
denom?: string;
|
|
941
|
-
amount?: string;
|
|
942
|
-
}[] & ({
|
|
943
|
-
denom?: string;
|
|
944
|
-
amount?: string;
|
|
945
|
-
} & {
|
|
946
|
-
denom?: string;
|
|
947
|
-
amount?: string;
|
|
948
|
-
} & { [K_2 in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["funds"], keyof {
|
|
949
|
-
denom?: string;
|
|
950
|
-
amount?: string;
|
|
951
|
-
}[]>]: never; };
|
|
952
|
-
source?: string;
|
|
953
|
-
builder?: string;
|
|
954
|
-
codeHash?: Uint8Array;
|
|
955
|
-
} & { [K_4 in Exclude<keyof I, keyof StoreAndInstantiateContractProposal>]: never; }>(base?: I): StoreAndInstantiateContractProposal;
|
|
956
|
-
fromPartial<I_1 extends {
|
|
957
|
-
title?: string;
|
|
958
|
-
description?: string;
|
|
959
|
-
runAs?: string;
|
|
960
|
-
wasmByteCode?: Uint8Array;
|
|
961
|
-
instantiatePermission?: {
|
|
962
|
-
permission?: import("./types").AccessType;
|
|
963
|
-
address?: string;
|
|
964
|
-
addresses?: string[];
|
|
965
|
-
};
|
|
966
|
-
unpinCode?: boolean;
|
|
967
|
-
admin?: string;
|
|
968
|
-
label?: string;
|
|
969
|
-
msg?: Uint8Array;
|
|
970
|
-
funds?: {
|
|
971
|
-
denom?: string;
|
|
972
|
-
amount?: string;
|
|
973
|
-
}[];
|
|
974
|
-
source?: string;
|
|
975
|
-
builder?: string;
|
|
976
|
-
codeHash?: Uint8Array;
|
|
977
|
-
} & {
|
|
978
|
-
title?: string;
|
|
979
|
-
description?: string;
|
|
980
|
-
runAs?: string;
|
|
981
|
-
wasmByteCode?: Uint8Array;
|
|
982
|
-
instantiatePermission?: {
|
|
983
|
-
permission?: import("./types").AccessType;
|
|
984
|
-
address?: string;
|
|
985
|
-
addresses?: string[];
|
|
986
|
-
} & {
|
|
987
|
-
permission?: import("./types").AccessType;
|
|
988
|
-
address?: string;
|
|
989
|
-
addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
|
|
990
|
-
} & { [K_6 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
|
|
991
|
-
unpinCode?: boolean;
|
|
992
|
-
admin?: string;
|
|
993
|
-
label?: string;
|
|
994
|
-
msg?: Uint8Array;
|
|
995
|
-
funds?: {
|
|
996
|
-
denom?: string;
|
|
997
|
-
amount?: string;
|
|
998
|
-
}[] & ({
|
|
999
|
-
denom?: string;
|
|
1000
|
-
amount?: string;
|
|
1001
|
-
} & {
|
|
1002
|
-
denom?: string;
|
|
1003
|
-
amount?: string;
|
|
1004
|
-
} & { [K_7 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_8 in Exclude<keyof I_1["funds"], keyof {
|
|
1005
|
-
denom?: string;
|
|
1006
|
-
amount?: string;
|
|
1007
|
-
}[]>]: never; };
|
|
1008
|
-
source?: string;
|
|
1009
|
-
builder?: string;
|
|
1010
|
-
codeHash?: Uint8Array;
|
|
1011
|
-
} & { [K_9 in Exclude<keyof I_1, keyof StoreAndInstantiateContractProposal>]: never; }>(object: I_1): StoreAndInstantiateContractProposal;
|
|
1012
|
-
};
|
|
295
|
+
export declare const StoreCodeProposal: MessageFns<StoreCodeProposal>;
|
|
296
|
+
export declare const InstantiateContractProposal: MessageFns<InstantiateContractProposal>;
|
|
297
|
+
export declare const InstantiateContract2Proposal: MessageFns<InstantiateContract2Proposal>;
|
|
298
|
+
export declare const MigrateContractProposal: MessageFns<MigrateContractProposal>;
|
|
299
|
+
export declare const SudoContractProposal: MessageFns<SudoContractProposal>;
|
|
300
|
+
export declare const ExecuteContractProposal: MessageFns<ExecuteContractProposal>;
|
|
301
|
+
export declare const UpdateAdminProposal: MessageFns<UpdateAdminProposal>;
|
|
302
|
+
export declare const ClearAdminProposal: MessageFns<ClearAdminProposal>;
|
|
303
|
+
export declare const PinCodesProposal: MessageFns<PinCodesProposal>;
|
|
304
|
+
export declare const UnpinCodesProposal: MessageFns<UnpinCodesProposal>;
|
|
305
|
+
export declare const AccessConfigUpdate: MessageFns<AccessConfigUpdate>;
|
|
306
|
+
export declare const UpdateInstantiateConfigProposal: MessageFns<UpdateInstantiateConfigProposal>;
|
|
307
|
+
export declare const StoreAndInstantiateContractProposal: MessageFns<StoreAndInstantiateContractProposal>;
|
|
1013
308
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1014
|
-
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 {} ? {
|
|
309
|
+
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 {} ? {
|
|
1015
310
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1016
311
|
} : Partial<T>;
|
|
1017
312
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
@@ -1020,4 +315,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
|
1020
315
|
} & {
|
|
1021
316
|
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
1022
317
|
};
|
|
318
|
+
export interface MessageFns<T> {
|
|
319
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
320
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
321
|
+
fromJSON(object: any): T;
|
|
322
|
+
toJSON(message: T): unknown;
|
|
323
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
324
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
325
|
+
}
|
|
1023
326
|
export {};
|