-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmodules_settings.py
More file actions
1166 lines (870 loc) · 36.1 KB
/
modules_settings.py
File metadata and controls
1166 lines (870 loc) · 36.1 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
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.marks_checker import Scan
from utils.badges_checker import ScrollBadges
async def deposit_scroll(wallet_info):
"""
Deposit from official bridge
______________________________________________________
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
"""
min_amount = 0.001
max_amount = 0.003
decimal = 6
all_amount = True
min_percent = 23
max_percent = 55
check_balance_on_dest = False
check_amount = 0.005
save_funds = [0.0011, 0.0013]
min_required_amount = 0
wait_unlimited_time = False
sleep_between_attempts = [120, 300]
scroll_inst = Scroll(wallet_info)
await scroll_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,
wait_unlimited_time, sleep_between_attempts
)
async def withdraw_scroll(wallet_info):
"""
Withdraw from official bridge
______________________________________________________
Description: look at deposit_scroll description
"""
min_amount = 0.0012
max_amount = 0.0012
decimal = 4
all_amount = True
min_percent = 10
max_percent = 10
check_balance_on_dest = False
check_amount = 0.005
save_funds = [0.0011, 0.0013]
min_required_amount = 0
wait_unlimited_time = False
sleep_between_attempts = [120, 300] # min, max
scroll_inst = Scroll(wallet_info)
await scroll_inst.withdraw(
min_amount, max_amount, decimal, all_amount, min_percent, max_percent,
save_funds, check_balance_on_dest, check_amount, min_required_amount, wait_unlimited_time,
sleep_between_attempts
)
async def withdraw_okx(wallet_info):
"""
Withdraw ETH from OKX
WARNING! OKX DOES NOT SUPPORT SCROLL CHAIN
______________________________________________________
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
wait_unlimited_time - the software will wait indefinitely for funds on the OKX
sleep_between_attempts - minimum-maximum delay between balance checks (if wait_unlimited_time - True)
"""
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 = [200, 300] # 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"]
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]
wait_unlimited_time = False
sleep_between_attempts = [200, 300] # min, max
transfer_inst = Transfer(wallet_info, from_chains=from_chains)
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,
wait_unlimited_time=wait_unlimited_time,
sleep_between_attempts=sleep_between_attempts
)
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_layerswap(wallet_info):
"""
Bridge from Layerswap
______________________________________________________
Description: Look at bridge_orbiter description
"""
from_chains = ["base"] # Chain with max balance will be selected
to_chain = ["scroll"] # Randomly selected
min_amount = 0.0002
max_amount = 0.0003
decimal = 6
all_amount = True
min_percent = 98
max_percent = 100
check_balance_on_dest = True
check_amount = 0.005
save_funds = [0.0008, 0.001]
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
layerswap_inst = LayerSwap(wallet_info=wallet_info, from_chains=from_chains)
await layerswap_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_nitro(wallet_info):
"""
Bridge from Nitro
______________________________________________________
Description: Look at bridge_orbiter description
"""
from_chains = ["optimism"] # Chain with max balance will be selected
to_chain = ["scroll"] # Randomly selected
min_amount = 0.0002
max_amount = 0.0003
decimal = 6
all_amount = True
min_percent = 100
max_percent = 100
check_balance_on_dest = False
check_amount = 0.005
save_funds = [0.0003, 0.0005]
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
nitro_inst = Nitro(wallet_info=wallet_info, from_chains=from_chains)
await nitro_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 = ["optimism"] # 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
______________________________________________________
min_amount - the minimum possible amount for wrapping
max_amount - maximum possible amount to wrapping
decimal - to which digit to round the amount to be wrapped
all_amount - if True, percentage values will be used for wrapping (min_percent, max_percent
instead of min_amount, max_amount).
min_percent - the minimum possible percentage of the balance to be wrapped
max_percent - the maximum possible percentage of the balance to wrap
"""
min_amount = 0.001
max_amount = 0.002
decimal = 4
all_amount = True
min_percent = 5
max_percent = 10
scroll_inst = Scroll(wallet_info)
await scroll_inst.wrap_eth(min_amount, max_amount, decimal, all_amount, min_percent, max_percent)
async def unwrap_eth(wallet_info):
"""
Unwrap ETH
______________________________________________________
Description: look at wrap_eth description
"""
min_amount = 0.001
max_amount = 0.002
decimal = 4
all_amount = True
min_percent = 100
max_percent = 100
scroll_inst = Scroll(wallet_info)
await scroll_inst.unwrap_eth(min_amount, max_amount, decimal, all_amount, min_percent, max_percent)
async def swap_skydrome(wallet_info):
"""
Make swap on Skydrome
You can swap only ETH to any token or any token to ETH!
______________________________________________________
from_token – Choose SOURCE token ETH, USDC | Select one
to_token – Choose DESTINATION token ETH, USDC | Select one
min_amount - the minimum possible amount for swap
max_amount - maximum possible amount for swap
decimal - to which digit to round the amount to be swapped
slippage - slippage rate
all_amount - if True, percentage values will be used for swap (min_percent, max_percent
instead of min_amount, max_amount).
min_percent - the minimum possible percentage of the balance to be swapped
max_percent - the maximum possible percentage of the balance to swap
______________________________________________________
"""
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
skydrome_inst = Skydrome(wallet_info)
await skydrome_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_zebra(wallet_info):
"""
Make swap on Zebra
You can swap only ETH to any token or any token to ETH!
______________________________________________________
Description: look at swap_skydrome description
"""
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
zebra_inst = Zebra(wallet_info)
await zebra_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_syncswap(wallet_info):
"""
Make swap on SyncSwap
You can swap only ETH to any token or any token to ETH!
______________________________________________________
Description: look at swap_skydrome description
"""
from_token = "USDC"
to_token = "ETH"
min_amount = 1
max_amount = 2
decimal = 6
slippage = 1
all_amount = True
min_percent = 100
max_percent = 100
syncswap_inst = SyncSwap(wallet_info)
await syncswap_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def swap_ambient(wallet_info):
"""
Make swap on Ambient
You can swap only ETH to USDC or USDC to ETH!
______________________________________________________
Description: look at swap_skydrome description
"""
from_token = "USDC"
to_token = "ETH"
min_amount = 1
max_amount = 2
decimal = 6
slippage = 1
all_amount = True
min_percent = 100
max_percent = 100
ambient_inst = Ambient(wallet_info)
await ambient_inst.swap(
from_token, to_token, min_amount, max_amount, decimal, slippage, all_amount, min_percent, max_percent
)
async def deposit_layerbank(wallet_info):
"""
Make deposit on LayerBank
______________________________________________________
min_amount - the minimum possible amount for deposit
max_amount - maximum possible amount for deposit
decimal - to which digit to round the amount to be deposited
make_withdraw - True, if need withdraw after deposit
sleep_from, sleep_to - minimum/maximum delay before withdrawal (if make_withdraw = True)
all_amount - if True, percentage values will be used for deposit (min_percent, max_percent
instead of min_amount, max_amount).
min_percent - the minimum possible percentage of the balance for deposit
max_percent - the maximum possible percentage of the balance for deposit
all_amount - deposit from min_percent to max_percent
"""
min_amount = 0.0001
max_amount = 0.0002
decimal = 5
make_withdraw = True
sleep_from = 7600
sleep_to = 15000
all_amount = True
min_percent = 5
max_percent = 35
layerbank_inst = LayerBank(wallet_info)
await layerbank_inst.router(
min_amount, max_amount, decimal, sleep_from, sleep_to, make_withdraw, all_amount, min_percent, max_percent
)
async def deposit_aave(wallet_info):
"""
Make deposit on Aave
______________________________________________________
min_amount - the minimum possible amount for deposit
max_amount - maximum possible amount for deposit
decimal - to which digit to round the amount to be deposited
make_withdraw - True, if need withdraw after deposit
sleep_from, sleep_to - minimum/maximum delay before withdrawal (if make_withdraw = True)
all_amount - if True, percentage values will be used for deposit (min_percent, max_percent
instead of min_amount, max_amount).
min_percent - the minimum possible percentage of the balance for deposit
max_percent - the maximum possible percentage of the balance for deposit
all_amount - deposit from min_percent to max_percent
"""
min_amount = 0.0001
max_amount = 0.0002
decimal = 5
make_withdraw = True
required_amount_for_withdraw = 0.005
sleep_from = 3650
sleep_to = 10000
all_amount = True
min_percent = 30
max_percent = 60
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,
required_amount_for_withdraw
)
async def deposit_rocketsam(wallet_info):
"""
Make deposit on RocketSam
______________________________________________________
Description: look at deposit_layerbank description
"""
contracts = [
"0x634607B44e21F4b71e7bD5e19d5b8E4dC99Ab9C4",
"0x1077df51A4059477826549101a30a70b9579A08B",
"0x802DbB9efE447f8e4f578EB7add3F7e43E89C529",
"0x0c9Bfb785E6582A15d6523252675abaA7350Bf76",
"0x288df8088905D71Ff052bf052f3A0ff11A6CDa46",
"0x2B4a7822F3de8bd6cb0552f562b40a391890E945",
"0x553a8EFa12d333c864c89CB809D68268C836B70a",
"0x5ae3cB086887A6FB7662eE58Cf1d5113E69bBA62",
"0x1feF777Fb93Aa45a6Cefcf5507c665b64b301FB3",
"0x0557D4C04BB994719b087d2950841BF25cf39899",
]
min_amount = 0.0001
max_amount = 0.0002
decimal = 5
make_withdraw = True
sleep_from = 7600
sleep_to = 15000
all_amount = True
min_percent = 20
max_percent = 35
rocketsam_inst = RocketSam(wallet_info)
await rocketsam_inst.router(
contracts, min_amount, max_amount, decimal, sleep_from, sleep_to,
make_withdraw, all_amount, min_percent, max_percent
)
async def withdraw_rocketsam(wallet_info):
"""
Make withdraw from RocketSam
______________________________________________________
sleep_from, sleep_to - minimum/maximum delay before withdrawal from contracts
"""
contracts = [
"0x634607B44e21F4b71e7bD5e19d5b8E4dC99Ab9C4",
"0x1077df51A4059477826549101a30a70b9579A08B",
"0x802DbB9efE447f8e4f578EB7add3F7e43E89C529",
"0x0c9Bfb785E6582A15d6523252675abaA7350Bf76",
"0x288df8088905D71Ff052bf052f3A0ff11A6CDa46",
"0x2B4a7822F3de8bd6cb0552f562b40a391890E945",
"0x553a8EFa12d333c864c89CB809D68268C836B70a",
"0x5ae3cB086887A6FB7662eE58Cf1d5113E69bBA62",
"0x1feF777Fb93Aa45a6Cefcf5507c665b64b301FB3",
"0x0557D4C04BB994719b087d2950841BF25cf39899",
]
sleep_from = 10
sleep_to = 30
rocketsam_inst = RocketSam(wallet_info)
await rocketsam_inst.withdraw(contracts, sleep_from, sleep_to)
async def bridge_nft_zerius(wallet_info):
"""
Mint + bridge Zerius NFT
The Mint function should be called "mint", to make sure of this,
look at the name in in explorer
______________________________________________________
chains - list chains for random chain bridge: arbitrum, optimism, polygon, bsc, avalanche
sleep_from, slip_to - minimum/maximum delay between mint and bridge
"""
chains = ["arbitrum"]
sleep_from = 30
sleep_to = 120
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
______________________________________________________
contracts - list NFT contract addresses (contract_address, method (mint/mintRandomTo))
"""
contracts = [
('0x24178Df853B4Db50B0EC8A8afd7DF51229e3b346', 'mint'), # potato
('0x9E519a8B155C7Cf9ff74D666db079716FFC47318', 'mint'), # Duality
('0xe08c47aeBEaC2d8Ed49AD64d65f6e65877F5716b', 'mint'), # Architect.l2p
('0x1cFe398220E3A76cd05ce98F68e8cB7E5c96A8A0', 'mintRandomTo'), # LayerZero memes
('0x5128ED5C206eBb80068E13f058ba476F27449C26', 'mint'), # not onchain identity
('0xd20F23a8BbBE6e5B63D97b1a94Cc2E111706FB98', 'mint'), # Autumn zorb
('0xE1C60ae5EA9171ABE3FCD3f0Fd8007918e1f961F', 'mint'), # Not eligible
('0xbBa247dCD53af0432511Ae173Ac6e1700B8cC77c', 'mintRandomTo'), # bull hammer
('0x3490e1ecdcbBFBf7f728B65b87199181C5E30c44', 'mint'), # nastyCat
('0x93B99D89AB4F46431cF3D71DD68E431C844A64DC', 'mint'), # kittyCat
('0x1E915a166db76C44ED8FE12F97C4e3b65c2C2629', 'mint'), # dandy
('0xDB9577Ef2Cd8360b3e34aEc7b700AD0894Dc68b7', 'mint'), # kateVG
('0x48BD80a8e60aAa91FD36fb00707590368C9E4468', 'mint'), # nancyTON1
('0x31dCD2726d46550C8162cCB23DA5B9b108906a5f', 'mint'), # b560
('0x28ee739580941e7EbBc3D6e337c3080025A5975E', 'mint'), # AndyEn2
('0xC5c3738Dc94E2395C7afF8a1b5aA322B3465496B', 'mint'), # alvar1
('0x4984E05E77457B9e7c1143D651A2c40Ff6138219', 'mint'), # ksi2
('0x754F3e6E2651e6Cc907B856A6a5592EC6094E4aa', 'mint'), # ksu002
('0xafdEAAd25fB47fBc2151357504292530d89b7A75', 'mint'), # Anny
('0x2a826Ad1a9a7830C25B4988EF444Cd0710B7A61e', 'mint'), # danny2
('0xa8A1876100A5C4f9c1CC18efD3e4acABB8779648', 'mint'), # howardtens
('0x528366eBEc17E348Dcf29Db66422F68ae8a7E310', 'mint'), # kelly3
('0x44CD8b5782d690173010D81eD7fe679A28729b6c', 'mint'), # bubble3
('0x07DEe49894bBDc900eD723556Eabfb0fcbd79A1C', 'mint'), # Drone
('0xe712378C3aeF1D4054c56da020D4eA75Bff76c66', 'mint'), # Anny
('0x6be4b2630da4B5EBeE9C20aD7B996578d0337FbE', 'mint'), # Marty0
('0x90183dFb9dFD684Cd05579787B8A95AE073cbCe2', 'mint'), # Alex
('0x7EdcC98a327178b21CA372156c5fde196a09BE5C', 'mint'), # Grey
('0x2cb36f4D93EE27362A63F99C4E55133b1F56Fe5f', 'mint'), # Anakin2
('0xBf214C36B82d5aFa0Ed52C93DdFf692FFfB147b0', 'mint'), # Bran2
('0xed50b8A648dE7241f39Cf9EEc2d471d6588a7B16', 'mint'), # Stark00
('0xC42706B43168dA0161a8970f99689A2edC10Dd7B', 'mint'), # Sansa
('0xC6bcd4D8c85DC5eA9D78F28D0C69E5128A5e824e', 'mint'), # Deer
('0x67dA10157415ac1f30AE152fEA6DF1366158B551', 'mint'), # Sticker0
('0x9e866bc18604CBFeF6B14A4839dd0883Ac08340f', 'mint'), # PZ
('0x7b1eA7f264eD0c1eeB9AE66a781705b106742C46', 'mint'), # Hq
('0xcd9B72eAE740eE25dF617a4770Ec6d197Bb484b1', 'mint'), # deer
('0x487E0880053e3Ad39C40a7B33eF0d10213ef50e5', 'mint'), # Moon
('0x815E3459dE519b83E3762e73D52f2a41f0Be5fDf', 'mint'), # Fox2
('0xc1Ff98171a47A2b7C307A601fed5Fc119d318795', 'mint'), # BF
('0x2Ed8134a906670613B90C2883Bc7BB05Af2b495a', 'mint'), # Next
('0xE4873F3724b944c0D1dB6893715FA6BFD3b16E93', 'mint'), # Sun
('0x364964a596eA8C30E8a9038491b3e7991C813D83', 'mint') # Eat
]
minter = Minter(wallet_info)
await minter.mint_nft(contracts)
async def parse_nfts2me_contracts():
"""
Parse NFT on NFTS2ME
______________________________________________________
mint_price - price of the sought contracts
min_total_supply - supply of the sought contracts
search_limit - among how many recent collections to look for contracts (MAXIMUM 10000)
"""
mint_price = 0
min_total_supply = 200
search_limit = 10000
await find_and_update_nfts2me_contracts(mint_price, min_total_supply, search_limit)
async def mint_zkstars(wallet_info):
"""
Mint ZkStars NFT
______________________________________________________
sleep_from, sleep_to - min/max delay between mints
"""
contracts = [
"0x609c2f307940b8f52190b6d3d3a41c762136884e",
"0x16c0baa8a2aa77fab8d0aece9b6947ee1b74b943",
"0xc5471e35533e887f59df7a31f7c162eb98f367f7",
"0xf861f5927c87bc7c4781817b08151d638de41036",
"0x954e8ac11c369ef69636239803a36146bf85e61b",
"0xa576ac0a158ebdcc0445e3465adf50e93dd2cad8",
"0x17863384c663c5f95e4e52d3601f2ff1919ac1aa",
"0x4c2656a6d1c0ecac86f5024e60d4f04dbb3d1623",
"0x4e86532cedf07c7946e238bd32ba141b4ed10c12",
"0x6b9db0ffcb840c3d9119b4ff00f0795602c96086",
"0x10d4749bee6a1576ae5e11227bc7f5031ad351e4",
"0x373148e566e4c4c14f4ed8334aba3a0da645097a",
"0xdacbac1c25d63b4b2b8bfdbf21c383e3ccff2281",
"0x2394b22b3925342f3216360b7b8f43402e6a150b",
"0xf34f431e3fc0ad0d2beb914637b39f1ecf46c1ee",
"0x6f1e292302dce99e2a4681be4370d349850ac7c2",
"0xa21fac8b389f1f3717957a6bb7d5ae658122fc82",
"0x1b499d45e0cc5e5198b8a440f2d949f70e207a5d",
"0xec9bef17876d67de1f2ec69f9a0e94de647fcc93",
"0x5e6c493da06221fed0259a49beac09ef750c3de1"
]
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: syncswap, skydrome, zebra
sleep_from/sleep_to - min/max delay between swaps
"""
use_dex = [
"ambient"
]
use_tokens = ["USDC"]
sleep_from = 1
sleep_to = 5
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: syncswap, skydrome, zebra, ambient
n_swaps_min, n_swaps_max - Quantity swaps
______________________________________________________
random_swap_token - If True the swap path will be [ETH -> USDC -> USDC -> ETH] (random!)
If False the swap path will be [ETH -> USDC -> ETH -> USDC]
"""
use_dex = ["ambient"]
n_swaps_min = 1
n_swaps_max = 1
sleep_from = 200
sleep_to = 400
slippage = 1
random_swap_token = True
min_percent = 51
max_percent = 60
multi = Multiswap(wallet_info)
await multi.swap(
use_dex, sleep_from, sleep_to, n_swaps_min, n_swaps_max, slippage, random_swap_token, min_percent, max_percent
)
async def inscribe_orbiter(wallet_info):
"""
Mint layer2-20 inscription
Software picks random chain from dest_chains and makes inscriptions
______________________________________________________
mint_chain - arbitrum, optimism, base, linea, scroll, zksync, polygon_zkevm, choose ONE
dest_chains - Support arbitrum, optimism, base, linea, scroll, zksync, polygon_zkevm
"""
mint_chain = "scroll"
dest_chains = ["scroll"]
orb_inscriptions = OrbiterInscription(wallet_info, mint_chain)
await orb_inscriptions.mint_orbiter_inscription(dest_chains)
async def owlto_check_in(wallet_info):
"""
Owlto daily check in. Send tx and press button on site
______________________________________________________
ref - wallet address of referral
"""
ref = "0xE022adf1735642DBf8684C05f53Fe0D8339F5663"
owlto_inst = Owlto(wallet_info)
await owlto_inst.check_in(ref)
async def mint_canvas_badge(wallet_info):
"""
Mint main badge from canvas
______________________________________________________
ref - list of referral codes, choose randomly
"""
ref = ["OHD3P"]
canvas_inst = Canvas(wallet_info)
await canvas_inst.mint_main_badge(ref)
async def mint_scroll_origin_badge(wallet_info):
canvas_inst = Canvas(wallet_info)
await canvas_inst.mint_scroll_origin_badge()
async def mint_all_badges(wallet_info):
"""
Mint All Badges
ref - list of referral codes for main badge, choose randomly
______________________________________________________
"""
sleep_from = 10
sleep_to = 30
ref = ["OHD3P"]
random_badge = True
canvas_inst = Canvas(wallet_info)
await canvas_inst.mint_all_badges(sleep_from, sleep_to, random_badge, ref)
async def withdraw_layerbank(wallet_info):
"""
Withdraw from layerbank
min_required_amount - required balance for withdrawal in eth
"""
min_amount = 0.001
max_amount = 0.002
decimal = 5
all_amount = False
min_percent = 20
max_percent = 35
min_required_amount = 0.00001
layerbank_inst = LayerBank(wallet_info)
await layerbank_inst.withdraw(min_amount, max_amount, decimal, all_amount, min_percent, max_percent,
min_required_amount)
async def withdraw_aave(wallet_info):
"""
Withdraw from aave
min_required_amount - required balance for withdrawal in eth
"""
min_amount = 0.001
max_amount = 0.002
decimal = 5
all_amount = False
min_percent = 20
max_percent = 35
min_required_amount = 0
aave_inst = Aave(wallet_info)
await aave_inst.withdraw(min_amount, max_amount, decimal, all_amount, min_percent, max_percent, min_required_amount)
async def deploy_omnihub_nft(wallet_info):
"""
Deploy OmniHub NFT
______________________________________________________
"""
omnihub_inst = OmniHub(wallet_info)
await omnihub_inst.deploy()
async def claim_scrollpump(wallet_info):
"""
Claim tokens from PumpScroll (Scroll Origins holders eligible)
------------------------------------------------------
refs - list of referral addresses
"""
refs = ['0xE022adf1735642DBf8684C05f53Fe0D8339F5663']
pumpscroll_inst = PumpScroll(wallet_info)
await pumpscroll_inst.claim_pump(refs)
async def custom_routes(wallet_info):
"""
BRIDGE:
– deposit_scroll
– withdraw_scroll
– bridge_orbiter
– bridge_layerswap
- bridge_rhinofi
- bridge_nitro
- bridge_relay
WRAP:
– wrap_eth
– unwrap_eth
DEX:
– swap_skydrome