-
Notifications
You must be signed in to change notification settings - Fork 10
/
globals.ts
55 lines (46 loc) · 2.19 KB
/
globals.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
49
50
51
52
53
54
55
// Network Connections
import { NetworkName } from './types/network';
export const RPC_URL: Record<NetworkName, string> = {
[NetworkName.MAINNET]: 'https://rpc1.mainnet.lukso.dev',
[NetworkName.TESTNET]: 'https://rpc.testnet.lukso.network',
[NetworkName.LOCALHOST]: 'http://localhost:8545',
};
export const EXPLORER_BASE_URL: Record<NetworkName, string> = {
[NetworkName.MAINNET]: 'https://explorer.execution.mainnet.lukso.network',
[NetworkName.TESTNET]: 'https://explorer.execution.testnet.lukso.network',
[NetworkName.LOCALHOST]: 'http://localhost:3000',
};
// Data Source
export const LUKSO_IPFS_BASE_URL = 'https://api.universalprofile.cloud/ipfs';
export const UP_RECOVERY_ADDRESSES: Record<NetworkName, string[]> = {
[NetworkName.MAINNET]: [
'0xD6ebB3C5C1836f5377d134c303f4EBb053562f6f',
'0x2e90C2ff7E9bbD9381c8e4eA030666f9c6090727',
'0x9F44982B472431bEdeFC1DC92149Ca2ea09820aa',
'0x348EA31074263385a87e2B83f5aB58a7678205F7',
'0x22e4F54586676158B7D5251e457383E499903617',
'0x5827b91d84050d3A8e159C27E16B0d7426F66aEB',
'0x4a252E46A640FB2C45f0E74BAC9448F68fe66d63',
'0xeB7A7B91B5B7188c098Cb64DD01F59C9D876566d',
'0xBE8EA52CA32c51024E8B11C2719d9Edb94B21D16',
'0x242387F645a327af3f1E34F3A9A9032BeEe69fb0',
],
[NetworkName.TESTNET]: [
'0xb13B12848dbE8dDf87027Fa2c26aBeF0118a5EB7',
'0x08019bf6606367d4D5f74082634d3eA0692adf93',
],
[NetworkName.LOCALHOST]: [],
};
// Mainnet AND Testnet
export const LSP1_DELEGATE_VERSIONS = {
'0xA5467dfe7019bF2C7C5F7A707711B9d4cAD118c8': '0.12.1',
'0x7870C5B8BC9572A8001C3f96f7ff59961B23500D': '0.14.0',
};
// Mainnet only
export const LSP1_GRAVE_FORWARDER =
'0x42562196ee7AaC3E8501db777B25ffc976ed8463';
// Mainnet AND Testnet
export const GNOSIS_SAFE_IMPLEMENTATION =
'0x3E5c63644E683549055b9Be8653de26E0B4CD36E';
export const GNOSIS_SAFE_PROXY_DEPLOYED_BYTECODE =
'0x608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea2646970667358221220d1429297349653a4918076d650332de1a1068c5f3e07c5c82360c277770b955264736f6c63430007060033';