@ensnode/datasources 0.35.0 → 0.36.0
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/index.d.ts +14380 -11635
- package/dist/index.js +627 -126
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
package/dist/index.js
CHANGED
|
@@ -20,24 +20,20 @@ var DatasourceNames = {
|
|
|
20
20
|
ReverseResolverScroll: "reverse-resolver-scroll"
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
// src/
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} catch {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
23
|
+
// src/lib/chains.ts
|
|
24
|
+
import { localhost } from "viem/chains";
|
|
25
|
+
var l2ChainId = 15658734;
|
|
26
|
+
var l1ChainId = l2ChainId - 1;
|
|
27
|
+
var ensTestEnvL1Chain = {
|
|
28
|
+
...localhost,
|
|
29
|
+
id: l1ChainId,
|
|
30
|
+
name: "ens-test-env L1"
|
|
31
|
+
};
|
|
32
|
+
var ensTestEnvL2Chain = {
|
|
33
|
+
...localhost,
|
|
34
|
+
id: l2ChainId,
|
|
35
|
+
name: "ens-test-env L2"
|
|
36
|
+
};
|
|
41
37
|
|
|
42
38
|
// src/abis/root/BaseRegistrar.ts
|
|
43
39
|
var BaseRegistrar = [
|
|
@@ -6632,29 +6628,26 @@ var ResolverFilter = [
|
|
|
6632
6628
|
];
|
|
6633
6629
|
|
|
6634
6630
|
// src/ens-test-env.ts
|
|
6635
|
-
var deploymentAddresses = getENSTestEnvDeploymentAddresses();
|
|
6636
|
-
var EMPTY_ADDRESS = "";
|
|
6637
6631
|
var ens_test_env_default = {
|
|
6638
6632
|
/**
|
|
6639
6633
|
* ENSRoot Datasource
|
|
6640
6634
|
*
|
|
6641
|
-
* Addresses and Start Blocks from
|
|
6642
|
-
* https://github.com/ensdomains/
|
|
6635
|
+
* Addresses and Start Blocks from Namechain devnet
|
|
6636
|
+
* https://github.com/ensdomains/namechain
|
|
6643
6637
|
*/
|
|
6644
6638
|
[DatasourceNames.ENSRoot]: {
|
|
6645
|
-
|
|
6646
|
-
chain: { ...anvil, id: 1337 },
|
|
6639
|
+
chain: ensTestEnvL1Chain,
|
|
6647
6640
|
contracts: {
|
|
6648
6641
|
RegistryOld: {
|
|
6649
6642
|
abi: Registry,
|
|
6650
6643
|
// Registry was redeployed, same abi
|
|
6651
|
-
address:
|
|
6644
|
+
address: "0x610178da211fef7d417bc0e6fed39f05609ad788",
|
|
6652
6645
|
startBlock: 0
|
|
6653
6646
|
},
|
|
6654
6647
|
Registry: {
|
|
6655
6648
|
abi: Registry,
|
|
6656
6649
|
// Registry was redeployed, same abi
|
|
6657
|
-
address:
|
|
6650
|
+
address: "0xb7f8bc63bbcad18155201308c8f3540b07f84f5e",
|
|
6658
6651
|
startBlock: 0
|
|
6659
6652
|
},
|
|
6660
6653
|
Resolver: {
|
|
@@ -6664,44 +6657,32 @@ var ens_test_env_default = {
|
|
|
6664
6657
|
},
|
|
6665
6658
|
BaseRegistrar: {
|
|
6666
6659
|
abi: BaseRegistrar,
|
|
6667
|
-
address:
|
|
6660
|
+
address: "0xa82ff9afd8f496c3d6ac40e2a0f282e47488cfc9",
|
|
6668
6661
|
startBlock: 0
|
|
6669
6662
|
},
|
|
6670
6663
|
LegacyEthRegistrarController: {
|
|
6671
6664
|
abi: LegacyEthRegistrarController,
|
|
6672
|
-
address:
|
|
6673
|
-
// NOTE: prefer the post-UnwrappedEthRegistrarController naming
|
|
6674
|
-
deploymentAddresses?.LegacyETHRegistrarController ?? // TODO: remove deploymentAddresses?.ETHRegistrarControllerOld after ens-test-env is updated
|
|
6675
|
-
deploymentAddresses?.ETHRegistrarControllerOld ?? EMPTY_ADDRESS
|
|
6676
|
-
),
|
|
6665
|
+
address: "0x5081a39b8a5f0e35a8d959395a630b68b74dd30f",
|
|
6677
6666
|
startBlock: 0
|
|
6678
6667
|
},
|
|
6679
6668
|
WrappedEthRegistrarController: {
|
|
6680
6669
|
abi: WrappedEthRegistrarController,
|
|
6681
|
-
address:
|
|
6682
|
-
// NOTE: prefer the post-UnwrappedEthRegistrarController naming
|
|
6683
|
-
deploymentAddresses?.WrappedETHRegistrarController ?? // TODO: remove deploymentAddresses?.ETHRegistrarController after ens-test-env is updated
|
|
6684
|
-
deploymentAddresses?.ETHRegistrarController ?? EMPTY_ADDRESS
|
|
6685
|
-
),
|
|
6670
|
+
address: "0x253553366da8546fc250f225fe3d25d0c782303b",
|
|
6686
6671
|
startBlock: 0
|
|
6687
6672
|
},
|
|
6688
6673
|
UnwrappedEthRegistrarController: {
|
|
6689
6674
|
abi: UnwrappedEthRegistrarController,
|
|
6690
|
-
|
|
6691
|
-
// this reference here
|
|
6692
|
-
// NOTE: using zeroAddress so indexing proceeds as expected in ens-test-env pre-UnwrappedEthRegistrarController
|
|
6693
|
-
// TODO: change zeroAddress to EMPTY_ADDRESS after ens-test-env is updated
|
|
6694
|
-
address: deploymentAddresses?.UnwrappedETHRegistrarController ?? zeroAddress,
|
|
6675
|
+
address: "0x36b58f5c1969b7b6591d752ea6f5486d069010ab",
|
|
6695
6676
|
startBlock: 0
|
|
6696
6677
|
},
|
|
6697
6678
|
NameWrapper: {
|
|
6698
6679
|
abi: NameWrapper,
|
|
6699
|
-
address:
|
|
6680
|
+
address: "0x2e2ed0cfd3ad2f1d34481277b3204d807ca2f8c2",
|
|
6700
6681
|
startBlock: 0
|
|
6701
6682
|
},
|
|
6702
6683
|
UniversalResolver: {
|
|
6703
6684
|
abi: UniversalResolver,
|
|
6704
|
-
address:
|
|
6685
|
+
address: "0xd84379ceae14aa33c123af12424a37803f885889",
|
|
6705
6686
|
startBlock: 0
|
|
6706
6687
|
}
|
|
6707
6688
|
}
|
|
@@ -6723,13 +6704,13 @@ var holesky_default = {
|
|
|
6723
6704
|
RegistryOld: {
|
|
6724
6705
|
abi: Registry,
|
|
6725
6706
|
// Registry was redeployed, same abi
|
|
6726
|
-
address: "
|
|
6707
|
+
address: "0x94f523b8261b815b87effcf4d18e6abef18d6e4b",
|
|
6727
6708
|
startBlock: 801536
|
|
6728
6709
|
},
|
|
6729
6710
|
Registry: {
|
|
6730
6711
|
abi: Registry,
|
|
6731
6712
|
// Registry was redeployed, same abi
|
|
6732
|
-
address: "
|
|
6713
|
+
address: "0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e",
|
|
6733
6714
|
startBlock: 801613
|
|
6734
6715
|
},
|
|
6735
6716
|
Resolver: {
|
|
@@ -6740,32 +6721,32 @@ var holesky_default = {
|
|
|
6740
6721
|
},
|
|
6741
6722
|
BaseRegistrar: {
|
|
6742
6723
|
abi: BaseRegistrar,
|
|
6743
|
-
address: "
|
|
6724
|
+
address: "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
|
|
6744
6725
|
startBlock: 801686
|
|
6745
6726
|
},
|
|
6746
6727
|
LegacyEthRegistrarController: {
|
|
6747
6728
|
abi: LegacyEthRegistrarController,
|
|
6748
|
-
address: "
|
|
6729
|
+
address: "0xf13fc748601fdc5afa255e9d9166eb43f603a903",
|
|
6749
6730
|
startBlock: 815355
|
|
6750
6731
|
},
|
|
6751
6732
|
WrappedEthRegistrarController: {
|
|
6752
6733
|
abi: WrappedEthRegistrarController,
|
|
6753
|
-
address: "
|
|
6734
|
+
address: "0x179be112b24ad4cfc392ef8924dfa08c20ad8583",
|
|
6754
6735
|
startBlock: 815359
|
|
6755
6736
|
},
|
|
6756
6737
|
UnwrappedEthRegistrarController: {
|
|
6757
6738
|
abi: UnwrappedEthRegistrarController,
|
|
6758
|
-
address: "
|
|
6739
|
+
address: "0xfce6ce4373cb6e7e470eaa55329638acd9dbd202",
|
|
6759
6740
|
startBlock: 4027261
|
|
6760
6741
|
},
|
|
6761
6742
|
NameWrapper: {
|
|
6762
6743
|
abi: NameWrapper,
|
|
6763
|
-
address: "
|
|
6744
|
+
address: "0xab50971078225d365994dc1edcb9b7fd72bb4862",
|
|
6764
6745
|
startBlock: 815127
|
|
6765
6746
|
},
|
|
6766
6747
|
UniversalResolver: {
|
|
6767
6748
|
abi: UniversalResolver,
|
|
6768
|
-
address: "
|
|
6749
|
+
address: "0xe3f3174fc2f2b17644cd2dbac3e47bc82ae0cf81",
|
|
6769
6750
|
startBlock: 8515717
|
|
6770
6751
|
}
|
|
6771
6752
|
}
|
|
@@ -8739,6 +8720,490 @@ var Registry2 = [
|
|
|
8739
8720
|
}
|
|
8740
8721
|
];
|
|
8741
8722
|
|
|
8723
|
+
// src/abis/basenames/UpgradeableRegistrarController.ts
|
|
8724
|
+
var UpgradeableRegistrarController = [
|
|
8725
|
+
{ inputs: [], stateMutability: "nonpayable", type: "constructor" },
|
|
8726
|
+
{
|
|
8727
|
+
inputs: [{ internalType: "address", name: "sender", type: "address" }],
|
|
8728
|
+
name: "AlreadyRegisteredWithDiscount",
|
|
8729
|
+
type: "error"
|
|
8730
|
+
},
|
|
8731
|
+
{
|
|
8732
|
+
inputs: [{ internalType: "uint256", name: "duration", type: "uint256" }],
|
|
8733
|
+
name: "DurationTooShort",
|
|
8734
|
+
type: "error"
|
|
8735
|
+
},
|
|
8736
|
+
{
|
|
8737
|
+
inputs: [{ internalType: "bytes32", name: "key", type: "bytes32" }],
|
|
8738
|
+
name: "InactiveDiscount",
|
|
8739
|
+
type: "error"
|
|
8740
|
+
},
|
|
8741
|
+
{ inputs: [], name: "InsufficientValue", type: "error" },
|
|
8742
|
+
{
|
|
8743
|
+
inputs: [
|
|
8744
|
+
{ internalType: "bytes32", name: "key", type: "bytes32" },
|
|
8745
|
+
{ internalType: "bytes", name: "data", type: "bytes" }
|
|
8746
|
+
],
|
|
8747
|
+
name: "InvalidDiscount",
|
|
8748
|
+
type: "error"
|
|
8749
|
+
},
|
|
8750
|
+
{
|
|
8751
|
+
inputs: [{ internalType: "bytes32", name: "key", type: "bytes32" }],
|
|
8752
|
+
name: "InvalidDiscountAmount",
|
|
8753
|
+
type: "error"
|
|
8754
|
+
},
|
|
8755
|
+
{ inputs: [], name: "InvalidInitialization", type: "error" },
|
|
8756
|
+
{ inputs: [], name: "InvalidPaymentReceiver", type: "error" },
|
|
8757
|
+
{
|
|
8758
|
+
inputs: [
|
|
8759
|
+
{ internalType: "bytes32", name: "key", type: "bytes32" },
|
|
8760
|
+
{ internalType: "address", name: "validator", type: "address" }
|
|
8761
|
+
],
|
|
8762
|
+
name: "InvalidValidator",
|
|
8763
|
+
type: "error"
|
|
8764
|
+
},
|
|
8765
|
+
{
|
|
8766
|
+
inputs: [{ internalType: "string", name: "name", type: "string" }],
|
|
8767
|
+
name: "NameNotValid",
|
|
8768
|
+
type: "error"
|
|
8769
|
+
},
|
|
8770
|
+
{ inputs: [], name: "NotInitializing", type: "error" },
|
|
8771
|
+
{
|
|
8772
|
+
inputs: [{ internalType: "address", name: "owner", type: "address" }],
|
|
8773
|
+
name: "OwnableInvalidOwner",
|
|
8774
|
+
type: "error"
|
|
8775
|
+
},
|
|
8776
|
+
{
|
|
8777
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
8778
|
+
name: "OwnableUnauthorizedAccount",
|
|
8779
|
+
type: "error"
|
|
8780
|
+
},
|
|
8781
|
+
{ inputs: [], name: "ResolverRequiredWhenDataSupplied", type: "error" },
|
|
8782
|
+
{ inputs: [], name: "TransferFailed", type: "error" },
|
|
8783
|
+
{ inputs: [], name: "ZeroAddress", type: "error" },
|
|
8784
|
+
{
|
|
8785
|
+
anonymous: false,
|
|
8786
|
+
inputs: [
|
|
8787
|
+
{ indexed: true, internalType: "address", name: "registrant", type: "address" },
|
|
8788
|
+
{ indexed: true, internalType: "bytes32", name: "discountKey", type: "bytes32" }
|
|
8789
|
+
],
|
|
8790
|
+
name: "DiscountApplied",
|
|
8791
|
+
type: "event"
|
|
8792
|
+
},
|
|
8793
|
+
{
|
|
8794
|
+
anonymous: false,
|
|
8795
|
+
inputs: [
|
|
8796
|
+
{ indexed: true, internalType: "bytes32", name: "discountKey", type: "bytes32" },
|
|
8797
|
+
{
|
|
8798
|
+
components: [
|
|
8799
|
+
{ internalType: "bool", name: "active", type: "bool" },
|
|
8800
|
+
{ internalType: "address", name: "discountValidator", type: "address" },
|
|
8801
|
+
{ internalType: "bytes32", name: "key", type: "bytes32" },
|
|
8802
|
+
{ internalType: "uint256", name: "discount", type: "uint256" }
|
|
8803
|
+
],
|
|
8804
|
+
indexed: false,
|
|
8805
|
+
internalType: "struct UpgradeableRegistrarController.DiscountDetails",
|
|
8806
|
+
name: "details",
|
|
8807
|
+
type: "tuple"
|
|
8808
|
+
}
|
|
8809
|
+
],
|
|
8810
|
+
name: "DiscountUpdated",
|
|
8811
|
+
type: "event"
|
|
8812
|
+
},
|
|
8813
|
+
{
|
|
8814
|
+
anonymous: false,
|
|
8815
|
+
inputs: [
|
|
8816
|
+
{ indexed: true, internalType: "address", name: "payee", type: "address" },
|
|
8817
|
+
{ indexed: false, internalType: "uint256", name: "price", type: "uint256" }
|
|
8818
|
+
],
|
|
8819
|
+
name: "ETHPaymentProcessed",
|
|
8820
|
+
type: "event"
|
|
8821
|
+
},
|
|
8822
|
+
{
|
|
8823
|
+
anonymous: false,
|
|
8824
|
+
inputs: [{ indexed: false, internalType: "uint64", name: "version", type: "uint64" }],
|
|
8825
|
+
name: "Initialized",
|
|
8826
|
+
type: "event"
|
|
8827
|
+
},
|
|
8828
|
+
{
|
|
8829
|
+
anonymous: false,
|
|
8830
|
+
inputs: [
|
|
8831
|
+
{ indexed: false, internalType: "address", name: "newL2ReverseRegistrar", type: "address" }
|
|
8832
|
+
],
|
|
8833
|
+
name: "L2ReverseRegistrarUpdated",
|
|
8834
|
+
type: "event"
|
|
8835
|
+
},
|
|
8836
|
+
{
|
|
8837
|
+
anonymous: false,
|
|
8838
|
+
inputs: [
|
|
8839
|
+
{ indexed: false, internalType: "string", name: "name", type: "string" },
|
|
8840
|
+
{ indexed: true, internalType: "bytes32", name: "label", type: "bytes32" },
|
|
8841
|
+
{ indexed: true, internalType: "address", name: "owner", type: "address" },
|
|
8842
|
+
{ indexed: false, internalType: "uint256", name: "expires", type: "uint256" }
|
|
8843
|
+
],
|
|
8844
|
+
name: "NameRegistered",
|
|
8845
|
+
type: "event"
|
|
8846
|
+
},
|
|
8847
|
+
{
|
|
8848
|
+
anonymous: false,
|
|
8849
|
+
inputs: [
|
|
8850
|
+
{ indexed: false, internalType: "string", name: "name", type: "string" },
|
|
8851
|
+
{ indexed: true, internalType: "bytes32", name: "label", type: "bytes32" },
|
|
8852
|
+
{ indexed: false, internalType: "uint256", name: "expires", type: "uint256" }
|
|
8853
|
+
],
|
|
8854
|
+
name: "NameRenewed",
|
|
8855
|
+
type: "event"
|
|
8856
|
+
},
|
|
8857
|
+
{
|
|
8858
|
+
anonymous: false,
|
|
8859
|
+
inputs: [
|
|
8860
|
+
{ indexed: true, internalType: "address", name: "previousOwner", type: "address" },
|
|
8861
|
+
{ indexed: true, internalType: "address", name: "newOwner", type: "address" }
|
|
8862
|
+
],
|
|
8863
|
+
name: "OwnershipTransferStarted",
|
|
8864
|
+
type: "event"
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
anonymous: false,
|
|
8868
|
+
inputs: [
|
|
8869
|
+
{ indexed: true, internalType: "address", name: "previousOwner", type: "address" },
|
|
8870
|
+
{ indexed: true, internalType: "address", name: "newOwner", type: "address" }
|
|
8871
|
+
],
|
|
8872
|
+
name: "OwnershipTransferred",
|
|
8873
|
+
type: "event"
|
|
8874
|
+
},
|
|
8875
|
+
{
|
|
8876
|
+
anonymous: false,
|
|
8877
|
+
inputs: [
|
|
8878
|
+
{ indexed: false, internalType: "address", name: "newPaymentReceiver", type: "address" }
|
|
8879
|
+
],
|
|
8880
|
+
name: "PaymentReceiverUpdated",
|
|
8881
|
+
type: "event"
|
|
8882
|
+
},
|
|
8883
|
+
{
|
|
8884
|
+
anonymous: false,
|
|
8885
|
+
inputs: [{ indexed: false, internalType: "address", name: "newPrices", type: "address" }],
|
|
8886
|
+
name: "PriceOracleUpdated",
|
|
8887
|
+
type: "event"
|
|
8888
|
+
},
|
|
8889
|
+
{
|
|
8890
|
+
anonymous: false,
|
|
8891
|
+
inputs: [
|
|
8892
|
+
{ indexed: false, internalType: "address", name: "newReverseRegistrar", type: "address" }
|
|
8893
|
+
],
|
|
8894
|
+
name: "ReverseRegistrarUpdated",
|
|
8895
|
+
type: "event"
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
inputs: [],
|
|
8899
|
+
name: "MIN_NAME_LENGTH",
|
|
8900
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
8901
|
+
stateMutability: "view",
|
|
8902
|
+
type: "function"
|
|
8903
|
+
},
|
|
8904
|
+
{
|
|
8905
|
+
inputs: [],
|
|
8906
|
+
name: "MIN_REGISTRATION_DURATION",
|
|
8907
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
8908
|
+
stateMutability: "view",
|
|
8909
|
+
type: "function"
|
|
8910
|
+
},
|
|
8911
|
+
{
|
|
8912
|
+
inputs: [],
|
|
8913
|
+
name: "acceptOwnership",
|
|
8914
|
+
outputs: [],
|
|
8915
|
+
stateMutability: "nonpayable",
|
|
8916
|
+
type: "function"
|
|
8917
|
+
},
|
|
8918
|
+
{
|
|
8919
|
+
inputs: [{ internalType: "string", name: "name", type: "string" }],
|
|
8920
|
+
name: "available",
|
|
8921
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
8922
|
+
stateMutability: "view",
|
|
8923
|
+
type: "function"
|
|
8924
|
+
},
|
|
8925
|
+
{
|
|
8926
|
+
inputs: [
|
|
8927
|
+
{
|
|
8928
|
+
components: [
|
|
8929
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
8930
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
8931
|
+
{ internalType: "uint256", name: "duration", type: "uint256" },
|
|
8932
|
+
{ internalType: "address", name: "resolver", type: "address" },
|
|
8933
|
+
{ internalType: "bytes[]", name: "data", type: "bytes[]" },
|
|
8934
|
+
{ internalType: "bool", name: "reverseRecord", type: "bool" },
|
|
8935
|
+
{ internalType: "uint256[]", name: "coinTypes", type: "uint256[]" },
|
|
8936
|
+
{ internalType: "uint256", name: "signatureExpiry", type: "uint256" },
|
|
8937
|
+
{ internalType: "bytes", name: "signature", type: "bytes" }
|
|
8938
|
+
],
|
|
8939
|
+
internalType: "struct UpgradeableRegistrarController.RegisterRequest",
|
|
8940
|
+
name: "request",
|
|
8941
|
+
type: "tuple"
|
|
8942
|
+
},
|
|
8943
|
+
{ internalType: "bytes32", name: "discountKey", type: "bytes32" },
|
|
8944
|
+
{ internalType: "bytes", name: "validationData", type: "bytes" }
|
|
8945
|
+
],
|
|
8946
|
+
name: "discountedRegister",
|
|
8947
|
+
outputs: [],
|
|
8948
|
+
stateMutability: "payable",
|
|
8949
|
+
type: "function"
|
|
8950
|
+
},
|
|
8951
|
+
{
|
|
8952
|
+
inputs: [
|
|
8953
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
8954
|
+
{ internalType: "uint256", name: "duration", type: "uint256" },
|
|
8955
|
+
{ internalType: "bytes32", name: "discountKey", type: "bytes32" }
|
|
8956
|
+
],
|
|
8957
|
+
name: "discountedRegisterPrice",
|
|
8958
|
+
outputs: [{ internalType: "uint256", name: "price", type: "uint256" }],
|
|
8959
|
+
stateMutability: "view",
|
|
8960
|
+
type: "function"
|
|
8961
|
+
},
|
|
8962
|
+
{
|
|
8963
|
+
inputs: [{ internalType: "bytes32", name: "discountKey", type: "bytes32" }],
|
|
8964
|
+
name: "discounts",
|
|
8965
|
+
outputs: [
|
|
8966
|
+
{
|
|
8967
|
+
components: [
|
|
8968
|
+
{ internalType: "bool", name: "active", type: "bool" },
|
|
8969
|
+
{ internalType: "address", name: "discountValidator", type: "address" },
|
|
8970
|
+
{ internalType: "bytes32", name: "key", type: "bytes32" },
|
|
8971
|
+
{ internalType: "uint256", name: "discount", type: "uint256" }
|
|
8972
|
+
],
|
|
8973
|
+
internalType: "struct UpgradeableRegistrarController.DiscountDetails",
|
|
8974
|
+
name: "",
|
|
8975
|
+
type: "tuple"
|
|
8976
|
+
}
|
|
8977
|
+
],
|
|
8978
|
+
stateMutability: "view",
|
|
8979
|
+
type: "function"
|
|
8980
|
+
},
|
|
8981
|
+
{
|
|
8982
|
+
inputs: [],
|
|
8983
|
+
name: "getActiveDiscounts",
|
|
8984
|
+
outputs: [
|
|
8985
|
+
{
|
|
8986
|
+
components: [
|
|
8987
|
+
{ internalType: "bool", name: "active", type: "bool" },
|
|
8988
|
+
{ internalType: "address", name: "discountValidator", type: "address" },
|
|
8989
|
+
{ internalType: "bytes32", name: "key", type: "bytes32" },
|
|
8990
|
+
{ internalType: "uint256", name: "discount", type: "uint256" }
|
|
8991
|
+
],
|
|
8992
|
+
internalType: "struct UpgradeableRegistrarController.DiscountDetails[]",
|
|
8993
|
+
name: "",
|
|
8994
|
+
type: "tuple[]"
|
|
8995
|
+
}
|
|
8996
|
+
],
|
|
8997
|
+
stateMutability: "view",
|
|
8998
|
+
type: "function"
|
|
8999
|
+
},
|
|
9000
|
+
{
|
|
9001
|
+
inputs: [{ internalType: "address[]", name: "addresses", type: "address[]" }],
|
|
9002
|
+
name: "hasRegisteredWithDiscount",
|
|
9003
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
9004
|
+
stateMutability: "view",
|
|
9005
|
+
type: "function"
|
|
9006
|
+
},
|
|
9007
|
+
{
|
|
9008
|
+
inputs: [
|
|
9009
|
+
{ internalType: "contract IBaseRegistrar", name: "base_", type: "address" },
|
|
9010
|
+
{ internalType: "contract IPriceOracle", name: "prices_", type: "address" },
|
|
9011
|
+
{ internalType: "contract IReverseRegistrar", name: "reverseRegistrar_", type: "address" },
|
|
9012
|
+
{ internalType: "address", name: "owner_", type: "address" },
|
|
9013
|
+
{ internalType: "bytes32", name: "rootNode_", type: "bytes32" },
|
|
9014
|
+
{ internalType: "string", name: "rootName_", type: "string" },
|
|
9015
|
+
{ internalType: "address", name: "paymentReceiver_", type: "address" },
|
|
9016
|
+
{ internalType: "address", name: "legacyRegistrarController_", type: "address" },
|
|
9017
|
+
{ internalType: "address", name: "legacyL2Resolver_", type: "address" },
|
|
9018
|
+
{ internalType: "address", name: "l2ReverseRegistrar_", type: "address" }
|
|
9019
|
+
],
|
|
9020
|
+
name: "initialize",
|
|
9021
|
+
outputs: [],
|
|
9022
|
+
stateMutability: "nonpayable",
|
|
9023
|
+
type: "function"
|
|
9024
|
+
},
|
|
9025
|
+
{
|
|
9026
|
+
inputs: [],
|
|
9027
|
+
name: "owner",
|
|
9028
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
9029
|
+
stateMutability: "view",
|
|
9030
|
+
type: "function"
|
|
9031
|
+
},
|
|
9032
|
+
{
|
|
9033
|
+
inputs: [],
|
|
9034
|
+
name: "paymentReceiver",
|
|
9035
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
9036
|
+
stateMutability: "view",
|
|
9037
|
+
type: "function"
|
|
9038
|
+
},
|
|
9039
|
+
{
|
|
9040
|
+
inputs: [],
|
|
9041
|
+
name: "pendingOwner",
|
|
9042
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
9043
|
+
stateMutability: "view",
|
|
9044
|
+
type: "function"
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
inputs: [],
|
|
9048
|
+
name: "prices",
|
|
9049
|
+
outputs: [{ internalType: "contract IPriceOracle", name: "", type: "address" }],
|
|
9050
|
+
stateMutability: "view",
|
|
9051
|
+
type: "function"
|
|
9052
|
+
},
|
|
9053
|
+
{
|
|
9054
|
+
inputs: [
|
|
9055
|
+
{
|
|
9056
|
+
components: [
|
|
9057
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
9058
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
9059
|
+
{ internalType: "uint256", name: "duration", type: "uint256" },
|
|
9060
|
+
{ internalType: "address", name: "resolver", type: "address" },
|
|
9061
|
+
{ internalType: "bytes[]", name: "data", type: "bytes[]" },
|
|
9062
|
+
{ internalType: "bool", name: "reverseRecord", type: "bool" },
|
|
9063
|
+
{ internalType: "uint256[]", name: "coinTypes", type: "uint256[]" },
|
|
9064
|
+
{ internalType: "uint256", name: "signatureExpiry", type: "uint256" },
|
|
9065
|
+
{ internalType: "bytes", name: "signature", type: "bytes" }
|
|
9066
|
+
],
|
|
9067
|
+
internalType: "struct UpgradeableRegistrarController.RegisterRequest",
|
|
9068
|
+
name: "request",
|
|
9069
|
+
type: "tuple"
|
|
9070
|
+
}
|
|
9071
|
+
],
|
|
9072
|
+
name: "register",
|
|
9073
|
+
outputs: [],
|
|
9074
|
+
stateMutability: "payable",
|
|
9075
|
+
type: "function"
|
|
9076
|
+
},
|
|
9077
|
+
{
|
|
9078
|
+
inputs: [
|
|
9079
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
9080
|
+
{ internalType: "uint256", name: "duration", type: "uint256" }
|
|
9081
|
+
],
|
|
9082
|
+
name: "registerPrice",
|
|
9083
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
9084
|
+
stateMutability: "view",
|
|
9085
|
+
type: "function"
|
|
9086
|
+
},
|
|
9087
|
+
{
|
|
9088
|
+
inputs: [
|
|
9089
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
9090
|
+
{ internalType: "uint256", name: "duration", type: "uint256" }
|
|
9091
|
+
],
|
|
9092
|
+
name: "renew",
|
|
9093
|
+
outputs: [],
|
|
9094
|
+
stateMutability: "payable",
|
|
9095
|
+
type: "function"
|
|
9096
|
+
},
|
|
9097
|
+
{
|
|
9098
|
+
inputs: [],
|
|
9099
|
+
name: "renounceOwnership",
|
|
9100
|
+
outputs: [],
|
|
9101
|
+
stateMutability: "nonpayable",
|
|
9102
|
+
type: "function"
|
|
9103
|
+
},
|
|
9104
|
+
{
|
|
9105
|
+
inputs: [
|
|
9106
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
9107
|
+
{ internalType: "uint256", name: "duration", type: "uint256" }
|
|
9108
|
+
],
|
|
9109
|
+
name: "rentPrice",
|
|
9110
|
+
outputs: [
|
|
9111
|
+
{
|
|
9112
|
+
components: [
|
|
9113
|
+
{ internalType: "uint256", name: "base", type: "uint256" },
|
|
9114
|
+
{ internalType: "uint256", name: "premium", type: "uint256" }
|
|
9115
|
+
],
|
|
9116
|
+
internalType: "struct IPriceOracle.Price",
|
|
9117
|
+
name: "price",
|
|
9118
|
+
type: "tuple"
|
|
9119
|
+
}
|
|
9120
|
+
],
|
|
9121
|
+
stateMutability: "view",
|
|
9122
|
+
type: "function"
|
|
9123
|
+
},
|
|
9124
|
+
{
|
|
9125
|
+
inputs: [],
|
|
9126
|
+
name: "reverseRegistrar",
|
|
9127
|
+
outputs: [{ internalType: "contract IReverseRegistrar", name: "", type: "address" }],
|
|
9128
|
+
stateMutability: "view",
|
|
9129
|
+
type: "function"
|
|
9130
|
+
},
|
|
9131
|
+
{
|
|
9132
|
+
inputs: [
|
|
9133
|
+
{
|
|
9134
|
+
components: [
|
|
9135
|
+
{ internalType: "bool", name: "active", type: "bool" },
|
|
9136
|
+
{ internalType: "address", name: "discountValidator", type: "address" },
|
|
9137
|
+
{ internalType: "bytes32", name: "key", type: "bytes32" },
|
|
9138
|
+
{ internalType: "uint256", name: "discount", type: "uint256" }
|
|
9139
|
+
],
|
|
9140
|
+
internalType: "struct UpgradeableRegistrarController.DiscountDetails",
|
|
9141
|
+
name: "details",
|
|
9142
|
+
type: "tuple"
|
|
9143
|
+
}
|
|
9144
|
+
],
|
|
9145
|
+
name: "setDiscountDetails",
|
|
9146
|
+
outputs: [],
|
|
9147
|
+
stateMutability: "nonpayable",
|
|
9148
|
+
type: "function"
|
|
9149
|
+
},
|
|
9150
|
+
{
|
|
9151
|
+
inputs: [{ internalType: "address", name: "l2ReverseRegistrar_", type: "address" }],
|
|
9152
|
+
name: "setL2ReverseRegistrar",
|
|
9153
|
+
outputs: [],
|
|
9154
|
+
stateMutability: "nonpayable",
|
|
9155
|
+
type: "function"
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9158
|
+
inputs: [{ internalType: "address", name: "paymentReceiver_", type: "address" }],
|
|
9159
|
+
name: "setPaymentReceiver",
|
|
9160
|
+
outputs: [],
|
|
9161
|
+
stateMutability: "nonpayable",
|
|
9162
|
+
type: "function"
|
|
9163
|
+
},
|
|
9164
|
+
{
|
|
9165
|
+
inputs: [{ internalType: "contract IPriceOracle", name: "prices_", type: "address" }],
|
|
9166
|
+
name: "setPriceOracle",
|
|
9167
|
+
outputs: [],
|
|
9168
|
+
stateMutability: "nonpayable",
|
|
9169
|
+
type: "function"
|
|
9170
|
+
},
|
|
9171
|
+
{
|
|
9172
|
+
inputs: [
|
|
9173
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
9174
|
+
{ internalType: "uint256", name: "signatureExpiry", type: "uint256" },
|
|
9175
|
+
{ internalType: "uint256[]", name: "coinTypes", type: "uint256[]" },
|
|
9176
|
+
{ internalType: "bytes", name: "signature", type: "bytes" }
|
|
9177
|
+
],
|
|
9178
|
+
name: "setReverseRecord",
|
|
9179
|
+
outputs: [],
|
|
9180
|
+
stateMutability: "nonpayable",
|
|
9181
|
+
type: "function"
|
|
9182
|
+
},
|
|
9183
|
+
{
|
|
9184
|
+
inputs: [{ internalType: "contract IReverseRegistrar", name: "reverse_", type: "address" }],
|
|
9185
|
+
name: "setReverseRegistrar",
|
|
9186
|
+
outputs: [],
|
|
9187
|
+
stateMutability: "nonpayable",
|
|
9188
|
+
type: "function"
|
|
9189
|
+
},
|
|
9190
|
+
{
|
|
9191
|
+
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
9192
|
+
name: "transferOwnership",
|
|
9193
|
+
outputs: [],
|
|
9194
|
+
stateMutability: "nonpayable",
|
|
9195
|
+
type: "function"
|
|
9196
|
+
},
|
|
9197
|
+
{
|
|
9198
|
+
inputs: [{ internalType: "string", name: "name", type: "string" }],
|
|
9199
|
+
name: "valid",
|
|
9200
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
9201
|
+
stateMutability: "pure",
|
|
9202
|
+
type: "function"
|
|
9203
|
+
},
|
|
9204
|
+
{ inputs: [], name: "withdrawETH", outputs: [], stateMutability: "nonpayable", type: "function" }
|
|
9205
|
+
];
|
|
9206
|
+
|
|
8742
9207
|
// src/abis/lineanames/BaseRegistrar.ts
|
|
8743
9208
|
var BaseRegistrar3 = [
|
|
8744
9209
|
{
|
|
@@ -12817,7 +13282,7 @@ var mainnet_default = {
|
|
|
12817
13282
|
Registry: {
|
|
12818
13283
|
abi: Registry,
|
|
12819
13284
|
// Registry was redeployed, same abi
|
|
12820
|
-
address: "
|
|
13285
|
+
address: "0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e",
|
|
12821
13286
|
startBlock: 9380380
|
|
12822
13287
|
},
|
|
12823
13288
|
Resolver: {
|
|
@@ -12828,42 +13293,42 @@ var mainnet_default = {
|
|
|
12828
13293
|
},
|
|
12829
13294
|
BaseRegistrar: {
|
|
12830
13295
|
abi: BaseRegistrar,
|
|
12831
|
-
address: "
|
|
13296
|
+
address: "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
|
|
12832
13297
|
startBlock: 9380410
|
|
12833
13298
|
},
|
|
12834
13299
|
LegacyEthRegistrarController: {
|
|
12835
13300
|
abi: LegacyEthRegistrarController,
|
|
12836
|
-
address: "
|
|
13301
|
+
address: "0x283af0b28c62c092c9727f1ee09c02ca627eb7f5",
|
|
12837
13302
|
startBlock: 9380471
|
|
12838
13303
|
},
|
|
12839
13304
|
WrappedEthRegistrarController: {
|
|
12840
13305
|
abi: WrappedEthRegistrarController,
|
|
12841
|
-
address: "
|
|
13306
|
+
address: "0x253553366da8546fc250f225fe3d25d0c782303b",
|
|
12842
13307
|
startBlock: 16925618
|
|
12843
13308
|
},
|
|
12844
13309
|
UnwrappedEthRegistrarController: {
|
|
12845
13310
|
abi: UnwrappedEthRegistrarController,
|
|
12846
|
-
address: "
|
|
13311
|
+
address: "0x59e16fccd424cc24e280be16e11bcd56fb0ce547",
|
|
12847
13312
|
startBlock: 22764821
|
|
12848
13313
|
},
|
|
12849
13314
|
NameWrapper: {
|
|
12850
13315
|
abi: NameWrapper,
|
|
12851
|
-
address: "
|
|
13316
|
+
address: "0xd4416b13d2b3a9abae7acd5d6c2bbdbe25686401",
|
|
12852
13317
|
startBlock: 16925608
|
|
12853
13318
|
},
|
|
12854
13319
|
UniversalResolver: {
|
|
12855
13320
|
abi: UniversalResolver,
|
|
12856
|
-
address: "
|
|
13321
|
+
address: "0xabd80e8a13596feea40fd26fd6a24c3fe76f05fb",
|
|
12857
13322
|
startBlock: 22671701
|
|
12858
13323
|
},
|
|
12859
13324
|
BasenamesL1Resolver: {
|
|
12860
13325
|
abi: ResolverABI,
|
|
12861
|
-
address: "
|
|
13326
|
+
address: "0xde9049636f4a1dfe0a64d1bfe3155c0a14c54f31",
|
|
12862
13327
|
startBlock: 20420641
|
|
12863
13328
|
},
|
|
12864
13329
|
LineanamesL1Resolver: {
|
|
12865
13330
|
abi: ResolverABI,
|
|
12866
|
-
address: "
|
|
13331
|
+
address: "0xde16ee87b0c019499cebdde29c9f7686560f679a",
|
|
12867
13332
|
startBlock: 20410692
|
|
12868
13333
|
}
|
|
12869
13334
|
}
|
|
@@ -12905,7 +13370,7 @@ var mainnet_default = {
|
|
|
12905
13370
|
},
|
|
12906
13371
|
BaseRegistrar: {
|
|
12907
13372
|
abi: BaseRegistrar2,
|
|
12908
|
-
address: "
|
|
13373
|
+
address: "0x03c4738ee98ae44591e1a4a4f3cab6641d95dd9a",
|
|
12909
13374
|
startBlock: 17571486
|
|
12910
13375
|
},
|
|
12911
13376
|
EARegistrarController: {
|
|
@@ -12913,15 +13378,38 @@ var mainnet_default = {
|
|
|
12913
13378
|
address: "0xd3e6775ed9b7dc12b205c8e608dc3767b9e5efda",
|
|
12914
13379
|
startBlock: 17575699
|
|
12915
13380
|
},
|
|
13381
|
+
/**
|
|
13382
|
+
* This controller was removed from BaseRegistrar contract
|
|
13383
|
+
* https://basescan.org/tx/0x88a3cc03291bb1a4b2bd9ccfe6b770988470001905d96c32bd41b866797b684b
|
|
13384
|
+
*/
|
|
12916
13385
|
RegistrarController: {
|
|
12917
13386
|
abi: RegistrarController,
|
|
12918
|
-
address: "
|
|
12919
|
-
startBlock: 18619035
|
|
12920
|
-
|
|
12921
|
-
|
|
13387
|
+
address: "0x4ccb0bb02fcaba27e82a56646e81d8c5bc4119a5",
|
|
13388
|
+
startBlock: 18619035,
|
|
13389
|
+
endBlock: 35936564
|
|
13390
|
+
},
|
|
13391
|
+
/**
|
|
13392
|
+
* This controller was added to BaseRegistrar contract
|
|
13393
|
+
* with the following tx:
|
|
13394
|
+
* https://basescan.org/tx/0x52aed4dc975ba6c2b8b54d94f5b0b86a9cc0f27e81e78deb4a0b8b568f5e71ed
|
|
13395
|
+
*/
|
|
13396
|
+
UpgradeableRegistrarController: {
|
|
13397
|
+
abi: UpgradeableRegistrarController,
|
|
13398
|
+
address: "0xa7d2607c6bd39ae9521e514026cbb078405ab322",
|
|
13399
|
+
// a proxy contract
|
|
13400
|
+
startBlock: 35286620
|
|
13401
|
+
},
|
|
13402
|
+
// NOTE: not indexed, but referenced for Protocol Acceleration
|
|
13403
|
+
L2Resolver1: {
|
|
12922
13404
|
abi: ResolverABI,
|
|
12923
|
-
address: "
|
|
13405
|
+
address: "0xc6d566a56a1aff6508b41f6c90ff131615583bcd",
|
|
12924
13406
|
startBlock: 17575714
|
|
13407
|
+
},
|
|
13408
|
+
// NOTE: not indexed, but referenced for Protocol Acceleration
|
|
13409
|
+
L2Resolver2: {
|
|
13410
|
+
abi: ResolverABI,
|
|
13411
|
+
address: "0x426fa03fb86e510d0dd9f70335cf102a98b10875",
|
|
13412
|
+
startBlock: 35286620
|
|
12925
13413
|
}
|
|
12926
13414
|
}
|
|
12927
13415
|
},
|
|
@@ -12951,7 +13439,7 @@ var mainnet_default = {
|
|
|
12951
13439
|
contracts: {
|
|
12952
13440
|
Registry: {
|
|
12953
13441
|
abi: Registry3,
|
|
12954
|
-
address: "
|
|
13442
|
+
address: "0x50130b669b28c339991d8676fa73cf122a121267",
|
|
12955
13443
|
startBlock: 6682888
|
|
12956
13444
|
},
|
|
12957
13445
|
Resolver: {
|
|
@@ -12962,17 +13450,17 @@ var mainnet_default = {
|
|
|
12962
13450
|
},
|
|
12963
13451
|
BaseRegistrar: {
|
|
12964
13452
|
abi: BaseRegistrar3,
|
|
12965
|
-
address: "
|
|
13453
|
+
address: "0x6e84390dcc5195414ec91a8c56a5c91021b95704",
|
|
12966
13454
|
startBlock: 6682892
|
|
12967
13455
|
},
|
|
12968
13456
|
EthRegistrarController: {
|
|
12969
13457
|
abi: EthRegistrarController,
|
|
12970
|
-
address: "
|
|
13458
|
+
address: "0xdb75db974b1f2bd3b5916d503036208064d18295",
|
|
12971
13459
|
startBlock: 6682978
|
|
12972
13460
|
},
|
|
12973
13461
|
NameWrapper: {
|
|
12974
13462
|
abi: NameWrapper2,
|
|
12975
|
-
address: "
|
|
13463
|
+
address: "0xa53cca02f98d590819141aa85c891e2af713c223",
|
|
12976
13464
|
startBlock: 6682956
|
|
12977
13465
|
}
|
|
12978
13466
|
}
|
|
@@ -12986,13 +13474,13 @@ var mainnet_default = {
|
|
|
12986
13474
|
contracts: {
|
|
12987
13475
|
ThreeDNSToken: {
|
|
12988
13476
|
abi: ThreeDNSToken,
|
|
12989
|
-
address: "
|
|
13477
|
+
address: "0xbb7b805b257d7c76ca9435b3ffe780355e4c4b17",
|
|
12990
13478
|
startBlock: 110393959
|
|
12991
13479
|
},
|
|
12992
13480
|
Resolver: {
|
|
12993
13481
|
abi: ResolverABI,
|
|
12994
13482
|
// NOTE: 3DNSToken on Optimism has a hardcoded protocol-wide Resolver at this address
|
|
12995
|
-
address: "
|
|
13483
|
+
address: "0xf97aac6c8dbaebcb54ff166d79706e3af7a813c8",
|
|
12996
13484
|
startBlock: 110393959
|
|
12997
13485
|
}
|
|
12998
13486
|
}
|
|
@@ -13006,13 +13494,13 @@ var mainnet_default = {
|
|
|
13006
13494
|
contracts: {
|
|
13007
13495
|
ThreeDNSToken: {
|
|
13008
13496
|
abi: ThreeDNSToken,
|
|
13009
|
-
address: "
|
|
13497
|
+
address: "0xbb7b805b257d7c76ca9435b3ffe780355e4c4b17",
|
|
13010
13498
|
startBlock: 17522624
|
|
13011
13499
|
},
|
|
13012
13500
|
Resolver: {
|
|
13013
13501
|
abi: ResolverABI,
|
|
13014
13502
|
// NOTE: 3DNSToken on Base has a hardcoded protocol-wide Resolver at this address
|
|
13015
|
-
address: "
|
|
13503
|
+
address: "0xf97aac6c8dbaebcb54ff166d79706e3af7a813c8",
|
|
13016
13504
|
startBlock: 17522624
|
|
13017
13505
|
}
|
|
13018
13506
|
}
|
|
@@ -13025,7 +13513,7 @@ var mainnet_default = {
|
|
|
13025
13513
|
contracts: {
|
|
13026
13514
|
DefaultReverseRegistrar: {
|
|
13027
13515
|
abi: StandaloneReverseRegistrar,
|
|
13028
|
-
address: "
|
|
13516
|
+
address: "0x283f227c4bd38ece252c4ae7ece650b0e913f1f9",
|
|
13029
13517
|
startBlock: 22764819
|
|
13030
13518
|
},
|
|
13031
13519
|
// NOTE: the DefaultReverseResolver1 (aka LegacyDefaultReverseResolver) does NOT emit events
|
|
@@ -13033,7 +13521,7 @@ var mainnet_default = {
|
|
|
13033
13521
|
// for completeness, but/and explicity do not index it.
|
|
13034
13522
|
DefaultReverseResolver1: {
|
|
13035
13523
|
abi: ResolverABI,
|
|
13036
|
-
address: "
|
|
13524
|
+
address: "0xa2c122be93b0074270ebee7f6b7292c7deb45047",
|
|
13037
13525
|
startBlock: 9380501
|
|
13038
13526
|
},
|
|
13039
13527
|
// this DefaultReverseResolver was enabled in the following proposal:
|
|
@@ -13043,7 +13531,7 @@ var mainnet_default = {
|
|
|
13043
13531
|
// Resolver#NameChanged events. We index these events to power aspects of Protocol Acceleration.
|
|
13044
13532
|
DefaultReverseResolver2: {
|
|
13045
13533
|
abi: ResolverABI,
|
|
13046
|
-
address: "
|
|
13534
|
+
address: "0x231b0ee14048e9dccd1d247744d114a4eb5e8e63",
|
|
13047
13535
|
startBlock: 16925619
|
|
13048
13536
|
},
|
|
13049
13537
|
// this DefaultReverseResolver was enabled in the following proposal:
|
|
@@ -13053,14 +13541,14 @@ var mainnet_default = {
|
|
|
13053
13541
|
// DefaultReverseRegistrar, which IS indexed. We document it here for completeness.
|
|
13054
13542
|
DefaultReverseResolver3: {
|
|
13055
13543
|
abi: ResolverABI,
|
|
13056
|
-
address: "
|
|
13544
|
+
address: "0xa7d635c8de9a58a228aa69353a1699c7cc240dcf",
|
|
13057
13545
|
startBlock: 22764871
|
|
13058
13546
|
},
|
|
13059
13547
|
// the original default public resolver aka LegacyPublicResolver
|
|
13060
13548
|
// it uses a TextChanged event that does not include the `value` parameter
|
|
13061
13549
|
DefaultPublicResolver1: {
|
|
13062
13550
|
abi: ResolverABI,
|
|
13063
|
-
address: "
|
|
13551
|
+
address: "0x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41",
|
|
13064
13552
|
startBlock: 9412610
|
|
13065
13553
|
},
|
|
13066
13554
|
// this PublicResolver was enabled in the following proposal:
|
|
@@ -13068,7 +13556,7 @@ var mainnet_default = {
|
|
|
13068
13556
|
// https://www.tally.xyz/gov/ens/proposal/42973781582803845389836855775840822719678533376883030929209752909248937768242
|
|
13069
13557
|
DefaultPublicResolver2: {
|
|
13070
13558
|
abi: ResolverABI,
|
|
13071
|
-
address: "
|
|
13559
|
+
address: "0x231b0ee14048e9dccd1d247744d114a4eb5e8e63",
|
|
13072
13560
|
startBlock: 16925619
|
|
13073
13561
|
},
|
|
13074
13562
|
// this PublicResolver was enabled in the following proposal
|
|
@@ -13076,37 +13564,37 @@ var mainnet_default = {
|
|
|
13076
13564
|
// https://www.tally.xyz/gov/ens/proposal/42524979896803285837776370636134389407867034021879791462477783237030656381157
|
|
13077
13565
|
DefaultPublicResolver3: {
|
|
13078
13566
|
abi: ResolverABI,
|
|
13079
|
-
address: "
|
|
13567
|
+
address: "0xf29100983e058b709f3d539b0c765937b804ac15",
|
|
13080
13568
|
startBlock: 22764828
|
|
13081
13569
|
},
|
|
13082
13570
|
BaseReverseResolver: {
|
|
13083
13571
|
abi: ResolverABI,
|
|
13084
13572
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html#80002105.reverse
|
|
13085
|
-
address: "
|
|
13573
|
+
address: "0xc800dbc8ff9796e58efba2d7b35028ddd1997e5e",
|
|
13086
13574
|
startBlock: 22764838
|
|
13087
13575
|
},
|
|
13088
13576
|
LineaReverseResolver: {
|
|
13089
13577
|
abi: ResolverABI,
|
|
13090
13578
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html#8000e708.reverse
|
|
13091
|
-
address: "
|
|
13579
|
+
address: "0x0ce08a41bdb10420fb5cac7da8ca508ea313aef8",
|
|
13092
13580
|
startBlock: 22764840
|
|
13093
13581
|
},
|
|
13094
13582
|
OptimismReverseResolver: {
|
|
13095
13583
|
abi: ResolverABI,
|
|
13096
13584
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html#8000000a.reverse
|
|
13097
|
-
address: "
|
|
13585
|
+
address: "0xf9edb1a21867ac11b023ce34abad916d29abf107",
|
|
13098
13586
|
startBlock: 22764854
|
|
13099
13587
|
},
|
|
13100
13588
|
ArbitrumReverseResolver: {
|
|
13101
13589
|
abi: ResolverABI,
|
|
13102
13590
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html#8000a4b1.reverse
|
|
13103
|
-
address: "
|
|
13591
|
+
address: "0x4b9572c03aaa8b0efa4b4b0f0cc0f0992bedb898",
|
|
13104
13592
|
startBlock: 22764837
|
|
13105
13593
|
},
|
|
13106
13594
|
ScrollReverseResolver: {
|
|
13107
13595
|
abi: ResolverABI,
|
|
13108
13596
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html#80082750.reverse
|
|
13109
|
-
address: "
|
|
13597
|
+
address: "0xc4842814ca523e481ca5aa85f719fed1e9cac614",
|
|
13110
13598
|
startBlock: 22921284
|
|
13111
13599
|
}
|
|
13112
13600
|
}
|
|
@@ -13119,7 +13607,7 @@ var mainnet_default = {
|
|
|
13119
13607
|
contracts: {
|
|
13120
13608
|
L2ReverseRegistrar: {
|
|
13121
13609
|
abi: StandaloneReverseRegistrar,
|
|
13122
|
-
address: "
|
|
13610
|
+
address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
|
|
13123
13611
|
startBlock: 31808582
|
|
13124
13612
|
}
|
|
13125
13613
|
}
|
|
@@ -13132,7 +13620,7 @@ var mainnet_default = {
|
|
|
13132
13620
|
contracts: {
|
|
13133
13621
|
L2ReverseRegistrar: {
|
|
13134
13622
|
abi: StandaloneReverseRegistrar,
|
|
13135
|
-
address: "
|
|
13623
|
+
address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
|
|
13136
13624
|
startBlock: 20173340
|
|
13137
13625
|
}
|
|
13138
13626
|
}
|
|
@@ -13145,7 +13633,7 @@ var mainnet_default = {
|
|
|
13145
13633
|
contracts: {
|
|
13146
13634
|
L2ReverseRegistrar: {
|
|
13147
13635
|
abi: StandaloneReverseRegistrar,
|
|
13148
|
-
address: "
|
|
13636
|
+
address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
|
|
13149
13637
|
startBlock: 137403854
|
|
13150
13638
|
}
|
|
13151
13639
|
}
|
|
@@ -13158,7 +13646,7 @@ var mainnet_default = {
|
|
|
13158
13646
|
contracts: {
|
|
13159
13647
|
L2ReverseRegistrar: {
|
|
13160
13648
|
abi: StandaloneReverseRegistrar,
|
|
13161
|
-
address: "
|
|
13649
|
+
address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
|
|
13162
13650
|
startBlock: 349263357
|
|
13163
13651
|
}
|
|
13164
13652
|
}
|
|
@@ -13171,7 +13659,7 @@ var mainnet_default = {
|
|
|
13171
13659
|
contracts: {
|
|
13172
13660
|
L2ReverseRegistrar: {
|
|
13173
13661
|
abi: StandaloneReverseRegistrar,
|
|
13174
|
-
address: "
|
|
13662
|
+
address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
|
|
13175
13663
|
startBlock: 16604272
|
|
13176
13664
|
}
|
|
13177
13665
|
}
|
|
@@ -13182,7 +13670,7 @@ var mainnet_default = {
|
|
|
13182
13670
|
Seaport1_5: {
|
|
13183
13671
|
abi: Seaport,
|
|
13184
13672
|
// Seaport 1.5
|
|
13185
|
-
address: "
|
|
13673
|
+
address: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc",
|
|
13186
13674
|
startBlock: 17129405
|
|
13187
13675
|
}
|
|
13188
13676
|
}
|
|
@@ -13211,13 +13699,13 @@ var sepolia_default = {
|
|
|
13211
13699
|
RegistryOld: {
|
|
13212
13700
|
abi: Registry,
|
|
13213
13701
|
// Registry was redeployed, same abi
|
|
13214
|
-
address: "
|
|
13702
|
+
address: "0x94f523b8261b815b87effcf4d18e6abef18d6e4b",
|
|
13215
13703
|
startBlock: 3702721
|
|
13216
13704
|
},
|
|
13217
13705
|
Registry: {
|
|
13218
13706
|
abi: Registry,
|
|
13219
13707
|
// Registry was redeployed, same abi
|
|
13220
|
-
address: "
|
|
13708
|
+
address: "0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e",
|
|
13221
13709
|
startBlock: 3702728
|
|
13222
13710
|
},
|
|
13223
13711
|
Resolver: {
|
|
@@ -13228,32 +13716,32 @@ var sepolia_default = {
|
|
|
13228
13716
|
},
|
|
13229
13717
|
BaseRegistrar: {
|
|
13230
13718
|
abi: BaseRegistrar,
|
|
13231
|
-
address: "
|
|
13719
|
+
address: "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
|
|
13232
13720
|
startBlock: 3702731
|
|
13233
13721
|
},
|
|
13234
13722
|
LegacyEthRegistrarController: {
|
|
13235
13723
|
abi: LegacyEthRegistrarController,
|
|
13236
|
-
address: "
|
|
13724
|
+
address: "0x7e02892cfc2bfd53a75275451d73cf620e793fc0",
|
|
13237
13725
|
startBlock: 3790197
|
|
13238
13726
|
},
|
|
13239
13727
|
WrappedEthRegistrarController: {
|
|
13240
13728
|
abi: WrappedEthRegistrarController,
|
|
13241
|
-
address: "
|
|
13729
|
+
address: "0xfed6a969aaa60e4961fcd3ebf1a2e8913ac65b72",
|
|
13242
13730
|
startBlock: 3790244
|
|
13243
13731
|
},
|
|
13244
13732
|
UnwrappedEthRegistrarController: {
|
|
13245
13733
|
abi: UnwrappedEthRegistrarController,
|
|
13246
|
-
address: "
|
|
13734
|
+
address: "0xfb3ce5d01e0f33f41dbb39035db9745962f1f968",
|
|
13247
13735
|
startBlock: 8579988
|
|
13248
13736
|
},
|
|
13249
13737
|
NameWrapper: {
|
|
13250
13738
|
abi: NameWrapper,
|
|
13251
|
-
address: "
|
|
13739
|
+
address: "0x0635513f179d50a207757e05759cbd106d7dfce8",
|
|
13252
13740
|
startBlock: 3790153
|
|
13253
13741
|
},
|
|
13254
13742
|
UniversalResolver: {
|
|
13255
13743
|
abi: UniversalResolver,
|
|
13256
|
-
address: "
|
|
13744
|
+
address: "0xb7b7dadf4d42a08b3ec1d3a1079959dfbc8cffcc",
|
|
13257
13745
|
startBlock: 8515717
|
|
13258
13746
|
}
|
|
13259
13747
|
}
|
|
@@ -13284,7 +13772,7 @@ var sepolia_default = {
|
|
|
13284
13772
|
contracts: {
|
|
13285
13773
|
Registry: {
|
|
13286
13774
|
abi: Registry2,
|
|
13287
|
-
address: "
|
|
13775
|
+
address: "0x1493b2567056c2181630115660963e13a8e32735",
|
|
13288
13776
|
startBlock: 13012458
|
|
13289
13777
|
},
|
|
13290
13778
|
Resolver: {
|
|
@@ -13294,7 +13782,7 @@ var sepolia_default = {
|
|
|
13294
13782
|
},
|
|
13295
13783
|
BaseRegistrar: {
|
|
13296
13784
|
abi: BaseRegistrar2,
|
|
13297
|
-
address: "
|
|
13785
|
+
address: "0xa0c70ec36c010b55e3c434d6c6ebeec50c705794",
|
|
13298
13786
|
startBlock: 13012465
|
|
13299
13787
|
},
|
|
13300
13788
|
EARegistrarController: {
|
|
@@ -13304,8 +13792,19 @@ var sepolia_default = {
|
|
|
13304
13792
|
},
|
|
13305
13793
|
RegistrarController: {
|
|
13306
13794
|
abi: RegistrarController,
|
|
13307
|
-
address: "
|
|
13795
|
+
address: "0x49ae3cc2e3aa768b1e5654f5d3c6002144a59581",
|
|
13308
13796
|
startBlock: 13298580
|
|
13797
|
+
},
|
|
13798
|
+
/**
|
|
13799
|
+
* This controller was added to BaseRegistrar contract
|
|
13800
|
+
* with the following tx:
|
|
13801
|
+
* https://sepolia.basescan.org/tx/0x648d984c1a379a6c300851b9561fe98a9b5282a26ca8c2c7660b11c53f0564bc
|
|
13802
|
+
*/
|
|
13803
|
+
UpgradeableRegistrarController: {
|
|
13804
|
+
abi: UpgradeableRegistrarController,
|
|
13805
|
+
address: "0x82c858cdf64b3d893fe54962680edfddc37e94c8",
|
|
13806
|
+
// a proxy contract
|
|
13807
|
+
startBlock: 29896051
|
|
13309
13808
|
}
|
|
13310
13809
|
}
|
|
13311
13810
|
},
|
|
@@ -13335,7 +13834,7 @@ var sepolia_default = {
|
|
|
13335
13834
|
contracts: {
|
|
13336
13835
|
Registry: {
|
|
13337
13836
|
abi: Registry3,
|
|
13338
|
-
address: "
|
|
13837
|
+
address: "0x5b2636f0f2137b4ae722c01dd5122d7d3e9541f7",
|
|
13339
13838
|
startBlock: 2395094
|
|
13340
13839
|
},
|
|
13341
13840
|
Resolver: {
|
|
@@ -13346,17 +13845,17 @@ var sepolia_default = {
|
|
|
13346
13845
|
},
|
|
13347
13846
|
BaseRegistrar: {
|
|
13348
13847
|
abi: BaseRegistrar3,
|
|
13349
|
-
address: "
|
|
13848
|
+
address: "0x83475a84c0ea834f06c8e636a62631e7d2e07a44",
|
|
13350
13849
|
startBlock: 2395099
|
|
13351
13850
|
},
|
|
13352
13851
|
EthRegistrarController: {
|
|
13353
13852
|
abi: EthRegistrarController,
|
|
13354
|
-
address: "
|
|
13853
|
+
address: "0x0f81e3b3a32dfe1b8a08d3c0061d852337a09338",
|
|
13355
13854
|
startBlock: 2395231
|
|
13356
13855
|
},
|
|
13357
13856
|
NameWrapper: {
|
|
13358
13857
|
abi: NameWrapper2,
|
|
13359
|
-
address: "
|
|
13858
|
+
address: "0xf127de9e039a789806fed4c6b1c0f3affea9425e",
|
|
13360
13859
|
startBlock: 2395202
|
|
13361
13860
|
}
|
|
13362
13861
|
}
|
|
@@ -13369,67 +13868,67 @@ var sepolia_default = {
|
|
|
13369
13868
|
contracts: {
|
|
13370
13869
|
DefaultReverseRegistrar: {
|
|
13371
13870
|
abi: StandaloneReverseRegistrar,
|
|
13372
|
-
address: "
|
|
13871
|
+
address: "0x4f382928805ba0e23b30cfb75fc9e848e82dfd47",
|
|
13373
13872
|
startBlock: 8579966
|
|
13374
13873
|
},
|
|
13375
13874
|
DefaultReverseResolver1: {
|
|
13376
13875
|
abi: ResolverABI,
|
|
13377
|
-
address: "
|
|
13876
|
+
address: "0x8fade66b79cc9f707ab26799354482eb93a5b7dd",
|
|
13378
13877
|
startBlock: 3790251
|
|
13379
13878
|
},
|
|
13380
13879
|
DefaultReverseResolver2: {
|
|
13381
13880
|
abi: ResolverABI,
|
|
13382
|
-
address: "
|
|
13881
|
+
address: "0x8948458626811dd0c23eb25cc74291247077cc51",
|
|
13383
13882
|
startBlock: 7035086
|
|
13384
13883
|
},
|
|
13385
13884
|
DefaultReverseResolver3: {
|
|
13386
13885
|
abi: ResolverABI,
|
|
13387
|
-
address: "
|
|
13886
|
+
address: "0x9dc60e7bd81ccc96774c55214ff389d42ae5e9ac",
|
|
13388
13887
|
startBlock: 8580041
|
|
13389
13888
|
},
|
|
13390
13889
|
DefaultPublicResolver1: {
|
|
13391
13890
|
abi: ResolverABI,
|
|
13392
|
-
address: "
|
|
13891
|
+
address: "0x8fade66b79cc9f707ab26799354482eb93a5b7dd",
|
|
13393
13892
|
startBlock: 3790251
|
|
13394
13893
|
},
|
|
13395
13894
|
DefaultPublicResolver2: {
|
|
13396
13895
|
abi: ResolverABI,
|
|
13397
|
-
address: "
|
|
13896
|
+
address: "0x8948458626811dd0c23eb25cc74291247077cc51",
|
|
13398
13897
|
startBlock: 7035086
|
|
13399
13898
|
},
|
|
13400
13899
|
DefaultPublicResolver3: {
|
|
13401
13900
|
abi: ResolverABI,
|
|
13402
|
-
address: "
|
|
13901
|
+
address: "0xe99638b40e4fff0129d56f03b55b6bbc4bbe49b5",
|
|
13403
13902
|
startBlock: 8580001
|
|
13404
13903
|
},
|
|
13405
13904
|
BaseReverseResolver: {
|
|
13406
13905
|
abi: ResolverABI,
|
|
13407
13906
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#80014a34.reverse
|
|
13408
|
-
address: "
|
|
13907
|
+
address: "0xaf3b3f636be80b6709f5bd3a374d6ac0d0a7c7aa",
|
|
13409
13908
|
startBlock: 8580004
|
|
13410
13909
|
},
|
|
13411
13910
|
LineaReverseResolver: {
|
|
13412
13911
|
abi: ResolverABI,
|
|
13413
13912
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#8000e705.reverse
|
|
13414
|
-
address: "
|
|
13913
|
+
address: "0x083da1dbc0f379ccda6ac81a934207c3d8a8a205",
|
|
13415
13914
|
startBlock: 8580005
|
|
13416
13915
|
},
|
|
13417
13916
|
OptimismReverseResolver: {
|
|
13418
13917
|
abi: ResolverABI,
|
|
13419
13918
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#80aa37dc.reverse
|
|
13420
|
-
address: "
|
|
13919
|
+
address: "0xc9ae189772bd48e01410ab3be933637ee9d3aa5f",
|
|
13421
13920
|
startBlock: 8580026
|
|
13422
13921
|
},
|
|
13423
13922
|
ArbitrumReverseResolver: {
|
|
13424
13923
|
abi: ResolverABI,
|
|
13425
13924
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#80066eee.reverse
|
|
13426
|
-
address: "
|
|
13925
|
+
address: "0x926f94d2adc77c86cb0050892097d49aadd02e8b",
|
|
13427
13926
|
startBlock: 8580003
|
|
13428
13927
|
},
|
|
13429
13928
|
ScrollReverseResolver: {
|
|
13430
13929
|
abi: ResolverABI,
|
|
13431
13930
|
// https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#8008274f.reverse
|
|
13432
|
-
address: "
|
|
13931
|
+
address: "0x9fa59673e43f15bdb8722fdaf5c2107574b99062",
|
|
13433
13932
|
startBlock: 8580040
|
|
13434
13933
|
}
|
|
13435
13934
|
}
|
|
@@ -13442,7 +13941,7 @@ var sepolia_default = {
|
|
|
13442
13941
|
contracts: {
|
|
13443
13942
|
L2ReverseRegistrar: {
|
|
13444
13943
|
abi: ResolverABI,
|
|
13445
|
-
address: "
|
|
13944
|
+
address: "0x00000beef055f7934784d6d81b6bc86665630dba",
|
|
13446
13945
|
startBlock: 21788010
|
|
13447
13946
|
}
|
|
13448
13947
|
}
|
|
@@ -13455,7 +13954,7 @@ var sepolia_default = {
|
|
|
13455
13954
|
contracts: {
|
|
13456
13955
|
L2ReverseRegistrar: {
|
|
13457
13956
|
abi: ResolverABI,
|
|
13458
|
-
address: "
|
|
13957
|
+
address: "0x00000beef055f7934784d6d81b6bc86665630dba",
|
|
13459
13958
|
startBlock: 23770766
|
|
13460
13959
|
}
|
|
13461
13960
|
}
|
|
@@ -13468,7 +13967,7 @@ var sepolia_default = {
|
|
|
13468
13967
|
contracts: {
|
|
13469
13968
|
L2ReverseRegistrar: {
|
|
13470
13969
|
abi: ResolverABI,
|
|
13471
|
-
address: "
|
|
13970
|
+
address: "0x00000beef055f7934784d6d81b6bc86665630dba",
|
|
13472
13971
|
startBlock: 123142726
|
|
13473
13972
|
}
|
|
13474
13973
|
}
|
|
@@ -13481,7 +13980,7 @@ var sepolia_default = {
|
|
|
13481
13980
|
contracts: {
|
|
13482
13981
|
L2ReverseRegistrar: {
|
|
13483
13982
|
abi: ResolverABI,
|
|
13484
|
-
address: "
|
|
13983
|
+
address: "0x00000beef055f7934784d6d81b6bc86665630dba",
|
|
13485
13984
|
startBlock: 8175276
|
|
13486
13985
|
}
|
|
13487
13986
|
}
|
|
@@ -13494,7 +13993,7 @@ var sepolia_default = {
|
|
|
13494
13993
|
contracts: {
|
|
13495
13994
|
L2ReverseRegistrar: {
|
|
13496
13995
|
abi: ResolverABI,
|
|
13497
|
-
address: "
|
|
13996
|
+
address: "0x00000beef055f7934784d6d81b6bc86665630dba",
|
|
13498
13997
|
startBlock: 9267966
|
|
13499
13998
|
}
|
|
13500
13999
|
}
|
|
@@ -13505,7 +14004,7 @@ var sepolia_default = {
|
|
|
13505
14004
|
Seaport1_5: {
|
|
13506
14005
|
abi: Seaport,
|
|
13507
14006
|
// Seaport 1.5
|
|
13508
|
-
address: "
|
|
14007
|
+
address: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc",
|
|
13509
14008
|
startBlock: 3365529
|
|
13510
14009
|
}
|
|
13511
14010
|
}
|
|
@@ -13529,6 +14028,8 @@ export {
|
|
|
13529
14028
|
ENSNamespaceIds,
|
|
13530
14029
|
ResolverABI,
|
|
13531
14030
|
StandaloneReverseRegistrar as StandaloneReverseRegistrarABI,
|
|
14031
|
+
ensTestEnvL1Chain,
|
|
14032
|
+
ensTestEnvL2Chain,
|
|
13532
14033
|
getDatasource,
|
|
13533
14034
|
getENSNamespace,
|
|
13534
14035
|
getENSRootChain,
|