viem
Version:
141 lines • 6.8 kB
TypeScript
export declare const tempo: {
blockExplorers: {
readonly default: {
readonly name: "Tempo Explorer";
readonly url: "https://explore.tempo.xyz";
};
};
blockTime: 1000;
contracts: {
readonly earnFactory: {
readonly address: "0xb5889A96114014d4C032ebD76772c10bF3b97137";
};
readonly erc4626EngineFactory: {
readonly address: "0xd43D00981222a8db444A528E69f19E3cE5A7D2Ff";
};
};
ensTlds?: readonly string[] | undefined;
id: 4217;
name: "Tempo Mainnet";
nativeCurrency: {
readonly name: "USD";
readonly symbol: "USD";
readonly decimals: 6;
};
experimental_preconfirmationTime?: number | undefined | undefined;
rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.tempo.xyz"];
readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
};
};
sourceId?: number | undefined | undefined;
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
testnet?: boolean | undefined | undefined;
custom?: Record<string, unknown> | undefined;
extendSchema: {
feeToken?: import("ox/tempo/TokenId").TokenIdOrAddress | undefined;
hardfork?: import("../../tempo/Hardfork.js").Hardfork | undefined;
};
fees?: import("../../index.js").ChainFees<undefined> | undefined;
formatters: {
readonly transaction: {
exclude: never[] | undefined;
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => import("../index.js").z_Transaction<bigint, number, boolean>;
type: "transaction";
};
readonly transactionReceipt: {
exclude: [] | undefined;
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => import("../index.js").z_TransactionReceipt;
type: "transactionReceipt";
};
readonly transactionRequest: {
exclude: [] | undefined;
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => import("../index.js").z_TransactionRequestRpc;
type: "transactionRequest";
};
};
prepareTransactionRequest: [(r: import("../../index.js").PrepareTransactionRequestParameters, { client, phase }: {
client: import("../../index.js").Client;
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
}) => Promise<import("../../index.js").PrepareTransactionRequestParameters>, {
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
}];
serializers: {
readonly transaction: import("../../index.js").SerializeTransactionFn;
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
serializedTransaction: import("../../index.js").TransactionSerializedGeneric;
transaction: import("../../index.js").TransactionSerializable;
}) => Promise<`0x${string}`>;
};
verifyHash: (client: import("../../index.js").Client, parameters: import("../../index.js").VerifyHashActionParameters) => Promise<boolean>;
extend: <const extended_1 extends {
feeToken?: import("ox/tempo/TokenId").TokenIdOrAddress | undefined;
hardfork?: import("../../tempo/Hardfork.js").Hardfork | undefined;
}>(extended: extended_1) => import("../index.js").Assign<import("../index.js").Assign<import("../index.js").Chain<undefined>, {
readonly id: 4217;
readonly blockExplorers: {
readonly default: {
readonly name: "Tempo Explorer";
readonly url: "https://explore.tempo.xyz";
};
};
readonly contracts: {
readonly earnFactory: {
readonly address: "0xb5889A96114014d4C032ebD76772c10bF3b97137";
};
readonly erc4626EngineFactory: {
readonly address: "0xd43D00981222a8db444A528E69f19E3cE5A7D2Ff";
};
};
readonly name: "Tempo Mainnet";
readonly nativeCurrency: {
readonly name: "USD";
readonly symbol: "USD";
readonly decimals: 6;
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.tempo.xyz"];
readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
};
};
readonly blockTime: 1000;
readonly extendSchema: {
feeToken?: import("ox/tempo/TokenId").TokenIdOrAddress | undefined;
hardfork?: import("../../tempo/Hardfork.js").Hardfork | undefined;
};
readonly formatters: {
readonly transaction: {
exclude: never[] | undefined;
format: (args: import("../index.js").z_TransactionRpc, action?: string | undefined) => import("../index.js").z_Transaction<bigint, number, boolean>;
type: "transaction";
};
readonly transactionReceipt: {
exclude: [] | undefined;
format: (args: import("../index.js").z_TransactionReceiptRpc, action?: string | undefined) => import("../index.js").z_TransactionReceipt;
type: "transactionReceipt";
};
readonly transactionRequest: {
exclude: [] | undefined;
format: (args: import("../index.js").z_TransactionRequest, action?: string | undefined) => import("../index.js").z_TransactionRequestRpc;
type: "transactionRequest";
};
};
readonly prepareTransactionRequest: [(r: import("../../index.js").PrepareTransactionRequestParameters, { client, phase }: {
client: import("../../index.js").Client;
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
}) => Promise<import("../../index.js").PrepareTransactionRequestParameters>, {
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
}];
readonly serializers: {
readonly transaction: import("../../index.js").SerializeTransactionFn;
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
serializedTransaction: import("../../index.js").TransactionSerializedGeneric;
transaction: import("../../index.js").TransactionSerializable;
}) => Promise<`0x${string}`>;
};
readonly verifyHash: (client: import("../../index.js").Client, parameters: import("../../index.js").VerifyHashActionParameters) => Promise<boolean>;
}>, extended_1>;
};
//# sourceMappingURL=tempo.d.ts.map