@zoralabs/protocol-sdk 0.2.0 → 0.3.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.
@@ -1,451 +0,0 @@
1
- export declare const walletClientWithAccount: {
2
- account: undefined;
3
- batch?: {
4
- multicall?: boolean | {
5
- batchSize?: number | undefined;
6
- wait?: number | undefined;
7
- } | undefined;
8
- } | undefined;
9
- cacheTime: number;
10
- chain: import("viem/_types/types/utils").Assign<{
11
- readonly id: 31337;
12
- readonly name: "Foundry";
13
- readonly network: "foundry";
14
- readonly nativeCurrency: {
15
- readonly decimals: 18;
16
- readonly name: "Ether";
17
- readonly symbol: "ETH";
18
- };
19
- readonly rpcUrls: {
20
- readonly default: {
21
- readonly http: readonly ["http://127.0.0.1:8545"];
22
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
23
- };
24
- readonly public: {
25
- readonly http: readonly ["http://127.0.0.1:8545"];
26
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
27
- };
28
- };
29
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>;
30
- key: string;
31
- name: string;
32
- pollingInterval: number;
33
- request: import("viem").EIP1193RequestFn<import("viem").WalletRpcSchema>;
34
- transport: import("viem").TransportConfig<"http", import("viem").EIP1193RequestFn> & {
35
- url?: string | undefined;
36
- };
37
- type: string;
38
- uid: string;
39
- addChain: (args: import("viem").AddChainParameters) => Promise<void>;
40
- deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, import("viem/_types/types/utils").Assign<{
41
- readonly id: 31337;
42
- readonly name: "Foundry";
43
- readonly network: "foundry";
44
- readonly nativeCurrency: {
45
- readonly decimals: 18;
46
- readonly name: "Ether";
47
- readonly symbol: "ETH";
48
- };
49
- readonly rpcUrls: {
50
- readonly default: {
51
- readonly http: readonly ["http://127.0.0.1:8545"];
52
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
53
- };
54
- readonly public: {
55
- readonly http: readonly ["http://127.0.0.1:8545"];
56
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
57
- };
58
- };
59
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined, TChainOverride>) => Promise<`0x${string}`>;
60
- getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
61
- getChainId: () => Promise<number>;
62
- getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
63
- prepareTransactionRequest: <TChainOverride_1 extends import("viem").Chain | undefined>(args: import("viem").PrepareTransactionRequestParameters<import("viem/_types/types/utils").Assign<{
64
- readonly id: 31337;
65
- readonly name: "Foundry";
66
- readonly network: "foundry";
67
- readonly nativeCurrency: {
68
- readonly decimals: 18;
69
- readonly name: "Ether";
70
- readonly symbol: "ETH";
71
- };
72
- readonly rpcUrls: {
73
- readonly default: {
74
- readonly http: readonly ["http://127.0.0.1:8545"];
75
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
76
- };
77
- readonly public: {
78
- readonly http: readonly ["http://127.0.0.1:8545"];
79
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
80
- };
81
- };
82
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
83
- requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
84
- requestPermissions: (args: {
85
- [x: string]: Record<string, any>;
86
- eth_accounts: Record<string, any>;
87
- }) => Promise<import("viem").RequestPermissionsReturnType>;
88
- sendRawTransaction: (args: import("viem/_types/actions/wallet/sendRawTransaction").SendRawTransactionParameters) => Promise<`0x${string}`>;
89
- sendTransaction: <TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").SendTransactionParameters<import("viem/_types/types/utils").Assign<{
90
- readonly id: 31337;
91
- readonly name: "Foundry";
92
- readonly network: "foundry";
93
- readonly nativeCurrency: {
94
- readonly decimals: 18;
95
- readonly name: "Ether";
96
- readonly symbol: "ETH";
97
- };
98
- readonly rpcUrls: {
99
- readonly default: {
100
- readonly http: readonly ["http://127.0.0.1:8545"];
101
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
102
- };
103
- readonly public: {
104
- readonly http: readonly ["http://127.0.0.1:8545"];
105
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
106
- };
107
- };
108
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined, TChainOverride_2>) => Promise<`0x${string}`>;
109
- signMessage: (args: import("viem").SignMessageParameters<undefined>) => Promise<`0x${string}`>;
110
- signTransaction: <TChainOverride_3 extends import("viem").Chain | undefined>(args: import("viem/_types/actions/wallet/signTransaction").SignTransactionParameters<import("viem/_types/types/utils").Assign<{
111
- readonly id: 31337;
112
- readonly name: "Foundry";
113
- readonly network: "foundry";
114
- readonly nativeCurrency: {
115
- readonly decimals: 18;
116
- readonly name: "Ether";
117
- readonly symbol: "ETH";
118
- };
119
- readonly rpcUrls: {
120
- readonly default: {
121
- readonly http: readonly ["http://127.0.0.1:8545"];
122
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
123
- };
124
- readonly public: {
125
- readonly http: readonly ["http://127.0.0.1:8545"];
126
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
127
- };
128
- };
129
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined, TChainOverride_3>) => Promise<`0x${string}`>;
130
- signTypedData: <const TTypedData extends {
131
- [x: string]: readonly import("viem").TypedDataParameter[];
132
- [x: `string[${string}]`]: undefined;
133
- [x: `function[${string}]`]: undefined;
134
- [x: `address[${string}]`]: undefined;
135
- [x: `bool[${string}]`]: undefined;
136
- [x: `bytes[${string}]`]: undefined;
137
- [x: `bytes16[${string}]`]: undefined;
138
- [x: `bytes1[${string}]`]: undefined;
139
- [x: `bytes2[${string}]`]: undefined;
140
- [x: `bytes3[${string}]`]: undefined;
141
- [x: `bytes4[${string}]`]: undefined;
142
- [x: `bytes5[${string}]`]: undefined;
143
- [x: `bytes6[${string}]`]: undefined;
144
- [x: `bytes7[${string}]`]: undefined;
145
- [x: `bytes8[${string}]`]: undefined;
146
- [x: `bytes9[${string}]`]: undefined;
147
- [x: `bytes10[${string}]`]: undefined;
148
- [x: `bytes11[${string}]`]: undefined;
149
- [x: `bytes12[${string}]`]: undefined;
150
- [x: `bytes13[${string}]`]: undefined;
151
- [x: `bytes14[${string}]`]: undefined;
152
- [x: `bytes15[${string}]`]: undefined;
153
- [x: `bytes17[${string}]`]: undefined;
154
- [x: `bytes18[${string}]`]: undefined;
155
- [x: `bytes19[${string}]`]: undefined;
156
- [x: `bytes20[${string}]`]: undefined;
157
- [x: `bytes21[${string}]`]: undefined;
158
- [x: `bytes22[${string}]`]: undefined;
159
- [x: `bytes23[${string}]`]: undefined;
160
- [x: `bytes24[${string}]`]: undefined;
161
- [x: `bytes25[${string}]`]: undefined;
162
- [x: `bytes26[${string}]`]: undefined;
163
- [x: `bytes27[${string}]`]: undefined;
164
- [x: `bytes28[${string}]`]: undefined;
165
- [x: `bytes29[${string}]`]: undefined;
166
- [x: `bytes30[${string}]`]: undefined;
167
- [x: `bytes31[${string}]`]: undefined;
168
- [x: `bytes32[${string}]`]: undefined;
169
- [x: `int[${string}]`]: undefined;
170
- [x: `int16[${string}]`]: undefined;
171
- [x: `int8[${string}]`]: undefined;
172
- [x: `int24[${string}]`]: undefined;
173
- [x: `int32[${string}]`]: undefined;
174
- [x: `int40[${string}]`]: undefined;
175
- [x: `int48[${string}]`]: undefined;
176
- [x: `int56[${string}]`]: undefined;
177
- [x: `int64[${string}]`]: undefined;
178
- [x: `int72[${string}]`]: undefined;
179
- [x: `int80[${string}]`]: undefined;
180
- [x: `int88[${string}]`]: undefined;
181
- [x: `int96[${string}]`]: undefined;
182
- [x: `int104[${string}]`]: undefined;
183
- [x: `int112[${string}]`]: undefined;
184
- [x: `int120[${string}]`]: undefined;
185
- [x: `int128[${string}]`]: undefined;
186
- [x: `int136[${string}]`]: undefined;
187
- [x: `int144[${string}]`]: undefined;
188
- [x: `int152[${string}]`]: undefined;
189
- [x: `int160[${string}]`]: undefined;
190
- [x: `int168[${string}]`]: undefined;
191
- [x: `int176[${string}]`]: undefined;
192
- [x: `int184[${string}]`]: undefined;
193
- [x: `int192[${string}]`]: undefined;
194
- [x: `int200[${string}]`]: undefined;
195
- [x: `int208[${string}]`]: undefined;
196
- [x: `int216[${string}]`]: undefined;
197
- [x: `int224[${string}]`]: undefined;
198
- [x: `int232[${string}]`]: undefined;
199
- [x: `int240[${string}]`]: undefined;
200
- [x: `int248[${string}]`]: undefined;
201
- [x: `int256[${string}]`]: undefined;
202
- [x: `uint[${string}]`]: undefined;
203
- [x: `uint16[${string}]`]: undefined;
204
- [x: `uint8[${string}]`]: undefined;
205
- [x: `uint24[${string}]`]: undefined;
206
- [x: `uint32[${string}]`]: undefined;
207
- [x: `uint40[${string}]`]: undefined;
208
- [x: `uint48[${string}]`]: undefined;
209
- [x: `uint56[${string}]`]: undefined;
210
- [x: `uint64[${string}]`]: undefined;
211
- [x: `uint72[${string}]`]: undefined;
212
- [x: `uint80[${string}]`]: undefined;
213
- [x: `uint88[${string}]`]: undefined;
214
- [x: `uint96[${string}]`]: undefined;
215
- [x: `uint104[${string}]`]: undefined;
216
- [x: `uint112[${string}]`]: undefined;
217
- [x: `uint120[${string}]`]: undefined;
218
- [x: `uint128[${string}]`]: undefined;
219
- [x: `uint136[${string}]`]: undefined;
220
- [x: `uint144[${string}]`]: undefined;
221
- [x: `uint152[${string}]`]: undefined;
222
- [x: `uint160[${string}]`]: undefined;
223
- [x: `uint168[${string}]`]: undefined;
224
- [x: `uint176[${string}]`]: undefined;
225
- [x: `uint184[${string}]`]: undefined;
226
- [x: `uint192[${string}]`]: undefined;
227
- [x: `uint200[${string}]`]: undefined;
228
- [x: `uint208[${string}]`]: undefined;
229
- [x: `uint216[${string}]`]: undefined;
230
- [x: `uint224[${string}]`]: undefined;
231
- [x: `uint232[${string}]`]: undefined;
232
- [x: `uint240[${string}]`]: undefined;
233
- [x: `uint248[${string}]`]: undefined;
234
- [x: `uint256[${string}]`]: undefined;
235
- string?: undefined;
236
- address?: undefined;
237
- bool?: undefined;
238
- bytes?: undefined;
239
- bytes16?: undefined;
240
- bytes1?: undefined;
241
- bytes2?: undefined;
242
- bytes3?: undefined;
243
- bytes4?: undefined;
244
- bytes5?: undefined;
245
- bytes6?: undefined;
246
- bytes7?: undefined;
247
- bytes8?: undefined;
248
- bytes9?: undefined;
249
- bytes10?: undefined;
250
- bytes11?: undefined;
251
- bytes12?: undefined;
252
- bytes13?: undefined;
253
- bytes14?: undefined;
254
- bytes15?: undefined;
255
- bytes17?: undefined;
256
- bytes18?: undefined;
257
- bytes19?: undefined;
258
- bytes20?: undefined;
259
- bytes21?: undefined;
260
- bytes22?: undefined;
261
- bytes23?: undefined;
262
- bytes24?: undefined;
263
- bytes25?: undefined;
264
- bytes26?: undefined;
265
- bytes27?: undefined;
266
- bytes28?: undefined;
267
- bytes29?: undefined;
268
- bytes30?: undefined;
269
- bytes31?: undefined;
270
- bytes32?: undefined;
271
- int16?: undefined;
272
- int8?: undefined;
273
- int24?: undefined;
274
- int32?: undefined;
275
- int40?: undefined;
276
- int48?: undefined;
277
- int56?: undefined;
278
- int64?: undefined;
279
- int72?: undefined;
280
- int80?: undefined;
281
- int88?: undefined;
282
- int96?: undefined;
283
- int104?: undefined;
284
- int112?: undefined;
285
- int120?: undefined;
286
- int128?: undefined;
287
- int136?: undefined;
288
- int144?: undefined;
289
- int152?: undefined;
290
- int160?: undefined;
291
- int168?: undefined;
292
- int176?: undefined;
293
- int184?: undefined;
294
- int192?: undefined;
295
- int200?: undefined;
296
- int208?: undefined;
297
- int216?: undefined;
298
- int224?: undefined;
299
- int232?: undefined;
300
- int240?: undefined;
301
- int248?: undefined;
302
- int256?: undefined;
303
- uint16?: undefined;
304
- uint8?: undefined;
305
- uint24?: undefined;
306
- uint32?: undefined;
307
- uint40?: undefined;
308
- uint48?: undefined;
309
- uint56?: undefined;
310
- uint64?: undefined;
311
- uint72?: undefined;
312
- uint80?: undefined;
313
- uint88?: undefined;
314
- uint96?: undefined;
315
- uint104?: undefined;
316
- uint112?: undefined;
317
- uint120?: undefined;
318
- uint128?: undefined;
319
- uint136?: undefined;
320
- uint144?: undefined;
321
- uint152?: undefined;
322
- uint160?: undefined;
323
- uint168?: undefined;
324
- uint176?: undefined;
325
- uint184?: undefined;
326
- uint192?: undefined;
327
- uint200?: undefined;
328
- uint208?: undefined;
329
- uint216?: undefined;
330
- uint224?: undefined;
331
- uint232?: undefined;
332
- uint240?: undefined;
333
- uint248?: undefined;
334
- uint256?: undefined;
335
- } | {
336
- [key: string]: unknown;
337
- }, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, undefined>) => Promise<`0x${string}`>;
338
- switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
339
- watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
340
- writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, import("viem/_types/types/utils").Assign<{
341
- readonly id: 31337;
342
- readonly name: "Foundry";
343
- readonly network: "foundry";
344
- readonly nativeCurrency: {
345
- readonly decimals: 18;
346
- readonly name: "Ether";
347
- readonly symbol: "ETH";
348
- };
349
- readonly rpcUrls: {
350
- readonly default: {
351
- readonly http: readonly ["http://127.0.0.1:8545"];
352
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
353
- };
354
- readonly public: {
355
- readonly http: readonly ["http://127.0.0.1:8545"];
356
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
357
- };
358
- };
359
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined, TChainOverride_4>) => Promise<`0x${string}`>;
360
- extend: <const client extends {
361
- [x: string]: unknown;
362
- account?: undefined;
363
- batch?: undefined;
364
- cacheTime?: undefined;
365
- chain?: undefined;
366
- key?: undefined;
367
- name?: undefined;
368
- pollingInterval?: undefined;
369
- request?: undefined;
370
- transport?: undefined;
371
- type?: undefined;
372
- uid?: undefined;
373
- }>(fn: (client: import("viem").Client<import("viem").HttpTransport, import("viem/_types/types/utils").Assign<{
374
- readonly id: 31337;
375
- readonly name: "Foundry";
376
- readonly network: "foundry";
377
- readonly nativeCurrency: {
378
- readonly decimals: 18;
379
- readonly name: "Ether";
380
- readonly symbol: "ETH";
381
- };
382
- readonly rpcUrls: {
383
- readonly default: {
384
- readonly http: readonly ["http://127.0.0.1:8545"];
385
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
386
- };
387
- readonly public: {
388
- readonly http: readonly ["http://127.0.0.1:8545"];
389
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
390
- };
391
- };
392
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined, import("viem").WalletRpcSchema, import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
393
- readonly id: 31337;
394
- readonly name: "Foundry";
395
- readonly network: "foundry";
396
- readonly nativeCurrency: {
397
- readonly decimals: 18;
398
- readonly name: "Ether";
399
- readonly symbol: "ETH";
400
- };
401
- readonly rpcUrls: {
402
- readonly default: {
403
- readonly http: readonly ["http://127.0.0.1:8545"];
404
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
405
- };
406
- readonly public: {
407
- readonly http: readonly ["http://127.0.0.1:8545"];
408
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
409
- };
410
- };
411
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined>>) => client) => import("viem").Client<import("viem").HttpTransport, import("viem/_types/types/utils").Assign<{
412
- readonly id: 31337;
413
- readonly name: "Foundry";
414
- readonly network: "foundry";
415
- readonly nativeCurrency: {
416
- readonly decimals: 18;
417
- readonly name: "Ether";
418
- readonly symbol: "ETH";
419
- };
420
- readonly rpcUrls: {
421
- readonly default: {
422
- readonly http: readonly ["http://127.0.0.1:8545"];
423
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
424
- };
425
- readonly public: {
426
- readonly http: readonly ["http://127.0.0.1:8545"];
427
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
428
- };
429
- };
430
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
431
- readonly id: 31337;
432
- readonly name: "Foundry";
433
- readonly network: "foundry";
434
- readonly nativeCurrency: {
435
- readonly decimals: 18;
436
- readonly name: "Ether";
437
- readonly symbol: "ETH";
438
- };
439
- readonly rpcUrls: {
440
- readonly default: {
441
- readonly http: readonly ["http://127.0.0.1:8545"];
442
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
443
- };
444
- readonly public: {
445
- readonly http: readonly ["http://127.0.0.1:8545"];
446
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
447
- };
448
- };
449
- }, import("viem/_types/types/chain").ChainConfig<import("viem").ChainFormatters>>, undefined>>;
450
- };
451
- //# sourceMappingURL=preminter.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preminter.test.d.ts","sourceRoot":"","sources":["../src/preminter.test.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlC,CAAC"}