|
| 1 | +import { addresses } from '../../addresses' |
| 2 | + |
| 3 | +export type L1AvailableNetwork = { |
| 4 | + readonly chainId: number |
| 5 | + readonly registry: string |
| 6 | +} |
| 7 | + |
| 8 | +export type L2AvailableNetwork = { |
| 9 | + readonly chainId: number |
| 10 | + readonly map: { |
| 11 | + readonly token: string |
| 12 | + readonly lockup: string |
| 13 | + readonly marketFactory: string |
| 14 | + readonly metricsFactory: string |
| 15 | + readonly policyFactory: string |
| 16 | + readonly propertyFactory: string |
| 17 | + readonly registry: string |
| 18 | + readonly sTokens: string |
| 19 | + readonly withdraw: string |
| 20 | + } |
| 21 | +} |
| 22 | + |
| 23 | +export const l1AvailableNetworks: readonly L1AvailableNetwork[] = [ |
| 24 | + { chainId: 1, registry: addresses.eth.main.registry }, |
| 25 | + { chainId: 3, registry: addresses.eth.ropsten.registry }, |
| 26 | +] |
| 27 | + |
| 28 | +export const l2AvailableNetworks: readonly L2AvailableNetwork[] = [ |
| 29 | + { |
| 30 | + chainId: 42161, |
| 31 | + map: addresses.arbitrum.one, |
| 32 | + }, |
| 33 | + { chainId: 421611, map: addresses.arbitrum.rinkeby }, |
| 34 | + { chainId: 137, map: addresses.polygon.mainnet }, |
| 35 | + { chainId: 80001, map: addresses.polygon.mumbai }, |
| 36 | +] |
0 commit comments