@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 SetResolverReturnType = 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, resolverAddress }: SetResolverDataParameters) => SetResolverDataReturnType;
|
|
279
270
|
/**
|
|
280
271
|
* Sets a resolver for a name.
|
|
@@ -303,8 +294,12 @@ declare namespace setResolver {
|
|
|
303
294
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
304
295
|
account: TAccount;
|
|
305
296
|
batch?: {
|
|
306
|
-
multicall?: boolean |
|
|
297
|
+
multicall?: boolean | {
|
|
298
|
+
batchSize?: number | undefined;
|
|
299
|
+
wait?: number | undefined;
|
|
300
|
+
} | undefined;
|
|
307
301
|
} | undefined;
|
|
302
|
+
cacheTime: number;
|
|
308
303
|
chain: TChain;
|
|
309
304
|
key: string;
|
|
310
305
|
name: string;
|
|
@@ -313,33 +308,6 @@ declare namespace setResolver {
|
|
|
313
308
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
314
309
|
type: string;
|
|
315
310
|
uid: string;
|
|
316
|
-
extend: <TNextExtended extends {
|
|
317
|
-
account?: undefined;
|
|
318
|
-
batch?: undefined;
|
|
319
|
-
chain?: undefined;
|
|
320
|
-
key?: undefined;
|
|
321
|
-
name?: undefined;
|
|
322
|
-
pollingInterval?: undefined;
|
|
323
|
-
request?: undefined;
|
|
324
|
-
transport?: undefined;
|
|
325
|
-
type?: undefined;
|
|
326
|
-
uid?: undefined;
|
|
327
|
-
} & {
|
|
328
|
-
[key: string]: unknown;
|
|
329
|
-
} = {
|
|
330
|
-
account?: undefined;
|
|
331
|
-
batch?: undefined;
|
|
332
|
-
chain?: undefined;
|
|
333
|
-
key?: undefined;
|
|
334
|
-
name?: undefined;
|
|
335
|
-
pollingInterval?: undefined;
|
|
336
|
-
request?: undefined;
|
|
337
|
-
transport?: undefined;
|
|
338
|
-
type?: undefined;
|
|
339
|
-
uid?: undefined;
|
|
340
|
-
} & {
|
|
341
|
-
[key: string]: unknown;
|
|
342
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
343
311
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
344
312
|
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}`>;
|
|
345
313
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -361,17 +329,17 @@ declare namespace setResolver {
|
|
|
361
329
|
[x: `address[${string}]`]: undefined;
|
|
362
330
|
[x: `bool[${string}]`]: undefined;
|
|
363
331
|
[x: `bytes[${string}]`]: undefined;
|
|
364
|
-
[x: `
|
|
365
|
-
[x: `
|
|
332
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
333
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
366
334
|
[x: `bytes16[${string}]`]: undefined;
|
|
367
335
|
[x: `bytes1[${string}]`]: undefined;
|
|
368
|
-
[x: `
|
|
336
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
369
337
|
[x: `bytes4[${string}]`]: undefined;
|
|
370
338
|
[x: `bytes5[${string}]`]: undefined;
|
|
371
339
|
[x: `bytes6[${string}]`]: undefined;
|
|
372
340
|
[x: `bytes7[${string}]`]: undefined;
|
|
341
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
373
342
|
[x: `bytes9[${string}]`]: undefined;
|
|
374
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
375
343
|
[x: `bytes11[${string}]`]: undefined;
|
|
376
344
|
[x: `bytes12[${string}]`]: undefined;
|
|
377
345
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -394,8 +362,8 @@ declare namespace setResolver {
|
|
|
394
362
|
[x: `bytes31[${string}]`]: undefined;
|
|
395
363
|
[x: `bytes32[${string}]`]: undefined;
|
|
396
364
|
[x: `int[${string}]`]: undefined;
|
|
397
|
-
[x: `int8[${string}]`]: undefined;
|
|
398
365
|
[x: `int16[${string}]`]: undefined;
|
|
366
|
+
[x: `int8[${string}]`]: undefined;
|
|
399
367
|
[x: `int24[${string}]`]: undefined;
|
|
400
368
|
[x: `int32[${string}]`]: undefined;
|
|
401
369
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -427,8 +395,8 @@ declare namespace setResolver {
|
|
|
427
395
|
[x: `int248[${string}]`]: undefined;
|
|
428
396
|
[x: `int256[${string}]`]: undefined;
|
|
429
397
|
[x: `uint[${string}]`]: undefined;
|
|
430
|
-
[x: `uint8[${string}]`]: undefined;
|
|
431
398
|
[x: `uint16[${string}]`]: undefined;
|
|
399
|
+
[x: `uint8[${string}]`]: undefined;
|
|
432
400
|
[x: `uint24[${string}]`]: undefined;
|
|
433
401
|
[x: `uint32[${string}]`]: undefined;
|
|
434
402
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -463,17 +431,17 @@ declare namespace setResolver {
|
|
|
463
431
|
address?: undefined;
|
|
464
432
|
bool?: undefined;
|
|
465
433
|
bytes?: undefined;
|
|
466
|
-
|
|
467
|
-
|
|
434
|
+
bytes3?: undefined;
|
|
435
|
+
bytes10?: undefined;
|
|
468
436
|
bytes16?: undefined;
|
|
469
437
|
bytes1?: undefined;
|
|
470
|
-
|
|
438
|
+
bytes2?: undefined;
|
|
471
439
|
bytes4?: undefined;
|
|
472
440
|
bytes5?: undefined;
|
|
473
441
|
bytes6?: undefined;
|
|
474
442
|
bytes7?: undefined;
|
|
443
|
+
bytes8?: undefined;
|
|
475
444
|
bytes9?: undefined;
|
|
476
|
-
bytes10?: undefined;
|
|
477
445
|
bytes11?: undefined;
|
|
478
446
|
bytes12?: undefined;
|
|
479
447
|
bytes13?: undefined;
|
|
@@ -495,8 +463,8 @@ declare namespace setResolver {
|
|
|
495
463
|
bytes30?: undefined;
|
|
496
464
|
bytes31?: undefined;
|
|
497
465
|
bytes32?: undefined;
|
|
498
|
-
int8?: undefined;
|
|
499
466
|
int16?: undefined;
|
|
467
|
+
int8?: undefined;
|
|
500
468
|
int24?: undefined;
|
|
501
469
|
int32?: undefined;
|
|
502
470
|
int40?: undefined;
|
|
@@ -527,8 +495,8 @@ declare namespace setResolver {
|
|
|
527
495
|
int240?: undefined;
|
|
528
496
|
int248?: undefined;
|
|
529
497
|
int256?: undefined;
|
|
530
|
-
uint8?: undefined;
|
|
531
498
|
uint16?: undefined;
|
|
499
|
+
uint8?: undefined;
|
|
532
500
|
uint24?: undefined;
|
|
533
501
|
uint32?: undefined;
|
|
534
502
|
uint40?: undefined;
|
|
@@ -563,6 +531,20 @@ declare namespace setResolver {
|
|
|
563
531
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
564
532
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
565
533
|
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}`>;
|
|
534
|
+
extend: <const client extends {
|
|
535
|
+
[x: string]: unknown;
|
|
536
|
+
account?: undefined;
|
|
537
|
+
batch?: undefined;
|
|
538
|
+
cacheTime?: undefined;
|
|
539
|
+
chain?: undefined;
|
|
540
|
+
key?: undefined;
|
|
541
|
+
name?: undefined;
|
|
542
|
+
pollingInterval?: undefined;
|
|
543
|
+
request?: undefined;
|
|
544
|
+
transport?: undefined;
|
|
545
|
+
type?: undefined;
|
|
546
|
+
uid?: undefined;
|
|
547
|
+
}>(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>>;
|
|
566
548
|
}, { name, contract, resolverAddress }: SetResolverDataParameters) => {
|
|
567
549
|
data: `0x${string}`;
|
|
568
550
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setResolver.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setResolver.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;AAI5E,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,gBAAgB,CAAA;AAGvB,MAAM,MAAM,yBAAyB,GAAG;IACtC,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,QAAQ,EAAE,UAAU,GAAG,aAAa,CAAA;IACpC,8BAA8B;IAC9B,eAAe,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,wBAAwB,CAAA;AAEhE,MAAM,MAAM,qBAAqB,CAC/B,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAKU,yBAAyB,KAC7D,yBA8BF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAe,WAAW,CACxB,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,eAAe,EACf,GAAG,MAAM,EACV,EAAE,qBAAqB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GACzD,OAAO,CAAC,qBAAqB,CAAC,CAOhC;kBAnBc,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuB1B,eAAe,WAAW,CAAA"}
|
|
@@ -17,8 +17,12 @@ export type SetTextRecordReturnType = Hash;
|
|
|
17
17
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(_wallet: {
|
|
18
18
|
account: TAccount;
|
|
19
19
|
batch?: {
|
|
20
|
-
multicall?: boolean |
|
|
20
|
+
multicall?: boolean | {
|
|
21
|
+
batchSize?: number | undefined;
|
|
22
|
+
wait?: number | undefined;
|
|
23
|
+
} | undefined;
|
|
21
24
|
} | undefined;
|
|
25
|
+
cacheTime: number;
|
|
22
26
|
chain: TChain;
|
|
23
27
|
key: string;
|
|
24
28
|
name: string;
|
|
@@ -27,33 +31,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
27
31
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
28
32
|
type: string;
|
|
29
33
|
uid: string;
|
|
30
|
-
extend: <TNextExtended extends {
|
|
31
|
-
account?: undefined;
|
|
32
|
-
batch?: undefined;
|
|
33
|
-
chain?: undefined;
|
|
34
|
-
key?: undefined;
|
|
35
|
-
name?: undefined;
|
|
36
|
-
pollingInterval?: undefined;
|
|
37
|
-
request?: undefined;
|
|
38
|
-
transport?: undefined;
|
|
39
|
-
type?: undefined;
|
|
40
|
-
uid?: undefined;
|
|
41
|
-
} & {
|
|
42
|
-
[key: string]: unknown;
|
|
43
|
-
} = {
|
|
44
|
-
account?: undefined;
|
|
45
|
-
batch?: undefined;
|
|
46
|
-
chain?: undefined;
|
|
47
|
-
key?: undefined;
|
|
48
|
-
name?: undefined;
|
|
49
|
-
pollingInterval?: undefined;
|
|
50
|
-
request?: undefined;
|
|
51
|
-
transport?: undefined;
|
|
52
|
-
type?: undefined;
|
|
53
|
-
uid?: undefined;
|
|
54
|
-
} & {
|
|
55
|
-
[key: string]: unknown;
|
|
56
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
57
34
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
58
35
|
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}`>;
|
|
59
36
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -75,17 +52,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
75
52
|
[x: `address[${string}]`]: undefined;
|
|
76
53
|
[x: `bool[${string}]`]: undefined;
|
|
77
54
|
[x: `bytes[${string}]`]: undefined;
|
|
78
|
-
[x: `
|
|
79
|
-
[x: `
|
|
55
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
56
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
80
57
|
[x: `bytes16[${string}]`]: undefined;
|
|
81
58
|
[x: `bytes1[${string}]`]: undefined;
|
|
82
|
-
[x: `
|
|
59
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
83
60
|
[x: `bytes4[${string}]`]: undefined;
|
|
84
61
|
[x: `bytes5[${string}]`]: undefined;
|
|
85
62
|
[x: `bytes6[${string}]`]: undefined;
|
|
86
63
|
[x: `bytes7[${string}]`]: undefined;
|
|
64
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
87
65
|
[x: `bytes9[${string}]`]: undefined;
|
|
88
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
89
66
|
[x: `bytes11[${string}]`]: undefined;
|
|
90
67
|
[x: `bytes12[${string}]`]: undefined;
|
|
91
68
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -108,8 +85,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
108
85
|
[x: `bytes31[${string}]`]: undefined;
|
|
109
86
|
[x: `bytes32[${string}]`]: undefined;
|
|
110
87
|
[x: `int[${string}]`]: undefined;
|
|
111
|
-
[x: `int8[${string}]`]: undefined;
|
|
112
88
|
[x: `int16[${string}]`]: undefined;
|
|
89
|
+
[x: `int8[${string}]`]: undefined;
|
|
113
90
|
[x: `int24[${string}]`]: undefined;
|
|
114
91
|
[x: `int32[${string}]`]: undefined;
|
|
115
92
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -141,8 +118,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
141
118
|
[x: `int248[${string}]`]: undefined;
|
|
142
119
|
[x: `int256[${string}]`]: undefined;
|
|
143
120
|
[x: `uint[${string}]`]: undefined;
|
|
144
|
-
[x: `uint8[${string}]`]: undefined;
|
|
145
121
|
[x: `uint16[${string}]`]: undefined;
|
|
122
|
+
[x: `uint8[${string}]`]: undefined;
|
|
146
123
|
[x: `uint24[${string}]`]: undefined;
|
|
147
124
|
[x: `uint32[${string}]`]: undefined;
|
|
148
125
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -177,17 +154,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
177
154
|
address?: undefined;
|
|
178
155
|
bool?: undefined;
|
|
179
156
|
bytes?: undefined;
|
|
180
|
-
|
|
181
|
-
|
|
157
|
+
bytes3?: undefined;
|
|
158
|
+
bytes10?: undefined;
|
|
182
159
|
bytes16?: undefined;
|
|
183
160
|
bytes1?: undefined;
|
|
184
|
-
|
|
161
|
+
bytes2?: undefined;
|
|
185
162
|
bytes4?: undefined;
|
|
186
163
|
bytes5?: undefined;
|
|
187
164
|
bytes6?: undefined;
|
|
188
165
|
bytes7?: undefined;
|
|
166
|
+
bytes8?: undefined;
|
|
189
167
|
bytes9?: undefined;
|
|
190
|
-
bytes10?: undefined;
|
|
191
168
|
bytes11?: undefined;
|
|
192
169
|
bytes12?: undefined;
|
|
193
170
|
bytes13?: undefined;
|
|
@@ -209,8 +186,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
209
186
|
bytes30?: undefined;
|
|
210
187
|
bytes31?: undefined;
|
|
211
188
|
bytes32?: undefined;
|
|
212
|
-
int8?: undefined;
|
|
213
189
|
int16?: undefined;
|
|
190
|
+
int8?: undefined;
|
|
214
191
|
int24?: undefined;
|
|
215
192
|
int32?: undefined;
|
|
216
193
|
int40?: undefined;
|
|
@@ -241,8 +218,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
241
218
|
int240?: undefined;
|
|
242
219
|
int248?: undefined;
|
|
243
220
|
int256?: undefined;
|
|
244
|
-
uint8?: undefined;
|
|
245
221
|
uint16?: undefined;
|
|
222
|
+
uint8?: undefined;
|
|
246
223
|
uint24?: undefined;
|
|
247
224
|
uint32?: undefined;
|
|
248
225
|
uint40?: undefined;
|
|
@@ -277,6 +254,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
277
254
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
278
255
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
279
256
|
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}`>;
|
|
257
|
+
extend: <const client extends {
|
|
258
|
+
[x: string]: unknown;
|
|
259
|
+
account?: undefined;
|
|
260
|
+
batch?: undefined;
|
|
261
|
+
cacheTime?: undefined;
|
|
262
|
+
chain?: undefined;
|
|
263
|
+
key?: undefined;
|
|
264
|
+
name?: undefined;
|
|
265
|
+
pollingInterval?: undefined;
|
|
266
|
+
request?: undefined;
|
|
267
|
+
transport?: undefined;
|
|
268
|
+
type?: undefined;
|
|
269
|
+
uid?: undefined;
|
|
270
|
+
}>(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>>;
|
|
280
271
|
}, { name, key, value, resolverAddress }: SetTextRecordDataParameters) => SetTextRecordDataReturnType;
|
|
281
272
|
/**
|
|
282
273
|
* Sets a text record for a name on a resolver.
|
|
@@ -306,8 +297,12 @@ declare namespace setTextRecord {
|
|
|
306
297
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(_wallet: {
|
|
307
298
|
account: TAccount;
|
|
308
299
|
batch?: {
|
|
309
|
-
multicall?: boolean |
|
|
300
|
+
multicall?: boolean | {
|
|
301
|
+
batchSize?: number | undefined;
|
|
302
|
+
wait?: number | undefined;
|
|
303
|
+
} | undefined;
|
|
310
304
|
} | undefined;
|
|
305
|
+
cacheTime: number;
|
|
311
306
|
chain: TChain;
|
|
312
307
|
key: string;
|
|
313
308
|
name: string;
|
|
@@ -316,33 +311,6 @@ declare namespace setTextRecord {
|
|
|
316
311
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
317
312
|
type: string;
|
|
318
313
|
uid: string;
|
|
319
|
-
extend: <TNextExtended extends {
|
|
320
|
-
account?: undefined;
|
|
321
|
-
batch?: undefined;
|
|
322
|
-
chain?: undefined;
|
|
323
|
-
key?: undefined;
|
|
324
|
-
name?: undefined;
|
|
325
|
-
pollingInterval?: undefined;
|
|
326
|
-
request?: undefined;
|
|
327
|
-
transport?: undefined;
|
|
328
|
-
type?: undefined;
|
|
329
|
-
uid?: undefined;
|
|
330
|
-
} & {
|
|
331
|
-
[key: string]: unknown;
|
|
332
|
-
} = {
|
|
333
|
-
account?: undefined;
|
|
334
|
-
batch?: undefined;
|
|
335
|
-
chain?: undefined;
|
|
336
|
-
key?: undefined;
|
|
337
|
-
name?: undefined;
|
|
338
|
-
pollingInterval?: undefined;
|
|
339
|
-
request?: undefined;
|
|
340
|
-
transport?: undefined;
|
|
341
|
-
type?: undefined;
|
|
342
|
-
uid?: undefined;
|
|
343
|
-
} & {
|
|
344
|
-
[key: string]: unknown;
|
|
345
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
346
314
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
347
315
|
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}`>;
|
|
348
316
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -364,17 +332,17 @@ declare namespace setTextRecord {
|
|
|
364
332
|
[x: `address[${string}]`]: undefined;
|
|
365
333
|
[x: `bool[${string}]`]: undefined;
|
|
366
334
|
[x: `bytes[${string}]`]: undefined;
|
|
367
|
-
[x: `
|
|
368
|
-
[x: `
|
|
335
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
336
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
369
337
|
[x: `bytes16[${string}]`]: undefined;
|
|
370
338
|
[x: `bytes1[${string}]`]: undefined;
|
|
371
|
-
[x: `
|
|
339
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
372
340
|
[x: `bytes4[${string}]`]: undefined;
|
|
373
341
|
[x: `bytes5[${string}]`]: undefined;
|
|
374
342
|
[x: `bytes6[${string}]`]: undefined;
|
|
375
343
|
[x: `bytes7[${string}]`]: undefined;
|
|
344
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
376
345
|
[x: `bytes9[${string}]`]: undefined;
|
|
377
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
378
346
|
[x: `bytes11[${string}]`]: undefined;
|
|
379
347
|
[x: `bytes12[${string}]`]: undefined;
|
|
380
348
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -397,8 +365,8 @@ declare namespace setTextRecord {
|
|
|
397
365
|
[x: `bytes31[${string}]`]: undefined;
|
|
398
366
|
[x: `bytes32[${string}]`]: undefined;
|
|
399
367
|
[x: `int[${string}]`]: undefined;
|
|
400
|
-
[x: `int8[${string}]`]: undefined;
|
|
401
368
|
[x: `int16[${string}]`]: undefined;
|
|
369
|
+
[x: `int8[${string}]`]: undefined;
|
|
402
370
|
[x: `int24[${string}]`]: undefined;
|
|
403
371
|
[x: `int32[${string}]`]: undefined;
|
|
404
372
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -430,8 +398,8 @@ declare namespace setTextRecord {
|
|
|
430
398
|
[x: `int248[${string}]`]: undefined;
|
|
431
399
|
[x: `int256[${string}]`]: undefined;
|
|
432
400
|
[x: `uint[${string}]`]: undefined;
|
|
433
|
-
[x: `uint8[${string}]`]: undefined;
|
|
434
401
|
[x: `uint16[${string}]`]: undefined;
|
|
402
|
+
[x: `uint8[${string}]`]: undefined;
|
|
435
403
|
[x: `uint24[${string}]`]: undefined;
|
|
436
404
|
[x: `uint32[${string}]`]: undefined;
|
|
437
405
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -466,17 +434,17 @@ declare namespace setTextRecord {
|
|
|
466
434
|
address?: undefined;
|
|
467
435
|
bool?: undefined;
|
|
468
436
|
bytes?: undefined;
|
|
469
|
-
|
|
470
|
-
|
|
437
|
+
bytes3?: undefined;
|
|
438
|
+
bytes10?: undefined;
|
|
471
439
|
bytes16?: undefined;
|
|
472
440
|
bytes1?: undefined;
|
|
473
|
-
|
|
441
|
+
bytes2?: undefined;
|
|
474
442
|
bytes4?: undefined;
|
|
475
443
|
bytes5?: undefined;
|
|
476
444
|
bytes6?: undefined;
|
|
477
445
|
bytes7?: undefined;
|
|
446
|
+
bytes8?: undefined;
|
|
478
447
|
bytes9?: undefined;
|
|
479
|
-
bytes10?: undefined;
|
|
480
448
|
bytes11?: undefined;
|
|
481
449
|
bytes12?: undefined;
|
|
482
450
|
bytes13?: undefined;
|
|
@@ -498,8 +466,8 @@ declare namespace setTextRecord {
|
|
|
498
466
|
bytes30?: undefined;
|
|
499
467
|
bytes31?: undefined;
|
|
500
468
|
bytes32?: undefined;
|
|
501
|
-
int8?: undefined;
|
|
502
469
|
int16?: undefined;
|
|
470
|
+
int8?: undefined;
|
|
503
471
|
int24?: undefined;
|
|
504
472
|
int32?: undefined;
|
|
505
473
|
int40?: undefined;
|
|
@@ -530,8 +498,8 @@ declare namespace setTextRecord {
|
|
|
530
498
|
int240?: undefined;
|
|
531
499
|
int248?: undefined;
|
|
532
500
|
int256?: undefined;
|
|
533
|
-
uint8?: undefined;
|
|
534
501
|
uint16?: undefined;
|
|
502
|
+
uint8?: undefined;
|
|
535
503
|
uint24?: undefined;
|
|
536
504
|
uint32?: undefined;
|
|
537
505
|
uint40?: undefined;
|
|
@@ -566,6 +534,20 @@ declare namespace setTextRecord {
|
|
|
566
534
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
567
535
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
568
536
|
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}`>;
|
|
537
|
+
extend: <const client extends {
|
|
538
|
+
[x: string]: unknown;
|
|
539
|
+
account?: undefined;
|
|
540
|
+
batch?: undefined;
|
|
541
|
+
cacheTime?: undefined;
|
|
542
|
+
chain?: undefined;
|
|
543
|
+
key?: undefined;
|
|
544
|
+
name?: undefined;
|
|
545
|
+
pollingInterval?: undefined;
|
|
546
|
+
request?: undefined;
|
|
547
|
+
transport?: undefined;
|
|
548
|
+
type?: undefined;
|
|
549
|
+
uid?: undefined;
|
|
550
|
+
}>(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>>;
|
|
569
551
|
}, { name, key, value, resolverAddress }: SetTextRecordDataParameters) => {
|
|
570
552
|
data: `0x${string}`;
|
|
571
553
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setTextRecord.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setTextRecord.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,IAAI,E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