-
Notifications
You must be signed in to change notification settings - Fork 5
/
modules_settings.py
1209 lines (903 loc) · 35.8 KB
/
modules_settings.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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import asyncio
from modules import *
from utils.progress_checker import Scan
async def bridge_base(wallet_info):
"""
Deposit from official bridge
______________________________________________________
all_amount - bridge from min_percent to max_percent
"""
min_amount = 0.001
max_amount = 0.002
decimal = 4
all_amount = True
min_percent = 100
max_percent = 100
check_balance_on_dest = False
check_amount = 0.005
save_funds = [0.00045, 0.0007]
min_required_amount = 0
base_inst = Base(wallet_info)
await base_inst.native_bridge_deposit(
min_amount, max_amount, decimal, all_amount, min_percent, max_percent,
save_funds, check_balance_on_dest, check_amount, min_required_amount
)
async def withdraw_okx(wallet_info):
"""
Withdraw ETH from OKX
______________________________________________________
min_amount - min amount (ETH)
max_amount - max_amount (ETH)
chains - ['zksync', 'arbitrum', 'linea', 'base', 'optimism']
terminate - if True - terminate program if money is not withdrawn
skip_enabled - If True, the skip_threshold check will be applied; otherwise, it will be ignored
skip_threshold - If skip_enabled is True and the wallet balance is greater than or equal to this threshold,
skip the withdrawal
"""
token = 'ETH'
chains = ['arbitrum', 'zksync', 'linea', 'base', 'optimism']
min_amount = 0.0070
max_amount = 0.0072
terminate = False
skip_enabled = False
skip_threshold = 0.00327
wait_unlimited_time = False
sleep_between_attempts = [10, 20] # min, max
okx_exchange = Okx(wallet_info, chains)
await okx_exchange.okx_withdraw(
min_amount, max_amount, token, terminate, skip_enabled, skip_threshold,
wait_unlimited_time, sleep_between_attempts
)
async def transfer_to_okx(wallet_info):
from_chains = ["optimism", "arbitrum", "base"]
min_amount = 0.0012
max_amount = 0.0012
decimal = 4
all_amount = True
min_percent = 100
max_percent = 100
save_funds = [0.0001, 0.00012]
min_required_amount = 0.002
bridge_from_all_chains = True
sleep_between_transfers = [120, 350]
transfer_inst = Transfer(wallet_info)
await transfer_inst.transfer_eth(
from_chains, min_amount, max_amount, decimal, all_amount, min_percent,
max_percent, save_funds, False, 0, min_required_amount,
bridge_from_all_chains=bridge_from_all_chains,
sleep_between_transfers=sleep_between_transfers
)
async def bridge_orbiter(wallet_info):
"""
Bridge from orbiter
______________________________________________________
from_chains – source chain - ethereum, polygon_zkevm, arbitrum, optimism, zksync | Select one or more
If more than one chain is specified, the software will check the balance in each network and
select the chain with the highest balance.
to_chains – destination chain - ethereum, polygon_zkevm, arbitrum, optimism, zksync | Select one or more
If more than one is specified, randomly selected
min_amount - the minimum possible amount for sending
max_amount - maximum possible amount to send
decimal - to which digit to round the amount to be sent
all_amount - if True, percentage values will be used for sending (min_percent, max_percent
instead of min_amount, max_amount).
min_percent - the minimum possible percentage of the balance to be sent
max_percent - the maximum possible percentage of the balance to send
check_balance_on_dest - if True, it will check the balance in the destination network.
check_amount - amount to check the balance in the destination network. if the balance is greater than this amount,
the bridge will not be executed.
save_funds - what amount to leave in the outgoing network [min, max], chosen randomly from the range
min_required_amount - the minimum required balance in the network to make the bridge.
if there is no network with the required balance, the bridge will not be made
bridge_from_all_chains - if True, will be produced from all chains specified in the parameter from_chains
sleep_between_transfers - only if bridge_from_all_chains=True. sleep between few transfers
wait_unlimited_time - the software will wait indefinitely for funds on the wallet in the source chain
sleep_between_attempts - minimum-maximum delay between balance checks (if wait_unlimited_time - True)
"""
from_chains = ["arbitrum", "optimism", "base", "linea"] # Chain with max balance will be selected
to_chain = ["scroll"] # Randomly selected
min_amount = 0.005
max_amount = 0.0051
decimal = 6
all_amount = True
min_percent = 98
max_percent = 100
check_balance_on_dest = True
check_amount = 0.005
save_funds = [0.0011, 0.0013]
min_required_amount = 0.005
bridge_from_all_chains = False
sleep_between_transfers = [120, 300]
wait_unlimited_time = False
sleep_between_attempts = [200, 300] # min, max
orbiter_inst = Orbiter(wallet_info, from_chains=from_chains)
await orbiter_inst.transfer_eth(
from_chains, min_amount, max_amount, decimal, all_amount, min_percent, max_percent, save_funds,
check_balance_on_dest, check_amount, min_required_amount, to_chain, bridge_from_all_chains,
sleep_between_transfers=sleep_between_transfers, wait_unlimited_time=wait_unlimited_time,
sleep_between_attempts=sleep_between_attempts
)
async def bridge_relay(wallet_info):
"""
Bridge from relay
Supported chains - 'arbitrum', 'arbitrum_nova', 'base', 'optimism', 'zksync', 'ethereum', 'zora', 'mode', 'blast'
______________________________________________________
Description: Look at bridge_orbiter description
"""
from_chains = ["base"] # Chain with max balance will be selected
to_chain = ["ethereum"] # Randomly selected
min_amount = 0.005
max_amount = 0.0051
decimal = 6
all_amount = True
min_percent = 100
max_percent = 100
check_balance_on_dest = False
check_amount = 0.005
save_funds = [0.00005, 0.00003]
min_required_amount = 0
bridge_from_all_chains = False
sleep_between_transfers = [120, 300]
wait_unlimited_time = False
sleep_between_attempts = [200, 300] # min, max
relay_inst = Relay(wallet_info, from_chains=from_chains)
await relay_inst.transfer_eth(
from_chains, min_amount, max_amount, decimal, all_amount, min_percent, max_percent, save_funds,
check_balance_on_dest, check_amount, min_required_amount, to_chain, bridge_from_all_chains,
sleep_between_transfers=sleep_between_transfers, wait_unlimited_time=wait_unlimited_time,
sleep_between_attempts=sleep_between_attempts
)
async def wrap_eth(wallet_info):
"""
Wrap ETH
______________________________________________________
all_amount - wrap from min_percent to max_percent
"""
min_amount = 0.001
max_amount = 0.002
decimal = 4
all_amount = True
min_percent = 5
max_percent = 10
base_inst = Base(wallet_info)
await base_inst.wrap_eth(min_amount, max_amount, decimal, all_amount, min_percent, max_percent)
async def unwrap_eth(wallet_info):
"""
Unwrap ETH
______________________________________________________
all_amount - unwrap from min_percent to max_percent
"""
min_amount = 0.001
max_amount = 0.002
decimal = 4
all_amount = True
min_percent = 100
max_percent = 100
base_inst = Base(wallet_info)
await base_inst.unwrap_eth(min_amount, max_amount, decimal, all_amount, min_percent, max_percent)
async def swap_uniswap(wallet_info):
"""
Make swap on Uniswap
______________________________________________________
from_token – Choose SOURCE token ETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, USDBC | Select one
Disclaimer - You can swap only ETH to any token or any token to ETH!
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "USDBC"
to_token = "ETH"
min_amount = 0.001
max_amount = 0.002
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
uniswap_inst = Uniswap(wallet_info)
await uniswap_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_pancake(wallet_info):
"""
Make swap on PancakeSwap
______________________________________________________
from_token – Choose SOURCE token ETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, USDBC | Select one
Disclaimer - You can swap only ETH to any token or any token to ETH!
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "ETH"
to_token = "USDBC"
min_amount = 0.001
max_amount = 0.002
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
pancake_inst = Pancake(wallet_info)
await pancake_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_woofi(wallet_info):
"""
Make swap on WooFi
______________________________________________________
from_token – Choose SOURCE token ETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, USDBC | Select one
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "ETH"
to_token = "USDBC"
min_amount = 0.0001
max_amount = 0.0002
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
woofi_inst = WooFi(wallet_info)
await woofi_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_baseswap(wallet_info):
"""
Make swap on BaseSwap
______________________________________________________
from_token – Choose SOURCE token ETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, USDBC | Select one
Disclaimer - You can swap only ETH to any token or any token to ETH!
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "USDBC"
to_token = "ETH"
min_amount = 0.0001
max_amount = 0.0002
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
baseswap_inst = BaseSwap(wallet_info)
await baseswap_inst.swap(from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent,
max_percent)
async def swap_alienswap(wallet_info):
"""
Make swap on AlienSwap
______________________________________________________
from_token – Choose SOURCE token ETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, USDBC | Select one
Disclaimer - You can swap only ETH to any token or any token to ETH!
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "USDC"
to_token = "ETH"
min_amount = 0.0001
max_amount = 0.0002
decimal = 6
slippage = 1
all_amount = True
min_percent = 100
max_percent = 100
alienswap_inst = AlienSwap(wallet_info)
await alienswap_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_odos(wallet_info):
"""
Make swap on Odos
______________________________________________________
from_token – Choose SOURCE token ETH, WETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, WETH, USDBC | Select one
Disclaimer - If you use True for use_fee, you support me 1% of the transaction amount
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "USDBC"
to_token = "ETH"
min_amount = 0.0001
max_amount = 0.0002
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
odos_inst = Odos(wallet_info)
await odos_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_inch(wallet_info):
"""
Make swap on 1inch
______________________________________________________
from_token – Choose SOURCE token ETH, WETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, WETH, USDBC | Select one
Disclaimer - If you use True for use_fee, you support me 1% of the transaction amount
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "ETH"
to_token = "USDBC"
min_amount = 0.0001
max_amount = 0.0002
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
inch_dex_inst = Inch(wallet_info)
await inch_dex_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_openocean(wallet_info):
"""
Make swap on OpenOcean
______________________________________________________
from_token – Choose SOURCE token ETH, WETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, WETH, USDBC | Select one
Disclaimer - If you use True for use_fee, you support me 1% of the transaction amount
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "ETH"
to_token = "USDBC"
min_amount = 0.0001
max_amount = 0.0001
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
openocean_inst = OpenOcean(wallet_info)
await openocean_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_xyswap(wallet_info):
"""
Make swap on XYSwap
______________________________________________________
from_token – Choose SOURCE token ETH, WETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, WETH, USDBC | Select one
Disclaimer - If you use True for use_fee, you support me 1% of the transaction amount
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "ETH"
to_token = "USDBC"
min_amount = 0.0001
max_amount = 0.0001
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
xyswap_inst = XYSwap(wallet_info)
await xyswap_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_maverick(wallet_info):
"""
Make swap on Maverick
______________________________________________________
from_token – Choose SOURCE token ETH, USDBC | Select one
to_token – Choose DESTINATION token ETH, USDBC | Select one
______________________________________________________
all_amount - swap from min_percent to max_percent
"""
from_token = "ETH"
to_token = "USDBC"
min_amount = 0.0001
max_amount = 0.0001
decimal = 6
slippage = 1
all_amount = True
min_percent = 1
max_percent = 1
maverick_inst = Maverick(wallet_info)
await maverick_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def bungee_refuel(wallet_info):
"""
Make refuel on Bungee
______________________________________________________
to_chain – Choose DESTINATION chain: BSC, OPTIMISM, GNOSIS, POLYGON, ZKSYNC, ARBITRUM, AVALANCHE, AURORA, ZK_EVM
Disclaimer - The chain will be randomly selected
______________________________________________________
random_amount – True - amount random from min to max | False - use min amount
"""
chain_list = ["GNOSIS"]
random_amount = False
bungee_inst = Bungee(wallet_info)
await bungee_inst.refuel(chain_list, random_amount)
async def stargate_bridge(wallet_info):
"""
Stargate bridge ETH
______________________________________________________
to_chain – Choose DESTINATION chain: arbitrum, optimism, linea
Disclaimer - The chain will be randomly selected
______________________________________________________
random_amount – True - amount random from min to max | False - use min amount
"""
chain_list = ["arbitrum", "optimism"]
min_amount = 0.0001
max_amount = 0.0002
decimal = 5
slippage = 1
all_amount = True
min_percent = 10
max_percent = 10
stargate_inst = Stargate(wallet_info)
await stargate_inst.bridge(chain_list, min_amount, max_amount, decimal,
slippage, all_amount, min_percent, max_percent)
async def deposit_aave(wallet_info):
"""
Make deposit on Aave
______________________________________________________
make_withdraw - True, if need withdraw after deposit
all_amount - deposit from min_percent to max_percent
"""
min_amount = 0.0001
max_amount = 0.0002
decimal = 5
sleep_from = 5
sleep_to = 24
make_withdraw = True
all_amount = True
min_percent = 5
max_percent = 10
aave_inst = Aave(wallet_info)
await aave_inst.router(
min_amount, max_amount, decimal, sleep_from, sleep_to, make_withdraw, all_amount, min_percent, max_percent
)
async def deposit_moonwell(wallet_info):
"""
Make deposit on MoonWell
______________________________________________________
make_withdraw - True, if need withdraw after deposit
all_amount - deposit from min_percent to max_percent
"""
min_amount = 0.0001
max_amount = 0.0002
decimal = 5
sleep_from = 5
sleep_to = 24
make_withdraw = True
all_amount = True
min_percent = 5
max_percent = 10
moonwell_inst = MoonWell(wallet_info)
await moonwell_inst.router(
min_amount, max_amount, decimal, sleep_from, sleep_to, make_withdraw, all_amount, min_percent, max_percent
)
async def bridge_nft(wallet_info):
"""
Make mint NFT and bridge NFT on L2Telegraph
"""
sleep_from = 5
sleep_to = 20
l2telegraph_inst = L2Telegraph(wallet_info)
await l2telegraph_inst.bridge(sleep_from, sleep_to)
async def mint_mintfun(wallet_info):
"""
Mint NFT on Mint.Fun
______________________________________________________
Disclaimer - The Mint function should be called "mint", to make sure of this,
look at the name in Rabby Wallet or in explorer
"""
nft_contracts_data = {
"0x69b69cc6e9f99c62a003fd9e143c126504d49dc2": 1,
"0xea0b3e39ccd46d7F2B338D784De8519902f7E17E": 3,
}
mintfun_inst = MintFun(wallet_info)
await mintfun_inst.mint(nft_contracts_data)
async def mint_zerius(wallet_info):
"""
Mint + bridge Zerius NFT
______________________________________________________
chains - list chains for random chain bridge: arbitrum, optimism, polygon, bsc, avalanche, zora
Disclaimer - The Mint function should be called "mint", to make sure of this,
look at the name in Rabby Wallet or in explorer
"""
chains = ["zora"]
sleep_from = 200
sleep_to = 700
zerius_inst = Zerius(wallet_info)
await zerius_inst.mint_and_bridge(chains, sleep_from, sleep_to)
async def mint_nft(wallet_info):
"""
Mint NFT on NFTS2ME
______________________________________________________
Specify contracts at data/nfts2me_contracts.json file or use nfts2me_search_contracts() module
"""
contracts = [
('0x8E16744fF0Ef42DB38276ecc32D248237548297f', 'mint'), # sakura blade #1
('0x0E7733747cFB856637c171b049d1bF0b4a5636cd', 'mint'), # sakura blade #2
('0x3cCF622C09CADd841AD1F1d2D3Fdd99A016Ba0c3', 'mint'), # sakura blade #3
('0x21e3E261b234931Fef4291df2F8a3FeB1869CfaA', 'mint'), # sakura blade #4
('0x995bD197fb9B866Ab262A6243a463F441894d35f', 'mint'), # sakura blade #5
('0xeF9eCF45F22e96486ECDf41F7E732234995b98DD', 'mint'), # Back to ATH
('0x19915657BFD1291b017Fa8b1fdDbc7274F99A3c0', 'mint'), # MandaCat
('0xdE69cdB6a0E0DeBEFaCb4998FDdc9Ff32CE1e76D', 'mint'), # Paradise on earth
('0x4a5b47e3b69Dc91fC0C951333c815Ea0d774a440', 'mint'), # Girl with Pearl
('0x28F0249d4a52A803cb585E1a369CAf6b774D96c7', 'mint'), # Blue hair girl
('0x3Ef5c6C5230b7832cC39830BAAa0BE1092b11C63', 'mint'), # Battle Rhino
('0xCbc5c4F0eC44C2Ee19D90f6C2968189ABE49309c', 'mint'), # The World Ahead
('0xc38964D832873Fb47555B903b03fB9Fd9ECdc346', 'mint'), # Koala
('0x6C40aF77cd9ebe10290A95B59E6EF1D81f88D449', 'mint'), # Skeleton
('0x8c157a18Da183DA04841CFeffA8278D66a7d0aE9', 'mint'), # Meo Meo
('0x2BEADfCc95C9730BcdBc69FE853370994BfA31dF', 'mint'), # cube building
('0x850116229A3dE92014d63eF6716d8BaCE40c6cbe', 'mint'), # fuckers
('0x2C98B101335695Ab2fC46e84dA9b1518bc4cA0EE', 'mint'), # Two-tailed fox
('0x84CF15984b24E10AB2Ff121bDA714Be2bA90f986', 'mint'), # kateVG3
('0x811835dfA6bF48a0F1C4fCFCF93ea89F9e881e4f', 'mint'), # nancyTON
('0xfEfc993328D387b5ca34b082a0ba350B03e2bf6d', 'mint'), # alvar
('0xEc302Cb786F28229bB5b1f8Fa5BBC1c8F570647B', 'mint'), # anny0
('0xC087546B6C7c62d6bBe148c6015Ca71e17f0757a', 'mint'), # danny1
('0xC2A25349aDd0c6368CC099be5d3cde0426fc66a0', 'mint'), # kelly
('0x3C3987317A224EC871c81ebFDd042eFFaba69E00', 'mint'), # Marty
]
minter = Minter(wallet_info)
await minter.mint_nft(contracts)
async def mint_zkstars(wallet_info):
"""
Mint ZkStars NFT
"""
contracts = [
"0x4c78c7d2f423cf07c6dc2542ac000c4788f03657",
"0x657130a14e93731dfecc772d210ae8333303986c",
"0x004416bef2544df0f02f23788c6ada0775868560",
"0x39b06911d22f4d3191827ed08ae35b84f68843e4",
"0x8a6a9ef84cd819a54eee3cf7cfd351d21ab6b5fe",
"0x8fb3225d0a85f2a49714acd36cdcd96a7b2b7fbc",
"0x91ad9ed35b1e9ff6975aa94690fa438efb5a7160",
"0x32d8eeb70eab5f5962190a2bb78a10a5a0958649",
"0xab62313752f90c24405287ad8c3bcf4c25c26e57",
"0x6f562b821b5cb93d4de2b0bd558cc8e46b632a08",
"0xb63159a26664a89abce783437fc17786af8bb46d",
"0x7e6b32d7eecddb6be496f232ab9316a5bf9f4e17",
"0xcb03866371fb149f3992f8d623d5aaa4b831e2fd",
"0x78c85441f53a07329e2380e49f1870199f70cee1",
"0x54c49cb80a0679e3217f86d891859b4e477b56c3",
"0xad6f16f5ff3461c83d639901bae1fb2a8a68aa31",
"0x023a7c97679f2c121a31bacf37292dabf7ab97e9",
"0x5dabff127cad8d075b5cea7f795dcbae1ddf471d",
"0xd3c6386362dabab1a30acc2c377d9ac2cc8b7b16",
"0xed0407d6b84b2c86418cac16a347930b222b505c"
]
mint_min = 1
mint_max = 1
mint_all = False
sleep_from = 5
sleep_to = 10
zkkstars = ZkStars(wallet_info)
await zkkstars.mint(contracts, mint_min, mint_max, mint_all, sleep_from, sleep_to)
async def swap_tokens(wallet_info):
"""
SwapTokens module: Automatically swap tokens to ETH
______________________________________________________
use_dex - Choose any dex: uniswap, pancake, woofi, baseswap, alienswap, maverick, odos, inch, xyswap, openocean
"""
use_dex = [
"uniswap", "pancake", "woofi", "baseswap",
"alienswap", "maverick", "odos", "inch",
"xyswap", "openocean"
]
use_tokens = ["USDBC"]
sleep_from = 300
sleep_to = 600
slippage = 1
min_percent = 100
max_percent = 100
swap_tokens_inst = SwapTokens(wallet_info)
await swap_tokens_inst.swap(use_dex, use_tokens, sleep_from, sleep_to, slippage, min_percent, max_percent)
async def swap_multiswap(wallet_info):
"""
Multi-Swap module: Automatically performs the specified number of swaps in one of the dexes.
______________________________________________________
use_dex - Choose any dex: uniswap, pancake, woofi, baseswap, alienswap, maverick, odos, inch, xyswap, openocean
quantity_swap - Quantity swaps
______________________________________________________
random_swap_token - If True the swap path will be [ETH -> USDBC -> USDBC -> ETH] (random!)
If False the swap path will be [ETH -> USDBC -> ETH -> USDBC]
"""
use_dex = ["uniswap", "pancake", "woofi", "baseswap", "odos"]
min_swap = 1
max_swap = 2
sleep_from = 3
sleep_to = 7
slippage = 1
random_swap_token = True
min_percent = 5
max_percent = 10
multi = Multiswap(wallet_info)
await multi.swap(
use_dex, sleep_from, sleep_to, min_swap, max_swap, slippage, random_swap_token, min_percent, max_percent
)
async def unlooped_mint(wallet_info):
contract = "0xde3e6A01663025301838b64685845DAA5cFcCBD8" # Mercury
unlooped_inst = Unlooped(wallet_info)
await unlooped_inst.mint(contract)
async def sound_xyz_mint(wallet_info):
"""
Mint free nft (platform commission 0.000777 eth) on sound.xyz
______________________________________________________
referral - wallet address of referral
contracts - address of nft (soundtrack) and track edition in format ('address', 0 or 1)
1 - Limited Edition, 0 - Free Edition; check info on website
"""
referral = ""
contracts = [
('0xf57FdEf4cBf30F7d47F578d313a181141C91c1E9', 1), # INTRO
('0x68733a0fc8dEa32535A249cbFccd6Ae0329ce998', 0), # Back Online (ft. Pluko x Biicla x EVAN GIIA)
('0x6ff2f9c5a59Adc4618617590A9DC77e5c9e4c68e', 0), # anywhere but here
]
sound_xyz_inst = SoundXyz(wallet_info)
await sound_xyz_inst.mint_sound(contracts, referral)
async def mint_onchain_summer2_nfts(wallet_info):
"""
Mint nft from Onchain Summer2 Campaign
comment line if you don't need some nft
only_claim - if True, soft will try to claim without mint
______________________________________________________
"""
sleep_from = 10
sleep_to = 20
random_mint = True
nfts = [
'Celebrating the Ethereum ETF', # 0.0001 eth
'ETFEREUM', # 0.0001 eth
'ETH BREAKING THROUGH', # 0.0001 eth
'Ethereum ETF', # 0.0001 eth
"ETH can't be stopped", # 0.0001 eth
# # 'Happy Birthday Toshi', # 0.0001 eth
'EURC & Base Launch', # 0.0001 eth
'Introducing: Coinbase Wallet web app', # 0.0001 eth
'Mister Miggles',
'Team Liquid Onchain Summer Premiere Series',
# # 'Nouns Forever (Song A Day #5700)',
'the world after ETH ETF approval',
# # 'Adventure Begins', # 0.00042 eth
'Nouns everywhere ⌐◨-◨',
# # 'Happy 3rd Nouniversary',
# # 'Happy Nouniversary',
# # 'Celebrating the end of Nouns: Season 3',
'Celebrating Nouns', # claim doesn't work on website
'Nounish Vibe',
'Hand of Nouns',
'Happy Nouniversary from based Nouns!',
# # 'Base God and Miggs wif Nouns',
# # 'nounify the rockies',
# # 'Dawn of Daylight',
'Coffee Days 2024',
# # 'STIX Launch Tournament Pass',
'strut 001',
'Nouniversary (Blue)',
# # 'Toshi Onchain Summer',
'Base Canada',
'Butterfly',
'THINK BIG',
'Toshi Chess',
'Toshi Vibe',
"Whatchu Lookin' At?",
'Stand with Crypto folk rock',
# 'Endaoment X SWC Shield',
'Stand with Crypto',
'Yellow Collective Shield Trait',
'Crypto will bloom',
'Stand with Crypto Pizza',
'Duality in motion',
'Crypto Vibe',
'Toshi x SWC 3',
'The Creative Shield',
'En grade',
'Mint the vision',
'Stand With Crypto Shield Rune',
'Shielding the wonder',
'Earth Stands with Crypto',
'⌐◨-◨ Stand With Crypto',
'We stand, we build',
'Live and Let Live!',
'Juicy Pack',
'Forbes WEB3 Inspire',
'Let The Shield Shine',
'All for One',
"Let's Stand",
'The Eternal Skywheel',
'New Way',
'Nouns and community',
'Truworld Onchain Summer Pass',
'Onchain Summer Postcards'
]
only_claim = False
os_inst = OnchainSummer(wallet_info)
await os_inst.mint_all_nft(sleep_from, sleep_to, random_mint, nfts, only_claim)
async def register_onchain_summer(wallet_info):
ref_code = "3e2cc38a-5422-42d5-bd2d-85b5340662fb"
os_inst = OnchainSummer(wallet_info)
await os_inst.register_account(ref_code)
async def mint_base_domain(wallet_info):
"""
Create Base domain with discount
sleep_from/to - sleep before claim task on onchain summerыс
"""
sleep_from = 10
sleep_to = 20
only_claim = False
os_inst = OnchainSummer(wallet_info)
await os_inst.register_domain(sleep_from, sleep_to, only_claim)
async def claim_all_badges(wallet_info):
"""
Claim badges Onchain Summer 2 Campaign
______________________________________________________
"""
sleep_from = 10
sleep_to = 20
random_mint = True
os_inst = OnchainSummer(wallet_info)
await os_inst.claim_all_badges(sleep_from, sleep_to, random_mint)
async def custom_routes(wallet_info):
"""
BRIDGE:
– bridge_base
– bridge_orbiter
– bungee_refuel
– stargate_bridge
WRAP:
– wrap_eth
– unwrap_eth
DEX: