@ensnode/ensnode-sdk 1.6.0 → 1.8.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.cjs +65 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +169 -224
- package/dist/index.d.ts +169 -224
- package/dist/index.js +65 -39
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1264,8 +1264,9 @@ declare function buildBlockNumberRange(startBlock?: BlockNumber, endBlock?: Bloc
|
|
|
1264
1264
|
* Merge multiple block number ranges into a single range.
|
|
1265
1265
|
*
|
|
1266
1266
|
* The resulting range is a union that covers all input ranges:
|
|
1267
|
-
* - Uses the minimum
|
|
1268
|
-
* - Uses the maximum
|
|
1267
|
+
* - Uses the minimum start block when every input range has a start block
|
|
1268
|
+
* - Uses the maximum end block when every input range has an end block
|
|
1269
|
+
* - Leaves a side unbounded when any input range is unbounded on that side
|
|
1269
1270
|
*
|
|
1270
1271
|
* Returns an unbounded range if no ranges are provided.
|
|
1271
1272
|
*
|
|
@@ -1862,11 +1863,31 @@ type CrossChainIndexingStatusSnapshot = CrossChainIndexingStatusSnapshotOmnichai
|
|
|
1862
1863
|
* isn't being indexed at all or is queued and therefore hasn't started indexing yet.
|
|
1863
1864
|
*/
|
|
1864
1865
|
declare function getLatestIndexedBlockRef(indexingStatus: CrossChainIndexingStatusSnapshot, chainId: ChainId): BlockRef | null;
|
|
1866
|
+
/**
|
|
1867
|
+
* Get the "highest known block timestamp" from chain indexing status snapshots.
|
|
1868
|
+
*
|
|
1869
|
+
* Returns the maximum timestamp referenced anywhere in the provided chain snapshots,
|
|
1870
|
+
* across all of:
|
|
1871
|
+
* - `config.startBlock` timestamps for all chains
|
|
1872
|
+
* - `config.endBlock` timestamps for bounded chains
|
|
1873
|
+
* - `backfillEndBlock` timestamps for chains in backfill status
|
|
1874
|
+
* - `latestKnownBlock` timestamps for chains in following status
|
|
1875
|
+
*
|
|
1876
|
+
* This is used to enforce the invariant that `snapshotTime` must be >= all
|
|
1877
|
+
* referenced block timestamps. It differs from {@link getTimestampForHighestOmnichainKnownBlock},
|
|
1878
|
+
* which computes the highest "target" block timestamp for progress display and
|
|
1879
|
+
* does not include `startBlock` timestamps.
|
|
1880
|
+
*
|
|
1881
|
+
* @throws Error if `chains` is empty.
|
|
1882
|
+
*/
|
|
1883
|
+
declare function getHighestKnownBlockTimestamp(chains: ChainIndexingStatusSnapshot[]): UnixTimestamp;
|
|
1865
1884
|
/**
|
|
1866
1885
|
* Build a Cross-Chain Indexing Status Snapshot based on the omnichain indexing status snapshot.
|
|
1867
1886
|
*
|
|
1868
1887
|
* @param omnichainSnapshot - The omnichain indexing status snapshot.
|
|
1869
1888
|
* @param snapshotTime - The timestamp when the cross-chain indexing status snapshot was generated.
|
|
1889
|
+
* Will be adjusted upward if necessary to satisfy the invariant that snapshotTime must
|
|
1890
|
+
* be >= the highest known block timestamp (handles clock skew and future block timestamps).
|
|
1870
1891
|
* @returns The cross-chain indexing status snapshot.
|
|
1871
1892
|
* @throws if the generated snapshot does not satisfy the invariants defined
|
|
1872
1893
|
* in {@link CrossChainIndexingStatusSnapshotOmnichain}
|
|
@@ -3563,6 +3584,14 @@ type RegistrarActionsFilter = RegistrarActionsFilterBySubregistryNode | Registra
|
|
|
3563
3584
|
* Records Orders
|
|
3564
3585
|
*/
|
|
3565
3586
|
declare const RegistrarActionsOrders: {
|
|
3587
|
+
/**
|
|
3588
|
+
* Returns registrar actions newest-first.
|
|
3589
|
+
*
|
|
3590
|
+
* Sorts by block timestamp descending. Because each action's identifier encodes
|
|
3591
|
+
* all ordering-relevant onchain properties, this also correctly orders actions
|
|
3592
|
+
* that share the same block timestamp by the chronological order in which they
|
|
3593
|
+
* were executed within the block.
|
|
3594
|
+
*/
|
|
3566
3595
|
readonly LatestRegistrarActions: "orderBy[timestamp]=desc";
|
|
3567
3596
|
};
|
|
3568
3597
|
type RegistrarActionsOrder = (typeof RegistrarActionsOrders)[keyof typeof RegistrarActionsOrders];
|
|
@@ -4505,222 +4534,6 @@ declare const DEFAULT_ENSNODE_API_URL_SEPOLIA: "https://api.alpha-sepolia.ensnod
|
|
|
4505
4534
|
*/
|
|
4506
4535
|
declare const getDefaultEnsNodeUrl: (namespace?: ENSNamespaceId) => URL;
|
|
4507
4536
|
|
|
4508
|
-
type EnsIndexerPublicConfigCompatibilityCheck = Omit<EnsIndexerPublicConfig, "databaseSchemaName" | "ensRainbowPublicConfig" | "versionInfo">;
|
|
4509
|
-
/**
|
|
4510
|
-
* Validate if `configB` is compatible with `configA`, such that `configA` equals to `configB`.
|
|
4511
|
-
*
|
|
4512
|
-
* @throws error if configs are incompatible.
|
|
4513
|
-
*/
|
|
4514
|
-
declare function validateEnsIndexerPublicConfigCompatibility(configA: EnsIndexerPublicConfigCompatibilityCheck, configB: EnsIndexerPublicConfigCompatibilityCheck): void;
|
|
4515
|
-
|
|
4516
|
-
/**
|
|
4517
|
-
* Builds an unvalidated {@link EnsIndexerPublicConfig} object to be
|
|
4518
|
-
* validated with {@link makeEnsIndexerPublicConfigSchema}.
|
|
4519
|
-
*
|
|
4520
|
-
* @param serializedPublicConfig - The serialized public config to build from.
|
|
4521
|
-
* @return An unvalidated {@link EnsIndexerPublicConfig} object.
|
|
4522
|
-
*/
|
|
4523
|
-
declare function buildUnvalidatedEnsIndexerPublicConfig(serializedPublicConfig: SerializedEnsIndexerPublicConfig): Unvalidated<EnsIndexerPublicConfig>;
|
|
4524
|
-
/**
|
|
4525
|
-
* Deserialize value into {@link EnsIndexerPublicConfig} object.
|
|
4526
|
-
*/
|
|
4527
|
-
declare function deserializeEnsIndexerPublicConfig(maybePublicConfig: Unvalidated<SerializedEnsIndexerPublicConfig>, valueLabel?: string): EnsIndexerPublicConfig;
|
|
4528
|
-
/**
|
|
4529
|
-
* Deserialize object into a {@link EnsIndexerPublicConfig} object.
|
|
4530
|
-
*
|
|
4531
|
-
* @deprecated Use {@link deserializeEnsIndexerPublicConfig} instead.
|
|
4532
|
-
*/
|
|
4533
|
-
declare const deserializeENSIndexerPublicConfig: typeof deserializeEnsIndexerPublicConfig;
|
|
4534
|
-
|
|
4535
|
-
/**
|
|
4536
|
-
* Determines if the provided `config` results in indexing behavior compatible with the legacy ENS
|
|
4537
|
-
* Subgraph.
|
|
4538
|
-
*
|
|
4539
|
-
* @see https://ensnode.io/docs/concepts/what-is-the-ens-subgraph/
|
|
4540
|
-
*/
|
|
4541
|
-
declare function isSubgraphCompatible(config: Pick<EnsIndexerPublicConfig, "namespace" | "plugins" | "labelSet">): boolean;
|
|
4542
|
-
|
|
4543
|
-
/**
|
|
4544
|
-
* Converts a Labelhash to bytes, with validation
|
|
4545
|
-
* @param labelHash The Labelhash to convert
|
|
4546
|
-
* @returns A ByteArray containing the bytes
|
|
4547
|
-
* @throws Error if `labelHash` is not a valid 32-byte hex string
|
|
4548
|
-
*/
|
|
4549
|
-
declare function labelHashToBytes(labelHash: LabelHash): ByteArray;
|
|
4550
|
-
|
|
4551
|
-
/**
|
|
4552
|
-
* Builds a valid LabelSetId from a string.
|
|
4553
|
-
* @param maybeLabelSetId - The string to validate and convert to a LabelSetId.
|
|
4554
|
-
* @returns A valid LabelSetId.
|
|
4555
|
-
* @throws If the input string is not a valid LabelSetId.
|
|
4556
|
-
*/
|
|
4557
|
-
declare function buildLabelSetId(maybeLabelSetId: string): LabelSetId;
|
|
4558
|
-
/**
|
|
4559
|
-
* Builds a valid LabelSetVersion from a number or string.
|
|
4560
|
-
* @param maybeLabelSetVersion - The number or string to validate and convert to a LabelSetVersion.
|
|
4561
|
-
* @returns A valid LabelSetVersion.
|
|
4562
|
-
* @throws If the input is not a valid LabelSetVersion.
|
|
4563
|
-
*/
|
|
4564
|
-
declare function buildLabelSetVersion(maybeLabelSetVersion: number | string): LabelSetVersion;
|
|
4565
|
-
/**
|
|
4566
|
-
* Builds an EnsRainbowClientLabelSet.
|
|
4567
|
-
* @param labelSetId - The label set ID.
|
|
4568
|
-
* @param labelSetVersion - The label set version.
|
|
4569
|
-
* @returns A valid EnsRainbowClientLabelSet object.
|
|
4570
|
-
* @throws If `labelSetVersion` is defined without `labelSetId`.
|
|
4571
|
-
*/
|
|
4572
|
-
declare function buildEnsRainbowClientLabelSet(labelSetId?: LabelSetId, labelSetVersion?: LabelSetVersion): EnsRainbowClientLabelSet;
|
|
4573
|
-
/**
|
|
4574
|
-
* Validates that the server's label set is compatible with the client's requested label set.
|
|
4575
|
-
* @param serverSet - The label set provided by the server.
|
|
4576
|
-
* @param clientSet - The label set requested by the client.
|
|
4577
|
-
* @throws If the server set is not compatible with the client set.
|
|
4578
|
-
*/
|
|
4579
|
-
declare function validateSupportedLabelSetAndVersion(serverSet: EnsRainbowServerLabelSet, clientSet: EnsRainbowClientLabelSet): void;
|
|
4580
|
-
|
|
4581
|
-
/**
|
|
4582
|
-
* Parses a string into a non-negative integer.
|
|
4583
|
-
* @param input The string to parse
|
|
4584
|
-
* @returns The parsed non-negative integer
|
|
4585
|
-
* @throws Error if the input is not a valid non-negative integer
|
|
4586
|
-
*/
|
|
4587
|
-
declare function parseNonNegativeInteger(maybeNumber: string): number;
|
|
4588
|
-
|
|
4589
|
-
/**
|
|
4590
|
-
* Serializes a {@link ChainConfig} object.
|
|
4591
|
-
*/
|
|
4592
|
-
declare function serializeIndexedChainIds(indexedChainIds: Set<ChainId>): SerializedIndexedChainIds;
|
|
4593
|
-
/**
|
|
4594
|
-
* Serialize a {@link EnsIndexerPublicConfig} object.
|
|
4595
|
-
*/
|
|
4596
|
-
declare function serializeEnsIndexerPublicConfig(config: EnsIndexerPublicConfig): SerializedEnsIndexerPublicConfig;
|
|
4597
|
-
/**
|
|
4598
|
-
* Serialize a {@link EnsIndexerPublicConfig} object.
|
|
4599
|
-
*
|
|
4600
|
-
* @deprecated Use {@link serializeEnsIndexerPublicConfig} instead.
|
|
4601
|
-
*/
|
|
4602
|
-
declare const serializeENSIndexerPublicConfig: typeof serializeEnsIndexerPublicConfig;
|
|
4603
|
-
|
|
4604
|
-
/**
|
|
4605
|
-
* Validates an unvalidated representation of
|
|
4606
|
-
* {@link EnsIndexerPublicConfig} object.
|
|
4607
|
-
*
|
|
4608
|
-
* @throws Error if the provided object is not
|
|
4609
|
-
* a valid {@link EnsIndexerPublicConfig}.
|
|
4610
|
-
*/
|
|
4611
|
-
declare function validateEnsIndexerPublicConfig(unvalidatedConfig: Unvalidated<EnsIndexerPublicConfig>): EnsIndexerPublicConfig;
|
|
4612
|
-
|
|
4613
|
-
/**
|
|
4614
|
-
* Validates an unvalidated representation of
|
|
4615
|
-
* {@link EnsIndexerVersionInfo} object.
|
|
4616
|
-
*
|
|
4617
|
-
* @throws Error if the provided object is not
|
|
4618
|
-
* a valid {@link EnsIndexerVersionInfo}.
|
|
4619
|
-
*/
|
|
4620
|
-
declare function validateEnsIndexerVersionInfo(unvalidatedVersionInfo: Unvalidated<EnsIndexerVersionInfo>): EnsIndexerVersionInfo;
|
|
4621
|
-
|
|
4622
|
-
/**
|
|
4623
|
-
* ENSDb Client Query
|
|
4624
|
-
*
|
|
4625
|
-
* Includes methods for reading from ENSDb.
|
|
4626
|
-
*/
|
|
4627
|
-
interface EnsDbClientQuery {
|
|
4628
|
-
/**
|
|
4629
|
-
* Get ENSDb Version
|
|
4630
|
-
*
|
|
4631
|
-
* @returns the existing record, or `undefined`.
|
|
4632
|
-
*/
|
|
4633
|
-
getEnsDbVersion(): Promise<string | undefined>;
|
|
4634
|
-
/**
|
|
4635
|
-
* Get ENSIndexer Public Config
|
|
4636
|
-
*
|
|
4637
|
-
* @returns the existing record, or `undefined`.
|
|
4638
|
-
*/
|
|
4639
|
-
getEnsIndexerPublicConfig(): Promise<EnsIndexerPublicConfig | undefined>;
|
|
4640
|
-
/**
|
|
4641
|
-
* Get Indexing Status Snapshot
|
|
4642
|
-
*
|
|
4643
|
-
* @returns the existing record, or `undefined`.
|
|
4644
|
-
*/
|
|
4645
|
-
getIndexingStatusSnapshot(): Promise<CrossChainIndexingStatusSnapshot | undefined>;
|
|
4646
|
-
}
|
|
4647
|
-
/**
|
|
4648
|
-
* ENSDb Client Mutation
|
|
4649
|
-
*
|
|
4650
|
-
* Includes methods for writing into ENSDb.
|
|
4651
|
-
*/
|
|
4652
|
-
interface EnsDbClientMutation {
|
|
4653
|
-
/**
|
|
4654
|
-
* Upsert ENSDb Version
|
|
4655
|
-
*
|
|
4656
|
-
* @throws when upsert operation failed.
|
|
4657
|
-
*/
|
|
4658
|
-
upsertEnsDbVersion(ensDbVersion: string): Promise<void>;
|
|
4659
|
-
/**
|
|
4660
|
-
* Upsert ENSIndexer Public Config
|
|
4661
|
-
*
|
|
4662
|
-
* @throws when upsert operation failed.
|
|
4663
|
-
*/
|
|
4664
|
-
upsertEnsIndexerPublicConfig(ensIndexerPublicConfig: EnsIndexerPublicConfig): Promise<void>;
|
|
4665
|
-
/**
|
|
4666
|
-
* Upsert Indexing Status Snapshot
|
|
4667
|
-
*
|
|
4668
|
-
* @throws when upsert operation failed.
|
|
4669
|
-
*/
|
|
4670
|
-
upsertIndexingStatusSnapshot(indexingStatus: CrossChainIndexingStatusSnapshot): Promise<void>;
|
|
4671
|
-
}
|
|
4672
|
-
|
|
4673
|
-
/**
|
|
4674
|
-
* Keys used to distinguish records in `ensnode_metadata` table in the ENSDb.
|
|
4675
|
-
*/
|
|
4676
|
-
declare const EnsNodeMetadataKeys: {
|
|
4677
|
-
readonly EnsDbVersion: "ensdb_version";
|
|
4678
|
-
readonly EnsIndexerPublicConfig: "ensindexer_public_config";
|
|
4679
|
-
readonly EnsIndexerIndexingStatus: "ensindexer_indexing_status";
|
|
4680
|
-
};
|
|
4681
|
-
type EnsNodeMetadataKey = (typeof EnsNodeMetadataKeys)[keyof typeof EnsNodeMetadataKeys];
|
|
4682
|
-
interface EnsNodeMetadataEnsDbVersion {
|
|
4683
|
-
key: typeof EnsNodeMetadataKeys.EnsDbVersion;
|
|
4684
|
-
value: string;
|
|
4685
|
-
}
|
|
4686
|
-
interface EnsNodeMetadataEnsIndexerPublicConfig {
|
|
4687
|
-
key: typeof EnsNodeMetadataKeys.EnsIndexerPublicConfig;
|
|
4688
|
-
value: EnsIndexerPublicConfig;
|
|
4689
|
-
}
|
|
4690
|
-
interface EnsNodeMetadataEnsIndexerIndexingStatus {
|
|
4691
|
-
key: typeof EnsNodeMetadataKeys.EnsIndexerIndexingStatus;
|
|
4692
|
-
value: CrossChainIndexingStatusSnapshot;
|
|
4693
|
-
}
|
|
4694
|
-
/**
|
|
4695
|
-
* ENSNode Metadata
|
|
4696
|
-
*
|
|
4697
|
-
* Union type gathering all variants of ENSNode Metadata.
|
|
4698
|
-
*/
|
|
4699
|
-
type EnsNodeMetadata = EnsNodeMetadataEnsDbVersion | EnsNodeMetadataEnsIndexerPublicConfig | EnsNodeMetadataEnsIndexerIndexingStatus;
|
|
4700
|
-
|
|
4701
|
-
/**
|
|
4702
|
-
* Serialized representation of {@link EnsNodeMetadataEnsDbVersion}.
|
|
4703
|
-
*/
|
|
4704
|
-
type SerializedEnsNodeMetadataEnsDbVersion = EnsNodeMetadataEnsDbVersion;
|
|
4705
|
-
/**
|
|
4706
|
-
* Serialized representation of {@link EnsNodeMetadataEnsIndexerPublicConfig}.
|
|
4707
|
-
*/
|
|
4708
|
-
interface SerializedEnsNodeMetadataEnsIndexerPublicConfig {
|
|
4709
|
-
key: typeof EnsNodeMetadataKeys.EnsIndexerPublicConfig;
|
|
4710
|
-
value: SerializedEnsIndexerPublicConfig;
|
|
4711
|
-
}
|
|
4712
|
-
/**
|
|
4713
|
-
* Serialized representation of {@link EnsNodeMetadataEnsIndexerIndexingStatus}.
|
|
4714
|
-
*/
|
|
4715
|
-
interface SerializedEnsNodeMetadataEnsIndexerIndexingStatus {
|
|
4716
|
-
key: typeof EnsNodeMetadataKeys.EnsIndexerIndexingStatus;
|
|
4717
|
-
value: SerializedCrossChainIndexingStatusSnapshot;
|
|
4718
|
-
}
|
|
4719
|
-
/**
|
|
4720
|
-
* Serialized representation of {@link EnsNodeMetadata}
|
|
4721
|
-
*/
|
|
4722
|
-
type SerializedEnsNodeMetadata = SerializedEnsNodeMetadataEnsDbVersion | SerializedEnsNodeMetadataEnsIndexerPublicConfig | SerializedEnsNodeMetadataEnsIndexerIndexingStatus;
|
|
4723
|
-
|
|
4724
4537
|
/**
|
|
4725
4538
|
* ENSIndexer Public Config Response
|
|
4726
4539
|
*/
|
|
@@ -4852,6 +4665,120 @@ declare class EnsIndexerClient {
|
|
|
4852
4665
|
indexingStatus(): Promise<EnsIndexerIndexingStatusResponse>;
|
|
4853
4666
|
}
|
|
4854
4667
|
|
|
4668
|
+
type EnsIndexerPublicConfigCompatibilityCheck = Omit<EnsIndexerPublicConfig, "databaseSchemaName" | "ensRainbowPublicConfig" | "versionInfo">;
|
|
4669
|
+
/**
|
|
4670
|
+
* Validate if `configB` is compatible with `configA`, such that `configA` equals to `configB`.
|
|
4671
|
+
*
|
|
4672
|
+
* @throws error if configs are incompatible.
|
|
4673
|
+
*/
|
|
4674
|
+
declare function validateEnsIndexerPublicConfigCompatibility(configA: EnsIndexerPublicConfigCompatibilityCheck, configB: EnsIndexerPublicConfigCompatibilityCheck): void;
|
|
4675
|
+
|
|
4676
|
+
/**
|
|
4677
|
+
* Builds an unvalidated {@link EnsIndexerPublicConfig} object to be
|
|
4678
|
+
* validated with {@link makeEnsIndexerPublicConfigSchema}.
|
|
4679
|
+
*
|
|
4680
|
+
* @param serializedPublicConfig - The serialized public config to build from.
|
|
4681
|
+
* @return An unvalidated {@link EnsIndexerPublicConfig} object.
|
|
4682
|
+
*/
|
|
4683
|
+
declare function buildUnvalidatedEnsIndexerPublicConfig(serializedPublicConfig: SerializedEnsIndexerPublicConfig): Unvalidated<EnsIndexerPublicConfig>;
|
|
4684
|
+
/**
|
|
4685
|
+
* Deserialize value into {@link EnsIndexerPublicConfig} object.
|
|
4686
|
+
*/
|
|
4687
|
+
declare function deserializeEnsIndexerPublicConfig(maybePublicConfig: Unvalidated<SerializedEnsIndexerPublicConfig>, valueLabel?: string): EnsIndexerPublicConfig;
|
|
4688
|
+
/**
|
|
4689
|
+
* Deserialize object into a {@link EnsIndexerPublicConfig} object.
|
|
4690
|
+
*
|
|
4691
|
+
* @deprecated Use {@link deserializeEnsIndexerPublicConfig} instead.
|
|
4692
|
+
*/
|
|
4693
|
+
declare const deserializeENSIndexerPublicConfig: typeof deserializeEnsIndexerPublicConfig;
|
|
4694
|
+
|
|
4695
|
+
/**
|
|
4696
|
+
* Determines if the provided `config` results in indexing behavior compatible with the legacy ENS
|
|
4697
|
+
* Subgraph.
|
|
4698
|
+
*
|
|
4699
|
+
* @see https://ensnode.io/docs/concepts/what-is-the-ens-subgraph/
|
|
4700
|
+
*/
|
|
4701
|
+
declare function isSubgraphCompatible(config: Pick<EnsIndexerPublicConfig, "namespace" | "plugins" | "labelSet">): boolean;
|
|
4702
|
+
|
|
4703
|
+
/**
|
|
4704
|
+
* Converts a Labelhash to bytes, with validation
|
|
4705
|
+
* @param labelHash The Labelhash to convert
|
|
4706
|
+
* @returns A ByteArray containing the bytes
|
|
4707
|
+
* @throws Error if `labelHash` is not a valid 32-byte hex string
|
|
4708
|
+
*/
|
|
4709
|
+
declare function labelHashToBytes(labelHash: LabelHash): ByteArray;
|
|
4710
|
+
|
|
4711
|
+
/**
|
|
4712
|
+
* Builds a valid LabelSetId from a string.
|
|
4713
|
+
* @param maybeLabelSetId - The string to validate and convert to a LabelSetId.
|
|
4714
|
+
* @returns A valid LabelSetId.
|
|
4715
|
+
* @throws If the input string is not a valid LabelSetId.
|
|
4716
|
+
*/
|
|
4717
|
+
declare function buildLabelSetId(maybeLabelSetId: string): LabelSetId;
|
|
4718
|
+
/**
|
|
4719
|
+
* Builds a valid LabelSetVersion from a number or string.
|
|
4720
|
+
* @param maybeLabelSetVersion - The number or string to validate and convert to a LabelSetVersion.
|
|
4721
|
+
* @returns A valid LabelSetVersion.
|
|
4722
|
+
* @throws If the input is not a valid LabelSetVersion.
|
|
4723
|
+
*/
|
|
4724
|
+
declare function buildLabelSetVersion(maybeLabelSetVersion: number | string): LabelSetVersion;
|
|
4725
|
+
/**
|
|
4726
|
+
* Builds an EnsRainbowClientLabelSet.
|
|
4727
|
+
* @param labelSetId - The label set ID.
|
|
4728
|
+
* @param labelSetVersion - The label set version.
|
|
4729
|
+
* @returns A valid EnsRainbowClientLabelSet object.
|
|
4730
|
+
* @throws If `labelSetVersion` is defined without `labelSetId`.
|
|
4731
|
+
*/
|
|
4732
|
+
declare function buildEnsRainbowClientLabelSet(labelSetId?: LabelSetId, labelSetVersion?: LabelSetVersion): EnsRainbowClientLabelSet;
|
|
4733
|
+
/**
|
|
4734
|
+
* Validates that the server's label set is compatible with the client's requested label set.
|
|
4735
|
+
* @param serverSet - The label set provided by the server.
|
|
4736
|
+
* @param clientSet - The label set requested by the client.
|
|
4737
|
+
* @throws If the server set is not compatible with the client set.
|
|
4738
|
+
*/
|
|
4739
|
+
declare function validateSupportedLabelSetAndVersion(serverSet: EnsRainbowServerLabelSet, clientSet: EnsRainbowClientLabelSet): void;
|
|
4740
|
+
|
|
4741
|
+
/**
|
|
4742
|
+
* Parses a string into a non-negative integer.
|
|
4743
|
+
* @param input The string to parse
|
|
4744
|
+
* @returns The parsed non-negative integer
|
|
4745
|
+
* @throws Error if the input is not a valid non-negative integer
|
|
4746
|
+
*/
|
|
4747
|
+
declare function parseNonNegativeInteger(maybeNumber: string): number;
|
|
4748
|
+
|
|
4749
|
+
/**
|
|
4750
|
+
* Serializes a {@link ChainConfig} object.
|
|
4751
|
+
*/
|
|
4752
|
+
declare function serializeIndexedChainIds(indexedChainIds: Set<ChainId>): SerializedIndexedChainIds;
|
|
4753
|
+
/**
|
|
4754
|
+
* Serialize a {@link EnsIndexerPublicConfig} object.
|
|
4755
|
+
*/
|
|
4756
|
+
declare function serializeEnsIndexerPublicConfig(config: EnsIndexerPublicConfig): SerializedEnsIndexerPublicConfig;
|
|
4757
|
+
/**
|
|
4758
|
+
* Serialize a {@link EnsIndexerPublicConfig} object.
|
|
4759
|
+
*
|
|
4760
|
+
* @deprecated Use {@link serializeEnsIndexerPublicConfig} instead.
|
|
4761
|
+
*/
|
|
4762
|
+
declare const serializeENSIndexerPublicConfig: typeof serializeEnsIndexerPublicConfig;
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* Validates an unvalidated representation of
|
|
4766
|
+
* {@link EnsIndexerPublicConfig} object.
|
|
4767
|
+
*
|
|
4768
|
+
* @throws Error if the provided object is not
|
|
4769
|
+
* a valid {@link EnsIndexerPublicConfig}.
|
|
4770
|
+
*/
|
|
4771
|
+
declare function validateEnsIndexerPublicConfig(unvalidatedConfig: Unvalidated<EnsIndexerPublicConfig>): EnsIndexerPublicConfig;
|
|
4772
|
+
|
|
4773
|
+
/**
|
|
4774
|
+
* Validates an unvalidated representation of
|
|
4775
|
+
* {@link EnsIndexerVersionInfo} object.
|
|
4776
|
+
*
|
|
4777
|
+
* @throws Error if the provided object is not
|
|
4778
|
+
* a valid {@link EnsIndexerVersionInfo}.
|
|
4779
|
+
*/
|
|
4780
|
+
declare function validateEnsIndexerVersionInfo(unvalidatedVersionInfo: Unvalidated<EnsIndexerVersionInfo>): EnsIndexerVersionInfo;
|
|
4781
|
+
|
|
4855
4782
|
/**
|
|
4856
4783
|
* Check if provided EnsIndexerPublicConfig supports the ENSNode GraphQL API.
|
|
4857
4784
|
*/
|
|
@@ -5232,13 +5159,11 @@ declare class TtlCache<KeyType extends string, ValueType> implements Cache<KeyTy
|
|
|
5232
5159
|
declare const uniq: <T>(arr: T[]) => T[];
|
|
5233
5160
|
|
|
5234
5161
|
/**
|
|
5235
|
-
* Build a map of indexed blockranges for each indexed chain,
|
|
5236
|
-
* based on the ENSIndexer configuration.
|
|
5162
|
+
* Build a map of indexed blockranges for each indexed chain, based on the ENSIndexer configuration.
|
|
5237
5163
|
*
|
|
5238
|
-
* Useful for presenting a clear view of the indexed blockranges
|
|
5239
|
-
* across chains.
|
|
5164
|
+
* Useful for presenting a clear view of the indexed blockranges across chains.
|
|
5240
5165
|
*/
|
|
5241
|
-
declare function buildIndexedBlockranges(namespace: ENSNamespaceId,
|
|
5166
|
+
declare function buildIndexedBlockranges(namespace: ENSNamespaceId, pluginsDatasourceNames: Map<PluginName, DatasourceName[]>): Map<ChainId, BlockNumberRangeWithStartBlock>;
|
|
5242
5167
|
|
|
5243
5168
|
/**
|
|
5244
5169
|
* Gets the AccountId for the contract in the specified namespace, datasource, and
|
|
@@ -5564,16 +5489,36 @@ declare const getENSv1Registry: (namespace: ENSNamespaceId) => AccountId;
|
|
|
5564
5489
|
declare const isENSv1Registry: (namespace: ENSNamespaceId, contract: AccountId) => boolean;
|
|
5565
5490
|
/**
|
|
5566
5491
|
* Gets the AccountId representing the ENSv2 Root Registry in the selected `namespace`.
|
|
5492
|
+
*
|
|
5493
|
+
* @throws if the ENSv2Root Datasource or the RootRegistry contract are not defined
|
|
5567
5494
|
*/
|
|
5568
5495
|
declare const getENSv2RootRegistry: (namespace: ENSNamespaceId) => AccountId;
|
|
5569
5496
|
/**
|
|
5570
5497
|
* Gets the RegistryId representing the ENSv2 Root Registry in the selected `namespace`.
|
|
5498
|
+
*
|
|
5499
|
+
* @throws if the ENSv2Root Datasource or the RootRegistry contract are not defined
|
|
5571
5500
|
*/
|
|
5572
5501
|
declare const getENSv2RootRegistryId: (namespace: ENSNamespaceId) => RegistryId;
|
|
5573
5502
|
/**
|
|
5574
5503
|
* Determines whether `contract` is the ENSv2 Root Registry in `namespace`.
|
|
5504
|
+
*
|
|
5505
|
+
* @throws if the ENSv2Root Datasource or the RootRegistry contract are not defined
|
|
5575
5506
|
*/
|
|
5576
5507
|
declare const isENSv2RootRegistry: (namespace: ENSNamespaceId, contract: AccountId) => boolean;
|
|
5508
|
+
/**
|
|
5509
|
+
* Gets the AccountId representing the ENSv2 Root Registry in the selected `namespace` if defined,
|
|
5510
|
+
* otherwise `undefined`.
|
|
5511
|
+
*
|
|
5512
|
+
* TODO: remove this function and its usage after all namespaces define ENSv2Root
|
|
5513
|
+
*/
|
|
5514
|
+
declare const maybeGetENSv2RootRegistry: (namespace: ENSNamespaceId) => AccountId | undefined;
|
|
5515
|
+
/**
|
|
5516
|
+
* Gets the RegistryId representing the ENSv2 Root Registry in the selected `namespace` if defined,
|
|
5517
|
+
* otherwise `undefined`.
|
|
5518
|
+
*
|
|
5519
|
+
* TODO: remove this function and its usage after all namespaces define ENSv2Root
|
|
5520
|
+
*/
|
|
5521
|
+
declare const maybeGetENSv2RootRegistryId: (namespace: ENSNamespaceId) => RegistryId | undefined;
|
|
5577
5522
|
|
|
5578
5523
|
/**
|
|
5579
5524
|
* Serializes a {@link ChainId} value into its string representation.
|
|
@@ -5628,4 +5573,4 @@ declare function isWebSocketProtocol(url: URL): boolean;
|
|
|
5628
5573
|
*/
|
|
5629
5574
|
declare function hasSubgraphApiConfigSupport(config: EnsIndexerPublicConfig): PrerequisiteResult;
|
|
5630
5575
|
|
|
5631
|
-
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 BlockNumberRange, type BlockNumberRangeBounded, type BlockNumberRangeLeftBounded, type BlockNumberRangeRightBounded, type BlockNumberRangeUnbounded, type BlockNumberRangeWithStartBlock, type BlockRef, type BlockRefRange, type BlockRefRangeBounded, type BlockRefRangeLeftBounded, type BlockRefRangeRightBounded, type BlockRefRangeUnbounded, type BlockRefRangeWithStartBlock, type Cache, type CachedResult, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, 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, EnsApiClient, type EnsApiClientOptions, type EnsApiConfigResponse, type EnsApiIndexingStatusRequest, type EnsApiIndexingStatusResponse, type EnsApiIndexingStatusResponseCode, EnsApiIndexingStatusResponseCodes, type EnsApiIndexingStatusResponseError, type EnsApiIndexingStatusResponseOk, type EnsApiPublicConfig, type EnsDbClientMutation, type EnsDbClientQuery, EnsIndexerClient, type EnsIndexerClientOptions, type EnsIndexerConfigResponse, type EnsIndexerIndexingStatusRequest, type EnsIndexerIndexingStatusResponse, type EnsIndexerIndexingStatusResponseCode, EnsIndexerIndexingStatusResponseCodes, type EnsIndexerIndexingStatusResponseError, type EnsIndexerIndexingStatusResponseOk, type EnsIndexerPublicConfig, type EnsIndexerPublicConfigCompatibilityCheck, type EnsIndexerVersionInfo, type EnsNodeMetadata, type EnsNodeMetadataEnsDbVersion, type EnsNodeMetadataEnsIndexerIndexingStatus, type EnsNodeMetadataEnsIndexerPublicConfig, type EnsNodeMetadataKey, EnsNodeMetadataKeys, type EnsRainbowClientLabelSet, type EnsRainbowPublicConfig, 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 NamespaceSpecificValue, 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 PrerequisiteResult, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RangeType, RangeTypeIds, 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 SerializedCrossChainIndexingStatusSnapshot, type SerializedCrossChainIndexingStatusSnapshotOmnichain, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedEnsApiConfigResponse, type SerializedEnsApiIndexingStatusResponse, type SerializedEnsApiIndexingStatusResponseError, type SerializedEnsApiIndexingStatusResponseOk, type SerializedEnsApiPublicConfig, type SerializedEnsIndexerConfigResponse, type SerializedEnsIndexerIndexingStatusResponse, type SerializedEnsIndexerIndexingStatusResponseError, type SerializedEnsIndexerIndexingStatusResponseOk, type SerializedEnsIndexerPublicConfig, type SerializedEnsIndexerVersionInfo, type SerializedEnsNodeMetadata, type SerializedEnsNodeMetadataEnsDbVersion, type SerializedEnsNodeMetadataEnsIndexerIndexingStatus, type SerializedEnsNodeMetadataEnsIndexerPublicConfig, 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, buildBlockNumberRange, buildBlockRefRange, buildCrossChainIndexingStatusSnapshotOmnichain, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildIndexedBlockranges, buildLabelSetId, buildLabelSetVersion, buildOmnichainIndexingStatusSnapshot, buildPageContext, buildUnresolvedIdentity, buildUnvalidatedCrossChainIndexingStatusSnapshot, buildUnvalidatedEnsIndexerPublicConfig, buildUnvalidatedOmnichainIndexingStatusSnapshot, buildUnvalidatedRealtimeIndexingStatusProjection, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeEnsApiConfigResponse, deserializeEnsApiIndexingStatusResponse, deserializeEnsApiPublicConfig, deserializeEnsIndexerConfigResponse, deserializeEnsIndexerIndexingStatusResponse, 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, getNamespaceSpecificValue, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasGraphqlApiConfigSupport, hasNullByte, hasRegistrarActionsConfigSupport, hasRegistrarActionsIndexingStatusSupport, hasSubgraphApiConfigSupport, 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, makeEnsApiPublicConfigSchema, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSerializedEnsApiPublicConfigSchema, makeSubdomainNode, maybeGetDatasourceContract, mergeBlockNumberRanges, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEncodedLabelHash, parseEth, parseLabelHash, parseLabelHashOrEncodedLabelHash, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeCrossChainIndexingStatusSnapshot, serializeCrossChainIndexingStatusSnapshotOmnichain, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeEnsApiConfigResponse, serializeEnsApiIndexingStatusResponse, serializeEnsApiPublicConfig, serializeEnsIndexerConfigResponse, serializeEnsIndexerIndexingStatusResponse, serializeEnsIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateCrossChainIndexingStatusSnapshot, validateEnsIndexerPublicConfig, validateEnsIndexerPublicConfigCompatibility, validateEnsIndexerVersionInfo, validateOmnichainIndexingStatusSnapshot, validateRealtimeIndexingStatusProjection, validateSupportedLabelSetAndVersion };
|
|
5576
|
+
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 BlockNumberRange, type BlockNumberRangeBounded, type BlockNumberRangeLeftBounded, type BlockNumberRangeRightBounded, type BlockNumberRangeUnbounded, type BlockNumberRangeWithStartBlock, type BlockRef, type BlockRefRange, type BlockRefRangeBounded, type BlockRefRangeLeftBounded, type BlockRefRangeRightBounded, type BlockRefRangeUnbounded, type BlockRefRangeWithStartBlock, type Cache, type CachedResult, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, 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, EnsApiClient, type EnsApiClientOptions, type EnsApiConfigResponse, type EnsApiIndexingStatusRequest, type EnsApiIndexingStatusResponse, type EnsApiIndexingStatusResponseCode, EnsApiIndexingStatusResponseCodes, type EnsApiIndexingStatusResponseError, type EnsApiIndexingStatusResponseOk, type EnsApiPublicConfig, EnsIndexerClient, type EnsIndexerClientOptions, type EnsIndexerConfigResponse, type EnsIndexerIndexingStatusRequest, type EnsIndexerIndexingStatusResponse, type EnsIndexerIndexingStatusResponseCode, EnsIndexerIndexingStatusResponseCodes, type EnsIndexerIndexingStatusResponseError, type EnsIndexerIndexingStatusResponseOk, type EnsIndexerPublicConfig, type EnsIndexerPublicConfigCompatibilityCheck, type EnsIndexerVersionInfo, type EnsRainbowClientLabelSet, type EnsRainbowPublicConfig, 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 NamespaceSpecificValue, 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 PrerequisiteResult, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RangeType, RangeTypeIds, 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 SerializedCrossChainIndexingStatusSnapshot, type SerializedCrossChainIndexingStatusSnapshotOmnichain, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedEnsApiConfigResponse, type SerializedEnsApiIndexingStatusResponse, type SerializedEnsApiIndexingStatusResponseError, type SerializedEnsApiIndexingStatusResponseOk, type SerializedEnsApiPublicConfig, type SerializedEnsIndexerConfigResponse, type SerializedEnsIndexerIndexingStatusResponse, type SerializedEnsIndexerIndexingStatusResponseError, type SerializedEnsIndexerIndexingStatusResponseOk, 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, buildBlockNumberRange, buildBlockRefRange, buildCrossChainIndexingStatusSnapshotOmnichain, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildIndexedBlockranges, buildLabelSetId, buildLabelSetVersion, buildOmnichainIndexingStatusSnapshot, buildPageContext, buildUnresolvedIdentity, buildUnvalidatedCrossChainIndexingStatusSnapshot, buildUnvalidatedEnsIndexerPublicConfig, buildUnvalidatedOmnichainIndexingStatusSnapshot, buildUnvalidatedRealtimeIndexingStatusProjection, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeEnsApiConfigResponse, deserializeEnsApiIndexingStatusResponse, deserializeEnsApiPublicConfig, deserializeEnsIndexerConfigResponse, deserializeEnsIndexerIndexingStatusResponse, 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, getHighestKnownBlockTimestamp, getLatestIndexedBlockRef, getLineanamesSubregistryId, getLineanamesSubregistryManagedName, getNFTTransferType, getNameHierarchy, getNameTokenOwnership, getNameWrapperAccounts, getNamespaceSpecificValue, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasGraphqlApiConfigSupport, hasNullByte, hasRegistrarActionsConfigSupport, hasRegistrarActionsIndexingStatusSupport, hasSubgraphApiConfigSupport, 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, makeEnsApiPublicConfigSchema, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSerializedEnsApiPublicConfigSchema, makeSubdomainNode, maybeGetDatasourceContract, maybeGetENSv2RootRegistry, maybeGetENSv2RootRegistryId, mergeBlockNumberRanges, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEncodedLabelHash, parseEth, parseLabelHash, parseLabelHashOrEncodedLabelHash, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeCrossChainIndexingStatusSnapshot, serializeCrossChainIndexingStatusSnapshotOmnichain, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeEnsApiConfigResponse, serializeEnsApiIndexingStatusResponse, serializeEnsApiPublicConfig, serializeEnsIndexerConfigResponse, serializeEnsIndexerIndexingStatusResponse, serializeEnsIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateCrossChainIndexingStatusSnapshot, validateEnsIndexerPublicConfig, validateEnsIndexerPublicConfigCompatibility, validateEnsIndexerVersionInfo, validateOmnichainIndexingStatusSnapshot, validateRealtimeIndexingStatusProjection, validateSupportedLabelSetAndVersion };
|