-
Notifications
You must be signed in to change notification settings - Fork 3
/
player_data.py
50 lines (48 loc) · 2.07 KB
/
player_data.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
from typing import Dict, List
from web3 import Web3
VAULT_RANGE = (0, 2**31)
MAIN_CONTRACT_ADDRESS = Web3.toChecksumAddress("0x5731aEa1809BE0454907423083fb879079FB69dF")
USERS: List[Dict[str, str]] = [
{
"stark_public_key": hex(
439547296945675282638903548020547739613124778487745880321066258179844215791
),
"stark_private_key": hex(
170470643346861921222302474732500850763287488279586622241848259032882349706
),
"eth_address": Web3.toChecksumAddress("0x724f337bF0Fa934dB9aa3ec6dEa49B03c54AD3cc"),
"eth_private_key": "0xcfbac553dcb8e9c174bbeeb61fbf248e57504ec2c3e2e7a8dc9531f68f89536f",
},
{
"stark_public_key": hex(
1298082575160855985923307832903177302144919070445653658507680525933075136782
),
"stark_private_key": hex(
559074526764502663775048903304198538090257776775459833905994182861901375471
),
"eth_address": Web3.toChecksumAddress("0x0A0c2601C7874E77a401D91f8085DD07b040E595"),
"eth_private_key": "0xd5b63f3e2ddd3e94328f07e14be68dbb25b802bfa642643c517c349302a4f030",
},
{
"stark_public_key": hex(
1330593287971026549460387014816146222605736586515215827001995056955699760851
),
"stark_private_key": hex(
788810892464826745577542765471376825936210418174753005926417142609333555807
),
"eth_address": Web3.toChecksumAddress("0xBe390D9c7bB0c40d4a684CCAed22b9B1F5A4C1c9"),
"eth_private_key": "0x010356641cc4fcca8104eb491dcd41db7f89afc18fd274350aca9228418af61a",
},
]
TOKEN_PATRON = USERS[0]
ASSET_IDS_TO_ERC20_ADDRESSES: Dict[int, str] = {
636542894972621778881735076004873814190657127849294093126406847297345751170: (
"0x97299C1E7a9025A08ACf66Ed11e0bC331Bd1Dc94"
),
814457292436544639841851005546173715172876507936212985098363919507168919905: (
"0xFA7b45854Ab0D538CbA8417104F6a42151E5D41B"
),
282809251000280060300727525261246856701479519727844769442217092490169214861: (
"0xfB21A031631fa0bc8A8F07F4b60b3035071f16cF"
),
}