-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
282 lines (234 loc) · 13.2 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Etica Exchange Listing Donations</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background-color: #ffffff;
font-family: Arial, sans-serif;
}
#balance {
margin-top: 20px;
font-size: 18px;
}
#progressbar {
width: 85%;
background-color: #ddd;
border: 0px solid #000;
border-radius: 3px;
position: relative;
left: 8%;
}
#progress {
height: 1%;
background-color: darkgreen;
}
/* Style for the address container */
.address-container {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20px;
}
.container-border-bottom{
border-bottom: 1px solid black;
padding-bottom: 2vh;
}
/* Style for the address */
.address {
margin-top: 10px;
font-size: 18px;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
max-width: calc(100% - 50px);
}
/* Style for the copy button */
.copy-button-pointer {
cursor: pointer;
margin-left: 10px;
color: blue;
}
.copy-button{
background-color: #686868;
padding: 1%;
border-radius: 12%;
border: 0px solid white;
color: white;
margin-left: 1%;
font-size: 0.80rem;
position: relative;
top: -0.5vh;
padding-right: 1%;
padding-left: 1%;
padding-top: 0.5%;
padding-bottom: 0.5%;
}
.copy-button:hover{
background-color: #464646;
}
#usdt-networks-explorers-links{
display: none;
}
#eth-networks-explorers-links{
display: none;
}
@media (max-width: 800px) {
.address{
overflow: hidden;
}
}
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 10000;
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
}
/* Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container" style="text-align: center;margin-top: 5vh;">
<h1>ETI & EGAZ Exchange Listing Donations</h1>
<div class="container-border-bottom">
<div class="address-container">
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/eti-logo.png" style="width: 20px;" title="ETI accepted"> <img src="./images/egaz-logo.png" style="width: 20px;" title="EGAZ accepeted"> <img src="./images/ethereum-eth-logo.png" style="width: 20px;" title="ETH accepeted"> <img src="./images/tether-usdt-logo.png" style="width: 20px;" title="USDT accepeted"> Address: <span id="ethaddress" style="cursor:pointer;" class="ethaddress">0x4ae33a8aad0305237bd754a9a466765611f7f83e</span></span>
</div>
<button class="copy-button copy-button-eth"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none"><path d="M6 1h8v10H6V1Z" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path opacity="0.4" d="M2 15h8v-4H6V5H2v10Z" fill="#C7CAD1" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg> Copy</button>
</div>
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"> <span id="ethaddress" style="cursor:pointer;" class="ethaddress">ETH & USDT supported networks: ETHEREUM | ARBITRUM | OPTIMISM</span></span>
</div>
</div>
<div class="address-container container-border-bottom">
<div class="address" >
<span style="margin-left:0.5%; position: relative; top: -0.5vh;"><img src="./images/bitcoin-btc-logo.png" style="width: 20px;" title="BTC accepted"></span> Address: <span id="btcaddress" style="color: #464646;cursor:pointer;" class="btcaddress">bc1jW199FH4yOq14XOVDIoDUORFnSmXtUYim</span>
</div>
<button class="copy-button copy-button-btc"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none"><path d="M6 1h8v10H6V1Z" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path opacity="0.4" d="M2 15h8v-4H6V5H2v10Z" fill="#C7CAD1" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg> Copy</button>
</div>
<div id="balance" class="mt-3">
<p>EGAZ Balance: <span id="egazBalance">Loading...</span> EGAZ</p>
<p>ETH Balance: <span id="ethBalance">Loading...</span> ETH</p>
<p>EGAZ Balance in USD: $<span id="egazBalanceUSD">Loading...</span></p>
<p>ETH Balance in USD: $<span id="ethBalanceUSD">Loading...</span></p>
<div style="margin-top: 8vh;">
<p>Total Balance in Current USD value: $<span id="usdBalanceUSD">Loading...</span></p>
</div>
<div id="progressbar" class="progress mt-3">
<div id="progress" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
<!-- ETH Modal -->
<div id="eth-networks-explorers-modal" class="modal">
<div class="modal-content">
<span class="close-eth close">×</span>
<h4>
ETH Donations:
</h4>
<div class="address-container container-border-bottom">
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/ethereum-eth-logo.png" style="width: 20px;" title="ETH accepeted"> Address: <span id="ethaddress" style="cursor:pointer;" class="ethaddress">0x4ae33a8aad0305237bd754a9a466765611f7f83e</span></span>
</div>
<button class="copy-button copy-button-eth"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none"><path d="M6 1h8v10H6V1Z" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path opacity="0.4" d="M2 15h8v-4H6V5H2v10Z" fill="#C7CAD1" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg> Copy</button>
</div>
<span>
Supported Networks:
</span>
<div id="eth-networks-explorers-links">
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/ethereum-eth-logo.png" style="width: 20px;" title="ETH accepeted"> Ethereum: <a href="http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e" class="network-link" data-network="Ethereum">http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e</a> </span>
</div><br>
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/ethereum-eth-logo.png" style="width: 20px;" title="ETH accepeted"> Arbitrum: <a href="http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e" class="network-link" data-network="Ethereum">http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e</a> </span>
</div><br>
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/ethereum-eth-logo.png" style="width: 20px;" title="ETH accepeted"> Optimism: <a href="http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e" class="network-link" data-network="Ethereum">http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e</a> </span>
</div>
</div>
</div>
</div>
<!-- USDT Modal -->
<div id="usdt-networks-explorers-modal" class="modal">
<div class="modal-content">
<span class="close-usdt close">×</span>
<h4>
USDT Donations:
</h4>
<div class="address-container container-border-bottom">
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/tether-usdt-logo.png" style="width: 20px;" title="ETH accepeted"> Address: <span id="ethaddress" style="cursor:pointer;" class="ethaddress">0x4ae33a8aad0305237bd754a9a466765611f7f83e</span></span>
</div>
<button class="copy-button copy-button-eth"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none"><path d="M6 1h8v10H6V1Z" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path opacity="0.4" d="M2 15h8v-4H6V5H2v10Z" fill="#C7CAD1" stroke="#C7CAD1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg> Copy</button>
</div>
<span>
Supported Networks:
</span>
<div id="usdt-networks-explorers-links">
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/tether-usdt-logo.png" style="width: 20px;" title="ETH accepeted"> Ethereum: <a href="http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e" class="network-link" data-network="Ethereum">http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e</a> </span>
</div><br>
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/tether-usdt-logo.png" style="width: 20px;" title="ETH accepeted"> Arbitrum: <a href="http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e" class="network-link" data-network="Ethereum">http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e</a> </span>
</div><br>
<div class="address" >
<span style="margin-left:1%; position: relative; top: -0.5vh;"><img src="./images/tether-usdt-logo.png" style="width: 20px;" title="ETH accepeted"> Optimism: <a href="http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e" class="network-link" data-network="Ethereum">http://etherscan.io/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e</a> </span>
</div>
</div>
</div>
</div>
<footer class="footer mt-5">
<p class="text-muted">
<strong>Exchange Donations Wallet</strong> <br/>
<strong>Check explorer ETI/EGAZ:</strong>
<a href="https://www.eticascan.org/address/0x4ae33a8aad0305237bd754a9a466765611f7f83e" rel="nofollow" target="_blank">0x4ae33a8aad0305237bd754a9a466765611f7f83e</a><br/>
<strong>Check explorer ETH:</strong>
<a href="#" id="eth-check-explorers">0x4ae33a8aad0305237bd754a9a466765611f7f83e</a><br/>
<strong>Check explorer USDT:</strong>
<a href="#" id="usdt-check-explorers">0x4ae33a8aad0305237bd754a9a466765611f7f83e</a><br/>
<strong>Check explorer BTC:</strong>
<a href="https://www.blockchain.com/explorer/addresses/btc/bc1jW199FH4yOq14XOVDIoDUORFnSmXtUYim" rel="nofollow" target="_blank">bc1jW199FH4yOq14XOVDIoDUORFnSmXtUYim</a><br/>
</p>
<p>
<strong>For more information about Etica join us on </strong>
<a href="https://discord.gg/JAGxD6g77Z" rel="nofollow" target="_blank">Discord</a>
</p>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js"></script>
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/web3@1.5.2/dist/web3.min.js"></script>
<script src="./blockchain.js"></script>
<script src="./modal.js"></script>
</body>
</html>