@ensdomains/ensjs 3.0.0-beta.2 → 3.0.0-beta.4
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/cjs/contracts/consts.js +46 -1
- package/dist/cjs/contracts/consts.js.map +1 -1
- package/dist/cjs/dns.js.map +1 -1
- package/dist/cjs/errors/version.js +1 -1
- package/dist/cjs/errors/version.js.map +1 -1
- package/dist/cjs/utils/index.js +19 -1
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/wallet.js.map +1 -1
- package/dist/esm/contracts/consts.js +46 -1
- package/dist/esm/contracts/consts.js.map +1 -1
- package/dist/esm/dns.js.map +1 -1
- package/dist/esm/errors/version.js +1 -1
- package/dist/esm/errors/version.js.map +1 -1
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/wallet.js.map +1 -1
- package/dist/types/clients/decorators/public.d.ts +1 -519
- package/dist/types/clients/decorators/public.d.ts.map +1 -1
- package/dist/types/clients/decorators/subgraph.d.ts +1 -519
- package/dist/types/clients/decorators/subgraph.d.ts.map +1 -1
- package/dist/types/clients/decorators/wallet.d.ts +31 -40
- package/dist/types/clients/decorators/wallet.d.ts.map +1 -1
- package/dist/types/clients/public.d.ts +21 -30
- package/dist/types/clients/public.d.ts.map +1 -1
- package/dist/types/clients/subgraph.d.ts +17 -26
- package/dist/types/clients/subgraph.d.ts.map +1 -1
- package/dist/types/clients/wallet.d.ts +58 -67
- package/dist/types/clients/wallet.d.ts.map +1 -1
- package/dist/types/contracts/consts.d.ts +45 -2
- package/dist/types/contracts/consts.d.ts.map +1 -1
- package/dist/types/dns.d.ts +1 -1
- package/dist/types/dns.d.ts.map +1 -1
- package/dist/types/errors/version.d.ts +1 -1
- package/dist/types/errors/version.d.ts.map +1 -1
- package/dist/types/functions/dns/importDnsName.d.ts +62 -80
- package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
- package/dist/types/functions/wallet/commitName.d.ts +62 -80
- package/dist/types/functions/wallet/commitName.d.ts.map +1 -1
- package/dist/types/functions/wallet/createSubname.d.ts +62 -80
- package/dist/types/functions/wallet/createSubname.d.ts.map +1 -1
- package/dist/types/functions/wallet/deleteSubname.d.ts +62 -80
- package/dist/types/functions/wallet/deleteSubname.d.ts.map +1 -1
- package/dist/types/functions/wallet/registerName.d.ts +62 -80
- package/dist/types/functions/wallet/registerName.d.ts.map +1 -1
- package/dist/types/functions/wallet/renewNames.d.ts +62 -80
- package/dist/types/functions/wallet/renewNames.d.ts.map +1 -1
- package/dist/types/functions/wallet/setAbiRecord.d.ts +62 -80
- package/dist/types/functions/wallet/setAbiRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/setAddressRecord.d.ts +62 -80
- package/dist/types/functions/wallet/setAddressRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/setChildFuses.d.ts +62 -80
- package/dist/types/functions/wallet/setChildFuses.d.ts.map +1 -1
- package/dist/types/functions/wallet/setContentHashRecord.d.ts +62 -80
- package/dist/types/functions/wallet/setContentHashRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/setFuses.d.ts +62 -80
- package/dist/types/functions/wallet/setFuses.d.ts.map +1 -1
- package/dist/types/functions/wallet/setPrimaryName.d.ts +62 -80
- package/dist/types/functions/wallet/setPrimaryName.d.ts.map +1 -1
- package/dist/types/functions/wallet/setRecords.d.ts +62 -80
- package/dist/types/functions/wallet/setRecords.d.ts.map +1 -1
- package/dist/types/functions/wallet/setResolver.d.ts +62 -80
- package/dist/types/functions/wallet/setResolver.d.ts.map +1 -1
- package/dist/types/functions/wallet/setTextRecord.d.ts +62 -80
- package/dist/types/functions/wallet/setTextRecord.d.ts.map +1 -1
- package/dist/types/functions/wallet/transferName.d.ts +63 -81
- package/dist/types/functions/wallet/transferName.d.ts.map +1 -1
- package/dist/types/functions/wallet/unwrapName.d.ts +62 -80
- package/dist/types/functions/wallet/unwrapName.d.ts.map +1 -1
- package/dist/types/functions/wallet/wrapName.d.ts +62 -80
- package/dist/types/functions/wallet/wrapName.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/wallet.d.ts +17 -17
- package/dist/types/wallet.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/clients/public.ts +1 -1
- package/src/clients/subgraph.ts +1 -1
- package/src/clients/wallet.ts +1 -1
- package/src/contracts/consts.ts +51 -12
- package/src/dns.ts +2 -0
- package/src/errors/version.ts +1 -1
- package/src/functions/wallet/transferName.ts +1 -1
- package/src/utils/index.ts +22 -0
- package/src/wallet.ts +34 -0
|
@@ -9,8 +9,12 @@ export type CommitNameReturnType = Hash;
|
|
|
9
9
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
10
10
|
account: TAccount;
|
|
11
11
|
batch?: {
|
|
12
|
-
multicall?: boolean |
|
|
12
|
+
multicall?: boolean | {
|
|
13
|
+
batchSize?: number | undefined;
|
|
14
|
+
wait?: number | undefined;
|
|
15
|
+
} | undefined;
|
|
13
16
|
} | undefined;
|
|
17
|
+
cacheTime: number;
|
|
14
18
|
chain: TChain;
|
|
15
19
|
key: string;
|
|
16
20
|
name: string;
|
|
@@ -19,33 +23,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
19
23
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
20
24
|
type: string;
|
|
21
25
|
uid: string;
|
|
22
|
-
extend: <TNextExtended extends {
|
|
23
|
-
account?: undefined;
|
|
24
|
-
batch?: undefined;
|
|
25
|
-
chain?: undefined;
|
|
26
|
-
key?: undefined;
|
|
27
|
-
name?: undefined;
|
|
28
|
-
pollingInterval?: undefined;
|
|
29
|
-
request?: undefined;
|
|
30
|
-
transport?: undefined;
|
|
31
|
-
type?: undefined;
|
|
32
|
-
uid?: undefined;
|
|
33
|
-
} & {
|
|
34
|
-
[key: string]: unknown;
|
|
35
|
-
} = {
|
|
36
|
-
account?: undefined;
|
|
37
|
-
batch?: undefined;
|
|
38
|
-
chain?: undefined;
|
|
39
|
-
key?: undefined;
|
|
40
|
-
name?: undefined;
|
|
41
|
-
pollingInterval?: undefined;
|
|
42
|
-
request?: undefined;
|
|
43
|
-
transport?: undefined;
|
|
44
|
-
type?: undefined;
|
|
45
|
-
uid?: undefined;
|
|
46
|
-
} & {
|
|
47
|
-
[key: string]: unknown;
|
|
48
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
49
26
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
50
27
|
deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
|
|
51
28
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -67,17 +44,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
67
44
|
[x: `address[${string}]`]: undefined;
|
|
68
45
|
[x: `bool[${string}]`]: undefined;
|
|
69
46
|
[x: `bytes[${string}]`]: undefined;
|
|
70
|
-
[x: `
|
|
71
|
-
[x: `
|
|
47
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
48
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
72
49
|
[x: `bytes16[${string}]`]: undefined;
|
|
73
50
|
[x: `bytes1[${string}]`]: undefined;
|
|
74
|
-
[x: `
|
|
51
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
75
52
|
[x: `bytes4[${string}]`]: undefined;
|
|
76
53
|
[x: `bytes5[${string}]`]: undefined;
|
|
77
54
|
[x: `bytes6[${string}]`]: undefined;
|
|
78
55
|
[x: `bytes7[${string}]`]: undefined;
|
|
56
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
79
57
|
[x: `bytes9[${string}]`]: undefined;
|
|
80
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
81
58
|
[x: `bytes11[${string}]`]: undefined;
|
|
82
59
|
[x: `bytes12[${string}]`]: undefined;
|
|
83
60
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -100,8 +77,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
100
77
|
[x: `bytes31[${string}]`]: undefined;
|
|
101
78
|
[x: `bytes32[${string}]`]: undefined;
|
|
102
79
|
[x: `int[${string}]`]: undefined;
|
|
103
|
-
[x: `int8[${string}]`]: undefined;
|
|
104
80
|
[x: `int16[${string}]`]: undefined;
|
|
81
|
+
[x: `int8[${string}]`]: undefined;
|
|
105
82
|
[x: `int24[${string}]`]: undefined;
|
|
106
83
|
[x: `int32[${string}]`]: undefined;
|
|
107
84
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -133,8 +110,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
133
110
|
[x: `int248[${string}]`]: undefined;
|
|
134
111
|
[x: `int256[${string}]`]: undefined;
|
|
135
112
|
[x: `uint[${string}]`]: undefined;
|
|
136
|
-
[x: `uint8[${string}]`]: undefined;
|
|
137
113
|
[x: `uint16[${string}]`]: undefined;
|
|
114
|
+
[x: `uint8[${string}]`]: undefined;
|
|
138
115
|
[x: `uint24[${string}]`]: undefined;
|
|
139
116
|
[x: `uint32[${string}]`]: undefined;
|
|
140
117
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -169,17 +146,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
169
146
|
address?: undefined;
|
|
170
147
|
bool?: undefined;
|
|
171
148
|
bytes?: undefined;
|
|
172
|
-
|
|
173
|
-
|
|
149
|
+
bytes3?: undefined;
|
|
150
|
+
bytes10?: undefined;
|
|
174
151
|
bytes16?: undefined;
|
|
175
152
|
bytes1?: undefined;
|
|
176
|
-
|
|
153
|
+
bytes2?: undefined;
|
|
177
154
|
bytes4?: undefined;
|
|
178
155
|
bytes5?: undefined;
|
|
179
156
|
bytes6?: undefined;
|
|
180
157
|
bytes7?: undefined;
|
|
158
|
+
bytes8?: undefined;
|
|
181
159
|
bytes9?: undefined;
|
|
182
|
-
bytes10?: undefined;
|
|
183
160
|
bytes11?: undefined;
|
|
184
161
|
bytes12?: undefined;
|
|
185
162
|
bytes13?: undefined;
|
|
@@ -201,8 +178,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
201
178
|
bytes30?: undefined;
|
|
202
179
|
bytes31?: undefined;
|
|
203
180
|
bytes32?: undefined;
|
|
204
|
-
int8?: undefined;
|
|
205
181
|
int16?: undefined;
|
|
182
|
+
int8?: undefined;
|
|
206
183
|
int24?: undefined;
|
|
207
184
|
int32?: undefined;
|
|
208
185
|
int40?: undefined;
|
|
@@ -233,8 +210,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
233
210
|
int240?: undefined;
|
|
234
211
|
int248?: undefined;
|
|
235
212
|
int256?: undefined;
|
|
236
|
-
uint8?: undefined;
|
|
237
213
|
uint16?: undefined;
|
|
214
|
+
uint8?: undefined;
|
|
238
215
|
uint24?: undefined;
|
|
239
216
|
uint32?: undefined;
|
|
240
217
|
uint40?: undefined;
|
|
@@ -269,6 +246,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
269
246
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
270
247
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
271
248
|
writeContract: <TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
249
|
+
extend: <const client extends {
|
|
250
|
+
[x: string]: unknown;
|
|
251
|
+
account?: undefined;
|
|
252
|
+
batch?: undefined;
|
|
253
|
+
cacheTime?: undefined;
|
|
254
|
+
chain?: undefined;
|
|
255
|
+
key?: undefined;
|
|
256
|
+
name?: undefined;
|
|
257
|
+
pollingInterval?: undefined;
|
|
258
|
+
request?: undefined;
|
|
259
|
+
transport?: undefined;
|
|
260
|
+
type?: undefined;
|
|
261
|
+
uid?: undefined;
|
|
262
|
+
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
|
|
272
263
|
}, args: CommitNameDataParameters) => CommitNameDataReturnType;
|
|
273
264
|
/**
|
|
274
265
|
* Commits a name to be registered
|
|
@@ -299,8 +290,12 @@ declare namespace commitName {
|
|
|
299
290
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
300
291
|
account: TAccount;
|
|
301
292
|
batch?: {
|
|
302
|
-
multicall?: boolean |
|
|
293
|
+
multicall?: boolean | {
|
|
294
|
+
batchSize?: number | undefined;
|
|
295
|
+
wait?: number | undefined;
|
|
296
|
+
} | undefined;
|
|
303
297
|
} | undefined;
|
|
298
|
+
cacheTime: number;
|
|
304
299
|
chain: TChain;
|
|
305
300
|
key: string;
|
|
306
301
|
name: string;
|
|
@@ -309,33 +304,6 @@ declare namespace commitName {
|
|
|
309
304
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
310
305
|
type: string;
|
|
311
306
|
uid: string;
|
|
312
|
-
extend: <TNextExtended extends {
|
|
313
|
-
account?: undefined;
|
|
314
|
-
batch?: undefined;
|
|
315
|
-
chain?: undefined;
|
|
316
|
-
key?: undefined;
|
|
317
|
-
name?: undefined;
|
|
318
|
-
pollingInterval?: undefined;
|
|
319
|
-
request?: undefined;
|
|
320
|
-
transport?: undefined;
|
|
321
|
-
type?: undefined;
|
|
322
|
-
uid?: undefined;
|
|
323
|
-
} & {
|
|
324
|
-
[key: string]: unknown;
|
|
325
|
-
} = {
|
|
326
|
-
account?: undefined;
|
|
327
|
-
batch?: undefined;
|
|
328
|
-
chain?: undefined;
|
|
329
|
-
key?: undefined;
|
|
330
|
-
name?: undefined;
|
|
331
|
-
pollingInterval?: undefined;
|
|
332
|
-
request?: undefined;
|
|
333
|
-
transport?: undefined;
|
|
334
|
-
type?: undefined;
|
|
335
|
-
uid?: undefined;
|
|
336
|
-
} & {
|
|
337
|
-
[key: string]: unknown;
|
|
338
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
339
307
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
340
308
|
deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
|
|
341
309
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -357,17 +325,17 @@ declare namespace commitName {
|
|
|
357
325
|
[x: `address[${string}]`]: undefined;
|
|
358
326
|
[x: `bool[${string}]`]: undefined;
|
|
359
327
|
[x: `bytes[${string}]`]: undefined;
|
|
360
|
-
[x: `
|
|
361
|
-
[x: `
|
|
328
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
329
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
362
330
|
[x: `bytes16[${string}]`]: undefined;
|
|
363
331
|
[x: `bytes1[${string}]`]: undefined;
|
|
364
|
-
[x: `
|
|
332
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
365
333
|
[x: `bytes4[${string}]`]: undefined;
|
|
366
334
|
[x: `bytes5[${string}]`]: undefined;
|
|
367
335
|
[x: `bytes6[${string}]`]: undefined;
|
|
368
336
|
[x: `bytes7[${string}]`]: undefined;
|
|
337
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
369
338
|
[x: `bytes9[${string}]`]: undefined;
|
|
370
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
371
339
|
[x: `bytes11[${string}]`]: undefined;
|
|
372
340
|
[x: `bytes12[${string}]`]: undefined;
|
|
373
341
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -390,8 +358,8 @@ declare namespace commitName {
|
|
|
390
358
|
[x: `bytes31[${string}]`]: undefined;
|
|
391
359
|
[x: `bytes32[${string}]`]: undefined;
|
|
392
360
|
[x: `int[${string}]`]: undefined;
|
|
393
|
-
[x: `int8[${string}]`]: undefined;
|
|
394
361
|
[x: `int16[${string}]`]: undefined;
|
|
362
|
+
[x: `int8[${string}]`]: undefined;
|
|
395
363
|
[x: `int24[${string}]`]: undefined;
|
|
396
364
|
[x: `int32[${string}]`]: undefined;
|
|
397
365
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -423,8 +391,8 @@ declare namespace commitName {
|
|
|
423
391
|
[x: `int248[${string}]`]: undefined;
|
|
424
392
|
[x: `int256[${string}]`]: undefined;
|
|
425
393
|
[x: `uint[${string}]`]: undefined;
|
|
426
|
-
[x: `uint8[${string}]`]: undefined;
|
|
427
394
|
[x: `uint16[${string}]`]: undefined;
|
|
395
|
+
[x: `uint8[${string}]`]: undefined;
|
|
428
396
|
[x: `uint24[${string}]`]: undefined;
|
|
429
397
|
[x: `uint32[${string}]`]: undefined;
|
|
430
398
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -459,17 +427,17 @@ declare namespace commitName {
|
|
|
459
427
|
address?: undefined;
|
|
460
428
|
bool?: undefined;
|
|
461
429
|
bytes?: undefined;
|
|
462
|
-
|
|
463
|
-
|
|
430
|
+
bytes3?: undefined;
|
|
431
|
+
bytes10?: undefined;
|
|
464
432
|
bytes16?: undefined;
|
|
465
433
|
bytes1?: undefined;
|
|
466
|
-
|
|
434
|
+
bytes2?: undefined;
|
|
467
435
|
bytes4?: undefined;
|
|
468
436
|
bytes5?: undefined;
|
|
469
437
|
bytes6?: undefined;
|
|
470
438
|
bytes7?: undefined;
|
|
439
|
+
bytes8?: undefined;
|
|
471
440
|
bytes9?: undefined;
|
|
472
|
-
bytes10?: undefined;
|
|
473
441
|
bytes11?: undefined;
|
|
474
442
|
bytes12?: undefined;
|
|
475
443
|
bytes13?: undefined;
|
|
@@ -491,8 +459,8 @@ declare namespace commitName {
|
|
|
491
459
|
bytes30?: undefined;
|
|
492
460
|
bytes31?: undefined;
|
|
493
461
|
bytes32?: undefined;
|
|
494
|
-
int8?: undefined;
|
|
495
462
|
int16?: undefined;
|
|
463
|
+
int8?: undefined;
|
|
496
464
|
int24?: undefined;
|
|
497
465
|
int32?: undefined;
|
|
498
466
|
int40?: undefined;
|
|
@@ -523,8 +491,8 @@ declare namespace commitName {
|
|
|
523
491
|
int240?: undefined;
|
|
524
492
|
int248?: undefined;
|
|
525
493
|
int256?: undefined;
|
|
526
|
-
uint8?: undefined;
|
|
527
494
|
uint16?: undefined;
|
|
495
|
+
uint8?: undefined;
|
|
528
496
|
uint24?: undefined;
|
|
529
497
|
uint32?: undefined;
|
|
530
498
|
uint40?: undefined;
|
|
@@ -559,6 +527,20 @@ declare namespace commitName {
|
|
|
559
527
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
560
528
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
561
529
|
writeContract: <TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
530
|
+
extend: <const client extends {
|
|
531
|
+
[x: string]: unknown;
|
|
532
|
+
account?: undefined;
|
|
533
|
+
batch?: undefined;
|
|
534
|
+
cacheTime?: undefined;
|
|
535
|
+
chain?: undefined;
|
|
536
|
+
key?: undefined;
|
|
537
|
+
name?: undefined;
|
|
538
|
+
pollingInterval?: undefined;
|
|
539
|
+
request?: undefined;
|
|
540
|
+
transport?: undefined;
|
|
541
|
+
type?: undefined;
|
|
542
|
+
uid?: undefined;
|
|
543
|
+
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
|
|
562
544
|
}, args: RegistrationParameters) => {
|
|
563
545
|
data: `0x${string}`;
|
|
564
546
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commitName.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/commitName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAI5E,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,gCAAgC,CAAA;AAGvC,MAAM,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAE7D,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,CAAA;AAE/D,MAAM,MAAM,oBAAoB,CAC9B,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,IAC7C,QAAQ,CACV,wBAAwB,GACtB,0BAA0B,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,CAC/D,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAA;AA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ACvB,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,GAAG,YAAY,EAE9D,MAAM,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAClD,EACE,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,EACN,eAAe,EACf,OAAO,EACP,aAAa,EACb,KAAK,EACL,GAAG,MAAM,EACV,EAAE,oBAAoB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAgB/B;kBAjCc,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCzB,eAAe,UAAU,CAAA"}
|
|
@@ -33,8 +33,12 @@ export type CreateSubnameReturnType = Hash;
|
|
|
33
33
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
34
34
|
account: TAccount;
|
|
35
35
|
batch?: {
|
|
36
|
-
multicall?: boolean |
|
|
36
|
+
multicall?: boolean | {
|
|
37
|
+
batchSize?: number | undefined;
|
|
38
|
+
wait?: number | undefined;
|
|
39
|
+
} | undefined;
|
|
37
40
|
} | undefined;
|
|
41
|
+
cacheTime: number;
|
|
38
42
|
chain: TChain;
|
|
39
43
|
key: string;
|
|
40
44
|
name: string;
|
|
@@ -43,33 +47,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
43
47
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
44
48
|
type: string;
|
|
45
49
|
uid: string;
|
|
46
|
-
extend: <TNextExtended extends {
|
|
47
|
-
account?: undefined;
|
|
48
|
-
batch?: undefined;
|
|
49
|
-
chain?: undefined;
|
|
50
|
-
key?: undefined;
|
|
51
|
-
name?: undefined;
|
|
52
|
-
pollingInterval?: undefined;
|
|
53
|
-
request?: undefined;
|
|
54
|
-
transport?: undefined;
|
|
55
|
-
type?: undefined;
|
|
56
|
-
uid?: undefined;
|
|
57
|
-
} & {
|
|
58
|
-
[key: string]: unknown;
|
|
59
|
-
} = {
|
|
60
|
-
account?: undefined;
|
|
61
|
-
batch?: undefined;
|
|
62
|
-
chain?: undefined;
|
|
63
|
-
key?: undefined;
|
|
64
|
-
name?: undefined;
|
|
65
|
-
pollingInterval?: undefined;
|
|
66
|
-
request?: undefined;
|
|
67
|
-
transport?: undefined;
|
|
68
|
-
type?: undefined;
|
|
69
|
-
uid?: undefined;
|
|
70
|
-
} & {
|
|
71
|
-
[key: string]: unknown;
|
|
72
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
73
50
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
74
51
|
deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
|
|
75
52
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -91,17 +68,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
91
68
|
[x: `address[${string}]`]: undefined;
|
|
92
69
|
[x: `bool[${string}]`]: undefined;
|
|
93
70
|
[x: `bytes[${string}]`]: undefined;
|
|
94
|
-
[x: `
|
|
95
|
-
[x: `
|
|
71
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
72
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
96
73
|
[x: `bytes16[${string}]`]: undefined;
|
|
97
74
|
[x: `bytes1[${string}]`]: undefined;
|
|
98
|
-
[x: `
|
|
75
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
99
76
|
[x: `bytes4[${string}]`]: undefined;
|
|
100
77
|
[x: `bytes5[${string}]`]: undefined;
|
|
101
78
|
[x: `bytes6[${string}]`]: undefined;
|
|
102
79
|
[x: `bytes7[${string}]`]: undefined;
|
|
80
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
103
81
|
[x: `bytes9[${string}]`]: undefined;
|
|
104
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
105
82
|
[x: `bytes11[${string}]`]: undefined;
|
|
106
83
|
[x: `bytes12[${string}]`]: undefined;
|
|
107
84
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -124,8 +101,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
124
101
|
[x: `bytes31[${string}]`]: undefined;
|
|
125
102
|
[x: `bytes32[${string}]`]: undefined;
|
|
126
103
|
[x: `int[${string}]`]: undefined;
|
|
127
|
-
[x: `int8[${string}]`]: undefined;
|
|
128
104
|
[x: `int16[${string}]`]: undefined;
|
|
105
|
+
[x: `int8[${string}]`]: undefined;
|
|
129
106
|
[x: `int24[${string}]`]: undefined;
|
|
130
107
|
[x: `int32[${string}]`]: undefined;
|
|
131
108
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -157,8 +134,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
157
134
|
[x: `int248[${string}]`]: undefined;
|
|
158
135
|
[x: `int256[${string}]`]: undefined;
|
|
159
136
|
[x: `uint[${string}]`]: undefined;
|
|
160
|
-
[x: `uint8[${string}]`]: undefined;
|
|
161
137
|
[x: `uint16[${string}]`]: undefined;
|
|
138
|
+
[x: `uint8[${string}]`]: undefined;
|
|
162
139
|
[x: `uint24[${string}]`]: undefined;
|
|
163
140
|
[x: `uint32[${string}]`]: undefined;
|
|
164
141
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -193,17 +170,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
193
170
|
address?: undefined;
|
|
194
171
|
bool?: undefined;
|
|
195
172
|
bytes?: undefined;
|
|
196
|
-
|
|
197
|
-
|
|
173
|
+
bytes3?: undefined;
|
|
174
|
+
bytes10?: undefined;
|
|
198
175
|
bytes16?: undefined;
|
|
199
176
|
bytes1?: undefined;
|
|
200
|
-
|
|
177
|
+
bytes2?: undefined;
|
|
201
178
|
bytes4?: undefined;
|
|
202
179
|
bytes5?: undefined;
|
|
203
180
|
bytes6?: undefined;
|
|
204
181
|
bytes7?: undefined;
|
|
182
|
+
bytes8?: undefined;
|
|
205
183
|
bytes9?: undefined;
|
|
206
|
-
bytes10?: undefined;
|
|
207
184
|
bytes11?: undefined;
|
|
208
185
|
bytes12?: undefined;
|
|
209
186
|
bytes13?: undefined;
|
|
@@ -225,8 +202,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
225
202
|
bytes30?: undefined;
|
|
226
203
|
bytes31?: undefined;
|
|
227
204
|
bytes32?: undefined;
|
|
228
|
-
int8?: undefined;
|
|
229
205
|
int16?: undefined;
|
|
206
|
+
int8?: undefined;
|
|
230
207
|
int24?: undefined;
|
|
231
208
|
int32?: undefined;
|
|
232
209
|
int40?: undefined;
|
|
@@ -257,8 +234,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
257
234
|
int240?: undefined;
|
|
258
235
|
int248?: undefined;
|
|
259
236
|
int256?: undefined;
|
|
260
|
-
uint8?: undefined;
|
|
261
237
|
uint16?: undefined;
|
|
238
|
+
uint8?: undefined;
|
|
262
239
|
uint24?: undefined;
|
|
263
240
|
uint32?: undefined;
|
|
264
241
|
uint40?: undefined;
|
|
@@ -293,6 +270,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
293
270
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
294
271
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
295
272
|
writeContract: <TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
273
|
+
extend: <const client extends {
|
|
274
|
+
[x: string]: unknown;
|
|
275
|
+
account?: undefined;
|
|
276
|
+
batch?: undefined;
|
|
277
|
+
cacheTime?: undefined;
|
|
278
|
+
chain?: undefined;
|
|
279
|
+
key?: undefined;
|
|
280
|
+
name?: undefined;
|
|
281
|
+
pollingInterval?: undefined;
|
|
282
|
+
request?: undefined;
|
|
283
|
+
transport?: undefined;
|
|
284
|
+
type?: undefined;
|
|
285
|
+
uid?: undefined;
|
|
286
|
+
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
|
|
296
287
|
}, { name, contract, owner, resolverAddress, expiry, fuses, }: CreateSubnameDataParameters) => CreateSubnameDataReturnType;
|
|
297
288
|
/**
|
|
298
289
|
* Creates a subname
|
|
@@ -321,8 +312,12 @@ declare namespace createSubname {
|
|
|
321
312
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
322
313
|
account: TAccount;
|
|
323
314
|
batch?: {
|
|
324
|
-
multicall?: boolean |
|
|
315
|
+
multicall?: boolean | {
|
|
316
|
+
batchSize?: number | undefined;
|
|
317
|
+
wait?: number | undefined;
|
|
318
|
+
} | undefined;
|
|
325
319
|
} | undefined;
|
|
320
|
+
cacheTime: number;
|
|
326
321
|
chain: TChain;
|
|
327
322
|
key: string;
|
|
328
323
|
name: string;
|
|
@@ -331,33 +326,6 @@ declare namespace createSubname {
|
|
|
331
326
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
332
327
|
type: string;
|
|
333
328
|
uid: string;
|
|
334
|
-
extend: <TNextExtended extends {
|
|
335
|
-
account?: undefined;
|
|
336
|
-
batch?: undefined;
|
|
337
|
-
chain?: undefined;
|
|
338
|
-
key?: undefined;
|
|
339
|
-
name?: undefined;
|
|
340
|
-
pollingInterval?: undefined;
|
|
341
|
-
request?: undefined;
|
|
342
|
-
transport?: undefined;
|
|
343
|
-
type?: undefined;
|
|
344
|
-
uid?: undefined;
|
|
345
|
-
} & {
|
|
346
|
-
[key: string]: unknown;
|
|
347
|
-
} = {
|
|
348
|
-
account?: undefined;
|
|
349
|
-
batch?: undefined;
|
|
350
|
-
chain?: undefined;
|
|
351
|
-
key?: undefined;
|
|
352
|
-
name?: undefined;
|
|
353
|
-
pollingInterval?: undefined;
|
|
354
|
-
request?: undefined;
|
|
355
|
-
transport?: undefined;
|
|
356
|
-
type?: undefined;
|
|
357
|
-
uid?: undefined;
|
|
358
|
-
} & {
|
|
359
|
-
[key: string]: unknown;
|
|
360
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
361
329
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
362
330
|
deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
|
|
363
331
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -379,17 +347,17 @@ declare namespace createSubname {
|
|
|
379
347
|
[x: `address[${string}]`]: undefined;
|
|
380
348
|
[x: `bool[${string}]`]: undefined;
|
|
381
349
|
[x: `bytes[${string}]`]: undefined;
|
|
382
|
-
[x: `
|
|
383
|
-
[x: `
|
|
350
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
351
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
384
352
|
[x: `bytes16[${string}]`]: undefined;
|
|
385
353
|
[x: `bytes1[${string}]`]: undefined;
|
|
386
|
-
[x: `
|
|
354
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
387
355
|
[x: `bytes4[${string}]`]: undefined;
|
|
388
356
|
[x: `bytes5[${string}]`]: undefined;
|
|
389
357
|
[x: `bytes6[${string}]`]: undefined;
|
|
390
358
|
[x: `bytes7[${string}]`]: undefined;
|
|
359
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
391
360
|
[x: `bytes9[${string}]`]: undefined;
|
|
392
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
393
361
|
[x: `bytes11[${string}]`]: undefined;
|
|
394
362
|
[x: `bytes12[${string}]`]: undefined;
|
|
395
363
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -412,8 +380,8 @@ declare namespace createSubname {
|
|
|
412
380
|
[x: `bytes31[${string}]`]: undefined;
|
|
413
381
|
[x: `bytes32[${string}]`]: undefined;
|
|
414
382
|
[x: `int[${string}]`]: undefined;
|
|
415
|
-
[x: `int8[${string}]`]: undefined;
|
|
416
383
|
[x: `int16[${string}]`]: undefined;
|
|
384
|
+
[x: `int8[${string}]`]: undefined;
|
|
417
385
|
[x: `int24[${string}]`]: undefined;
|
|
418
386
|
[x: `int32[${string}]`]: undefined;
|
|
419
387
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -445,8 +413,8 @@ declare namespace createSubname {
|
|
|
445
413
|
[x: `int248[${string}]`]: undefined;
|
|
446
414
|
[x: `int256[${string}]`]: undefined;
|
|
447
415
|
[x: `uint[${string}]`]: undefined;
|
|
448
|
-
[x: `uint8[${string}]`]: undefined;
|
|
449
416
|
[x: `uint16[${string}]`]: undefined;
|
|
417
|
+
[x: `uint8[${string}]`]: undefined;
|
|
450
418
|
[x: `uint24[${string}]`]: undefined;
|
|
451
419
|
[x: `uint32[${string}]`]: undefined;
|
|
452
420
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -481,17 +449,17 @@ declare namespace createSubname {
|
|
|
481
449
|
address?: undefined;
|
|
482
450
|
bool?: undefined;
|
|
483
451
|
bytes?: undefined;
|
|
484
|
-
|
|
485
|
-
|
|
452
|
+
bytes3?: undefined;
|
|
453
|
+
bytes10?: undefined;
|
|
486
454
|
bytes16?: undefined;
|
|
487
455
|
bytes1?: undefined;
|
|
488
|
-
|
|
456
|
+
bytes2?: undefined;
|
|
489
457
|
bytes4?: undefined;
|
|
490
458
|
bytes5?: undefined;
|
|
491
459
|
bytes6?: undefined;
|
|
492
460
|
bytes7?: undefined;
|
|
461
|
+
bytes8?: undefined;
|
|
493
462
|
bytes9?: undefined;
|
|
494
|
-
bytes10?: undefined;
|
|
495
463
|
bytes11?: undefined;
|
|
496
464
|
bytes12?: undefined;
|
|
497
465
|
bytes13?: undefined;
|
|
@@ -513,8 +481,8 @@ declare namespace createSubname {
|
|
|
513
481
|
bytes30?: undefined;
|
|
514
482
|
bytes31?: undefined;
|
|
515
483
|
bytes32?: undefined;
|
|
516
|
-
int8?: undefined;
|
|
517
484
|
int16?: undefined;
|
|
485
|
+
int8?: undefined;
|
|
518
486
|
int24?: undefined;
|
|
519
487
|
int32?: undefined;
|
|
520
488
|
int40?: undefined;
|
|
@@ -545,8 +513,8 @@ declare namespace createSubname {
|
|
|
545
513
|
int240?: undefined;
|
|
546
514
|
int248?: undefined;
|
|
547
515
|
int256?: undefined;
|
|
548
|
-
uint8?: undefined;
|
|
549
516
|
uint16?: undefined;
|
|
517
|
+
uint8?: undefined;
|
|
550
518
|
uint24?: undefined;
|
|
551
519
|
uint32?: undefined;
|
|
552
520
|
uint40?: undefined;
|
|
@@ -581,6 +549,20 @@ declare namespace createSubname {
|
|
|
581
549
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
582
550
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
583
551
|
writeContract: <TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
552
|
+
extend: <const client extends {
|
|
553
|
+
[x: string]: unknown;
|
|
554
|
+
account?: undefined;
|
|
555
|
+
batch?: undefined;
|
|
556
|
+
cacheTime?: undefined;
|
|
557
|
+
chain?: undefined;
|
|
558
|
+
key?: undefined;
|
|
559
|
+
name?: undefined;
|
|
560
|
+
pollingInterval?: undefined;
|
|
561
|
+
request?: undefined;
|
|
562
|
+
transport?: undefined;
|
|
563
|
+
type?: undefined;
|
|
564
|
+
uid?: undefined;
|
|
565
|
+
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
|
|
584
566
|
}, { name, contract, owner, resolverAddress, expiry, fuses, }: CreateSubnameDataParameters) => {
|
|
585
567
|
data: `0x${string}`;
|
|
586
568
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSubname.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/createSubname.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAQ5E,OAAO,KAAK,EACV,OAAO,EACP,QAAQ,EACR,wBAAwB,EACxB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