-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
151 lines (117 loc) · 3.67 KB
/
main.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
from termcolor import cprint
from config.settings import CHAINS, MIN_SLEEP, MAX_SLEEP
from helpers.functions import sleeping
from helpers.settings_helper import get_private_keys
from helpers.web3_helper import get_web3
from modules.balance.module import interface_check_balance
from modules.filter_tx.module import interface_last_tx, interface_tx_count
from modules.orbiter_bridge.functions import claim_points
from modules.orbiter_bridge.module import interface_orbiter_bridge
from modules.relay_bridge.module import interface_relay_bridge
from modules.stargate_v2_bridge.module import interface_stargate_bridge
from modules.unused_contracts.config import UNUSED_CONTRACTS
from modules.unused_contracts.functions import mint_random_nft
from modules.unused_contracts.module import run_unused_fn
from modules.zora_official.module import zora_official_interface
if __name__ == '__main__':
try:
while True:
cprint(f'Select an action:', 'yellow')
cprint(f'0. Exit', 'yellow')
cprint(f'1. Check balances', 'yellow')
cprint(f'2. Filter wallets by last TX Date', 'yellow')
cprint(f'3. Filter wallets by TX Count', 'yellow')
cprint(f'-------- Unused NFT Contracts --------', 'blue')
cprint(f'5. Arbitrum Nova', 'yellow')
cprint(f'6. Base', 'yellow')
cprint(f'7. Blast', 'yellow')
cprint(f'8. Degen', 'yellow')
cprint(f'9. Scroll', 'yellow')
cprint(f'10. Ethereum', 'yellow')
cprint(f'11. Zora', 'yellow')
cprint(f'12. ZkSync Era', 'yellow')
cprint(f'13. Mode', 'yellow')
cprint(f'14. Polygon zkEVM (random NFT)', 'yellow')
cprint(f'15. Taiko', 'yellow')
cprint(f'-------- Special NFT Collections --------', 'blue')
cprint(f'20. Zora official NFTs / zora.co', 'yellow')
cprint(f'-------- Tokens / Bridge --------', 'blue')
cprint(f'30. Relay Bridge', 'yellow')
cprint(f'31. Orbiter Bridge - ETH bridge', 'yellow')
cprint(f'32. Orbiter Bridge - claim points', 'yellow')
cprint(f'33. Stargate v2 ETH Bridge', 'yellow')
option = input("> ")
if option == '0':
cprint(f'Exit, bye bye.', 'green')
break
elif option == '1':
interface_check_balance()
break
elif option == '2':
interface_last_tx()
break
elif option == '3':
interface_tx_count()
break
elif option == '5':
run_unused_fn('nova')
break
elif option == '6':
run_unused_fn('base')
break
elif option == '7':
run_unused_fn('blast')
break
elif option == '8':
run_unused_fn('degen')
break
elif option == '9':
run_unused_fn('scroll')
break
elif option == '10':
run_unused_fn('ethereum')
break
elif option == '11':
run_unused_fn('zora')
break
elif option == '12':
run_unused_fn('zksync')
break
elif option == '13':
run_unused_fn('mode')
break
elif option == '14':
chain = 'polygon_zkevm'
mint_random_nft(chain, UNUSED_CONTRACTS[chain])
break
elif option == '15':
run_unused_fn('taiko')
break
elif option == '20':
zora_official_interface()
break
elif option == '21':
break
elif option == '30':
interface_relay_bridge()
break
elif option == '31':
interface_orbiter_bridge()
break
elif option == '32':
prt_keys = get_private_keys()
web3 = get_web3(CHAINS['zksync']['rpc'])
for index, item in enumerate(prt_keys):
account = web3.eth.account.from_key(item['private_key'])
claim_points(index, account.address)
sleeping(MIN_SLEEP, MAX_SLEEP)
break
elif option == '33':
interface_stargate_bridge()
break
else:
cprint(f'Wrong action. Please try again.\n', 'red')
continue
except KeyboardInterrupt:
cprint(f' Exit, bye bye\n', 'red')
raise SystemExit