-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { ServiceEndpoint } from '../types/service.types'; | ||
declare const services: Array<ServiceEndpoint>; | ||
export default services; | ||
//# sourceMappingURL=services.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export type BlockType = { | ||
label: string; | ||
url: string; | ||
}; | ||
//# sourceMappingURL=block.types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import { BlockType } from './block.types'; | ||
import { GraphID } from './graph.types'; | ||
import { PinaxID } from './pinax.types'; | ||
import { | ||
___InternalConsensusLayerServices, | ||
___InternalSupportedServices, | ||
ConsensusLayerServices, | ||
SupportedServices, | ||
} from './service.types'; | ||
import { Standard } from './standard.types'; | ||
export type ChainBase = { | ||
id: PinaxID; | ||
name: string; | ||
alt_names: string[]; | ||
graph_id: GraphID | null; | ||
index?: number; | ||
standard: Standard | null; | ||
is_detailed_blocks: boolean; | ||
block_type: BlockType; | ||
}; | ||
export type ___InternalTestnet = ChainBase & { | ||
supported_services: ___InternalSupportedServices; | ||
metadata?: { | ||
deprecated_replacing_chain?: PinaxID; | ||
}; | ||
}; | ||
export type ___InternalConsensusLayer = ChainBase & { | ||
supported_services: ___InternalConsensusLayerServices; | ||
}; | ||
export type ___InternalEVM = ChainBase & { | ||
supported_services: ___InternalSupportedServices; | ||
}; | ||
/** | ||
* Describes the Data that needs to be provided for a Chain. | ||
* | ||
* The Chain type theb extends the Chain type to include | ||
* the generated fields. | ||
*/ | ||
export interface ___InternalChain extends ChainBase { | ||
icon: { | ||
id: string; | ||
brand_theme: 'light' | 'dark' | 'both'; | ||
variants?: Array<'branded' | 'mono'>; | ||
}; | ||
supported_services: ___InternalSupportedServices; | ||
testnets?: Array<___InternalTestnet>; | ||
consensus?: Array<___InternalConsensusLayer>; | ||
evms?: Array<___InternalEVM>; | ||
metadata?: { | ||
layer?: 'L0' | 'L1' | 'L2' | 'L3'; | ||
website?: string; | ||
mainchain_id?: PinaxID | string; | ||
tags?: string[]; | ||
deprecated_replacing_chain?: PinaxID; | ||
}; | ||
} | ||
export type Testnet = ChainBase & { | ||
supported_services: SupportedServices; | ||
metadata?: { | ||
deprecated_replacing_chain?: PinaxID; | ||
}; | ||
}; | ||
export type ConsensusLayer = ChainBase & { | ||
supported_services: ConsensusLayerServices; | ||
}; | ||
export type EVM = ChainBase & { | ||
supported_services: SupportedServices; | ||
}; | ||
/** | ||
* Describes the Data that needs to be provided for a Chain. | ||
* | ||
* The Chain type theb extends the Chain type to include | ||
* the generated fields. | ||
*/ | ||
export interface Chain extends ChainBase { | ||
icon: { | ||
id: string; | ||
brand_theme: 'light' | 'dark' | 'both'; | ||
variants?: Array<'branded' | 'mono'>; | ||
}; | ||
supported_services: SupportedServices; | ||
testnets?: Array<Testnet>; | ||
consensus?: Array<ConsensusLayer>; | ||
evms?: Array<EVM>; | ||
metadata?: { | ||
layer?: 'L0' | 'L1' | 'L2' | 'L3'; | ||
website?: string; | ||
mainchain_id?: PinaxID | string; | ||
tags?: string[]; | ||
deprecated_replacing_chain?: PinaxID; | ||
}; | ||
} | ||
//# sourceMappingURL=chain.types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
export type GraphID = | ||
| 'arbitrum-nova' | ||
| 'arbitrum-one' | ||
| 'arbitrum-sepolia' | ||
| 'arweave-mainnet' | ||
| 'astar-zkevm-mainnet' | ||
| 'aurora' | ||
| 'aurora-testnet' | ||
| 'avalanche' | ||
| 'base' | ||
| 'base-sepolia' | ||
| 'blast-mainnet' | ||
| 'blast-testnet' | ||
| 'boba' | ||
| 'bsc' | ||
| 'btc' | ||
| 'celo' | ||
| 'celo-alfajores' | ||
| 'chapel' | ||
| 'cosmoshub-4' | ||
| 'etherlink-mainnet' | ||
| 'etherlink-testnet' | ||
| 'fantom' | ||
| 'fantom-testnet' | ||
| 'fuji' | ||
| 'fuse' | ||
| 'gnosis' | ||
| 'gnosis-chiado' | ||
| 'gravity-mainnet' | ||
| 'gravity-testnet' | ||
| 'harmony' | ||
| 'holesky' | ||
| 'iotex' | ||
| 'iotex-testnet' | ||
| 'linea' | ||
| 'linea-sepolia' | ||
| 'mainnet' | ||
| 'matic' | ||
| 'mbase' | ||
| 'mode-mainnet' | ||
| 'mode-sepolia' | ||
| 'moonbeam' | ||
| 'moonriver' | ||
| 'near-mainnet' | ||
| 'near-testnet' | ||
| 'neox' | ||
| 'neox-testnet' | ||
| 'optimism' | ||
| 'optimism-sepolia' | ||
| 'osmo-test-4' | ||
| 'osmosis-1' | ||
| 'polygon-amoy' | ||
| 'polygon-zkevm' | ||
| 'polygon-zkevm-cardona' | ||
| 'rootstock' | ||
| 'scroll' | ||
| 'scroll-sepolia' | ||
| 'sei-atlantic' | ||
| 'sei-mainnet' | ||
| 'sei-testnet' | ||
| 'sepolia' | ||
| 'solana-mainnet-beta' | ||
| 'theta-testnet-001' | ||
| 'xlayer-mainnet' | ||
| 'xlayer-sepolia' | ||
| 'zksync-era' | ||
| 'zksync-era-sepolia' | ||
| 'zksync-era-testnet' | ||
| 'zkyoto-testnet'; | ||
//# sourceMappingURL=graph.types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export * from './block.types'; | ||
export * from './chain.types'; | ||
export * from './graph.types'; | ||
export * from './pinax.types'; | ||
export * from './service.types'; | ||
export * from './standard.types'; | ||
//# sourceMappingURL=index.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
export type PinaxID = | ||
| 'arbone' | ||
| 'arbgoerli' | ||
| 'arbsepolia' | ||
| 'arweave' | ||
| 'avalanche' | ||
| 'base' | ||
| 'bitcoin' | ||
| 'blast' | ||
| 'blastsepolia' | ||
| 'boba' | ||
| 'bobasepolia' | ||
| 'bsc' | ||
| 'chapel' | ||
| 'cardano' | ||
| 'celo' | ||
| 'alfajores' | ||
| 'cosmoshub' | ||
| 'juno' | ||
| 'theta' | ||
| 'cronos' | ||
| 'decimal' | ||
| 'eosevm' | ||
| 'eos' | ||
| 'jungle4' | ||
| 'kylin' | ||
| 'eth-cl' | ||
| 'goerli-cl' | ||
| 'holesky-cl' | ||
| 'sepolia-cl' | ||
| 'eth' | ||
| 'goerli' | ||
| 'holesky' | ||
| 'sepolia' | ||
| 'fantom' | ||
| 'fuse' | ||
| 'chiado-cl' | ||
| 'gnosis-cl' | ||
| 'gnosis' | ||
| 'chiado' | ||
| 'kava' | ||
| 'linea' | ||
| 'litecoin' | ||
| 'mode' | ||
| 'moonbeam' | ||
| 'near' | ||
| 'neartest' | ||
| 'optimism' | ||
| 'ore' | ||
| 'orestage' | ||
| 'osmosis' | ||
| 'polygon' | ||
| 'amoy' | ||
| 'mumbai' | ||
| 'ronin' | ||
| 'scroll' | ||
| 'sei' | ||
| 'starknet' | ||
| 'telos' | ||
| 'telostest' | ||
| 'wax' | ||
| 'waxtest' | ||
| 'x-layer' | ||
| 'xai' | ||
| 'zkastar' | ||
| 'zkatana' | ||
| 'zkyoto' | ||
| 'zksync' | ||
| 'zora'; | ||
//# sourceMappingURL=pinax.types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export type ConsensusLayerServiceID = 'substreams' | 'firehose'; | ||
export type ServiceID = ConsensusLayerServiceID | 'rpc'; | ||
export type ServiceEndpoint = { | ||
name: string; | ||
endpoint_slug: ServiceID; | ||
port: number; | ||
}; | ||
export type ___InternalConsensusLayerServices = { | ||
[key in ConsensusLayerServiceID]: ServiceStatusDates; | ||
}; | ||
export type ___InternalSupportedServices = { | ||
[key in ServiceID]: ServiceStatusDates; | ||
}; | ||
export type ServiceStatusDates = { | ||
beta_released_at: string | null; | ||
full_released_at: string | null; | ||
deprecated_at: string | null; | ||
}; | ||
export type ConsensusLayerServices = { | ||
[key in ConsensusLayerServiceID]: ServiceStatusDates; | ||
}; | ||
export type SupportedServices = { | ||
[key in ServiceID]: ServiceStatusDates; | ||
}; | ||
//# sourceMappingURL=service.types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export type Standard = | ||
| 'antelope' | ||
| 'arweave' | ||
| 'brc20' | ||
| 'cosmos' | ||
| 'erc20' | ||
| 'ltc20' | ||
| 'near' | ||
| 'rrc20' | ||
| 'sei' | ||
| 'cardano'; | ||
//# sourceMappingURL=standard.types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.