coreum-js 2.16.1 → 2.16.3
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 +1 -1
- package/dist/main/coreum/asset/ft/v1/event.d.ts +6 -98
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +4 -500
- package/dist/main/coreum/asset/ft/v1/params.d.ts +2 -54
- package/dist/main/coreum/asset/ft/v1/query.d.ts +28 -1852
- package/dist/main/coreum/asset/ft/v1/token.d.ts +12 -210
- package/dist/main/coreum/asset/ft/v1/token.js +3 -3
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +36 -644
- package/dist/main/coreum/asset/nft/v1/event.d.ts +10 -114
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +8 -258
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +4 -86
- package/dist/main/coreum/asset/nft/v1/nft.js +3 -3
- package/dist/main/coreum/asset/nft/v1/params.d.ts +2 -28
- package/dist/main/coreum/asset/nft/v1/query.d.ts +20 -638
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +16 -212
- package/dist/main/coreum/asset/nft/v1/types.d.ts +2 -10
- package/dist/main/coreum/customparams/v1/genesis.d.ts +2 -22
- package/dist/main/coreum/customparams/v1/params.d.ts +2 -10
- package/dist/main/coreum/customparams/v1/query.d.ts +4 -24
- package/dist/main/coreum/extensions/ft.js +1 -2
- package/dist/main/coreum/extensions/nft.js +1 -2
- package/dist/main/coreum/extensions/nftbeta.js +1 -2
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +2 -222
- package/dist/main/coreum/feemodel/v1/params.d.ts +4 -320
- package/dist/main/coreum/feemodel/v1/query.d.ts +8 -232
- package/dist/main/coreum/nft/v1beta1/event.d.ts +6 -58
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +4 -420
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +4 -96
- package/dist/main/coreum/nft/v1beta1/query.d.ts +28 -1532
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +4 -24
- package/dist/main/cosmos/extensions/bank.js +1 -2
- package/dist/main/cosmos/extensions/distribution.js +1 -2
- package/dist/main/cosmos/extensions/gov.js +1 -2
- package/dist/main/google/api/http.d.ts +6 -2636
- package/dist/main/google/protobuf/any.d.ts +2 -14
- package/dist/main/google/protobuf/any.js +3 -3
- package/dist/main/google/protobuf/duration.d.ts +2 -14
- package/dist/main/google/protobuf/timestamp.d.ts +2 -14
- package/dist/main/index.js +17 -7
- package/dist/main/tendermint/abci/types.d.ts +92 -6360
- package/dist/main/tendermint/abci/types.js +12 -12
- package/dist/main/tendermint/crypto/keys.d.ts +2 -14
- package/dist/main/tendermint/crypto/proof.d.ts +10 -152
- package/dist/main/tendermint/types/params.d.ts +12 -196
- package/dist/main/tendermint/types/types.d.ts +26 -1744
- package/dist/main/tendermint/types/types.js +5 -5
- package/dist/main/tendermint/types/validator.d.ts +6 -230
- package/dist/main/tendermint/version/types.d.ts +4 -28
- package/dist/main/types/coreum.js +3 -3
- package/dist/main/utils/convertStringToAny.d.ts +1 -0
- package/dist/main/utils/nft.js +1 -2
- package/dist/main/wasm/v1/authz.d.ts +18 -414
- package/dist/main/wasm/v1/extensions/wasm.js +1 -2
- package/dist/main/wasm/v1/genesis.d.ts +8 -994
- package/dist/main/wasm/v1/ibc.d.ts +6 -42
- package/dist/main/wasm/v1/pagination.d.ts +4 -40
- package/dist/main/wasm/v1/proposal.d.ts +26 -640
- package/dist/main/wasm/v1/query.d.ts +46 -1060
- package/dist/main/wasm/v1/tx.d.ts +52 -630
- package/dist/main/wasm/v1/types.d.ts +16 -246
- package/dist/main/wasm/v1/types.js +5 -5
- package/dist/module/client/index.js +2 -2
- package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
- package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
- package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
- package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
- package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
- package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
- package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
- package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
- package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
- package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
- package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
- package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
- package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
- package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
- package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
- package/dist/module/google/api/http.d.ts +6 -2636
- package/dist/module/google/protobuf/any.d.ts +2 -14
- package/dist/module/google/protobuf/duration.d.ts +2 -14
- package/dist/module/google/protobuf/timestamp.d.ts +2 -14
- package/dist/module/tendermint/abci/types.d.ts +92 -6360
- package/dist/module/tendermint/crypto/keys.d.ts +2 -14
- package/dist/module/tendermint/crypto/proof.d.ts +10 -152
- package/dist/module/tendermint/types/params.d.ts +12 -196
- package/dist/module/tendermint/types/types.d.ts +26 -1744
- package/dist/module/tendermint/types/validator.d.ts +6 -230
- package/dist/module/tendermint/version/types.d.ts +4 -28
- package/dist/module/types/coreum.js +3 -3
- package/dist/module/utils/convertStringToAny.d.ts +1 -0
- package/dist/module/wasm/v1/authz.d.ts +18 -414
- package/dist/module/wasm/v1/genesis.d.ts +8 -994
- package/dist/module/wasm/v1/ibc.d.ts +6 -42
- package/dist/module/wasm/v1/pagination.d.ts +4 -40
- package/dist/module/wasm/v1/proposal.d.ts +26 -640
- package/dist/module/wasm/v1/query.d.ts +46 -1060
- package/dist/module/wasm/v1/tx.d.ts +52 -630
- package/dist/module/wasm/v1/types.d.ts +16 -246
- package/package.json +2 -2
|
@@ -3,8 +3,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.ABCIApplicationClientImpl = exports.Snapshot = exports.Misbehavior =
|
|
6
|
+
exports.ExtendedVoteInfo = exports.VoteInfo = exports.ValidatorUpdate = exports.Validator = exports.TxResult = exports.EventAttribute = exports.Event = exports.ExtendedCommitInfo = exports.CommitInfo = exports.ResponseProcessProposal = exports.ResponsePrepareProposal = exports.ResponseApplySnapshotChunk = exports.ResponseLoadSnapshotChunk = exports.ResponseOfferSnapshot = exports.ResponseListSnapshots = exports.ResponseCommit = exports.ResponseEndBlock = exports.ResponseDeliverTx = exports.ResponseCheckTx = exports.ResponseBeginBlock = exports.ResponseQuery = exports.ResponseInitChain = exports.ResponseInfo = exports.ResponseFlush = exports.ResponseEcho = exports.ResponseException = exports.Response = exports.RequestProcessProposal = exports.RequestPrepareProposal = exports.RequestApplySnapshotChunk = exports.RequestLoadSnapshotChunk = exports.RequestOfferSnapshot = exports.RequestListSnapshots = exports.RequestCommit = exports.RequestEndBlock = exports.RequestDeliverTx = exports.RequestCheckTx = exports.RequestBeginBlock = exports.RequestQuery = exports.RequestInitChain = exports.RequestInfo = exports.RequestFlush = exports.RequestEcho = exports.Request = exports.ResponseProcessProposal_ProposalStatus = exports.ResponseApplySnapshotChunk_Result = exports.ResponseOfferSnapshot_Result = exports.MisbehaviorType = exports.CheckTxType = exports.protobufPackage = void 0;
|
|
7
|
+
exports.ABCIApplicationClientImpl = exports.Snapshot = exports.Misbehavior = void 0;
|
|
8
|
+
exports.checkTxTypeFromJSON = checkTxTypeFromJSON;
|
|
9
|
+
exports.checkTxTypeToJSON = checkTxTypeToJSON;
|
|
10
|
+
exports.misbehaviorTypeFromJSON = misbehaviorTypeFromJSON;
|
|
11
|
+
exports.misbehaviorTypeToJSON = misbehaviorTypeToJSON;
|
|
12
|
+
exports.responseOfferSnapshot_ResultFromJSON = responseOfferSnapshot_ResultFromJSON;
|
|
13
|
+
exports.responseOfferSnapshot_ResultToJSON = responseOfferSnapshot_ResultToJSON;
|
|
14
|
+
exports.responseApplySnapshotChunk_ResultFromJSON = responseApplySnapshotChunk_ResultFromJSON;
|
|
15
|
+
exports.responseApplySnapshotChunk_ResultToJSON = responseApplySnapshotChunk_ResultToJSON;
|
|
16
|
+
exports.responseProcessProposal_ProposalStatusFromJSON = responseProcessProposal_ProposalStatusFromJSON;
|
|
17
|
+
exports.responseProcessProposal_ProposalStatusToJSON = responseProcessProposal_ProposalStatusToJSON;
|
|
8
18
|
/* eslint-disable */
|
|
9
19
|
const long_1 = __importDefault(require("long"));
|
|
10
20
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -34,7 +44,6 @@ function checkTxTypeFromJSON(object) {
|
|
|
34
44
|
return CheckTxType.UNRECOGNIZED;
|
|
35
45
|
}
|
|
36
46
|
}
|
|
37
|
-
exports.checkTxTypeFromJSON = checkTxTypeFromJSON;
|
|
38
47
|
function checkTxTypeToJSON(object) {
|
|
39
48
|
switch (object) {
|
|
40
49
|
case CheckTxType.NEW:
|
|
@@ -46,7 +55,6 @@ function checkTxTypeToJSON(object) {
|
|
|
46
55
|
return "UNRECOGNIZED";
|
|
47
56
|
}
|
|
48
57
|
}
|
|
49
|
-
exports.checkTxTypeToJSON = checkTxTypeToJSON;
|
|
50
58
|
var MisbehaviorType;
|
|
51
59
|
(function (MisbehaviorType) {
|
|
52
60
|
MisbehaviorType[MisbehaviorType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
@@ -71,7 +79,6 @@ function misbehaviorTypeFromJSON(object) {
|
|
|
71
79
|
return MisbehaviorType.UNRECOGNIZED;
|
|
72
80
|
}
|
|
73
81
|
}
|
|
74
|
-
exports.misbehaviorTypeFromJSON = misbehaviorTypeFromJSON;
|
|
75
82
|
function misbehaviorTypeToJSON(object) {
|
|
76
83
|
switch (object) {
|
|
77
84
|
case MisbehaviorType.UNKNOWN:
|
|
@@ -85,7 +92,6 @@ function misbehaviorTypeToJSON(object) {
|
|
|
85
92
|
return "UNRECOGNIZED";
|
|
86
93
|
}
|
|
87
94
|
}
|
|
88
|
-
exports.misbehaviorTypeToJSON = misbehaviorTypeToJSON;
|
|
89
95
|
var ResponseOfferSnapshot_Result;
|
|
90
96
|
(function (ResponseOfferSnapshot_Result) {
|
|
91
97
|
/** UNKNOWN - Unknown result, abort all snapshot restoration */
|
|
@@ -128,7 +134,6 @@ function responseOfferSnapshot_ResultFromJSON(object) {
|
|
|
128
134
|
return ResponseOfferSnapshot_Result.UNRECOGNIZED;
|
|
129
135
|
}
|
|
130
136
|
}
|
|
131
|
-
exports.responseOfferSnapshot_ResultFromJSON = responseOfferSnapshot_ResultFromJSON;
|
|
132
137
|
function responseOfferSnapshot_ResultToJSON(object) {
|
|
133
138
|
switch (object) {
|
|
134
139
|
case ResponseOfferSnapshot_Result.UNKNOWN:
|
|
@@ -148,7 +153,6 @@ function responseOfferSnapshot_ResultToJSON(object) {
|
|
|
148
153
|
return "UNRECOGNIZED";
|
|
149
154
|
}
|
|
150
155
|
}
|
|
151
|
-
exports.responseOfferSnapshot_ResultToJSON = responseOfferSnapshot_ResultToJSON;
|
|
152
156
|
var ResponseApplySnapshotChunk_Result;
|
|
153
157
|
(function (ResponseApplySnapshotChunk_Result) {
|
|
154
158
|
/** UNKNOWN - Unknown result, abort all snapshot restoration */
|
|
@@ -191,7 +195,6 @@ function responseApplySnapshotChunk_ResultFromJSON(object) {
|
|
|
191
195
|
return ResponseApplySnapshotChunk_Result.UNRECOGNIZED;
|
|
192
196
|
}
|
|
193
197
|
}
|
|
194
|
-
exports.responseApplySnapshotChunk_ResultFromJSON = responseApplySnapshotChunk_ResultFromJSON;
|
|
195
198
|
function responseApplySnapshotChunk_ResultToJSON(object) {
|
|
196
199
|
switch (object) {
|
|
197
200
|
case ResponseApplySnapshotChunk_Result.UNKNOWN:
|
|
@@ -211,7 +214,6 @@ function responseApplySnapshotChunk_ResultToJSON(object) {
|
|
|
211
214
|
return "UNRECOGNIZED";
|
|
212
215
|
}
|
|
213
216
|
}
|
|
214
|
-
exports.responseApplySnapshotChunk_ResultToJSON = responseApplySnapshotChunk_ResultToJSON;
|
|
215
217
|
var ResponseProcessProposal_ProposalStatus;
|
|
216
218
|
(function (ResponseProcessProposal_ProposalStatus) {
|
|
217
219
|
ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["UNKNOWN"] = 0] = "UNKNOWN";
|
|
@@ -236,7 +238,6 @@ function responseProcessProposal_ProposalStatusFromJSON(object) {
|
|
|
236
238
|
return ResponseProcessProposal_ProposalStatus.UNRECOGNIZED;
|
|
237
239
|
}
|
|
238
240
|
}
|
|
239
|
-
exports.responseProcessProposal_ProposalStatusFromJSON = responseProcessProposal_ProposalStatusFromJSON;
|
|
240
241
|
function responseProcessProposal_ProposalStatusToJSON(object) {
|
|
241
242
|
switch (object) {
|
|
242
243
|
case ResponseProcessProposal_ProposalStatus.UNKNOWN:
|
|
@@ -250,7 +251,6 @@ function responseProcessProposal_ProposalStatusToJSON(object) {
|
|
|
250
251
|
return "UNRECOGNIZED";
|
|
251
252
|
}
|
|
252
253
|
}
|
|
253
|
-
exports.responseProcessProposal_ProposalStatusToJSON = responseProcessProposal_ProposalStatusToJSON;
|
|
254
254
|
function createBaseRequest() {
|
|
255
255
|
return {
|
|
256
256
|
echo: undefined,
|
|
@@ -10,20 +10,8 @@ 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
|
-
|
|
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;
|
|
13
|
+
create<I extends Exact<DeepPartial<PublicKey>, I>>(base?: I): PublicKey;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<PublicKey>, I>>(object: I): PublicKey;
|
|
27
15
|
};
|
|
28
16
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
29
17
|
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 {} ? {
|
|
@@ -36,182 +36,40 @@ 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
|
-
|
|
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;
|
|
39
|
+
create<I extends Exact<DeepPartial<Proof>, I>>(base?: I): Proof;
|
|
40
|
+
fromPartial<I extends Exact<DeepPartial<Proof>, I>>(object: I): Proof;
|
|
61
41
|
};
|
|
62
42
|
export declare const ValueOp: {
|
|
63
43
|
encode(message: ValueOp, writer?: _m0.Writer): _m0.Writer;
|
|
64
44
|
decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp;
|
|
65
45
|
fromJSON(object: any): ValueOp;
|
|
66
46
|
toJSON(message: ValueOp): unknown;
|
|
67
|
-
create<I extends
|
|
68
|
-
|
|
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;
|
|
47
|
+
create<I extends Exact<DeepPartial<ValueOp>, I>>(base?: I): ValueOp;
|
|
48
|
+
fromPartial<I extends Exact<DeepPartial<ValueOp>, I>>(object: I): ValueOp;
|
|
111
49
|
};
|
|
112
50
|
export declare const DominoOp: {
|
|
113
51
|
encode(message: DominoOp, writer?: _m0.Writer): _m0.Writer;
|
|
114
52
|
decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp;
|
|
115
53
|
fromJSON(object: any): DominoOp;
|
|
116
54
|
toJSON(message: DominoOp): unknown;
|
|
117
|
-
create<I extends
|
|
118
|
-
|
|
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;
|
|
55
|
+
create<I extends Exact<DeepPartial<DominoOp>, I>>(base?: I): DominoOp;
|
|
56
|
+
fromPartial<I extends Exact<DeepPartial<DominoOp>, I>>(object: I): DominoOp;
|
|
135
57
|
};
|
|
136
58
|
export declare const ProofOp: {
|
|
137
59
|
encode(message: ProofOp, writer?: _m0.Writer): _m0.Writer;
|
|
138
60
|
decode(input: _m0.Reader | Uint8Array, length?: number): ProofOp;
|
|
139
61
|
fromJSON(object: any): ProofOp;
|
|
140
62
|
toJSON(message: ProofOp): unknown;
|
|
141
|
-
create<I extends
|
|
142
|
-
|
|
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;
|
|
63
|
+
create<I extends Exact<DeepPartial<ProofOp>, I>>(base?: I): ProofOp;
|
|
64
|
+
fromPartial<I extends Exact<DeepPartial<ProofOp>, I>>(object: I): ProofOp;
|
|
159
65
|
};
|
|
160
66
|
export declare const ProofOps: {
|
|
161
67
|
encode(message: ProofOps, writer?: _m0.Writer): _m0.Writer;
|
|
162
68
|
decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps;
|
|
163
69
|
fromJSON(object: any): ProofOps;
|
|
164
70
|
toJSON(message: ProofOps): unknown;
|
|
165
|
-
create<I extends
|
|
166
|
-
|
|
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;
|
|
71
|
+
create<I extends Exact<DeepPartial<ProofOps>, I>>(base?: I): ProofOps;
|
|
72
|
+
fromPartial<I extends Exact<DeepPartial<ProofOps>, I>>(object: I): ProofOps;
|
|
215
73
|
};
|
|
216
74
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
217
75
|
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 {} ? {
|
|
@@ -73,232 +73,48 @@ 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
|
-
|
|
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;
|
|
76
|
+
create<I extends Exact<DeepPartial<ConsensusParams>, I>>(base?: I): ConsensusParams;
|
|
77
|
+
fromPartial<I extends Exact<DeepPartial<ConsensusParams>, I>>(object: I): ConsensusParams;
|
|
188
78
|
};
|
|
189
79
|
export declare const BlockParams: {
|
|
190
80
|
encode(message: BlockParams, writer?: _m0.Writer): _m0.Writer;
|
|
191
81
|
decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams;
|
|
192
82
|
fromJSON(object: any): BlockParams;
|
|
193
83
|
toJSON(message: BlockParams): unknown;
|
|
194
|
-
create<I extends
|
|
195
|
-
|
|
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;
|
|
84
|
+
create<I extends Exact<DeepPartial<BlockParams>, I>>(base?: I): BlockParams;
|
|
85
|
+
fromPartial<I extends Exact<DeepPartial<BlockParams>, I>>(object: I): BlockParams;
|
|
208
86
|
};
|
|
209
87
|
export declare const EvidenceParams: {
|
|
210
88
|
encode(message: EvidenceParams, writer?: _m0.Writer): _m0.Writer;
|
|
211
89
|
decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams;
|
|
212
90
|
fromJSON(object: any): EvidenceParams;
|
|
213
91
|
toJSON(message: EvidenceParams): unknown;
|
|
214
|
-
create<I extends
|
|
215
|
-
|
|
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;
|
|
92
|
+
create<I extends Exact<DeepPartial<EvidenceParams>, I>>(base?: I): EvidenceParams;
|
|
93
|
+
fromPartial<I extends Exact<DeepPartial<EvidenceParams>, I>>(object: I): EvidenceParams;
|
|
250
94
|
};
|
|
251
95
|
export declare const ValidatorParams: {
|
|
252
96
|
encode(message: ValidatorParams, writer?: _m0.Writer): _m0.Writer;
|
|
253
97
|
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams;
|
|
254
98
|
fromJSON(object: any): ValidatorParams;
|
|
255
99
|
toJSON(message: ValidatorParams): unknown;
|
|
256
|
-
create<I extends
|
|
257
|
-
|
|
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;
|
|
100
|
+
create<I extends Exact<DeepPartial<ValidatorParams>, I>>(base?: I): ValidatorParams;
|
|
101
|
+
fromPartial<I extends Exact<DeepPartial<ValidatorParams>, I>>(object: I): ValidatorParams;
|
|
266
102
|
};
|
|
267
103
|
export declare const VersionParams: {
|
|
268
104
|
encode(message: VersionParams, writer?: _m0.Writer): _m0.Writer;
|
|
269
105
|
decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams;
|
|
270
106
|
fromJSON(object: any): VersionParams;
|
|
271
107
|
toJSON(message: VersionParams): unknown;
|
|
272
|
-
create<I extends
|
|
273
|
-
|
|
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;
|
|
108
|
+
create<I extends Exact<DeepPartial<VersionParams>, I>>(base?: I): VersionParams;
|
|
109
|
+
fromPartial<I extends Exact<DeepPartial<VersionParams>, I>>(object: I): VersionParams;
|
|
282
110
|
};
|
|
283
111
|
export declare const HashedParams: {
|
|
284
112
|
encode(message: HashedParams, writer?: _m0.Writer): _m0.Writer;
|
|
285
113
|
decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams;
|
|
286
114
|
fromJSON(object: any): HashedParams;
|
|
287
115
|
toJSON(message: HashedParams): unknown;
|
|
288
|
-
create<I extends
|
|
289
|
-
|
|
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;
|
|
116
|
+
create<I extends Exact<DeepPartial<HashedParams>, I>>(base?: I): HashedParams;
|
|
117
|
+
fromPartial<I extends Exact<DeepPartial<HashedParams>, I>>(object: I): HashedParams;
|
|
302
118
|
};
|
|
303
119
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
304
120
|
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 {} ? {
|