PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/viem/_cjs/chains/definitions
Просмотр файла: base.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.basePreconf = exports.base = void 0;
const chainConfig_js_1 = require("../../op-stack/chainConfig.js");
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
const sourceId = 1;
exports.base = (0, defineChain_js_1.defineChain)({
...chainConfig_js_1.chainConfig,
id: 8453,
name: 'Base',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.base.org'],
},
},
blockExplorers: {
default: {
name: 'Basescan',
url: 'https://basescan.org',
apiUrl: 'https://api.basescan.org/api',
},
},
contracts: {
...chainConfig_js_1.chainConfig.contracts,
disputeGameFactory: {
[sourceId]: {
address: '0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e',
},
},
l2OutputOracle: {
[sourceId]: {
address: '0x56315b90c40730925ec5485cf004d835058518A0',
},
},
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 5022,
},
portal: {
[sourceId]: {
address: '0x49048044D57e1C92A77f79988d21Fa8fAF74E97e',
blockCreated: 17482143,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0x3154Cf16ccdb4C6d922629664174b904d80F2C35',
blockCreated: 17482143,
},
},
},
sourceId,
});
exports.basePreconf = (0, defineChain_js_1.defineChain)({
...exports.base,
experimental_preconfirmationTime: 200,
rpcUrls: {
default: {
http: ['https://mainnet-preconf.base.org'],
},
},
});
//# sourceMappingURL=base.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!