@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
|
@@ -15,8 +15,12 @@ export type DeleteSubnameReturnType = Hash;
|
|
|
15
15
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
16
16
|
account: TAccount;
|
|
17
17
|
batch?: {
|
|
18
|
-
multicall?: boolean |
|
|
18
|
+
multicall?: boolean | {
|
|
19
|
+
batchSize?: number | undefined;
|
|
20
|
+
wait?: number | undefined;
|
|
21
|
+
} | undefined;
|
|
19
22
|
} | undefined;
|
|
23
|
+
cacheTime: number;
|
|
20
24
|
chain: TChain;
|
|
21
25
|
key: string;
|
|
22
26
|
name: string;
|
|
@@ -25,33 +29,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
25
29
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
26
30
|
type: string;
|
|
27
31
|
uid: string;
|
|
28
|
-
extend: <TNextExtended extends {
|
|
29
|
-
account?: undefined;
|
|
30
|
-
batch?: undefined;
|
|
31
|
-
chain?: undefined;
|
|
32
|
-
key?: undefined;
|
|
33
|
-
name?: undefined;
|
|
34
|
-
pollingInterval?: undefined;
|
|
35
|
-
request?: undefined;
|
|
36
|
-
transport?: undefined;
|
|
37
|
-
type?: undefined;
|
|
38
|
-
uid?: undefined;
|
|
39
|
-
} & {
|
|
40
|
-
[key: string]: unknown;
|
|
41
|
-
} = {
|
|
42
|
-
account?: undefined;
|
|
43
|
-
batch?: undefined;
|
|
44
|
-
chain?: undefined;
|
|
45
|
-
key?: undefined;
|
|
46
|
-
name?: undefined;
|
|
47
|
-
pollingInterval?: undefined;
|
|
48
|
-
request?: undefined;
|
|
49
|
-
transport?: undefined;
|
|
50
|
-
type?: undefined;
|
|
51
|
-
uid?: undefined;
|
|
52
|
-
} & {
|
|
53
|
-
[key: string]: unknown;
|
|
54
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
55
32
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
56
33
|
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}`>;
|
|
57
34
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -73,17 +50,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
73
50
|
[x: `address[${string}]`]: undefined;
|
|
74
51
|
[x: `bool[${string}]`]: undefined;
|
|
75
52
|
[x: `bytes[${string}]`]: undefined;
|
|
76
|
-
[x: `
|
|
77
|
-
[x: `
|
|
53
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
54
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
78
55
|
[x: `bytes16[${string}]`]: undefined;
|
|
79
56
|
[x: `bytes1[${string}]`]: undefined;
|
|
80
|
-
[x: `
|
|
57
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
81
58
|
[x: `bytes4[${string}]`]: undefined;
|
|
82
59
|
[x: `bytes5[${string}]`]: undefined;
|
|
83
60
|
[x: `bytes6[${string}]`]: undefined;
|
|
84
61
|
[x: `bytes7[${string}]`]: undefined;
|
|
62
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
85
63
|
[x: `bytes9[${string}]`]: undefined;
|
|
86
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
87
64
|
[x: `bytes11[${string}]`]: undefined;
|
|
88
65
|
[x: `bytes12[${string}]`]: undefined;
|
|
89
66
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -106,8 +83,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
106
83
|
[x: `bytes31[${string}]`]: undefined;
|
|
107
84
|
[x: `bytes32[${string}]`]: undefined;
|
|
108
85
|
[x: `int[${string}]`]: undefined;
|
|
109
|
-
[x: `int8[${string}]`]: undefined;
|
|
110
86
|
[x: `int16[${string}]`]: undefined;
|
|
87
|
+
[x: `int8[${string}]`]: undefined;
|
|
111
88
|
[x: `int24[${string}]`]: undefined;
|
|
112
89
|
[x: `int32[${string}]`]: undefined;
|
|
113
90
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -139,8 +116,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
139
116
|
[x: `int248[${string}]`]: undefined;
|
|
140
117
|
[x: `int256[${string}]`]: undefined;
|
|
141
118
|
[x: `uint[${string}]`]: undefined;
|
|
142
|
-
[x: `uint8[${string}]`]: undefined;
|
|
143
119
|
[x: `uint16[${string}]`]: undefined;
|
|
120
|
+
[x: `uint8[${string}]`]: undefined;
|
|
144
121
|
[x: `uint24[${string}]`]: undefined;
|
|
145
122
|
[x: `uint32[${string}]`]: undefined;
|
|
146
123
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -175,17 +152,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
175
152
|
address?: undefined;
|
|
176
153
|
bool?: undefined;
|
|
177
154
|
bytes?: undefined;
|
|
178
|
-
|
|
179
|
-
|
|
155
|
+
bytes3?: undefined;
|
|
156
|
+
bytes10?: undefined;
|
|
180
157
|
bytes16?: undefined;
|
|
181
158
|
bytes1?: undefined;
|
|
182
|
-
|
|
159
|
+
bytes2?: undefined;
|
|
183
160
|
bytes4?: undefined;
|
|
184
161
|
bytes5?: undefined;
|
|
185
162
|
bytes6?: undefined;
|
|
186
163
|
bytes7?: undefined;
|
|
164
|
+
bytes8?: undefined;
|
|
187
165
|
bytes9?: undefined;
|
|
188
|
-
bytes10?: undefined;
|
|
189
166
|
bytes11?: undefined;
|
|
190
167
|
bytes12?: undefined;
|
|
191
168
|
bytes13?: undefined;
|
|
@@ -207,8 +184,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
207
184
|
bytes30?: undefined;
|
|
208
185
|
bytes31?: undefined;
|
|
209
186
|
bytes32?: undefined;
|
|
210
|
-
int8?: undefined;
|
|
211
187
|
int16?: undefined;
|
|
188
|
+
int8?: undefined;
|
|
212
189
|
int24?: undefined;
|
|
213
190
|
int32?: undefined;
|
|
214
191
|
int40?: undefined;
|
|
@@ -239,8 +216,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
239
216
|
int240?: undefined;
|
|
240
217
|
int248?: undefined;
|
|
241
218
|
int256?: undefined;
|
|
242
|
-
uint8?: undefined;
|
|
243
219
|
uint16?: undefined;
|
|
220
|
+
uint8?: undefined;
|
|
244
221
|
uint24?: undefined;
|
|
245
222
|
uint32?: undefined;
|
|
246
223
|
uint40?: undefined;
|
|
@@ -275,6 +252,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
275
252
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
276
253
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
277
254
|
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}`>;
|
|
255
|
+
extend: <const client extends {
|
|
256
|
+
[x: string]: unknown;
|
|
257
|
+
account?: undefined;
|
|
258
|
+
batch?: undefined;
|
|
259
|
+
cacheTime?: undefined;
|
|
260
|
+
chain?: undefined;
|
|
261
|
+
key?: undefined;
|
|
262
|
+
name?: undefined;
|
|
263
|
+
pollingInterval?: undefined;
|
|
264
|
+
request?: undefined;
|
|
265
|
+
transport?: undefined;
|
|
266
|
+
type?: undefined;
|
|
267
|
+
uid?: undefined;
|
|
268
|
+
}>(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>>;
|
|
278
269
|
}, { name, contract, asOwner }: DeleteSubnameDataParameters) => DeleteSubnameDataReturnType;
|
|
279
270
|
/**
|
|
280
271
|
* Deletes a subname
|
|
@@ -302,8 +293,12 @@ declare namespace deleteSubname {
|
|
|
302
293
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
303
294
|
account: TAccount;
|
|
304
295
|
batch?: {
|
|
305
|
-
multicall?: boolean |
|
|
296
|
+
multicall?: boolean | {
|
|
297
|
+
batchSize?: number | undefined;
|
|
298
|
+
wait?: number | undefined;
|
|
299
|
+
} | undefined;
|
|
306
300
|
} | undefined;
|
|
301
|
+
cacheTime: number;
|
|
307
302
|
chain: TChain;
|
|
308
303
|
key: string;
|
|
309
304
|
name: string;
|
|
@@ -312,33 +307,6 @@ declare namespace deleteSubname {
|
|
|
312
307
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
313
308
|
type: string;
|
|
314
309
|
uid: string;
|
|
315
|
-
extend: <TNextExtended extends {
|
|
316
|
-
account?: undefined;
|
|
317
|
-
batch?: undefined;
|
|
318
|
-
chain?: undefined;
|
|
319
|
-
key?: undefined;
|
|
320
|
-
name?: undefined;
|
|
321
|
-
pollingInterval?: undefined;
|
|
322
|
-
request?: undefined;
|
|
323
|
-
transport?: undefined;
|
|
324
|
-
type?: undefined;
|
|
325
|
-
uid?: undefined;
|
|
326
|
-
} & {
|
|
327
|
-
[key: string]: unknown;
|
|
328
|
-
} = {
|
|
329
|
-
account?: undefined;
|
|
330
|
-
batch?: undefined;
|
|
331
|
-
chain?: undefined;
|
|
332
|
-
key?: undefined;
|
|
333
|
-
name?: undefined;
|
|
334
|
-
pollingInterval?: undefined;
|
|
335
|
-
request?: undefined;
|
|
336
|
-
transport?: undefined;
|
|
337
|
-
type?: undefined;
|
|
338
|
-
uid?: undefined;
|
|
339
|
-
} & {
|
|
340
|
-
[key: string]: unknown;
|
|
341
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
342
310
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
343
311
|
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}`>;
|
|
344
312
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -360,17 +328,17 @@ declare namespace deleteSubname {
|
|
|
360
328
|
[x: `address[${string}]`]: undefined;
|
|
361
329
|
[x: `bool[${string}]`]: undefined;
|
|
362
330
|
[x: `bytes[${string}]`]: undefined;
|
|
363
|
-
[x: `
|
|
364
|
-
[x: `
|
|
331
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
332
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
365
333
|
[x: `bytes16[${string}]`]: undefined;
|
|
366
334
|
[x: `bytes1[${string}]`]: undefined;
|
|
367
|
-
[x: `
|
|
335
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
368
336
|
[x: `bytes4[${string}]`]: undefined;
|
|
369
337
|
[x: `bytes5[${string}]`]: undefined;
|
|
370
338
|
[x: `bytes6[${string}]`]: undefined;
|
|
371
339
|
[x: `bytes7[${string}]`]: undefined;
|
|
340
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
372
341
|
[x: `bytes9[${string}]`]: undefined;
|
|
373
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
374
342
|
[x: `bytes11[${string}]`]: undefined;
|
|
375
343
|
[x: `bytes12[${string}]`]: undefined;
|
|
376
344
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -393,8 +361,8 @@ declare namespace deleteSubname {
|
|
|
393
361
|
[x: `bytes31[${string}]`]: undefined;
|
|
394
362
|
[x: `bytes32[${string}]`]: undefined;
|
|
395
363
|
[x: `int[${string}]`]: undefined;
|
|
396
|
-
[x: `int8[${string}]`]: undefined;
|
|
397
364
|
[x: `int16[${string}]`]: undefined;
|
|
365
|
+
[x: `int8[${string}]`]: undefined;
|
|
398
366
|
[x: `int24[${string}]`]: undefined;
|
|
399
367
|
[x: `int32[${string}]`]: undefined;
|
|
400
368
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -426,8 +394,8 @@ declare namespace deleteSubname {
|
|
|
426
394
|
[x: `int248[${string}]`]: undefined;
|
|
427
395
|
[x: `int256[${string}]`]: undefined;
|
|
428
396
|
[x: `uint[${string}]`]: undefined;
|
|
429
|
-
[x: `uint8[${string}]`]: undefined;
|
|
430
397
|
[x: `uint16[${string}]`]: undefined;
|
|
398
|
+
[x: `uint8[${string}]`]: undefined;
|
|
431
399
|
[x: `uint24[${string}]`]: undefined;
|
|
432
400
|
[x: `uint32[${string}]`]: undefined;
|
|
433
401
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -462,17 +430,17 @@ declare namespace deleteSubname {
|
|
|
462
430
|
address?: undefined;
|
|
463
431
|
bool?: undefined;
|
|
464
432
|
bytes?: undefined;
|
|
465
|
-
|
|
466
|
-
|
|
433
|
+
bytes3?: undefined;
|
|
434
|
+
bytes10?: undefined;
|
|
467
435
|
bytes16?: undefined;
|
|
468
436
|
bytes1?: undefined;
|
|
469
|
-
|
|
437
|
+
bytes2?: undefined;
|
|
470
438
|
bytes4?: undefined;
|
|
471
439
|
bytes5?: undefined;
|
|
472
440
|
bytes6?: undefined;
|
|
473
441
|
bytes7?: undefined;
|
|
442
|
+
bytes8?: undefined;
|
|
474
443
|
bytes9?: undefined;
|
|
475
|
-
bytes10?: undefined;
|
|
476
444
|
bytes11?: undefined;
|
|
477
445
|
bytes12?: undefined;
|
|
478
446
|
bytes13?: undefined;
|
|
@@ -494,8 +462,8 @@ declare namespace deleteSubname {
|
|
|
494
462
|
bytes30?: undefined;
|
|
495
463
|
bytes31?: undefined;
|
|
496
464
|
bytes32?: undefined;
|
|
497
|
-
int8?: undefined;
|
|
498
465
|
int16?: undefined;
|
|
466
|
+
int8?: undefined;
|
|
499
467
|
int24?: undefined;
|
|
500
468
|
int32?: undefined;
|
|
501
469
|
int40?: undefined;
|
|
@@ -526,8 +494,8 @@ declare namespace deleteSubname {
|
|
|
526
494
|
int240?: undefined;
|
|
527
495
|
int248?: undefined;
|
|
528
496
|
int256?: undefined;
|
|
529
|
-
uint8?: undefined;
|
|
530
497
|
uint16?: undefined;
|
|
498
|
+
uint8?: undefined;
|
|
531
499
|
uint24?: undefined;
|
|
532
500
|
uint32?: undefined;
|
|
533
501
|
uint40?: undefined;
|
|
@@ -562,6 +530,20 @@ declare namespace deleteSubname {
|
|
|
562
530
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
563
531
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
564
532
|
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}`>;
|
|
533
|
+
extend: <const client extends {
|
|
534
|
+
[x: string]: unknown;
|
|
535
|
+
account?: undefined;
|
|
536
|
+
batch?: undefined;
|
|
537
|
+
cacheTime?: undefined;
|
|
538
|
+
chain?: undefined;
|
|
539
|
+
key?: undefined;
|
|
540
|
+
name?: undefined;
|
|
541
|
+
pollingInterval?: undefined;
|
|
542
|
+
request?: undefined;
|
|
543
|
+
transport?: undefined;
|
|
544
|
+
type?: undefined;
|
|
545
|
+
uid?: undefined;
|
|
546
|
+
}>(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>>;
|
|
565
547
|
}, { name, contract, asOwner }: DeleteSubnameDataParameters) => {
|
|
566
548
|
data: `0x${string}`;
|
|
567
549
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSubname.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/deleteSubname.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;AAc5E,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,gBAAgB,CAAA;AAMvB,MAAM,MAAM,2BAA2B,GAAG;IACxC,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,oCAAoC;IACpC,QAAQ,EAAE,UAAU,GAAG,aAAa,CAAA;IACpC,yFAAyF;IACzF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,wBAAwB,CAAA;AAElE,MAAM,MAAM,uBAAuB,CACjC,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAKE,2BAA2B,KACvD,2BAgFF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAe,aAAa,CAC1B,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,QAAQ,EACR,OAAO,EACP,GAAG,MAAM,EACV,EAAE,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAC3D,OAAO,CAAC,uBAAuB,CAAC,CAWlC;kBAvBc,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2B5B,eAAe,aAAa,CAAA"}
|
|
@@ -14,8 +14,12 @@ export type RegisterNameReturnType = Hash;
|
|
|
14
14
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
15
15
|
account: TAccount;
|
|
16
16
|
batch?: {
|
|
17
|
-
multicall?: boolean |
|
|
17
|
+
multicall?: boolean | {
|
|
18
|
+
batchSize?: number | undefined;
|
|
19
|
+
wait?: number | undefined;
|
|
20
|
+
} | undefined;
|
|
18
21
|
} | undefined;
|
|
22
|
+
cacheTime: number;
|
|
19
23
|
chain: TChain;
|
|
20
24
|
key: string;
|
|
21
25
|
name: string;
|
|
@@ -24,33 +28,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
24
28
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
25
29
|
type: string;
|
|
26
30
|
uid: string;
|
|
27
|
-
extend: <TNextExtended extends {
|
|
28
|
-
account?: undefined;
|
|
29
|
-
batch?: undefined;
|
|
30
|
-
chain?: undefined;
|
|
31
|
-
key?: undefined;
|
|
32
|
-
name?: undefined;
|
|
33
|
-
pollingInterval?: undefined;
|
|
34
|
-
request?: undefined;
|
|
35
|
-
transport?: undefined;
|
|
36
|
-
type?: undefined;
|
|
37
|
-
uid?: undefined;
|
|
38
|
-
} & {
|
|
39
|
-
[key: string]: unknown;
|
|
40
|
-
} = {
|
|
41
|
-
account?: undefined;
|
|
42
|
-
batch?: undefined;
|
|
43
|
-
chain?: undefined;
|
|
44
|
-
key?: undefined;
|
|
45
|
-
name?: undefined;
|
|
46
|
-
pollingInterval?: undefined;
|
|
47
|
-
request?: undefined;
|
|
48
|
-
transport?: undefined;
|
|
49
|
-
type?: undefined;
|
|
50
|
-
uid?: undefined;
|
|
51
|
-
} & {
|
|
52
|
-
[key: string]: unknown;
|
|
53
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
54
31
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
55
32
|
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}`>;
|
|
56
33
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -72,17 +49,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
72
49
|
[x: `address[${string}]`]: undefined;
|
|
73
50
|
[x: `bool[${string}]`]: undefined;
|
|
74
51
|
[x: `bytes[${string}]`]: undefined;
|
|
75
|
-
[x: `
|
|
76
|
-
[x: `
|
|
52
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
53
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
77
54
|
[x: `bytes16[${string}]`]: undefined;
|
|
78
55
|
[x: `bytes1[${string}]`]: undefined;
|
|
79
|
-
[x: `
|
|
56
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
80
57
|
[x: `bytes4[${string}]`]: undefined;
|
|
81
58
|
[x: `bytes5[${string}]`]: undefined;
|
|
82
59
|
[x: `bytes6[${string}]`]: undefined;
|
|
83
60
|
[x: `bytes7[${string}]`]: undefined;
|
|
61
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
84
62
|
[x: `bytes9[${string}]`]: undefined;
|
|
85
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
86
63
|
[x: `bytes11[${string}]`]: undefined;
|
|
87
64
|
[x: `bytes12[${string}]`]: undefined;
|
|
88
65
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -105,8 +82,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
105
82
|
[x: `bytes31[${string}]`]: undefined;
|
|
106
83
|
[x: `bytes32[${string}]`]: undefined;
|
|
107
84
|
[x: `int[${string}]`]: undefined;
|
|
108
|
-
[x: `int8[${string}]`]: undefined;
|
|
109
85
|
[x: `int16[${string}]`]: undefined;
|
|
86
|
+
[x: `int8[${string}]`]: undefined;
|
|
110
87
|
[x: `int24[${string}]`]: undefined;
|
|
111
88
|
[x: `int32[${string}]`]: undefined;
|
|
112
89
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -138,8 +115,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
138
115
|
[x: `int248[${string}]`]: undefined;
|
|
139
116
|
[x: `int256[${string}]`]: undefined;
|
|
140
117
|
[x: `uint[${string}]`]: undefined;
|
|
141
|
-
[x: `uint8[${string}]`]: undefined;
|
|
142
118
|
[x: `uint16[${string}]`]: undefined;
|
|
119
|
+
[x: `uint8[${string}]`]: undefined;
|
|
143
120
|
[x: `uint24[${string}]`]: undefined;
|
|
144
121
|
[x: `uint32[${string}]`]: undefined;
|
|
145
122
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -174,17 +151,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
174
151
|
address?: undefined;
|
|
175
152
|
bool?: undefined;
|
|
176
153
|
bytes?: undefined;
|
|
177
|
-
|
|
178
|
-
|
|
154
|
+
bytes3?: undefined;
|
|
155
|
+
bytes10?: undefined;
|
|
179
156
|
bytes16?: undefined;
|
|
180
157
|
bytes1?: undefined;
|
|
181
|
-
|
|
158
|
+
bytes2?: undefined;
|
|
182
159
|
bytes4?: undefined;
|
|
183
160
|
bytes5?: undefined;
|
|
184
161
|
bytes6?: undefined;
|
|
185
162
|
bytes7?: undefined;
|
|
163
|
+
bytes8?: undefined;
|
|
186
164
|
bytes9?: undefined;
|
|
187
|
-
bytes10?: undefined;
|
|
188
165
|
bytes11?: undefined;
|
|
189
166
|
bytes12?: undefined;
|
|
190
167
|
bytes13?: undefined;
|
|
@@ -206,8 +183,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
206
183
|
bytes30?: undefined;
|
|
207
184
|
bytes31?: undefined;
|
|
208
185
|
bytes32?: undefined;
|
|
209
|
-
int8?: undefined;
|
|
210
186
|
int16?: undefined;
|
|
187
|
+
int8?: undefined;
|
|
211
188
|
int24?: undefined;
|
|
212
189
|
int32?: undefined;
|
|
213
190
|
int40?: undefined;
|
|
@@ -238,8 +215,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
238
215
|
int240?: undefined;
|
|
239
216
|
int248?: undefined;
|
|
240
217
|
int256?: undefined;
|
|
241
|
-
uint8?: undefined;
|
|
242
218
|
uint16?: undefined;
|
|
219
|
+
uint8?: undefined;
|
|
243
220
|
uint24?: undefined;
|
|
244
221
|
uint32?: undefined;
|
|
245
222
|
uint40?: undefined;
|
|
@@ -274,6 +251,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
274
251
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
275
252
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
276
253
|
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}`>;
|
|
254
|
+
extend: <const client extends {
|
|
255
|
+
[x: string]: unknown;
|
|
256
|
+
account?: undefined;
|
|
257
|
+
batch?: undefined;
|
|
258
|
+
cacheTime?: undefined;
|
|
259
|
+
chain?: undefined;
|
|
260
|
+
key?: undefined;
|
|
261
|
+
name?: undefined;
|
|
262
|
+
pollingInterval?: undefined;
|
|
263
|
+
request?: undefined;
|
|
264
|
+
transport?: undefined;
|
|
265
|
+
type?: undefined;
|
|
266
|
+
uid?: undefined;
|
|
267
|
+
}>(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>>;
|
|
277
268
|
}, { value, ...args }: RegisterNameDataParameters) => RegisterNameDataReturnType;
|
|
278
269
|
/**
|
|
279
270
|
* Registers a name on ENS
|
|
@@ -317,8 +308,12 @@ declare namespace registerName {
|
|
|
317
308
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(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 registerName {
|
|
|
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 registerName {
|
|
|
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 registerName {
|
|
|
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 registerName {
|
|
|
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 registerName {
|
|
|
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 registerName {
|
|
|
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 registerName {
|
|
|
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 registerName {
|
|
|
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
|
}, { value, ...args }: RegisterNameDataParameters) => RegisterNameDataReturnType;
|
|
581
563
|
}
|
|
582
564
|
export default registerName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerName.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/registerName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AACb,OAAO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