forked from czbag/scroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
113 lines (76 loc) · 3.29 KB
/
config.py
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import json
with open('data/rpc.json') as file:
RPC = json.load(file)
with open('data/abi/erc20_abi.json') as file:
ERC20_ABI = json.load(file)
with open("accounts.txt", "r") as file:
ACCOUNTS = [row.strip() for row in file]
with open('data/abi/bridge/deposit.json') as file:
DEPOSIT_ABI = json.load(file)
with open('data/abi/bridge/withdraw.json') as file:
WITHDRAW_ABI = json.load(file)
with open('data/abi/bridge/oracle.json') as file:
ORACLE_ABI = json.load(file)
with open('data/abi/scroll/weth.json') as file:
WETH_ABI = json.load(file)
with open("data/abi/syncswap/router.json", "r") as file:
SYNCSWAP_ROUTER_ABI = json.load(file)
with open('data/abi/syncswap/classic_pool.json') as file:
SYNCSWAP_CLASSIC_POOL_ABI = json.load(file)
with open('data/abi/syncswap/classic_pool_data.json') as file:
SYNCSWAP_CLASSIC_POOL_DATA_ABI = json.load(file)
with open("data/abi/skydrome/abi.json", "r") as file:
SKYDROME_ROUTER_ABI = json.load(file)
with open("data/abi/zebra/abi.json", "r") as file:
ZEBRA_ROUTER_ABI = json.load(file)
with open("data/abi/layerbank/abi.json", "r") as file:
LAYERBANK_ABI = json.load(file)
with open("data/abi/zerius/abi.json", "r") as file:
ZERIUS_ABI = json.load(file)
with open("data/abi/dmail/abi.json", "r") as file:
DMAIL_ABI = json.load(file)
with open("data/abi/omnisea/abi.json", "r") as file:
OMNISEA_ABI = json.load(file)
with open("data/abi/nft2me/abi.json", "r") as file:
NFTS2ME_ABI = json.load(file)
with open("data/abi/gnosis/abi.json", "r") as file:
SAFE_ABI = json.load(file)
with open("data/deploy/abi.json", "r") as file:
DEPLOYER_ABI = json.load(file)
with open("data/deploy/bytecode.txt", "r") as file:
DEPLOYER_BYTECODE = file.read()
with open("data/abi/zkstars/abi.json", "r") as file:
ZKSTARS_ABI = json.load(file)
with open("data/abi/rocketsam/abi.json", "r") as file:
ROCKETSAM_ABI = json.load(file)
with open("data/abi/nft-origins/abi.json", "r") as file:
NFT_ORIGINS_ABI = json.load(file)
ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"
BRIDGE_CONTRACTS = {
"deposit": "0xf8b1378579659d8f7ee5f3c929c2f3e332e41fd6",
"withdraw": "0x4C0926FF5252A435FD19e10ED15e5a249Ba19d79",
"oracle": "0x987e300fDfb06093859358522a79098848C33852"
}
ORBITER_CONTRACT = "0x80c67432656d59144ceff962e8faf8926599bcf8"
SCROLL_TOKENS = {
"ETH": "0x5300000000000000000000000000000000000004",
"WETH": "0x5300000000000000000000000000000000000004",
"USDC": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4"
}
SYNCSWAP_CONTRACTS = {
"router": "0x80e38291e06339d10aab483c65695d004dbd5c69",
"classic_pool": "0x37BAc764494c8db4e54BDE72f6965beA9fa0AC2d"
}
SKYDROME_CONTRACTS = {
"router": "0xAA111C62cDEEf205f70E6722D1E22274274ec12F"
}
ZEBRA_CONTRACTS = {
"router": "0x0122960d6e391478bfe8fb2408ba412d5600f621"
}
LAYERBANK_CONTRACT = "0xec53c830f4444a8a56455c6836b5d2aa794289aa"
LAYERBANK_WETH_CONTRACT = "0x274C3795dadfEbf562932992bF241ae087e0a98C"
ZERIUS_CONTRACT = "0xeb22c3e221080ead305cae5f37f0753970d973cd"
DMAIL_CONTRACT = "0x47fbe95e981c0df9737b6971b451fb15fdc989d9"
OMNISEA_CONTRACT = "0x46ce46951d12710d85bc4fe10bb29c6ea5012077"
SAFE_CONTRACT = "0xa6b71e26c5e0845f74c812102ca7114b6a896ab2"
NFT_ORIGINS_CONTRACT = "0x74670A3998d9d6622E32D0847fF5977c37E0eC91"