-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathconfig.py
114 lines (84 loc) · 2.15 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
114
RANDOMIZE = False
RUN_FOREVER = False
NUM_THREADS = 1
SLIPPAGE = 0.03
MIN_PAUSE = 60
MAX_PAUSE = 120
# -------------------------------------Модули--------------------------------#
# --- Bridges --- #
main_bridge = False
orbiter_bridge = False
# --- Swaps --- #
linea_swap = False
echo_dex_swap = False
sync_swap = False
horizon_dex_swap = False
# --- Liquidity --- #
linea_liq = False
linea_liq_remove = False
echo_dex_liq = False
echo_dex_liq_remove = False
sync_swap_liq = False
sync_swap_liq_remove = False
# --- Bridges --- #
class MainBridgeConfig:
amount_from = 0.001
amount_to = 0.001
action = 'deposit' # deposit/withdraw
class OrbiterBridgeConfig:
chain = 'ARB'
token = 'ETH' # ETH
amount_from = 0.0051
amount_to = 0.0051
action = 'withdraw' # deposit/withdraw
# --- Swaps --- #
class LineaSwapConfig:
from_token = 'BUSD'
to_token = 'ETH'
amount_from = 0.001
amount_to = 0.001
swap_all_balance = True
class EchoDexSwapConfig:
from_token = 'BUSD'
to_token = 'ETH'
amount_from = 0.001
amount_to = 0.001
swap_all_balance = True
class SyncSwapConfig:
from_token = 'BUSD'
to_token = 'ETH'
amount_from = 0.001
amount_to = 0.001
swap_all_balance = True
class HorizonDexSwapConfig:
from_token = 'BUSD'
to_token = 'ETH'
amount_from = 0.001
amount_to = 0.001
swap_all_balance = True
# --- Liquidity --- #
class LineaLiqConfig:
token = 'ETH' # ETH
token2 = 'BUSD'
amount_from = 0.0005
amount_to = 0.0005
class LineaLiqRemoveConfig:
from_token_pair = 'BUSD'
remove_all = True
removing_percentage = 0.5
class EchoDexLiqConfig:
token = 'ETH' # ETH
token2 = 'BUSD'
amount_from = 0.0005
amount_to = 0.0005
class EchoDexLiqRemoveConfig:
from_token_pair = 'BUSD'
remove_all = True
removing_percentage = 0.5
class SyncSwapLiqConfig:
token = 'ETH' # ETH/BUSD
amount_from = 0.001
amount_to = 0.001
class SyncSwapLiqRemoveConfig:
remove_all = True
removing_percentage = 0.5