@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
|
@@ -24,8 +24,12 @@ export type SetPrimaryNameReturnType = Hash;
|
|
|
24
24
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account>(wallet: {
|
|
25
25
|
account: TAccount;
|
|
26
26
|
batch?: {
|
|
27
|
-
multicall?: boolean |
|
|
27
|
+
multicall?: boolean | {
|
|
28
|
+
batchSize?: number | undefined;
|
|
29
|
+
wait?: number | undefined;
|
|
30
|
+
} | undefined;
|
|
28
31
|
} | undefined;
|
|
32
|
+
cacheTime: number;
|
|
29
33
|
chain: TChain;
|
|
30
34
|
key: string;
|
|
31
35
|
name: string;
|
|
@@ -34,33 +38,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
34
38
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
35
39
|
type: string;
|
|
36
40
|
uid: string;
|
|
37
|
-
extend: <TNextExtended extends {
|
|
38
|
-
account?: undefined;
|
|
39
|
-
batch?: undefined;
|
|
40
|
-
chain?: undefined;
|
|
41
|
-
key?: undefined;
|
|
42
|
-
name?: undefined;
|
|
43
|
-
pollingInterval?: undefined;
|
|
44
|
-
request?: undefined;
|
|
45
|
-
transport?: undefined;
|
|
46
|
-
type?: undefined;
|
|
47
|
-
uid?: undefined;
|
|
48
|
-
} & {
|
|
49
|
-
[key: string]: unknown;
|
|
50
|
-
} = {
|
|
51
|
-
account?: undefined;
|
|
52
|
-
batch?: undefined;
|
|
53
|
-
chain?: undefined;
|
|
54
|
-
key?: undefined;
|
|
55
|
-
name?: undefined;
|
|
56
|
-
pollingInterval?: undefined;
|
|
57
|
-
request?: undefined;
|
|
58
|
-
transport?: undefined;
|
|
59
|
-
type?: undefined;
|
|
60
|
-
uid?: undefined;
|
|
61
|
-
} & {
|
|
62
|
-
[key: string]: unknown;
|
|
63
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
64
41
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
65
42
|
deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
|
|
66
43
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -82,17 +59,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
82
59
|
[x: `address[${string}]`]: undefined;
|
|
83
60
|
[x: `bool[${string}]`]: undefined;
|
|
84
61
|
[x: `bytes[${string}]`]: undefined;
|
|
85
|
-
[x: `
|
|
86
|
-
[x: `
|
|
62
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
63
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
87
64
|
[x: `bytes16[${string}]`]: undefined;
|
|
88
65
|
[x: `bytes1[${string}]`]: undefined;
|
|
89
|
-
[x: `
|
|
66
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
90
67
|
[x: `bytes4[${string}]`]: undefined;
|
|
91
68
|
[x: `bytes5[${string}]`]: undefined;
|
|
92
69
|
[x: `bytes6[${string}]`]: undefined;
|
|
93
70
|
[x: `bytes7[${string}]`]: undefined;
|
|
71
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
94
72
|
[x: `bytes9[${string}]`]: undefined;
|
|
95
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
96
73
|
[x: `bytes11[${string}]`]: undefined;
|
|
97
74
|
[x: `bytes12[${string}]`]: undefined;
|
|
98
75
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -115,8 +92,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
115
92
|
[x: `bytes31[${string}]`]: undefined;
|
|
116
93
|
[x: `bytes32[${string}]`]: undefined;
|
|
117
94
|
[x: `int[${string}]`]: undefined;
|
|
118
|
-
[x: `int8[${string}]`]: undefined;
|
|
119
95
|
[x: `int16[${string}]`]: undefined;
|
|
96
|
+
[x: `int8[${string}]`]: undefined;
|
|
120
97
|
[x: `int24[${string}]`]: undefined;
|
|
121
98
|
[x: `int32[${string}]`]: undefined;
|
|
122
99
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -148,8 +125,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
148
125
|
[x: `int248[${string}]`]: undefined;
|
|
149
126
|
[x: `int256[${string}]`]: undefined;
|
|
150
127
|
[x: `uint[${string}]`]: undefined;
|
|
151
|
-
[x: `uint8[${string}]`]: undefined;
|
|
152
128
|
[x: `uint16[${string}]`]: undefined;
|
|
129
|
+
[x: `uint8[${string}]`]: undefined;
|
|
153
130
|
[x: `uint24[${string}]`]: undefined;
|
|
154
131
|
[x: `uint32[${string}]`]: undefined;
|
|
155
132
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -184,17 +161,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
184
161
|
address?: undefined;
|
|
185
162
|
bool?: undefined;
|
|
186
163
|
bytes?: undefined;
|
|
187
|
-
|
|
188
|
-
|
|
164
|
+
bytes3?: undefined;
|
|
165
|
+
bytes10?: undefined;
|
|
189
166
|
bytes16?: undefined;
|
|
190
167
|
bytes1?: undefined;
|
|
191
|
-
|
|
168
|
+
bytes2?: undefined;
|
|
192
169
|
bytes4?: undefined;
|
|
193
170
|
bytes5?: undefined;
|
|
194
171
|
bytes6?: undefined;
|
|
195
172
|
bytes7?: undefined;
|
|
173
|
+
bytes8?: undefined;
|
|
196
174
|
bytes9?: undefined;
|
|
197
|
-
bytes10?: undefined;
|
|
198
175
|
bytes11?: undefined;
|
|
199
176
|
bytes12?: undefined;
|
|
200
177
|
bytes13?: undefined;
|
|
@@ -216,8 +193,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
216
193
|
bytes30?: undefined;
|
|
217
194
|
bytes31?: undefined;
|
|
218
195
|
bytes32?: undefined;
|
|
219
|
-
int8?: undefined;
|
|
220
196
|
int16?: undefined;
|
|
197
|
+
int8?: undefined;
|
|
221
198
|
int24?: undefined;
|
|
222
199
|
int32?: undefined;
|
|
223
200
|
int40?: undefined;
|
|
@@ -248,8 +225,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
248
225
|
int240?: undefined;
|
|
249
226
|
int248?: undefined;
|
|
250
227
|
int256?: undefined;
|
|
251
|
-
uint8?: undefined;
|
|
252
228
|
uint16?: undefined;
|
|
229
|
+
uint8?: undefined;
|
|
253
230
|
uint24?: undefined;
|
|
254
231
|
uint32?: undefined;
|
|
255
232
|
uint40?: undefined;
|
|
@@ -284,6 +261,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
284
261
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
285
262
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
286
263
|
writeContract: <TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
264
|
+
extend: <const client extends {
|
|
265
|
+
[x: string]: unknown;
|
|
266
|
+
account?: undefined;
|
|
267
|
+
batch?: undefined;
|
|
268
|
+
cacheTime?: undefined;
|
|
269
|
+
chain?: undefined;
|
|
270
|
+
key?: undefined;
|
|
271
|
+
name?: undefined;
|
|
272
|
+
pollingInterval?: undefined;
|
|
273
|
+
request?: undefined;
|
|
274
|
+
transport?: undefined;
|
|
275
|
+
type?: undefined;
|
|
276
|
+
uid?: undefined;
|
|
277
|
+
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
|
|
287
278
|
}, { name, address, resolverAddress, }: SetPrimaryNameDataParameters) => SetPrimaryNameDataReturnType;
|
|
288
279
|
/**
|
|
289
280
|
* Sets a primary name for an address.
|
|
@@ -310,8 +301,12 @@ declare namespace setPrimaryName {
|
|
|
310
301
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account>(wallet: {
|
|
311
302
|
account: TAccount;
|
|
312
303
|
batch?: {
|
|
313
|
-
multicall?: boolean |
|
|
304
|
+
multicall?: boolean | {
|
|
305
|
+
batchSize?: number | undefined;
|
|
306
|
+
wait?: number | undefined;
|
|
307
|
+
} | undefined;
|
|
314
308
|
} | undefined;
|
|
309
|
+
cacheTime: number;
|
|
315
310
|
chain: TChain;
|
|
316
311
|
key: string;
|
|
317
312
|
name: string;
|
|
@@ -320,33 +315,6 @@ declare namespace setPrimaryName {
|
|
|
320
315
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
321
316
|
type: string;
|
|
322
317
|
uid: string;
|
|
323
|
-
extend: <TNextExtended extends {
|
|
324
|
-
account?: undefined;
|
|
325
|
-
batch?: undefined;
|
|
326
|
-
chain?: undefined;
|
|
327
|
-
key?: undefined;
|
|
328
|
-
name?: undefined;
|
|
329
|
-
pollingInterval?: undefined;
|
|
330
|
-
request?: undefined;
|
|
331
|
-
transport?: undefined;
|
|
332
|
-
type?: undefined;
|
|
333
|
-
uid?: undefined;
|
|
334
|
-
} & {
|
|
335
|
-
[key: string]: unknown;
|
|
336
|
-
} = {
|
|
337
|
-
account?: undefined;
|
|
338
|
-
batch?: undefined;
|
|
339
|
-
chain?: undefined;
|
|
340
|
-
key?: undefined;
|
|
341
|
-
name?: undefined;
|
|
342
|
-
pollingInterval?: undefined;
|
|
343
|
-
request?: undefined;
|
|
344
|
-
transport?: undefined;
|
|
345
|
-
type?: undefined;
|
|
346
|
-
uid?: undefined;
|
|
347
|
-
} & {
|
|
348
|
-
[key: string]: unknown;
|
|
349
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
350
318
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
351
319
|
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}`>;
|
|
352
320
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -368,17 +336,17 @@ declare namespace setPrimaryName {
|
|
|
368
336
|
[x: `address[${string}]`]: undefined;
|
|
369
337
|
[x: `bool[${string}]`]: undefined;
|
|
370
338
|
[x: `bytes[${string}]`]: undefined;
|
|
371
|
-
[x: `
|
|
372
|
-
[x: `
|
|
339
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
340
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
373
341
|
[x: `bytes16[${string}]`]: undefined;
|
|
374
342
|
[x: `bytes1[${string}]`]: undefined;
|
|
375
|
-
[x: `
|
|
343
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
376
344
|
[x: `bytes4[${string}]`]: undefined;
|
|
377
345
|
[x: `bytes5[${string}]`]: undefined;
|
|
378
346
|
[x: `bytes6[${string}]`]: undefined;
|
|
379
347
|
[x: `bytes7[${string}]`]: undefined;
|
|
348
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
380
349
|
[x: `bytes9[${string}]`]: undefined;
|
|
381
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
382
350
|
[x: `bytes11[${string}]`]: undefined;
|
|
383
351
|
[x: `bytes12[${string}]`]: undefined;
|
|
384
352
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -401,8 +369,8 @@ declare namespace setPrimaryName {
|
|
|
401
369
|
[x: `bytes31[${string}]`]: undefined;
|
|
402
370
|
[x: `bytes32[${string}]`]: undefined;
|
|
403
371
|
[x: `int[${string}]`]: undefined;
|
|
404
|
-
[x: `int8[${string}]`]: undefined;
|
|
405
372
|
[x: `int16[${string}]`]: undefined;
|
|
373
|
+
[x: `int8[${string}]`]: undefined;
|
|
406
374
|
[x: `int24[${string}]`]: undefined;
|
|
407
375
|
[x: `int32[${string}]`]: undefined;
|
|
408
376
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -434,8 +402,8 @@ declare namespace setPrimaryName {
|
|
|
434
402
|
[x: `int248[${string}]`]: undefined;
|
|
435
403
|
[x: `int256[${string}]`]: undefined;
|
|
436
404
|
[x: `uint[${string}]`]: undefined;
|
|
437
|
-
[x: `uint8[${string}]`]: undefined;
|
|
438
405
|
[x: `uint16[${string}]`]: undefined;
|
|
406
|
+
[x: `uint8[${string}]`]: undefined;
|
|
439
407
|
[x: `uint24[${string}]`]: undefined;
|
|
440
408
|
[x: `uint32[${string}]`]: undefined;
|
|
441
409
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -470,17 +438,17 @@ declare namespace setPrimaryName {
|
|
|
470
438
|
address?: undefined;
|
|
471
439
|
bool?: undefined;
|
|
472
440
|
bytes?: undefined;
|
|
473
|
-
|
|
474
|
-
|
|
441
|
+
bytes3?: undefined;
|
|
442
|
+
bytes10?: undefined;
|
|
475
443
|
bytes16?: undefined;
|
|
476
444
|
bytes1?: undefined;
|
|
477
|
-
|
|
445
|
+
bytes2?: undefined;
|
|
478
446
|
bytes4?: undefined;
|
|
479
447
|
bytes5?: undefined;
|
|
480
448
|
bytes6?: undefined;
|
|
481
449
|
bytes7?: undefined;
|
|
450
|
+
bytes8?: undefined;
|
|
482
451
|
bytes9?: undefined;
|
|
483
|
-
bytes10?: undefined;
|
|
484
452
|
bytes11?: undefined;
|
|
485
453
|
bytes12?: undefined;
|
|
486
454
|
bytes13?: undefined;
|
|
@@ -502,8 +470,8 @@ declare namespace setPrimaryName {
|
|
|
502
470
|
bytes30?: undefined;
|
|
503
471
|
bytes31?: undefined;
|
|
504
472
|
bytes32?: undefined;
|
|
505
|
-
int8?: undefined;
|
|
506
473
|
int16?: undefined;
|
|
474
|
+
int8?: undefined;
|
|
507
475
|
int24?: undefined;
|
|
508
476
|
int32?: undefined;
|
|
509
477
|
int40?: undefined;
|
|
@@ -534,8 +502,8 @@ declare namespace setPrimaryName {
|
|
|
534
502
|
int240?: undefined;
|
|
535
503
|
int248?: undefined;
|
|
536
504
|
int256?: undefined;
|
|
537
|
-
uint8?: undefined;
|
|
538
505
|
uint16?: undefined;
|
|
506
|
+
uint8?: undefined;
|
|
539
507
|
uint24?: undefined;
|
|
540
508
|
uint32?: undefined;
|
|
541
509
|
uint40?: undefined;
|
|
@@ -570,6 +538,20 @@ declare namespace setPrimaryName {
|
|
|
570
538
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
571
539
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
572
540
|
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}`>;
|
|
541
|
+
extend: <const client extends {
|
|
542
|
+
[x: string]: unknown;
|
|
543
|
+
account?: undefined;
|
|
544
|
+
batch?: undefined;
|
|
545
|
+
cacheTime?: undefined;
|
|
546
|
+
chain?: undefined;
|
|
547
|
+
key?: undefined;
|
|
548
|
+
name?: undefined;
|
|
549
|
+
pollingInterval?: undefined;
|
|
550
|
+
request?: undefined;
|
|
551
|
+
transport?: undefined;
|
|
552
|
+
type?: undefined;
|
|
553
|
+
uid?: undefined;
|
|
554
|
+
}>(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>>;
|
|
573
555
|
}, { name, address, resolverAddress, }: SetPrimaryNameDataParameters) => {
|
|
574
556
|
data: `0x${string}`;
|
|
575
557
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setPrimaryName.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setPrimaryName.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAM5E,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,gBAAgB,CAAA;AAEvB,KAAK,gCAAgC,GAAG;IACtC,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kCAAkC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,KAAK,gCAAgC,GAAG;IACtC,OAAO,CAAC,EAAE,KAAK,CAAA;IACf,eAAe,CAAC,EAAE,KAAK,CAAA;CACxB,CAAA;AAED,KAAK,iCAAiC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kBAzBc,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6B7B,eAAe,cAAc,CAAA"}
|
|
@@ -14,8 +14,12 @@ export type SetRecordsReturnType = 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, resolverAddress, ...records }: SetRecordsDataParameters) => SetRecordsDataReturnType;
|
|
278
269
|
/**
|
|
279
270
|
* Sets multiple records for a name on a resolver.
|
|
@@ -308,8 +299,12 @@ declare namespace setRecords {
|
|
|
308
299
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(_wallet: {
|
|
309
300
|
account: TAccount;
|
|
310
301
|
batch?: {
|
|
311
|
-
multicall?: boolean |
|
|
302
|
+
multicall?: boolean | {
|
|
303
|
+
batchSize?: number | undefined;
|
|
304
|
+
wait?: number | undefined;
|
|
305
|
+
} | undefined;
|
|
312
306
|
} | undefined;
|
|
307
|
+
cacheTime: number;
|
|
313
308
|
chain: TChain;
|
|
314
309
|
key: string;
|
|
315
310
|
name: string;
|
|
@@ -318,33 +313,6 @@ declare namespace setRecords {
|
|
|
318
313
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
319
314
|
type: string;
|
|
320
315
|
uid: string;
|
|
321
|
-
extend: <TNextExtended extends {
|
|
322
|
-
account?: undefined;
|
|
323
|
-
batch?: undefined;
|
|
324
|
-
chain?: undefined;
|
|
325
|
-
key?: undefined;
|
|
326
|
-
name?: undefined;
|
|
327
|
-
pollingInterval?: undefined;
|
|
328
|
-
request?: undefined;
|
|
329
|
-
transport?: undefined;
|
|
330
|
-
type?: undefined;
|
|
331
|
-
uid?: undefined;
|
|
332
|
-
} & {
|
|
333
|
-
[key: string]: unknown;
|
|
334
|
-
} = {
|
|
335
|
-
account?: undefined;
|
|
336
|
-
batch?: undefined;
|
|
337
|
-
chain?: undefined;
|
|
338
|
-
key?: undefined;
|
|
339
|
-
name?: undefined;
|
|
340
|
-
pollingInterval?: undefined;
|
|
341
|
-
request?: undefined;
|
|
342
|
-
transport?: undefined;
|
|
343
|
-
type?: undefined;
|
|
344
|
-
uid?: undefined;
|
|
345
|
-
} & {
|
|
346
|
-
[key: string]: unknown;
|
|
347
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
348
316
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
349
317
|
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}`>;
|
|
350
318
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -366,17 +334,17 @@ declare namespace setRecords {
|
|
|
366
334
|
[x: `address[${string}]`]: undefined;
|
|
367
335
|
[x: `bool[${string}]`]: undefined;
|
|
368
336
|
[x: `bytes[${string}]`]: undefined;
|
|
369
|
-
[x: `
|
|
370
|
-
[x: `
|
|
337
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
338
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
371
339
|
[x: `bytes16[${string}]`]: undefined;
|
|
372
340
|
[x: `bytes1[${string}]`]: undefined;
|
|
373
|
-
[x: `
|
|
341
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
374
342
|
[x: `bytes4[${string}]`]: undefined;
|
|
375
343
|
[x: `bytes5[${string}]`]: undefined;
|
|
376
344
|
[x: `bytes6[${string}]`]: undefined;
|
|
377
345
|
[x: `bytes7[${string}]`]: undefined;
|
|
346
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
378
347
|
[x: `bytes9[${string}]`]: undefined;
|
|
379
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
380
348
|
[x: `bytes11[${string}]`]: undefined;
|
|
381
349
|
[x: `bytes12[${string}]`]: undefined;
|
|
382
350
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -399,8 +367,8 @@ declare namespace setRecords {
|
|
|
399
367
|
[x: `bytes31[${string}]`]: undefined;
|
|
400
368
|
[x: `bytes32[${string}]`]: undefined;
|
|
401
369
|
[x: `int[${string}]`]: undefined;
|
|
402
|
-
[x: `int8[${string}]`]: undefined;
|
|
403
370
|
[x: `int16[${string}]`]: undefined;
|
|
371
|
+
[x: `int8[${string}]`]: undefined;
|
|
404
372
|
[x: `int24[${string}]`]: undefined;
|
|
405
373
|
[x: `int32[${string}]`]: undefined;
|
|
406
374
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -432,8 +400,8 @@ declare namespace setRecords {
|
|
|
432
400
|
[x: `int248[${string}]`]: undefined;
|
|
433
401
|
[x: `int256[${string}]`]: undefined;
|
|
434
402
|
[x: `uint[${string}]`]: undefined;
|
|
435
|
-
[x: `uint8[${string}]`]: undefined;
|
|
436
403
|
[x: `uint16[${string}]`]: undefined;
|
|
404
|
+
[x: `uint8[${string}]`]: undefined;
|
|
437
405
|
[x: `uint24[${string}]`]: undefined;
|
|
438
406
|
[x: `uint32[${string}]`]: undefined;
|
|
439
407
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -468,17 +436,17 @@ declare namespace setRecords {
|
|
|
468
436
|
address?: undefined;
|
|
469
437
|
bool?: undefined;
|
|
470
438
|
bytes?: undefined;
|
|
471
|
-
|
|
472
|
-
|
|
439
|
+
bytes3?: undefined;
|
|
440
|
+
bytes10?: undefined;
|
|
473
441
|
bytes16?: undefined;
|
|
474
442
|
bytes1?: undefined;
|
|
475
|
-
|
|
443
|
+
bytes2?: undefined;
|
|
476
444
|
bytes4?: undefined;
|
|
477
445
|
bytes5?: undefined;
|
|
478
446
|
bytes6?: undefined;
|
|
479
447
|
bytes7?: undefined;
|
|
448
|
+
bytes8?: undefined;
|
|
480
449
|
bytes9?: undefined;
|
|
481
|
-
bytes10?: undefined;
|
|
482
450
|
bytes11?: undefined;
|
|
483
451
|
bytes12?: undefined;
|
|
484
452
|
bytes13?: undefined;
|
|
@@ -500,8 +468,8 @@ declare namespace setRecords {
|
|
|
500
468
|
bytes30?: undefined;
|
|
501
469
|
bytes31?: undefined;
|
|
502
470
|
bytes32?: undefined;
|
|
503
|
-
int8?: undefined;
|
|
504
471
|
int16?: undefined;
|
|
472
|
+
int8?: undefined;
|
|
505
473
|
int24?: undefined;
|
|
506
474
|
int32?: undefined;
|
|
507
475
|
int40?: undefined;
|
|
@@ -532,8 +500,8 @@ declare namespace setRecords {
|
|
|
532
500
|
int240?: undefined;
|
|
533
501
|
int248?: undefined;
|
|
534
502
|
int256?: undefined;
|
|
535
|
-
uint8?: undefined;
|
|
536
503
|
uint16?: undefined;
|
|
504
|
+
uint8?: undefined;
|
|
537
505
|
uint24?: undefined;
|
|
538
506
|
uint32?: undefined;
|
|
539
507
|
uint40?: undefined;
|
|
@@ -568,6 +536,20 @@ declare namespace setRecords {
|
|
|
568
536
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
569
537
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
570
538
|
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}`>;
|
|
539
|
+
extend: <const client extends {
|
|
540
|
+
[x: string]: unknown;
|
|
541
|
+
account?: undefined;
|
|
542
|
+
batch?: undefined;
|
|
543
|
+
cacheTime?: undefined;
|
|
544
|
+
chain?: undefined;
|
|
545
|
+
key?: undefined;
|
|
546
|
+
name?: undefined;
|
|
547
|
+
pollingInterval?: undefined;
|
|
548
|
+
request?: undefined;
|
|
549
|
+
transport?: undefined;
|
|
550
|
+
type?: undefined;
|
|
551
|
+
uid?: undefined;
|
|
552
|
+
}>(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>>;
|
|
571
553
|
}, { name, resolverAddress, ...records }: SetRecordsDataParameters) => {
|
|
572
554
|
data: `0x${string}`;
|
|
573
555
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setRecords.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setRecords.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;AAG5E,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,wCAAwC,CAAA;AAG/C,MAAM,MAAM,wBAAwB,GAAG;IACrC,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,6CAA6C;IAC7C,eAAe,EAAE,OAAO,CAAA;CACzB,GAAG,aAAa,CAAA;AAEjB,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,CAAA;AAE/D,MAAM,MAAM,oBAAoB,CAC9B,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,IAC7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