-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.ts
48 lines (46 loc) · 1.12 KB
/
base.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
const sourceId = 1 // mainnet
export const base = /*#__PURE__*/ defineChain({
...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.contracts,
l2OutputOracle: {
[sourceId]: {
address: '0x56315b90c40730925ec5485cf004d835058518A0',
},
},
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 5022,
},
portal: {
[sourceId]: {
address: '0x49048044D57e1C92A77f79988d21Fa8fAF74E97e',
blockCreated: 17482143,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0x3154Cf16ccdb4C6d922629664174b904d80F2C35',
blockCreated: 17482143,
},
},
},
sourceId,
})