@ensdomains/ensjs 3.0.0-beta.1 → 3.0.0-beta.3
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/clients/decorators/subgraph.js.map +1 -1
- package/dist/cjs/contracts/consts.js +52 -1
- package/dist/cjs/contracts/consts.js.map +1 -1
- package/dist/cjs/dns.js +3 -3
- package/dist/cjs/dns.js.map +1 -1
- package/dist/cjs/errors/subgraph.js.map +1 -1
- package/dist/cjs/errors/utils.js +15 -18
- package/dist/cjs/errors/utils.js.map +1 -1
- package/dist/cjs/errors/version.js +1 -1
- package/dist/cjs/functions/dns/{prepareDnsImport.js → getDnsImportData.js} +3 -3
- package/dist/cjs/functions/dns/{prepareDnsImport.js.map → getDnsImportData.js.map} +1 -1
- package/dist/cjs/functions/dns/importDnsName.js +7 -7
- package/dist/cjs/functions/dns/importDnsName.js.map +1 -1
- package/dist/cjs/functions/public/_getContentHash.js +1 -1
- package/dist/cjs/functions/public/getSupportedInterfaces.js +1 -1
- package/dist/cjs/functions/public/getSupportedInterfaces.js.map +1 -1
- package/dist/cjs/functions/public/getWrapperData.js.map +1 -1
- package/dist/cjs/functions/subgraph/filters.js +3 -0
- package/dist/cjs/functions/subgraph/filters.js.map +1 -0
- package/dist/cjs/functions/subgraph/getNameHistory.js +1 -1
- package/dist/cjs/functions/subgraph/getNamesForAddress.js +140 -182
- package/dist/cjs/functions/subgraph/getNamesForAddress.js.map +1 -1
- package/dist/cjs/functions/subgraph/getSubnames.js +95 -108
- package/dist/cjs/functions/subgraph/getSubnames.js.map +1 -1
- package/dist/cjs/functions/subgraph/types.js +3 -0
- package/dist/cjs/functions/subgraph/types.js.map +1 -0
- package/dist/cjs/functions/subgraph/utils.js.map +1 -1
- package/dist/cjs/functions/wallet/createSubname.js +1 -1
- package/dist/cjs/functions/wallet/createSubname.js.map +1 -1
- package/dist/cjs/functions/wallet/setChildFuses.js +1 -1
- package/dist/cjs/functions/wallet/setChildFuses.js.map +1 -1
- package/dist/cjs/functions/wallet/setFuses.js +1 -1
- package/dist/cjs/functions/wallet/setFuses.js.map +1 -1
- package/dist/cjs/functions/wallet/wrapName.js +3 -1
- package/dist/cjs/functions/wallet/wrapName.js.map +1 -1
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/utils/contentHash.js +54 -131
- package/dist/cjs/utils/contentHash.js.map +1 -1
- package/dist/cjs/utils/encoders/encodeSetContentHash.js +1 -4
- package/dist/cjs/utils/encoders/encodeSetContentHash.js.map +1 -1
- package/dist/cjs/utils/format.js +1 -5
- package/dist/cjs/utils/format.js.map +1 -1
- package/dist/cjs/utils/fuses.js +181 -200
- package/dist/cjs/utils/fuses.js.map +1 -1
- package/dist/cjs/utils/index.js +4 -7
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/registerHelpers.js +3 -1
- package/dist/cjs/utils/registerHelpers.js.map +1 -1
- package/dist/esm/clients/decorators/subgraph.js.map +1 -1
- package/dist/esm/contracts/consts.js +52 -1
- package/dist/esm/contracts/consts.js.map +1 -1
- package/dist/esm/dns.js +1 -1
- package/dist/esm/dns.js.map +1 -1
- package/dist/esm/errors/subgraph.js.map +1 -1
- package/dist/esm/errors/utils.js +13 -16
- package/dist/esm/errors/utils.js.map +1 -1
- package/dist/esm/errors/version.js +1 -1
- package/dist/esm/functions/dns/{prepareDnsImport.js → getDnsImportData.js} +9 -10
- package/dist/esm/functions/dns/getDnsImportData.js.map +1 -0
- package/dist/esm/functions/dns/importDnsName.js +12 -12
- package/dist/esm/functions/dns/importDnsName.js.map +1 -1
- package/dist/esm/functions/public/_getContentHash.js +2 -2
- package/dist/esm/functions/public/getSupportedInterfaces.js +2 -2
- package/dist/esm/functions/public/getSupportedInterfaces.js.map +1 -1
- package/dist/esm/functions/public/getWrapperData.js.map +1 -1
- package/dist/esm/functions/subgraph/filters.js +2 -0
- package/dist/esm/functions/subgraph/filters.js.map +1 -0
- package/dist/esm/functions/subgraph/getNameHistory.js +2 -2
- package/dist/esm/functions/subgraph/getNamesForAddress.js +144 -183
- package/dist/esm/functions/subgraph/getNamesForAddress.js.map +1 -1
- package/dist/esm/functions/subgraph/getSubnames.js +101 -111
- package/dist/esm/functions/subgraph/getSubnames.js.map +1 -1
- package/dist/esm/functions/subgraph/types.js +2 -0
- package/dist/esm/functions/subgraph/types.js.map +1 -0
- package/dist/esm/functions/subgraph/utils.js.map +1 -1
- package/dist/esm/functions/wallet/createSubname.js +1 -1
- package/dist/esm/functions/wallet/createSubname.js.map +1 -1
- package/dist/esm/functions/wallet/setChildFuses.js +1 -1
- package/dist/esm/functions/wallet/setChildFuses.js.map +1 -1
- package/dist/esm/functions/wallet/setFuses.js +2 -2
- package/dist/esm/functions/wallet/setFuses.js.map +1 -1
- package/dist/esm/functions/wallet/wrapName.js +4 -2
- package/dist/esm/functions/wallet/wrapName.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/contentHash.js +51 -128
- package/dist/esm/utils/contentHash.js.map +1 -1
- package/dist/esm/utils/encoders/encodeSetContentHash.js +2 -5
- package/dist/esm/utils/encoders/encodeSetContentHash.js.map +1 -1
- package/dist/esm/utils/format.js +0 -2
- package/dist/esm/utils/format.js.map +1 -1
- package/dist/esm/utils/fuses.js +180 -201
- package/dist/esm/utils/fuses.js.map +1 -1
- package/dist/esm/utils/index.js +2 -2
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/registerHelpers.js +4 -2
- package/dist/esm/utils/registerHelpers.js.map +1 -1
- package/dist/types/clients/decorators/subgraph.d.ts +1 -1
- package/dist/types/clients/decorators/subgraph.d.ts.map +1 -1
- package/dist/types/clients/decorators/wallet.d.ts +12 -12
- package/dist/types/clients/public.d.ts +1 -1
- package/dist/types/clients/subgraph.d.ts +1 -1
- package/dist/types/clients/wallet.d.ts +43 -79
- package/dist/types/clients/wallet.d.ts.map +1 -1
- package/dist/types/contracts/consts.d.ts +51 -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/subgraph.d.ts +4 -4
- package/dist/types/errors/subgraph.d.ts.map +1 -1
- package/dist/types/errors/utils.d.ts +10 -13
- package/dist/types/errors/utils.d.ts.map +1 -1
- package/dist/types/errors/version.d.ts +1 -1
- package/dist/types/functions/dns/{prepareDnsImport.d.ts → getDnsImportData.d.ts} +11 -12
- package/dist/types/functions/dns/{prepareDnsImport.d.ts.map → getDnsImportData.d.ts.map} +1 -1
- package/dist/types/functions/dns/importDnsName.d.ts +36 -36
- package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
- package/dist/types/functions/public/getSupportedInterfaces.d.ts +19 -4
- package/dist/types/functions/public/getSupportedInterfaces.d.ts.map +1 -1
- package/dist/types/functions/public/getWrapperData.d.ts +2 -2
- package/dist/types/functions/public/getWrapperData.d.ts.map +1 -1
- package/dist/types/functions/subgraph/filters.d.ts +693 -0
- package/dist/types/functions/subgraph/filters.d.ts.map +1 -0
- package/dist/types/functions/subgraph/getNamesForAddress.d.ts +2 -0
- package/dist/types/functions/subgraph/getNamesForAddress.d.ts.map +1 -1
- package/dist/types/functions/subgraph/getSubnames.d.ts +3 -1
- package/dist/types/functions/subgraph/getSubnames.d.ts.map +1 -1
- package/dist/types/functions/subgraph/types.d.ts +13 -0
- package/dist/types/functions/subgraph/types.d.ts.map +1 -0
- package/dist/types/functions/subgraph/utils.d.ts +2 -2
- package/dist/types/functions/subgraph/utils.d.ts.map +1 -1
- package/dist/types/functions/wallet/commitName.d.ts +25 -25
- package/dist/types/functions/wallet/createSubname.d.ts +28 -28
- package/dist/types/functions/wallet/createSubname.d.ts.map +1 -1
- package/dist/types/functions/wallet/deleteSubname.d.ts +25 -25
- package/dist/types/functions/wallet/registerName.d.ts +24 -24
- package/dist/types/functions/wallet/renewNames.d.ts +24 -24
- package/dist/types/functions/wallet/setAbiRecord.d.ts +25 -25
- package/dist/types/functions/wallet/setAddressRecord.d.ts +25 -25
- package/dist/types/functions/wallet/setChildFuses.d.ts +27 -27
- package/dist/types/functions/wallet/setChildFuses.d.ts.map +1 -1
- package/dist/types/functions/wallet/setContentHashRecord.d.ts +25 -25
- package/dist/types/functions/wallet/setFuses.d.ts +27 -27
- package/dist/types/functions/wallet/setFuses.d.ts.map +1 -1
- package/dist/types/functions/wallet/setPrimaryName.d.ts +25 -25
- package/dist/types/functions/wallet/setRecords.d.ts +25 -25
- package/dist/types/functions/wallet/setResolver.d.ts +25 -25
- package/dist/types/functions/wallet/setTextRecord.d.ts +25 -25
- package/dist/types/functions/wallet/transferName.d.ts +25 -25
- package/dist/types/functions/wallet/unwrapName.d.ts +25 -25
- package/dist/types/functions/wallet/wrapName.d.ts +27 -27
- package/dist/types/functions/wallet/wrapName.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/utils/contentHash.d.ts +7 -11
- package/dist/types/utils/contentHash.d.ts.map +1 -1
- package/dist/types/utils/encoders/encodeSetContentHash.d.ts.map +1 -1
- package/dist/types/utils/format.d.ts +0 -2
- package/dist/types/utils/format.d.ts.map +1 -1
- package/dist/types/utils/fuses.d.ts +164 -125
- package/dist/types/utils/fuses.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +2 -2
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/registerHelpers.d.ts +2 -2
- package/dist/types/utils/registerHelpers.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/clients/decorators/subgraph.ts +1 -0
- package/src/contracts/consts.ts +57 -12
- package/src/dns.ts +5 -5
- package/src/errors/subgraph.ts +4 -4
- package/src/errors/utils.ts +21 -18
- package/src/errors/version.ts +1 -1
- package/src/functions/dns/{prepareDnsImport.ts → getDnsImportData.ts} +12 -13
- package/src/functions/dns/importDnsName.ts +20 -15
- package/src/functions/public/_getContentHash.ts +2 -2
- package/src/functions/public/getSupportedInterfaces.ts +48 -10
- package/src/functions/public/getWrapperData.ts +2 -2
- package/src/functions/subgraph/filters.ts +702 -0
- package/src/functions/subgraph/getNameHistory.ts +2 -2
- package/src/functions/subgraph/getNamesForAddress.ts +170 -186
- package/src/functions/subgraph/getSubnames.ts +121 -113
- package/src/functions/subgraph/types.ts +13 -0
- package/src/functions/subgraph/utils.ts +2 -2
- package/src/functions/wallet/createSubname.ts +4 -4
- package/src/functions/wallet/setChildFuses.ts +3 -3
- package/src/functions/wallet/setFuses.ts +6 -3
- package/src/functions/wallet/wrapName.ts +8 -3
- package/src/index.ts +0 -1
- package/src/utils/contentHash.ts +59 -113
- package/src/utils/encoders/encodeSetContentHash.ts +2 -4
- package/src/utils/format.ts +0 -6
- package/src/utils/fuses.ts +308 -308
- package/src/utils/index.ts +4 -5
- package/src/utils/registerHelpers.ts +5 -3
- package/dist/esm/functions/dns/prepareDnsImport.js.map +0 -1
- package/src/@types/@ensdomains/content-hash.d.ts +0 -1
- package/src/functions/dns/getDnsOwner.test.ts +0 -195
- package/src/functions/dns/importDnsName.test.ts +0 -117
- package/src/functions/dns/prepareDnsImport.test.ts +0 -115
- package/src/functions/public/batch.test.ts +0 -67
- package/src/functions/public/ccip.test.ts +0 -78
- package/src/functions/public/getAbiRecord.test.ts +0 -174
- package/src/functions/public/getAddressRecord.test.ts +0 -83
- package/src/functions/public/getAvailable.test.ts +0 -17
- package/src/functions/public/getContentHashRecord.test.ts +0 -28
- package/src/functions/public/getExpiry.test.ts +0 -48
- package/src/functions/public/getName.test.ts +0 -66
- package/src/functions/public/getOwner.test.ts +0 -87
- package/src/functions/public/getPrice.test.ts +0 -45
- package/src/functions/public/getRecords.test.ts +0 -49
- package/src/functions/public/getResolver.test.ts +0 -12
- package/src/functions/public/getTextRecord.test.ts +0 -20
- package/src/functions/public/getWrapperData.test.ts +0 -79
- package/src/functions/public/getWrapperName.test.ts +0 -19
- package/src/functions/subgraph/client.test.ts +0 -170
- package/src/functions/subgraph/getDecodedName.test.ts +0 -31
- package/src/functions/subgraph/getNameHistory.test.ts +0 -39
- package/src/functions/subgraph/getNamesForAddress.test.ts +0 -244
- package/src/functions/subgraph/getSubgraphRecords.test.ts +0 -74
- package/src/functions/subgraph/getSubgraphRegistrant.test.ts +0 -34
- package/src/functions/subgraph/getSubnames.test.ts +0 -202
- package/src/functions/wallet/commitName.test.ts +0 -58
- package/src/functions/wallet/createSubname.test.ts +0 -73
- package/src/functions/wallet/deleteSubname.test.ts +0 -150
- package/src/functions/wallet/registerName.test.ts +0 -81
- package/src/functions/wallet/renewNames.test.ts +0 -92
- package/src/functions/wallet/setAbiRecord.test.ts +0 -156
- package/src/functions/wallet/setAddressRecord.test.ts +0 -121
- package/src/functions/wallet/setChildFuses.test.ts +0 -97
- package/src/functions/wallet/setContentHashRecord.test.ts +0 -69
- package/src/functions/wallet/setFuses.test.ts +0 -287
- package/src/functions/wallet/setPrimaryName.test.ts +0 -71
- package/src/functions/wallet/setRecords.test.ts +0 -127
- package/src/functions/wallet/setResolver.test.ts +0 -114
- package/src/functions/wallet/setTextRecord.test.ts +0 -67
- package/src/functions/wallet/transferName.test.ts +0 -201
- package/src/functions/wallet/unwrapName.test.ts +0 -93
- package/src/functions/wallet/wrapName.test.ts +0 -195
- package/src/utils/generateRecordCallArray.test.ts +0 -84
- package/src/utils/labels.test.ts +0 -163
- package/src/utils/makeLabelNodeAndParent.test.ts +0 -11
- package/src/utils/makeSafeSecondsDate.test.ts +0 -14
- package/src/utils/normalise.test.ts +0 -35
- package/src/utils/ownerFromContract.test.ts +0 -52
- package/src/utils/registerHelpers.test.ts +0 -159
- package/src/utils/validation.test.ts +0 -170
- package/src/utils/wrapper.test.ts +0 -46
|
@@ -75,17 +75,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
75
75
|
[x: `address[${string}]`]: undefined;
|
|
76
76
|
[x: `bool[${string}]`]: undefined;
|
|
77
77
|
[x: `bytes[${string}]`]: undefined;
|
|
78
|
-
[x: `
|
|
79
|
-
[x: `
|
|
78
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
79
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
80
80
|
[x: `bytes16[${string}]`]: undefined;
|
|
81
81
|
[x: `bytes1[${string}]`]: undefined;
|
|
82
|
-
[x: `
|
|
82
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
83
83
|
[x: `bytes4[${string}]`]: undefined;
|
|
84
84
|
[x: `bytes5[${string}]`]: undefined;
|
|
85
85
|
[x: `bytes6[${string}]`]: undefined;
|
|
86
86
|
[x: `bytes7[${string}]`]: undefined;
|
|
87
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
87
88
|
[x: `bytes9[${string}]`]: undefined;
|
|
88
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
89
89
|
[x: `bytes11[${string}]`]: undefined;
|
|
90
90
|
[x: `bytes12[${string}]`]: undefined;
|
|
91
91
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -108,8 +108,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
108
108
|
[x: `bytes31[${string}]`]: undefined;
|
|
109
109
|
[x: `bytes32[${string}]`]: undefined;
|
|
110
110
|
[x: `int[${string}]`]: undefined;
|
|
111
|
-
[x: `int8[${string}]`]: undefined;
|
|
112
111
|
[x: `int16[${string}]`]: undefined;
|
|
112
|
+
[x: `int8[${string}]`]: undefined;
|
|
113
113
|
[x: `int24[${string}]`]: undefined;
|
|
114
114
|
[x: `int32[${string}]`]: undefined;
|
|
115
115
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -141,8 +141,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
141
141
|
[x: `int248[${string}]`]: undefined;
|
|
142
142
|
[x: `int256[${string}]`]: undefined;
|
|
143
143
|
[x: `uint[${string}]`]: undefined;
|
|
144
|
-
[x: `uint8[${string}]`]: undefined;
|
|
145
144
|
[x: `uint16[${string}]`]: undefined;
|
|
145
|
+
[x: `uint8[${string}]`]: undefined;
|
|
146
146
|
[x: `uint24[${string}]`]: undefined;
|
|
147
147
|
[x: `uint32[${string}]`]: undefined;
|
|
148
148
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -177,17 +177,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
177
177
|
address?: undefined;
|
|
178
178
|
bool?: undefined;
|
|
179
179
|
bytes?: undefined;
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
bytes3?: undefined;
|
|
181
|
+
bytes10?: undefined;
|
|
182
182
|
bytes16?: undefined;
|
|
183
183
|
bytes1?: undefined;
|
|
184
|
-
|
|
184
|
+
bytes2?: undefined;
|
|
185
185
|
bytes4?: undefined;
|
|
186
186
|
bytes5?: undefined;
|
|
187
187
|
bytes6?: undefined;
|
|
188
188
|
bytes7?: undefined;
|
|
189
|
+
bytes8?: undefined;
|
|
189
190
|
bytes9?: undefined;
|
|
190
|
-
bytes10?: undefined;
|
|
191
191
|
bytes11?: undefined;
|
|
192
192
|
bytes12?: undefined;
|
|
193
193
|
bytes13?: undefined;
|
|
@@ -209,8 +209,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
209
209
|
bytes30?: undefined;
|
|
210
210
|
bytes31?: undefined;
|
|
211
211
|
bytes32?: undefined;
|
|
212
|
-
int8?: undefined;
|
|
213
212
|
int16?: undefined;
|
|
213
|
+
int8?: undefined;
|
|
214
214
|
int24?: undefined;
|
|
215
215
|
int32?: undefined;
|
|
216
216
|
int40?: undefined;
|
|
@@ -241,8 +241,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
241
241
|
int240?: undefined;
|
|
242
242
|
int248?: undefined;
|
|
243
243
|
int256?: undefined;
|
|
244
|
-
uint8?: undefined;
|
|
245
244
|
uint16?: undefined;
|
|
245
|
+
uint8?: undefined;
|
|
246
246
|
uint24?: undefined;
|
|
247
247
|
uint32?: undefined;
|
|
248
248
|
uint40?: undefined;
|
|
@@ -364,17 +364,17 @@ declare namespace setAddressRecord {
|
|
|
364
364
|
[x: `address[${string}]`]: undefined;
|
|
365
365
|
[x: `bool[${string}]`]: undefined;
|
|
366
366
|
[x: `bytes[${string}]`]: undefined;
|
|
367
|
-
[x: `
|
|
368
|
-
[x: `
|
|
367
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
368
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
369
369
|
[x: `bytes16[${string}]`]: undefined;
|
|
370
370
|
[x: `bytes1[${string}]`]: undefined;
|
|
371
|
-
[x: `
|
|
371
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
372
372
|
[x: `bytes4[${string}]`]: undefined;
|
|
373
373
|
[x: `bytes5[${string}]`]: undefined;
|
|
374
374
|
[x: `bytes6[${string}]`]: undefined;
|
|
375
375
|
[x: `bytes7[${string}]`]: undefined;
|
|
376
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
376
377
|
[x: `bytes9[${string}]`]: undefined;
|
|
377
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
378
378
|
[x: `bytes11[${string}]`]: undefined;
|
|
379
379
|
[x: `bytes12[${string}]`]: undefined;
|
|
380
380
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -397,8 +397,8 @@ declare namespace setAddressRecord {
|
|
|
397
397
|
[x: `bytes31[${string}]`]: undefined;
|
|
398
398
|
[x: `bytes32[${string}]`]: undefined;
|
|
399
399
|
[x: `int[${string}]`]: undefined;
|
|
400
|
-
[x: `int8[${string}]`]: undefined;
|
|
401
400
|
[x: `int16[${string}]`]: undefined;
|
|
401
|
+
[x: `int8[${string}]`]: undefined;
|
|
402
402
|
[x: `int24[${string}]`]: undefined;
|
|
403
403
|
[x: `int32[${string}]`]: undefined;
|
|
404
404
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -430,8 +430,8 @@ declare namespace setAddressRecord {
|
|
|
430
430
|
[x: `int248[${string}]`]: undefined;
|
|
431
431
|
[x: `int256[${string}]`]: undefined;
|
|
432
432
|
[x: `uint[${string}]`]: undefined;
|
|
433
|
-
[x: `uint8[${string}]`]: undefined;
|
|
434
433
|
[x: `uint16[${string}]`]: undefined;
|
|
434
|
+
[x: `uint8[${string}]`]: undefined;
|
|
435
435
|
[x: `uint24[${string}]`]: undefined;
|
|
436
436
|
[x: `uint32[${string}]`]: undefined;
|
|
437
437
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -466,17 +466,17 @@ declare namespace setAddressRecord {
|
|
|
466
466
|
address?: undefined;
|
|
467
467
|
bool?: undefined;
|
|
468
468
|
bytes?: undefined;
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
bytes3?: undefined;
|
|
470
|
+
bytes10?: undefined;
|
|
471
471
|
bytes16?: undefined;
|
|
472
472
|
bytes1?: undefined;
|
|
473
|
-
|
|
473
|
+
bytes2?: undefined;
|
|
474
474
|
bytes4?: undefined;
|
|
475
475
|
bytes5?: undefined;
|
|
476
476
|
bytes6?: undefined;
|
|
477
477
|
bytes7?: undefined;
|
|
478
|
+
bytes8?: undefined;
|
|
478
479
|
bytes9?: undefined;
|
|
479
|
-
bytes10?: undefined;
|
|
480
480
|
bytes11?: undefined;
|
|
481
481
|
bytes12?: undefined;
|
|
482
482
|
bytes13?: undefined;
|
|
@@ -498,8 +498,8 @@ declare namespace setAddressRecord {
|
|
|
498
498
|
bytes30?: undefined;
|
|
499
499
|
bytes31?: undefined;
|
|
500
500
|
bytes32?: undefined;
|
|
501
|
-
int8?: undefined;
|
|
502
501
|
int16?: undefined;
|
|
502
|
+
int8?: undefined;
|
|
503
503
|
int24?: undefined;
|
|
504
504
|
int32?: undefined;
|
|
505
505
|
int40?: undefined;
|
|
@@ -530,8 +530,8 @@ declare namespace setAddressRecord {
|
|
|
530
530
|
int240?: undefined;
|
|
531
531
|
int248?: undefined;
|
|
532
532
|
int256?: undefined;
|
|
533
|
-
uint8?: undefined;
|
|
534
533
|
uint16?: undefined;
|
|
534
|
+
uint8?: undefined;
|
|
535
535
|
uint24?: undefined;
|
|
536
536
|
uint32?: undefined;
|
|
537
537
|
uint40?: undefined;
|
|
@@ -567,8 +567,8 @@ declare namespace setAddressRecord {
|
|
|
567
567
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
568
568
|
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}`>;
|
|
569
569
|
}, { name, coin, value, resolverAddress }: SetAddressRecordDataParameters) => {
|
|
570
|
-
to: `0x${string}`;
|
|
571
570
|
data: `0x${string}`;
|
|
571
|
+
to: `0x${string}`;
|
|
572
572
|
};
|
|
573
573
|
}
|
|
574
574
|
export default setAddressRecord;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type Account, type Hash, type SendTransactionParameters, type Transport } from 'viem';
|
|
2
2
|
import type { ChainWithEns, WalletWithEns } from '../../contracts/consts.js';
|
|
3
3
|
import type { Prettify, SimpleTransactionRequest, WriteTransactionParameters } from '../../types.js';
|
|
4
|
-
import { type
|
|
4
|
+
import { type EncodeFusesInputObject } from '../../utils/fuses.js';
|
|
5
5
|
export type SetChildFusesDataParameters = {
|
|
6
6
|
/** Name to set child fuses for */
|
|
7
7
|
name: string;
|
|
8
8
|
/** Fuse object or number value to set to */
|
|
9
|
-
fuses:
|
|
9
|
+
fuses: EncodeFusesInputObject;
|
|
10
10
|
/** Expiry to set for fuses */
|
|
11
11
|
expiry?: number | bigint;
|
|
12
12
|
};
|
|
@@ -74,17 +74,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
74
74
|
[x: `address[${string}]`]: undefined;
|
|
75
75
|
[x: `bool[${string}]`]: undefined;
|
|
76
76
|
[x: `bytes[${string}]`]: undefined;
|
|
77
|
-
[x: `
|
|
78
|
-
[x: `
|
|
77
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
78
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
79
79
|
[x: `bytes16[${string}]`]: undefined;
|
|
80
80
|
[x: `bytes1[${string}]`]: undefined;
|
|
81
|
-
[x: `
|
|
81
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
82
82
|
[x: `bytes4[${string}]`]: undefined;
|
|
83
83
|
[x: `bytes5[${string}]`]: undefined;
|
|
84
84
|
[x: `bytes6[${string}]`]: undefined;
|
|
85
85
|
[x: `bytes7[${string}]`]: undefined;
|
|
86
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
86
87
|
[x: `bytes9[${string}]`]: undefined;
|
|
87
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
88
88
|
[x: `bytes11[${string}]`]: undefined;
|
|
89
89
|
[x: `bytes12[${string}]`]: undefined;
|
|
90
90
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -107,8 +107,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
107
107
|
[x: `bytes31[${string}]`]: undefined;
|
|
108
108
|
[x: `bytes32[${string}]`]: undefined;
|
|
109
109
|
[x: `int[${string}]`]: undefined;
|
|
110
|
-
[x: `int8[${string}]`]: undefined;
|
|
111
110
|
[x: `int16[${string}]`]: undefined;
|
|
111
|
+
[x: `int8[${string}]`]: undefined;
|
|
112
112
|
[x: `int24[${string}]`]: undefined;
|
|
113
113
|
[x: `int32[${string}]`]: undefined;
|
|
114
114
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -140,8 +140,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
140
140
|
[x: `int248[${string}]`]: undefined;
|
|
141
141
|
[x: `int256[${string}]`]: undefined;
|
|
142
142
|
[x: `uint[${string}]`]: undefined;
|
|
143
|
-
[x: `uint8[${string}]`]: undefined;
|
|
144
143
|
[x: `uint16[${string}]`]: undefined;
|
|
144
|
+
[x: `uint8[${string}]`]: undefined;
|
|
145
145
|
[x: `uint24[${string}]`]: undefined;
|
|
146
146
|
[x: `uint32[${string}]`]: undefined;
|
|
147
147
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -176,17 +176,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
176
176
|
address?: undefined;
|
|
177
177
|
bool?: undefined;
|
|
178
178
|
bytes?: undefined;
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
bytes3?: undefined;
|
|
180
|
+
bytes10?: undefined;
|
|
181
181
|
bytes16?: undefined;
|
|
182
182
|
bytes1?: undefined;
|
|
183
|
-
|
|
183
|
+
bytes2?: undefined;
|
|
184
184
|
bytes4?: undefined;
|
|
185
185
|
bytes5?: undefined;
|
|
186
186
|
bytes6?: undefined;
|
|
187
187
|
bytes7?: undefined;
|
|
188
|
+
bytes8?: undefined;
|
|
188
189
|
bytes9?: undefined;
|
|
189
|
-
bytes10?: undefined;
|
|
190
190
|
bytes11?: undefined;
|
|
191
191
|
bytes12?: undefined;
|
|
192
192
|
bytes13?: undefined;
|
|
@@ -208,8 +208,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
208
208
|
bytes30?: undefined;
|
|
209
209
|
bytes31?: undefined;
|
|
210
210
|
bytes32?: undefined;
|
|
211
|
-
int8?: undefined;
|
|
212
211
|
int16?: undefined;
|
|
212
|
+
int8?: undefined;
|
|
213
213
|
int24?: undefined;
|
|
214
214
|
int32?: undefined;
|
|
215
215
|
int40?: undefined;
|
|
@@ -240,8 +240,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
240
240
|
int240?: undefined;
|
|
241
241
|
int248?: undefined;
|
|
242
242
|
int256?: undefined;
|
|
243
|
-
uint8?: undefined;
|
|
244
243
|
uint16?: undefined;
|
|
244
|
+
uint8?: undefined;
|
|
245
245
|
uint24?: undefined;
|
|
246
246
|
uint32?: undefined;
|
|
247
247
|
uint40?: undefined;
|
|
@@ -365,17 +365,17 @@ declare namespace setChildFuses {
|
|
|
365
365
|
[x: `address[${string}]`]: undefined;
|
|
366
366
|
[x: `bool[${string}]`]: undefined;
|
|
367
367
|
[x: `bytes[${string}]`]: undefined;
|
|
368
|
-
[x: `
|
|
369
|
-
[x: `
|
|
368
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
369
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
370
370
|
[x: `bytes16[${string}]`]: undefined;
|
|
371
371
|
[x: `bytes1[${string}]`]: undefined;
|
|
372
|
-
[x: `
|
|
372
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
373
373
|
[x: `bytes4[${string}]`]: undefined;
|
|
374
374
|
[x: `bytes5[${string}]`]: undefined;
|
|
375
375
|
[x: `bytes6[${string}]`]: undefined;
|
|
376
376
|
[x: `bytes7[${string}]`]: undefined;
|
|
377
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
377
378
|
[x: `bytes9[${string}]`]: undefined;
|
|
378
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
379
379
|
[x: `bytes11[${string}]`]: undefined;
|
|
380
380
|
[x: `bytes12[${string}]`]: undefined;
|
|
381
381
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -398,8 +398,8 @@ declare namespace setChildFuses {
|
|
|
398
398
|
[x: `bytes31[${string}]`]: undefined;
|
|
399
399
|
[x: `bytes32[${string}]`]: undefined;
|
|
400
400
|
[x: `int[${string}]`]: undefined;
|
|
401
|
-
[x: `int8[${string}]`]: undefined;
|
|
402
401
|
[x: `int16[${string}]`]: undefined;
|
|
402
|
+
[x: `int8[${string}]`]: undefined;
|
|
403
403
|
[x: `int24[${string}]`]: undefined;
|
|
404
404
|
[x: `int32[${string}]`]: undefined;
|
|
405
405
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -431,8 +431,8 @@ declare namespace setChildFuses {
|
|
|
431
431
|
[x: `int248[${string}]`]: undefined;
|
|
432
432
|
[x: `int256[${string}]`]: undefined;
|
|
433
433
|
[x: `uint[${string}]`]: undefined;
|
|
434
|
-
[x: `uint8[${string}]`]: undefined;
|
|
435
434
|
[x: `uint16[${string}]`]: undefined;
|
|
435
|
+
[x: `uint8[${string}]`]: undefined;
|
|
436
436
|
[x: `uint24[${string}]`]: undefined;
|
|
437
437
|
[x: `uint32[${string}]`]: undefined;
|
|
438
438
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -467,17 +467,17 @@ declare namespace setChildFuses {
|
|
|
467
467
|
address?: undefined;
|
|
468
468
|
bool?: undefined;
|
|
469
469
|
bytes?: undefined;
|
|
470
|
-
|
|
471
|
-
|
|
470
|
+
bytes3?: undefined;
|
|
471
|
+
bytes10?: undefined;
|
|
472
472
|
bytes16?: undefined;
|
|
473
473
|
bytes1?: undefined;
|
|
474
|
-
|
|
474
|
+
bytes2?: undefined;
|
|
475
475
|
bytes4?: undefined;
|
|
476
476
|
bytes5?: undefined;
|
|
477
477
|
bytes6?: undefined;
|
|
478
478
|
bytes7?: undefined;
|
|
479
|
+
bytes8?: undefined;
|
|
479
480
|
bytes9?: undefined;
|
|
480
|
-
bytes10?: undefined;
|
|
481
481
|
bytes11?: undefined;
|
|
482
482
|
bytes12?: undefined;
|
|
483
483
|
bytes13?: undefined;
|
|
@@ -499,8 +499,8 @@ declare namespace setChildFuses {
|
|
|
499
499
|
bytes30?: undefined;
|
|
500
500
|
bytes31?: undefined;
|
|
501
501
|
bytes32?: undefined;
|
|
502
|
-
int8?: undefined;
|
|
503
502
|
int16?: undefined;
|
|
503
|
+
int8?: undefined;
|
|
504
504
|
int24?: undefined;
|
|
505
505
|
int32?: undefined;
|
|
506
506
|
int40?: undefined;
|
|
@@ -531,8 +531,8 @@ declare namespace setChildFuses {
|
|
|
531
531
|
int240?: undefined;
|
|
532
532
|
int248?: undefined;
|
|
533
533
|
int256?: undefined;
|
|
534
|
-
uint8?: undefined;
|
|
535
534
|
uint16?: undefined;
|
|
535
|
+
uint8?: undefined;
|
|
536
536
|
uint24?: undefined;
|
|
537
537
|
uint32?: undefined;
|
|
538
538
|
uint40?: undefined;
|
|
@@ -568,8 +568,8 @@ declare namespace setChildFuses {
|
|
|
568
568
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
569
569
|
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}`>;
|
|
570
570
|
}, { name, fuses, expiry }: SetChildFusesDataParameters) => {
|
|
571
|
-
to: `0x${string}`;
|
|
572
571
|
data: `0x${string}`;
|
|
572
|
+
to: `0x${string}`;
|
|
573
573
|
};
|
|
574
574
|
}
|
|
575
575
|
export default setChildFuses;
|
|
@@ -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,
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAKF,2BAA2B,KACnD,2BAaF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,iBAAe,aAAa,CAC1B,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,GAAG,YAAY,EAE9D,MAAM,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAClD,EACE,IAAI,EACJ,KAAK,EACL,MAAM,EACN,GAAG,MAAM,EACV,EAAE,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAC3D,OAAO,CAAC,uBAAuB,CAAC,CAOlC;kBAnBc,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuB5B,eAAe,aAAa,CAAA"}
|
|
@@ -73,17 +73,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
73
73
|
[x: `address[${string}]`]: undefined;
|
|
74
74
|
[x: `bool[${string}]`]: undefined;
|
|
75
75
|
[x: `bytes[${string}]`]: undefined;
|
|
76
|
-
[x: `
|
|
77
|
-
[x: `
|
|
76
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
77
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
78
78
|
[x: `bytes16[${string}]`]: undefined;
|
|
79
79
|
[x: `bytes1[${string}]`]: undefined;
|
|
80
|
-
[x: `
|
|
80
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
81
81
|
[x: `bytes4[${string}]`]: undefined;
|
|
82
82
|
[x: `bytes5[${string}]`]: undefined;
|
|
83
83
|
[x: `bytes6[${string}]`]: undefined;
|
|
84
84
|
[x: `bytes7[${string}]`]: undefined;
|
|
85
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
85
86
|
[x: `bytes9[${string}]`]: undefined;
|
|
86
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
87
87
|
[x: `bytes11[${string}]`]: undefined;
|
|
88
88
|
[x: `bytes12[${string}]`]: undefined;
|
|
89
89
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -106,8 +106,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
106
106
|
[x: `bytes31[${string}]`]: undefined;
|
|
107
107
|
[x: `bytes32[${string}]`]: undefined;
|
|
108
108
|
[x: `int[${string}]`]: undefined;
|
|
109
|
-
[x: `int8[${string}]`]: undefined;
|
|
110
109
|
[x: `int16[${string}]`]: undefined;
|
|
110
|
+
[x: `int8[${string}]`]: undefined;
|
|
111
111
|
[x: `int24[${string}]`]: undefined;
|
|
112
112
|
[x: `int32[${string}]`]: undefined;
|
|
113
113
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -139,8 +139,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
139
139
|
[x: `int248[${string}]`]: undefined;
|
|
140
140
|
[x: `int256[${string}]`]: undefined;
|
|
141
141
|
[x: `uint[${string}]`]: undefined;
|
|
142
|
-
[x: `uint8[${string}]`]: undefined;
|
|
143
142
|
[x: `uint16[${string}]`]: undefined;
|
|
143
|
+
[x: `uint8[${string}]`]: undefined;
|
|
144
144
|
[x: `uint24[${string}]`]: undefined;
|
|
145
145
|
[x: `uint32[${string}]`]: undefined;
|
|
146
146
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -175,17 +175,17 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
175
175
|
address?: undefined;
|
|
176
176
|
bool?: undefined;
|
|
177
177
|
bytes?: undefined;
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
bytes3?: undefined;
|
|
179
|
+
bytes10?: undefined;
|
|
180
180
|
bytes16?: undefined;
|
|
181
181
|
bytes1?: undefined;
|
|
182
|
-
|
|
182
|
+
bytes2?: undefined;
|
|
183
183
|
bytes4?: undefined;
|
|
184
184
|
bytes5?: undefined;
|
|
185
185
|
bytes6?: undefined;
|
|
186
186
|
bytes7?: undefined;
|
|
187
|
+
bytes8?: undefined;
|
|
187
188
|
bytes9?: undefined;
|
|
188
|
-
bytes10?: undefined;
|
|
189
189
|
bytes11?: undefined;
|
|
190
190
|
bytes12?: undefined;
|
|
191
191
|
bytes13?: undefined;
|
|
@@ -207,8 +207,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
207
207
|
bytes30?: undefined;
|
|
208
208
|
bytes31?: undefined;
|
|
209
209
|
bytes32?: undefined;
|
|
210
|
-
int8?: undefined;
|
|
211
210
|
int16?: undefined;
|
|
211
|
+
int8?: undefined;
|
|
212
212
|
int24?: undefined;
|
|
213
213
|
int32?: undefined;
|
|
214
214
|
int40?: undefined;
|
|
@@ -239,8 +239,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
239
239
|
int240?: undefined;
|
|
240
240
|
int248?: undefined;
|
|
241
241
|
int256?: undefined;
|
|
242
|
-
uint8?: undefined;
|
|
243
242
|
uint16?: undefined;
|
|
243
|
+
uint8?: undefined;
|
|
244
244
|
uint24?: undefined;
|
|
245
245
|
uint32?: undefined;
|
|
246
246
|
uint40?: undefined;
|
|
@@ -361,17 +361,17 @@ declare namespace setContentHashRecord {
|
|
|
361
361
|
[x: `address[${string}]`]: undefined;
|
|
362
362
|
[x: `bool[${string}]`]: undefined;
|
|
363
363
|
[x: `bytes[${string}]`]: undefined;
|
|
364
|
-
[x: `
|
|
365
|
-
[x: `
|
|
364
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
365
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
366
366
|
[x: `bytes16[${string}]`]: undefined;
|
|
367
367
|
[x: `bytes1[${string}]`]: undefined;
|
|
368
|
-
[x: `
|
|
368
|
+
[x: `bytes2[${string}]`]: undefined;
|
|
369
369
|
[x: `bytes4[${string}]`]: undefined;
|
|
370
370
|
[x: `bytes5[${string}]`]: undefined;
|
|
371
371
|
[x: `bytes6[${string}]`]: undefined;
|
|
372
372
|
[x: `bytes7[${string}]`]: undefined;
|
|
373
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
373
374
|
[x: `bytes9[${string}]`]: undefined;
|
|
374
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
375
375
|
[x: `bytes11[${string}]`]: undefined;
|
|
376
376
|
[x: `bytes12[${string}]`]: undefined;
|
|
377
377
|
[x: `bytes13[${string}]`]: undefined;
|
|
@@ -394,8 +394,8 @@ declare namespace setContentHashRecord {
|
|
|
394
394
|
[x: `bytes31[${string}]`]: undefined;
|
|
395
395
|
[x: `bytes32[${string}]`]: undefined;
|
|
396
396
|
[x: `int[${string}]`]: undefined;
|
|
397
|
-
[x: `int8[${string}]`]: undefined;
|
|
398
397
|
[x: `int16[${string}]`]: undefined;
|
|
398
|
+
[x: `int8[${string}]`]: undefined;
|
|
399
399
|
[x: `int24[${string}]`]: undefined;
|
|
400
400
|
[x: `int32[${string}]`]: undefined;
|
|
401
401
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -427,8 +427,8 @@ declare namespace setContentHashRecord {
|
|
|
427
427
|
[x: `int248[${string}]`]: undefined;
|
|
428
428
|
[x: `int256[${string}]`]: undefined;
|
|
429
429
|
[x: `uint[${string}]`]: undefined;
|
|
430
|
-
[x: `uint8[${string}]`]: undefined;
|
|
431
430
|
[x: `uint16[${string}]`]: undefined;
|
|
431
|
+
[x: `uint8[${string}]`]: undefined;
|
|
432
432
|
[x: `uint24[${string}]`]: undefined;
|
|
433
433
|
[x: `uint32[${string}]`]: undefined;
|
|
434
434
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -463,17 +463,17 @@ declare namespace setContentHashRecord {
|
|
|
463
463
|
address?: undefined;
|
|
464
464
|
bool?: undefined;
|
|
465
465
|
bytes?: undefined;
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
bytes3?: undefined;
|
|
467
|
+
bytes10?: undefined;
|
|
468
468
|
bytes16?: undefined;
|
|
469
469
|
bytes1?: undefined;
|
|
470
|
-
|
|
470
|
+
bytes2?: undefined;
|
|
471
471
|
bytes4?: undefined;
|
|
472
472
|
bytes5?: undefined;
|
|
473
473
|
bytes6?: undefined;
|
|
474
474
|
bytes7?: undefined;
|
|
475
|
+
bytes8?: undefined;
|
|
475
476
|
bytes9?: undefined;
|
|
476
|
-
bytes10?: undefined;
|
|
477
477
|
bytes11?: undefined;
|
|
478
478
|
bytes12?: undefined;
|
|
479
479
|
bytes13?: undefined;
|
|
@@ -495,8 +495,8 @@ declare namespace setContentHashRecord {
|
|
|
495
495
|
bytes30?: undefined;
|
|
496
496
|
bytes31?: undefined;
|
|
497
497
|
bytes32?: undefined;
|
|
498
|
-
int8?: undefined;
|
|
499
498
|
int16?: undefined;
|
|
499
|
+
int8?: undefined;
|
|
500
500
|
int24?: undefined;
|
|
501
501
|
int32?: undefined;
|
|
502
502
|
int40?: undefined;
|
|
@@ -527,8 +527,8 @@ declare namespace setContentHashRecord {
|
|
|
527
527
|
int240?: undefined;
|
|
528
528
|
int248?: undefined;
|
|
529
529
|
int256?: undefined;
|
|
530
|
-
uint8?: undefined;
|
|
531
530
|
uint16?: undefined;
|
|
531
|
+
uint8?: undefined;
|
|
532
532
|
uint24?: undefined;
|
|
533
533
|
uint32?: undefined;
|
|
534
534
|
uint40?: undefined;
|
|
@@ -564,8 +564,8 @@ declare namespace setContentHashRecord {
|
|
|
564
564
|
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
|
|
565
565
|
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}`>;
|
|
566
566
|
}, { name, contentHash, resolverAddress }: SetContentHashRecordDataParameters) => {
|
|
567
|
-
to: `0x${string}`;
|
|
568
567
|
data: `0x${string}`;
|
|
568
|
+
to: `0x${string}`;
|
|
569
569
|
};
|
|
570
570
|
}
|
|
571
571
|
export default setContentHashRecord;
|