@ensnode/ensnode-sdk 0.0.0-next-20260216100641 → 0.0.0-next-20260216122402
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.cjs +764 -576
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +183 -138
- package/dist/index.d.ts +183 -138
- package/dist/index.js +760 -572
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1738,7 +1738,7 @@ declare function serializeChainIndexingSnapshots<ChainIndexingStatusSnapshotType
|
|
|
1738
1738
|
/**
|
|
1739
1739
|
* Deserialize into a {@link ChainIndexingStatusSnapshot} object.
|
|
1740
1740
|
*/
|
|
1741
|
-
declare function deserializeChainIndexingStatusSnapshot(maybeSnapshot: SerializedChainIndexingStatusSnapshot
|
|
1741
|
+
declare function deserializeChainIndexingStatusSnapshot(maybeSnapshot: Unvalidated<SerializedChainIndexingStatusSnapshot>, valueLabel?: string): ChainIndexingStatusSnapshot;
|
|
1742
1742
|
|
|
1743
1743
|
/**
|
|
1744
1744
|
* Serialized representation of {@link OmnichainIndexingStatusSnapshotUnstarted}
|
|
@@ -1784,15 +1784,31 @@ interface SerializedCrossChainIndexingStatusSnapshotOmnichain extends Omit<Cross
|
|
|
1784
1784
|
*/
|
|
1785
1785
|
type SerializedCrossChainIndexingStatusSnapshot = SerializedCrossChainIndexingStatusSnapshotOmnichain;
|
|
1786
1786
|
|
|
1787
|
+
/**
|
|
1788
|
+
* Builds an unvalidated {@link CrossChainIndexingStatusSnapshot} object to be
|
|
1789
|
+
* validated with {@link makeCrossChainIndexingStatusSnapshotSchema}.
|
|
1790
|
+
*
|
|
1791
|
+
* @param serializedSnapshot - The serialized snapshot to build from.
|
|
1792
|
+
* @return An unvalidated {@link CrossChainIndexingStatusSnapshot} object.
|
|
1793
|
+
*/
|
|
1794
|
+
declare function buildUnvalidatedCrossChainIndexingStatusSnapshot(serializedSnapshot: SerializedCrossChainIndexingStatusSnapshot): Unvalidated<CrossChainIndexingStatusSnapshot>;
|
|
1787
1795
|
/**
|
|
1788
1796
|
* Deserialize an {@link CrossChainIndexingStatusSnapshot} object.
|
|
1789
1797
|
*/
|
|
1790
|
-
declare function deserializeCrossChainIndexingStatusSnapshot(maybeSnapshot: SerializedCrossChainIndexingStatusSnapshot
|
|
1798
|
+
declare function deserializeCrossChainIndexingStatusSnapshot(maybeSnapshot: Unvalidated<SerializedCrossChainIndexingStatusSnapshot>, valueLabel?: string): CrossChainIndexingStatusSnapshot;
|
|
1791
1799
|
|
|
1800
|
+
/**
|
|
1801
|
+
* Builds an unvalidated {@link OmnichainIndexingStatusSnapshot} object to be
|
|
1802
|
+
* validated with {@link makeOmnichainIndexingStatusSnapshotSchema}.
|
|
1803
|
+
*
|
|
1804
|
+
* @param serializedSnapshot - The serialized snapshot to build from.
|
|
1805
|
+
* @return An unvalidated {@link OmnichainIndexingStatusSnapshot} object.
|
|
1806
|
+
*/
|
|
1807
|
+
declare function buildUnvalidatedOmnichainIndexingStatusSnapshot(serializedSnapshot: SerializedOmnichainIndexingStatusSnapshot): Unvalidated<OmnichainIndexingStatusSnapshot>;
|
|
1792
1808
|
/**
|
|
1793
1809
|
* Deserialize an {@link OmnichainIndexingStatusSnapshot} object.
|
|
1794
1810
|
*/
|
|
1795
|
-
declare function deserializeOmnichainIndexingStatusSnapshot(
|
|
1811
|
+
declare function deserializeOmnichainIndexingStatusSnapshot(data: Unvalidated<SerializedOmnichainIndexingStatusSnapshot>, valueLabel?: string): OmnichainIndexingStatusSnapshot;
|
|
1796
1812
|
|
|
1797
1813
|
/**
|
|
1798
1814
|
* A "realtime" indexing status projection based on worst-case assumptions
|
|
@@ -1842,10 +1858,18 @@ interface SerializedRealtimeIndexingStatusProjection extends Omit<RealtimeIndexi
|
|
|
1842
1858
|
}
|
|
1843
1859
|
declare function serializeRealtimeIndexingStatusProjection(indexingProjection: RealtimeIndexingStatusProjection): SerializedRealtimeIndexingStatusProjection;
|
|
1844
1860
|
|
|
1861
|
+
/**
|
|
1862
|
+
* Builds an unvalidated {@link RealtimeIndexingStatusProjection} object to be
|
|
1863
|
+
* validated with {@link makeRealtimeIndexingStatusProjectionSchema}.
|
|
1864
|
+
*
|
|
1865
|
+
* @param serializedProjection - The serialized projection to build from.
|
|
1866
|
+
* @return An unvalidated {@link RealtimeIndexingStatusProjection} object.
|
|
1867
|
+
*/
|
|
1868
|
+
declare function buildUnvalidatedRealtimeIndexingStatusProjection(serializedProjection: SerializedRealtimeIndexingStatusProjection): Unvalidated<RealtimeIndexingStatusProjection>;
|
|
1845
1869
|
/**
|
|
1846
1870
|
* Deserialize into a {@link RealtimeIndexingStatusProjection} object.
|
|
1847
1871
|
*/
|
|
1848
|
-
declare function deserializeRealtimeIndexingStatusProjection(maybeProjection: SerializedRealtimeIndexingStatusProjection
|
|
1872
|
+
declare function deserializeRealtimeIndexingStatusProjection(maybeProjection: Unvalidated<SerializedRealtimeIndexingStatusProjection>, valueLabel?: string): RealtimeIndexingStatusProjection;
|
|
1849
1873
|
|
|
1850
1874
|
/**
|
|
1851
1875
|
* Validates a maybe {@link ChainIndexingStatusSnapshot} object.
|
|
@@ -1854,6 +1878,27 @@ declare function deserializeRealtimeIndexingStatusProjection(maybeProjection: Se
|
|
|
1854
1878
|
*/
|
|
1855
1879
|
declare function validateChainIndexingStatusSnapshot(unvalidatedSnapshot: Unvalidated<ChainIndexingStatusSnapshot>, valueLabel?: string): ChainIndexingStatusSnapshot;
|
|
1856
1880
|
|
|
1881
|
+
/**
|
|
1882
|
+
* Validates a maybe {@link CrossChainIndexingStatusSnapshot} object.
|
|
1883
|
+
*
|
|
1884
|
+
* @throws Error if the provided object is not a valid {@link CrossChainIndexingStatusSnapshot}.
|
|
1885
|
+
*/
|
|
1886
|
+
declare function validateCrossChainIndexingStatusSnapshot(unvalidatedSnapshot: Unvalidated<CrossChainIndexingStatusSnapshot>, valueLabel?: string): CrossChainIndexingStatusSnapshot;
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* Validates a maybe {@link OmnichainIndexingStatusSnapshot} object.
|
|
1890
|
+
*
|
|
1891
|
+
* @throws Error if the provided object is not a valid {@link OmnichainIndexingStatusSnapshot}.
|
|
1892
|
+
*/
|
|
1893
|
+
declare function validateOmnichainIndexingStatusSnapshot(unvalidatedSnapshot: Unvalidated<OmnichainIndexingStatusSnapshot>, valueLabel?: string): OmnichainIndexingStatusSnapshot;
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Validates a maybe {@link RealtimeIndexingStatusProjection} object.
|
|
1897
|
+
*
|
|
1898
|
+
* @throws Error if the provided object is not a valid {@link RealtimeIndexingStatusProjection}.
|
|
1899
|
+
*/
|
|
1900
|
+
declare function validateRealtimeIndexingStatusProjection(unvalidatedProjection: Unvalidated<RealtimeIndexingStatusProjection>, valueLabel?: string): RealtimeIndexingStatusProjection;
|
|
1901
|
+
|
|
1857
1902
|
/**
|
|
1858
1903
|
* Reasons why TheGraph fallback cannot be used.
|
|
1859
1904
|
*/
|
|
@@ -1906,6 +1951,11 @@ interface ENSApiPublicConfig {
|
|
|
1906
1951
|
ensIndexerPublicConfig: ENSIndexerPublicConfig;
|
|
1907
1952
|
}
|
|
1908
1953
|
|
|
1954
|
+
/**
|
|
1955
|
+
* ENSApi Public Config Response
|
|
1956
|
+
*/
|
|
1957
|
+
type ConfigResponse = ENSApiPublicConfig;
|
|
1958
|
+
|
|
1909
1959
|
/**
|
|
1910
1960
|
* Serialized representation of {@link ENSApiPublicConfig}
|
|
1911
1961
|
*/
|
|
@@ -1916,66 +1966,6 @@ interface SerializedENSApiPublicConfig extends Omit<ENSApiPublicConfig, "ensInde
|
|
|
1916
1966
|
ensIndexerPublicConfig: SerializedENSIndexerPublicConfig;
|
|
1917
1967
|
}
|
|
1918
1968
|
|
|
1919
|
-
/**
|
|
1920
|
-
* Deserialize a {@link ENSApiPublicConfig} object.
|
|
1921
|
-
*/
|
|
1922
|
-
declare function deserializeENSApiPublicConfig(maybeConfig: SerializedENSApiPublicConfig, valueLabel?: string): ENSApiPublicConfig;
|
|
1923
|
-
|
|
1924
|
-
/**
|
|
1925
|
-
* Serialize a {@link ENSApiPublicConfig} object.
|
|
1926
|
-
*/
|
|
1927
|
-
declare function serializeENSApiPublicConfig(config: ENSApiPublicConfig): SerializedENSApiPublicConfig;
|
|
1928
|
-
|
|
1929
|
-
/**
|
|
1930
|
-
* Create a Zod schema for validating a serialized ENSApiPublicConfig.
|
|
1931
|
-
*
|
|
1932
|
-
* @param valueLabel - Optional label for the value being validated (used in error messages)
|
|
1933
|
-
*/
|
|
1934
|
-
declare function makeENSApiPublicConfigSchema(valueLabel?: string): z.ZodObject<{
|
|
1935
|
-
version: z.ZodString;
|
|
1936
|
-
theGraphFallback: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1937
|
-
canFallback: z.ZodLiteral<true>;
|
|
1938
|
-
url: z.ZodString;
|
|
1939
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1940
|
-
canFallback: z.ZodLiteral<false>;
|
|
1941
|
-
reason: z.ZodEnum<{
|
|
1942
|
-
readonly NotSubgraphCompatible: "not-subgraph-compatible";
|
|
1943
|
-
readonly NoApiKey: "no-api-key";
|
|
1944
|
-
readonly NoSubgraphUrl: "no-subgraph-url";
|
|
1945
|
-
}>;
|
|
1946
|
-
}, z.core.$strict>], "canFallback">;
|
|
1947
|
-
ensIndexerPublicConfig: z.ZodObject<{
|
|
1948
|
-
labelSet: z.ZodObject<{
|
|
1949
|
-
labelSetId: z.ZodString;
|
|
1950
|
-
labelSetVersion: z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>;
|
|
1951
|
-
}, z.core.$strip>;
|
|
1952
|
-
indexedChainIds: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodInt, z.ZodTransform<number, number>>>, z.ZodTransform<Set<number>, number[]>>;
|
|
1953
|
-
isSubgraphCompatible: z.ZodBoolean;
|
|
1954
|
-
namespace: z.ZodEnum<{
|
|
1955
|
-
readonly Mainnet: "mainnet";
|
|
1956
|
-
readonly Sepolia: "sepolia";
|
|
1957
|
-
readonly SepoliaV2: "sepolia-v2";
|
|
1958
|
-
readonly EnsTestEnv: "ens-test-env";
|
|
1959
|
-
}>;
|
|
1960
|
-
plugins: z.ZodArray<z.ZodString>;
|
|
1961
|
-
databaseSchemaName: z.ZodString;
|
|
1962
|
-
versionInfo: z.ZodObject<{
|
|
1963
|
-
nodejs: z.ZodString;
|
|
1964
|
-
ponder: z.ZodString;
|
|
1965
|
-
ensDb: z.ZodString;
|
|
1966
|
-
ensIndexer: z.ZodString;
|
|
1967
|
-
ensNormalize: z.ZodString;
|
|
1968
|
-
ensRainbow: z.ZodString;
|
|
1969
|
-
ensRainbowSchema: z.ZodInt;
|
|
1970
|
-
}, z.core.$strict>;
|
|
1971
|
-
}, z.core.$strip>;
|
|
1972
|
-
}, z.core.$strict>;
|
|
1973
|
-
|
|
1974
|
-
/**
|
|
1975
|
-
* ENSApi Public Config Response
|
|
1976
|
-
*/
|
|
1977
|
-
type ConfigResponse = ENSApiPublicConfig;
|
|
1978
|
-
|
|
1979
1969
|
type SerializedConfigResponse = SerializedENSApiPublicConfig;
|
|
1980
1970
|
|
|
1981
1971
|
/**
|
|
@@ -2041,7 +2031,7 @@ type SerializedIndexingStatusResponse = SerializedIndexingStatusResponseOk | Ser
|
|
|
2041
2031
|
/**
|
|
2042
2032
|
* Deserialize a {@link IndexingStatusResponse} object.
|
|
2043
2033
|
*/
|
|
2044
|
-
declare function deserializeIndexingStatusResponse(maybeResponse: SerializedIndexingStatusResponse): IndexingStatusResponse;
|
|
2034
|
+
declare function deserializeIndexingStatusResponse(maybeResponse: Unvalidated<SerializedIndexingStatusResponse>): IndexingStatusResponse;
|
|
2045
2035
|
|
|
2046
2036
|
/**
|
|
2047
2037
|
* Represents a request to Indexing Status API.
|
|
@@ -2632,24 +2622,6 @@ type SerializedNameTokensResponse = SerializedNameTokensResponseOk | SerializedN
|
|
|
2632
2622
|
declare function serializeRegisteredNameTokens({ domainId, name, tokens, expiresAt, accurateAsOf, }: RegisteredNameTokens): SerializedRegisteredNameTokens;
|
|
2633
2623
|
declare function serializeNameTokensResponse(response: NameTokensResponse): SerializedNameTokensResponse;
|
|
2634
2624
|
|
|
2635
|
-
/**
|
|
2636
|
-
* Gets the SubregistryId (an AccountId) of the Basenames Subregistry contract (this is the
|
|
2637
|
-
* "BaseRegistrar" contract for Basenames) for the provided namespace.
|
|
2638
|
-
*
|
|
2639
|
-
* @param namespace The ENS namespace to get the Basenames Subregistry ID for
|
|
2640
|
-
* @returns The AccountId for the Basenames Subregistry contract for the provided namespace.
|
|
2641
|
-
* @throws Error if the contract is not found for the given namespace.
|
|
2642
|
-
*/
|
|
2643
|
-
declare function getBasenamesSubregistryId(namespace: ENSNamespaceId): AccountId;
|
|
2644
|
-
/**
|
|
2645
|
-
* Get the managed name for the Basenames subregistry for the selected ENS namespace.
|
|
2646
|
-
*
|
|
2647
|
-
* @param namespaceId
|
|
2648
|
-
* @returns registrar managed name
|
|
2649
|
-
* @throws an error when no registrar managed name could be returned
|
|
2650
|
-
*/
|
|
2651
|
-
declare function getBasenamesSubregistryManagedName(namespaceId: ENSNamespaceId): Name;
|
|
2652
|
-
|
|
2653
2625
|
/**
|
|
2654
2626
|
* Encoded Referrer
|
|
2655
2627
|
*
|
|
@@ -2703,41 +2675,6 @@ declare function buildEncodedReferrer(address: Address): EncodedReferrer;
|
|
|
2703
2675
|
*/
|
|
2704
2676
|
declare function decodeEncodedReferrer(encodedReferrer: EncodedReferrer): Address;
|
|
2705
2677
|
|
|
2706
|
-
/**
|
|
2707
|
-
* Gets the SubregistryId (an AccountId) of the Ethnames Subregistry contract (this is the
|
|
2708
|
-
* "BaseRegistrar" contract for direct subnames of .eth) for the provided namespace.
|
|
2709
|
-
*
|
|
2710
|
-
* @param namespace The ENS namespace to get the Ethnames Subregistry ID for
|
|
2711
|
-
* @returns The AccountId for the Ethnames Subregistry contract for the provided namespace.
|
|
2712
|
-
* @throws Error if the contract is not found for the given namespace.
|
|
2713
|
-
*/
|
|
2714
|
-
declare function getEthnamesSubregistryId(namespace: ENSNamespaceId): AccountId;
|
|
2715
|
-
/**
|
|
2716
|
-
* Get the managed name for the Ethnames subregistry for the selected ENS namespace.
|
|
2717
|
-
*
|
|
2718
|
-
* @param namespaceId
|
|
2719
|
-
* @returns registrar managed name
|
|
2720
|
-
*/
|
|
2721
|
-
declare function getEthnamesSubregistryManagedName(namespaceId: ENSNamespaceId): Name;
|
|
2722
|
-
|
|
2723
|
-
/**
|
|
2724
|
-
* Gets the SubregistryId (an AccountId) of the Lineanames Subregistry contract (this is the
|
|
2725
|
-
* "BaseRegistrar" contract for Lineanames) for the provided namespace.
|
|
2726
|
-
*
|
|
2727
|
-
* @param namespace The ENS namespace to get the Lineanames Subregistry ID for
|
|
2728
|
-
* @returns The AccountId for the Lineanames Subregistry contract for the provided namespace.
|
|
2729
|
-
* @throws Error if the contract is not found for the given namespace.
|
|
2730
|
-
*/
|
|
2731
|
-
declare function getLineanamesSubregistryId(namespace: ENSNamespaceId): AccountId;
|
|
2732
|
-
/**
|
|
2733
|
-
* Get the managed name for the Lineanames subregistry for the selected ENS namespace.
|
|
2734
|
-
*
|
|
2735
|
-
* @param namespaceId
|
|
2736
|
-
* @returns registrar managed name
|
|
2737
|
-
* @throws an error when no registrar managed name could be returned
|
|
2738
|
-
*/
|
|
2739
|
-
declare function getLineanamesSubregistryManagedName(namespaceId: ENSNamespaceId): Name;
|
|
2740
|
-
|
|
2741
2678
|
/**
|
|
2742
2679
|
* Identifiers for supported currencies.
|
|
2743
2680
|
*
|
|
@@ -3303,25 +3240,6 @@ interface SerializedRegistrarAction extends Omit<RegistrarAction, "pricing"> {
|
|
|
3303
3240
|
declare function serializeRegistrarActionPricing(pricing: RegistrarActionPricing): SerializedRegistrarActionPricing;
|
|
3304
3241
|
declare function serializeRegistrarAction(registrarAction: RegistrarAction): SerializedRegistrarAction;
|
|
3305
3242
|
|
|
3306
|
-
interface RegistrationExpiryInfo {
|
|
3307
|
-
expiry: bigint | null;
|
|
3308
|
-
gracePeriod: bigint | null;
|
|
3309
|
-
}
|
|
3310
|
-
/**
|
|
3311
|
-
* Returns whether Registration is expired. If the Registration includes a Grace Period, the
|
|
3312
|
-
* Grace Period window is considered expired.
|
|
3313
|
-
*/
|
|
3314
|
-
declare function isRegistrationExpired(info: RegistrationExpiryInfo, now: bigint): boolean;
|
|
3315
|
-
/**
|
|
3316
|
-
* Returns whether Registration is fully expired. If the Registration includes a Grace Period, the
|
|
3317
|
-
* Grace Period window is considered NOT fully-expired.
|
|
3318
|
-
*/
|
|
3319
|
-
declare function isRegistrationFullyExpired(info: RegistrationExpiryInfo, now: bigint): boolean;
|
|
3320
|
-
/**
|
|
3321
|
-
* Returns whether Registration is in grace period.
|
|
3322
|
-
*/
|
|
3323
|
-
declare function isRegistrationInGracePeriod(info: RegistrationExpiryInfo, now: bigint): boolean;
|
|
3324
|
-
|
|
3325
3243
|
declare const RECORDS_PER_PAGE_DEFAULT = 10;
|
|
3326
3244
|
declare const RECORDS_PER_PAGE_MAX = 100;
|
|
3327
3245
|
/**
|
|
@@ -4360,6 +4278,133 @@ declare const DEFAULT_ENSNODE_API_URL_SEPOLIA: "https://api.alpha-sepolia.ensnod
|
|
|
4360
4278
|
*/
|
|
4361
4279
|
declare const getDefaultEnsNodeUrl: (namespace?: ENSNamespaceId) => URL;
|
|
4362
4280
|
|
|
4281
|
+
/**
|
|
4282
|
+
* Deserialize a {@link ENSApiPublicConfig} object.
|
|
4283
|
+
*/
|
|
4284
|
+
declare function deserializeENSApiPublicConfig(maybeConfig: SerializedENSApiPublicConfig, valueLabel?: string): ENSApiPublicConfig;
|
|
4285
|
+
|
|
4286
|
+
/**
|
|
4287
|
+
* Serialize a {@link ENSApiPublicConfig} object.
|
|
4288
|
+
*/
|
|
4289
|
+
declare function serializeENSApiPublicConfig(config: ENSApiPublicConfig): SerializedENSApiPublicConfig;
|
|
4290
|
+
|
|
4291
|
+
/**
|
|
4292
|
+
* Create a Zod schema for validating a serialized ENSApiPublicConfig.
|
|
4293
|
+
*
|
|
4294
|
+
* @param valueLabel - Optional label for the value being validated (used in error messages)
|
|
4295
|
+
*/
|
|
4296
|
+
declare function makeENSApiPublicConfigSchema(valueLabel?: string): z.ZodObject<{
|
|
4297
|
+
version: z.ZodString;
|
|
4298
|
+
theGraphFallback: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4299
|
+
canFallback: z.ZodLiteral<true>;
|
|
4300
|
+
url: z.ZodString;
|
|
4301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4302
|
+
canFallback: z.ZodLiteral<false>;
|
|
4303
|
+
reason: z.ZodEnum<{
|
|
4304
|
+
readonly NotSubgraphCompatible: "not-subgraph-compatible";
|
|
4305
|
+
readonly NoApiKey: "no-api-key";
|
|
4306
|
+
readonly NoSubgraphUrl: "no-subgraph-url";
|
|
4307
|
+
}>;
|
|
4308
|
+
}, z.core.$strict>], "canFallback">;
|
|
4309
|
+
ensIndexerPublicConfig: z.ZodObject<{
|
|
4310
|
+
labelSet: z.ZodObject<{
|
|
4311
|
+
labelSetId: z.ZodString;
|
|
4312
|
+
labelSetVersion: z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>;
|
|
4313
|
+
}, z.core.$strip>;
|
|
4314
|
+
indexedChainIds: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodInt, z.ZodTransform<number, number>>>, z.ZodTransform<Set<number>, number[]>>;
|
|
4315
|
+
isSubgraphCompatible: z.ZodBoolean;
|
|
4316
|
+
namespace: z.ZodEnum<{
|
|
4317
|
+
readonly Mainnet: "mainnet";
|
|
4318
|
+
readonly Sepolia: "sepolia";
|
|
4319
|
+
readonly SepoliaV2: "sepolia-v2";
|
|
4320
|
+
readonly EnsTestEnv: "ens-test-env";
|
|
4321
|
+
}>;
|
|
4322
|
+
plugins: z.ZodArray<z.ZodString>;
|
|
4323
|
+
databaseSchemaName: z.ZodString;
|
|
4324
|
+
versionInfo: z.ZodObject<{
|
|
4325
|
+
nodejs: z.ZodString;
|
|
4326
|
+
ponder: z.ZodString;
|
|
4327
|
+
ensDb: z.ZodString;
|
|
4328
|
+
ensIndexer: z.ZodString;
|
|
4329
|
+
ensNormalize: z.ZodString;
|
|
4330
|
+
ensRainbow: z.ZodString;
|
|
4331
|
+
ensRainbowSchema: z.ZodInt;
|
|
4332
|
+
}, z.core.$strict>;
|
|
4333
|
+
}, z.core.$strip>;
|
|
4334
|
+
}, z.core.$strict>;
|
|
4335
|
+
|
|
4336
|
+
/**
|
|
4337
|
+
* Gets the SubregistryId (an AccountId) of the Basenames Subregistry contract (this is the
|
|
4338
|
+
* "BaseRegistrar" contract for Basenames) for the provided namespace.
|
|
4339
|
+
*
|
|
4340
|
+
* @param namespace The ENS namespace to get the Basenames Subregistry ID for
|
|
4341
|
+
* @returns The AccountId for the Basenames Subregistry contract for the provided namespace.
|
|
4342
|
+
* @throws Error if the contract is not found for the given namespace.
|
|
4343
|
+
*/
|
|
4344
|
+
declare function getBasenamesSubregistryId(namespace: ENSNamespaceId): AccountId;
|
|
4345
|
+
/**
|
|
4346
|
+
* Get the managed name for the Basenames subregistry for the selected ENS namespace.
|
|
4347
|
+
*
|
|
4348
|
+
* @param namespaceId
|
|
4349
|
+
* @returns registrar managed name
|
|
4350
|
+
* @throws an error when no registrar managed name could be returned
|
|
4351
|
+
*/
|
|
4352
|
+
declare function getBasenamesSubregistryManagedName(namespaceId: ENSNamespaceId): Name;
|
|
4353
|
+
|
|
4354
|
+
/**
|
|
4355
|
+
* Gets the SubregistryId (an AccountId) of the Ethnames Subregistry contract (this is the
|
|
4356
|
+
* "BaseRegistrar" contract for direct subnames of .eth) for the provided namespace.
|
|
4357
|
+
*
|
|
4358
|
+
* @param namespace The ENS namespace to get the Ethnames Subregistry ID for
|
|
4359
|
+
* @returns The AccountId for the Ethnames Subregistry contract for the provided namespace.
|
|
4360
|
+
* @throws Error if the contract is not found for the given namespace.
|
|
4361
|
+
*/
|
|
4362
|
+
declare function getEthnamesSubregistryId(namespace: ENSNamespaceId): AccountId;
|
|
4363
|
+
/**
|
|
4364
|
+
* Get the managed name for the Ethnames subregistry for the selected ENS namespace.
|
|
4365
|
+
*
|
|
4366
|
+
* @param namespaceId
|
|
4367
|
+
* @returns registrar managed name
|
|
4368
|
+
*/
|
|
4369
|
+
declare function getEthnamesSubregistryManagedName(namespaceId: ENSNamespaceId): Name;
|
|
4370
|
+
|
|
4371
|
+
/**
|
|
4372
|
+
* Gets the SubregistryId (an AccountId) of the Lineanames Subregistry contract (this is the
|
|
4373
|
+
* "BaseRegistrar" contract for Lineanames) for the provided namespace.
|
|
4374
|
+
*
|
|
4375
|
+
* @param namespace The ENS namespace to get the Lineanames Subregistry ID for
|
|
4376
|
+
* @returns The AccountId for the Lineanames Subregistry contract for the provided namespace.
|
|
4377
|
+
* @throws Error if the contract is not found for the given namespace.
|
|
4378
|
+
*/
|
|
4379
|
+
declare function getLineanamesSubregistryId(namespace: ENSNamespaceId): AccountId;
|
|
4380
|
+
/**
|
|
4381
|
+
* Get the managed name for the Lineanames subregistry for the selected ENS namespace.
|
|
4382
|
+
*
|
|
4383
|
+
* @param namespaceId
|
|
4384
|
+
* @returns registrar managed name
|
|
4385
|
+
* @throws an error when no registrar managed name could be returned
|
|
4386
|
+
*/
|
|
4387
|
+
declare function getLineanamesSubregistryManagedName(namespaceId: ENSNamespaceId): Name;
|
|
4388
|
+
|
|
4389
|
+
interface RegistrationExpiryInfo {
|
|
4390
|
+
expiry: bigint | null;
|
|
4391
|
+
gracePeriod: bigint | null;
|
|
4392
|
+
}
|
|
4393
|
+
/**
|
|
4394
|
+
* Returns whether Registration is expired. If the Registration includes a Grace Period, the
|
|
4395
|
+
* Grace Period window is considered expired.
|
|
4396
|
+
*/
|
|
4397
|
+
declare function isRegistrationExpired(info: RegistrationExpiryInfo, now: bigint): boolean;
|
|
4398
|
+
/**
|
|
4399
|
+
* Returns whether Registration is fully expired. If the Registration includes a Grace Period, the
|
|
4400
|
+
* Grace Period window is considered NOT fully-expired.
|
|
4401
|
+
*/
|
|
4402
|
+
declare function isRegistrationFullyExpired(info: RegistrationExpiryInfo, now: bigint): boolean;
|
|
4403
|
+
/**
|
|
4404
|
+
* Returns whether Registration is in grace period.
|
|
4405
|
+
*/
|
|
4406
|
+
declare function isRegistrationInGracePeriod(info: RegistrationExpiryInfo, now: bigint): boolean;
|
|
4407
|
+
|
|
4363
4408
|
/**
|
|
4364
4409
|
* Determines where the provided AccountId values represent the same address on the same chain.
|
|
4365
4410
|
*/
|
|
@@ -4915,4 +4960,4 @@ declare function formatAssetId({ assetNamespace, contract: { chainId, address },
|
|
|
4915
4960
|
declare function isHttpProtocol(url: URL): boolean;
|
|
4916
4961
|
declare function isWebSocketProtocol(url: URL): boolean;
|
|
4917
4962
|
|
|
4918
|
-
export { ADDR_REVERSE_NODE, ATTR_PROTOCOL_NAME, ATTR_PROTOCOL_STEP, ATTR_PROTOCOL_STEP_RESULT, type AcceleratableRequest, type AcceleratableResponse, type AccountId, type AccountIdString, type AssetId, type AssetIdString, type AssetNamespace, AssetNamespaces, BASENAMES_NODE, type BlockNumber, type BlockRef, type Blockrange, type Cache, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, type ChainIndexingConfig, type ChainIndexingConfigDefinite, type ChainIndexingConfigIndefinite, type ChainIndexingConfigTypeId, ChainIndexingConfigTypeIds, type ChainIndexingStatusId, ChainIndexingStatusIds, type ChainIndexingStatusSnapshot, type ChainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotCompleted, type ChainIndexingStatusSnapshotFollowing, type ChainIndexingStatusSnapshotForOmnichainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotQueued, ClientError, type ClientOptions, type ConfigResponse, type CrossChainIndexingStatusSnapshot, type CrossChainIndexingStatusSnapshotOmnichain, type CrossChainIndexingStrategyId, CrossChainIndexingStrategyIds, type CurrencyAmount, type CurrencyId, CurrencyIds, type CurrencyInfo, DEFAULT_ENSNODE_API_URL_MAINNET, DEFAULT_ENSNODE_API_URL_SEPOLIA, DEFAULT_EVM_CHAIN_ID, DEFAULT_EVM_COIN_TYPE, type DNSEncodedLiteralName, type DNSEncodedName, type DNSEncodedPartiallyInterpretedName, type Datetime, type DatetimeISO8601, type DeepPartial, type DefaultableChainId, type DomainAssetId, type DomainId, type Duration, ENCODED_REFERRER_BYTE_LENGTH, ENCODED_REFERRER_BYTE_OFFSET, type ENSApiPublicConfig, type ENSIndexerPublicConfig, type ENSIndexerVersionInfo, ENSNodeClient, ENS_ROOT, type ENSv1DomainId, type ENSv2DomainId, ETH_COIN_TYPE, ETH_NODE, EXPECTED_ENCODED_REFERRER_PADDING, type EncodedLabelHash, type EncodedReferrer, type EnsRainbowClientLabelSet, type EnsRainbowServerLabelSet, type ErrorResponse, type ForwardResolutionArgs, ForwardResolutionProtocolStep, type ForwardResolutionResult, type Identity, type IndexingStatusRequest, type IndexingStatusResponse, type IndexingStatusResponseCode, IndexingStatusResponseCodes, type IndexingStatusResponseError, type IndexingStatusResponseOk, type InterpretedLabel, type InterpretedName, LINEANAMES_NODE, type Label, type LabelHash, type LabelHashPath, type LabelSetId, type LabelSetVersion, type LiteralLabel, type LiteralName, LruCache, type MultichainPrimaryNameResolutionArgs, type MultichainPrimaryNameResolutionResult, type NFTMintStatus, NFTMintStatuses, type NFTTransferEventMetadata, type NFTTransferType, NFTTransferTypes, NODE_ANY, type Name, type NameToken, type NameTokenOwnership, type NameTokenOwnershipBurned, type NameTokenOwnershipFullyOnchain, type NameTokenOwnershipNameWrapper, type NameTokenOwnershipType, NameTokenOwnershipTypes, type NameTokenOwnershipUnknown, type NameTokensRequest, type NameTokensResponse, type NameTokensResponseCode, NameTokensResponseCodes, type NameTokensResponseError, type NameTokensResponseErrorCode, NameTokensResponseErrorCodes, type NameTokensResponseErrorEnsIndexerConfigUnsupported, type NameTokensResponseErrorIndexingStatusUnsupported, type NameTokensResponseErrorNameTokensNotIndexed, type NameTokensResponseOk, type NamedIdentity, type NamedRegistrarAction, type Node, type NormalizedName, type OmnichainIndexingStatusId, OmnichainIndexingStatusIds, type OmnichainIndexingStatusSnapshot, type OmnichainIndexingStatusSnapshotBackfill, type OmnichainIndexingStatusSnapshotCompleted, type OmnichainIndexingStatusSnapshotFollowing, type OmnichainIndexingStatusSnapshotUnstarted, PROTOCOL_ATTRIBUTE_PREFIX, type PermissionsId, type PermissionsResourceId, type PermissionsUserId, PluginName, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RealtimeIndexingStatusProjection, type RegisteredNameTokens, type RegistrarAction, type RegistrarActionEventId, type RegistrarActionPricing, type RegistrarActionPricingAvailable, type RegistrarActionPricingUnknown, type RegistrarActionReferral, type RegistrarActionReferralAvailable, type RegistrarActionReferralNotApplicable, type RegistrarActionType, RegistrarActionTypes, type RegistrarActionsFilter, type RegistrarActionsFilterBeginTimestamp, type RegistrarActionsFilterByDecodedReferrer, type RegistrarActionsFilterBySubregistryNode, type RegistrarActionsFilterEndTimestamp, type RegistrarActionsFilterType, RegistrarActionsFilterTypes, type RegistrarActionsFilterWithEncodedReferral, type RegistrarActionsOrder, RegistrarActionsOrders, type RegistrarActionsRequest, type RegistrarActionsResponse, type RegistrarActionsResponseCode, RegistrarActionsResponseCodes, type RegistrarActionsResponseError, type RegistrarActionsResponseOk, type RegistrationExpiryInfo, type RegistrationId, type RegistrationLifecycle, type RegistrationLifecycleStage, type RegistryId, type RenewalId, type RequestPageParams, type RequiredAndNotNull, type ResolutionStatusId, ResolutionStatusIds, type ResolvePrimaryNameRequest, type ResolvePrimaryNameResponse, type ResolvePrimaryNamesRequest, type ResolvePrimaryNamesResponse, type ResolveRecordsRequest, type ResolveRecordsResponse, type ResolvedIdentity, type ResolverId, type ResolverRecordsId, type ResolverRecordsResponse, type ResolverRecordsResponseBase, type ResolverRecordsSelection, type ResponsePageContext, type ResponsePageContextWithNoRecords, type ResponsePageContextWithRecords, type ReverseResolutionArgs, ReverseResolutionProtocolStep, type ReverseResolutionResult, type RpcUrl, SWRCache, type SWRCacheOptions, type SerializedAssetId, type SerializedChainIndexingStatusSnapshot, type SerializedChainIndexingStatusSnapshotBackfill, type SerializedChainIndexingStatusSnapshotCompleted, type SerializedChainIndexingStatusSnapshotFollowing, type SerializedChainIndexingStatusSnapshotQueued, type SerializedConfigResponse, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedIndexedChainIds, type SerializedIndexingStatusResponse, type SerializedIndexingStatusResponseError, type SerializedIndexingStatusResponseOk, type SerializedNameToken, type SerializedNameTokensResponse, type SerializedNameTokensResponseError, type SerializedNameTokensResponseOk, type SerializedNamedRegistrarAction, type SerializedOmnichainIndexingStatusSnapshot, type SerializedOmnichainIndexingStatusSnapshotBackfill, type SerializedOmnichainIndexingStatusSnapshotCompleted, type SerializedOmnichainIndexingStatusSnapshotFollowing, type SerializedOmnichainIndexingStatusSnapshotUnstarted, type SerializedPrice, type SerializedPriceDai, type SerializedPriceEth, type SerializedPriceUsdc, type SerializedRealtimeIndexingStatusProjection, type SerializedRegisteredNameTokens, type SerializedRegistrarAction, type SerializedRegistrarActionPricing, type SerializedRegistrarActionPricingAvailable, type SerializedRegistrarActionPricingUnknown, type SerializedRegistrarActionsResponse, type SerializedRegistrarActionsResponseError, type SerializedRegistrarActionsResponseOk, type SerializedTokenId, type SubgraphInterpretedLabel, type SubgraphInterpretedName, type Subregistry, type TheGraphCannotFallbackReason, TheGraphCannotFallbackReasonSchema, type TheGraphFallback, TheGraphFallbackSchema, type TokenId, TraceableENSProtocol, type TraceableRequest, type TraceableResponse, type TracingNode, type TracingSpan, type TracingTrace, TtlCache, type UnixTimestamp, type UnknownIdentity, type UnnamedIdentity, type UnresolvedIdentity, type Unvalidated, type UrlString, ZERO_ENCODED_REFERRER, accountIdEqual, addDuration, addPrices, addrReverseLabel, asLowerCaseAddress, beautifyName, bigIntToNumber, bigintToCoinType, buildAssetId, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildLabelSetId, buildLabelSetVersion, buildPageContext, buildUnresolvedIdentity, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createIndexingConfig, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeBlockrange, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeErrorResponse, deserializeIndexingStatusResponse, deserializeOmnichainIndexingStatusSnapshot, deserializePriceDai, deserializePriceEth, deserializePriceUsdc, deserializeRealtimeIndexingStatusProjection, deserializeRegistrarActionsResponse, deserializeUnixTimestamp, deserializeUrl, deserializedNameTokensResponse, durationBetween, encodeLabelHash, encodedLabelToLabelhash, ensureInterpretedLabel, evmChainIdToCoinType, formatAccountId, formatAssetId, formatNFTTransferEventMetadata, getBasenamesSubregistryId, getBasenamesSubregistryManagedName, getCanonicalId, getCurrencyInfo, getDatasourceContract, getDefaultEnsNodeUrl, getENSv1Registry, getENSv2RootRegistry, getENSv2RootRegistryId, getEthnamesSubregistryId, getEthnamesSubregistryManagedName, getLatestIndexedBlockRef, getLineanamesSubregistryId, getLineanamesSubregistryManagedName, getNFTTransferType, getNameHierarchy, getNameTokenOwnership, getNameWrapperAccounts, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasNullByte, interpretAddress, interpretAddressRecordValue, interpretNameRecordValue, interpretTextRecordKey, interpretTextRecordValue, interpretTokenIdAsLabelHash, interpretTokenIdAsNode, interpretedLabelsToInterpretedName, interpretedLabelsToLabelHashPath, interpretedNameToInterpretedLabels, isENSv1Registry, isENSv2RootRegistry, isEncodedLabelHash, isHttpProtocol, isInterpetedLabel, isInterpretedName, isLabelHash, isNormalizedLabel, isNormalizedName, isPccFuseSet, isPriceCurrencyEqual, isPriceEqual, isRegistrarActionPricingAvailable, isRegistrarActionReferralAvailable, isRegistrationExpired, isRegistrationFullyExpired, isRegistrationInGracePeriod, isResolvedIdentity, isSelectionEmpty, isSubgraphCompatible, isWebSocketProtocol, labelHashToBytes, labelhashLiteralLabel, literalLabelToInterpretedLabel, literalLabelsToInterpretedName, literalLabelsToLiteralName, makeContractMatcher, makeENSApiPublicConfigSchema, makeENSv1DomainId, makeENSv2DomainId, makeLatestRegistrationId, makeLatestRenewalId, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSubdomainNode, maybeGetDatasourceContract, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEth, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, registrarActionsPrerequisites, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateSupportedLabelSetAndVersion };
|
|
4963
|
+
export { ADDR_REVERSE_NODE, ATTR_PROTOCOL_NAME, ATTR_PROTOCOL_STEP, ATTR_PROTOCOL_STEP_RESULT, type AcceleratableRequest, type AcceleratableResponse, type AccountId, type AccountIdString, type AssetId, type AssetIdString, type AssetNamespace, AssetNamespaces, BASENAMES_NODE, type BlockNumber, type BlockRef, type Blockrange, type Cache, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, type ChainIndexingConfig, type ChainIndexingConfigDefinite, type ChainIndexingConfigIndefinite, type ChainIndexingConfigTypeId, ChainIndexingConfigTypeIds, type ChainIndexingStatusId, ChainIndexingStatusIds, type ChainIndexingStatusSnapshot, type ChainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotCompleted, type ChainIndexingStatusSnapshotFollowing, type ChainIndexingStatusSnapshotForOmnichainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotQueued, ClientError, type ClientOptions, type ConfigResponse, type CrossChainIndexingStatusSnapshot, type CrossChainIndexingStatusSnapshotOmnichain, type CrossChainIndexingStrategyId, CrossChainIndexingStrategyIds, type CurrencyAmount, type CurrencyId, CurrencyIds, type CurrencyInfo, DEFAULT_ENSNODE_API_URL_MAINNET, DEFAULT_ENSNODE_API_URL_SEPOLIA, DEFAULT_EVM_CHAIN_ID, DEFAULT_EVM_COIN_TYPE, type DNSEncodedLiteralName, type DNSEncodedName, type DNSEncodedPartiallyInterpretedName, type Datetime, type DatetimeISO8601, type DeepPartial, type DefaultableChainId, type DomainAssetId, type DomainId, type Duration, ENCODED_REFERRER_BYTE_LENGTH, ENCODED_REFERRER_BYTE_OFFSET, type ENSApiPublicConfig, type ENSIndexerPublicConfig, type ENSIndexerVersionInfo, ENSNodeClient, ENS_ROOT, type ENSv1DomainId, type ENSv2DomainId, ETH_COIN_TYPE, ETH_NODE, EXPECTED_ENCODED_REFERRER_PADDING, type EncodedLabelHash, type EncodedReferrer, type EnsRainbowClientLabelSet, type EnsRainbowServerLabelSet, type ErrorResponse, type ForwardResolutionArgs, ForwardResolutionProtocolStep, type ForwardResolutionResult, type Identity, type IndexingStatusRequest, type IndexingStatusResponse, type IndexingStatusResponseCode, IndexingStatusResponseCodes, type IndexingStatusResponseError, type IndexingStatusResponseOk, type InterpretedLabel, type InterpretedName, LINEANAMES_NODE, type Label, type LabelHash, type LabelHashPath, type LabelSetId, type LabelSetVersion, type LiteralLabel, type LiteralName, LruCache, type MultichainPrimaryNameResolutionArgs, type MultichainPrimaryNameResolutionResult, type NFTMintStatus, NFTMintStatuses, type NFTTransferEventMetadata, type NFTTransferType, NFTTransferTypes, NODE_ANY, type Name, type NameToken, type NameTokenOwnership, type NameTokenOwnershipBurned, type NameTokenOwnershipFullyOnchain, type NameTokenOwnershipNameWrapper, type NameTokenOwnershipType, NameTokenOwnershipTypes, type NameTokenOwnershipUnknown, type NameTokensRequest, type NameTokensResponse, type NameTokensResponseCode, NameTokensResponseCodes, type NameTokensResponseError, type NameTokensResponseErrorCode, NameTokensResponseErrorCodes, type NameTokensResponseErrorEnsIndexerConfigUnsupported, type NameTokensResponseErrorIndexingStatusUnsupported, type NameTokensResponseErrorNameTokensNotIndexed, type NameTokensResponseOk, type NamedIdentity, type NamedRegistrarAction, type Node, type NormalizedName, type OmnichainIndexingStatusId, OmnichainIndexingStatusIds, type OmnichainIndexingStatusSnapshot, type OmnichainIndexingStatusSnapshotBackfill, type OmnichainIndexingStatusSnapshotCompleted, type OmnichainIndexingStatusSnapshotFollowing, type OmnichainIndexingStatusSnapshotUnstarted, PROTOCOL_ATTRIBUTE_PREFIX, type PermissionsId, type PermissionsResourceId, type PermissionsUserId, PluginName, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RealtimeIndexingStatusProjection, type RegisteredNameTokens, type RegistrarAction, type RegistrarActionEventId, type RegistrarActionPricing, type RegistrarActionPricingAvailable, type RegistrarActionPricingUnknown, type RegistrarActionReferral, type RegistrarActionReferralAvailable, type RegistrarActionReferralNotApplicable, type RegistrarActionType, RegistrarActionTypes, type RegistrarActionsFilter, type RegistrarActionsFilterBeginTimestamp, type RegistrarActionsFilterByDecodedReferrer, type RegistrarActionsFilterBySubregistryNode, type RegistrarActionsFilterEndTimestamp, type RegistrarActionsFilterType, RegistrarActionsFilterTypes, type RegistrarActionsFilterWithEncodedReferral, type RegistrarActionsOrder, RegistrarActionsOrders, type RegistrarActionsRequest, type RegistrarActionsResponse, type RegistrarActionsResponseCode, RegistrarActionsResponseCodes, type RegistrarActionsResponseError, type RegistrarActionsResponseOk, type RegistrationExpiryInfo, type RegistrationId, type RegistrationLifecycle, type RegistrationLifecycleStage, type RegistryId, type RenewalId, type RequestPageParams, type RequiredAndNotNull, type ResolutionStatusId, ResolutionStatusIds, type ResolvePrimaryNameRequest, type ResolvePrimaryNameResponse, type ResolvePrimaryNamesRequest, type ResolvePrimaryNamesResponse, type ResolveRecordsRequest, type ResolveRecordsResponse, type ResolvedIdentity, type ResolverId, type ResolverRecordsId, type ResolverRecordsResponse, type ResolverRecordsResponseBase, type ResolverRecordsSelection, type ResponsePageContext, type ResponsePageContextWithNoRecords, type ResponsePageContextWithRecords, type ReverseResolutionArgs, ReverseResolutionProtocolStep, type ReverseResolutionResult, type RpcUrl, SWRCache, type SWRCacheOptions, type SerializedAssetId, type SerializedChainIndexingStatusSnapshot, type SerializedChainIndexingStatusSnapshotBackfill, type SerializedChainIndexingStatusSnapshotCompleted, type SerializedChainIndexingStatusSnapshotFollowing, type SerializedChainIndexingStatusSnapshotQueued, type SerializedConfigResponse, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedIndexedChainIds, type SerializedIndexingStatusResponse, type SerializedIndexingStatusResponseError, type SerializedIndexingStatusResponseOk, type SerializedNameToken, type SerializedNameTokensResponse, type SerializedNameTokensResponseError, type SerializedNameTokensResponseOk, type SerializedNamedRegistrarAction, type SerializedOmnichainIndexingStatusSnapshot, type SerializedOmnichainIndexingStatusSnapshotBackfill, type SerializedOmnichainIndexingStatusSnapshotCompleted, type SerializedOmnichainIndexingStatusSnapshotFollowing, type SerializedOmnichainIndexingStatusSnapshotUnstarted, type SerializedPrice, type SerializedPriceDai, type SerializedPriceEth, type SerializedPriceUsdc, type SerializedRealtimeIndexingStatusProjection, type SerializedRegisteredNameTokens, type SerializedRegistrarAction, type SerializedRegistrarActionPricing, type SerializedRegistrarActionPricingAvailable, type SerializedRegistrarActionPricingUnknown, type SerializedRegistrarActionsResponse, type SerializedRegistrarActionsResponseError, type SerializedRegistrarActionsResponseOk, type SerializedTokenId, type SubgraphInterpretedLabel, type SubgraphInterpretedName, type Subregistry, type TheGraphCannotFallbackReason, TheGraphCannotFallbackReasonSchema, type TheGraphFallback, TheGraphFallbackSchema, type TokenId, TraceableENSProtocol, type TraceableRequest, type TraceableResponse, type TracingNode, type TracingSpan, type TracingTrace, TtlCache, type UnixTimestamp, type UnknownIdentity, type UnnamedIdentity, type UnresolvedIdentity, type Unvalidated, type UrlString, ZERO_ENCODED_REFERRER, accountIdEqual, addDuration, addPrices, addrReverseLabel, asLowerCaseAddress, beautifyName, bigIntToNumber, bigintToCoinType, buildAssetId, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildLabelSetId, buildLabelSetVersion, buildPageContext, buildUnresolvedIdentity, buildUnvalidatedCrossChainIndexingStatusSnapshot, buildUnvalidatedOmnichainIndexingStatusSnapshot, buildUnvalidatedRealtimeIndexingStatusProjection, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createIndexingConfig, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeBlockrange, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeErrorResponse, deserializeIndexingStatusResponse, deserializeOmnichainIndexingStatusSnapshot, deserializePriceDai, deserializePriceEth, deserializePriceUsdc, deserializeRealtimeIndexingStatusProjection, deserializeRegistrarActionsResponse, deserializeUnixTimestamp, deserializeUrl, deserializedNameTokensResponse, durationBetween, encodeLabelHash, encodedLabelToLabelhash, ensureInterpretedLabel, evmChainIdToCoinType, formatAccountId, formatAssetId, formatNFTTransferEventMetadata, getBasenamesSubregistryId, getBasenamesSubregistryManagedName, getCanonicalId, getCurrencyInfo, getDatasourceContract, getDefaultEnsNodeUrl, getENSv1Registry, getENSv2RootRegistry, getENSv2RootRegistryId, getEthnamesSubregistryId, getEthnamesSubregistryManagedName, getLatestIndexedBlockRef, getLineanamesSubregistryId, getLineanamesSubregistryManagedName, getNFTTransferType, getNameHierarchy, getNameTokenOwnership, getNameWrapperAccounts, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasNullByte, interpretAddress, interpretAddressRecordValue, interpretNameRecordValue, interpretTextRecordKey, interpretTextRecordValue, interpretTokenIdAsLabelHash, interpretTokenIdAsNode, interpretedLabelsToInterpretedName, interpretedLabelsToLabelHashPath, interpretedNameToInterpretedLabels, isENSv1Registry, isENSv2RootRegistry, isEncodedLabelHash, isHttpProtocol, isInterpetedLabel, isInterpretedName, isLabelHash, isNormalizedLabel, isNormalizedName, isPccFuseSet, isPriceCurrencyEqual, isPriceEqual, isRegistrarActionPricingAvailable, isRegistrarActionReferralAvailable, isRegistrationExpired, isRegistrationFullyExpired, isRegistrationInGracePeriod, isResolvedIdentity, isSelectionEmpty, isSubgraphCompatible, isWebSocketProtocol, labelHashToBytes, labelhashLiteralLabel, literalLabelToInterpretedLabel, literalLabelsToInterpretedName, literalLabelsToLiteralName, makeContractMatcher, makeENSApiPublicConfigSchema, makeENSv1DomainId, makeENSv2DomainId, makeLatestRegistrationId, makeLatestRenewalId, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSubdomainNode, maybeGetDatasourceContract, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEth, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, registrarActionsPrerequisites, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateCrossChainIndexingStatusSnapshot, validateOmnichainIndexingStatusSnapshot, validateRealtimeIndexingStatusProjection, validateSupportedLabelSetAndVersion };
|