@malda-protocol/protocol-config
Version:
Centralized contract addresses, constants, and token configurations for Malda Protocol
1,253 lines • 77.8 kB
TypeScript
import { z } from 'zod';
import type { Address } from 'viem';
export declare const ASSET_SYMBOLS: {
readonly USDC: "USDC";
readonly USDT: "USDT";
readonly WETH: "WETH";
readonly WBTC: "WBTC";
readonly WSTETH: "wstETH";
readonly EZETH: "ezETH";
readonly WEETH: "weETH";
readonly WRSETH: "wrsETH / rsETH";
};
export type AssetSymbol = (typeof ASSET_SYMBOLS)[keyof typeof ASSET_SYMBOLS];
export declare const PRODUCTION_CHAINS: readonly [{
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://etherscan.io";
readonly apiUrl: "https://api.etherscan.io/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly ensUniversalResolver: {
readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
readonly blockCreated: 19258213;
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 14353601;
};
};
ensTlds?: readonly string[] | undefined;
id: 1;
name: "Ethereum";
nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://eth.merkle.io"];
};
};
sourceId?: number | undefined | undefined;
testnet?: boolean | undefined | undefined;
custom?: Record<string, unknown> | undefined;
fees?: import("viem").ChainFees<undefined> | undefined;
formatters?: undefined;
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
}, {
blockExplorers: {
readonly default: {
readonly name: "Basescan";
readonly url: "https://basescan.org";
readonly apiUrl: "https://api.basescan.org/api";
};
};
blockTime: 2000;
contracts: {
readonly disputeGameFactory: {
readonly 1: {
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
};
};
readonly l2OutputOracle: {
readonly 1: {
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
};
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 5022;
};
readonly portal: {
readonly 1: {
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
readonly blockCreated: 17482143;
};
};
readonly l1StandardBridge: {
readonly 1: {
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
readonly blockCreated: 17482143;
};
};
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: 8453;
name: "Base";
nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://mainnet.base.org"];
};
};
sourceId: 1;
testnet?: boolean | undefined | undefined;
custom?: Record<string, unknown> | undefined;
fees?: import("viem").ChainFees<undefined> | undefined;
formatters: {
readonly block: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcBlock) => {
baseFeePerGas: bigint | null;
blobGasUsed: bigint;
difficulty: bigint;
excessBlobGas: bigint;
extraData: import("viem").Hex;
gasLimit: bigint;
gasUsed: bigint;
hash: `0x${string}` | null;
logsBloom: `0x${string}` | null;
miner: `0x${string}`;
mixHash: import("viem").Hash;
nonce: `0x${string}` | null;
number: bigint | null;
parentBeaconBlockRoot?: `0x${string}` | undefined;
parentHash: import("viem").Hash;
receiptsRoot: import("viem").Hex;
sealFields: import("viem").Hex[];
sha3Uncles: import("viem").Hash;
size: bigint;
stateRoot: import("viem").Hash;
timestamp: bigint;
totalDifficulty: bigint | null;
transactions: `0x${string}`[] | import("@wagmi/core/chains").OpStackTransaction<boolean>[];
transactionsRoot: import("viem").Hash;
uncles: import("viem").Hash[];
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
withdrawalsRoot?: `0x${string}` | undefined;
} & {};
type: "block";
};
readonly transaction: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcTransaction) => ({
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: boolean;
mint?: bigint | undefined | undefined;
sourceHash: import("viem").Hex;
type: "deposit";
} | {
r: import("viem").Hex;
s: import("viem").Hex;
v: bigint;
to: `0x${string}` | null;
from: `0x${string}`;
gas: bigint;
nonce: number;
value: bigint;
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
hash: import("viem").Hash;
input: import("viem").Hex;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
accessList?: undefined | undefined;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId?: number | undefined;
yParity?: undefined | undefined;
type: "legacy";
gasPrice: bigint;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas?: undefined | undefined;
maxPriorityFeePerGas?: undefined | undefined;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip2930";
gasPrice: bigint;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas?: undefined | undefined;
maxPriorityFeePerGas?: undefined | undefined;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip1559";
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes: readonly import("viem").Hex[];
chainId: number;
type: "eip4844";
gasPrice?: undefined | undefined;
maxFeePerBlobGas: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList: import("viem").SignedAuthorizationList;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip7702";
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
}) & {};
type: "transaction";
};
readonly transactionReceipt: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcTransactionReceipt) => {
blobGasPrice?: bigint | undefined;
blobGasUsed?: bigint | undefined;
blockHash: import("viem").Hash;
blockNumber: bigint;
contractAddress: `0x${string}` | null | undefined;
cumulativeGasUsed: bigint;
effectiveGasPrice: bigint;
from: `0x${string}`;
gasUsed: bigint;
logs: import("viem").Log<bigint, number, false>[];
logsBloom: import("viem").Hex;
root?: `0x${string}` | undefined;
status: "success" | "reverted";
to: `0x${string}` | null;
transactionHash: import("viem").Hash;
transactionIndex: number;
type: import("viem").TransactionType;
l1GasPrice: bigint | null;
l1GasUsed: bigint | null;
l1Fee: bigint | null;
l1FeeScalar: number | null;
} & {};
type: "transactionReceipt";
};
};
serializers: {
readonly transaction: typeof import("@wagmi/core/chains").serializeTransactionOpStack;
};
}, {
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://lineascan.build";
readonly apiUrl: "https://api.lineascan.build/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly multicall3: {
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
readonly blockCreated: 42;
};
readonly ensRegistry: {
readonly address: "0x50130b669B28C339991d8676FA73CF122a121267";
readonly blockCreated: 6682888;
};
readonly ensUniversalResolver: {
readonly address: "0x3aA974fb3f8C1E02796048BDCdeD79e9D53a6965";
readonly blockCreated: 6683000;
};
};
ensTlds: readonly [".linea.eth"];
id: 59144;
name: "Linea Mainnet";
nativeCurrency: {
readonly name: "Linea Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.linea.build"];
readonly webSocket: readonly ["wss://rpc.linea.build"];
};
};
sourceId?: number | undefined | undefined;
testnet: false;
custom?: Record<string, unknown> | undefined;
fees: {
readonly estimateFeesPerGas: ({ client, multiply, request, type, }: Parameters<import("viem").ChainEstimateFeesPerGasFn>[0]) => ReturnType<import("viem").ChainEstimateFeesPerGasFn>;
readonly maxPriorityFeePerGas: ({ block, client, request }: import("viem").ChainFeesFnParameters<import("viem").ChainFormatters | undefined>) => Promise<bigint | null>;
};
formatters?: undefined;
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
}];
export declare const TESTNET_CHAINS: readonly [{
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://sepolia.etherscan.io";
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 751532;
};
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly ensUniversalResolver: {
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
readonly blockCreated: 5317080;
};
};
ensTlds?: readonly string[] | undefined;
id: 11155111;
name: "Sepolia";
nativeCurrency: {
readonly name: "Sepolia Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://sepolia.drpc.org"];
};
};
sourceId?: number | undefined | 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;
}, {
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://sepolia.lineascan.build";
readonly apiUrl: "https://api-sepolia.lineascan.build/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 227427;
};
readonly ensRegistry: {
readonly address: "0x5B2636F0f2137B4aE722C01dd5122D7d3e9541f7";
readonly blockCreated: 2395094;
};
readonly ensUniversalResolver: {
readonly address: "0x72560a31B3DAEE82B984a7F51c6b3b1bb7CC9F50";
readonly blockCreated: 2395255;
};
};
ensTlds: readonly [".linea.eth"];
id: 59141;
name: "Linea Sepolia Testnet";
nativeCurrency: {
readonly name: "Linea Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.sepolia.linea.build"];
readonly webSocket: readonly ["wss://rpc.sepolia.linea.build"];
};
};
sourceId?: number | undefined | undefined;
testnet: true;
custom?: Record<string, unknown> | undefined;
fees: {
readonly estimateFeesPerGas: ({ client, multiply, request, type, }: Parameters<import("viem").ChainEstimateFeesPerGasFn>[0]) => ReturnType<import("viem").ChainEstimateFeesPerGasFn>;
readonly maxPriorityFeePerGas: ({ block, client, request }: import("viem").ChainFeesFnParameters<import("viem").ChainFormatters | undefined>) => Promise<bigint | null>;
};
formatters?: undefined;
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
}, {
blockExplorers: {
readonly default: {
readonly name: "Blockscout";
readonly url: "https://optimism-sepolia.blockscout.com";
readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
};
};
blockTime: 2000;
contracts: {
readonly disputeGameFactory: {
readonly 11155111: {
readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
};
};
readonly l2OutputOracle: {
readonly 11155111: {
readonly address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F";
};
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 1620204;
};
readonly portal: {
readonly 11155111: {
readonly address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC";
};
};
readonly l1StandardBridge: {
readonly 11155111: {
readonly address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1";
};
};
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: 11155420;
name: "OP Sepolia";
nativeCurrency: {
readonly name: "Sepolia Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://sepolia.optimism.io"];
};
};
sourceId: 11155111;
testnet: true;
custom?: Record<string, unknown> | undefined;
fees?: import("viem").ChainFees<undefined> | undefined;
formatters: {
readonly block: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcBlock) => {
baseFeePerGas: bigint | null;
blobGasUsed: bigint;
difficulty: bigint;
excessBlobGas: bigint;
extraData: import("viem").Hex;
gasLimit: bigint;
gasUsed: bigint;
hash: `0x${string}` | null;
logsBloom: `0x${string}` | null;
miner: `0x${string}`;
mixHash: import("viem").Hash;
nonce: `0x${string}` | null;
number: bigint | null;
parentBeaconBlockRoot?: `0x${string}` | undefined;
parentHash: import("viem").Hash;
receiptsRoot: import("viem").Hex;
sealFields: import("viem").Hex[];
sha3Uncles: import("viem").Hash;
size: bigint;
stateRoot: import("viem").Hash;
timestamp: bigint;
totalDifficulty: bigint | null;
transactions: `0x${string}`[] | import("@wagmi/core/chains").OpStackTransaction<boolean>[];
transactionsRoot: import("viem").Hash;
uncles: import("viem").Hash[];
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
withdrawalsRoot?: `0x${string}` | undefined;
} & {};
type: "block";
};
readonly transaction: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcTransaction) => ({
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: boolean;
mint?: bigint | undefined | undefined;
sourceHash: import("viem").Hex;
type: "deposit";
} | {
r: import("viem").Hex;
s: import("viem").Hex;
v: bigint;
to: `0x${string}` | null;
from: `0x${string}`;
gas: bigint;
nonce: number;
value: bigint;
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
hash: import("viem").Hash;
input: import("viem").Hex;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
accessList?: undefined | undefined;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId?: number | undefined;
yParity?: undefined | undefined;
type: "legacy";
gasPrice: bigint;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas?: undefined | undefined;
maxPriorityFeePerGas?: undefined | undefined;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip2930";
gasPrice: bigint;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas?: undefined | undefined;
maxPriorityFeePerGas?: undefined | undefined;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip1559";
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes: readonly import("viem").Hex[];
chainId: number;
type: "eip4844";
gasPrice?: undefined | undefined;
maxFeePerBlobGas: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList: import("viem").SignedAuthorizationList;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip7702";
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
}) & {};
type: "transaction";
};
readonly transactionReceipt: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcTransactionReceipt) => {
blobGasPrice?: bigint | undefined;
blobGasUsed?: bigint | undefined;
blockHash: import("viem").Hash;
blockNumber: bigint;
contractAddress: `0x${string}` | null | undefined;
cumulativeGasUsed: bigint;
effectiveGasPrice: bigint;
from: `0x${string}`;
gasUsed: bigint;
logs: import("viem").Log<bigint, number, false>[];
logsBloom: import("viem").Hex;
root?: `0x${string}` | undefined;
status: "success" | "reverted";
to: `0x${string}` | null;
transactionHash: import("viem").Hash;
transactionIndex: number;
type: import("viem").TransactionType;
l1GasPrice: bigint | null;
l1GasUsed: bigint | null;
l1Fee: bigint | null;
l1FeeScalar: number | null;
} & {};
type: "transactionReceipt";
};
};
serializers: {
readonly transaction: typeof import("@wagmi/core/chains").serializeTransactionOpStack;
};
}];
export declare const ALL_CHAINS: readonly [{
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://etherscan.io";
readonly apiUrl: "https://api.etherscan.io/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly ensUniversalResolver: {
readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
readonly blockCreated: 19258213;
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 14353601;
};
};
ensTlds?: readonly string[] | undefined;
id: 1;
name: "Ethereum";
nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://eth.merkle.io"];
};
};
sourceId?: number | undefined | undefined;
testnet?: boolean | undefined | undefined;
custom?: Record<string, unknown> | undefined;
fees?: import("viem").ChainFees<undefined> | undefined;
formatters?: undefined;
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
}, {
blockExplorers: {
readonly default: {
readonly name: "Basescan";
readonly url: "https://basescan.org";
readonly apiUrl: "https://api.basescan.org/api";
};
};
blockTime: 2000;
contracts: {
readonly disputeGameFactory: {
readonly 1: {
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
};
};
readonly l2OutputOracle: {
readonly 1: {
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
};
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 5022;
};
readonly portal: {
readonly 1: {
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
readonly blockCreated: 17482143;
};
};
readonly l1StandardBridge: {
readonly 1: {
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
readonly blockCreated: 17482143;
};
};
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: 8453;
name: "Base";
nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://mainnet.base.org"];
};
};
sourceId: 1;
testnet?: boolean | undefined | undefined;
custom?: Record<string, unknown> | undefined;
fees?: import("viem").ChainFees<undefined> | undefined;
formatters: {
readonly block: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcBlock) => {
baseFeePerGas: bigint | null;
blobGasUsed: bigint;
difficulty: bigint;
excessBlobGas: bigint;
extraData: import("viem").Hex;
gasLimit: bigint;
gasUsed: bigint;
hash: `0x${string}` | null;
logsBloom: `0x${string}` | null;
miner: `0x${string}`;
mixHash: import("viem").Hash;
nonce: `0x${string}` | null;
number: bigint | null;
parentBeaconBlockRoot?: `0x${string}` | undefined;
parentHash: import("viem").Hash;
receiptsRoot: import("viem").Hex;
sealFields: import("viem").Hex[];
sha3Uncles: import("viem").Hash;
size: bigint;
stateRoot: import("viem").Hash;
timestamp: bigint;
totalDifficulty: bigint | null;
transactions: `0x${string}`[] | import("@wagmi/core/chains").OpStackTransaction<boolean>[];
transactionsRoot: import("viem").Hash;
uncles: import("viem").Hash[];
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
withdrawalsRoot?: `0x${string}` | undefined;
} & {};
type: "block";
};
readonly transaction: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcTransaction) => ({
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: boolean;
mint?: bigint | undefined | undefined;
sourceHash: import("viem").Hex;
type: "deposit";
} | {
r: import("viem").Hex;
s: import("viem").Hex;
v: bigint;
to: `0x${string}` | null;
from: `0x${string}`;
gas: bigint;
nonce: number;
value: bigint;
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
hash: import("viem").Hash;
input: import("viem").Hex;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
accessList?: undefined | undefined;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId?: number | undefined;
yParity?: undefined | undefined;
type: "legacy";
gasPrice: bigint;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas?: undefined | undefined;
maxPriorityFeePerGas?: undefined | undefined;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip2930";
gasPrice: bigint;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas?: undefined | undefined;
maxPriorityFeePerGas?: undefined | undefined;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip1559";
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList?: undefined | undefined;
blobVersionedHashes: readonly import("viem").Hex[];
chainId: number;
type: "eip4844";
gasPrice?: undefined | undefined;
maxFeePerBlobGas: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: `0x${string}`;
gas: bigint;
hash: import("viem").Hash;
input: import("viem").Hex;
nonce: number;
r: import("viem").Hex;
s: import("viem").Hex;
to: `0x${string}` | null;
transactionIndex: number | null;
typeHex: import("viem").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("viem").AccessList;
authorizationList: import("viem").SignedAuthorizationList;
blobVersionedHashes?: undefined | undefined;
chainId: number;
type: "eip7702";
gasPrice?: undefined | undefined;
maxFeePerBlobGas?: undefined | undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined | undefined;
mint?: undefined | undefined;
sourceHash?: undefined | undefined;
}) & {};
type: "transaction";
};
readonly transactionReceipt: {
exclude: [] | undefined;
format: (args: import("@wagmi/core/chains").OpStackRpcTransactionReceipt) => {
blobGasPrice?: bigint | undefined;
blobGasUsed?: bigint | undefined;
blockHash: import("viem").Hash;
blockNumber: bigint;
contractAddress: `0x${string}` | null | undefined;
cumulativeGasUsed: bigint;
effectiveGasPrice: bigint;
from: `0x${string}`;
gasUsed: bigint;
logs: import("viem").Log<bigint, number, false>[];
logsBloom: import("viem").Hex;
root?: `0x${string}` | undefined;
status: "success" | "reverted";
to: `0x${string}` | null;
transactionHash: import("viem").Hash;
transactionIndex: number;
type: import("viem").TransactionType;
l1GasPrice: bigint | null;
l1GasUsed: bigint | null;
l1Fee: bigint | null;
l1FeeScalar: number | null;
} & {};
type: "transactionReceipt";
};
};
serializers: {
readonly transaction: typeof import("@wagmi/core/chains").serializeTransactionOpStack;
};
}, {
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://lineascan.build";
readonly apiUrl: "https://api.lineascan.build/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly multicall3: {
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
readonly blockCreated: 42;
};
readonly ensRegistry: {
readonly address: "0x50130b669B28C339991d8676FA73CF122a121267";
readonly blockCreated: 6682888;
};
readonly ensUniversalResolver: {
readonly address: "0x3aA974fb3f8C1E02796048BDCdeD79e9D53a6965";
readonly blockCreated: 6683000;
};
};
ensTlds: readonly [".linea.eth"];
id: 59144;
name: "Linea Mainnet";
nativeCurrency: {
readonly name: "Linea Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.linea.build"];
readonly webSocket: readonly ["wss://rpc.linea.build"];
};
};
sourceId?: number | undefined | undefined;
testnet: false;
custom?: Record<string, unknown> | undefined;
fees: {
readonly estimateFeesPerGas: ({ client, multiply, request, type, }: Parameters<import("viem").ChainEstimateFeesPerGasFn>[0]) => ReturnType<import("viem").ChainEstimateFeesPerGasFn>;
readonly maxPriorityFeePerGas: ({ block, client, request }: import("viem").ChainFeesFnParameters<import("viem").ChainFormatters | undefined>) => Promise<bigint | null>;
};
formatters?: undefined;
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
}, {
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://sepolia.etherscan.io";
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 751532;
};
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly ensUniversalResolver: {
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
readonly blockCreated: 5317080;
};
};
ensTlds?: readonly string[] | undefined;
id: 11155111;
name: "Sepolia";
nativeCurrency: {
readonly name: "Sepolia Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://sepolia.drpc.org"];
};
};
sourceId?: number | undefined | 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;
}, {
blockExplorers: {
readonly default: {
readonly name: "Etherscan";
readonly url: "https://sepolia.lineascan.build";
readonly apiUrl: "https://api-sepolia.lineascan.build/api";
};
};
blockTime?: number | undefined | undefined;
contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 227427;
};
readonly ensRegistry: {
readonly address: "0x5B2636F0f2137B4aE722C01dd5122D7d3e9541f7";
readonly blockCreated: 2395094;
};
readonly ensUniversalResolver: {
readonly address: "0x72560a31B3DAEE82B984a7F51