@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 SetContentHashRecordReturnType = 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, contentHash, resolverAddress }: SetContentHashRecordDataParameters) => SetContentHashRecordDataReturnType;
|
|
279
270
|
/**
|
|
280
271
|
* Sets the content hash record for a name on a resolver.
|
|
@@ -303,8 +294,12 @@ declare namespace setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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 setContentHashRecord {
|
|
|
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, contentHash, resolverAddress }: SetContentHashRecordDataParameters) => {
|
|
567
549
|
data: `0x${string}`;
|
|
568
550
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setContentHashRecord.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setContentHashRecord.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,IAAI,EACJ,yBAAyB,EACzB,SAAS,EACV,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;AAIvB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,yBAAyB;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,8CAA8C;IAC9C,eAAe,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,wBAAwB,CAAA;AAEzE,MAAM,MAAM,8BAA8B,CACxC,MAAM,SAAS,YAAY,EAC3B,QAAQ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAKa,kCAAkC,KACzE,kCAKF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAe,oBAAoB,CACjC,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,WAAW,EACX,eAAe,EACf,GAAG,MAAM,EACV,EAAE,8BAA8B,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAClE,OAAO,CAAC,8BAA8B,CAAC,CAWzC;kBAvBc,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BnC,eAAe,oBAAoB,CAAA"}
|
|
@@ -14,8 +14,12 @@ export type SetFusesReturnType = 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
|
}, { name, fuses }: SetFusesDataParameters) => SetFusesDataReturnType;
|
|
278
269
|
/**
|
|
279
270
|
* Sets the fuses for a name.
|
|
@@ -303,8 +294,12 @@ declare namespace setFuses {
|
|
|
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 setFuses {
|
|
|
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 setFuses {
|
|
|
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 setFuses {
|
|
|
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 setFuses {
|
|
|
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 setFuses {
|
|
|
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 setFuses {
|
|
|
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 setFuses {
|
|
|
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 setFuses {
|
|
|
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, fuses }: SetFusesDataParameters) => {
|
|
567
549
|
data: `0x${string}`;
|
|
568
550
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setFuses.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setFuses.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,yBAAyB,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