@ensdomains/ensjs 3.0.0-alpha.41 → 3.0.0-alpha.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/contracts/getContractAddress.js +4 -4
- package/dist/cjs/functions/commitName.js +2 -3
- package/dist/cjs/functions/createSubname.js +2 -8
- package/dist/cjs/functions/getDecryptedName.js +111 -0
- package/dist/cjs/functions/getHistory.js +14 -7
- package/dist/cjs/functions/getNames.js +10 -6
- package/dist/cjs/functions/getOwner.js +28 -15
- package/dist/cjs/functions/getPrice.js +6 -6
- package/dist/cjs/functions/getProfile.js +11 -5
- package/dist/cjs/functions/getWrapperData.js +4 -5
- package/dist/cjs/functions/renewNames.js +13 -20
- package/dist/cjs/functions/{burnFuses.js → setFuses.js} +24 -6
- package/dist/cjs/functions/wrapName.js +9 -25
- package/dist/cjs/generated/factories/BaseRegistrarImplementation__factory.js +2 -2
- package/dist/cjs/generated/factories/BulkRenewal__factory.js +2 -2
- package/dist/cjs/generated/factories/DNSRegistrar__factory.js +2 -2
- package/dist/cjs/generated/factories/DNSSECImpl__factory.js +2 -2
- package/dist/cjs/generated/factories/DefaultReverseResolver__factory.js +2 -2
- package/dist/cjs/generated/factories/ENSRegistry__factory.js +2 -2
- package/dist/cjs/generated/factories/ETHRegistrarController__factory.js +8 -57
- package/dist/cjs/generated/factories/Multicall__factory.js +2 -2
- package/dist/cjs/generated/factories/NameWrapper__factory.js +92 -71
- package/dist/cjs/generated/factories/P256SHA256Algorithm__factory.js +2 -2
- package/dist/cjs/generated/factories/PublicResolver__factory.js +85 -2
- package/dist/cjs/generated/factories/RSASHA1Algorithm__factory.js +2 -2
- package/dist/cjs/generated/factories/RSASHA256Algorithm__factory.js +2 -2
- package/dist/cjs/generated/factories/ReverseRegistrar__factory.js +2 -2
- package/dist/cjs/generated/factories/Root__factory.js +2 -2
- package/dist/cjs/generated/factories/SHA1Digest__factory.js +2 -2
- package/dist/cjs/generated/factories/SHA1NSEC3Digest__factory.js +2 -2
- package/dist/cjs/generated/factories/SHA256Digest__factory.js +2 -2
- package/dist/cjs/generated/factories/StaticMetadataService__factory.js +2 -2
- package/dist/cjs/generated/factories/TLDPublicSuffixList__factory.js +2 -2
- package/dist/cjs/generated/factories/UniversalResolver__factory.js +69 -4
- package/dist/cjs/index.js +6 -4
- package/dist/cjs/utils/ccip.js +3 -3
- package/dist/cjs/utils/consts.js +3 -1
- package/dist/cjs/utils/fuses.js +218 -53
- package/dist/cjs/utils/hexEncodedName.js +2 -0
- package/dist/cjs/utils/labels.js +14 -8
- package/dist/cjs/utils/normalise.js +2 -2
- package/dist/cjs/utils/recordHelpers.js +4 -3
- package/dist/cjs/utils/registerHelpers.js +11 -25
- package/dist/cjs/utils/subgraph-types.js +16 -0
- package/dist/cjs/utils/wrapper.js +3 -3
- package/dist/esm/contracts/getContractAddress.mjs +4 -4
- package/dist/esm/functions/commitName.mjs +2 -3
- package/dist/esm/functions/createSubname.mjs +2 -2
- package/dist/esm/functions/getDecryptedName.mjs +96 -0
- package/dist/esm/functions/getHistory.mjs +14 -7
- package/dist/esm/functions/getNames.mjs +10 -6
- package/dist/esm/functions/getOwner.mjs +26 -13
- package/dist/esm/functions/getPrice.mjs +2 -2
- package/dist/esm/functions/getProfile.mjs +10 -4
- package/dist/esm/functions/getWrapperData.mjs +4 -5
- package/dist/esm/functions/renewNames.mjs +13 -20
- package/dist/esm/functions/setFuses.mjs +30 -0
- package/dist/esm/functions/wrapName.mjs +9 -19
- package/dist/esm/generated/factories/BaseRegistrarImplementation__factory.mjs +1 -1
- package/dist/esm/generated/factories/BulkRenewal__factory.mjs +1 -1
- package/dist/esm/generated/factories/DNSRegistrar__factory.mjs +1 -1
- package/dist/esm/generated/factories/DNSSECImpl__factory.mjs +1 -1
- package/dist/esm/generated/factories/DefaultReverseResolver__factory.mjs +1 -1
- package/dist/esm/generated/factories/ENSRegistry__factory.mjs +1 -1
- package/dist/esm/generated/factories/ETHRegistrarController__factory.mjs +7 -56
- package/dist/esm/generated/factories/Multicall__factory.mjs +1 -1
- package/dist/esm/generated/factories/NameWrapper__factory.mjs +91 -70
- package/dist/esm/generated/factories/P256SHA256Algorithm__factory.mjs +1 -1
- package/dist/esm/generated/factories/PublicResolver__factory.mjs +84 -1
- package/dist/esm/generated/factories/RSASHA1Algorithm__factory.mjs +1 -1
- package/dist/esm/generated/factories/RSASHA256Algorithm__factory.mjs +1 -1
- package/dist/esm/generated/factories/ReverseRegistrar__factory.mjs +1 -1
- package/dist/esm/generated/factories/Root__factory.mjs +1 -1
- package/dist/esm/generated/factories/SHA1Digest__factory.mjs +1 -1
- package/dist/esm/generated/factories/SHA1NSEC3Digest__factory.mjs +1 -1
- package/dist/esm/generated/factories/SHA256Digest__factory.mjs +1 -1
- package/dist/esm/generated/factories/StaticMetadataService__factory.mjs +1 -1
- package/dist/esm/generated/factories/TLDPublicSuffixList__factory.mjs +1 -1
- package/dist/esm/generated/factories/UniversalResolver__factory.mjs +68 -3
- package/dist/esm/index.mjs +6 -4
- package/dist/esm/utils/ccip.mjs +2 -2
- package/dist/esm/utils/consts.mjs +3 -1
- package/dist/esm/utils/fuses.mjs +218 -53
- package/dist/esm/utils/hexEncodedName.mjs +2 -0
- package/dist/esm/utils/labels.mjs +11 -8
- package/dist/esm/utils/normalise.mjs +1 -1
- package/dist/esm/utils/recordHelpers.mjs +2 -1
- package/dist/esm/utils/registerHelpers.mjs +10 -18
- package/dist/esm/utils/subgraph-types.mjs +0 -0
- package/dist/esm/utils/wrapper.mjs +2 -2
- package/dist/types/functions/commitName.d.ts +0 -1
- package/dist/types/functions/createSubname.d.ts +2 -2
- package/dist/types/functions/getDecryptedName.d.ts +9 -0
- package/dist/types/functions/getHistory.d.ts +1 -1
- package/dist/types/functions/getNames.d.ts +3 -3
- package/dist/types/functions/getOwner.d.ts +1 -0
- package/dist/types/functions/getPrice.d.ts +1 -1
- package/dist/types/functions/getProfile.d.ts +1 -0
- package/dist/types/functions/getRecords.d.ts +1 -0
- package/dist/types/functions/getWrapperData.d.ts +44 -5
- package/dist/types/functions/registerName.d.ts +1 -1
- package/dist/types/functions/renewNames.d.ts +5 -6
- package/dist/types/functions/setFuses.d.ts +7 -0
- package/dist/types/functions/types.d.ts +8 -4
- package/dist/types/functions/wrapName.d.ts +3 -3
- package/dist/types/generated/ETHRegistrarController.d.ts +13 -36
- package/dist/types/generated/NameWrapper.d.ts +97 -52
- package/dist/types/generated/PublicResolver.d.ts +50 -1
- package/dist/types/generated/UniversalResolver.d.ts +79 -32
- package/dist/types/generated/factories/UniversalResolver__factory.d.ts +15 -0
- package/dist/types/index.d.ts +60 -9
- package/dist/types/static.d.ts +1 -1
- package/dist/types/utils/consts.d.ts +1 -0
- package/dist/types/utils/fuses.d.ts +115 -45
- package/dist/types/utils/hexEncodedName.d.ts +1 -0
- package/dist/types/utils/labels.d.ts +2 -1
- package/dist/types/utils/registerHelpers.d.ts +7 -25
- package/dist/types/utils/subgraph-types.d.ts +284 -0
- package/dist/types/utils/wrapper.d.ts +1 -1
- package/package.json +5 -5
- package/src/contracts/getContractAddress.ts +4 -4
- package/src/functions/commitName.test.ts +0 -3
- package/src/functions/commitName.ts +1 -2
- package/src/functions/createSubname.ts +5 -6
- package/src/functions/getDecryptedName.test.ts +49 -0
- package/src/functions/getDecryptedName.ts +119 -0
- package/src/functions/getExpiry.ts +1 -1
- package/src/functions/getHistory.ts +59 -25
- package/src/functions/getNames.test.ts +2 -2
- package/src/functions/getNames.ts +26 -13
- package/src/functions/getOwner.test.ts +62 -3
- package/src/functions/getOwner.ts +33 -13
- package/src/functions/getPrice.ts +2 -2
- package/src/functions/getProfile.test.ts +7 -0
- package/src/functions/getProfile.ts +13 -4
- package/src/functions/getWrapperData.test.ts +11 -45
- package/src/functions/getWrapperData.ts +8 -6
- package/src/functions/registerName.test.ts +3 -3
- package/src/functions/registerName.ts +1 -1
- package/src/functions/renewNames.ts +18 -24
- package/src/functions/setFuses.test.ts +240 -0
- package/src/functions/setFuses.ts +44 -0
- package/src/functions/types.ts +8 -4
- package/src/functions/wrapName.test.ts +8 -7
- package/src/functions/wrapName.ts +11 -25
- package/src/generated/ETHRegistrarController.ts +12 -79
- package/src/generated/NameWrapper.ts +155 -99
- package/src/generated/PublicResolver.ts +123 -0
- package/src/generated/UniversalResolver.ts +157 -16
- package/src/generated/factories/BaseRegistrarImplementation__factory.ts +1 -1
- package/src/generated/factories/BulkRenewal__factory.ts +1 -1
- package/src/generated/factories/DNSRegistrar__factory.ts +1 -1
- package/src/generated/factories/DNSSECImpl__factory.ts +1 -1
- package/src/generated/factories/DefaultReverseResolver__factory.ts +1 -1
- package/src/generated/factories/ENSRegistry__factory.ts +1 -1
- package/src/generated/factories/ETHRegistrarController__factory.ts +7 -56
- package/src/generated/factories/Multicall__factory.ts +1 -1
- package/src/generated/factories/NameWrapper__factory.ts +91 -70
- package/src/generated/factories/P256SHA256Algorithm__factory.ts +1 -1
- package/src/generated/factories/PublicResolver__factory.ts +84 -1
- package/src/generated/factories/RSASHA1Algorithm__factory.ts +1 -1
- package/src/generated/factories/RSASHA256Algorithm__factory.ts +1 -1
- package/src/generated/factories/ReverseRegistrar__factory.ts +1 -1
- package/src/generated/factories/Root__factory.ts +1 -1
- package/src/generated/factories/SHA1Digest__factory.ts +1 -1
- package/src/generated/factories/SHA1NSEC3Digest__factory.ts +1 -1
- package/src/generated/factories/SHA256Digest__factory.ts +1 -1
- package/src/generated/factories/StaticMetadataService__factory.ts +1 -1
- package/src/generated/factories/TLDPublicSuffixList__factory.ts +1 -1
- package/src/generated/factories/UniversalResolver__factory.ts +68 -3
- package/src/index.ts +15 -14
- package/src/static.ts +1 -1
- package/src/utils/ccip.ts +2 -2
- package/src/utils/consts.ts +1 -0
- package/src/utils/fuses.ts +299 -102
- package/src/utils/hexEncodedName.ts +3 -0
- package/src/utils/labels.ts +13 -11
- package/src/utils/normalise.ts +1 -1
- package/src/utils/recordHelpers.ts +2 -1
- package/src/utils/registerHelpers.ts +14 -42
- package/src/utils/subgraph-types.ts +312 -0
- package/src/utils/wrapper.ts +2 -2
- package/dist/cjs/utils/generateFuseInput.js +0 -40
- package/dist/esm/functions/burnFuses.mjs +0 -12
- package/dist/esm/utils/generateFuseInput.mjs +0 -15
- package/dist/types/functions/burnFuses.d.ts +0 -3
- package/dist/types/utils/generateFuseInput.d.ts +0 -3
- package/src/functions/burnFuses.test.ts +0 -148
- package/src/functions/burnFuses.ts +0 -16
- package/src/utils/generateFuseInput.ts +0 -13
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -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: '
|
|
333
|
-
name: '
|
|
334
|
-
type: '
|
|
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: '
|
|
480
|
-
name: '
|
|
481
|
-
type: '
|
|
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',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -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: '
|
|
732
|
-
name: '
|
|
733
|
-
type: '
|
|
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: '
|
|
945
|
-
name: '
|
|
946
|
-
type: '
|
|
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: '
|
|
1336
|
-
name: '
|
|
1337
|
-
type: '
|
|
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
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -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
|
{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { Interface } from '@ethersproject/abi
|
|
5
|
+
import { Interface } from '@ethersproject/abi'
|
|
6
6
|
import { Signer } from '@ethersproject/abstract-signer'
|
|
7
7
|
import { Contract } from '@ethersproject/contracts'
|
|
8
8
|
import type { Provider } from '@ethersproject/providers'
|