@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
|
@@ -17,8 +17,12 @@ export type SetAddressRecordReturnType = 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, coin, value, resolverAddress }: SetAddressRecordDataParameters) => SetAddressRecordDataReturnType;
|
|
281
272
|
/**
|
|
282
273
|
* Sets an address record for a name on a resolver.
|
|
@@ -306,8 +297,12 @@ declare namespace setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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 setAddressRecord {
|
|
|
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, coin, value, resolverAddress }: SetAddressRecordDataParameters) => {
|
|
570
552
|
data: `0x${string}`;
|
|
571
553
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setAddressRecord.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setAddressRecord.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,8BAA8B,GAAG;IAC3C,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,+BAA+B;IAC/B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,qCAAqC;IACrC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAAA;IAC9B,gDAAgD;IAChD,eAAe,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,wBAAwB,CAAA;AAErE,MAAM,MAAM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AgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAKa,8BAA8B,KACrE,8BAKF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,iBAAe,gBAAgB,CAC7B,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,IAAI,EACJ,KAAK,EACL,eAAe,EACf,GAAG,MAAM,EACV,EAAE,0BAA0B,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAC9D,OAAO,CAAC,0BAA0B,CAAC,CAYrC;kBAzBc,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6B/B,eAAe,gBAAgB,CAAA"}
|
|
@@ -16,8 +16,12 @@ export type SetChildFusesReturnType = Hash;
|
|
|
16
16
|
export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
17
17
|
account: TAccount;
|
|
18
18
|
batch?: {
|
|
19
|
-
multicall?: boolean |
|
|
19
|
+
multicall?: boolean | {
|
|
20
|
+
batchSize?: number | undefined;
|
|
21
|
+
wait?: number | undefined;
|
|
22
|
+
} | undefined;
|
|
20
23
|
} | undefined;
|
|
24
|
+
cacheTime: number;
|
|
21
25
|
chain: TChain;
|
|
22
26
|
key: string;
|
|
23
27
|
name: string;
|
|
@@ -26,33 +30,6 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
26
30
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
27
31
|
type: string;
|
|
28
32
|
uid: string;
|
|
29
|
-
extend: <TNextExtended extends {
|
|
30
|
-
account?: undefined;
|
|
31
|
-
batch?: undefined;
|
|
32
|
-
chain?: undefined;
|
|
33
|
-
key?: undefined;
|
|
34
|
-
name?: undefined;
|
|
35
|
-
pollingInterval?: undefined;
|
|
36
|
-
request?: undefined;
|
|
37
|
-
transport?: undefined;
|
|
38
|
-
type?: undefined;
|
|
39
|
-
uid?: undefined;
|
|
40
|
-
} & {
|
|
41
|
-
[key: string]: unknown;
|
|
42
|
-
} = {
|
|
43
|
-
account?: undefined;
|
|
44
|
-
batch?: undefined;
|
|
45
|
-
chain?: undefined;
|
|
46
|
-
key?: undefined;
|
|
47
|
-
name?: undefined;
|
|
48
|
-
pollingInterval?: undefined;
|
|
49
|
-
request?: undefined;
|
|
50
|
-
transport?: undefined;
|
|
51
|
-
type?: undefined;
|
|
52
|
-
uid?: undefined;
|
|
53
|
-
} & {
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
56
33
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
57
34
|
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}`>;
|
|
58
35
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -74,17 +51,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
74
51
|
[x: `address[${string}]`]: undefined;
|
|
75
52
|
[x: `bool[${string}]`]: undefined;
|
|
76
53
|
[x: `bytes[${string}]`]: undefined;
|
|
77
|
-
[x: `
|
|
78
|
-
[x: `
|
|
54
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
55
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
79
56
|
[x: `bytes16[${string}]`]: undefined;
|
|
80
57
|
[x: `bytes1[${string}]`]: undefined;
|
|
81
|
-
[x: `
|
|
58
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
82
59
|
[x: `bytes4[${string}]`]: undefined;
|
|
83
60
|
[x: `bytes5[${string}]`]: undefined;
|
|
84
61
|
[x: `bytes6[${string}]`]: undefined;
|
|
85
62
|
[x: `bytes7[${string}]`]: undefined;
|
|
63
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
86
64
|
[x: `bytes9[${string}]`]: undefined;
|
|
87
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
88
65
|
[x: `bytes11[${string}]`]: undefined;
|
|
89
66
|
[x: `bytes12[${string}]`]: undefined;
|
|
90
67
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -107,8 +84,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
107
84
|
[x: `bytes31[${string}]`]: undefined;
|
|
108
85
|
[x: `bytes32[${string}]`]: undefined;
|
|
109
86
|
[x: `int[${string}]`]: undefined;
|
|
110
|
-
[x: `int8[${string}]`]: undefined;
|
|
111
87
|
[x: `int16[${string}]`]: undefined;
|
|
88
|
+
[x: `int8[${string}]`]: undefined;
|
|
112
89
|
[x: `int24[${string}]`]: undefined;
|
|
113
90
|
[x: `int32[${string}]`]: undefined;
|
|
114
91
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -140,8 +117,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
140
117
|
[x: `int248[${string}]`]: undefined;
|
|
141
118
|
[x: `int256[${string}]`]: undefined;
|
|
142
119
|
[x: `uint[${string}]`]: undefined;
|
|
143
|
-
[x: `uint8[${string}]`]: undefined;
|
|
144
120
|
[x: `uint16[${string}]`]: undefined;
|
|
121
|
+
[x: `uint8[${string}]`]: undefined;
|
|
145
122
|
[x: `uint24[${string}]`]: undefined;
|
|
146
123
|
[x: `uint32[${string}]`]: undefined;
|
|
147
124
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -176,17 +153,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
176
153
|
address?: undefined;
|
|
177
154
|
bool?: undefined;
|
|
178
155
|
bytes?: undefined;
|
|
179
|
-
|
|
180
|
-
|
|
156
|
+
bytes3?: undefined;
|
|
157
|
+
bytes10?: undefined;
|
|
181
158
|
bytes16?: undefined;
|
|
182
159
|
bytes1?: undefined;
|
|
183
|
-
|
|
160
|
+
bytes2?: undefined;
|
|
184
161
|
bytes4?: undefined;
|
|
185
162
|
bytes5?: undefined;
|
|
186
163
|
bytes6?: undefined;
|
|
187
164
|
bytes7?: undefined;
|
|
165
|
+
bytes8?: undefined;
|
|
188
166
|
bytes9?: undefined;
|
|
189
|
-
bytes10?: undefined;
|
|
190
167
|
bytes11?: undefined;
|
|
191
168
|
bytes12?: undefined;
|
|
192
169
|
bytes13?: undefined;
|
|
@@ -208,8 +185,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
208
185
|
bytes30?: undefined;
|
|
209
186
|
bytes31?: undefined;
|
|
210
187
|
bytes32?: undefined;
|
|
211
|
-
int8?: undefined;
|
|
212
188
|
int16?: undefined;
|
|
189
|
+
int8?: undefined;
|
|
213
190
|
int24?: undefined;
|
|
214
191
|
int32?: undefined;
|
|
215
192
|
int40?: undefined;
|
|
@@ -240,8 +217,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
240
217
|
int240?: undefined;
|
|
241
218
|
int248?: undefined;
|
|
242
219
|
int256?: undefined;
|
|
243
|
-
uint8?: undefined;
|
|
244
220
|
uint16?: undefined;
|
|
221
|
+
uint8?: undefined;
|
|
245
222
|
uint24?: undefined;
|
|
246
223
|
uint32?: undefined;
|
|
247
224
|
uint40?: undefined;
|
|
@@ -276,6 +253,20 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
276
253
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
277
254
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
278
255
|
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}`>;
|
|
256
|
+
extend: <const client extends {
|
|
257
|
+
[x: string]: unknown;
|
|
258
|
+
account?: undefined;
|
|
259
|
+
batch?: undefined;
|
|
260
|
+
cacheTime?: undefined;
|
|
261
|
+
chain?: undefined;
|
|
262
|
+
key?: undefined;
|
|
263
|
+
name?: undefined;
|
|
264
|
+
pollingInterval?: undefined;
|
|
265
|
+
request?: undefined;
|
|
266
|
+
transport?: undefined;
|
|
267
|
+
type?: undefined;
|
|
268
|
+
uid?: undefined;
|
|
269
|
+
}>(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>>;
|
|
279
270
|
}, { name, fuses, expiry }: SetChildFusesDataParameters) => SetChildFusesDataReturnType;
|
|
280
271
|
/**
|
|
281
272
|
* Sets the fuses for a name as the parent.
|
|
@@ -307,8 +298,12 @@ declare namespace setChildFuses {
|
|
|
307
298
|
var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(wallet: {
|
|
308
299
|
account: TAccount;
|
|
309
300
|
batch?: {
|
|
310
|
-
multicall?: boolean |
|
|
301
|
+
multicall?: boolean | {
|
|
302
|
+
batchSize?: number | undefined;
|
|
303
|
+
wait?: number | undefined;
|
|
304
|
+
} | undefined;
|
|
311
305
|
} | undefined;
|
|
306
|
+
cacheTime: number;
|
|
312
307
|
chain: TChain;
|
|
313
308
|
key: string;
|
|
314
309
|
name: string;
|
|
@@ -317,33 +312,6 @@ declare namespace setChildFuses {
|
|
|
317
312
|
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
|
|
318
313
|
type: string;
|
|
319
314
|
uid: string;
|
|
320
|
-
extend: <TNextExtended extends {
|
|
321
|
-
account?: undefined;
|
|
322
|
-
batch?: undefined;
|
|
323
|
-
chain?: undefined;
|
|
324
|
-
key?: undefined;
|
|
325
|
-
name?: undefined;
|
|
326
|
-
pollingInterval?: undefined;
|
|
327
|
-
request?: undefined;
|
|
328
|
-
transport?: undefined;
|
|
329
|
-
type?: undefined;
|
|
330
|
-
uid?: undefined;
|
|
331
|
-
} & {
|
|
332
|
-
[key: string]: unknown;
|
|
333
|
-
} = {
|
|
334
|
-
account?: undefined;
|
|
335
|
-
batch?: undefined;
|
|
336
|
-
chain?: undefined;
|
|
337
|
-
key?: undefined;
|
|
338
|
-
name?: undefined;
|
|
339
|
-
pollingInterval?: undefined;
|
|
340
|
-
request?: undefined;
|
|
341
|
-
transport?: undefined;
|
|
342
|
-
type?: undefined;
|
|
343
|
-
uid?: undefined;
|
|
344
|
-
} & {
|
|
345
|
-
[key: string]: unknown;
|
|
346
|
-
}>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
|
|
347
315
|
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
|
|
348
316
|
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}`>;
|
|
349
317
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
@@ -365,17 +333,17 @@ declare namespace setChildFuses {
|
|
|
365
333
|
[x: `address[${string}]`]: undefined;
|
|
366
334
|
[x: `bool[${string}]`]: undefined;
|
|
367
335
|
[x: `bytes[${string}]`]: undefined;
|
|
368
|
-
[x: `
|
|
369
|
-
[x: `
|
|
336
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
337
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
370
338
|
[x: `bytes16[${string}]`]: undefined;
|
|
371
339
|
[x: `bytes1[${string}]`]: undefined;
|
|
372
|
-
[x: `
|
|
340
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
373
341
|
[x: `bytes4[${string}]`]: undefined;
|
|
374
342
|
[x: `bytes5[${string}]`]: undefined;
|
|
375
343
|
[x: `bytes6[${string}]`]: undefined;
|
|
376
344
|
[x: `bytes7[${string}]`]: undefined;
|
|
345
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
377
346
|
[x: `bytes9[${string}]`]: undefined;
|
|
378
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
379
347
|
[x: `bytes11[${string}]`]: undefined;
|
|
380
348
|
[x: `bytes12[${string}]`]: undefined;
|
|
381
349
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -398,8 +366,8 @@ declare namespace setChildFuses {
|
|
|
398
366
|
[x: `bytes31[${string}]`]: undefined;
|
|
399
367
|
[x: `bytes32[${string}]`]: undefined;
|
|
400
368
|
[x: `int[${string}]`]: undefined;
|
|
401
|
-
[x: `int8[${string}]`]: undefined;
|
|
402
369
|
[x: `int16[${string}]`]: undefined;
|
|
370
|
+
[x: `int8[${string}]`]: undefined;
|
|
403
371
|
[x: `int24[${string}]`]: undefined;
|
|
404
372
|
[x: `int32[${string}]`]: undefined;
|
|
405
373
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -431,8 +399,8 @@ declare namespace setChildFuses {
|
|
|
431
399
|
[x: `int248[${string}]`]: undefined;
|
|
432
400
|
[x: `int256[${string}]`]: undefined;
|
|
433
401
|
[x: `uint[${string}]`]: undefined;
|
|
434
|
-
[x: `uint8[${string}]`]: undefined;
|
|
435
402
|
[x: `uint16[${string}]`]: undefined;
|
|
403
|
+
[x: `uint8[${string}]`]: undefined;
|
|
436
404
|
[x: `uint24[${string}]`]: undefined;
|
|
437
405
|
[x: `uint32[${string}]`]: undefined;
|
|
438
406
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -467,17 +435,17 @@ declare namespace setChildFuses {
|
|
|
467
435
|
address?: undefined;
|
|
468
436
|
bool?: undefined;
|
|
469
437
|
bytes?: undefined;
|
|
470
|
-
|
|
471
|
-
|
|
438
|
+
bytes3?: undefined;
|
|
439
|
+
bytes10?: undefined;
|
|
472
440
|
bytes16?: undefined;
|
|
473
441
|
bytes1?: undefined;
|
|
474
|
-
|
|
442
|
+
bytes2?: undefined;
|
|
475
443
|
bytes4?: undefined;
|
|
476
444
|
bytes5?: undefined;
|
|
477
445
|
bytes6?: undefined;
|
|
478
446
|
bytes7?: undefined;
|
|
447
|
+
bytes8?: undefined;
|
|
479
448
|
bytes9?: undefined;
|
|
480
|
-
bytes10?: undefined;
|
|
481
449
|
bytes11?: undefined;
|
|
482
450
|
bytes12?: undefined;
|
|
483
451
|
bytes13?: undefined;
|
|
@@ -499,8 +467,8 @@ declare namespace setChildFuses {
|
|
|
499
467
|
bytes30?: undefined;
|
|
500
468
|
bytes31?: undefined;
|
|
501
469
|
bytes32?: undefined;
|
|
502
|
-
int8?: undefined;
|
|
503
470
|
int16?: undefined;
|
|
471
|
+
int8?: undefined;
|
|
504
472
|
int24?: undefined;
|
|
505
473
|
int32?: undefined;
|
|
506
474
|
int40?: undefined;
|
|
@@ -531,8 +499,8 @@ declare namespace setChildFuses {
|
|
|
531
499
|
int240?: undefined;
|
|
532
500
|
int248?: undefined;
|
|
533
501
|
int256?: undefined;
|
|
534
|
-
uint8?: undefined;
|
|
535
502
|
uint16?: undefined;
|
|
503
|
+
uint8?: undefined;
|
|
536
504
|
uint24?: undefined;
|
|
537
505
|
uint32?: undefined;
|
|
538
506
|
uint40?: undefined;
|
|
@@ -567,6 +535,20 @@ declare namespace setChildFuses {
|
|
|
567
535
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
568
536
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
569
537
|
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}`>;
|
|
538
|
+
extend: <const client extends {
|
|
539
|
+
[x: string]: unknown;
|
|
540
|
+
account?: undefined;
|
|
541
|
+
batch?: undefined;
|
|
542
|
+
cacheTime?: undefined;
|
|
543
|
+
chain?: undefined;
|
|
544
|
+
key?: undefined;
|
|
545
|
+
name?: undefined;
|
|
546
|
+
pollingInterval?: undefined;
|
|
547
|
+
request?: undefined;
|
|
548
|
+
transport?: undefined;
|
|
549
|
+
type?: undefined;
|
|
550
|
+
uid?: undefined;
|
|
551
|
+
}>(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>>;
|
|
570
552
|
}, { name, fuses, expiry }: SetChildFusesDataParameters) => {
|
|
571
553
|
data: `0x${string}`;
|
|
572
554
|
to: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setChildFuses.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setChildFuses.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,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,EAAe,KAAK,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAG/E,MAAM,MAAM,2BAA2B,GAAG;IACxC,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,4CAA4C;IAC5C,KAAK,EAAE,sBAAsB,CAAA;IAC7B,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,wBAAwB,CAAA;AAElE,MAAM,MAAM,uBAAuB,CACjC,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,IAC7C,QAAQ,CACV,2BAA2B,GACzB,0BAA0B,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,CAC/D,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAA;AAE1C,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"setChildFuses.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setChildFuses.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,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