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,7 +3,11 @@ 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.TxProof = exports.BlockMeta = exports.LightBlock = exports.SignedHeader = exports.Proposal = exports.CommitSig = exports.Commit = exports.Vote = exports.Data = exports.Header = exports.BlockID = exports.Part = exports.PartSetHeader = exports.
|
|
6
|
+
exports.TxProof = exports.BlockMeta = exports.LightBlock = exports.SignedHeader = exports.Proposal = exports.CommitSig = exports.Commit = exports.Vote = exports.Data = exports.Header = exports.BlockID = exports.Part = exports.PartSetHeader = exports.SignedMsgType = exports.BlockIDFlag = exports.protobufPackage = void 0;
|
|
7
|
+
exports.blockIDFlagFromJSON = blockIDFlagFromJSON;
|
|
8
|
+
exports.blockIDFlagToJSON = blockIDFlagToJSON;
|
|
9
|
+
exports.signedMsgTypeFromJSON = signedMsgTypeFromJSON;
|
|
10
|
+
exports.signedMsgTypeToJSON = signedMsgTypeToJSON;
|
|
7
11
|
/* eslint-disable */
|
|
8
12
|
const long_1 = __importDefault(require("long"));
|
|
9
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -41,7 +45,6 @@ function blockIDFlagFromJSON(object) {
|
|
|
41
45
|
return BlockIDFlag.UNRECOGNIZED;
|
|
42
46
|
}
|
|
43
47
|
}
|
|
44
|
-
exports.blockIDFlagFromJSON = blockIDFlagFromJSON;
|
|
45
48
|
function blockIDFlagToJSON(object) {
|
|
46
49
|
switch (object) {
|
|
47
50
|
case BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN:
|
|
@@ -57,7 +60,6 @@ function blockIDFlagToJSON(object) {
|
|
|
57
60
|
return "UNRECOGNIZED";
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
|
-
exports.blockIDFlagToJSON = blockIDFlagToJSON;
|
|
61
63
|
/** SignedMsgType is a type of signed message in the consensus. */
|
|
62
64
|
var SignedMsgType;
|
|
63
65
|
(function (SignedMsgType) {
|
|
@@ -89,7 +91,6 @@ function signedMsgTypeFromJSON(object) {
|
|
|
89
91
|
return SignedMsgType.UNRECOGNIZED;
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
|
-
exports.signedMsgTypeFromJSON = signedMsgTypeFromJSON;
|
|
93
94
|
function signedMsgTypeToJSON(object) {
|
|
94
95
|
switch (object) {
|
|
95
96
|
case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN:
|
|
@@ -105,7 +106,6 @@ function signedMsgTypeToJSON(object) {
|
|
|
105
106
|
return "UNRECOGNIZED";
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
|
-
exports.signedMsgTypeToJSON = signedMsgTypeToJSON;
|
|
109
109
|
function createBasePartSetHeader() {
|
|
110
110
|
return { total: 0, hash: new Uint8Array() };
|
|
111
111
|
}
|
|
@@ -21,248 +21,24 @@ export declare const ValidatorSet: {
|
|
|
21
21
|
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet;
|
|
22
22
|
fromJSON(object: any): ValidatorSet;
|
|
23
23
|
toJSON(message: ValidatorSet): unknown;
|
|
24
|
-
create<I extends
|
|
25
|
-
|
|
26
|
-
address?: Uint8Array;
|
|
27
|
-
pubKey?: {
|
|
28
|
-
ed25519?: Uint8Array;
|
|
29
|
-
secp256k1?: Uint8Array;
|
|
30
|
-
};
|
|
31
|
-
votingPower?: number;
|
|
32
|
-
proposerPriority?: number;
|
|
33
|
-
}[];
|
|
34
|
-
proposer?: {
|
|
35
|
-
address?: Uint8Array;
|
|
36
|
-
pubKey?: {
|
|
37
|
-
ed25519?: Uint8Array;
|
|
38
|
-
secp256k1?: Uint8Array;
|
|
39
|
-
};
|
|
40
|
-
votingPower?: number;
|
|
41
|
-
proposerPriority?: number;
|
|
42
|
-
};
|
|
43
|
-
totalVotingPower?: number;
|
|
44
|
-
} & {
|
|
45
|
-
validators?: {
|
|
46
|
-
address?: Uint8Array;
|
|
47
|
-
pubKey?: {
|
|
48
|
-
ed25519?: Uint8Array;
|
|
49
|
-
secp256k1?: Uint8Array;
|
|
50
|
-
};
|
|
51
|
-
votingPower?: number;
|
|
52
|
-
proposerPriority?: number;
|
|
53
|
-
}[] & ({
|
|
54
|
-
address?: Uint8Array;
|
|
55
|
-
pubKey?: {
|
|
56
|
-
ed25519?: Uint8Array;
|
|
57
|
-
secp256k1?: Uint8Array;
|
|
58
|
-
};
|
|
59
|
-
votingPower?: number;
|
|
60
|
-
proposerPriority?: number;
|
|
61
|
-
} & {
|
|
62
|
-
address?: Uint8Array;
|
|
63
|
-
pubKey?: {
|
|
64
|
-
ed25519?: Uint8Array;
|
|
65
|
-
secp256k1?: Uint8Array;
|
|
66
|
-
} & {
|
|
67
|
-
ed25519?: Uint8Array;
|
|
68
|
-
secp256k1?: Uint8Array;
|
|
69
|
-
} & { [K in Exclude<keyof I["validators"][number]["pubKey"], keyof PublicKey>]: never; };
|
|
70
|
-
votingPower?: number;
|
|
71
|
-
proposerPriority?: number;
|
|
72
|
-
} & { [K_1 in Exclude<keyof I["validators"][number], keyof Validator>]: never; })[] & { [K_2 in Exclude<keyof I["validators"], keyof {
|
|
73
|
-
address?: Uint8Array;
|
|
74
|
-
pubKey?: {
|
|
75
|
-
ed25519?: Uint8Array;
|
|
76
|
-
secp256k1?: Uint8Array;
|
|
77
|
-
};
|
|
78
|
-
votingPower?: number;
|
|
79
|
-
proposerPriority?: number;
|
|
80
|
-
}[]>]: never; };
|
|
81
|
-
proposer?: {
|
|
82
|
-
address?: Uint8Array;
|
|
83
|
-
pubKey?: {
|
|
84
|
-
ed25519?: Uint8Array;
|
|
85
|
-
secp256k1?: Uint8Array;
|
|
86
|
-
};
|
|
87
|
-
votingPower?: number;
|
|
88
|
-
proposerPriority?: number;
|
|
89
|
-
} & {
|
|
90
|
-
address?: Uint8Array;
|
|
91
|
-
pubKey?: {
|
|
92
|
-
ed25519?: Uint8Array;
|
|
93
|
-
secp256k1?: Uint8Array;
|
|
94
|
-
} & {
|
|
95
|
-
ed25519?: Uint8Array;
|
|
96
|
-
secp256k1?: Uint8Array;
|
|
97
|
-
} & { [K_3 in Exclude<keyof I["proposer"]["pubKey"], keyof PublicKey>]: never; };
|
|
98
|
-
votingPower?: number;
|
|
99
|
-
proposerPriority?: number;
|
|
100
|
-
} & { [K_4 in Exclude<keyof I["proposer"], keyof Validator>]: never; };
|
|
101
|
-
totalVotingPower?: number;
|
|
102
|
-
} & { [K_5 in Exclude<keyof I, keyof ValidatorSet>]: never; }>(base?: I): ValidatorSet;
|
|
103
|
-
fromPartial<I_1 extends {
|
|
104
|
-
validators?: {
|
|
105
|
-
address?: Uint8Array;
|
|
106
|
-
pubKey?: {
|
|
107
|
-
ed25519?: Uint8Array;
|
|
108
|
-
secp256k1?: Uint8Array;
|
|
109
|
-
};
|
|
110
|
-
votingPower?: number;
|
|
111
|
-
proposerPriority?: number;
|
|
112
|
-
}[];
|
|
113
|
-
proposer?: {
|
|
114
|
-
address?: Uint8Array;
|
|
115
|
-
pubKey?: {
|
|
116
|
-
ed25519?: Uint8Array;
|
|
117
|
-
secp256k1?: Uint8Array;
|
|
118
|
-
};
|
|
119
|
-
votingPower?: number;
|
|
120
|
-
proposerPriority?: number;
|
|
121
|
-
};
|
|
122
|
-
totalVotingPower?: number;
|
|
123
|
-
} & {
|
|
124
|
-
validators?: {
|
|
125
|
-
address?: Uint8Array;
|
|
126
|
-
pubKey?: {
|
|
127
|
-
ed25519?: Uint8Array;
|
|
128
|
-
secp256k1?: Uint8Array;
|
|
129
|
-
};
|
|
130
|
-
votingPower?: number;
|
|
131
|
-
proposerPriority?: number;
|
|
132
|
-
}[] & ({
|
|
133
|
-
address?: Uint8Array;
|
|
134
|
-
pubKey?: {
|
|
135
|
-
ed25519?: Uint8Array;
|
|
136
|
-
secp256k1?: Uint8Array;
|
|
137
|
-
};
|
|
138
|
-
votingPower?: number;
|
|
139
|
-
proposerPriority?: number;
|
|
140
|
-
} & {
|
|
141
|
-
address?: Uint8Array;
|
|
142
|
-
pubKey?: {
|
|
143
|
-
ed25519?: Uint8Array;
|
|
144
|
-
secp256k1?: Uint8Array;
|
|
145
|
-
} & {
|
|
146
|
-
ed25519?: Uint8Array;
|
|
147
|
-
secp256k1?: Uint8Array;
|
|
148
|
-
} & { [K_6 in Exclude<keyof I_1["validators"][number]["pubKey"], keyof PublicKey>]: never; };
|
|
149
|
-
votingPower?: number;
|
|
150
|
-
proposerPriority?: number;
|
|
151
|
-
} & { [K_7 in Exclude<keyof I_1["validators"][number], keyof Validator>]: never; })[] & { [K_8 in Exclude<keyof I_1["validators"], keyof {
|
|
152
|
-
address?: Uint8Array;
|
|
153
|
-
pubKey?: {
|
|
154
|
-
ed25519?: Uint8Array;
|
|
155
|
-
secp256k1?: Uint8Array;
|
|
156
|
-
};
|
|
157
|
-
votingPower?: number;
|
|
158
|
-
proposerPriority?: number;
|
|
159
|
-
}[]>]: never; };
|
|
160
|
-
proposer?: {
|
|
161
|
-
address?: Uint8Array;
|
|
162
|
-
pubKey?: {
|
|
163
|
-
ed25519?: Uint8Array;
|
|
164
|
-
secp256k1?: Uint8Array;
|
|
165
|
-
};
|
|
166
|
-
votingPower?: number;
|
|
167
|
-
proposerPriority?: number;
|
|
168
|
-
} & {
|
|
169
|
-
address?: Uint8Array;
|
|
170
|
-
pubKey?: {
|
|
171
|
-
ed25519?: Uint8Array;
|
|
172
|
-
secp256k1?: Uint8Array;
|
|
173
|
-
} & {
|
|
174
|
-
ed25519?: Uint8Array;
|
|
175
|
-
secp256k1?: Uint8Array;
|
|
176
|
-
} & { [K_9 in Exclude<keyof I_1["proposer"]["pubKey"], keyof PublicKey>]: never; };
|
|
177
|
-
votingPower?: number;
|
|
178
|
-
proposerPriority?: number;
|
|
179
|
-
} & { [K_10 in Exclude<keyof I_1["proposer"], keyof Validator>]: never; };
|
|
180
|
-
totalVotingPower?: number;
|
|
181
|
-
} & { [K_11 in Exclude<keyof I_1, keyof ValidatorSet>]: never; }>(object: I_1): ValidatorSet;
|
|
24
|
+
create<I extends Exact<DeepPartial<ValidatorSet>, I>>(base?: I): ValidatorSet;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<ValidatorSet>, I>>(object: I): ValidatorSet;
|
|
182
26
|
};
|
|
183
27
|
export declare const Validator: {
|
|
184
28
|
encode(message: Validator, writer?: _m0.Writer): _m0.Writer;
|
|
185
29
|
decode(input: _m0.Reader | Uint8Array, length?: number): Validator;
|
|
186
30
|
fromJSON(object: any): Validator;
|
|
187
31
|
toJSON(message: Validator): unknown;
|
|
188
|
-
create<I extends
|
|
189
|
-
|
|
190
|
-
pubKey?: {
|
|
191
|
-
ed25519?: Uint8Array;
|
|
192
|
-
secp256k1?: Uint8Array;
|
|
193
|
-
};
|
|
194
|
-
votingPower?: number;
|
|
195
|
-
proposerPriority?: number;
|
|
196
|
-
} & {
|
|
197
|
-
address?: Uint8Array;
|
|
198
|
-
pubKey?: {
|
|
199
|
-
ed25519?: Uint8Array;
|
|
200
|
-
secp256k1?: Uint8Array;
|
|
201
|
-
} & {
|
|
202
|
-
ed25519?: Uint8Array;
|
|
203
|
-
secp256k1?: Uint8Array;
|
|
204
|
-
} & { [K in Exclude<keyof I["pubKey"], keyof PublicKey>]: never; };
|
|
205
|
-
votingPower?: number;
|
|
206
|
-
proposerPriority?: number;
|
|
207
|
-
} & { [K_1 in Exclude<keyof I, keyof Validator>]: never; }>(base?: I): Validator;
|
|
208
|
-
fromPartial<I_1 extends {
|
|
209
|
-
address?: Uint8Array;
|
|
210
|
-
pubKey?: {
|
|
211
|
-
ed25519?: Uint8Array;
|
|
212
|
-
secp256k1?: Uint8Array;
|
|
213
|
-
};
|
|
214
|
-
votingPower?: number;
|
|
215
|
-
proposerPriority?: number;
|
|
216
|
-
} & {
|
|
217
|
-
address?: Uint8Array;
|
|
218
|
-
pubKey?: {
|
|
219
|
-
ed25519?: Uint8Array;
|
|
220
|
-
secp256k1?: Uint8Array;
|
|
221
|
-
} & {
|
|
222
|
-
ed25519?: Uint8Array;
|
|
223
|
-
secp256k1?: Uint8Array;
|
|
224
|
-
} & { [K_2 in Exclude<keyof I_1["pubKey"], keyof PublicKey>]: never; };
|
|
225
|
-
votingPower?: number;
|
|
226
|
-
proposerPriority?: number;
|
|
227
|
-
} & { [K_3 in Exclude<keyof I_1, keyof Validator>]: never; }>(object: I_1): Validator;
|
|
32
|
+
create<I extends Exact<DeepPartial<Validator>, I>>(base?: I): Validator;
|
|
33
|
+
fromPartial<I extends Exact<DeepPartial<Validator>, I>>(object: I): Validator;
|
|
228
34
|
};
|
|
229
35
|
export declare const SimpleValidator: {
|
|
230
36
|
encode(message: SimpleValidator, writer?: _m0.Writer): _m0.Writer;
|
|
231
37
|
decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator;
|
|
232
38
|
fromJSON(object: any): SimpleValidator;
|
|
233
39
|
toJSON(message: SimpleValidator): unknown;
|
|
234
|
-
create<I extends
|
|
235
|
-
|
|
236
|
-
ed25519?: Uint8Array;
|
|
237
|
-
secp256k1?: Uint8Array;
|
|
238
|
-
};
|
|
239
|
-
votingPower?: number;
|
|
240
|
-
} & {
|
|
241
|
-
pubKey?: {
|
|
242
|
-
ed25519?: Uint8Array;
|
|
243
|
-
secp256k1?: Uint8Array;
|
|
244
|
-
} & {
|
|
245
|
-
ed25519?: Uint8Array;
|
|
246
|
-
secp256k1?: Uint8Array;
|
|
247
|
-
} & { [K in Exclude<keyof I["pubKey"], keyof PublicKey>]: never; };
|
|
248
|
-
votingPower?: number;
|
|
249
|
-
} & { [K_1 in Exclude<keyof I, keyof SimpleValidator>]: never; }>(base?: I): SimpleValidator;
|
|
250
|
-
fromPartial<I_1 extends {
|
|
251
|
-
pubKey?: {
|
|
252
|
-
ed25519?: Uint8Array;
|
|
253
|
-
secp256k1?: Uint8Array;
|
|
254
|
-
};
|
|
255
|
-
votingPower?: number;
|
|
256
|
-
} & {
|
|
257
|
-
pubKey?: {
|
|
258
|
-
ed25519?: Uint8Array;
|
|
259
|
-
secp256k1?: Uint8Array;
|
|
260
|
-
} & {
|
|
261
|
-
ed25519?: Uint8Array;
|
|
262
|
-
secp256k1?: Uint8Array;
|
|
263
|
-
} & { [K_2 in Exclude<keyof I_1["pubKey"], keyof PublicKey>]: never; };
|
|
264
|
-
votingPower?: number;
|
|
265
|
-
} & { [K_3 in Exclude<keyof I_1, keyof SimpleValidator>]: never; }>(object: I_1): SimpleValidator;
|
|
40
|
+
create<I extends Exact<DeepPartial<SimpleValidator>, I>>(base?: I): SimpleValidator;
|
|
41
|
+
fromPartial<I extends Exact<DeepPartial<SimpleValidator>, I>>(object: I): SimpleValidator;
|
|
266
42
|
};
|
|
267
43
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
268
44
|
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 {} ? {
|
|
@@ -23,40 +23,16 @@ export declare const App: {
|
|
|
23
23
|
decode(input: _m0.Reader | Uint8Array, length?: number): App;
|
|
24
24
|
fromJSON(object: any): App;
|
|
25
25
|
toJSON(message: App): unknown;
|
|
26
|
-
create<I extends
|
|
27
|
-
|
|
28
|
-
software?: string;
|
|
29
|
-
} & {
|
|
30
|
-
protocol?: number;
|
|
31
|
-
software?: string;
|
|
32
|
-
} & { [K in Exclude<keyof I, keyof App>]: never; }>(base?: I): App;
|
|
33
|
-
fromPartial<I_1 extends {
|
|
34
|
-
protocol?: number;
|
|
35
|
-
software?: string;
|
|
36
|
-
} & {
|
|
37
|
-
protocol?: number;
|
|
38
|
-
software?: string;
|
|
39
|
-
} & { [K_1 in Exclude<keyof I_1, keyof App>]: never; }>(object: I_1): App;
|
|
26
|
+
create<I extends Exact<DeepPartial<App>, I>>(base?: I): App;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<App>, I>>(object: I): App;
|
|
40
28
|
};
|
|
41
29
|
export declare const Consensus: {
|
|
42
30
|
encode(message: Consensus, writer?: _m0.Writer): _m0.Writer;
|
|
43
31
|
decode(input: _m0.Reader | Uint8Array, length?: number): Consensus;
|
|
44
32
|
fromJSON(object: any): Consensus;
|
|
45
33
|
toJSON(message: Consensus): unknown;
|
|
46
|
-
create<I extends
|
|
47
|
-
|
|
48
|
-
app?: number;
|
|
49
|
-
} & {
|
|
50
|
-
block?: number;
|
|
51
|
-
app?: number;
|
|
52
|
-
} & { [K in Exclude<keyof I, keyof Consensus>]: never; }>(base?: I): Consensus;
|
|
53
|
-
fromPartial<I_1 extends {
|
|
54
|
-
block?: number;
|
|
55
|
-
app?: number;
|
|
56
|
-
} & {
|
|
57
|
-
block?: number;
|
|
58
|
-
app?: number;
|
|
59
|
-
} & { [K_1 in Exclude<keyof I_1, keyof Consensus>]: never; }>(object: I_1): Consensus;
|
|
34
|
+
create<I extends Exact<DeepPartial<Consensus>, I>>(base?: I): Consensus;
|
|
35
|
+
fromPartial<I extends Exact<DeepPartial<Consensus>, I>>(object: I): Consensus;
|
|
60
36
|
};
|
|
61
37
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
62
38
|
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 {} ? {
|
|
@@ -31,9 +31,9 @@ exports.COREUM_CONFIG = {
|
|
|
31
31
|
chain_name: "Coreum",
|
|
32
32
|
chain_id: CoreumChainID.MAINNET,
|
|
33
33
|
chain_bech32_prefix: CoreumPrefixes.MAINNET,
|
|
34
|
-
chain_rpc_endpoint: "https://full-node.mainnet-1.coreum.dev:26657",
|
|
35
|
-
chain_rest_endpoint: "https://full-node.mainnet-1.coreum.dev:1317",
|
|
36
|
-
chain_ws_endpoint: "wss://full-node.mainnet-1.coreum.dev:26657",
|
|
34
|
+
chain_rpc_endpoint: "https://full-node-curium.mainnet-1.coreum.dev:26657",
|
|
35
|
+
chain_rest_endpoint: "https://full-node-curium.mainnet-1.coreum.dev:1317",
|
|
36
|
+
chain_ws_endpoint: "wss://full-node-curium.mainnet-1.coreum.dev:26657",
|
|
37
37
|
chain_explorer: "https://explorer.mainnet-1.coreum.dev",
|
|
38
38
|
staking_denom: CoreumDenom.MAINNET,
|
|
39
39
|
coin_type: "990",
|
package/dist/main/utils/nft.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseClassFeatures =
|
|
3
|
+
exports.parseClassFeatures = parseClassFeatures;
|
|
4
4
|
const nft_1 = require("../coreum/asset/nft/v1/nft");
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -16,4 +16,3 @@ function parseClassFeatures(features) {
|
|
|
16
16
|
soulbound: features.includes(nft_1.ClassFeature["soulbound"]),
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
exports.parseClassFeatures = parseClassFeatures;
|