-
Notifications
You must be signed in to change notification settings - Fork 209
/
token.html
175 lines (167 loc) · 8.78 KB
/
token.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
<!--
The MIT License
Copyright (c) 2018, Etherscan.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>EthValidate</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" href="img/favicon2.ico">
<link rel="shortcut icon" href="img/favicon2.ico" />
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.min.css">
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="wrapper" style="height: auto!important; min-height: 100%;margin-bottom: 20px;">
<div class="navbar navbar-expand-lg fixed-top navbar-light bg-light">
<div class="container">
<a href="/ethvalidate" class="navbar-brand">
<img src="img/logo.png" width="42" height="40" style="margin-top:-5px;" alt=""> EthValidate
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav">
<li class="nav-item ">
<a class="nav-link" href="/ethvalidate">Transaction</a>
</li>
<li class="nav-item">
<a class="nav-link" href="address">Address</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="token">Token</a>
</li>
</ul>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-8">
<h5>Token Balance</h5>
<div class="row">
<div class="col-md-10">
<div class="form-group">
<label for="searchAddr">Address</label>
<input type="input" class="form-control" id="searchAddr" maxlength="42" placeholder="Address">
</div>
<div class="form-group">
<label for="searchContractAddr">Contract Address</label>
<input type="input" class="form-control" id="searchContractAddr" maxlength="42" placeholder="Token Address">
</div>
<button class="btn btn-default btn-go" type="button">Go!</button>
</div>
</div>
<div class="row">
<div class="col-md-12 data-info"></div>
</div>
<div class="row">
<div class="col-md-12 datasource" style="display: none">
<div class="row">
<div class="col-sm-12">
<font style="margin-left:5px;" size="1">Price Source: <a href="https://www.cryptocompare.com/"
target="_blank" title="Pricing Data Provided by CryptoCompare" rel="nofollow">CryptoCompare</a></font>
</div>
</div>
</div>
</div>
<div class="loader" style="display: none"></div>
</div>
<div class="col-md-3 right-menu">
<h5>Network</h5>
<div class="Network">
<ul class="list-group network-group ulmainnet">
<li class="list-group-item active bg-dark">
<input type="checkbox" id="ethnetworkall" name="ethnetworkall"> Mainnet
<a href="#" class="customnode" style="float: right;color:#fff;" data-id='mainnet' title="Add custom node"><i
class="fa fa-plus"></i></a>
</li>
</ul>
<ul class="list-group network-group ultestnet">
<li class="list-group-item active bg-dark">
<input type="checkbox" id="testnetworkall" name="testnetworkall"> Testnet
<a href="#" class="customnode" style="float: right;color:#fff;" data-id='testnet' title="Add custom node"><i
class="fa fa-plus"></i></a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-md-8 text-center text-md-left">
<div class="d-lg-flex">
<small class="d-block g-font-size-default">Powered by <a href="https://etherscan.io">Etherscan.io</a>. Browse <a href="https://github.com/etherscan/ethvalidate" target="_blank">source code</a></small>
</div>
</div>
</div>
</div>
</footer>
<div class="modal fade" id="addnode" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Add Custom Node - <span id="nodenetwork"></span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="col-md-12 mb-2">
<label for="txtNodeName">Node Name</label>
<input id="txtNodeName" class="form-control" type="text" placeholder="My Node">
</div>
<div class="col-md-8 mb-2">
<label for="txtUrl">Url</label>
<input id="txtUrl" class="form-control" type="text" placeholder="http://localhost">
</div>
<div class="col-md-4 mb-2">
<label for="txtPort">Port</label>
<input id="txtPort" class="form-control" type="text" placeholder="8545">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button id="btnNode" type="button" class="btn btn-default">Save changes</button>
</div>
</div>
</div>
</div>
<!-- /container -->
<script src="js/vendor/jquery-3.3.1.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/bignumber.min.js"></script>
<script src="js/main.js"></script>
<script src="js/api.js"></script>
<script src="js/helper.js"></script>
<script src="js/token.js"></script>
</body>
</html>