@ensnode/datasources 0.34.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.js CHANGED
@@ -20,24 +20,20 @@ var DatasourceNames = {
20
20
  ReverseResolverScroll: "reverse-resolver-scroll"
21
21
  };
22
22
 
23
- // src/ens-test-env.ts
24
- import { zeroAddress } from "viem";
25
- import { anvil } from "viem/chains";
26
-
27
- // src/lib/ens-test-env-deployment-addresses.ts
28
- import { isAddress } from "viem";
29
- function getENSTestEnvDeploymentAddresses() {
30
- try {
31
- const addresses = JSON.parse(
32
- process.env.NEXT_PUBLIC_DEPLOYMENT_ADDRESSES || process.env.DEPLOYMENT_ADDRESSES || "{}"
33
- );
34
- const onlyAddresses = Object.values(addresses).every((value) => isAddress(value));
35
- if (!onlyAddresses) return null;
36
- return addresses;
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 ens-test-env
6642
- * https://github.com/ensdomains/ens-test-env/
6635
+ * Addresses and Start Blocks from Namechain devnet
6636
+ * https://github.com/ensdomains/namechain
6643
6637
  */
6644
6638
  [DatasourceNames.ENSRoot]: {
6645
- // ens-test-env runs on a local Anvil chain with id 1337
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: deploymentAddresses?.LegacyENSRegistry ?? EMPTY_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: deploymentAddresses?.ENSRegistry ?? EMPTY_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: deploymentAddresses?.BaseRegistrarImplementation ?? EMPTY_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
- // TODO: once ens-test-env is updated with the new UnwrappedEthRegistrarController, update
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: deploymentAddresses?.NameWrapper ?? EMPTY_ADDRESS,
6680
+ address: "0x2e2ed0cfd3ad2f1d34481277b3204d807ca2f8c2",
6700
6681
  startBlock: 0
6701
6682
  },
6702
6683
  UniversalResolver: {
6703
6684
  abi: UniversalResolver,
6704
- address: deploymentAddresses?.UniversalResolver ?? EMPTY_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: "0x94f523b8261B815b87EFfCf4d18E6aBeF18d6e4b",
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: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
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: "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85",
6724
+ address: "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
6744
6725
  startBlock: 801686
6745
6726
  },
6746
6727
  LegacyEthRegistrarController: {
6747
6728
  abi: LegacyEthRegistrarController,
6748
- address: "0xf13fC748601fDc5afA255e9D9166EB43f603a903",
6729
+ address: "0xf13fc748601fdc5afa255e9d9166eb43f603a903",
6749
6730
  startBlock: 815355
6750
6731
  },
6751
6732
  WrappedEthRegistrarController: {
6752
6733
  abi: WrappedEthRegistrarController,
6753
- address: "0x179Be112b24Ad4cFC392eF8924DfA08C20Ad8583",
6734
+ address: "0x179be112b24ad4cfc392ef8924dfa08c20ad8583",
6754
6735
  startBlock: 815359
6755
6736
  },
6756
6737
  UnwrappedEthRegistrarController: {
6757
6738
  abi: UnwrappedEthRegistrarController,
6758
- address: "0xFce6ce4373CB6E7e470EAa55329638acD9Dbd202",
6739
+ address: "0xfce6ce4373cb6e7e470eaa55329638acd9dbd202",
6759
6740
  startBlock: 4027261
6760
6741
  },
6761
6742
  NameWrapper: {
6762
6743
  abi: NameWrapper,
6763
- address: "0xab50971078225D365994dc1Edcb9b7FD72Bb4862",
6744
+ address: "0xab50971078225d365994dc1edcb9b7fd72bb4862",
6764
6745
  startBlock: 815127
6765
6746
  },
6766
6747
  UniversalResolver: {
6767
6748
  abi: UniversalResolver,
6768
- address: "0xE3f3174Fc2F2B17644cD2dBaC3E47Bc82AE0Cf81",
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
  {
@@ -10704,6 +11169,80 @@ var ThreeDNSToken = [
10704
11169
  ],
10705
11170
  name: "Transfer",
10706
11171
  type: "event"
11172
+ },
11173
+ {
11174
+ anonymous: false,
11175
+ inputs: [
11176
+ {
11177
+ indexed: true,
11178
+ internalType: "address",
11179
+ name: "operator",
11180
+ type: "address"
11181
+ },
11182
+ {
11183
+ indexed: true,
11184
+ internalType: "address",
11185
+ name: "from",
11186
+ type: "address"
11187
+ },
11188
+ {
11189
+ indexed: true,
11190
+ internalType: "address",
11191
+ name: "to",
11192
+ type: "address"
11193
+ },
11194
+ {
11195
+ indexed: false,
11196
+ internalType: "uint256",
11197
+ name: "id",
11198
+ type: "uint256"
11199
+ },
11200
+ {
11201
+ indexed: false,
11202
+ internalType: "uint256",
11203
+ name: "value",
11204
+ type: "uint256"
11205
+ }
11206
+ ],
11207
+ name: "TransferSingle",
11208
+ type: "event"
11209
+ },
11210
+ {
11211
+ anonymous: false,
11212
+ inputs: [
11213
+ {
11214
+ indexed: true,
11215
+ internalType: "address",
11216
+ name: "operator",
11217
+ type: "address"
11218
+ },
11219
+ {
11220
+ indexed: true,
11221
+ internalType: "address",
11222
+ name: "from",
11223
+ type: "address"
11224
+ },
11225
+ {
11226
+ indexed: true,
11227
+ internalType: "address",
11228
+ name: "to",
11229
+ type: "address"
11230
+ },
11231
+ {
11232
+ indexed: false,
11233
+ internalType: "uint256[]",
11234
+ name: "ids",
11235
+ type: "uint256[]"
11236
+ },
11237
+ {
11238
+ indexed: false,
11239
+ internalType: "uint256[]",
11240
+ name: "values",
11241
+ type: "uint256[]"
11242
+ }
11243
+ ],
11244
+ name: "TransferBatch",
11245
+ type: "event"
10707
11246
  }
10708
11247
  ];
10709
11248
 
@@ -12743,7 +13282,7 @@ var mainnet_default = {
12743
13282
  Registry: {
12744
13283
  abi: Registry,
12745
13284
  // Registry was redeployed, same abi
12746
- address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
13285
+ address: "0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e",
12747
13286
  startBlock: 9380380
12748
13287
  },
12749
13288
  Resolver: {
@@ -12754,42 +13293,42 @@ var mainnet_default = {
12754
13293
  },
12755
13294
  BaseRegistrar: {
12756
13295
  abi: BaseRegistrar,
12757
- address: "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85",
13296
+ address: "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
12758
13297
  startBlock: 9380410
12759
13298
  },
12760
13299
  LegacyEthRegistrarController: {
12761
13300
  abi: LegacyEthRegistrarController,
12762
- address: "0x283Af0B28c62C092C9727F1Ee09c02CA627EB7F5",
13301
+ address: "0x283af0b28c62c092c9727f1ee09c02ca627eb7f5",
12763
13302
  startBlock: 9380471
12764
13303
  },
12765
13304
  WrappedEthRegistrarController: {
12766
13305
  abi: WrappedEthRegistrarController,
12767
- address: "0x253553366Da8546fC250F225fe3d25d0C782303b",
13306
+ address: "0x253553366da8546fc250f225fe3d25d0c782303b",
12768
13307
  startBlock: 16925618
12769
13308
  },
12770
13309
  UnwrappedEthRegistrarController: {
12771
13310
  abi: UnwrappedEthRegistrarController,
12772
- address: "0x59E16fcCd424Cc24e280Be16E11Bcd56fb0CE547",
13311
+ address: "0x59e16fccd424cc24e280be16e11bcd56fb0ce547",
12773
13312
  startBlock: 22764821
12774
13313
  },
12775
13314
  NameWrapper: {
12776
13315
  abi: NameWrapper,
12777
- address: "0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401",
13316
+ address: "0xd4416b13d2b3a9abae7acd5d6c2bbdbe25686401",
12778
13317
  startBlock: 16925608
12779
13318
  },
12780
13319
  UniversalResolver: {
12781
13320
  abi: UniversalResolver,
12782
- address: "0xaBd80E8a13596fEeA40Fd26fD6a24c3fe76F05fB",
13321
+ address: "0xabd80e8a13596feea40fd26fd6a24c3fe76f05fb",
12783
13322
  startBlock: 22671701
12784
13323
  },
12785
13324
  BasenamesL1Resolver: {
12786
13325
  abi: ResolverABI,
12787
- address: "0xde9049636F4a1dfE0a64d1bFe3155C0A14C54F31",
13326
+ address: "0xde9049636f4a1dfe0a64d1bfe3155c0a14c54f31",
12788
13327
  startBlock: 20420641
12789
13328
  },
12790
13329
  LineanamesL1Resolver: {
12791
13330
  abi: ResolverABI,
12792
- address: "0xde16ee87B0C019499cEBDde29c9F7686560f679a",
13331
+ address: "0xde16ee87b0c019499cebdde29c9f7686560f679a",
12793
13332
  startBlock: 20410692
12794
13333
  }
12795
13334
  }
@@ -12831,7 +13370,7 @@ var mainnet_default = {
12831
13370
  },
12832
13371
  BaseRegistrar: {
12833
13372
  abi: BaseRegistrar2,
12834
- address: "0x03c4738Ee98aE44591e1A4A4F3CaB6641d95DD9a",
13373
+ address: "0x03c4738ee98ae44591e1a4a4f3cab6641d95dd9a",
12835
13374
  startBlock: 17571486
12836
13375
  },
12837
13376
  EARegistrarController: {
@@ -12839,15 +13378,38 @@ var mainnet_default = {
12839
13378
  address: "0xd3e6775ed9b7dc12b205c8e608dc3767b9e5efda",
12840
13379
  startBlock: 17575699
12841
13380
  },
13381
+ /**
13382
+ * This controller was removed from BaseRegistrar contract
13383
+ * https://basescan.org/tx/0x88a3cc03291bb1a4b2bd9ccfe6b770988470001905d96c32bd41b866797b684b
13384
+ */
12842
13385
  RegistrarController: {
12843
13386
  abi: RegistrarController,
12844
- address: "0x4cCb0BB02FCABA27e82a56646E81d8c5bC4119a5",
12845
- startBlock: 18619035
12846
- },
12847
- L2Resolver: {
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: {
12848
13404
  abi: ResolverABI,
12849
- address: "0xC6d566A56A1aFf6508b41f6c90ff131615583BCD",
13405
+ address: "0xc6d566a56a1aff6508b41f6c90ff131615583bcd",
12850
13406
  startBlock: 17575714
13407
+ },
13408
+ // NOTE: not indexed, but referenced for Protocol Acceleration
13409
+ L2Resolver2: {
13410
+ abi: ResolverABI,
13411
+ address: "0x426fa03fb86e510d0dd9f70335cf102a98b10875",
13412
+ startBlock: 35286620
12851
13413
  }
12852
13414
  }
12853
13415
  },
@@ -12877,7 +13439,7 @@ var mainnet_default = {
12877
13439
  contracts: {
12878
13440
  Registry: {
12879
13441
  abi: Registry3,
12880
- address: "0x50130b669B28C339991d8676FA73CF122a121267",
13442
+ address: "0x50130b669b28c339991d8676fa73cf122a121267",
12881
13443
  startBlock: 6682888
12882
13444
  },
12883
13445
  Resolver: {
@@ -12888,17 +13450,17 @@ var mainnet_default = {
12888
13450
  },
12889
13451
  BaseRegistrar: {
12890
13452
  abi: BaseRegistrar3,
12891
- address: "0x6e84390dCc5195414eC91A8c56A5c91021B95704",
13453
+ address: "0x6e84390dcc5195414ec91a8c56a5c91021b95704",
12892
13454
  startBlock: 6682892
12893
13455
  },
12894
13456
  EthRegistrarController: {
12895
13457
  abi: EthRegistrarController,
12896
- address: "0xDb75Db974B1F2bD3b5916d503036208064D18295",
13458
+ address: "0xdb75db974b1f2bd3b5916d503036208064d18295",
12897
13459
  startBlock: 6682978
12898
13460
  },
12899
13461
  NameWrapper: {
12900
13462
  abi: NameWrapper2,
12901
- address: "0xA53cca02F98D590819141Aa85C891e2Af713C223",
13463
+ address: "0xa53cca02f98d590819141aa85c891e2af713c223",
12902
13464
  startBlock: 6682956
12903
13465
  }
12904
13466
  }
@@ -12912,13 +13474,13 @@ var mainnet_default = {
12912
13474
  contracts: {
12913
13475
  ThreeDNSToken: {
12914
13476
  abi: ThreeDNSToken,
12915
- address: "0xBB7B805B257d7C76CA9435B3ffe780355E4C4B17",
13477
+ address: "0xbb7b805b257d7c76ca9435b3ffe780355e4c4b17",
12916
13478
  startBlock: 110393959
12917
13479
  },
12918
13480
  Resolver: {
12919
13481
  abi: ResolverABI,
12920
13482
  // NOTE: 3DNSToken on Optimism has a hardcoded protocol-wide Resolver at this address
12921
- address: "0xF97aAc6C8dbaEBCB54ff166d79706E3AF7a813c8",
13483
+ address: "0xf97aac6c8dbaebcb54ff166d79706e3af7a813c8",
12922
13484
  startBlock: 110393959
12923
13485
  }
12924
13486
  }
@@ -12932,13 +13494,13 @@ var mainnet_default = {
12932
13494
  contracts: {
12933
13495
  ThreeDNSToken: {
12934
13496
  abi: ThreeDNSToken,
12935
- address: "0xBB7B805B257d7C76CA9435B3ffe780355E4C4B17",
13497
+ address: "0xbb7b805b257d7c76ca9435b3ffe780355e4c4b17",
12936
13498
  startBlock: 17522624
12937
13499
  },
12938
13500
  Resolver: {
12939
13501
  abi: ResolverABI,
12940
13502
  // NOTE: 3DNSToken on Base has a hardcoded protocol-wide Resolver at this address
12941
- address: "0xF97aAc6C8dbaEBCB54ff166d79706E3AF7a813c8",
13503
+ address: "0xf97aac6c8dbaebcb54ff166d79706e3af7a813c8",
12942
13504
  startBlock: 17522624
12943
13505
  }
12944
13506
  }
@@ -12951,7 +13513,7 @@ var mainnet_default = {
12951
13513
  contracts: {
12952
13514
  DefaultReverseRegistrar: {
12953
13515
  abi: StandaloneReverseRegistrar,
12954
- address: "0x283F227c4Bd38ecE252C4Ae7ECE650B0e913f1f9",
13516
+ address: "0x283f227c4bd38ece252c4ae7ece650b0e913f1f9",
12955
13517
  startBlock: 22764819
12956
13518
  },
12957
13519
  // NOTE: the DefaultReverseResolver1 (aka LegacyDefaultReverseResolver) does NOT emit events
@@ -12959,7 +13521,7 @@ var mainnet_default = {
12959
13521
  // for completeness, but/and explicity do not index it.
12960
13522
  DefaultReverseResolver1: {
12961
13523
  abi: ResolverABI,
12962
- address: "0xA2C122BE93b0074270ebeE7f6b7292C7deB45047",
13524
+ address: "0xa2c122be93b0074270ebee7f6b7292c7deb45047",
12963
13525
  startBlock: 9380501
12964
13526
  },
12965
13527
  // this DefaultReverseResolver was enabled in the following proposal:
@@ -12969,7 +13531,7 @@ var mainnet_default = {
12969
13531
  // Resolver#NameChanged events. We index these events to power aspects of Protocol Acceleration.
12970
13532
  DefaultReverseResolver2: {
12971
13533
  abi: ResolverABI,
12972
- address: "0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63",
13534
+ address: "0x231b0ee14048e9dccd1d247744d114a4eb5e8e63",
12973
13535
  startBlock: 16925619
12974
13536
  },
12975
13537
  // this DefaultReverseResolver was enabled in the following proposal:
@@ -12979,14 +13541,14 @@ var mainnet_default = {
12979
13541
  // DefaultReverseRegistrar, which IS indexed. We document it here for completeness.
12980
13542
  DefaultReverseResolver3: {
12981
13543
  abi: ResolverABI,
12982
- address: "0xA7d635c8de9a58a228AA69353a1699C7Cc240DCF",
13544
+ address: "0xa7d635c8de9a58a228aa69353a1699c7cc240dcf",
12983
13545
  startBlock: 22764871
12984
13546
  },
12985
13547
  // the original default public resolver aka LegacyPublicResolver
12986
13548
  // it uses a TextChanged event that does not include the `value` parameter
12987
13549
  DefaultPublicResolver1: {
12988
13550
  abi: ResolverABI,
12989
- address: "0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41",
13551
+ address: "0x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41",
12990
13552
  startBlock: 9412610
12991
13553
  },
12992
13554
  // this PublicResolver was enabled in the following proposal:
@@ -12994,7 +13556,7 @@ var mainnet_default = {
12994
13556
  // https://www.tally.xyz/gov/ens/proposal/42973781582803845389836855775840822719678533376883030929209752909248937768242
12995
13557
  DefaultPublicResolver2: {
12996
13558
  abi: ResolverABI,
12997
- address: "0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63",
13559
+ address: "0x231b0ee14048e9dccd1d247744d114a4eb5e8e63",
12998
13560
  startBlock: 16925619
12999
13561
  },
13000
13562
  // this PublicResolver was enabled in the following proposal
@@ -13002,37 +13564,37 @@ var mainnet_default = {
13002
13564
  // https://www.tally.xyz/gov/ens/proposal/42524979896803285837776370636134389407867034021879791462477783237030656381157
13003
13565
  DefaultPublicResolver3: {
13004
13566
  abi: ResolverABI,
13005
- address: "0xF29100983E058B709F3D539b0c765937B804AC15",
13567
+ address: "0xf29100983e058b709f3d539b0c765937b804ac15",
13006
13568
  startBlock: 22764828
13007
13569
  },
13008
13570
  BaseReverseResolver: {
13009
13571
  abi: ResolverABI,
13010
13572
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html#80002105.reverse
13011
- address: "0xc800DBc8ff9796E58EfBa2d7b35028DdD1997E5e",
13573
+ address: "0xc800dbc8ff9796e58efba2d7b35028ddd1997e5e",
13012
13574
  startBlock: 22764838
13013
13575
  },
13014
13576
  LineaReverseResolver: {
13015
13577
  abi: ResolverABI,
13016
13578
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html#8000e708.reverse
13017
- address: "0x0Ce08a41bdb10420FB5Cac7Da8CA508EA313aeF8",
13579
+ address: "0x0ce08a41bdb10420fb5cac7da8ca508ea313aef8",
13018
13580
  startBlock: 22764840
13019
13581
  },
13020
13582
  OptimismReverseResolver: {
13021
13583
  abi: ResolverABI,
13022
13584
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html#8000000a.reverse
13023
- address: "0xF9Edb1A21867aC11b023CE34Abad916D29aBF107",
13585
+ address: "0xf9edb1a21867ac11b023ce34abad916d29abf107",
13024
13586
  startBlock: 22764854
13025
13587
  },
13026
13588
  ArbitrumReverseResolver: {
13027
13589
  abi: ResolverABI,
13028
13590
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html#8000a4b1.reverse
13029
- address: "0x4b9572C03AAa8b0Efa4B4b0F0cc0f0992bEDB898",
13591
+ address: "0x4b9572c03aaa8b0efa4b4b0f0cc0f0992bedb898",
13030
13592
  startBlock: 22764837
13031
13593
  },
13032
13594
  ScrollReverseResolver: {
13033
13595
  abi: ResolverABI,
13034
13596
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html#80082750.reverse
13035
- address: "0xC4842814cA523E481Ca5aa85F719FEd1E9CaC614",
13597
+ address: "0xc4842814ca523e481ca5aa85f719fed1e9cac614",
13036
13598
  startBlock: 22921284
13037
13599
  }
13038
13600
  }
@@ -13045,7 +13607,7 @@ var mainnet_default = {
13045
13607
  contracts: {
13046
13608
  L2ReverseRegistrar: {
13047
13609
  abi: StandaloneReverseRegistrar,
13048
- address: "0x0000000000D8e504002cC26E3Ec46D81971C1664",
13610
+ address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
13049
13611
  startBlock: 31808582
13050
13612
  }
13051
13613
  }
@@ -13058,7 +13620,7 @@ var mainnet_default = {
13058
13620
  contracts: {
13059
13621
  L2ReverseRegistrar: {
13060
13622
  abi: StandaloneReverseRegistrar,
13061
- address: "0x0000000000D8e504002cC26E3Ec46D81971C1664",
13623
+ address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
13062
13624
  startBlock: 20173340
13063
13625
  }
13064
13626
  }
@@ -13071,7 +13633,7 @@ var mainnet_default = {
13071
13633
  contracts: {
13072
13634
  L2ReverseRegistrar: {
13073
13635
  abi: StandaloneReverseRegistrar,
13074
- address: "0x0000000000D8e504002cC26E3Ec46D81971C1664",
13636
+ address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
13075
13637
  startBlock: 137403854
13076
13638
  }
13077
13639
  }
@@ -13084,7 +13646,7 @@ var mainnet_default = {
13084
13646
  contracts: {
13085
13647
  L2ReverseRegistrar: {
13086
13648
  abi: StandaloneReverseRegistrar,
13087
- address: "0x0000000000D8e504002cC26E3Ec46D81971C1664",
13649
+ address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
13088
13650
  startBlock: 349263357
13089
13651
  }
13090
13652
  }
@@ -13097,7 +13659,7 @@ var mainnet_default = {
13097
13659
  contracts: {
13098
13660
  L2ReverseRegistrar: {
13099
13661
  abi: StandaloneReverseRegistrar,
13100
- address: "0x0000000000D8e504002cC26E3Ec46D81971C1664",
13662
+ address: "0x0000000000d8e504002cc26e3ec46d81971c1664",
13101
13663
  startBlock: 16604272
13102
13664
  }
13103
13665
  }
@@ -13108,7 +13670,7 @@ var mainnet_default = {
13108
13670
  Seaport1_5: {
13109
13671
  abi: Seaport,
13110
13672
  // Seaport 1.5
13111
- address: "0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC",
13673
+ address: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc",
13112
13674
  startBlock: 17129405
13113
13675
  }
13114
13676
  }
@@ -13137,13 +13699,13 @@ var sepolia_default = {
13137
13699
  RegistryOld: {
13138
13700
  abi: Registry,
13139
13701
  // Registry was redeployed, same abi
13140
- address: "0x94f523b8261B815b87EFfCf4d18E6aBeF18d6e4b",
13702
+ address: "0x94f523b8261b815b87effcf4d18e6abef18d6e4b",
13141
13703
  startBlock: 3702721
13142
13704
  },
13143
13705
  Registry: {
13144
13706
  abi: Registry,
13145
13707
  // Registry was redeployed, same abi
13146
- address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
13708
+ address: "0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e",
13147
13709
  startBlock: 3702728
13148
13710
  },
13149
13711
  Resolver: {
@@ -13154,32 +13716,32 @@ var sepolia_default = {
13154
13716
  },
13155
13717
  BaseRegistrar: {
13156
13718
  abi: BaseRegistrar,
13157
- address: "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85",
13719
+ address: "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
13158
13720
  startBlock: 3702731
13159
13721
  },
13160
13722
  LegacyEthRegistrarController: {
13161
13723
  abi: LegacyEthRegistrarController,
13162
- address: "0x7e02892cfc2Bfd53a75275451d73cF620e793fc0",
13724
+ address: "0x7e02892cfc2bfd53a75275451d73cf620e793fc0",
13163
13725
  startBlock: 3790197
13164
13726
  },
13165
13727
  WrappedEthRegistrarController: {
13166
13728
  abi: WrappedEthRegistrarController,
13167
- address: "0xFED6a969AaA60E4961FCD3EBF1A2e8913ac65B72",
13729
+ address: "0xfed6a969aaa60e4961fcd3ebf1a2e8913ac65b72",
13168
13730
  startBlock: 3790244
13169
13731
  },
13170
13732
  UnwrappedEthRegistrarController: {
13171
13733
  abi: UnwrappedEthRegistrarController,
13172
- address: "0xfb3cE5D01e0f33f41DbB39035dB9745962F1f968",
13734
+ address: "0xfb3ce5d01e0f33f41dbb39035db9745962f1f968",
13173
13735
  startBlock: 8579988
13174
13736
  },
13175
13737
  NameWrapper: {
13176
13738
  abi: NameWrapper,
13177
- address: "0x0635513f179D50A207757E05759CbD106d7dFcE8",
13739
+ address: "0x0635513f179d50a207757e05759cbd106d7dfce8",
13178
13740
  startBlock: 3790153
13179
13741
  },
13180
13742
  UniversalResolver: {
13181
13743
  abi: UniversalResolver,
13182
- address: "0xb7B7DAdF4D42a08B3eC1d3A1079959Dfbc8CFfCC",
13744
+ address: "0xb7b7dadf4d42a08b3ec1d3a1079959dfbc8cffcc",
13183
13745
  startBlock: 8515717
13184
13746
  }
13185
13747
  }
@@ -13210,7 +13772,7 @@ var sepolia_default = {
13210
13772
  contracts: {
13211
13773
  Registry: {
13212
13774
  abi: Registry2,
13213
- address: "0x1493b2567056c2181630115660963E13A8E32735",
13775
+ address: "0x1493b2567056c2181630115660963e13a8e32735",
13214
13776
  startBlock: 13012458
13215
13777
  },
13216
13778
  Resolver: {
@@ -13220,7 +13782,7 @@ var sepolia_default = {
13220
13782
  },
13221
13783
  BaseRegistrar: {
13222
13784
  abi: BaseRegistrar2,
13223
- address: "0xA0c70ec36c010B55E3C434D6c6EbEEC50c705794",
13785
+ address: "0xa0c70ec36c010b55e3c434d6c6ebeec50c705794",
13224
13786
  startBlock: 13012465
13225
13787
  },
13226
13788
  EARegistrarController: {
@@ -13230,8 +13792,19 @@ var sepolia_default = {
13230
13792
  },
13231
13793
  RegistrarController: {
13232
13794
  abi: RegistrarController,
13233
- address: "0x49aE3cC2e3AA768B1e5654f5D3C6002144A59581",
13795
+ address: "0x49ae3cc2e3aa768b1e5654f5d3c6002144a59581",
13234
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
13235
13808
  }
13236
13809
  }
13237
13810
  },
@@ -13261,7 +13834,7 @@ var sepolia_default = {
13261
13834
  contracts: {
13262
13835
  Registry: {
13263
13836
  abi: Registry3,
13264
- address: "0x5B2636F0f2137B4aE722C01dd5122D7d3e9541f7",
13837
+ address: "0x5b2636f0f2137b4ae722c01dd5122d7d3e9541f7",
13265
13838
  startBlock: 2395094
13266
13839
  },
13267
13840
  Resolver: {
@@ -13272,17 +13845,17 @@ var sepolia_default = {
13272
13845
  },
13273
13846
  BaseRegistrar: {
13274
13847
  abi: BaseRegistrar3,
13275
- address: "0x83475a84C0ea834F06c8e636A62631e7d2e07A44",
13848
+ address: "0x83475a84c0ea834f06c8e636a62631e7d2e07a44",
13276
13849
  startBlock: 2395099
13277
13850
  },
13278
13851
  EthRegistrarController: {
13279
13852
  abi: EthRegistrarController,
13280
- address: "0x0f81E3B3A32DFE1b8A08d3C0061d852337a09338",
13853
+ address: "0x0f81e3b3a32dfe1b8a08d3c0061d852337a09338",
13281
13854
  startBlock: 2395231
13282
13855
  },
13283
13856
  NameWrapper: {
13284
13857
  abi: NameWrapper2,
13285
- address: "0xF127De9E039a789806fEd4C6b1C0f3aFfeA9425e",
13858
+ address: "0xf127de9e039a789806fed4c6b1c0f3affea9425e",
13286
13859
  startBlock: 2395202
13287
13860
  }
13288
13861
  }
@@ -13295,67 +13868,67 @@ var sepolia_default = {
13295
13868
  contracts: {
13296
13869
  DefaultReverseRegistrar: {
13297
13870
  abi: StandaloneReverseRegistrar,
13298
- address: "0x4F382928805ba0e23B30cFB75fC9E848e82DFD47",
13871
+ address: "0x4f382928805ba0e23b30cfb75fc9e848e82dfd47",
13299
13872
  startBlock: 8579966
13300
13873
  },
13301
13874
  DefaultReverseResolver1: {
13302
13875
  abi: ResolverABI,
13303
- address: "0x8FADE66B79cC9f707aB26799354482EB93a5B7dD",
13876
+ address: "0x8fade66b79cc9f707ab26799354482eb93a5b7dd",
13304
13877
  startBlock: 3790251
13305
13878
  },
13306
13879
  DefaultReverseResolver2: {
13307
13880
  abi: ResolverABI,
13308
- address: "0x8948458626811dd0c23EB25Cc74291247077cC51",
13881
+ address: "0x8948458626811dd0c23eb25cc74291247077cc51",
13309
13882
  startBlock: 7035086
13310
13883
  },
13311
13884
  DefaultReverseResolver3: {
13312
13885
  abi: ResolverABI,
13313
- address: "0x9DC60e7BD81cCc96774C55214fF389D42Ae5E9Ac",
13886
+ address: "0x9dc60e7bd81ccc96774c55214ff389d42ae5e9ac",
13314
13887
  startBlock: 8580041
13315
13888
  },
13316
13889
  DefaultPublicResolver1: {
13317
13890
  abi: ResolverABI,
13318
- address: "0x8FADE66B79cC9f707aB26799354482EB93a5B7dD",
13891
+ address: "0x8fade66b79cc9f707ab26799354482eb93a5b7dd",
13319
13892
  startBlock: 3790251
13320
13893
  },
13321
13894
  DefaultPublicResolver2: {
13322
13895
  abi: ResolverABI,
13323
- address: "0x8948458626811dd0c23EB25Cc74291247077cC51",
13896
+ address: "0x8948458626811dd0c23eb25cc74291247077cc51",
13324
13897
  startBlock: 7035086
13325
13898
  },
13326
13899
  DefaultPublicResolver3: {
13327
13900
  abi: ResolverABI,
13328
- address: "0xE99638b40E4Fff0129D56f03b55b6bbC4BBE49b5",
13901
+ address: "0xe99638b40e4fff0129d56f03b55b6bbc4bbe49b5",
13329
13902
  startBlock: 8580001
13330
13903
  },
13331
13904
  BaseReverseResolver: {
13332
13905
  abi: ResolverABI,
13333
13906
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#80014a34.reverse
13334
- address: "0xaF3b3f636bE80b6709F5Bd3A374d6ac0D0a7c7aA",
13907
+ address: "0xaf3b3f636be80b6709f5bd3a374d6ac0d0a7c7aa",
13335
13908
  startBlock: 8580004
13336
13909
  },
13337
13910
  LineaReverseResolver: {
13338
13911
  abi: ResolverABI,
13339
13912
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#8000e705.reverse
13340
- address: "0x083dA1Dbc0F379ccda6AC81A934207c3D8a8a205",
13913
+ address: "0x083da1dbc0f379ccda6ac81a934207c3d8a8a205",
13341
13914
  startBlock: 8580005
13342
13915
  },
13343
13916
  OptimismReverseResolver: {
13344
13917
  abi: ResolverABI,
13345
13918
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#80aa37dc.reverse
13346
- address: "0xc9Ae189772BD48e01410AB3Be933637ee9D3AA5f",
13919
+ address: "0xc9ae189772bd48e01410ab3be933637ee9d3aa5f",
13347
13920
  startBlock: 8580026
13348
13921
  },
13349
13922
  ArbitrumReverseResolver: {
13350
13923
  abi: ResolverABI,
13351
13924
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#80066eee.reverse
13352
- address: "0x926f94D2aDC77C86Cb0050892097D49AADd02e8B",
13925
+ address: "0x926f94d2adc77c86cb0050892097d49aadd02e8b",
13353
13926
  startBlock: 8580003
13354
13927
  },
13355
13928
  ScrollReverseResolver: {
13356
13929
  abi: ResolverABI,
13357
13930
  // https://adraffy.github.io/ens-normalize.js/test/resolver.html?sepolia#8008274f.reverse
13358
- address: "0x9Fa59673e43F15bDB8722Fdaf5C2107574B99062",
13931
+ address: "0x9fa59673e43f15bdb8722fdaf5c2107574b99062",
13359
13932
  startBlock: 8580040
13360
13933
  }
13361
13934
  }
@@ -13368,7 +13941,7 @@ var sepolia_default = {
13368
13941
  contracts: {
13369
13942
  L2ReverseRegistrar: {
13370
13943
  abi: ResolverABI,
13371
- address: "0x00000BeEF055f7934784D6d81b6BC86665630dbA",
13944
+ address: "0x00000beef055f7934784d6d81b6bc86665630dba",
13372
13945
  startBlock: 21788010
13373
13946
  }
13374
13947
  }
@@ -13381,7 +13954,7 @@ var sepolia_default = {
13381
13954
  contracts: {
13382
13955
  L2ReverseRegistrar: {
13383
13956
  abi: ResolverABI,
13384
- address: "0x00000BeEF055f7934784D6d81b6BC86665630dbA",
13957
+ address: "0x00000beef055f7934784d6d81b6bc86665630dba",
13385
13958
  startBlock: 23770766
13386
13959
  }
13387
13960
  }
@@ -13394,7 +13967,7 @@ var sepolia_default = {
13394
13967
  contracts: {
13395
13968
  L2ReverseRegistrar: {
13396
13969
  abi: ResolverABI,
13397
- address: "0x00000BeEF055f7934784D6d81b6BC86665630dbA",
13970
+ address: "0x00000beef055f7934784d6d81b6bc86665630dba",
13398
13971
  startBlock: 123142726
13399
13972
  }
13400
13973
  }
@@ -13407,7 +13980,7 @@ var sepolia_default = {
13407
13980
  contracts: {
13408
13981
  L2ReverseRegistrar: {
13409
13982
  abi: ResolverABI,
13410
- address: "0x00000BeEF055f7934784D6d81b6BC86665630dbA",
13983
+ address: "0x00000beef055f7934784d6d81b6bc86665630dba",
13411
13984
  startBlock: 8175276
13412
13985
  }
13413
13986
  }
@@ -13420,7 +13993,7 @@ var sepolia_default = {
13420
13993
  contracts: {
13421
13994
  L2ReverseRegistrar: {
13422
13995
  abi: ResolverABI,
13423
- address: "0x00000BeEF055f7934784D6d81b6BC86665630dbA",
13996
+ address: "0x00000beef055f7934784d6d81b6bc86665630dba",
13424
13997
  startBlock: 9267966
13425
13998
  }
13426
13999
  }
@@ -13431,7 +14004,7 @@ var sepolia_default = {
13431
14004
  Seaport1_5: {
13432
14005
  abi: Seaport,
13433
14006
  // Seaport 1.5
13434
- address: "0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC",
14007
+ address: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc",
13435
14008
  startBlock: 3365529
13436
14009
  }
13437
14010
  }
@@ -13455,6 +14028,8 @@ export {
13455
14028
  ENSNamespaceIds,
13456
14029
  ResolverABI,
13457
14030
  StandaloneReverseRegistrar as StandaloneReverseRegistrarABI,
14031
+ ensTestEnvL1Chain,
14032
+ ensTestEnvL2Chain,
13458
14033
  getDatasource,
13459
14034
  getENSNamespace,
13460
14035
  getENSRootChain,