@ensdomains/ensjs 3.0.0-alpha.40 → 3.0.0-alpha.42

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.
Files changed (129) hide show
  1. package/dist/cjs/contracts/getContractAddress.js +4 -4
  2. package/dist/cjs/functions/commitName.js +2 -3
  3. package/dist/cjs/functions/createSubname.js +2 -8
  4. package/dist/cjs/functions/getHistory.js +14 -7
  5. package/dist/cjs/functions/getNames.js +10 -6
  6. package/dist/cjs/functions/getOwner.js +25 -12
  7. package/dist/cjs/functions/getSpecificRecord.js +83 -0
  8. package/dist/cjs/functions/getWrapperData.js +3 -4
  9. package/dist/cjs/functions/renewNames.js +13 -20
  10. package/dist/cjs/functions/{burnFuses.js → setFuses.js} +24 -6
  11. package/dist/cjs/functions/wrapName.js +7 -23
  12. package/dist/cjs/generated/factories/ETHRegistrarController__factory.js +6 -55
  13. package/dist/cjs/generated/factories/NameWrapper__factory.js +90 -69
  14. package/dist/cjs/generated/factories/PublicResolver__factory.js +83 -0
  15. package/dist/cjs/generated/factories/UniversalResolver__factory.js +67 -2
  16. package/dist/cjs/index.js +15 -4
  17. package/dist/cjs/utils/consts.js +3 -1
  18. package/dist/cjs/utils/fuses.js +218 -53
  19. package/dist/cjs/utils/normalise.js +2 -2
  20. package/dist/cjs/utils/recordHelpers.js +55 -0
  21. package/dist/cjs/utils/registerHelpers.js +9 -23
  22. package/dist/cjs/utils/subgraph-types.js +16 -0
  23. package/dist/cjs/utils/wrapper.js +2 -2
  24. package/dist/esm/contracts/getContractAddress.mjs +4 -4
  25. package/dist/esm/functions/commitName.mjs +2 -3
  26. package/dist/esm/functions/createSubname.mjs +2 -2
  27. package/dist/esm/functions/getHistory.mjs +14 -7
  28. package/dist/esm/functions/getNames.mjs +10 -6
  29. package/dist/esm/functions/getOwner.mjs +25 -12
  30. package/dist/esm/functions/getSpecificRecord.mjs +78 -1
  31. package/dist/esm/functions/getWrapperData.mjs +3 -4
  32. package/dist/esm/functions/renewNames.mjs +13 -20
  33. package/dist/esm/functions/setFuses.mjs +30 -0
  34. package/dist/esm/functions/wrapName.mjs +8 -18
  35. package/dist/esm/generated/factories/ETHRegistrarController__factory.mjs +6 -55
  36. package/dist/esm/generated/factories/NameWrapper__factory.mjs +90 -69
  37. package/dist/esm/generated/factories/PublicResolver__factory.mjs +83 -0
  38. package/dist/esm/generated/factories/UniversalResolver__factory.mjs +67 -2
  39. package/dist/esm/index.mjs +15 -4
  40. package/dist/esm/utils/consts.mjs +3 -1
  41. package/dist/esm/utils/fuses.mjs +218 -53
  42. package/dist/esm/utils/normalise.mjs +1 -1
  43. package/dist/esm/utils/recordHelpers.mjs +49 -0
  44. package/dist/esm/utils/registerHelpers.mjs +9 -17
  45. package/dist/esm/utils/subgraph-types.mjs +0 -0
  46. package/dist/esm/utils/wrapper.mjs +1 -1
  47. package/dist/types/functions/commitName.d.ts +5 -6
  48. package/dist/types/functions/createSubname.d.ts +3 -3
  49. package/dist/types/functions/deleteSubname.d.ts +1 -1
  50. package/dist/types/functions/getHistory.d.ts +1 -1
  51. package/dist/types/functions/getNames.d.ts +3 -3
  52. package/dist/types/functions/getOwner.d.ts +1 -0
  53. package/dist/types/functions/getSpecificRecord.d.ts +22 -0
  54. package/dist/types/functions/getWrapperData.d.ts +44 -5
  55. package/dist/types/functions/importDNSSECName.d.ts +1 -1
  56. package/dist/types/functions/registerName.d.ts +1 -1
  57. package/dist/types/functions/renewNames.d.ts +5 -6
  58. package/dist/types/functions/setFuses.d.ts +7 -0
  59. package/dist/types/functions/setName.d.ts +1 -1
  60. package/dist/types/functions/setRecord.d.ts +5 -1
  61. package/dist/types/functions/setRecords.d.ts +1 -1
  62. package/dist/types/functions/setResolver.d.ts +1 -1
  63. package/dist/types/functions/transferController.d.ts +1 -1
  64. package/dist/types/functions/transferName.d.ts +1 -1
  65. package/dist/types/functions/transferSubname.d.ts +1 -1
  66. package/dist/types/functions/types.d.ts +9 -5
  67. package/dist/types/functions/unwrapName.d.ts +1 -1
  68. package/dist/types/functions/wrapName.d.ts +4 -4
  69. package/dist/types/generated/ETHRegistrarController.d.ts +13 -36
  70. package/dist/types/generated/NameWrapper.d.ts +97 -52
  71. package/dist/types/generated/PublicResolver.d.ts +50 -1
  72. package/dist/types/generated/UniversalResolver.d.ts +79 -32
  73. package/dist/types/generated/factories/UniversalResolver__factory.d.ts +15 -0
  74. package/dist/types/index.d.ts +75 -11
  75. package/dist/types/utils/consts.d.ts +1 -0
  76. package/dist/types/utils/fuses.d.ts +115 -45
  77. package/dist/types/utils/recordHelpers.d.ts +14 -2
  78. package/dist/types/utils/registerHelpers.d.ts +7 -25
  79. package/dist/types/utils/subgraph-types.d.ts +284 -0
  80. package/dist/types/utils/writeTx.d.ts +5 -5
  81. package/package.json +8 -5
  82. package/src/@types/pako.d.ts +188 -0
  83. package/src/contracts/bulkRenewal.ts +1 -1
  84. package/src/contracts/getContractAddress.ts +4 -4
  85. package/src/functions/commitName.test.ts +0 -3
  86. package/src/functions/commitName.ts +1 -2
  87. package/src/functions/createSubname.ts +4 -5
  88. package/src/functions/getHistory.ts +59 -25
  89. package/src/functions/getNames.test.ts +1 -1
  90. package/src/functions/getNames.ts +26 -13
  91. package/src/functions/getOwner.test.ts +62 -3
  92. package/src/functions/getOwner.ts +31 -11
  93. package/src/functions/getSpecificRecord.test.ts +162 -0
  94. package/src/functions/getSpecificRecord.ts +95 -1
  95. package/src/functions/getWrapperData.test.ts +11 -45
  96. package/src/functions/getWrapperData.ts +7 -5
  97. package/src/functions/registerName.test.ts +3 -3
  98. package/src/functions/renewNames.ts +17 -23
  99. package/src/functions/setFuses.test.ts +240 -0
  100. package/src/functions/setFuses.ts +44 -0
  101. package/src/functions/setRecord.test.ts +147 -1
  102. package/src/functions/setRecord.ts +6 -1
  103. package/src/functions/types.ts +10 -4
  104. package/src/functions/wrapName.test.ts +8 -7
  105. package/src/functions/wrapName.ts +10 -24
  106. package/src/generated/ETHRegistrarController.ts +12 -79
  107. package/src/generated/NameWrapper.ts +155 -99
  108. package/src/generated/PublicResolver.ts +123 -0
  109. package/src/generated/UniversalResolver.ts +157 -16
  110. package/src/generated/factories/ETHRegistrarController__factory.ts +6 -55
  111. package/src/generated/factories/NameWrapper__factory.ts +90 -69
  112. package/src/generated/factories/PublicResolver__factory.ts +83 -0
  113. package/src/generated/factories/UniversalResolver__factory.ts +67 -2
  114. package/src/index.ts +23 -14
  115. package/src/utils/consts.ts +1 -0
  116. package/src/utils/fuses.ts +299 -102
  117. package/src/utils/normalise.ts +1 -1
  118. package/src/utils/recordHelpers.ts +64 -1
  119. package/src/utils/registerHelpers.ts +13 -41
  120. package/src/utils/subgraph-types.ts +312 -0
  121. package/src/utils/wrapper.ts +1 -1
  122. package/dist/cjs/utils/generateFuseInput.js +0 -40
  123. package/dist/esm/functions/burnFuses.mjs +0 -12
  124. package/dist/esm/utils/generateFuseInput.mjs +0 -15
  125. package/dist/types/functions/burnFuses.d.ts +0 -3
  126. package/dist/types/utils/generateFuseInput.d.ts +0 -3
  127. package/src/functions/burnFuses.test.ts +0 -148
  128. package/src/functions/burnFuses.ts +0 -16
  129. package/src/utils/generateFuseInput.ts +0 -13
@@ -112,17 +112,6 @@ const _abi = [
112
112
  name: 'ResolverRequiredWhenDataSupplied',
113
113
  type: 'error',
114
114
  },
115
- {
116
- inputs: [
117
- {
118
- internalType: 'bytes32',
119
- name: 'node',
120
- type: 'bytes32',
121
- },
122
- ],
123
- name: 'Unauthorised',
124
- type: 'error',
125
- },
126
115
  {
127
116
  inputs: [
128
117
  {
@@ -329,14 +318,9 @@ const _abi = [
329
318
  type: 'bool',
330
319
  },
331
320
  {
332
- internalType: 'uint32',
333
- name: 'fuses',
334
- type: 'uint32',
335
- },
336
- {
337
- internalType: 'uint64',
338
- name: 'wrapperExpiry',
339
- type: 'uint64',
321
+ internalType: 'uint16',
322
+ name: 'ownerControlledFuses',
323
+ type: 'uint16',
340
324
  },
341
325
  ],
342
326
  name: 'makeCommitment',
@@ -476,14 +460,9 @@ const _abi = [
476
460
  type: 'bool',
477
461
  },
478
462
  {
479
- internalType: 'uint32',
480
- name: 'fuses',
481
- type: 'uint32',
482
- },
483
- {
484
- internalType: 'uint64',
485
- name: 'wrapperExpiry',
486
- type: 'uint64',
463
+ internalType: 'uint16',
464
+ name: 'ownerControlledFuses',
465
+ type: 'uint16',
487
466
  },
488
467
  ],
489
468
  name: 'register',
@@ -509,34 +488,6 @@ const _abi = [
509
488
  stateMutability: 'payable',
510
489
  type: 'function',
511
490
  },
512
- {
513
- inputs: [
514
- {
515
- internalType: 'string',
516
- name: 'name',
517
- type: 'string',
518
- },
519
- {
520
- internalType: 'uint256',
521
- name: 'duration',
522
- type: 'uint256',
523
- },
524
- {
525
- internalType: 'uint32',
526
- name: 'fuses',
527
- type: 'uint32',
528
- },
529
- {
530
- internalType: 'uint64',
531
- name: 'wrapperExpiry',
532
- type: 'uint64',
533
- },
534
- ],
535
- name: 'renewWithFuses',
536
- outputs: [],
537
- stateMutability: 'payable',
538
- type: 'function',
539
- },
540
491
  {
541
492
  inputs: [],
542
493
  name: 'renounceOwnership',
@@ -88,6 +88,11 @@ const _abi = [
88
88
  name: 'LabelTooShort',
89
89
  type: 'error',
90
90
  },
91
+ {
92
+ inputs: [],
93
+ name: 'NameIsNotWrapped',
94
+ type: 'error',
95
+ },
91
96
  {
92
97
  inputs: [
93
98
  {
@@ -168,12 +173,6 @@ const _abi = [
168
173
  name: 'node',
169
174
  type: 'bytes32',
170
175
  },
171
- {
172
- indexed: false,
173
- internalType: 'uint32',
174
- name: 'fuses',
175
- type: 'uint32',
176
- },
177
176
  {
178
177
  indexed: false,
179
178
  internalType: 'uint64',
@@ -181,6 +180,25 @@ const _abi = [
181
180
  type: 'uint64',
182
181
  },
183
182
  ],
183
+ name: 'ExpiryExtended',
184
+ type: 'event',
185
+ },
186
+ {
187
+ anonymous: false,
188
+ inputs: [
189
+ {
190
+ indexed: true,
191
+ internalType: 'bytes32',
192
+ name: 'node',
193
+ type: 'bytes32',
194
+ },
195
+ {
196
+ indexed: false,
197
+ internalType: 'uint32',
198
+ name: 'fuses',
199
+ type: 'uint32',
200
+ },
201
+ ],
184
202
  name: 'FusesSet',
185
203
  type: 'event',
186
204
  },
@@ -443,6 +461,30 @@ const _abi = [
443
461
  stateMutability: 'view',
444
462
  type: 'function',
445
463
  },
464
+ {
465
+ inputs: [
466
+ {
467
+ internalType: 'bytes32',
468
+ name: 'node',
469
+ type: 'bytes32',
470
+ },
471
+ {
472
+ internalType: 'address',
473
+ name: 'addr',
474
+ type: 'address',
475
+ },
476
+ ],
477
+ name: 'canModifyName',
478
+ outputs: [
479
+ {
480
+ internalType: 'bool',
481
+ name: '',
482
+ type: 'bool',
483
+ },
484
+ ],
485
+ stateMutability: 'view',
486
+ type: 'function',
487
+ },
446
488
  {
447
489
  inputs: [
448
490
  {
@@ -475,6 +517,35 @@ const _abi = [
475
517
  stateMutability: 'view',
476
518
  type: 'function',
477
519
  },
520
+ {
521
+ inputs: [
522
+ {
523
+ internalType: 'bytes32',
524
+ name: 'parentNode',
525
+ type: 'bytes32',
526
+ },
527
+ {
528
+ internalType: 'bytes32',
529
+ name: 'labelhash',
530
+ type: 'bytes32',
531
+ },
532
+ {
533
+ internalType: 'uint64',
534
+ name: 'expiry',
535
+ type: 'uint64',
536
+ },
537
+ ],
538
+ name: 'extendExpiry',
539
+ outputs: [
540
+ {
541
+ internalType: 'uint64',
542
+ name: '',
543
+ type: 'uint64',
544
+ },
545
+ ],
546
+ stateMutability: 'nonpayable',
547
+ type: 'function',
548
+ },
478
549
  {
479
550
  inputs: [
480
551
  {
@@ -487,17 +558,17 @@ const _abi = [
487
558
  outputs: [
488
559
  {
489
560
  internalType: 'address',
490
- name: '',
561
+ name: 'owner',
491
562
  type: 'address',
492
563
  },
493
564
  {
494
565
  internalType: 'uint32',
495
- name: '',
566
+ name: 'fuses',
496
567
  type: 'uint32',
497
568
  },
498
569
  {
499
570
  internalType: 'uint64',
500
- name: '',
571
+ name: 'expiry',
501
572
  type: 'uint64',
502
573
  },
503
574
  ],
@@ -528,30 +599,6 @@ const _abi = [
528
599
  stateMutability: 'view',
529
600
  type: 'function',
530
601
  },
531
- {
532
- inputs: [
533
- {
534
- internalType: 'bytes32',
535
- name: 'node',
536
- type: 'bytes32',
537
- },
538
- {
539
- internalType: 'address',
540
- name: 'addr',
541
- type: 'address',
542
- },
543
- ],
544
- name: 'isTokenOwnerOrApproved',
545
- outputs: [
546
- {
547
- internalType: 'bool',
548
- name: '',
549
- type: 'bool',
550
- },
551
- ],
552
- stateMutability: 'view',
553
- type: 'function',
554
- },
555
602
  {
556
603
  inputs: [
557
604
  {
@@ -728,14 +775,9 @@ const _abi = [
728
775
  type: 'address',
729
776
  },
730
777
  {
731
- internalType: 'uint32',
732
- name: 'fuses',
733
- type: 'uint32',
734
- },
735
- {
736
- internalType: 'uint64',
737
- name: 'expiry',
738
- type: 'uint64',
778
+ internalType: 'uint16',
779
+ name: 'ownerControlledFuses',
780
+ type: 'uint16',
739
781
  },
740
782
  ],
741
783
  name: 'registerAndWrapETH2LD',
@@ -774,16 +816,6 @@ const _abi = [
774
816
  name: 'duration',
775
817
  type: 'uint256',
776
818
  },
777
- {
778
- internalType: 'uint32',
779
- name: 'fuses',
780
- type: 'uint32',
781
- },
782
- {
783
- internalType: 'uint64',
784
- name: 'expiry',
785
- type: 'uint64',
786
- },
787
819
  ],
788
820
  name: 'renew',
789
821
  outputs: [
@@ -941,9 +973,9 @@ const _abi = [
941
973
  type: 'bytes32',
942
974
  },
943
975
  {
944
- internalType: 'uint32',
945
- name: 'fuses',
946
- type: 'uint32',
976
+ internalType: 'uint16',
977
+ name: 'ownerControlledFuses',
978
+ type: 'uint16',
947
979
  },
948
980
  ],
949
981
  name: 'setFuses',
@@ -1332,14 +1364,9 @@ const _abi = [
1332
1364
  type: 'address',
1333
1365
  },
1334
1366
  {
1335
- internalType: 'uint32',
1336
- name: 'fuses',
1337
- type: 'uint32',
1338
- },
1339
- {
1340
- internalType: 'uint64',
1341
- name: 'expiry',
1342
- type: 'uint64',
1367
+ internalType: 'uint16',
1368
+ name: 'ownerControlledFuses',
1369
+ type: 'uint16',
1343
1370
  },
1344
1371
  {
1345
1372
  internalType: 'address',
@@ -1348,13 +1375,7 @@ const _abi = [
1348
1375
  },
1349
1376
  ],
1350
1377
  name: 'wrapETH2LD',
1351
- outputs: [
1352
- {
1353
- internalType: 'uint64',
1354
- name: '',
1355
- type: 'uint64',
1356
- },
1357
- ],
1378
+ outputs: [],
1358
1379
  stateMutability: 'nonpayable',
1359
1380
  type: 'function',
1360
1381
  },
@@ -123,6 +123,37 @@ const _abi = [
123
123
  name: 'ApprovalForAll',
124
124
  type: 'event',
125
125
  },
126
+ {
127
+ anonymous: false,
128
+ inputs: [
129
+ {
130
+ indexed: false,
131
+ internalType: 'address',
132
+ name: 'owner',
133
+ type: 'address',
134
+ },
135
+ {
136
+ indexed: true,
137
+ internalType: 'bytes32',
138
+ name: 'node',
139
+ type: 'bytes32',
140
+ },
141
+ {
142
+ indexed: true,
143
+ internalType: 'address',
144
+ name: 'delegate',
145
+ type: 'address',
146
+ },
147
+ {
148
+ indexed: true,
149
+ internalType: 'bool',
150
+ name: 'approved',
151
+ type: 'bool',
152
+ },
153
+ ],
154
+ name: 'Approved',
155
+ type: 'event',
156
+ },
126
157
  {
127
158
  anonymous: false,
128
159
  inputs: [
@@ -414,6 +445,29 @@ const _abi = [
414
445
  stateMutability: 'view',
415
446
  type: 'function',
416
447
  },
448
+ {
449
+ inputs: [
450
+ {
451
+ internalType: 'bytes32',
452
+ name: 'node',
453
+ type: 'bytes32',
454
+ },
455
+ {
456
+ internalType: 'address',
457
+ name: 'delegate',
458
+ type: 'address',
459
+ },
460
+ {
461
+ internalType: 'bool',
462
+ name: 'approved',
463
+ type: 'bool',
464
+ },
465
+ ],
466
+ name: 'approve',
467
+ outputs: [],
468
+ stateMutability: 'nonpayable',
469
+ type: 'function',
470
+ },
417
471
  {
418
472
  inputs: [
419
473
  {
@@ -523,6 +577,35 @@ const _abi = [
523
577
  stateMutability: 'view',
524
578
  type: 'function',
525
579
  },
580
+ {
581
+ inputs: [
582
+ {
583
+ internalType: 'address',
584
+ name: 'owner',
585
+ type: 'address',
586
+ },
587
+ {
588
+ internalType: 'bytes32',
589
+ name: 'node',
590
+ type: 'bytes32',
591
+ },
592
+ {
593
+ internalType: 'address',
594
+ name: 'delegate',
595
+ type: 'address',
596
+ },
597
+ ],
598
+ name: 'isApprovedFor',
599
+ outputs: [
600
+ {
601
+ internalType: 'bool',
602
+ name: '',
603
+ type: 'bool',
604
+ },
605
+ ],
606
+ stateMutability: 'view',
607
+ type: 'function',
608
+ },
526
609
  {
527
610
  inputs: [
528
611
  {
@@ -59,6 +59,25 @@ const _abi = [
59
59
  name: 'OffchainLookup',
60
60
  type: 'error',
61
61
  },
62
+ {
63
+ anonymous: false,
64
+ inputs: [
65
+ {
66
+ indexed: true,
67
+ internalType: 'address',
68
+ name: 'previousOwner',
69
+ type: 'address',
70
+ },
71
+ {
72
+ indexed: true,
73
+ internalType: 'address',
74
+ name: 'newOwner',
75
+ type: 'address',
76
+ },
77
+ ],
78
+ name: 'OwnershipTransferred',
79
+ type: 'event',
80
+ },
62
81
  {
63
82
  inputs: [
64
83
  {
@@ -146,6 +165,19 @@ const _abi = [
146
165
  stateMutability: 'view',
147
166
  type: 'function',
148
167
  },
168
+ {
169
+ inputs: [],
170
+ name: 'owner',
171
+ outputs: [
172
+ {
173
+ internalType: 'address',
174
+ name: '',
175
+ type: 'address',
176
+ },
177
+ ],
178
+ stateMutability: 'view',
179
+ type: 'function',
180
+ },
149
181
  {
150
182
  inputs: [],
151
183
  name: 'registry',
@@ -159,6 +191,13 @@ const _abi = [
159
191
  stateMutability: 'view',
160
192
  type: 'function',
161
193
  },
194
+ {
195
+ inputs: [],
196
+ name: 'renounceOwnership',
197
+ outputs: [],
198
+ stateMutability: 'nonpayable',
199
+ type: 'function',
200
+ },
162
201
  {
163
202
  inputs: [
164
203
  {
@@ -311,7 +350,7 @@ const _abi = [
311
350
  type: 'address',
312
351
  },
313
352
  ],
314
- stateMutability: 'nonpayable',
353
+ stateMutability: 'view',
315
354
  type: 'function',
316
355
  },
317
356
  {
@@ -340,7 +379,7 @@ const _abi = [
340
379
  type: 'address',
341
380
  },
342
381
  ],
343
- stateMutability: 'nonpayable',
382
+ stateMutability: 'view',
344
383
  type: 'function',
345
384
  },
346
385
  {
@@ -452,6 +491,19 @@ const _abi = [
452
491
  type: 'address',
453
492
  },
454
493
  ],
494
+ stateMutability: 'view',
495
+ type: 'function',
496
+ },
497
+ {
498
+ inputs: [
499
+ {
500
+ internalType: 'string[]',
501
+ name: '_urls',
502
+ type: 'string[]',
503
+ },
504
+ ],
505
+ name: 'setGatewayURLs',
506
+ outputs: [],
455
507
  stateMutability: 'nonpayable',
456
508
  type: 'function',
457
509
  },
@@ -474,6 +526,19 @@ const _abi = [
474
526
  stateMutability: 'view',
475
527
  type: 'function',
476
528
  },
529
+ {
530
+ inputs: [
531
+ {
532
+ internalType: 'address',
533
+ name: 'newOwner',
534
+ type: 'address',
535
+ },
536
+ ],
537
+ name: 'transferOwnership',
538
+ outputs: [],
539
+ stateMutability: 'nonpayable',
540
+ type: 'function',
541
+ },
477
542
  ]
478
543
 
479
544
  export class UniversalResolver__factory {
package/src/index.ts CHANGED
@@ -15,14 +15,7 @@ import GqlManager from './GqlManager'
15
15
  import singleCall from './utils/singleCall'
16
16
  import writeTx from './utils/writeTx'
17
17
 
18
- export type {
19
- Fuse,
20
- FuseArrayPossibilities,
21
- FuseObj,
22
- NamedFusesToBurn,
23
- UnnamedFuseType,
24
- UnnamedFuseValues,
25
- } from './utils/fuses'
18
+ export type { ChildFuses, ParentFuses } from './utils/fuses'
26
19
 
27
20
  type ENSOptions = {
28
21
  graphURI?: string | null
@@ -497,6 +490,18 @@ export class ENS {
497
490
  '_getText',
498
491
  )
499
492
 
493
+ public getABI = this.generateRawFunction<FunctionTypes['getABI']>(
494
+ 'initialGetters',
495
+ ['contracts', 'universalWrapper'],
496
+ 'getABI',
497
+ )
498
+
499
+ public _getABI = this.generateRawFunction<FunctionTypes['_getABI']>(
500
+ 'initialGetters',
501
+ ['contracts'],
502
+ '_getABI',
503
+ )
504
+
500
505
  public getOwner = this.generateRawFunction<FunctionTypes['getOwner']>(
501
506
  'initialGetters',
502
507
  ['contracts', 'multicallWrapper', 'gqlInstance'],
@@ -585,7 +590,7 @@ export class ENS {
585
590
 
586
591
  public wrapName = this.generateWriteFunction<FunctionTypes['wrapName']>(
587
592
  'wrapName',
588
- ['contracts', 'getExpiry'],
593
+ ['contracts'],
589
594
  )
590
595
 
591
596
  public unwrapName = this.generateWriteFunction<FunctionTypes['unwrapName']>(
@@ -593,11 +598,15 @@ export class ENS {
593
598
  ['contracts'],
594
599
  )
595
600
 
596
- public burnFuses = this.generateWriteFunction<FunctionTypes['burnFuses']>(
597
- 'burnFuses',
601
+ public setFuses = this.generateWriteFunction<FunctionTypes['setFuses']>(
602
+ 'setFuses',
598
603
  ['contracts'],
599
604
  )
600
605
 
606
+ public setChildFuses = this.generateWriteFunction<
607
+ FunctionTypes['setChildFuses']
608
+ >('setFuses', ['contracts'], 'setChildFuses')
609
+
601
610
  public importDNSSECName = this.generateWriteFunction<
602
611
  FunctionTypes['importDNSSECName']
603
612
  >('importDNSSECName', ['contracts', 'provider', 'signer'])
@@ -628,7 +637,7 @@ export class ENS {
628
637
  ['contracts'],
629
638
  )
630
639
 
631
- public renewNameWithData = this.generateWriteFunction<
632
- FunctionTypes['renewNameWithData']
633
- >('renewNames', ['contracts'], 'renewNameWithData')
640
+ public extendWrappedName = this.generateWriteFunction<
641
+ FunctionTypes['extendWrappedName']
642
+ >('renewNames', ['contracts'], 'extendWrappedName')
634
643
  }
@@ -1 +1,2 @@
1
1
  export const EMPTY_ADDRESS = '0x0000000000000000000000000000000000000000'
2
+ export const MAX_INT_64 = 2n ** 64n - 1n