- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
48 lines
1.1 KiB
TypeScript
48 lines
1.1 KiB
TypeScript
import { chainConfig } from '../../op-stack/chainConfig.js'
|
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
|
|
const sourceId = 1 // mainnet
|
|
|
|
export const fraxtal = /*#__PURE__*/ defineChain({
|
|
...chainConfig,
|
|
id: 252,
|
|
name: 'Fraxtal',
|
|
nativeCurrency: { name: 'Frax', symbol: 'FRAX', decimals: 18 },
|
|
rpcUrls: {
|
|
default: {
|
|
http: ['https://rpc.frax.com'],
|
|
},
|
|
},
|
|
blockExplorers: {
|
|
default: {
|
|
name: 'fraxscan',
|
|
url: 'https://fraxscan.com',
|
|
apiUrl: 'https://api.fraxscan.com/api',
|
|
},
|
|
},
|
|
contracts: {
|
|
...chainConfig.contracts,
|
|
l2OutputOracle: {
|
|
[sourceId]: {
|
|
address: '0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4',
|
|
},
|
|
},
|
|
multicall3: {
|
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
},
|
|
portal: {
|
|
[sourceId]: {
|
|
address: '0x36cb65c1967A0Fb0EEE11569C51C2f2aA1Ca6f6D',
|
|
blockCreated: 19135323,
|
|
},
|
|
},
|
|
l1StandardBridge: {
|
|
[sourceId]: {
|
|
address: '0x34C0bD5877A5Ee7099D0f5688D65F4bB9158BDE2',
|
|
blockCreated: 19135323,
|
|
},
|
|
},
|
|
},
|
|
sourceId,
|
|
})
|