-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
243 lines (177 loc) · 4.65 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
RANDOMIZE = True
RUN_FOREVER = False
SLIPPAGE = 0.02
ESTIMATED_FEE_MULTIPLIER = 1
NUM_THREADS = 1
MIN_PAUSE = 1200
MAX_PAUSE = 1800
MAX_FEE_FOR_TRANSACTION = 0.00053 # ETH
RPC_URL = 'https://starknet-mainnet.public.blastapi.io'
WALLET_TYPE = 'argent' # argent/braavos
ENCRYPTION = True
PASSWORD = 'test'
# -------------------------------------Modules--------------------------------#
# --- Deploy --- #
deploy_contracts = False
# --- Withdrawals --- #
okx_withdraw = False
# --- Bridges --- #
main_bridge = False
orbiter_bridging = False
# --- Swaps --- #
jediswap_swap = False
myswap_swap = False
k10_swap = False
sith_swap = False
anvu_swap = False
fibrous_swap = False
# --- Liquidity --- #
jedi_liq = False
jedi_liq_remove = False
myswap_liq = False
myswap_liq_remove = False
sith_liq = False
sith_liq_remove = False
k10_liq = False
k10_liq_remove = False
zklend_liq = True
zklend_liq_remove = False
# --- NFT --- #
unframed_mint = False
class OkxWithdrawConfig:
amount_from = 0.005
amount_to = 0.005
class MainBridgeConfig:
amount_from = 0.037
amount_to = 0.0415
action = 'deposit'
class OrbiterBridgeConfig:
chain = 'OP' # ARB
amount_from = 0.03 # ETH
amount_to = 0.03
action = 'deposit' # withdraw/deposit
bridge_all_balance = False
# class JediSwapConfig:
# from_token = 'USDC'
# to_token = 'ETH'
# amount_from = 1.5
# amount_to = 1.8
# swap_all_balance = False
class MySwapConfig:
from_token = 'ETH'
to_token = 'USDC'
amount_from = 0.001
amount_to = 0.003
swap_all_balance = False
class K10SwapConfig:
from_token = 'ETH'
to_token = 'USDC'
amount_from = 0.0001
amount_to = 0.001
swap_all_balance = False
class SithSwapConfig:
from_token = 'ETH'
to_token = 'USDC'
amount_from = 0.001
amount_to = 0.002
swap_all_balance = False
class AnvuSwapConfig:
from_token = 'ETH'
to_token = 'USDC'
amount_from = 0.001
amount_to = 0.002
swap_all_balance = False
class FibrousSwapConfig:
from_token = 'ETH'
to_token = 'USDC'
amount_from = 0.001
amount_to = 0.011
swap_all_balance = False
# class JediLiqConfig:
# token = 'ETH' # ETH only
# token2 = 'USDT' # USDT/USDC
# amount_from = 0.0005
# amount_to = 0.001
class JediSwapConfig:
from_token = 'ETH'
to_token = 'USDC'
amount_from = 0.0001
amount_to = 0.001
swap_all_balance = False
# class MySwapConfig:
# from_token = 'ETH'
# to_token = 'USDC'
# amount_from = 0.0005
# amount_to = 0.0007
# swap_all_balance = False
# class K10SwapConfig:
# from_token = 'ETH'
# to_token = 'USDC'
# amount_from = 0.0005
# amount_to = 0.001
# swap_all_balance = False
# class SithSwapConfig:
# from_token = 'ETH'
# to_token = 'USDT'
# amount_from = 0.0005
# amount_to = 0.001
# swap_all_balance = False
# class AnvuSwapConfig:
# from_token = 'ETH'
# to_token = 'DAI'
# amount_from = 0.0005
# amount_to = 0.001
# swap_all_balance = False
# class FibrousSwapConfig:
# from_token = 'ETH'
# to_token = 'USDT'
# amount_from = 0.0005
# amount_to = 0.001
# swap_all_balance = False
# class JediLiqConfig:
# token = 'ETH' # ETH only
# token2 = 'USDT' # USDT/USDC
# amount_from = 0.0005
# amount_to = 0.001
class JediLiqRemoveConfig:
from_token_pair = 'USDT' # ETH/from_token_pair
remove_all = False
removing_percentage = 0.5
class MySwapLiqConfig:
token = 'ETH' # ETH only
token2 = 'USDC' # USDT/USDC
amount_from = 0.001
amount_to = 0.001
class MySwapLiqRemoveConfig:
from_token_pair = 'USDC' # ETH/from_token_pair
remove_all = False
removing_percentage = 0.5
class SithLiqConfig:
token = 'ETH' # ETH only
token2 = 'USDT' # USDT/USDC
amount_from = 0.001
amount_to = 0.001
class SithLiqRemoveConfig:
from_token_pair = 'USDT' # ETH/from_token_pair
remove_all = False
removing_percentage = 0.5
class K10LiqConfig:
token = 'ETH' # ETH only
token2 = 'USDC' # USDT/USDC
amount_from = 0.001
amount_to = 0.001
class K10LiqRemoveConfig:
from_token_pair = 'USDC' # ETH/from_token_pair
remove_all = False
removing_percentage = 0.5
class ZKLendLiqConfig:
token = 'ETH' # USDC
amount_interval = 'all_balance'
#amount_interval = {'from': 0.0001, 'to': 0.0003}
min_amount_interval = {'from': 0.0025, 'to': 0.0025} # for all_balance
class ZKLendLiqRemoveConfig:
from_token_pair = 'USDT' # ETH/from_token_pair
remove_all = True
removing_percentage = 0.5
class UnframedMintConfig:
max_nft_price = 0.001 # ETH