viem
Version:
111 lines • 4.81 kB
TypeScript
export declare const worldchain: {
blockExplorers: {
readonly default: {
readonly name: "Worldscan";
readonly url: "https://worldscan.org";
readonly apiUrl: "https://api.worldscan.org/api";
};
readonly blockscout: {
readonly name: "Blockscout";
readonly url: "https://worldchain-mainnet.explorer.alchemy.com";
readonly apiUrl: "https://worldchain-mainnet.explorer.alchemy.com/api";
};
};
blockTime: 2000;
contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 0;
};
readonly disputeGameFactory: {
readonly 1: {
readonly address: "0x069c4c579671f8c120b1327a73217D01Ea2EC5ea";
};
};
readonly l2OutputOracle: {
readonly 1: {
readonly address: "0x19A6d1E9034596196295CF148509796978343c5D";
};
};
readonly portal: {
readonly 1: {
readonly address: "0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C";
};
};
readonly l1StandardBridge: {
readonly 1: {
readonly address: "0x470458C91978D2d929704489Ad730DC3E3001113";
};
};
readonly gasPriceOracle: {
readonly address: "0x420000000000000000000000000000000000000F";
};
readonly l1Block: {
readonly address: "0x4200000000000000000000000000000000000015";
};
readonly l2CrossDomainMessenger: {
readonly address: "0x4200000000000000000000000000000000000007";
};
readonly l2Erc721Bridge: {
readonly address: "0x4200000000000000000000000000000000000014";
};
readonly l2StandardBridge: {
readonly address: "0x4200000000000000000000000000000000000010";
};
readonly l2ToL1MessagePasser: {
readonly address: "0x4200000000000000000000000000000000000016";
};
};
ensTlds?: readonly string[] | undefined;
id: 480;
name: "World Chain";
nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
experimental_preconfirmationTime?: number | undefined | undefined;
rpcUrls: {
readonly default: {
readonly http: readonly ["https://worldchain-mainnet.g.alchemy.com/public"];
};
};
sourceId: 1;
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
testnet: false;
custom?: Record<string, unknown> | undefined;
extendSchema?: Record<string, unknown> | undefined;
fees?: import("../../index.js").ChainFees<undefined> | undefined;
formatters: {
readonly block: {
exclude: [] | undefined;
format: (args: import("../index.js").OpStackRpcBlock, action?: string | undefined) => import("../index.js").OpStackBlock;
type: "block";
};
readonly transaction: {
exclude: [] | undefined;
format: (args: import("../index.js").OpStackRpcTransaction, action?: string | undefined) => import("../index.js").OpStackTransaction;
type: "transaction";
};
readonly transactionReceipt: {
exclude: [] | undefined;
format: (args: import("../index.js").OpStackRpcTransactionReceipt, action?: string | undefined) => import("../index.js").OpStackTransactionReceipt;
type: "transactionReceipt";
};
};
prepareTransactionRequest?: ((args: import("../../index.js").PrepareTransactionRequestParameters, options: {
client: import("../../index.js").Client;
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
}) => Promise<import("../../index.js").PrepareTransactionRequestParameters>) | [fn: ((args: import("../../index.js").PrepareTransactionRequestParameters, options: {
client: import("../../index.js").Client;
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
}) => Promise<import("../../index.js").PrepareTransactionRequestParameters>) | undefined, options: {
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
}] | undefined;
serializers: {
readonly transaction: typeof import("../index.js").serializeTransactionOpStack;
};
verifyHash?: ((client: import("../../index.js").Client, parameters: import("../../index.js").VerifyHashActionParameters) => Promise<import("../../index.js").VerifyHashActionReturnType>) | undefined;
readonly network: "worldchain";
};
//# sourceMappingURL=worldchain.d.ts.map