-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
wallet.html
230 lines (196 loc) · 9.81 KB
/
wallet.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<!-- PWA -->
<meta name="theme-color" content="#1E2124" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="#1E2124" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="msapplication-TileImage" content="/img/background-multichain-min.png">
<meta name="msapplication-TileColor" content="#1E2124">
<meta name="msapplication-tap-highlight" content="no">
<title>DexPairs.xyz | Wallet</title>
<meta name="description" content="Explore your wallet tokens on multiple chains and display your NFTs gallery" />
<meta name="author" content="Dorian Bayart" />
<meta name="keywords" content="dexpairs, crypto, currency, prices, portfolio, tokens, wallet, nft, bitcoin, ens, eth, subgraph, matic, polygon, ethereum, cronos, bsc, bnb chain, fantom, xdai, gnosis, arbitrum, avalanche, celo, zksync, defi, dex, uniswap, quickswap, pancakeswap, spiritswap, honeyswap" />
<meta name="robots" content="index, follow" />
<link rel="shortcut icon" type="image/png" href="/img/background-multichain-min.png" />
<link href="./wallet" rel="canonical" />
<meta property="og:title" content="DexPairs.xyz | Wallet" />
<meta property="og:type" content="website" />
<meta property="og:description" content="Explore your wallet tokens on multiple chains and display your NFTs gallery" />
<meta property="og:url" content="./wallet" />
<meta property="og:image" content="/img/background-multichain-min.png" />
<meta property="og:site_name" content="DexPairs" />
<link rel="alternate" type="application/atom+xml" title="DexPairs.xyz News" href="/feed.atom" />
<link rel="manifest" href="/manifest.json">
<script src="/public/js/pwa.js"></script>
<link rel="stylesheet" href="./public/colors.css">
<link rel="stylesheet" href="./public/common.css">
<link rel="stylesheet" href="./public/header.css">
<link rel="stylesheet" href="./public/footer.css">
<link rel="stylesheet" href="./public/gas.css">
<link rel="stylesheet" href="./public/wallet.css">
<link rel="stylesheet" href="./public/wallet-responsive.css">
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/localforage/1.10.0/localforage.min.js" integrity="sha512-+BMamP0e7wn39JGL8nKAZ3yAQT2dL5oaXWr4ZYlTGkKOaoXM/Yj7c4oy50Ngz5yoUutAG17flueD4F6QpTlPng==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js" integrity="sha512-+H4iLjY3JsKiF2V6N366in5IQHj2uEsGV7Pp/GRcm0fn76aPAk5V8xB6n8fQhhSonTqTXs/klFz4D0GIn6Br9g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.9.1/chart.min.js" integrity="sha512-ElRFoEQdI5Ht6kZvyzXhYG9NqjtkmlkfYk0wr6wHxU9JEHakS7UJZNeml5ALk+8IKlU6jDgMabC3vkumRokgJA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/chartjs-adapter-moment/1.0.0/chartjs-adapter-moment.min.js" integrity="sha512-oh5t+CdSBsaVVAvxcZKy3XJdP7ZbYUBSRCXDTVn0ODewMDDNnELsrG9eDm8rVZAQg7RsDD/8K3MjPAFB13o6eA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/web3/1.8.0/web3.min.js" integrity="sha512-bSQ2kf76XufUYS/4XinoHLp5S4lNOyRv0/x5UJACiOMy8ueqTNwRFfUZWmWpwnczjRp9SjiF1jrXbGEim7Y0Xg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script defer src="./public/common.js"></script>
<script defer src="./public/connect.js"></script>
<script defer src="./public/protocols.js"></script>
<script defer src="./public/wallet.js"></script>
<script defer src="/public/js/websocket.js"></script>
<script defer src="/public/statistics.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZZQ634B55N"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-ZZQ634B55N');
</script>
</head>
<body>
<div id='header'>
<header>
<a id='title' href="./" aria-label="Homepage">
<img src='/img/dexpairs/dexpairs_1.svg' title='DexPairs' alt='DexPairs banner with icon' width='auto' height='36' loading='lazy'>
</a>
</header>
<div class='menu'>
<div class='menu-item menu-charts'>
<a href="./charts" aria-label="Charts">
<h2>
<img src="/img/icons/bar-chart-2.svg" alt="Chart Logo" width="24px" height="24px">
Charts
</h2>
</a>
</div>
<div class='menu-item menu-wallet active'>
<a href="./wallet" aria-label="Wallet">
<h2>
<img src="/img/icons/briefcase.svg" alt="Wallet Logo" width="24px" height="24px">
Wallet
</h2>
</a>
</div>
<div class='menu-item menu-news'>
<a href="/news" aria-label="News">
<h2>
<img src="/img/icons/news_feed.svg" alt="News Feed Logo" width="24px" height="24px">
News
</h2>
</a>
</div>
</div>
</div>
<div class="connect-wallet-container unselectable">
<button id="connect-button">
<img src='/img/metamask-fox.svg' alt='Metamask SVG Logo' title='Connect your wallet' />
Connect
</button>
</div>
<div class='gas'>
<h3 class='gas-title'>Current gas prices</h3>
<div class='gas-container'>
<span class='gas-icon'>
<img src='/img/gas-station-icon.svg' alt="Gas Station Icon" title="Network current gas" width="14px" height="16px">
</span>
<ul id='gas-list' class='gas-list'>
</ul>
<span id='gas-realtime-button' class='realtime-icon'>
<img src='/img/icons/refresh-cw.svg' alt="Realtime Update Icon" title="Realtime update" width="14px" height="14px">
</span>
</div>
</div>
<div id="input-wallet-container" class="margin-top">
<input type='text' id='input-wallet' placeholder='ERC20 Address or ENS Name' class='shadow-white'>
</div>
<div id="connect-demo-container" class="connect-demo-container">
<button id="connect-wallet">
<img src='/img/metamask-fox.svg' alt='Metamask SVG Logo' title='Metamask' />
Connect with Metamask
</button>
<a href="./wallet?address=0x0255c9D3850cacA1152AEB20425C264787661692" id="demo-wallet" class="shadow-white">Track a demo wallet</a>
</div>
<div id='global' class="global wallet-information none" style="display: none">
<div class="wallet-chart">
<div class="wallet-chart-description">Based on Ethereum price evolution</div>
<canvas id="wallet-chart" class='canvas-wallet-chart'></canvas>
<div id="wallet-date-tooltip" class='wallet-date-tooltip'></div>
</div>
<div class="wallet-values">
<h3 class="wallet-title">Wallet value</h3>
<div id="wallet-value"></div>
<div id="wallet-value-tooltip"></div>
</div>
</div>
<div id="filter-by-address-container" class="unselectable none">
<ul id="filter-by-address-list">
</ul>
</div>
<div id="filter-by-network-container" class="unselectable none">
<ul id="filter-by-network-list">
</ul>
</div>
<div id="state">
</div>
<div id="pie-charts" class="wallet-distribution none" style="display: none">
<div id="pie-addresses-container" class="pie-charts-container" style="display: none">
<canvas id="pie-addresses"></canvas>
</div>
<div id="pie-networks-container" class="pie-charts-container" style="display: none">
<canvas id="pie-networks"></canvas>
</div>
<div class="pie-charts-container">
<canvas id="pie-tokens"></canvas>
</div>
</div>
<div id="wallet-options" class="wallet-options none">
<div id="menu-tokens" class="wallet-menu menu-tokens">
Tokens
<span id="menu-tokens-number"></span>
</div>
<div id="menu-nfts" class="wallet-menu menu-nfts">
NFTs
<span id="menu-nfts-number"></span>
</div>
<div id="menu-transactions" class="wallet-menu menu-transactions">
Transactions
<span id="menu-transactions-number"></span>
</div>
<div id="hide-small-balances-container" class='hide-small-balances-container'>
<img id="hide-small-balances-icon" class='hide-small-balances-icon' src="/img/icons/check-square.svg" alt="Hide Small Balance Logo"/>
<span class='unselectable'>Hide small balances</span>
</div>
<div id="hide-no-image-container" class='hide-no-image-container'>
<img id="hide-no-image-icon" class='hide-no-image-icon' src="/img/icons/check-square.svg" alt="Hide Small Balance Logo"/>
<span class='unselectable'>Hide NFT without images</span>
</div>
</div>
<div id='wallet' class='wallet'>
</div>
<footer class="footer">
<a id="roadmap_link" class="link-with-img" href="https://github.com/dorianbayart/DexPairs/projects/1" target="_blank" rel="noopener">
<img src="/img/roadmap-icon.svg" title="Roadmap Picture" alt="Roadmap Picture" width="20px" height="20px" />
<span>Roadmap</span>
</a>
<a id="github_link" class="link-with-img" href="https://github.com/dorianbayart/DexPairs" target="_blank" rel="noopener">
<img src="/img/GitHub-Mark-32px.png" title="Github Logo" alt="Github Logo" width="20px" height="20px" />
<span>GitHub</span>
</a>
<a id="beta_link" class="link-with-img" href="/beta/">
<img src='/img/icons/box.svg' title="Beta Sandbox" alt="Sandbox Logo" width="20px" height="20px" />
<span>Beta</span>
</a>
<a id="donate_link" class="link-with-img" href="/donate">
<img src='/img/icons/gift.svg' title="Donate Logo" alt="Donate Logo" width="20px" height="20px" />
<span>Donate</span>
</a>
</footer>
<div class='body-background'></div>
</body>
</html>