@ensdomains/ensjs 3.2.0 → 3.2.1
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/public.js.map +1 -1
- package/dist/cjs/clients/subgraph.js.map +1 -1
- package/dist/cjs/clients/wallet.js.map +1 -1
- package/dist/cjs/contracts/addEnsContracts.js.map +1 -1
- package/dist/cjs/contracts/consts.js +74 -32
- package/dist/cjs/contracts/consts.js.map +1 -1
- package/dist/cjs/contracts/dnsRegistrar.js +65 -9
- package/dist/cjs/contracts/dnsRegistrar.js.map +1 -1
- package/dist/cjs/contracts/dnssecImpl.js +18 -16
- package/dist/cjs/contracts/dnssecImpl.js.map +1 -1
- package/dist/cjs/contracts/getChainContractAddress.js +5 -1
- package/dist/cjs/contracts/getChainContractAddress.js.map +1 -1
- package/dist/cjs/contracts/index.js +4 -3
- package/dist/cjs/contracts/index.js.map +1 -1
- package/dist/cjs/errors/version.js +1 -1
- package/dist/cjs/functions/dns/getDnsImportData.js +22 -45
- package/dist/cjs/functions/dns/getDnsImportData.js.map +1 -1
- package/dist/cjs/functions/dns/importDnsName.js +2 -12
- package/dist/cjs/functions/dns/importDnsName.js.map +1 -1
- package/dist/cjs/functions/public/_getAbi.js +1 -2
- package/dist/cjs/functions/public/_getAbi.js.map +1 -1
- package/dist/cjs/functions/public/getAbiRecord.js +2 -2
- package/dist/cjs/functions/public/getAbiRecord.js.map +1 -1
- package/dist/cjs/functions/public/getRecords.js +2 -2
- package/dist/cjs/functions/public/getRecords.js.map +1 -1
- package/dist/cjs/utils/generateRecordCallArray.js +6 -3
- package/dist/cjs/utils/generateRecordCallArray.js.map +1 -1
- package/dist/cjs/utils/generateSupportedContentTypes.js +22 -0
- package/dist/cjs/utils/generateSupportedContentTypes.js.map +1 -0
- package/dist/cjs/utils/generateSupportedContentTypes.test.ts.js +20 -0
- package/dist/cjs/utils/generateSupportedContentTypes.test.ts.js.map +1 -0
- package/dist/cjs/utils/index.js +3 -1
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/registerHelpers.js +1 -1
- package/dist/cjs/utils/registerHelpers.js.map +1 -1
- package/dist/esm/clients/public.js.map +1 -1
- package/dist/esm/clients/subgraph.js.map +1 -1
- package/dist/esm/clients/wallet.js.map +1 -1
- package/dist/esm/contracts/addEnsContracts.js.map +1 -1
- package/dist/esm/contracts/consts.js +74 -32
- package/dist/esm/contracts/consts.js.map +1 -1
- package/dist/esm/contracts/dnsRegistrar.js +64 -8
- package/dist/esm/contracts/dnsRegistrar.js.map +1 -1
- package/dist/esm/contracts/dnssecImpl.js +17 -15
- package/dist/esm/contracts/dnssecImpl.js.map +1 -1
- package/dist/esm/contracts/getChainContractAddress.js +5 -1
- package/dist/esm/contracts/getChainContractAddress.js.map +1 -1
- package/dist/esm/contracts/index.js +2 -2
- package/dist/esm/contracts/index.js.map +1 -1
- package/dist/esm/errors/version.js +1 -1
- package/dist/esm/functions/dns/getDnsImportData.js +25 -48
- package/dist/esm/functions/dns/getDnsImportData.js.map +1 -1
- package/dist/esm/functions/dns/importDnsName.js +3 -13
- package/dist/esm/functions/dns/importDnsName.js.map +1 -1
- package/dist/esm/functions/public/_getAbi.js +1 -7
- package/dist/esm/functions/public/_getAbi.js.map +1 -1
- package/dist/esm/functions/public/getAbiRecord.js +2 -2
- package/dist/esm/functions/public/getAbiRecord.js.map +1 -1
- package/dist/esm/functions/public/getRecords.js +2 -2
- package/dist/esm/functions/public/getRecords.js.map +1 -1
- package/dist/esm/utils/generateRecordCallArray.js +6 -3
- package/dist/esm/utils/generateRecordCallArray.js.map +1 -1
- package/dist/esm/utils/generateSupportedContentTypes.js +18 -0
- package/dist/esm/utils/generateSupportedContentTypes.js.map +1 -0
- package/dist/esm/utils/generateSupportedContentTypes.test.ts.js +18 -0
- package/dist/esm/utils/generateSupportedContentTypes.test.ts.js.map +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/registerHelpers.js +1 -1
- package/dist/esm/utils/registerHelpers.js.map +1 -1
- package/dist/types/clients/decorators/wallet.d.ts +12 -12
- package/dist/types/clients/public.d.ts +9 -8
- package/dist/types/clients/public.d.ts.map +1 -1
- package/dist/types/clients/subgraph.d.ts +4 -4
- package/dist/types/clients/subgraph.d.ts.map +1 -1
- package/dist/types/clients/wallet.d.ts +116 -116
- package/dist/types/clients/wallet.d.ts.map +1 -1
- package/dist/types/contracts/addEnsContracts.d.ts +2 -2
- package/dist/types/contracts/addEnsContracts.d.ts.map +1 -1
- package/dist/types/contracts/consts.d.ts +75 -34
- package/dist/types/contracts/consts.d.ts.map +1 -1
- package/dist/types/contracts/dnsRegistrar.d.ts +135 -6
- package/dist/types/contracts/dnsRegistrar.d.ts.map +1 -1
- package/dist/types/contracts/dnssecImpl.d.ts +14 -13
- package/dist/types/contracts/dnssecImpl.d.ts.map +1 -1
- package/dist/types/contracts/getChainContractAddress.d.ts +15 -7
- package/dist/types/contracts/getChainContractAddress.d.ts.map +1 -1
- package/dist/types/contracts/index.d.ts +2 -2
- package/dist/types/contracts/index.d.ts.map +1 -1
- package/dist/types/errors/version.d.ts +1 -1
- package/dist/types/functions/dns/getDnsImportData.d.ts +6 -8
- package/dist/types/functions/dns/getDnsImportData.d.ts.map +1 -1
- package/dist/types/functions/dns/importDnsName.d.ts +25 -25
- package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
- package/dist/types/functions/public/_getAbi.d.ts +8 -1
- package/dist/types/functions/public/_getAbi.d.ts.map +1 -1
- package/dist/types/functions/public/getAbiRecord.d.ts +1 -1
- package/dist/types/functions/public/getAbiRecord.d.ts.map +1 -1
- package/dist/types/functions/public/getRecords.d.ts +6 -9
- package/dist/types/functions/public/getRecords.d.ts.map +1 -1
- package/dist/types/functions/wallet/clearRecords.d.ts +24 -24
- package/dist/types/functions/wallet/commitName.d.ts +24 -24
- package/dist/types/functions/wallet/createSubname.d.ts +24 -24
- package/dist/types/functions/wallet/deleteSubname.d.ts +24 -24
- 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 +24 -24
- package/dist/types/functions/wallet/setAddressRecord.d.ts +24 -24
- package/dist/types/functions/wallet/setChildFuses.d.ts +24 -24
- package/dist/types/functions/wallet/setContentHashRecord.d.ts +24 -24
- package/dist/types/functions/wallet/setFuses.d.ts +24 -24
- package/dist/types/functions/wallet/setPrimaryName.d.ts +24 -24
- package/dist/types/functions/wallet/setRecords.d.ts +24 -24
- package/dist/types/functions/wallet/setResolver.d.ts +24 -24
- package/dist/types/functions/wallet/setTextRecord.d.ts +24 -24
- package/dist/types/functions/wallet/transferName.d.ts +24 -24
- package/dist/types/functions/wallet/unwrapName.d.ts +24 -24
- package/dist/types/functions/wallet/wrapName.d.ts +24 -24
- package/dist/types/types.d.ts +4 -0
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils/encoders/encodeAbi.d.ts +1 -1
- package/dist/types/utils/encoders/encodeAbi.d.ts.map +1 -1
- package/dist/types/utils/generateRecordCallArray.d.ts +2 -2
- package/dist/types/utils/generateRecordCallArray.d.ts.map +1 -1
- package/dist/types/utils/generateSupportedContentTypes.d.ts +3 -0
- package/dist/types/utils/generateSupportedContentTypes.d.ts.map +1 -0
- package/dist/types/utils/generateSupportedContentTypes.test.ts.d.ts +2 -0
- package/dist/types/utils/generateSupportedContentTypes.test.ts.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/clients/public.ts +6 -4
- package/src/clients/subgraph.ts +6 -4
- package/src/clients/wallet.ts +19 -13
- package/src/contracts/addEnsContracts.ts +3 -3
- package/src/contracts/consts.ts +92 -37
- package/src/contracts/dnsRegistrar.ts +65 -8
- package/src/contracts/dnssecImpl.ts +17 -15
- package/src/contracts/getChainContractAddress.ts +22 -7
- package/src/contracts/index.ts +2 -1
- package/src/errors/version.ts +1 -1
- package/src/functions/dns/getDnsImportData.ts +32 -62
- package/src/functions/dns/importDnsName.ts +4 -14
- package/src/functions/public/_getAbi.ts +11 -8
- package/src/functions/public/getAbiRecord.ts +6 -2
- package/src/functions/public/getRecords.ts +23 -31
- package/src/types.ts +10 -0
- package/src/utils/encoders/encodeAbi.ts +1 -1
- package/src/utils/generateRecordCallArray.ts +6 -3
- package/src/utils/generateSupportedContentTypes.test.ts.ts +24 -0
- package/src/utils/generateSupportedContentTypes.ts +21 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/registerHelpers.ts +1 -1
|
@@ -55,16 +55,16 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
55
55
|
[x: `address[${string}]`]: undefined;
|
|
56
56
|
[x: `bool[${string}]`]: undefined;
|
|
57
57
|
[x: `bytes[${string}]`]: undefined;
|
|
58
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
59
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
60
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
61
58
|
[x: `bytes1[${string}]`]: undefined;
|
|
62
59
|
[x: `bytes2[${string}]`]: undefined;
|
|
63
60
|
[x: `bytes4[${string}]`]: undefined;
|
|
61
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
62
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
63
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
64
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
64
65
|
[x: `bytes5[${string}]`]: undefined;
|
|
65
66
|
[x: `bytes6[${string}]`]: undefined;
|
|
66
67
|
[x: `bytes7[${string}]`]: undefined;
|
|
67
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
68
68
|
[x: `bytes9[${string}]`]: undefined;
|
|
69
69
|
[x: `bytes11[${string}]`]: undefined;
|
|
70
70
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -88,8 +88,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
88
88
|
[x: `bytes31[${string}]`]: undefined;
|
|
89
89
|
[x: `bytes32[${string}]`]: undefined;
|
|
90
90
|
[x: `int[${string}]`]: undefined;
|
|
91
|
-
[x: `int16[${string}]`]: undefined;
|
|
92
91
|
[x: `int8[${string}]`]: undefined;
|
|
92
|
+
[x: `int16[${string}]`]: undefined;
|
|
93
93
|
[x: `int24[${string}]`]: undefined;
|
|
94
94
|
[x: `int32[${string}]`]: undefined;
|
|
95
95
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -121,8 +121,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
121
121
|
[x: `int248[${string}]`]: undefined;
|
|
122
122
|
[x: `int256[${string}]`]: undefined;
|
|
123
123
|
[x: `uint[${string}]`]: undefined;
|
|
124
|
-
[x: `uint16[${string}]`]: undefined;
|
|
125
124
|
[x: `uint8[${string}]`]: undefined;
|
|
125
|
+
[x: `uint16[${string}]`]: undefined;
|
|
126
126
|
[x: `uint24[${string}]`]: undefined;
|
|
127
127
|
[x: `uint32[${string}]`]: undefined;
|
|
128
128
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -157,16 +157,16 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
157
157
|
address?: undefined;
|
|
158
158
|
bool?: undefined;
|
|
159
159
|
bytes?: undefined;
|
|
160
|
-
bytes3?: undefined;
|
|
161
|
-
bytes10?: undefined;
|
|
162
|
-
bytes16?: undefined;
|
|
163
160
|
bytes1?: undefined;
|
|
164
161
|
bytes2?: undefined;
|
|
165
162
|
bytes4?: undefined;
|
|
163
|
+
bytes8?: undefined;
|
|
164
|
+
bytes10?: undefined;
|
|
165
|
+
bytes16?: undefined;
|
|
166
|
+
bytes3?: undefined;
|
|
166
167
|
bytes5?: undefined;
|
|
167
168
|
bytes6?: undefined;
|
|
168
169
|
bytes7?: undefined;
|
|
169
|
-
bytes8?: undefined;
|
|
170
170
|
bytes9?: undefined;
|
|
171
171
|
bytes11?: undefined;
|
|
172
172
|
bytes12?: undefined;
|
|
@@ -189,8 +189,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
189
189
|
bytes30?: undefined;
|
|
190
190
|
bytes31?: undefined;
|
|
191
191
|
bytes32?: undefined;
|
|
192
|
-
int16?: undefined;
|
|
193
192
|
int8?: undefined;
|
|
193
|
+
int16?: undefined;
|
|
194
194
|
int24?: undefined;
|
|
195
195
|
int32?: undefined;
|
|
196
196
|
int40?: undefined;
|
|
@@ -221,8 +221,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
221
221
|
int240?: undefined;
|
|
222
222
|
int248?: undefined;
|
|
223
223
|
int256?: undefined;
|
|
224
|
-
uint16?: undefined;
|
|
225
224
|
uint8?: undefined;
|
|
225
|
+
uint16?: undefined;
|
|
226
226
|
uint24?: undefined;
|
|
227
227
|
uint32?: undefined;
|
|
228
228
|
uint40?: undefined;
|
|
@@ -339,16 +339,16 @@ declare namespace setTextRecord {
|
|
|
339
339
|
[x: `address[${string}]`]: undefined;
|
|
340
340
|
[x: `bool[${string}]`]: undefined;
|
|
341
341
|
[x: `bytes[${string}]`]: undefined;
|
|
342
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
343
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
344
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
345
342
|
[x: `bytes1[${string}]`]: undefined;
|
|
346
343
|
[x: `bytes2[${string}]`]: undefined;
|
|
347
344
|
[x: `bytes4[${string}]`]: undefined;
|
|
345
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
346
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
347
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
348
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
348
349
|
[x: `bytes5[${string}]`]: undefined;
|
|
349
350
|
[x: `bytes6[${string}]`]: undefined;
|
|
350
351
|
[x: `bytes7[${string}]`]: undefined;
|
|
351
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
352
352
|
[x: `bytes9[${string}]`]: undefined;
|
|
353
353
|
[x: `bytes11[${string}]`]: undefined;
|
|
354
354
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -372,8 +372,8 @@ declare namespace setTextRecord {
|
|
|
372
372
|
[x: `bytes31[${string}]`]: undefined;
|
|
373
373
|
[x: `bytes32[${string}]`]: undefined;
|
|
374
374
|
[x: `int[${string}]`]: undefined;
|
|
375
|
-
[x: `int16[${string}]`]: undefined;
|
|
376
375
|
[x: `int8[${string}]`]: undefined;
|
|
376
|
+
[x: `int16[${string}]`]: undefined;
|
|
377
377
|
[x: `int24[${string}]`]: undefined;
|
|
378
378
|
[x: `int32[${string}]`]: undefined;
|
|
379
379
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -405,8 +405,8 @@ declare namespace setTextRecord {
|
|
|
405
405
|
[x: `int248[${string}]`]: undefined;
|
|
406
406
|
[x: `int256[${string}]`]: undefined;
|
|
407
407
|
[x: `uint[${string}]`]: undefined;
|
|
408
|
-
[x: `uint16[${string}]`]: undefined;
|
|
409
408
|
[x: `uint8[${string}]`]: undefined;
|
|
409
|
+
[x: `uint16[${string}]`]: undefined;
|
|
410
410
|
[x: `uint24[${string}]`]: undefined;
|
|
411
411
|
[x: `uint32[${string}]`]: undefined;
|
|
412
412
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -441,16 +441,16 @@ declare namespace setTextRecord {
|
|
|
441
441
|
address?: undefined;
|
|
442
442
|
bool?: undefined;
|
|
443
443
|
bytes?: undefined;
|
|
444
|
-
bytes3?: undefined;
|
|
445
|
-
bytes10?: undefined;
|
|
446
|
-
bytes16?: undefined;
|
|
447
444
|
bytes1?: undefined;
|
|
448
445
|
bytes2?: undefined;
|
|
449
446
|
bytes4?: undefined;
|
|
447
|
+
bytes8?: undefined;
|
|
448
|
+
bytes10?: undefined;
|
|
449
|
+
bytes16?: undefined;
|
|
450
|
+
bytes3?: undefined;
|
|
450
451
|
bytes5?: undefined;
|
|
451
452
|
bytes6?: undefined;
|
|
452
453
|
bytes7?: undefined;
|
|
453
|
-
bytes8?: undefined;
|
|
454
454
|
bytes9?: undefined;
|
|
455
455
|
bytes11?: undefined;
|
|
456
456
|
bytes12?: undefined;
|
|
@@ -473,8 +473,8 @@ declare namespace setTextRecord {
|
|
|
473
473
|
bytes30?: undefined;
|
|
474
474
|
bytes31?: undefined;
|
|
475
475
|
bytes32?: undefined;
|
|
476
|
-
int16?: undefined;
|
|
477
476
|
int8?: undefined;
|
|
477
|
+
int16?: undefined;
|
|
478
478
|
int24?: undefined;
|
|
479
479
|
int32?: undefined;
|
|
480
480
|
int40?: undefined;
|
|
@@ -505,8 +505,8 @@ declare namespace setTextRecord {
|
|
|
505
505
|
int240?: undefined;
|
|
506
506
|
int248?: undefined;
|
|
507
507
|
int256?: undefined;
|
|
508
|
-
uint16?: undefined;
|
|
509
508
|
uint8?: undefined;
|
|
509
|
+
uint16?: undefined;
|
|
510
510
|
uint24?: undefined;
|
|
511
511
|
uint32?: undefined;
|
|
512
512
|
uint40?: undefined;
|
|
@@ -67,16 +67,16 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
67
67
|
[x: `address[${string}]`]: undefined;
|
|
68
68
|
[x: `bool[${string}]`]: undefined;
|
|
69
69
|
[x: `bytes[${string}]`]: undefined;
|
|
70
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
71
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
72
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
73
70
|
[x: `bytes1[${string}]`]: undefined;
|
|
74
71
|
[x: `bytes2[${string}]`]: undefined;
|
|
75
72
|
[x: `bytes4[${string}]`]: undefined;
|
|
73
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
74
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
75
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
76
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
76
77
|
[x: `bytes5[${string}]`]: undefined;
|
|
77
78
|
[x: `bytes6[${string}]`]: undefined;
|
|
78
79
|
[x: `bytes7[${string}]`]: undefined;
|
|
79
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
80
80
|
[x: `bytes9[${string}]`]: undefined;
|
|
81
81
|
[x: `bytes11[${string}]`]: undefined;
|
|
82
82
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -100,8 +100,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
100
100
|
[x: `bytes31[${string}]`]: undefined;
|
|
101
101
|
[x: `bytes32[${string}]`]: undefined;
|
|
102
102
|
[x: `int[${string}]`]: undefined;
|
|
103
|
-
[x: `int16[${string}]`]: undefined;
|
|
104
103
|
[x: `int8[${string}]`]: undefined;
|
|
104
|
+
[x: `int16[${string}]`]: undefined;
|
|
105
105
|
[x: `int24[${string}]`]: undefined;
|
|
106
106
|
[x: `int32[${string}]`]: undefined;
|
|
107
107
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -133,8 +133,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
133
133
|
[x: `int248[${string}]`]: undefined;
|
|
134
134
|
[x: `int256[${string}]`]: undefined;
|
|
135
135
|
[x: `uint[${string}]`]: undefined;
|
|
136
|
-
[x: `uint16[${string}]`]: undefined;
|
|
137
136
|
[x: `uint8[${string}]`]: undefined;
|
|
137
|
+
[x: `uint16[${string}]`]: undefined;
|
|
138
138
|
[x: `uint24[${string}]`]: undefined;
|
|
139
139
|
[x: `uint32[${string}]`]: undefined;
|
|
140
140
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -169,16 +169,16 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
169
169
|
address?: undefined;
|
|
170
170
|
bool?: undefined;
|
|
171
171
|
bytes?: undefined;
|
|
172
|
-
bytes3?: undefined;
|
|
173
|
-
bytes10?: undefined;
|
|
174
|
-
bytes16?: undefined;
|
|
175
172
|
bytes1?: undefined;
|
|
176
173
|
bytes2?: undefined;
|
|
177
174
|
bytes4?: undefined;
|
|
175
|
+
bytes8?: undefined;
|
|
176
|
+
bytes10?: undefined;
|
|
177
|
+
bytes16?: undefined;
|
|
178
|
+
bytes3?: undefined;
|
|
178
179
|
bytes5?: undefined;
|
|
179
180
|
bytes6?: undefined;
|
|
180
181
|
bytes7?: undefined;
|
|
181
|
-
bytes8?: undefined;
|
|
182
182
|
bytes9?: undefined;
|
|
183
183
|
bytes11?: undefined;
|
|
184
184
|
bytes12?: undefined;
|
|
@@ -201,8 +201,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
201
201
|
bytes30?: undefined;
|
|
202
202
|
bytes31?: undefined;
|
|
203
203
|
bytes32?: undefined;
|
|
204
|
-
int16?: undefined;
|
|
205
204
|
int8?: undefined;
|
|
205
|
+
int16?: undefined;
|
|
206
206
|
int24?: undefined;
|
|
207
207
|
int32?: undefined;
|
|
208
208
|
int40?: undefined;
|
|
@@ -233,8 +233,8 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
|
|
|
233
233
|
int240?: undefined;
|
|
234
234
|
int248?: undefined;
|
|
235
235
|
int256?: undefined;
|
|
236
|
-
uint16?: undefined;
|
|
237
236
|
uint8?: undefined;
|
|
237
|
+
uint16?: undefined;
|
|
238
238
|
uint24?: undefined;
|
|
239
239
|
uint32?: undefined;
|
|
240
240
|
uint40?: undefined;
|
|
@@ -350,16 +350,16 @@ declare namespace transferName {
|
|
|
350
350
|
[x: `address[${string}]`]: undefined;
|
|
351
351
|
[x: `bool[${string}]`]: undefined;
|
|
352
352
|
[x: `bytes[${string}]`]: undefined;
|
|
353
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
354
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
355
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
356
353
|
[x: `bytes1[${string}]`]: undefined;
|
|
357
354
|
[x: `bytes2[${string}]`]: undefined;
|
|
358
355
|
[x: `bytes4[${string}]`]: undefined;
|
|
356
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
357
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
358
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
359
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
359
360
|
[x: `bytes5[${string}]`]: undefined;
|
|
360
361
|
[x: `bytes6[${string}]`]: undefined;
|
|
361
362
|
[x: `bytes7[${string}]`]: undefined;
|
|
362
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
363
363
|
[x: `bytes9[${string}]`]: undefined;
|
|
364
364
|
[x: `bytes11[${string}]`]: undefined;
|
|
365
365
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -383,8 +383,8 @@ declare namespace transferName {
|
|
|
383
383
|
[x: `bytes31[${string}]`]: undefined;
|
|
384
384
|
[x: `bytes32[${string}]`]: undefined;
|
|
385
385
|
[x: `int[${string}]`]: undefined;
|
|
386
|
-
[x: `int16[${string}]`]: undefined;
|
|
387
386
|
[x: `int8[${string}]`]: undefined;
|
|
387
|
+
[x: `int16[${string}]`]: undefined;
|
|
388
388
|
[x: `int24[${string}]`]: undefined;
|
|
389
389
|
[x: `int32[${string}]`]: undefined;
|
|
390
390
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -416,8 +416,8 @@ declare namespace transferName {
|
|
|
416
416
|
[x: `int248[${string}]`]: undefined;
|
|
417
417
|
[x: `int256[${string}]`]: undefined;
|
|
418
418
|
[x: `uint[${string}]`]: undefined;
|
|
419
|
-
[x: `uint16[${string}]`]: undefined;
|
|
420
419
|
[x: `uint8[${string}]`]: undefined;
|
|
420
|
+
[x: `uint16[${string}]`]: undefined;
|
|
421
421
|
[x: `uint24[${string}]`]: undefined;
|
|
422
422
|
[x: `uint32[${string}]`]: undefined;
|
|
423
423
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -452,16 +452,16 @@ declare namespace transferName {
|
|
|
452
452
|
address?: undefined;
|
|
453
453
|
bool?: undefined;
|
|
454
454
|
bytes?: undefined;
|
|
455
|
-
bytes3?: undefined;
|
|
456
|
-
bytes10?: undefined;
|
|
457
|
-
bytes16?: undefined;
|
|
458
455
|
bytes1?: undefined;
|
|
459
456
|
bytes2?: undefined;
|
|
460
457
|
bytes4?: undefined;
|
|
458
|
+
bytes8?: undefined;
|
|
459
|
+
bytes10?: undefined;
|
|
460
|
+
bytes16?: undefined;
|
|
461
|
+
bytes3?: undefined;
|
|
461
462
|
bytes5?: undefined;
|
|
462
463
|
bytes6?: undefined;
|
|
463
464
|
bytes7?: undefined;
|
|
464
|
-
bytes8?: undefined;
|
|
465
465
|
bytes9?: undefined;
|
|
466
466
|
bytes11?: undefined;
|
|
467
467
|
bytes12?: undefined;
|
|
@@ -484,8 +484,8 @@ declare namespace transferName {
|
|
|
484
484
|
bytes30?: undefined;
|
|
485
485
|
bytes31?: undefined;
|
|
486
486
|
bytes32?: undefined;
|
|
487
|
-
int16?: undefined;
|
|
488
487
|
int8?: undefined;
|
|
488
|
+
int16?: undefined;
|
|
489
489
|
int24?: undefined;
|
|
490
490
|
int32?: undefined;
|
|
491
491
|
int40?: undefined;
|
|
@@ -516,8 +516,8 @@ declare namespace transferName {
|
|
|
516
516
|
int240?: undefined;
|
|
517
517
|
int248?: undefined;
|
|
518
518
|
int256?: undefined;
|
|
519
|
-
uint16?: undefined;
|
|
520
519
|
uint8?: undefined;
|
|
520
|
+
uint16?: undefined;
|
|
521
521
|
uint24?: undefined;
|
|
522
522
|
uint32?: undefined;
|
|
523
523
|
uint40?: undefined;
|
|
@@ -62,16 +62,16 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
62
62
|
[x: `address[${string}]`]: undefined;
|
|
63
63
|
[x: `bool[${string}]`]: undefined;
|
|
64
64
|
[x: `bytes[${string}]`]: undefined;
|
|
65
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
66
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
67
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
68
65
|
[x: `bytes1[${string}]`]: undefined;
|
|
69
66
|
[x: `bytes2[${string}]`]: undefined;
|
|
70
67
|
[x: `bytes4[${string}]`]: undefined;
|
|
68
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
69
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
70
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
71
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
71
72
|
[x: `bytes5[${string}]`]: undefined;
|
|
72
73
|
[x: `bytes6[${string}]`]: undefined;
|
|
73
74
|
[x: `bytes7[${string}]`]: undefined;
|
|
74
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
75
75
|
[x: `bytes9[${string}]`]: undefined;
|
|
76
76
|
[x: `bytes11[${string}]`]: undefined;
|
|
77
77
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -95,8 +95,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
95
95
|
[x: `bytes31[${string}]`]: undefined;
|
|
96
96
|
[x: `bytes32[${string}]`]: undefined;
|
|
97
97
|
[x: `int[${string}]`]: undefined;
|
|
98
|
-
[x: `int16[${string}]`]: undefined;
|
|
99
98
|
[x: `int8[${string}]`]: undefined;
|
|
99
|
+
[x: `int16[${string}]`]: undefined;
|
|
100
100
|
[x: `int24[${string}]`]: undefined;
|
|
101
101
|
[x: `int32[${string}]`]: undefined;
|
|
102
102
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -128,8 +128,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
128
128
|
[x: `int248[${string}]`]: undefined;
|
|
129
129
|
[x: `int256[${string}]`]: undefined;
|
|
130
130
|
[x: `uint[${string}]`]: undefined;
|
|
131
|
-
[x: `uint16[${string}]`]: undefined;
|
|
132
131
|
[x: `uint8[${string}]`]: undefined;
|
|
132
|
+
[x: `uint16[${string}]`]: undefined;
|
|
133
133
|
[x: `uint24[${string}]`]: undefined;
|
|
134
134
|
[x: `uint32[${string}]`]: undefined;
|
|
135
135
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -164,16 +164,16 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
164
164
|
address?: undefined;
|
|
165
165
|
bool?: undefined;
|
|
166
166
|
bytes?: undefined;
|
|
167
|
-
bytes3?: undefined;
|
|
168
|
-
bytes10?: undefined;
|
|
169
|
-
bytes16?: undefined;
|
|
170
167
|
bytes1?: undefined;
|
|
171
168
|
bytes2?: undefined;
|
|
172
169
|
bytes4?: undefined;
|
|
170
|
+
bytes8?: undefined;
|
|
171
|
+
bytes10?: undefined;
|
|
172
|
+
bytes16?: undefined;
|
|
173
|
+
bytes3?: undefined;
|
|
173
174
|
bytes5?: undefined;
|
|
174
175
|
bytes6?: undefined;
|
|
175
176
|
bytes7?: undefined;
|
|
176
|
-
bytes8?: undefined;
|
|
177
177
|
bytes9?: undefined;
|
|
178
178
|
bytes11?: undefined;
|
|
179
179
|
bytes12?: undefined;
|
|
@@ -196,8 +196,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
196
196
|
bytes30?: undefined;
|
|
197
197
|
bytes31?: undefined;
|
|
198
198
|
bytes32?: undefined;
|
|
199
|
-
int16?: undefined;
|
|
200
199
|
int8?: undefined;
|
|
200
|
+
int16?: undefined;
|
|
201
201
|
int24?: undefined;
|
|
202
202
|
int32?: undefined;
|
|
203
203
|
int40?: undefined;
|
|
@@ -228,8 +228,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
228
228
|
int240?: undefined;
|
|
229
229
|
int248?: undefined;
|
|
230
230
|
int256?: undefined;
|
|
231
|
-
uint16?: undefined;
|
|
232
231
|
uint8?: undefined;
|
|
232
|
+
uint16?: undefined;
|
|
233
233
|
uint24?: undefined;
|
|
234
234
|
uint32?: undefined;
|
|
235
235
|
uint40?: undefined;
|
|
@@ -345,16 +345,16 @@ declare namespace unwrapName {
|
|
|
345
345
|
[x: `address[${string}]`]: undefined;
|
|
346
346
|
[x: `bool[${string}]`]: undefined;
|
|
347
347
|
[x: `bytes[${string}]`]: undefined;
|
|
348
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
349
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
350
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
351
348
|
[x: `bytes1[${string}]`]: undefined;
|
|
352
349
|
[x: `bytes2[${string}]`]: undefined;
|
|
353
350
|
[x: `bytes4[${string}]`]: undefined;
|
|
351
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
352
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
353
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
354
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
354
355
|
[x: `bytes5[${string}]`]: undefined;
|
|
355
356
|
[x: `bytes6[${string}]`]: undefined;
|
|
356
357
|
[x: `bytes7[${string}]`]: undefined;
|
|
357
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
358
358
|
[x: `bytes9[${string}]`]: undefined;
|
|
359
359
|
[x: `bytes11[${string}]`]: undefined;
|
|
360
360
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -378,8 +378,8 @@ declare namespace unwrapName {
|
|
|
378
378
|
[x: `bytes31[${string}]`]: undefined;
|
|
379
379
|
[x: `bytes32[${string}]`]: undefined;
|
|
380
380
|
[x: `int[${string}]`]: undefined;
|
|
381
|
-
[x: `int16[${string}]`]: undefined;
|
|
382
381
|
[x: `int8[${string}]`]: undefined;
|
|
382
|
+
[x: `int16[${string}]`]: undefined;
|
|
383
383
|
[x: `int24[${string}]`]: undefined;
|
|
384
384
|
[x: `int32[${string}]`]: undefined;
|
|
385
385
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -411,8 +411,8 @@ declare namespace unwrapName {
|
|
|
411
411
|
[x: `int248[${string}]`]: undefined;
|
|
412
412
|
[x: `int256[${string}]`]: undefined;
|
|
413
413
|
[x: `uint[${string}]`]: undefined;
|
|
414
|
-
[x: `uint16[${string}]`]: undefined;
|
|
415
414
|
[x: `uint8[${string}]`]: undefined;
|
|
415
|
+
[x: `uint16[${string}]`]: undefined;
|
|
416
416
|
[x: `uint24[${string}]`]: undefined;
|
|
417
417
|
[x: `uint32[${string}]`]: undefined;
|
|
418
418
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -447,16 +447,16 @@ declare namespace unwrapName {
|
|
|
447
447
|
address?: undefined;
|
|
448
448
|
bool?: undefined;
|
|
449
449
|
bytes?: undefined;
|
|
450
|
-
bytes3?: undefined;
|
|
451
|
-
bytes10?: undefined;
|
|
452
|
-
bytes16?: undefined;
|
|
453
450
|
bytes1?: undefined;
|
|
454
451
|
bytes2?: undefined;
|
|
455
452
|
bytes4?: undefined;
|
|
453
|
+
bytes8?: undefined;
|
|
454
|
+
bytes10?: undefined;
|
|
455
|
+
bytes16?: undefined;
|
|
456
|
+
bytes3?: undefined;
|
|
456
457
|
bytes5?: undefined;
|
|
457
458
|
bytes6?: undefined;
|
|
458
459
|
bytes7?: undefined;
|
|
459
|
-
bytes8?: undefined;
|
|
460
460
|
bytes9?: undefined;
|
|
461
461
|
bytes11?: undefined;
|
|
462
462
|
bytes12?: undefined;
|
|
@@ -479,8 +479,8 @@ declare namespace unwrapName {
|
|
|
479
479
|
bytes30?: undefined;
|
|
480
480
|
bytes31?: undefined;
|
|
481
481
|
bytes32?: undefined;
|
|
482
|
-
int16?: undefined;
|
|
483
482
|
int8?: undefined;
|
|
483
|
+
int16?: undefined;
|
|
484
484
|
int24?: undefined;
|
|
485
485
|
int32?: undefined;
|
|
486
486
|
int40?: undefined;
|
|
@@ -511,8 +511,8 @@ declare namespace unwrapName {
|
|
|
511
511
|
int240?: undefined;
|
|
512
512
|
int248?: undefined;
|
|
513
513
|
int256?: undefined;
|
|
514
|
-
uint16?: undefined;
|
|
515
514
|
uint8?: undefined;
|
|
515
|
+
uint16?: undefined;
|
|
516
516
|
uint24?: undefined;
|
|
517
517
|
uint32?: undefined;
|
|
518
518
|
uint40?: undefined;
|
|
@@ -56,16 +56,16 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
56
56
|
[x: `address[${string}]`]: undefined;
|
|
57
57
|
[x: `bool[${string}]`]: undefined;
|
|
58
58
|
[x: `bytes[${string}]`]: undefined;
|
|
59
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
60
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
61
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
62
59
|
[x: `bytes1[${string}]`]: undefined;
|
|
63
60
|
[x: `bytes2[${string}]`]: undefined;
|
|
64
61
|
[x: `bytes4[${string}]`]: undefined;
|
|
62
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
63
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
64
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
65
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
65
66
|
[x: `bytes5[${string}]`]: undefined;
|
|
66
67
|
[x: `bytes6[${string}]`]: undefined;
|
|
67
68
|
[x: `bytes7[${string}]`]: undefined;
|
|
68
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
69
69
|
[x: `bytes9[${string}]`]: undefined;
|
|
70
70
|
[x: `bytes11[${string}]`]: undefined;
|
|
71
71
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -89,8 +89,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
89
89
|
[x: `bytes31[${string}]`]: undefined;
|
|
90
90
|
[x: `bytes32[${string}]`]: undefined;
|
|
91
91
|
[x: `int[${string}]`]: undefined;
|
|
92
|
-
[x: `int16[${string}]`]: undefined;
|
|
93
92
|
[x: `int8[${string}]`]: undefined;
|
|
93
|
+
[x: `int16[${string}]`]: undefined;
|
|
94
94
|
[x: `int24[${string}]`]: undefined;
|
|
95
95
|
[x: `int32[${string}]`]: undefined;
|
|
96
96
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -122,8 +122,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
122
122
|
[x: `int248[${string}]`]: undefined;
|
|
123
123
|
[x: `int256[${string}]`]: undefined;
|
|
124
124
|
[x: `uint[${string}]`]: undefined;
|
|
125
|
-
[x: `uint16[${string}]`]: undefined;
|
|
126
125
|
[x: `uint8[${string}]`]: undefined;
|
|
126
|
+
[x: `uint16[${string}]`]: undefined;
|
|
127
127
|
[x: `uint24[${string}]`]: undefined;
|
|
128
128
|
[x: `uint32[${string}]`]: undefined;
|
|
129
129
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -158,16 +158,16 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
158
158
|
address?: undefined;
|
|
159
159
|
bool?: undefined;
|
|
160
160
|
bytes?: undefined;
|
|
161
|
-
bytes3?: undefined;
|
|
162
|
-
bytes10?: undefined;
|
|
163
|
-
bytes16?: undefined;
|
|
164
161
|
bytes1?: undefined;
|
|
165
162
|
bytes2?: undefined;
|
|
166
163
|
bytes4?: undefined;
|
|
164
|
+
bytes8?: undefined;
|
|
165
|
+
bytes10?: undefined;
|
|
166
|
+
bytes16?: undefined;
|
|
167
|
+
bytes3?: undefined;
|
|
167
168
|
bytes5?: undefined;
|
|
168
169
|
bytes6?: undefined;
|
|
169
170
|
bytes7?: undefined;
|
|
170
|
-
bytes8?: undefined;
|
|
171
171
|
bytes9?: undefined;
|
|
172
172
|
bytes11?: undefined;
|
|
173
173
|
bytes12?: undefined;
|
|
@@ -190,8 +190,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
190
190
|
bytes30?: undefined;
|
|
191
191
|
bytes31?: undefined;
|
|
192
192
|
bytes32?: undefined;
|
|
193
|
-
int16?: undefined;
|
|
194
193
|
int8?: undefined;
|
|
194
|
+
int16?: undefined;
|
|
195
195
|
int24?: undefined;
|
|
196
196
|
int32?: undefined;
|
|
197
197
|
int40?: undefined;
|
|
@@ -222,8 +222,8 @@ export declare const makeFunctionData: <TName extends string, TChain extends Cha
|
|
|
222
222
|
int240?: undefined;
|
|
223
223
|
int248?: undefined;
|
|
224
224
|
int256?: undefined;
|
|
225
|
-
uint16?: undefined;
|
|
226
225
|
uint8?: undefined;
|
|
226
|
+
uint16?: undefined;
|
|
227
227
|
uint24?: undefined;
|
|
228
228
|
uint32?: undefined;
|
|
229
229
|
uint40?: undefined;
|
|
@@ -338,16 +338,16 @@ declare namespace wrapName {
|
|
|
338
338
|
[x: `address[${string}]`]: undefined;
|
|
339
339
|
[x: `bool[${string}]`]: undefined;
|
|
340
340
|
[x: `bytes[${string}]`]: undefined;
|
|
341
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
342
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
343
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
344
341
|
[x: `bytes1[${string}]`]: undefined;
|
|
345
342
|
[x: `bytes2[${string}]`]: undefined;
|
|
346
343
|
[x: `bytes4[${string}]`]: undefined;
|
|
344
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
345
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
346
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
347
|
+
[x: `bytes3[${string}]`]: undefined;
|
|
347
348
|
[x: `bytes5[${string}]`]: undefined;
|
|
348
349
|
[x: `bytes6[${string}]`]: undefined;
|
|
349
350
|
[x: `bytes7[${string}]`]: undefined;
|
|
350
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
351
351
|
[x: `bytes9[${string}]`]: undefined;
|
|
352
352
|
[x: `bytes11[${string}]`]: undefined;
|
|
353
353
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -371,8 +371,8 @@ declare namespace wrapName {
|
|
|
371
371
|
[x: `bytes31[${string}]`]: undefined;
|
|
372
372
|
[x: `bytes32[${string}]`]: undefined;
|
|
373
373
|
[x: `int[${string}]`]: undefined;
|
|
374
|
-
[x: `int16[${string}]`]: undefined;
|
|
375
374
|
[x: `int8[${string}]`]: undefined;
|
|
375
|
+
[x: `int16[${string}]`]: undefined;
|
|
376
376
|
[x: `int24[${string}]`]: undefined;
|
|
377
377
|
[x: `int32[${string}]`]: undefined;
|
|
378
378
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -404,8 +404,8 @@ declare namespace wrapName {
|
|
|
404
404
|
[x: `int248[${string}]`]: undefined;
|
|
405
405
|
[x: `int256[${string}]`]: undefined;
|
|
406
406
|
[x: `uint[${string}]`]: undefined;
|
|
407
|
-
[x: `uint16[${string}]`]: undefined;
|
|
408
407
|
[x: `uint8[${string}]`]: undefined;
|
|
408
|
+
[x: `uint16[${string}]`]: undefined;
|
|
409
409
|
[x: `uint24[${string}]`]: undefined;
|
|
410
410
|
[x: `uint32[${string}]`]: undefined;
|
|
411
411
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -440,16 +440,16 @@ declare namespace wrapName {
|
|
|
440
440
|
address?: undefined;
|
|
441
441
|
bool?: undefined;
|
|
442
442
|
bytes?: undefined;
|
|
443
|
-
bytes3?: undefined;
|
|
444
|
-
bytes10?: undefined;
|
|
445
|
-
bytes16?: undefined;
|
|
446
443
|
bytes1?: undefined;
|
|
447
444
|
bytes2?: undefined;
|
|
448
445
|
bytes4?: undefined;
|
|
446
|
+
bytes8?: undefined;
|
|
447
|
+
bytes10?: undefined;
|
|
448
|
+
bytes16?: undefined;
|
|
449
|
+
bytes3?: undefined;
|
|
449
450
|
bytes5?: undefined;
|
|
450
451
|
bytes6?: undefined;
|
|
451
452
|
bytes7?: undefined;
|
|
452
|
-
bytes8?: undefined;
|
|
453
453
|
bytes9?: undefined;
|
|
454
454
|
bytes11?: undefined;
|
|
455
455
|
bytes12?: undefined;
|
|
@@ -472,8 +472,8 @@ declare namespace wrapName {
|
|
|
472
472
|
bytes30?: undefined;
|
|
473
473
|
bytes31?: undefined;
|
|
474
474
|
bytes32?: undefined;
|
|
475
|
-
int16?: undefined;
|
|
476
475
|
int8?: undefined;
|
|
476
|
+
int16?: undefined;
|
|
477
477
|
int24?: undefined;
|
|
478
478
|
int32?: undefined;
|
|
479
479
|
int40?: undefined;
|
|
@@ -504,8 +504,8 @@ declare namespace wrapName {
|
|
|
504
504
|
int240?: undefined;
|
|
505
505
|
int248?: undefined;
|
|
506
506
|
int256?: undefined;
|
|
507
|
-
uint16?: undefined;
|
|
508
507
|
uint8?: undefined;
|
|
508
|
+
uint16?: undefined;
|
|
509
509
|
uint24?: undefined;
|
|
510
510
|
uint32?: undefined;
|
|
511
511
|
uint40?: undefined;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -3,6 +3,10 @@ import type { ChainWithEns } from './contracts/consts.js';
|
|
|
3
3
|
export type Prettify<T> = {
|
|
4
4
|
[K in keyof T]: T[K];
|
|
5
5
|
} & {};
|
|
6
|
+
type AssignI<T, U> = {
|
|
7
|
+
[K in keyof T as K extends keyof U ? U[K] extends void ? never : K : K]: K extends keyof U ? U[K] : T[K];
|
|
8
|
+
};
|
|
9
|
+
export type Assign<T, U> = AssignI<T, U> & U;
|
|
6
10
|
export type SimpleTransactionRequest = {
|
|
7
11
|
[P in keyof Pick<TransactionRequest, 'to' | 'data'>]-?: Exclude<TransactionRequest[P], null>;
|
|
8
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,MAAM,EACN,yBAAyB,EACzB,kBAAkB,EACnB,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN,MAAM,MAAM,wBAAwB,GAAG;KACpC,CAAC,IAAI,MAAM,IAAI,CAAC,kBAAkB,EAAE,IAAI,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AAEvB,KAAK,cAAc,CAAC,OAAO,SAAS,UAAU,IAAI,OAAO,SAAS,UAAU,GACxE,mBAAmB,GACnB,OAAO,SAAS,UAAU,GAC1B,mBAAmB,GACnB,mBAAmB,CAAA;AACvB,KAAK,gBAAgB,CAAC,OAAO,SAAS,OAAO,IAAI,OAAO,SAAS,YAAY,GACzE,qBAAqB,GACrB,OAAO,SAAS,YAAY,GAC5B,qBAAqB,GACrB,gBAAgB,CAAA;AAEpB,MAAM,MAAM,WAAW,CAAC,OAAO,SAAS,MAAM,IAAI,OAAO,SAAS,QAAQ,GACtE,iBAAiB,GACjB,OAAO,SAAS,UAAU,GAC1B,cAAc,CAAC,OAAO,CAAC,GACvB,gBAAgB,CAAC,OAAO,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Hex } from 'viem';
|
|
2
2
|
import type { Prettify } from '../../types.js';
|
|
3
|
-
type AbiEncodeAs = 'json' | 'zlib' | 'cbor' | 'uri';
|
|
3
|
+
export type AbiEncodeAs = 'json' | 'zlib' | 'cbor' | 'uri';
|
|
4
4
|
type AbiContentType = 1 | 2 | 4 | 8;
|
|
5
5
|
declare const abiEncodeMap: {
|
|
6
6
|
readonly json: 1;
|