-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.py
More file actions
52 lines (40 loc) · 1.14 KB
/
globals.py
File metadata and controls
52 lines (40 loc) · 1.14 KB
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
bot_note = ''
bot_poll_rate = 10
# create constants for API endpoints
_host = 'https://api.shakepay.com/'
endpoint_wallet = _host + 'wallets'
endpoint_history = _host + 'transactions/history'
endpoint_swap = _host + 'transactions'
endpoint_authenticate = _host + 'authentication'
endpoint_users = _host + 'users'
endpoint_waitlist = _host + 'card/waitlist'
endpoint_shaking_sats = _host + 'shaking-sats'
# headers required for requests
headers = {'User-Agent': 'Shakepay App v1.6.100 (16100) on samsung SM-G930W8 (Android 8.0.0)'}
# CAD wallet ID
wallet_id = ''
# our shaketag
shaketag = ''
# waitlist specific data (cache header, position, etc)
waitlist_etag = None
waitlist_position = 0
waitlist_points = 0
waitlist_paddles = []
# trading history hash table
bot_history = {}
# bot specific flags
bot_flags = {
'listen': False,
'verbose': False
}
# version of bot for update checking
version = '0.6.0'
# webui host and port
webui_host = '0.0.0.0'
webui_port = '5000'
# blacklist and balance
bot_blacklist = {}
# check shaketag against database before returning
bot_return_check = False
# whether or not to enable auto shake
shaking_sats_enabled = False