@0xkey-io/eip-1193-provider 0.1.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/CHANGELOG.md +5 -0
- package/LICENSE +201 -0
- package/README.md +133 -0
- package/dist/0xkey.d.ts +34 -0
- package/dist/0xkey.d.ts.map +1 -0
- package/dist/0xkey.js +112 -0
- package/dist/0xkey.js.map +1 -0
- package/dist/0xkey.mjs +107 -0
- package/dist/0xkey.mjs.map +1 -0
- package/dist/constants.d.ts +20 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +25 -0
- package/dist/constants.js.map +1 -0
- package/dist/constants.mjs +21 -0
- package/dist/constants.mjs.map +1 -0
- package/dist/errors.d.ts +33 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +90 -0
- package/dist/errors.js.map +1 -0
- package/dist/errors.mjs +80 -0
- package/dist/errors.mjs.map +1 -0
- package/dist/index.d.ts +476 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +271 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +269 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types.d.ts +34 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils.d.ts +18 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +110 -0
- package/dist/utils.js.map +1 -0
- package/dist/utils.mjs +105 -0
- package/dist/utils.mjs.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +6 -0
- package/dist/version.js.map +1 -0
- package/dist/version.mjs +4 -0
- package/dist/version.mjs.map +1 -0
- package/package.json +63 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { type AddEthereumChainParameter } from "viem";
|
|
3
|
+
import EventEmitter from "events";
|
|
4
|
+
import type { ZeroXKeyEIP1193Provider, ZeroXKeyEIP1193ProviderOptions } from "./types";
|
|
5
|
+
export { ZeroXKeyEIP1193Provider };
|
|
6
|
+
export declare const createEIP1193Provider: (options: ZeroXKeyEIP1193ProviderOptions) => Promise<{
|
|
7
|
+
on: <K>(eventName: string | symbol, listener: (...args: any[]) => void) => EventEmitter<[never]>;
|
|
8
|
+
removeListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => EventEmitter<[never]>;
|
|
9
|
+
request: import("viem").EIP1193RequestFn<[{
|
|
10
|
+
Method: "web3_clientVersion";
|
|
11
|
+
Parameters?: undefined;
|
|
12
|
+
ReturnType: string;
|
|
13
|
+
}, {
|
|
14
|
+
Method: "web3_sha3";
|
|
15
|
+
Parameters: [data: `0x${string}`];
|
|
16
|
+
ReturnType: string;
|
|
17
|
+
}, {
|
|
18
|
+
Method: "net_listening";
|
|
19
|
+
Parameters?: undefined;
|
|
20
|
+
ReturnType: boolean;
|
|
21
|
+
}, {
|
|
22
|
+
Method: "net_peerCount";
|
|
23
|
+
Parameters?: undefined;
|
|
24
|
+
ReturnType: `0x${string}`;
|
|
25
|
+
}, {
|
|
26
|
+
Method: "net_version";
|
|
27
|
+
Parameters?: undefined;
|
|
28
|
+
ReturnType: `0x${string}`;
|
|
29
|
+
}, {
|
|
30
|
+
Method: "eth_blobGasPrice";
|
|
31
|
+
Parameters?: undefined;
|
|
32
|
+
ReturnType: `0x${string}`;
|
|
33
|
+
}, {
|
|
34
|
+
Method: "eth_blockNumber";
|
|
35
|
+
Parameters?: undefined;
|
|
36
|
+
ReturnType: `0x${string}`;
|
|
37
|
+
}, {
|
|
38
|
+
Method: "eth_call";
|
|
39
|
+
Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
|
|
40
|
+
ReturnType: `0x${string}`;
|
|
41
|
+
}, {
|
|
42
|
+
Method: "eth_chainId";
|
|
43
|
+
Parameters?: undefined;
|
|
44
|
+
ReturnType: `0x${string}`;
|
|
45
|
+
}, {
|
|
46
|
+
Method: "eth_coinbase";
|
|
47
|
+
Parameters?: undefined;
|
|
48
|
+
ReturnType: `0x${string}`;
|
|
49
|
+
}, {
|
|
50
|
+
Method: "eth_estimateGas";
|
|
51
|
+
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
52
|
+
ReturnType: `0x${string}`;
|
|
53
|
+
}, {
|
|
54
|
+
Method: "eth_feeHistory";
|
|
55
|
+
Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
56
|
+
ReturnType: import("viem").RpcFeeHistory;
|
|
57
|
+
}, {
|
|
58
|
+
Method: "eth_gasPrice";
|
|
59
|
+
Parameters?: undefined;
|
|
60
|
+
ReturnType: `0x${string}`;
|
|
61
|
+
}, {
|
|
62
|
+
Method: "eth_getBalance";
|
|
63
|
+
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
64
|
+
ReturnType: `0x${string}`;
|
|
65
|
+
}, {
|
|
66
|
+
Method: "eth_getBlockByHash";
|
|
67
|
+
Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
|
|
68
|
+
ReturnType: import("viem").RpcBlock | null;
|
|
69
|
+
}, {
|
|
70
|
+
Method: "eth_getBlockByNumber";
|
|
71
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
72
|
+
ReturnType: import("viem").RpcBlock | null;
|
|
73
|
+
}, {
|
|
74
|
+
Method: "eth_getBlockTransactionCountByHash";
|
|
75
|
+
Parameters: [hash: `0x${string}`];
|
|
76
|
+
ReturnType: `0x${string}`;
|
|
77
|
+
}, {
|
|
78
|
+
Method: "eth_getBlockTransactionCountByNumber";
|
|
79
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
80
|
+
ReturnType: `0x${string}`;
|
|
81
|
+
}, {
|
|
82
|
+
Method: "eth_getCode";
|
|
83
|
+
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
84
|
+
ReturnType: `0x${string}`;
|
|
85
|
+
}, {
|
|
86
|
+
Method: "eth_getFilterChanges";
|
|
87
|
+
Parameters: [filterId: `0x${string}`];
|
|
88
|
+
ReturnType: import("viem").RpcLog[] | `0x${string}`[];
|
|
89
|
+
}, {
|
|
90
|
+
Method: "eth_getFilterLogs";
|
|
91
|
+
Parameters: [filterId: `0x${string}`];
|
|
92
|
+
ReturnType: import("viem").RpcLog[];
|
|
93
|
+
}, {
|
|
94
|
+
Method: "eth_getLogs";
|
|
95
|
+
Parameters: [{
|
|
96
|
+
address?: `0x${string}` | `0x${string}`[];
|
|
97
|
+
topics?: import("viem").LogTopic[];
|
|
98
|
+
} & ({
|
|
99
|
+
fromBlock?: `0x${string}` | import("viem").BlockTag;
|
|
100
|
+
toBlock?: `0x${string}` | import("viem").BlockTag;
|
|
101
|
+
blockHash?: never;
|
|
102
|
+
} | {
|
|
103
|
+
fromBlock?: never;
|
|
104
|
+
toBlock?: never;
|
|
105
|
+
blockHash?: `0x${string}`;
|
|
106
|
+
})];
|
|
107
|
+
ReturnType: import("viem").RpcLog[];
|
|
108
|
+
}, {
|
|
109
|
+
Method: "eth_getProof";
|
|
110
|
+
Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
|
|
111
|
+
ReturnType: import("viem").RpcProof;
|
|
112
|
+
}, {
|
|
113
|
+
Method: "eth_getStorageAt";
|
|
114
|
+
Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
115
|
+
ReturnType: `0x${string}`;
|
|
116
|
+
}, {
|
|
117
|
+
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
118
|
+
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
119
|
+
ReturnType: import("viem").RpcTransaction | null;
|
|
120
|
+
}, {
|
|
121
|
+
Method: "eth_getTransactionByBlockNumberAndIndex";
|
|
122
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
123
|
+
ReturnType: import("viem").RpcTransaction | null;
|
|
124
|
+
}, {
|
|
125
|
+
Method: "eth_getTransactionByHash";
|
|
126
|
+
Parameters: [hash: `0x${string}`];
|
|
127
|
+
ReturnType: import("viem").RpcTransaction | null;
|
|
128
|
+
}, {
|
|
129
|
+
Method: "eth_getTransactionCount";
|
|
130
|
+
Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
131
|
+
ReturnType: `0x${string}`;
|
|
132
|
+
}, {
|
|
133
|
+
Method: "eth_getTransactionReceipt";
|
|
134
|
+
Parameters: [hash: `0x${string}`];
|
|
135
|
+
ReturnType: import("viem").RpcTransactionReceipt | null;
|
|
136
|
+
}, {
|
|
137
|
+
Method: "eth_getUncleByBlockHashAndIndex";
|
|
138
|
+
Parameters: [hash: `0x${string}`, index: `0x${string}`];
|
|
139
|
+
ReturnType: import("viem").RpcUncle | null;
|
|
140
|
+
}, {
|
|
141
|
+
Method: "eth_getUncleByBlockNumberAndIndex";
|
|
142
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
|
|
143
|
+
ReturnType: import("viem").RpcUncle | null;
|
|
144
|
+
}, {
|
|
145
|
+
Method: "eth_getUncleCountByBlockHash";
|
|
146
|
+
Parameters: [hash: `0x${string}`];
|
|
147
|
+
ReturnType: `0x${string}`;
|
|
148
|
+
}, {
|
|
149
|
+
Method: "eth_getUncleCountByBlockNumber";
|
|
150
|
+
Parameters: [block: `0x${string}` | import("viem").BlockTag];
|
|
151
|
+
ReturnType: `0x${string}`;
|
|
152
|
+
}, {
|
|
153
|
+
Method: "eth_maxPriorityFeePerGas";
|
|
154
|
+
Parameters?: undefined;
|
|
155
|
+
ReturnType: `0x${string}`;
|
|
156
|
+
}, {
|
|
157
|
+
Method: "eth_newBlockFilter";
|
|
158
|
+
Parameters?: undefined;
|
|
159
|
+
ReturnType: `0x${string}`;
|
|
160
|
+
}, {
|
|
161
|
+
Method: "eth_newFilter";
|
|
162
|
+
Parameters: [filter: {
|
|
163
|
+
fromBlock?: `0x${string}` | import("viem").BlockTag;
|
|
164
|
+
toBlock?: `0x${string}` | import("viem").BlockTag;
|
|
165
|
+
address?: `0x${string}` | `0x${string}`[];
|
|
166
|
+
topics?: import("viem").LogTopic[];
|
|
167
|
+
}];
|
|
168
|
+
ReturnType: `0x${string}`;
|
|
169
|
+
}, {
|
|
170
|
+
Method: "eth_newPendingTransactionFilter";
|
|
171
|
+
Parameters?: undefined;
|
|
172
|
+
ReturnType: `0x${string}`;
|
|
173
|
+
}, {
|
|
174
|
+
Method: "eth_protocolVersion";
|
|
175
|
+
Parameters?: undefined;
|
|
176
|
+
ReturnType: string;
|
|
177
|
+
}, {
|
|
178
|
+
Method: "eth_sendRawTransaction";
|
|
179
|
+
Parameters: [signedTransaction: `0x${string}`];
|
|
180
|
+
ReturnType: `0x${string}`;
|
|
181
|
+
}, {
|
|
182
|
+
Method: "eth_uninstallFilter";
|
|
183
|
+
Parameters: [filterId: `0x${string}`];
|
|
184
|
+
ReturnType: boolean;
|
|
185
|
+
}, {
|
|
186
|
+
Method: "eth_accounts";
|
|
187
|
+
Parameters?: undefined;
|
|
188
|
+
ReturnType: `0x${string}`[];
|
|
189
|
+
}, {
|
|
190
|
+
Method: "eth_chainId";
|
|
191
|
+
Parameters?: undefined;
|
|
192
|
+
ReturnType: `0x${string}`;
|
|
193
|
+
}, {
|
|
194
|
+
Method: "eth_estimateGas";
|
|
195
|
+
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
|
|
196
|
+
ReturnType: `0x${string}`;
|
|
197
|
+
}, {
|
|
198
|
+
Method: "eth_requestAccounts";
|
|
199
|
+
Parameters?: undefined;
|
|
200
|
+
ReturnType: `0x${string}`[];
|
|
201
|
+
}, {
|
|
202
|
+
Method: "eth_sendTransaction";
|
|
203
|
+
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
204
|
+
ReturnType: `0x${string}`;
|
|
205
|
+
}, {
|
|
206
|
+
Method: "eth_sendRawTransaction";
|
|
207
|
+
Parameters: [signedTransaction: `0x${string}`];
|
|
208
|
+
ReturnType: `0x${string}`;
|
|
209
|
+
}, {
|
|
210
|
+
Method: "eth_sign";
|
|
211
|
+
Parameters: [address: `0x${string}`, data: `0x${string}`];
|
|
212
|
+
ReturnType: `0x${string}`;
|
|
213
|
+
}, {
|
|
214
|
+
Method: "eth_signTransaction";
|
|
215
|
+
Parameters: [request: import("viem").RpcTransactionRequest];
|
|
216
|
+
ReturnType: `0x${string}`;
|
|
217
|
+
}, {
|
|
218
|
+
Method: "eth_signTypedData_v4";
|
|
219
|
+
Parameters: [address: `0x${string}`, message: string];
|
|
220
|
+
ReturnType: `0x${string}`;
|
|
221
|
+
}, {
|
|
222
|
+
Method: "eth_syncing";
|
|
223
|
+
Parameters?: undefined;
|
|
224
|
+
ReturnType: false | import("viem").NetworkSync;
|
|
225
|
+
}, {
|
|
226
|
+
Method: "personal_sign";
|
|
227
|
+
Parameters: [data: `0x${string}`, address: `0x${string}`];
|
|
228
|
+
ReturnType: `0x${string}`;
|
|
229
|
+
}, {
|
|
230
|
+
Method: "wallet_addEthereumChain";
|
|
231
|
+
Parameters: [chain: AddEthereumChainParameter];
|
|
232
|
+
ReturnType: null;
|
|
233
|
+
}, {
|
|
234
|
+
Method: "wallet_getPermissions";
|
|
235
|
+
Parameters?: undefined;
|
|
236
|
+
ReturnType: import("viem").WalletPermission[];
|
|
237
|
+
}, {
|
|
238
|
+
Method: "wallet_requestPermissions";
|
|
239
|
+
Parameters: [permissions: {
|
|
240
|
+
eth_accounts: Record<string, any>;
|
|
241
|
+
}];
|
|
242
|
+
ReturnType: import("viem").WalletPermission[];
|
|
243
|
+
}, {
|
|
244
|
+
Method: "wallet_switchEthereumChain";
|
|
245
|
+
Parameters: [chain: {
|
|
246
|
+
chainId: string;
|
|
247
|
+
}];
|
|
248
|
+
ReturnType: null;
|
|
249
|
+
}, {
|
|
250
|
+
Method: "wallet_watchAsset";
|
|
251
|
+
Parameters: import("viem").WatchAssetParams;
|
|
252
|
+
ReturnType: boolean;
|
|
253
|
+
}, {
|
|
254
|
+
Method: "eth_signTypedData_v4";
|
|
255
|
+
Parameters: [address: `0x${string}`, typedData: {
|
|
256
|
+
types: {
|
|
257
|
+
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
258
|
+
[x: `string[${string}]`]: undefined;
|
|
259
|
+
[x: `function[${string}]`]: undefined;
|
|
260
|
+
[x: `address[${string}]`]: undefined;
|
|
261
|
+
[x: `bool[${string}]`]: undefined;
|
|
262
|
+
[x: `bytes[${string}]`]: undefined;
|
|
263
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
264
|
+
[x: `bytes1[${string}]`]: undefined;
|
|
265
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
266
|
+
[x: `bytes5[${string}]`]: undefined;
|
|
267
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
268
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
269
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
270
|
+
[x: `bytes7[${string}]`]: undefined;
|
|
271
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
272
|
+
[x: `bytes9[${string}]`]: undefined;
|
|
273
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
274
|
+
[x: `bytes11[${string}]`]: undefined;
|
|
275
|
+
[x: `bytes12[${string}]`]: undefined;
|
|
276
|
+
[x: `bytes13[${string}]`]: undefined;
|
|
277
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
278
|
+
[x: `bytes15[${string}]`]: undefined;
|
|
279
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
280
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
281
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
282
|
+
[x: `bytes20[${string}]`]: undefined;
|
|
283
|
+
[x: `bytes21[${string}]`]: undefined;
|
|
284
|
+
[x: `bytes22[${string}]`]: undefined;
|
|
285
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
286
|
+
[x: `bytes24[${string}]`]: undefined;
|
|
287
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
288
|
+
[x: `bytes26[${string}]`]: undefined;
|
|
289
|
+
[x: `bytes27[${string}]`]: undefined;
|
|
290
|
+
[x: `bytes28[${string}]`]: undefined;
|
|
291
|
+
[x: `bytes29[${string}]`]: undefined;
|
|
292
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
293
|
+
[x: `bytes31[${string}]`]: undefined;
|
|
294
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
295
|
+
[x: `int[${string}]`]: undefined;
|
|
296
|
+
[x: `int40[${string}]`]: undefined;
|
|
297
|
+
[x: `int16[${string}]`]: undefined;
|
|
298
|
+
[x: `int56[${string}]`]: undefined;
|
|
299
|
+
[x: `int8[${string}]`]: undefined;
|
|
300
|
+
[x: `int24[${string}]`]: undefined;
|
|
301
|
+
[x: `int32[${string}]`]: undefined;
|
|
302
|
+
[x: `int48[${string}]`]: undefined;
|
|
303
|
+
[x: `int64[${string}]`]: undefined;
|
|
304
|
+
[x: `int72[${string}]`]: undefined;
|
|
305
|
+
[x: `int80[${string}]`]: undefined;
|
|
306
|
+
[x: `int88[${string}]`]: undefined;
|
|
307
|
+
[x: `int96[${string}]`]: undefined;
|
|
308
|
+
[x: `int104[${string}]`]: undefined;
|
|
309
|
+
[x: `int112[${string}]`]: undefined;
|
|
310
|
+
[x: `int120[${string}]`]: undefined;
|
|
311
|
+
[x: `int128[${string}]`]: undefined;
|
|
312
|
+
[x: `int136[${string}]`]: undefined;
|
|
313
|
+
[x: `int144[${string}]`]: undefined;
|
|
314
|
+
[x: `int152[${string}]`]: undefined;
|
|
315
|
+
[x: `int160[${string}]`]: undefined;
|
|
316
|
+
[x: `int168[${string}]`]: undefined;
|
|
317
|
+
[x: `int176[${string}]`]: undefined;
|
|
318
|
+
[x: `int184[${string}]`]: undefined;
|
|
319
|
+
[x: `int192[${string}]`]: undefined;
|
|
320
|
+
[x: `int200[${string}]`]: undefined;
|
|
321
|
+
[x: `int208[${string}]`]: undefined;
|
|
322
|
+
[x: `int216[${string}]`]: undefined;
|
|
323
|
+
[x: `int224[${string}]`]: undefined;
|
|
324
|
+
[x: `int232[${string}]`]: undefined;
|
|
325
|
+
[x: `int240[${string}]`]: undefined;
|
|
326
|
+
[x: `int248[${string}]`]: undefined;
|
|
327
|
+
[x: `int256[${string}]`]: undefined;
|
|
328
|
+
[x: `uint[${string}]`]: undefined;
|
|
329
|
+
[x: `uint40[${string}]`]: undefined;
|
|
330
|
+
[x: `uint16[${string}]`]: undefined;
|
|
331
|
+
[x: `uint56[${string}]`]: undefined;
|
|
332
|
+
[x: `uint8[${string}]`]: undefined;
|
|
333
|
+
[x: `uint24[${string}]`]: undefined;
|
|
334
|
+
[x: `uint32[${string}]`]: undefined;
|
|
335
|
+
[x: `uint48[${string}]`]: undefined;
|
|
336
|
+
[x: `uint64[${string}]`]: undefined;
|
|
337
|
+
[x: `uint72[${string}]`]: undefined;
|
|
338
|
+
[x: `uint80[${string}]`]: undefined;
|
|
339
|
+
[x: `uint88[${string}]`]: undefined;
|
|
340
|
+
[x: `uint96[${string}]`]: undefined;
|
|
341
|
+
[x: `uint104[${string}]`]: undefined;
|
|
342
|
+
[x: `uint112[${string}]`]: undefined;
|
|
343
|
+
[x: `uint120[${string}]`]: undefined;
|
|
344
|
+
[x: `uint128[${string}]`]: undefined;
|
|
345
|
+
[x: `uint136[${string}]`]: undefined;
|
|
346
|
+
[x: `uint144[${string}]`]: undefined;
|
|
347
|
+
[x: `uint152[${string}]`]: undefined;
|
|
348
|
+
[x: `uint160[${string}]`]: undefined;
|
|
349
|
+
[x: `uint168[${string}]`]: undefined;
|
|
350
|
+
[x: `uint176[${string}]`]: undefined;
|
|
351
|
+
[x: `uint184[${string}]`]: undefined;
|
|
352
|
+
[x: `uint192[${string}]`]: undefined;
|
|
353
|
+
[x: `uint200[${string}]`]: undefined;
|
|
354
|
+
[x: `uint208[${string}]`]: undefined;
|
|
355
|
+
[x: `uint216[${string}]`]: undefined;
|
|
356
|
+
[x: `uint224[${string}]`]: undefined;
|
|
357
|
+
[x: `uint232[${string}]`]: undefined;
|
|
358
|
+
[x: `uint240[${string}]`]: undefined;
|
|
359
|
+
[x: `uint248[${string}]`]: undefined;
|
|
360
|
+
[x: `uint256[${string}]`]: undefined;
|
|
361
|
+
string?: never;
|
|
362
|
+
address?: never;
|
|
363
|
+
bool?: never;
|
|
364
|
+
bytes?: never;
|
|
365
|
+
bytes4?: never;
|
|
366
|
+
bytes1?: never;
|
|
367
|
+
bytes2?: never;
|
|
368
|
+
bytes5?: never;
|
|
369
|
+
bytes3?: never;
|
|
370
|
+
bytes16?: never;
|
|
371
|
+
bytes6?: never;
|
|
372
|
+
bytes7?: never;
|
|
373
|
+
bytes8?: never;
|
|
374
|
+
bytes9?: never;
|
|
375
|
+
bytes10?: never;
|
|
376
|
+
bytes11?: never;
|
|
377
|
+
bytes12?: never;
|
|
378
|
+
bytes13?: never;
|
|
379
|
+
bytes14?: never;
|
|
380
|
+
bytes15?: never;
|
|
381
|
+
bytes17?: never;
|
|
382
|
+
bytes18?: never;
|
|
383
|
+
bytes19?: never;
|
|
384
|
+
bytes20?: never;
|
|
385
|
+
bytes21?: never;
|
|
386
|
+
bytes22?: never;
|
|
387
|
+
bytes23?: never;
|
|
388
|
+
bytes24?: never;
|
|
389
|
+
bytes25?: never;
|
|
390
|
+
bytes26?: never;
|
|
391
|
+
bytes27?: never;
|
|
392
|
+
bytes28?: never;
|
|
393
|
+
bytes29?: never;
|
|
394
|
+
bytes30?: never;
|
|
395
|
+
bytes31?: never;
|
|
396
|
+
bytes32?: never;
|
|
397
|
+
int40?: never;
|
|
398
|
+
int16?: never;
|
|
399
|
+
int56?: never;
|
|
400
|
+
int8?: never;
|
|
401
|
+
int24?: never;
|
|
402
|
+
int32?: never;
|
|
403
|
+
int48?: never;
|
|
404
|
+
int64?: never;
|
|
405
|
+
int72?: never;
|
|
406
|
+
int80?: never;
|
|
407
|
+
int88?: never;
|
|
408
|
+
int96?: never;
|
|
409
|
+
int104?: never;
|
|
410
|
+
int112?: never;
|
|
411
|
+
int120?: never;
|
|
412
|
+
int128?: never;
|
|
413
|
+
int136?: never;
|
|
414
|
+
int144?: never;
|
|
415
|
+
int152?: never;
|
|
416
|
+
int160?: never;
|
|
417
|
+
int168?: never;
|
|
418
|
+
int176?: never;
|
|
419
|
+
int184?: never;
|
|
420
|
+
int192?: never;
|
|
421
|
+
int200?: never;
|
|
422
|
+
int208?: never;
|
|
423
|
+
int216?: never;
|
|
424
|
+
int224?: never;
|
|
425
|
+
int232?: never;
|
|
426
|
+
int240?: never;
|
|
427
|
+
int248?: never;
|
|
428
|
+
int256?: never;
|
|
429
|
+
uint40?: never;
|
|
430
|
+
uint16?: never;
|
|
431
|
+
uint56?: never;
|
|
432
|
+
uint8?: never;
|
|
433
|
+
uint24?: never;
|
|
434
|
+
uint32?: never;
|
|
435
|
+
uint48?: never;
|
|
436
|
+
uint64?: never;
|
|
437
|
+
uint72?: never;
|
|
438
|
+
uint80?: never;
|
|
439
|
+
uint88?: never;
|
|
440
|
+
uint96?: never;
|
|
441
|
+
uint104?: never;
|
|
442
|
+
uint112?: never;
|
|
443
|
+
uint120?: never;
|
|
444
|
+
uint128?: never;
|
|
445
|
+
uint136?: never;
|
|
446
|
+
uint144?: never;
|
|
447
|
+
uint152?: never;
|
|
448
|
+
uint160?: never;
|
|
449
|
+
uint168?: never;
|
|
450
|
+
uint176?: never;
|
|
451
|
+
uint184?: never;
|
|
452
|
+
uint192?: never;
|
|
453
|
+
uint200?: never;
|
|
454
|
+
uint208?: never;
|
|
455
|
+
uint216?: never;
|
|
456
|
+
uint224?: never;
|
|
457
|
+
uint232?: never;
|
|
458
|
+
uint240?: never;
|
|
459
|
+
uint248?: never;
|
|
460
|
+
uint256?: never;
|
|
461
|
+
};
|
|
462
|
+
} & {
|
|
463
|
+
primaryType: string;
|
|
464
|
+
domain?: {
|
|
465
|
+
chainId?: number | undefined;
|
|
466
|
+
name?: string | undefined;
|
|
467
|
+
salt?: `0x${string}` | undefined;
|
|
468
|
+
verifyingContract?: `0x${string}` | undefined;
|
|
469
|
+
version?: string | undefined;
|
|
470
|
+
} | undefined;
|
|
471
|
+
message: Record<string, unknown>;
|
|
472
|
+
}];
|
|
473
|
+
ReturnType: Promise<`0x${string}`>;
|
|
474
|
+
}]>;
|
|
475
|
+
}>;
|
|
476
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAOL,KAAK,yBAAyB,EAK/B,MAAM,MAAM,CAAC;AAGd,OAAO,YAAY,MAAM,QAAQ,CAAC;AAElC,OAAO,KAAK,EAEV,uBAAuB,EACvB,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAMjB,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,eAAO,MAAM,qBAAqB,YACvB,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgUxC,CAAC"}
|