@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
|
@@ -22,15 +22,19 @@ type BaseRegistrarTransferNameDataParameters = {
|
|
|
22
22
|
reclaim?: boolean;
|
|
23
23
|
asParent?: never;
|
|
24
24
|
};
|
|
25
|
-
type TransferNameDataParameters = BaseTransferNameDataParameters & (RegistryOrNameWrapperTransferNameDataParameters | BaseRegistrarTransferNameDataParameters);
|
|
25
|
+
export type TransferNameDataParameters = BaseTransferNameDataParameters & (RegistryOrNameWrapperTransferNameDataParameters | BaseRegistrarTransferNameDataParameters);
|
|
26
26
|
export type TransferNameDataReturnType = SimpleTransactionRequest;
|
|
27
27
|
export type TransferNameParameters<TChain extends ChainWithEns, TAccount extends Account | undefined, TChainOverride extends ChainWithEns | undefined> = Prettify<TransferNameDataParameters & WriteTransactionParameters<TChain, TAccount, TChainOverride>>;
|
|
28
28
|
export type TransferNameReturnType = Hash;
|
|
29
29
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account>(wallet: {
|
|
30
30
|
account: TAccount;
|
|
31
31
|
batch?: {
|
|
32
|
-
multicall?: boolean |
|
|
32
|
+
multicall?: boolean | {
|
|
33
|
+
batchSize?: number | undefined;
|
|
34
|
+
wait?: number | undefined;
|
|
35
|
+
} | undefined;
|
|
33
36
|
} | undefined;
|
|
37
|
+
cacheTime: number;
|
|
34
38
|
chain: TChain;
|
|
35
39
|
key: string;
|
|
36
40
|
name: string;
|
|
@@ -39,33 +43,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
39
43
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
40
44
|
type: string;
|
|
41
45
|
uid: string;
|
|
42
|
-
extend: <TNextExtended extends {
|
|
43
|
-
account?: undefined;
|
|
44
|
-
batch?: undefined;
|
|
45
|
-
chain?: undefined;
|
|
46
|
-
key?: undefined;
|
|
47
|
-
name?: undefined;
|
|
48
|
-
pollingInterval?: undefined;
|
|
49
|
-
request?: undefined;
|
|
50
|
-
transport?: undefined;
|
|
51
|
-
type?: undefined;
|
|
52
|
-
uid?: undefined;
|
|
53
|
-
} & {
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
} = {
|
|
56
|
-
account?: undefined;
|
|
57
|
-
batch?: undefined;
|
|
58
|
-
chain?: undefined;
|
|
59
|
-
key?: undefined;
|
|
60
|
-
name?: undefined;
|
|
61
|
-
pollingInterval?: undefined;
|
|
62
|
-
request?: undefined;
|
|
63
|
-
transport?: undefined;
|
|
64
|
-
type?: undefined;
|
|
65
|
-
uid?: undefined;
|
|
66
|
-
} & {
|
|
67
|
-
[key: string]: unknown;
|
|
68
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
69
46
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
70
47
|
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}`>;
|
|
71
48
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -87,17 +64,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
87
64
|
[x: `address[${string}]`]: undefined;
|
|
88
65
|
[x: `bool[${string}]`]: undefined;
|
|
89
66
|
[x: `bytes[${string}]`]: undefined;
|
|
90
|
-
[x: `
|
|
91
|
-
[x: `
|
|
67
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
68
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
92
69
|
[x: `bytes16[${string}]`]: undefined;
|
|
93
70
|
[x: `bytes1[${string}]`]: undefined;
|
|
94
|
-
[x: `
|
|
71
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
95
72
|
[x: `bytes4[${string}]`]: undefined;
|
|
96
73
|
[x: `bytes5[${string}]`]: undefined;
|
|
97
74
|
[x: `bytes6[${string}]`]: undefined;
|
|
98
75
|
[x: `bytes7[${string}]`]: undefined;
|
|
76
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
99
77
|
[x: `bytes9[${string}]`]: undefined;
|
|
100
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
101
78
|
[x: `bytes11[${string}]`]: undefined;
|
|
102
79
|
[x: `bytes12[${string}]`]: undefined;
|
|
103
80
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -120,8 +97,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
120
97
|
[x: `bytes31[${string}]`]: undefined;
|
|
121
98
|
[x: `bytes32[${string}]`]: undefined;
|
|
122
99
|
[x: `int[${string}]`]: undefined;
|
|
123
|
-
[x: `int8[${string}]`]: undefined;
|
|
124
100
|
[x: `int16[${string}]`]: undefined;
|
|
101
|
+
[x: `int8[${string}]`]: undefined;
|
|
125
102
|
[x: `int24[${string}]`]: undefined;
|
|
126
103
|
[x: `int32[${string}]`]: undefined;
|
|
127
104
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -153,8 +130,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
153
130
|
[x: `int248[${string}]`]: undefined;
|
|
154
131
|
[x: `int256[${string}]`]: undefined;
|
|
155
132
|
[x: `uint[${string}]`]: undefined;
|
|
156
|
-
[x: `uint8[${string}]`]: undefined;
|
|
157
133
|
[x: `uint16[${string}]`]: undefined;
|
|
134
|
+
[x: `uint8[${string}]`]: undefined;
|
|
158
135
|
[x: `uint24[${string}]`]: undefined;
|
|
159
136
|
[x: `uint32[${string}]`]: undefined;
|
|
160
137
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -189,17 +166,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
189
166
|
address?: undefined;
|
|
190
167
|
bool?: undefined;
|
|
191
168
|
bytes?: undefined;
|
|
192
|
-
|
|
193
|
-
|
|
169
|
+
bytes3?: undefined;
|
|
170
|
+
bytes10?: undefined;
|
|
194
171
|
bytes16?: undefined;
|
|
195
172
|
bytes1?: undefined;
|
|
196
|
-
|
|
173
|
+
bytes2?: undefined;
|
|
197
174
|
bytes4?: undefined;
|
|
198
175
|
bytes5?: undefined;
|
|
199
176
|
bytes6?: undefined;
|
|
200
177
|
bytes7?: undefined;
|
|
178
|
+
bytes8?: undefined;
|
|
201
179
|
bytes9?: undefined;
|
|
202
|
-
bytes10?: undefined;
|
|
203
180
|
bytes11?: undefined;
|
|
204
181
|
bytes12?: undefined;
|
|
205
182
|
bytes13?: undefined;
|
|
@@ -221,8 +198,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
221
198
|
bytes30?: undefined;
|
|
222
199
|
bytes31?: undefined;
|
|
223
200
|
bytes32?: undefined;
|
|
224
|
-
int8?: undefined;
|
|
225
201
|
int16?: undefined;
|
|
202
|
+
int8?: undefined;
|
|
226
203
|
int24?: undefined;
|
|
227
204
|
int32?: undefined;
|
|
228
205
|
int40?: undefined;
|
|
@@ -253,8 +230,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
253
230
|
int240?: undefined;
|
|
254
231
|
int248?: undefined;
|
|
255
232
|
int256?: undefined;
|
|
256
|
-
uint8?: undefined;
|
|
257
233
|
uint16?: undefined;
|
|
234
|
+
uint8?: undefined;
|
|
258
235
|
uint24?: undefined;
|
|
259
236
|
uint32?: undefined;
|
|
260
237
|
uint40?: undefined;
|
|
@@ -289,6 +266,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
289
266
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
290
267
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
291
268
|
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}`>;
|
|
269
|
+
extend: <const client extends {
|
|
270
|
+
[x: string]: unknown;
|
|
271
|
+
account?: undefined;
|
|
272
|
+
batch?: undefined;
|
|
273
|
+
cacheTime?: undefined;
|
|
274
|
+
chain?: undefined;
|
|
275
|
+
key?: undefined;
|
|
276
|
+
name?: undefined;
|
|
277
|
+
pollingInterval?: undefined;
|
|
278
|
+
request?: undefined;
|
|
279
|
+
transport?: undefined;
|
|
280
|
+
type?: undefined;
|
|
281
|
+
uid?: undefined;
|
|
282
|
+
}>(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>>;
|
|
292
283
|
}, { name, newOwnerAddress, contract, reclaim, asParent, }: TransferNameDataParameters) => TransferNameDataReturnType;
|
|
293
284
|
/**
|
|
294
285
|
* Transfers a name to a new owner.
|
|
@@ -317,8 +308,12 @@ declare namespace transferName {
|
|
|
317
308
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account>(wallet: {
|
|
318
309
|
account: TAccount;
|
|
319
310
|
batch?: {
|
|
320
|
-
multicall?: boolean |
|
|
311
|
+
multicall?: boolean | {
|
|
312
|
+
batchSize?: number | undefined;
|
|
313
|
+
wait?: number | undefined;
|
|
314
|
+
} | undefined;
|
|
321
315
|
} | undefined;
|
|
316
|
+
cacheTime: number;
|
|
322
317
|
chain: TChain;
|
|
323
318
|
key: string;
|
|
324
319
|
name: string;
|
|
@@ -327,33 +322,6 @@ declare namespace transferName {
|
|
|
327
322
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
328
323
|
type: string;
|
|
329
324
|
uid: string;
|
|
330
|
-
extend: <TNextExtended extends {
|
|
331
|
-
account?: undefined;
|
|
332
|
-
batch?: undefined;
|
|
333
|
-
chain?: undefined;
|
|
334
|
-
key?: undefined;
|
|
335
|
-
name?: undefined;
|
|
336
|
-
pollingInterval?: undefined;
|
|
337
|
-
request?: undefined;
|
|
338
|
-
transport?: undefined;
|
|
339
|
-
type?: undefined;
|
|
340
|
-
uid?: undefined;
|
|
341
|
-
} & {
|
|
342
|
-
[key: string]: unknown;
|
|
343
|
-
} = {
|
|
344
|
-
account?: undefined;
|
|
345
|
-
batch?: undefined;
|
|
346
|
-
chain?: undefined;
|
|
347
|
-
key?: undefined;
|
|
348
|
-
name?: undefined;
|
|
349
|
-
pollingInterval?: undefined;
|
|
350
|
-
request?: undefined;
|
|
351
|
-
transport?: undefined;
|
|
352
|
-
type?: undefined;
|
|
353
|
-
uid?: undefined;
|
|
354
|
-
} & {
|
|
355
|
-
[key: string]: unknown;
|
|
356
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
357
325
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
358
326
|
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}`>;
|
|
359
327
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -375,17 +343,17 @@ declare namespace transferName {
|
|
|
375
343
|
[x: `address[${string}]`]: undefined;
|
|
376
344
|
[x: `bool[${string}]`]: undefined;
|
|
377
345
|
[x: `bytes[${string}]`]: undefined;
|
|
378
|
-
[x: `
|
|
379
|
-
[x: `
|
|
346
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
347
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
380
348
|
[x: `bytes16[${string}]`]: undefined;
|
|
381
349
|
[x: `bytes1[${string}]`]: undefined;
|
|
382
|
-
[x: `
|
|
350
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
383
351
|
[x: `bytes4[${string}]`]: undefined;
|
|
384
352
|
[x: `bytes5[${string}]`]: undefined;
|
|
385
353
|
[x: `bytes6[${string}]`]: undefined;
|
|
386
354
|
[x: `bytes7[${string}]`]: undefined;
|
|
355
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
387
356
|
[x: `bytes9[${string}]`]: undefined;
|
|
388
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
389
357
|
[x: `bytes11[${string}]`]: undefined;
|
|
390
358
|
[x: `bytes12[${string}]`]: undefined;
|
|
391
359
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -408,8 +376,8 @@ declare namespace transferName {
|
|
|
408
376
|
[x: `bytes31[${string}]`]: undefined;
|
|
409
377
|
[x: `bytes32[${string}]`]: undefined;
|
|
410
378
|
[x: `int[${string}]`]: undefined;
|
|
411
|
-
[x: `int8[${string}]`]: undefined;
|
|
412
379
|
[x: `int16[${string}]`]: undefined;
|
|
380
|
+
[x: `int8[${string}]`]: undefined;
|
|
413
381
|
[x: `int24[${string}]`]: undefined;
|
|
414
382
|
[x: `int32[${string}]`]: undefined;
|
|
415
383
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -441,8 +409,8 @@ declare namespace transferName {
|
|
|
441
409
|
[x: `int248[${string}]`]: undefined;
|
|
442
410
|
[x: `int256[${string}]`]: undefined;
|
|
443
411
|
[x: `uint[${string}]`]: undefined;
|
|
444
|
-
[x: `uint8[${string}]`]: undefined;
|
|
445
412
|
[x: `uint16[${string}]`]: undefined;
|
|
413
|
+
[x: `uint8[${string}]`]: undefined;
|
|
446
414
|
[x: `uint24[${string}]`]: undefined;
|
|
447
415
|
[x: `uint32[${string}]`]: undefined;
|
|
448
416
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -477,17 +445,17 @@ declare namespace transferName {
|
|
|
477
445
|
address?: undefined;
|
|
478
446
|
bool?: undefined;
|
|
479
447
|
bytes?: undefined;
|
|
480
|
-
|
|
481
|
-
|
|
448
|
+
bytes3?: undefined;
|
|
449
|
+
bytes10?: undefined;
|
|
482
450
|
bytes16?: undefined;
|
|
483
451
|
bytes1?: undefined;
|
|
484
|
-
|
|
452
|
+
bytes2?: undefined;
|
|
485
453
|
bytes4?: undefined;
|
|
486
454
|
bytes5?: undefined;
|
|
487
455
|
bytes6?: undefined;
|
|
488
456
|
bytes7?: undefined;
|
|
457
|
+
bytes8?: undefined;
|
|
489
458
|
bytes9?: undefined;
|
|
490
|
-
bytes10?: undefined;
|
|
491
459
|
bytes11?: undefined;
|
|
492
460
|
bytes12?: undefined;
|
|
493
461
|
bytes13?: undefined;
|
|
@@ -509,8 +477,8 @@ declare namespace transferName {
|
|
|
509
477
|
bytes30?: undefined;
|
|
510
478
|
bytes31?: undefined;
|
|
511
479
|
bytes32?: undefined;
|
|
512
|
-
int8?: undefined;
|
|
513
480
|
int16?: undefined;
|
|
481
|
+
int8?: undefined;
|
|
514
482
|
int24?: undefined;
|
|
515
483
|
int32?: undefined;
|
|
516
484
|
int40?: undefined;
|
|
@@ -541,8 +509,8 @@ declare namespace transferName {
|
|
|
541
509
|
int240?: undefined;
|
|
542
510
|
int248?: undefined;
|
|
543
511
|
int256?: undefined;
|
|
544
|
-
uint8?: undefined;
|
|
545
512
|
uint16?: undefined;
|
|
513
|
+
uint8?: undefined;
|
|
546
514
|
uint24?: undefined;
|
|
547
515
|
uint32?: undefined;
|
|
548
516
|
uint40?: undefined;
|
|
@@ -577,6 +545,20 @@ declare namespace transferName {
|
|
|
577
545
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
578
546
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
579
547
|
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}`>;
|
|
548
|
+
extend: <const client extends {
|
|
549
|
+
[x: string]: unknown;
|
|
550
|
+
account?: undefined;
|
|
551
|
+
batch?: undefined;
|
|
552
|
+
cacheTime?: undefined;
|
|
553
|
+
chain?: undefined;
|
|
554
|
+
key?: undefined;
|
|
555
|
+
name?: undefined;
|
|
556
|
+
pollingInterval?: undefined;
|
|
557
|
+
request?: undefined;
|
|
558
|
+
transport?: undefined;
|
|
559
|
+
type?: undefined;
|
|
560
|
+
uid?: undefined;
|
|
561
|
+
}>(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>>;
|
|
580
562
|
}, { name, newOwnerAddress, contract, reclaim, asParent, }: TransferNameDataParameters) => {
|
|
581
563
|
data: `0x${string}`;
|
|
582
564
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferName.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/transferName.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AAMb,OAAO,KAAK,EAAE,YAAY,EAAE,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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,eAAe,EACf,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,GAAG,MAAM,EACV,EAAE,sBAAsB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAC1D,OAAO,CAAC,sBAAsB,CAAC,CAmBjC;kBAjCc,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqC3B,eAAe,YAAY,CAAA"}
|
|
@@ -24,8 +24,12 @@ export type UnwrapNameReturnType = Hash;
|
|
|
24
24
|
export declare const makeFunctionData: <TName extends string, TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
25
25
|
account: TAccount;
|
|
26
26
|
batch?: {
|
|
27
|
-
multicall?: boolean |
|
|
27
|
+
multicall?: boolean | {
|
|
28
|
+
batchSize?: number | undefined;
|
|
29
|
+
wait?: number | undefined;
|
|
30
|
+
} | undefined;
|
|
28
31
|
} | undefined;
|
|
32
|
+
cacheTime: number;
|
|
29
33
|
chain: TChain;
|
|
30
34
|
key: string;
|
|
31
35
|
name: string;
|
|
@@ -34,33 +38,6 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
34
38
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
35
39
|
type: string;
|
|
36
40
|
uid: string;
|
|
37
|
-
extend: <TNextExtended extends {
|
|
38
|
-
account?: undefined;
|
|
39
|
-
batch?: undefined;
|
|
40
|
-
chain?: undefined;
|
|
41
|
-
key?: undefined;
|
|
42
|
-
name?: undefined;
|
|
43
|
-
pollingInterval?: undefined;
|
|
44
|
-
request?: undefined;
|
|
45
|
-
transport?: undefined;
|
|
46
|
-
type?: undefined;
|
|
47
|
-
uid?: undefined;
|
|
48
|
-
} & {
|
|
49
|
-
[key: string]: unknown;
|
|
50
|
-
} = {
|
|
51
|
-
account?: undefined;
|
|
52
|
-
batch?: undefined;
|
|
53
|
-
chain?: undefined;
|
|
54
|
-
key?: undefined;
|
|
55
|
-
name?: undefined;
|
|
56
|
-
pollingInterval?: undefined;
|
|
57
|
-
request?: undefined;
|
|
58
|
-
transport?: undefined;
|
|
59
|
-
type?: undefined;
|
|
60
|
-
uid?: undefined;
|
|
61
|
-
} & {
|
|
62
|
-
[key: string]: unknown;
|
|
63
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
64
41
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
65
42
|
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}`>;
|
|
66
43
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -82,17 +59,17 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
82
59
|
[x: `address[${string}]`]: undefined;
|
|
83
60
|
[x: `bool[${string}]`]: undefined;
|
|
84
61
|
[x: `bytes[${string}]`]: undefined;
|
|
85
|
-
[x: `
|
|
86
|
-
[x: `
|
|
62
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
63
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
87
64
|
[x: `bytes16[${string}]`]: undefined;
|
|
88
65
|
[x: `bytes1[${string}]`]: undefined;
|
|
89
|
-
[x: `
|
|
66
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
90
67
|
[x: `bytes4[${string}]`]: undefined;
|
|
91
68
|
[x: `bytes5[${string}]`]: undefined;
|
|
92
69
|
[x: `bytes6[${string}]`]: undefined;
|
|
93
70
|
[x: `bytes7[${string}]`]: undefined;
|
|
71
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
94
72
|
[x: `bytes9[${string}]`]: undefined;
|
|
95
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
96
73
|
[x: `bytes11[${string}]`]: undefined;
|
|
97
74
|
[x: `bytes12[${string}]`]: undefined;
|
|
98
75
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -115,8 +92,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
115
92
|
[x: `bytes31[${string}]`]: undefined;
|
|
116
93
|
[x: `bytes32[${string}]`]: undefined;
|
|
117
94
|
[x: `int[${string}]`]: undefined;
|
|
118
|
-
[x: `int8[${string}]`]: undefined;
|
|
119
95
|
[x: `int16[${string}]`]: undefined;
|
|
96
|
+
[x: `int8[${string}]`]: undefined;
|
|
120
97
|
[x: `int24[${string}]`]: undefined;
|
|
121
98
|
[x: `int32[${string}]`]: undefined;
|
|
122
99
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -148,8 +125,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
148
125
|
[x: `int248[${string}]`]: undefined;
|
|
149
126
|
[x: `int256[${string}]`]: undefined;
|
|
150
127
|
[x: `uint[${string}]`]: undefined;
|
|
151
|
-
[x: `uint8[${string}]`]: undefined;
|
|
152
128
|
[x: `uint16[${string}]`]: undefined;
|
|
129
|
+
[x: `uint8[${string}]`]: undefined;
|
|
153
130
|
[x: `uint24[${string}]`]: undefined;
|
|
154
131
|
[x: `uint32[${string}]`]: undefined;
|
|
155
132
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -184,17 +161,17 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
184
161
|
address?: undefined;
|
|
185
162
|
bool?: undefined;
|
|
186
163
|
bytes?: undefined;
|
|
187
|
-
|
|
188
|
-
|
|
164
|
+
bytes3?: undefined;
|
|
165
|
+
bytes10?: undefined;
|
|
189
166
|
bytes16?: undefined;
|
|
190
167
|
bytes1?: undefined;
|
|
191
|
-
|
|
168
|
+
bytes2?: undefined;
|
|
192
169
|
bytes4?: undefined;
|
|
193
170
|
bytes5?: undefined;
|
|
194
171
|
bytes6?: undefined;
|
|
195
172
|
bytes7?: undefined;
|
|
173
|
+
bytes8?: undefined;
|
|
196
174
|
bytes9?: undefined;
|
|
197
|
-
bytes10?: undefined;
|
|
198
175
|
bytes11?: undefined;
|
|
199
176
|
bytes12?: undefined;
|
|
200
177
|
bytes13?: undefined;
|
|
@@ -216,8 +193,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
216
193
|
bytes30?: undefined;
|
|
217
194
|
bytes31?: undefined;
|
|
218
195
|
bytes32?: undefined;
|
|
219
|
-
int8?: undefined;
|
|
220
196
|
int16?: undefined;
|
|
197
|
+
int8?: undefined;
|
|
221
198
|
int24?: undefined;
|
|
222
199
|
int32?: undefined;
|
|
223
200
|
int40?: undefined;
|
|
@@ -248,8 +225,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
248
225
|
int240?: undefined;
|
|
249
226
|
int248?: undefined;
|
|
250
227
|
int256?: undefined;
|
|
251
|
-
uint8?: undefined;
|
|
252
228
|
uint16?: undefined;
|
|
229
|
+
uint8?: undefined;
|
|
253
230
|
uint24?: undefined;
|
|
254
231
|
uint32?: undefined;
|
|
255
232
|
uint40?: undefined;
|
|
@@ -284,6 +261,20 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
284
261
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
285
262
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
286
263
|
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}`>;
|
|
264
|
+
extend: <const client extends {
|
|
265
|
+
[x: string]: unknown;
|
|
266
|
+
account?: undefined;
|
|
267
|
+
batch?: undefined;
|
|
268
|
+
cacheTime?: undefined;
|
|
269
|
+
chain?: undefined;
|
|
270
|
+
key?: undefined;
|
|
271
|
+
name?: undefined;
|
|
272
|
+
pollingInterval?: undefined;
|
|
273
|
+
request?: undefined;
|
|
274
|
+
transport?: undefined;
|
|
275
|
+
type?: undefined;
|
|
276
|
+
uid?: undefined;
|
|
277
|
+
}>(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>>;
|
|
287
278
|
}, { name, newOwnerAddress, newRegistrantAddress, }: UnwrapNameDataParameters<TName, GetNameType<TName>>) => UnwrapNameDataReturnType;
|
|
288
279
|
/**
|
|
289
280
|
* Unwraps a name.
|
|
@@ -312,8 +303,12 @@ declare namespace unwrapName {
|
|
|
312
303
|
var makeFunctionData: <TName extends string, TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
313
304
|
account: TAccount;
|
|
314
305
|
batch?: {
|
|
315
|
-
multicall?: boolean |
|
|
306
|
+
multicall?: boolean | {
|
|
307
|
+
batchSize?: number | undefined;
|
|
308
|
+
wait?: number | undefined;
|
|
309
|
+
} | undefined;
|
|
316
310
|
} | undefined;
|
|
311
|
+
cacheTime: number;
|
|
317
312
|
chain: TChain;
|
|
318
313
|
key: string;
|
|
319
314
|
name: string;
|
|
@@ -322,33 +317,6 @@ declare namespace unwrapName {
|
|
|
322
317
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
323
318
|
type: string;
|
|
324
319
|
uid: string;
|
|
325
|
-
extend: <TNextExtended extends {
|
|
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
|
-
} = {
|
|
339
|
-
account?: undefined;
|
|
340
|
-
batch?: undefined;
|
|
341
|
-
chain?: undefined;
|
|
342
|
-
key?: undefined;
|
|
343
|
-
name?: undefined;
|
|
344
|
-
pollingInterval?: undefined;
|
|
345
|
-
request?: undefined;
|
|
346
|
-
transport?: undefined;
|
|
347
|
-
type?: undefined;
|
|
348
|
-
uid?: undefined;
|
|
349
|
-
} & {
|
|
350
|
-
[key: string]: unknown;
|
|
351
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
352
320
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
353
321
|
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}`>;
|
|
354
322
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -370,17 +338,17 @@ declare namespace unwrapName {
|
|
|
370
338
|
[x: `address[${string}]`]: undefined;
|
|
371
339
|
[x: `bool[${string}]`]: undefined;
|
|
372
340
|
[x: `bytes[${string}]`]: undefined;
|
|
373
|
-
[x: `
|
|
374
|
-
[x: `
|
|
341
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
342
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
375
343
|
[x: `bytes16[${string}]`]: undefined;
|
|
376
344
|
[x: `bytes1[${string}]`]: undefined;
|
|
377
|
-
[x: `
|
|
345
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
378
346
|
[x: `bytes4[${string}]`]: undefined;
|
|
379
347
|
[x: `bytes5[${string}]`]: undefined;
|
|
380
348
|
[x: `bytes6[${string}]`]: undefined;
|
|
381
349
|
[x: `bytes7[${string}]`]: undefined;
|
|
350
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
382
351
|
[x: `bytes9[${string}]`]: undefined;
|
|
383
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
384
352
|
[x: `bytes11[${string}]`]: undefined;
|
|
385
353
|
[x: `bytes12[${string}]`]: undefined;
|
|
386
354
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -403,8 +371,8 @@ declare namespace unwrapName {
|
|
|
403
371
|
[x: `bytes31[${string}]`]: undefined;
|
|
404
372
|
[x: `bytes32[${string}]`]: undefined;
|
|
405
373
|
[x: `int[${string}]`]: undefined;
|
|
406
|
-
[x: `int8[${string}]`]: undefined;
|
|
407
374
|
[x: `int16[${string}]`]: undefined;
|
|
375
|
+
[x: `int8[${string}]`]: undefined;
|
|
408
376
|
[x: `int24[${string}]`]: undefined;
|
|
409
377
|
[x: `int32[${string}]`]: undefined;
|
|
410
378
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -436,8 +404,8 @@ declare namespace unwrapName {
|
|
|
436
404
|
[x: `int248[${string}]`]: undefined;
|
|
437
405
|
[x: `int256[${string}]`]: undefined;
|
|
438
406
|
[x: `uint[${string}]`]: undefined;
|
|
439
|
-
[x: `uint8[${string}]`]: undefined;
|
|
440
407
|
[x: `uint16[${string}]`]: undefined;
|
|
408
|
+
[x: `uint8[${string}]`]: undefined;
|
|
441
409
|
[x: `uint24[${string}]`]: undefined;
|
|
442
410
|
[x: `uint32[${string}]`]: undefined;
|
|
443
411
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -472,17 +440,17 @@ declare namespace unwrapName {
|
|
|
472
440
|
address?: undefined;
|
|
473
441
|
bool?: undefined;
|
|
474
442
|
bytes?: undefined;
|
|
475
|
-
|
|
476
|
-
|
|
443
|
+
bytes3?: undefined;
|
|
444
|
+
bytes10?: undefined;
|
|
477
445
|
bytes16?: undefined;
|
|
478
446
|
bytes1?: undefined;
|
|
479
|
-
|
|
447
|
+
bytes2?: undefined;
|
|
480
448
|
bytes4?: undefined;
|
|
481
449
|
bytes5?: undefined;
|
|
482
450
|
bytes6?: undefined;
|
|
483
451
|
bytes7?: undefined;
|
|
452
|
+
bytes8?: undefined;
|
|
484
453
|
bytes9?: undefined;
|
|
485
|
-
bytes10?: undefined;
|
|
486
454
|
bytes11?: undefined;
|
|
487
455
|
bytes12?: undefined;
|
|
488
456
|
bytes13?: undefined;
|
|
@@ -504,8 +472,8 @@ declare namespace unwrapName {
|
|
|
504
472
|
bytes30?: undefined;
|
|
505
473
|
bytes31?: undefined;
|
|
506
474
|
bytes32?: undefined;
|
|
507
|
-
int8?: undefined;
|
|
508
475
|
int16?: undefined;
|
|
476
|
+
int8?: undefined;
|
|
509
477
|
int24?: undefined;
|
|
510
478
|
int32?: undefined;
|
|
511
479
|
int40?: undefined;
|
|
@@ -536,8 +504,8 @@ declare namespace unwrapName {
|
|
|
536
504
|
int240?: undefined;
|
|
537
505
|
int248?: undefined;
|
|
538
506
|
int256?: undefined;
|
|
539
|
-
uint8?: undefined;
|
|
540
507
|
uint16?: undefined;
|
|
508
|
+
uint8?: undefined;
|
|
541
509
|
uint24?: undefined;
|
|
542
510
|
uint32?: undefined;
|
|
543
511
|
uint40?: undefined;
|
|
@@ -572,6 +540,20 @@ declare namespace unwrapName {
|
|
|
572
540
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
573
541
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
574
542
|
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}`>;
|
|
543
|
+
extend: <const client extends {
|
|
544
|
+
[x: string]: unknown;
|
|
545
|
+
account?: undefined;
|
|
546
|
+
batch?: undefined;
|
|
547
|
+
cacheTime?: undefined;
|
|
548
|
+
chain?: undefined;
|
|
549
|
+
key?: undefined;
|
|
550
|
+
name?: undefined;
|
|
551
|
+
pollingInterval?: undefined;
|
|
552
|
+
request?: undefined;
|
|
553
|
+
transport?: undefined;
|
|
554
|
+
type?: undefined;
|
|
555
|
+
uid?: undefined;
|
|
556
|
+
}>(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>>;
|
|
575
557
|
}, { name, newOwnerAddress, newRegistrantAddress, }: UnwrapNameDataParameters<TName, GetNameType<TName>>) => {
|
|
576
558
|
data: `0x${string}`;
|
|
577
559
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unwrapName.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/unwrapName.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;AAU5E,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,WAAW,EACX,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,g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