@ssv-labs/bapps-sdk
Version:
ssv labs based apps sdk
136 lines (135 loc) • 5.01 kB
TypeScript
import { Address } from 'abitype';
export declare const hoodi: {
blockExplorers?: {
[key: string]: {
name: string;
url: string;
apiUrl?: string | undefined;
};
default: {
name: string;
url: string;
apiUrl?: string | undefined;
};
} | undefined;
contracts?: {
[x: string]: import('viem').ChainContract | {
[sourceId: number]: import('viem').ChainContract | undefined;
} | undefined;
ensRegistry?: import('viem').ChainContract | undefined;
ensUniversalResolver?: import('viem').ChainContract | undefined;
multicall3?: import('viem').ChainContract | undefined;
universalSignatureVerifier?: import('viem').ChainContract | undefined;
} | undefined;
id: 560048;
name: "Hoodi";
nativeCurrency: {
readonly name: "Hoodi Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.hoodi.ethpandaops.io"];
};
};
sourceId?: number | undefined;
testnet: true;
custom?: Record<string, unknown> | undefined;
fees?: import('viem').ChainFees<undefined> | undefined;
formatters?: undefined;
serializers?: import('viem').ChainSerializers<undefined, import('viem').TransactionSerializable> | undefined;
};
export declare const chains: {
readonly holesky: {
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://holesky.etherscan.io";
readonly apiUrl: "https://api-holesky.etherscan.io/api";
};
};
contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 77;
};
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
readonly blockCreated: 801613;
};
readonly ensUniversalResolver: {
readonly address: "0xa6AC935D4971E3CD133b950aE053bECD16fE7f3b";
readonly blockCreated: 973484;
};
};
id: 17000;
name: "Holesky";
nativeCurrency: {
readonly name: "Holesky Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://ethereum-holesky-rpc.publicnode.com"];
};
};
sourceId?: number | undefined;
testnet: true;
custom?: Record<string, unknown> | undefined;
fees?: import('viem').ChainFees<undefined> | undefined;
formatters?: undefined;
serializers?: import('viem').ChainSerializers<undefined, import('viem').TransactionSerializable<bigint, number>> | undefined;
};
readonly hoodi: {
blockExplorers?: {
[key: string]: {
name: string;
url: string;
apiUrl?: string | undefined;
};
default: {
name: string;
url: string;
apiUrl?: string | undefined;
};
} | undefined;
contracts?: {
[x: string]: import('viem').ChainContract | {
[sourceId: number]: import('viem').ChainContract | undefined;
} | undefined;
ensRegistry?: import('viem').ChainContract | undefined;
ensUniversalResolver?: import('viem').ChainContract | undefined;
multicall3?: import('viem').ChainContract | undefined;
universalSignatureVerifier?: import('viem').ChainContract | undefined;
} | undefined;
id: 560048;
name: "Hoodi";
nativeCurrency: {
readonly name: "Hoodi Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.hoodi.ethpandaops.io"];
};
};
sourceId?: number | undefined;
testnet: true;
custom?: Record<string, unknown> | undefined;
fees?: import('viem').ChainFees<undefined> | undefined;
formatters?: undefined;
serializers?: import('viem').ChainSerializers<undefined, import('viem').TransactionSerializable> | undefined;
};
};
export declare const chainIds: readonly [17000, 560048];
export type ChainId = (typeof chainIds)[number];
export declare const networks: readonly ["holesky", "hoodi"];
export type Network = Lowercase<(typeof networks)[number]>;
export declare const bam_graph_endpoints: Record<ChainId, string>;
export type ContractAddresses = {
bapp: Address;
};
export declare const contracts: Record<ChainId, ContractAddresses>;