coreum-js 2.16.3 → 2.17.1
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 +15 -16
- 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 -28
- package/dist/main/coreum/asset/ft/v1/event.js +744 -138
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -21
- package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
- package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -11
- package/dist/main/coreum/asset/ft/v1/params.js +37 -33
- package/dist/main/coreum/asset/ft/v1/query.d.ts +87 -127
- package/dist/main/coreum/asset/ft/v1/query.js +697 -217
- package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -51
- package/dist/main/coreum/asset/ft/v1/token.js +276 -200
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -147
- 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 -43
- package/dist/main/coreum/asset/nft/v1/event.js +475 -147
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -36
- package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -26
- package/dist/main/coreum/asset/nft/v1/nft.js +139 -104
- package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -12
- package/dist/main/coreum/asset/nft/v1/params.js +17 -20
- package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -88
- package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -70
- package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
- package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -11
- package/dist/main/coreum/asset/nft/v1/types.js +273 -45
- package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -12
- package/dist/main/coreum/customparams/v1/genesis.js +26 -22
- package/dist/main/coreum/customparams/v1/params.d.ts +11 -11
- package/dist/main/coreum/customparams/v1/params.js +23 -20
- package/dist/main/coreum/customparams/v1/query.d.ts +14 -20
- package/dist/main/coreum/customparams/v1/query.js +35 -29
- package/dist/main/coreum/dex/index.d.ts +2 -0
- package/dist/main/coreum/dex/index.js +11 -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/extensions/ft.js +2 -1
- package/dist/main/coreum/extensions/nft.js +2 -1
- package/dist/main/coreum/extensions/nftbeta.js +2 -1
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -13
- package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
- package/dist/main/coreum/feemodel/v1/params.d.ts +14 -21
- package/dist/main/coreum/feemodel/v1/params.js +113 -66
- package/dist/main/coreum/feemodel/v1/query.d.ts +30 -37
- 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 -27
- package/dist/main/coreum/nft/v1beta1/event.js +103 -77
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -19
- package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -22
- package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
- package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -124
- package/dist/main/coreum/nft/v1beta1/query.js +259 -223
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -19
- package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
- package/dist/main/cosmos/extensions/bank.js +2 -1
- package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/main/cosmos/extensions/distribution.js +11 -10
- package/dist/main/cosmos/extensions/gov.d.ts +13 -13
- package/dist/main/cosmos/extensions/gov.js +16 -9
- package/dist/main/cosmos/index.d.ts +8 -8
- package/dist/main/google/api/http.d.ts +2636 -6
- package/dist/main/google/api/http.js +18 -21
- package/dist/main/google/protobuf/any.d.ts +14 -2
- package/dist/main/google/protobuf/any.js +6 -7
- package/dist/main/google/protobuf/duration.d.ts +14 -2
- package/dist/main/google/protobuf/duration.js +3 -4
- package/dist/main/google/protobuf/timestamp.d.ts +14 -2
- package/dist/main/google/protobuf/timestamp.js +3 -4
- package/dist/main/index.js +7 -17
- package/dist/main/services/cosmostation.js +1 -1
- package/dist/main/tendermint/abci/types.d.ts +6360 -92
- package/dist/main/tendermint/abci/types.js +195 -235
- package/dist/main/tendermint/crypto/keys.d.ts +14 -2
- package/dist/main/tendermint/crypto/keys.js +3 -4
- package/dist/main/tendermint/crypto/proof.d.ts +152 -10
- package/dist/main/tendermint/crypto/proof.js +19 -24
- package/dist/main/tendermint/types/params.d.ts +196 -12
- package/dist/main/tendermint/types/params.js +15 -20
- package/dist/main/tendermint/types/types.d.ts +1744 -26
- package/dist/main/tendermint/types/types.js +62 -73
- package/dist/main/tendermint/types/validator.d.ts +230 -6
- package/dist/main/tendermint/types/validator.js +10 -13
- package/dist/main/tendermint/version/types.d.ts +28 -4
- 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/utils/convertStringToAny.d.ts +0 -1
- package/dist/main/utils/nft.js +2 -1
- package/dist/main/wasm/v1/authz.d.ts +20 -75
- package/dist/main/wasm/v1/authz.js +129 -148
- package/dist/main/wasm/v1/extensions/wasm.js +2 -1
- package/dist/main/wasm/v1/genesis.d.ts +14 -34
- package/dist/main/wasm/v1/genesis.js +169 -140
- package/dist/main/wasm/v1/ibc.d.ts +13 -26
- 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.d.ts +40 -4
- package/dist/main/wasm/v1/pagination.js +9 -11
- package/dist/main/wasm/v1/proposal.d.ts +23 -106
- package/dist/main/wasm/v1/proposal.js +634 -465
- package/dist/main/wasm/v1/query.d.ts +35 -187
- package/dist/main/wasm/v1/query.js +370 -363
- package/dist/main/wasm/v1/tx.d.ts +37 -210
- package/dist/main/wasm/v1/tx.js +621 -497
- package/dist/main/wasm/v1/types.d.ts +19 -67
- package/dist/main/wasm/v1/types.js +224 -195
- package/dist/module/client/index.js +2 -1
- 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 -28
- package/dist/module/coreum/asset/ft/v1/event.js +721 -109
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -21
- package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
- package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -11
- package/dist/module/coreum/asset/ft/v1/params.js +35 -27
- package/dist/module/coreum/asset/ft/v1/query.d.ts +87 -127
- package/dist/module/coreum/asset/ft/v1/query.js +672 -180
- package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -51
- package/dist/module/coreum/asset/ft/v1/token.js +236 -152
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -147
- 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 -43
- package/dist/module/coreum/asset/nft/v1/event.js +448 -112
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -36
- package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -26
- package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
- package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -12
- package/dist/module/coreum/asset/nft/v1/params.js +16 -16
- package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -88
- package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -70
- package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
- package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -11
- package/dist/module/coreum/asset/nft/v1/types.js +269 -39
- package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -12
- package/dist/module/coreum/customparams/v1/genesis.js +25 -18
- package/dist/module/coreum/customparams/v1/params.d.ts +11 -11
- package/dist/module/coreum/customparams/v1/params.js +21 -14
- package/dist/module/coreum/customparams/v1/query.d.ts +14 -20
- package/dist/module/coreum/customparams/v1/query.js +32 -23
- package/dist/module/coreum/dex/index.d.ts +2 -0
- package/dist/module/coreum/dex/index.js +8 -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 -13
- package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
- package/dist/module/coreum/feemodel/v1/params.d.ts +14 -21
- package/dist/module/coreum/feemodel/v1/params.js +105 -54
- package/dist/module/coreum/feemodel/v1/query.d.ts +30 -37
- 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 -27
- package/dist/module/coreum/nft/v1beta1/event.js +90 -58
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -19
- package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -22
- package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
- package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -124
- package/dist/module/coreum/nft/v1beta1/query.js +231 -183
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -19
- 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/google/api/http.d.ts +2636 -6
- package/dist/module/google/protobuf/any.d.ts +14 -2
- package/dist/module/google/protobuf/duration.d.ts +14 -2
- package/dist/module/google/protobuf/timestamp.d.ts +14 -2
- package/dist/module/services/cosmostation.js +1 -1
- package/dist/module/tendermint/abci/types.d.ts +6360 -92
- package/dist/module/tendermint/crypto/keys.d.ts +14 -2
- package/dist/module/tendermint/crypto/proof.d.ts +152 -10
- package/dist/module/tendermint/types/params.d.ts +196 -12
- package/dist/module/tendermint/types/types.d.ts +1744 -26
- package/dist/module/tendermint/types/validator.d.ts +230 -6
- package/dist/module/tendermint/version/types.d.ts +28 -4
- package/dist/module/types/core.d.ts +2 -1
- package/dist/module/types/core.js +2 -0
- package/dist/module/utils/convertStringToAny.d.ts +0 -1
- package/dist/module/wasm/v1/authz.d.ts +20 -75
- package/dist/module/wasm/v1/authz.js +111 -119
- package/dist/module/wasm/v1/genesis.d.ts +14 -34
- package/dist/module/wasm/v1/genesis.js +161 -125
- package/dist/module/wasm/v1/ibc.d.ts +13 -26
- package/dist/module/wasm/v1/ibc.js +83 -62
- package/dist/module/wasm/v1/index.d.ts +1 -2
- package/dist/module/wasm/v1/pagination.d.ts +40 -4
- package/dist/module/wasm/v1/proposal.d.ts +23 -106
- package/dist/module/wasm/v1/proposal.js +562 -377
- package/dist/module/wasm/v1/query.d.ts +35 -187
- package/dist/module/wasm/v1/query.js +330 -301
- package/dist/module/wasm/v1/tx.d.ts +37 -210
- package/dist/module/wasm/v1/tx.js +551 -404
- package/dist/module/wasm/v1/types.d.ts +19 -67
- package/dist/module/wasm/v1/types.js +196 -156
- package/package.json +11 -10
|
@@ -10,8 +10,20 @@ export declare const PublicKey: {
|
|
|
10
10
|
decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey;
|
|
11
11
|
fromJSON(object: any): PublicKey;
|
|
12
12
|
toJSON(message: PublicKey): unknown;
|
|
13
|
-
create<I extends
|
|
14
|
-
|
|
13
|
+
create<I extends {
|
|
14
|
+
ed25519?: Uint8Array | undefined;
|
|
15
|
+
secp256k1?: Uint8Array | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
ed25519?: Uint8Array | undefined;
|
|
18
|
+
secp256k1?: Uint8Array | undefined;
|
|
19
|
+
} & { [K in Exclude<keyof I, keyof PublicKey>]: never; }>(base?: I): PublicKey;
|
|
20
|
+
fromPartial<I_1 extends {
|
|
21
|
+
ed25519?: Uint8Array | undefined;
|
|
22
|
+
secp256k1?: Uint8Array | undefined;
|
|
23
|
+
} & {
|
|
24
|
+
ed25519?: Uint8Array | undefined;
|
|
25
|
+
secp256k1?: Uint8Array | undefined;
|
|
26
|
+
} & { [K_1 in Exclude<keyof I_1, keyof PublicKey>]: never; }>(object: I_1): PublicKey;
|
|
15
27
|
};
|
|
16
28
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
17
29
|
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 {} ? {
|
|
@@ -62,13 +62,12 @@ exports.PublicKey = {
|
|
|
62
62
|
return obj;
|
|
63
63
|
},
|
|
64
64
|
create(base) {
|
|
65
|
-
return exports.PublicKey.fromPartial(base
|
|
65
|
+
return exports.PublicKey.fromPartial(base ?? {});
|
|
66
66
|
},
|
|
67
67
|
fromPartial(object) {
|
|
68
|
-
var _a, _b;
|
|
69
68
|
const message = createBasePublicKey();
|
|
70
|
-
message.ed25519 =
|
|
71
|
-
message.secp256k1 =
|
|
69
|
+
message.ed25519 = object.ed25519 ?? undefined;
|
|
70
|
+
message.secp256k1 = object.secp256k1 ?? undefined;
|
|
72
71
|
return message;
|
|
73
72
|
},
|
|
74
73
|
};
|
|
@@ -36,40 +36,182 @@ export declare const Proof: {
|
|
|
36
36
|
decode(input: _m0.Reader | Uint8Array, length?: number): Proof;
|
|
37
37
|
fromJSON(object: any): Proof;
|
|
38
38
|
toJSON(message: Proof): unknown;
|
|
39
|
-
create<I extends
|
|
40
|
-
|
|
39
|
+
create<I extends {
|
|
40
|
+
total?: number;
|
|
41
|
+
index?: number;
|
|
42
|
+
leafHash?: Uint8Array;
|
|
43
|
+
aunts?: Uint8Array[];
|
|
44
|
+
} & {
|
|
45
|
+
total?: number;
|
|
46
|
+
index?: number;
|
|
47
|
+
leafHash?: Uint8Array;
|
|
48
|
+
aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["aunts"], keyof Uint8Array[]>]: never; };
|
|
49
|
+
} & { [K_1 in Exclude<keyof I, keyof Proof>]: never; }>(base?: I): Proof;
|
|
50
|
+
fromPartial<I_1 extends {
|
|
51
|
+
total?: number;
|
|
52
|
+
index?: number;
|
|
53
|
+
leafHash?: Uint8Array;
|
|
54
|
+
aunts?: Uint8Array[];
|
|
55
|
+
} & {
|
|
56
|
+
total?: number;
|
|
57
|
+
index?: number;
|
|
58
|
+
leafHash?: Uint8Array;
|
|
59
|
+
aunts?: Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I_1["aunts"], keyof Uint8Array[]>]: never; };
|
|
60
|
+
} & { [K_3 in Exclude<keyof I_1, keyof Proof>]: never; }>(object: I_1): Proof;
|
|
41
61
|
};
|
|
42
62
|
export declare const ValueOp: {
|
|
43
63
|
encode(message: ValueOp, writer?: _m0.Writer): _m0.Writer;
|
|
44
64
|
decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp;
|
|
45
65
|
fromJSON(object: any): ValueOp;
|
|
46
66
|
toJSON(message: ValueOp): unknown;
|
|
47
|
-
create<I extends
|
|
48
|
-
|
|
67
|
+
create<I extends {
|
|
68
|
+
key?: Uint8Array;
|
|
69
|
+
proof?: {
|
|
70
|
+
total?: number;
|
|
71
|
+
index?: number;
|
|
72
|
+
leafHash?: Uint8Array;
|
|
73
|
+
aunts?: Uint8Array[];
|
|
74
|
+
};
|
|
75
|
+
} & {
|
|
76
|
+
key?: Uint8Array;
|
|
77
|
+
proof?: {
|
|
78
|
+
total?: number;
|
|
79
|
+
index?: number;
|
|
80
|
+
leafHash?: Uint8Array;
|
|
81
|
+
aunts?: Uint8Array[];
|
|
82
|
+
} & {
|
|
83
|
+
total?: number;
|
|
84
|
+
index?: number;
|
|
85
|
+
leafHash?: Uint8Array;
|
|
86
|
+
aunts?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["proof"]["aunts"], keyof Uint8Array[]>]: never; };
|
|
87
|
+
} & { [K_1 in Exclude<keyof I["proof"], keyof Proof>]: never; };
|
|
88
|
+
} & { [K_2 in Exclude<keyof I, keyof ValueOp>]: never; }>(base?: I): ValueOp;
|
|
89
|
+
fromPartial<I_1 extends {
|
|
90
|
+
key?: Uint8Array;
|
|
91
|
+
proof?: {
|
|
92
|
+
total?: number;
|
|
93
|
+
index?: number;
|
|
94
|
+
leafHash?: Uint8Array;
|
|
95
|
+
aunts?: Uint8Array[];
|
|
96
|
+
};
|
|
97
|
+
} & {
|
|
98
|
+
key?: Uint8Array;
|
|
99
|
+
proof?: {
|
|
100
|
+
total?: number;
|
|
101
|
+
index?: number;
|
|
102
|
+
leafHash?: Uint8Array;
|
|
103
|
+
aunts?: Uint8Array[];
|
|
104
|
+
} & {
|
|
105
|
+
total?: number;
|
|
106
|
+
index?: number;
|
|
107
|
+
leafHash?: Uint8Array;
|
|
108
|
+
aunts?: Uint8Array[] & Uint8Array[] & { [K_3 in Exclude<keyof I_1["proof"]["aunts"], keyof Uint8Array[]>]: never; };
|
|
109
|
+
} & { [K_4 in Exclude<keyof I_1["proof"], keyof Proof>]: never; };
|
|
110
|
+
} & { [K_5 in Exclude<keyof I_1, keyof ValueOp>]: never; }>(object: I_1): ValueOp;
|
|
49
111
|
};
|
|
50
112
|
export declare const DominoOp: {
|
|
51
113
|
encode(message: DominoOp, writer?: _m0.Writer): _m0.Writer;
|
|
52
114
|
decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp;
|
|
53
115
|
fromJSON(object: any): DominoOp;
|
|
54
116
|
toJSON(message: DominoOp): unknown;
|
|
55
|
-
create<I extends
|
|
56
|
-
|
|
117
|
+
create<I extends {
|
|
118
|
+
key?: string;
|
|
119
|
+
input?: string;
|
|
120
|
+
output?: string;
|
|
121
|
+
} & {
|
|
122
|
+
key?: string;
|
|
123
|
+
input?: string;
|
|
124
|
+
output?: string;
|
|
125
|
+
} & { [K in Exclude<keyof I, keyof DominoOp>]: never; }>(base?: I): DominoOp;
|
|
126
|
+
fromPartial<I_1 extends {
|
|
127
|
+
key?: string;
|
|
128
|
+
input?: string;
|
|
129
|
+
output?: string;
|
|
130
|
+
} & {
|
|
131
|
+
key?: string;
|
|
132
|
+
input?: string;
|
|
133
|
+
output?: string;
|
|
134
|
+
} & { [K_1 in Exclude<keyof I_1, keyof DominoOp>]: never; }>(object: I_1): DominoOp;
|
|
57
135
|
};
|
|
58
136
|
export declare const ProofOp: {
|
|
59
137
|
encode(message: ProofOp, writer?: _m0.Writer): _m0.Writer;
|
|
60
138
|
decode(input: _m0.Reader | Uint8Array, length?: number): ProofOp;
|
|
61
139
|
fromJSON(object: any): ProofOp;
|
|
62
140
|
toJSON(message: ProofOp): unknown;
|
|
63
|
-
create<I extends
|
|
64
|
-
|
|
141
|
+
create<I extends {
|
|
142
|
+
type?: string;
|
|
143
|
+
key?: Uint8Array;
|
|
144
|
+
data?: Uint8Array;
|
|
145
|
+
} & {
|
|
146
|
+
type?: string;
|
|
147
|
+
key?: Uint8Array;
|
|
148
|
+
data?: Uint8Array;
|
|
149
|
+
} & { [K in Exclude<keyof I, keyof ProofOp>]: never; }>(base?: I): ProofOp;
|
|
150
|
+
fromPartial<I_1 extends {
|
|
151
|
+
type?: string;
|
|
152
|
+
key?: Uint8Array;
|
|
153
|
+
data?: Uint8Array;
|
|
154
|
+
} & {
|
|
155
|
+
type?: string;
|
|
156
|
+
key?: Uint8Array;
|
|
157
|
+
data?: Uint8Array;
|
|
158
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ProofOp>]: never; }>(object: I_1): ProofOp;
|
|
65
159
|
};
|
|
66
160
|
export declare const ProofOps: {
|
|
67
161
|
encode(message: ProofOps, writer?: _m0.Writer): _m0.Writer;
|
|
68
162
|
decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps;
|
|
69
163
|
fromJSON(object: any): ProofOps;
|
|
70
164
|
toJSON(message: ProofOps): unknown;
|
|
71
|
-
create<I extends
|
|
72
|
-
|
|
165
|
+
create<I extends {
|
|
166
|
+
ops?: {
|
|
167
|
+
type?: string;
|
|
168
|
+
key?: Uint8Array;
|
|
169
|
+
data?: Uint8Array;
|
|
170
|
+
}[];
|
|
171
|
+
} & {
|
|
172
|
+
ops?: {
|
|
173
|
+
type?: string;
|
|
174
|
+
key?: Uint8Array;
|
|
175
|
+
data?: Uint8Array;
|
|
176
|
+
}[] & ({
|
|
177
|
+
type?: string;
|
|
178
|
+
key?: Uint8Array;
|
|
179
|
+
data?: Uint8Array;
|
|
180
|
+
} & {
|
|
181
|
+
type?: string;
|
|
182
|
+
key?: Uint8Array;
|
|
183
|
+
data?: Uint8Array;
|
|
184
|
+
} & { [K in Exclude<keyof I["ops"][number], keyof ProofOp>]: never; })[] & { [K_1 in Exclude<keyof I["ops"], keyof {
|
|
185
|
+
type?: string;
|
|
186
|
+
key?: Uint8Array;
|
|
187
|
+
data?: Uint8Array;
|
|
188
|
+
}[]>]: never; };
|
|
189
|
+
} & { [K_2 in Exclude<keyof I, "ops">]: never; }>(base?: I): ProofOps;
|
|
190
|
+
fromPartial<I_1 extends {
|
|
191
|
+
ops?: {
|
|
192
|
+
type?: string;
|
|
193
|
+
key?: Uint8Array;
|
|
194
|
+
data?: Uint8Array;
|
|
195
|
+
}[];
|
|
196
|
+
} & {
|
|
197
|
+
ops?: {
|
|
198
|
+
type?: string;
|
|
199
|
+
key?: Uint8Array;
|
|
200
|
+
data?: Uint8Array;
|
|
201
|
+
}[] & ({
|
|
202
|
+
type?: string;
|
|
203
|
+
key?: Uint8Array;
|
|
204
|
+
data?: Uint8Array;
|
|
205
|
+
} & {
|
|
206
|
+
type?: string;
|
|
207
|
+
key?: Uint8Array;
|
|
208
|
+
data?: Uint8Array;
|
|
209
|
+
} & { [K_3 in Exclude<keyof I_1["ops"][number], keyof ProofOp>]: never; })[] & { [K_4 in Exclude<keyof I_1["ops"], keyof {
|
|
210
|
+
type?: string;
|
|
211
|
+
key?: Uint8Array;
|
|
212
|
+
data?: Uint8Array;
|
|
213
|
+
}[]>]: never; };
|
|
214
|
+
} & { [K_5 in Exclude<keyof I_1, "ops">]: never; }>(object: I_1): ProofOps;
|
|
73
215
|
};
|
|
74
216
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
75
217
|
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 {} ? {
|
|
@@ -71,7 +71,7 @@ exports.Proof = {
|
|
|
71
71
|
total: isSet(object.total) ? Number(object.total) : 0,
|
|
72
72
|
index: isSet(object.index) ? Number(object.index) : 0,
|
|
73
73
|
leafHash: isSet(object.leafHash) ? bytesFromBase64(object.leafHash) : new Uint8Array(),
|
|
74
|
-
aunts: Array.isArray(object
|
|
74
|
+
aunts: Array.isArray(object?.aunts) ? object.aunts.map((e) => bytesFromBase64(e)) : [],
|
|
75
75
|
};
|
|
76
76
|
},
|
|
77
77
|
toJSON(message) {
|
|
@@ -89,15 +89,14 @@ exports.Proof = {
|
|
|
89
89
|
return obj;
|
|
90
90
|
},
|
|
91
91
|
create(base) {
|
|
92
|
-
return exports.Proof.fromPartial(base
|
|
92
|
+
return exports.Proof.fromPartial(base ?? {});
|
|
93
93
|
},
|
|
94
94
|
fromPartial(object) {
|
|
95
|
-
var _a, _b, _c, _d;
|
|
96
95
|
const message = createBaseProof();
|
|
97
|
-
message.total =
|
|
98
|
-
message.index =
|
|
99
|
-
message.leafHash =
|
|
100
|
-
message.aunts =
|
|
96
|
+
message.total = object.total ?? 0;
|
|
97
|
+
message.index = object.index ?? 0;
|
|
98
|
+
message.leafHash = object.leafHash ?? new Uint8Array();
|
|
99
|
+
message.aunts = object.aunts?.map((e) => e) || [];
|
|
101
100
|
return message;
|
|
102
101
|
},
|
|
103
102
|
};
|
|
@@ -155,12 +154,11 @@ exports.ValueOp = {
|
|
|
155
154
|
return obj;
|
|
156
155
|
},
|
|
157
156
|
create(base) {
|
|
158
|
-
return exports.ValueOp.fromPartial(base
|
|
157
|
+
return exports.ValueOp.fromPartial(base ?? {});
|
|
159
158
|
},
|
|
160
159
|
fromPartial(object) {
|
|
161
|
-
var _a;
|
|
162
160
|
const message = createBaseValueOp();
|
|
163
|
-
message.key =
|
|
161
|
+
message.key = object.key ?? new Uint8Array();
|
|
164
162
|
message.proof = (object.proof !== undefined && object.proof !== null) ? exports.Proof.fromPartial(object.proof) : undefined;
|
|
165
163
|
return message;
|
|
166
164
|
},
|
|
@@ -229,14 +227,13 @@ exports.DominoOp = {
|
|
|
229
227
|
return obj;
|
|
230
228
|
},
|
|
231
229
|
create(base) {
|
|
232
|
-
return exports.DominoOp.fromPartial(base
|
|
230
|
+
return exports.DominoOp.fromPartial(base ?? {});
|
|
233
231
|
},
|
|
234
232
|
fromPartial(object) {
|
|
235
|
-
var _a, _b, _c;
|
|
236
233
|
const message = createBaseDominoOp();
|
|
237
|
-
message.key =
|
|
238
|
-
message.input =
|
|
239
|
-
message.output =
|
|
234
|
+
message.key = object.key ?? "";
|
|
235
|
+
message.input = object.input ?? "";
|
|
236
|
+
message.output = object.output ?? "";
|
|
240
237
|
return message;
|
|
241
238
|
},
|
|
242
239
|
};
|
|
@@ -306,14 +303,13 @@ exports.ProofOp = {
|
|
|
306
303
|
return obj;
|
|
307
304
|
},
|
|
308
305
|
create(base) {
|
|
309
|
-
return exports.ProofOp.fromPartial(base
|
|
306
|
+
return exports.ProofOp.fromPartial(base ?? {});
|
|
310
307
|
},
|
|
311
308
|
fromPartial(object) {
|
|
312
|
-
var _a, _b, _c;
|
|
313
309
|
const message = createBaseProofOp();
|
|
314
|
-
message.type =
|
|
315
|
-
message.key =
|
|
316
|
-
message.data =
|
|
310
|
+
message.type = object.type ?? "";
|
|
311
|
+
message.key = object.key ?? new Uint8Array();
|
|
312
|
+
message.data = object.data ?? new Uint8Array();
|
|
317
313
|
return message;
|
|
318
314
|
},
|
|
319
315
|
};
|
|
@@ -349,7 +345,7 @@ exports.ProofOps = {
|
|
|
349
345
|
return message;
|
|
350
346
|
},
|
|
351
347
|
fromJSON(object) {
|
|
352
|
-
return { ops: Array.isArray(object
|
|
348
|
+
return { ops: Array.isArray(object?.ops) ? object.ops.map((e) => exports.ProofOp.fromJSON(e)) : [] };
|
|
353
349
|
},
|
|
354
350
|
toJSON(message) {
|
|
355
351
|
const obj = {};
|
|
@@ -362,12 +358,11 @@ exports.ProofOps = {
|
|
|
362
358
|
return obj;
|
|
363
359
|
},
|
|
364
360
|
create(base) {
|
|
365
|
-
return exports.ProofOps.fromPartial(base
|
|
361
|
+
return exports.ProofOps.fromPartial(base ?? {});
|
|
366
362
|
},
|
|
367
363
|
fromPartial(object) {
|
|
368
|
-
var _a;
|
|
369
364
|
const message = createBaseProofOps();
|
|
370
|
-
message.ops =
|
|
365
|
+
message.ops = object.ops?.map((e) => exports.ProofOp.fromPartial(e)) || [];
|
|
371
366
|
return message;
|
|
372
367
|
},
|
|
373
368
|
};
|
|
@@ -73,48 +73,232 @@ export declare const ConsensusParams: {
|
|
|
73
73
|
decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams;
|
|
74
74
|
fromJSON(object: any): ConsensusParams;
|
|
75
75
|
toJSON(message: ConsensusParams): unknown;
|
|
76
|
-
create<I extends
|
|
77
|
-
|
|
76
|
+
create<I extends {
|
|
77
|
+
block?: {
|
|
78
|
+
maxBytes?: number;
|
|
79
|
+
maxGas?: number;
|
|
80
|
+
};
|
|
81
|
+
evidence?: {
|
|
82
|
+
maxAgeNumBlocks?: number;
|
|
83
|
+
maxAgeDuration?: {
|
|
84
|
+
seconds?: number;
|
|
85
|
+
nanos?: number;
|
|
86
|
+
};
|
|
87
|
+
maxBytes?: number;
|
|
88
|
+
};
|
|
89
|
+
validator?: {
|
|
90
|
+
pubKeyTypes?: string[];
|
|
91
|
+
};
|
|
92
|
+
version?: {
|
|
93
|
+
app?: number;
|
|
94
|
+
};
|
|
95
|
+
} & {
|
|
96
|
+
block?: {
|
|
97
|
+
maxBytes?: number;
|
|
98
|
+
maxGas?: number;
|
|
99
|
+
} & {
|
|
100
|
+
maxBytes?: number;
|
|
101
|
+
maxGas?: number;
|
|
102
|
+
} & { [K in Exclude<keyof I["block"], keyof BlockParams>]: never; };
|
|
103
|
+
evidence?: {
|
|
104
|
+
maxAgeNumBlocks?: number;
|
|
105
|
+
maxAgeDuration?: {
|
|
106
|
+
seconds?: number;
|
|
107
|
+
nanos?: number;
|
|
108
|
+
};
|
|
109
|
+
maxBytes?: number;
|
|
110
|
+
} & {
|
|
111
|
+
maxAgeNumBlocks?: number;
|
|
112
|
+
maxAgeDuration?: {
|
|
113
|
+
seconds?: number;
|
|
114
|
+
nanos?: number;
|
|
115
|
+
} & {
|
|
116
|
+
seconds?: number;
|
|
117
|
+
nanos?: number;
|
|
118
|
+
} & { [K_1 in Exclude<keyof I["evidence"]["maxAgeDuration"], keyof Duration>]: never; };
|
|
119
|
+
maxBytes?: number;
|
|
120
|
+
} & { [K_2 in Exclude<keyof I["evidence"], keyof EvidenceParams>]: never; };
|
|
121
|
+
validator?: {
|
|
122
|
+
pubKeyTypes?: string[];
|
|
123
|
+
} & {
|
|
124
|
+
pubKeyTypes?: string[] & string[] & { [K_3 in Exclude<keyof I["validator"]["pubKeyTypes"], keyof string[]>]: never; };
|
|
125
|
+
} & { [K_4 in Exclude<keyof I["validator"], "pubKeyTypes">]: never; };
|
|
126
|
+
version?: {
|
|
127
|
+
app?: number;
|
|
128
|
+
} & {
|
|
129
|
+
app?: number;
|
|
130
|
+
} & { [K_5 in Exclude<keyof I["version"], "app">]: never; };
|
|
131
|
+
} & { [K_6 in Exclude<keyof I, keyof ConsensusParams>]: never; }>(base?: I): ConsensusParams;
|
|
132
|
+
fromPartial<I_1 extends {
|
|
133
|
+
block?: {
|
|
134
|
+
maxBytes?: number;
|
|
135
|
+
maxGas?: number;
|
|
136
|
+
};
|
|
137
|
+
evidence?: {
|
|
138
|
+
maxAgeNumBlocks?: number;
|
|
139
|
+
maxAgeDuration?: {
|
|
140
|
+
seconds?: number;
|
|
141
|
+
nanos?: number;
|
|
142
|
+
};
|
|
143
|
+
maxBytes?: number;
|
|
144
|
+
};
|
|
145
|
+
validator?: {
|
|
146
|
+
pubKeyTypes?: string[];
|
|
147
|
+
};
|
|
148
|
+
version?: {
|
|
149
|
+
app?: number;
|
|
150
|
+
};
|
|
151
|
+
} & {
|
|
152
|
+
block?: {
|
|
153
|
+
maxBytes?: number;
|
|
154
|
+
maxGas?: number;
|
|
155
|
+
} & {
|
|
156
|
+
maxBytes?: number;
|
|
157
|
+
maxGas?: number;
|
|
158
|
+
} & { [K_7 in Exclude<keyof I_1["block"], keyof BlockParams>]: never; };
|
|
159
|
+
evidence?: {
|
|
160
|
+
maxAgeNumBlocks?: number;
|
|
161
|
+
maxAgeDuration?: {
|
|
162
|
+
seconds?: number;
|
|
163
|
+
nanos?: number;
|
|
164
|
+
};
|
|
165
|
+
maxBytes?: number;
|
|
166
|
+
} & {
|
|
167
|
+
maxAgeNumBlocks?: number;
|
|
168
|
+
maxAgeDuration?: {
|
|
169
|
+
seconds?: number;
|
|
170
|
+
nanos?: number;
|
|
171
|
+
} & {
|
|
172
|
+
seconds?: number;
|
|
173
|
+
nanos?: number;
|
|
174
|
+
} & { [K_8 in Exclude<keyof I_1["evidence"]["maxAgeDuration"], keyof Duration>]: never; };
|
|
175
|
+
maxBytes?: number;
|
|
176
|
+
} & { [K_9 in Exclude<keyof I_1["evidence"], keyof EvidenceParams>]: never; };
|
|
177
|
+
validator?: {
|
|
178
|
+
pubKeyTypes?: string[];
|
|
179
|
+
} & {
|
|
180
|
+
pubKeyTypes?: string[] & string[] & { [K_10 in Exclude<keyof I_1["validator"]["pubKeyTypes"], keyof string[]>]: never; };
|
|
181
|
+
} & { [K_11 in Exclude<keyof I_1["validator"], "pubKeyTypes">]: never; };
|
|
182
|
+
version?: {
|
|
183
|
+
app?: number;
|
|
184
|
+
} & {
|
|
185
|
+
app?: number;
|
|
186
|
+
} & { [K_12 in Exclude<keyof I_1["version"], "app">]: never; };
|
|
187
|
+
} & { [K_13 in Exclude<keyof I_1, keyof ConsensusParams>]: never; }>(object: I_1): ConsensusParams;
|
|
78
188
|
};
|
|
79
189
|
export declare const BlockParams: {
|
|
80
190
|
encode(message: BlockParams, writer?: _m0.Writer): _m0.Writer;
|
|
81
191
|
decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams;
|
|
82
192
|
fromJSON(object: any): BlockParams;
|
|
83
193
|
toJSON(message: BlockParams): unknown;
|
|
84
|
-
create<I extends
|
|
85
|
-
|
|
194
|
+
create<I extends {
|
|
195
|
+
maxBytes?: number;
|
|
196
|
+
maxGas?: number;
|
|
197
|
+
} & {
|
|
198
|
+
maxBytes?: number;
|
|
199
|
+
maxGas?: number;
|
|
200
|
+
} & { [K in Exclude<keyof I, keyof BlockParams>]: never; }>(base?: I): BlockParams;
|
|
201
|
+
fromPartial<I_1 extends {
|
|
202
|
+
maxBytes?: number;
|
|
203
|
+
maxGas?: number;
|
|
204
|
+
} & {
|
|
205
|
+
maxBytes?: number;
|
|
206
|
+
maxGas?: number;
|
|
207
|
+
} & { [K_1 in Exclude<keyof I_1, keyof BlockParams>]: never; }>(object: I_1): BlockParams;
|
|
86
208
|
};
|
|
87
209
|
export declare const EvidenceParams: {
|
|
88
210
|
encode(message: EvidenceParams, writer?: _m0.Writer): _m0.Writer;
|
|
89
211
|
decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams;
|
|
90
212
|
fromJSON(object: any): EvidenceParams;
|
|
91
213
|
toJSON(message: EvidenceParams): unknown;
|
|
92
|
-
create<I extends
|
|
93
|
-
|
|
214
|
+
create<I extends {
|
|
215
|
+
maxAgeNumBlocks?: number;
|
|
216
|
+
maxAgeDuration?: {
|
|
217
|
+
seconds?: number;
|
|
218
|
+
nanos?: number;
|
|
219
|
+
};
|
|
220
|
+
maxBytes?: number;
|
|
221
|
+
} & {
|
|
222
|
+
maxAgeNumBlocks?: number;
|
|
223
|
+
maxAgeDuration?: {
|
|
224
|
+
seconds?: number;
|
|
225
|
+
nanos?: number;
|
|
226
|
+
} & {
|
|
227
|
+
seconds?: number;
|
|
228
|
+
nanos?: number;
|
|
229
|
+
} & { [K in Exclude<keyof I["maxAgeDuration"], keyof Duration>]: never; };
|
|
230
|
+
maxBytes?: number;
|
|
231
|
+
} & { [K_1 in Exclude<keyof I, keyof EvidenceParams>]: never; }>(base?: I): EvidenceParams;
|
|
232
|
+
fromPartial<I_1 extends {
|
|
233
|
+
maxAgeNumBlocks?: number;
|
|
234
|
+
maxAgeDuration?: {
|
|
235
|
+
seconds?: number;
|
|
236
|
+
nanos?: number;
|
|
237
|
+
};
|
|
238
|
+
maxBytes?: number;
|
|
239
|
+
} & {
|
|
240
|
+
maxAgeNumBlocks?: number;
|
|
241
|
+
maxAgeDuration?: {
|
|
242
|
+
seconds?: number;
|
|
243
|
+
nanos?: number;
|
|
244
|
+
} & {
|
|
245
|
+
seconds?: number;
|
|
246
|
+
nanos?: number;
|
|
247
|
+
} & { [K_2 in Exclude<keyof I_1["maxAgeDuration"], keyof Duration>]: never; };
|
|
248
|
+
maxBytes?: number;
|
|
249
|
+
} & { [K_3 in Exclude<keyof I_1, keyof EvidenceParams>]: never; }>(object: I_1): EvidenceParams;
|
|
94
250
|
};
|
|
95
251
|
export declare const ValidatorParams: {
|
|
96
252
|
encode(message: ValidatorParams, writer?: _m0.Writer): _m0.Writer;
|
|
97
253
|
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams;
|
|
98
254
|
fromJSON(object: any): ValidatorParams;
|
|
99
255
|
toJSON(message: ValidatorParams): unknown;
|
|
100
|
-
create<I extends
|
|
101
|
-
|
|
256
|
+
create<I extends {
|
|
257
|
+
pubKeyTypes?: string[];
|
|
258
|
+
} & {
|
|
259
|
+
pubKeyTypes?: string[] & string[] & { [K in Exclude<keyof I["pubKeyTypes"], keyof string[]>]: never; };
|
|
260
|
+
} & { [K_1 in Exclude<keyof I, "pubKeyTypes">]: never; }>(base?: I): ValidatorParams;
|
|
261
|
+
fromPartial<I_1 extends {
|
|
262
|
+
pubKeyTypes?: string[];
|
|
263
|
+
} & {
|
|
264
|
+
pubKeyTypes?: string[] & string[] & { [K_2 in Exclude<keyof I_1["pubKeyTypes"], keyof string[]>]: never; };
|
|
265
|
+
} & { [K_3 in Exclude<keyof I_1, "pubKeyTypes">]: never; }>(object: I_1): ValidatorParams;
|
|
102
266
|
};
|
|
103
267
|
export declare const VersionParams: {
|
|
104
268
|
encode(message: VersionParams, writer?: _m0.Writer): _m0.Writer;
|
|
105
269
|
decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams;
|
|
106
270
|
fromJSON(object: any): VersionParams;
|
|
107
271
|
toJSON(message: VersionParams): unknown;
|
|
108
|
-
create<I extends
|
|
109
|
-
|
|
272
|
+
create<I extends {
|
|
273
|
+
app?: number;
|
|
274
|
+
} & {
|
|
275
|
+
app?: number;
|
|
276
|
+
} & { [K in Exclude<keyof I, "app">]: never; }>(base?: I): VersionParams;
|
|
277
|
+
fromPartial<I_1 extends {
|
|
278
|
+
app?: number;
|
|
279
|
+
} & {
|
|
280
|
+
app?: number;
|
|
281
|
+
} & { [K_1 in Exclude<keyof I_1, "app">]: never; }>(object: I_1): VersionParams;
|
|
110
282
|
};
|
|
111
283
|
export declare const HashedParams: {
|
|
112
284
|
encode(message: HashedParams, writer?: _m0.Writer): _m0.Writer;
|
|
113
285
|
decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams;
|
|
114
286
|
fromJSON(object: any): HashedParams;
|
|
115
287
|
toJSON(message: HashedParams): unknown;
|
|
116
|
-
create<I extends
|
|
117
|
-
|
|
288
|
+
create<I extends {
|
|
289
|
+
blockMaxBytes?: number;
|
|
290
|
+
blockMaxGas?: number;
|
|
291
|
+
} & {
|
|
292
|
+
blockMaxBytes?: number;
|
|
293
|
+
blockMaxGas?: number;
|
|
294
|
+
} & { [K in Exclude<keyof I, keyof HashedParams>]: never; }>(base?: I): HashedParams;
|
|
295
|
+
fromPartial<I_1 extends {
|
|
296
|
+
blockMaxBytes?: number;
|
|
297
|
+
blockMaxGas?: number;
|
|
298
|
+
} & {
|
|
299
|
+
blockMaxBytes?: number;
|
|
300
|
+
blockMaxGas?: number;
|
|
301
|
+
} & { [K_1 in Exclude<keyof I_1, keyof HashedParams>]: never; }>(object: I_1): HashedParams;
|
|
118
302
|
};
|
|
119
303
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
120
304
|
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 {} ? {
|