forked from DeltaBalances/DeltaBalances.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tx.html
572 lines (535 loc) · 21.6 KB
/
tx.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="View details on an Ethereum transaction to a decentralized exchange (DEX)">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png?1">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png?1">
<link rel="icon" type="image/png" sizes="64x64" href="./favicon-64x64.png?1">
<title>Delta Balances</title>
<!-- CSS: Bootstrap, adminLTE, fontawesome & custom -->
<link href="css/combinedStyles.css" rel="stylesheet">
<!-- JS jquery + tablesorter -->
<script src="js/jquery.tablesorter.combined.min.js"></script>
<!-- JS Bootstrap + adminLTE (menu theme) + blockies ethereum -->
<script src="js/bootstrap.adminlte.blockies.min.js" defer></script>
<!-- JS socketIO for exchange prices -->
<!--<script src="js/socket.io.js" defer></script>-->
<!-- JS Token discover / loading -->
<script src="backupTokens.js"></script>
<script src="loadTokens.js"></script>
<!-- JS Main functionality -->
<!-- config excluded from bundle -->
<script src="configBundle.js"></script>
<script src="bundle.min.js"></script>
<script src="tx.js"></script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<!-- Main Header -->
<header class="main-header">
<!-- Logo -->
<a href="index.html" class="logo hidden-xs">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini">
<img id="logo1" align="middle" src="logo-white.png" alt="logo">
</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg">
<img id="logo2" align="middle" src="logo-white.png" alt="logo">
<span class="homeLink1">Delta</span>
<span class="homeLink2">Balances</span>
</span>
</a>
<!-- Header Navbar -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<!-- mobile only logo -->
<ul class="visible-xs nav navbar-nav pull-left navbar-logo" style="margin-left:0px; margin-top:5px;font-size:20px; height:30px; line-height:30px;">
<li class="">
<a href="index.html" class="dropdown">
<span class="homeLink1">Delta</span>
<span class="homeLink2">Balances</span>
</a>
</li>
</ul>
<!-- header search -->
<ul class="nav navbar-nav pull-left customWidth1" style=" border: none;">
<li class="navbar-form" style="width:100%; padding:0px; ">
<div class="input-group" style="width:100%;">
<input type="text" id="address" class="form-control custom" placeholder="Ethereum address, transaction hash">
<span class="input-group-btn">
<button id="refreshButton" onClick="myClick()" class="btn btn-flat">
<i id="refreshButtonSearch" class="fa fa-search" aria-hidden="true"></i>
<i id="refreshButtonLoading" style="display:none" class="fa fa-refresh fa-spin" aria-hidden="true"></i>
</button>
</span>
</div>
</li>
</ul>
<ul class="nav navbar-nav pull-right navbar-user">
<!-- Control Sidebar Toggle Button -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="#" id="userToggle" class="hidden dropdown-toggle" data-toggle="control-sidebar">
<!-- The user image in the navbar-->
<i id="userImage" class="user-image bg-red" style="width:32px; height:32px;"></i>
<!-- hidden-xs hides the username on small devices so only the image appears. -->
<span id="currentAddr2" class="hidden-xs">0x......</span>
</a>
</li>
</ul>
</nav>
</header>
<!-- top alert message -->
<div class="alert alert-danger alert-top" style="display:none;" onclick="hideError()" id='error' role="alert">
<strong>Error</strong>
<span id="errortext"></span>
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="alert alert-warning alert-top alert-dismissible" onclick="hideHint()" style="display:none;" role="alert" id='hint'>
<strong>Hint</strong>
<span id="hinttext"></span>
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar Menu -->
<ul class="sidebar-menu" data-widget="tree">
<li id="homeLinkHeader" class="header">
<a href="index.html">
<span class="homeLink3">Delta</span>
<span class="homeLink4">Balances</span>
</a>
</li>
<li class="header">Multi Exchange</li>
<!-- Optionally, you can add icons to the links -->
<li>
<a id="overviewNav" href="index.html">
<i class="sidebar-icon icon-balances"></i>
<span>Token Balances</span>
</a>
</li>
<li>
<a id="recentNav" href="recent.html">
<i class="sidebar-icon icon-recent"></i>
<span>Recent Transactions</span>
</a>
</li>
<li>
<a id="histNav" href="trades.html">
<i class="sidebar-icon icon-book"></i>
<span>Trade History</span>
</a>
</li>
<li class="active">
<a id="txNav" href="tx.html">
<i class="sidebar-icon icon-info"></i>
<span>Transaction Info</span>
</a>
</li>
<li class="header">Single exchange</li>
<li class="treeview menu">
<a href="#">
<i class="icon-book"></i>
<span>Exchange History</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li>
<a id="historyNav" href="history.html">
<i class="sidebar-icon icon-etherdelta"></i>
<span>EtherDelta
<span class="text75">(ForkDelta)</span>
</span>
</a>
</li>
<li>
<a id="historyNav2" href="history2.html">
<i class="sidebar-icon icon-tokenstore"></i>
<span>Token store</span>
</a>
</li>
<li>
<a id="historyNav4" href="history4.html">
<i class="sidebar-icon icon-zrx"></i>
<span>0x Protocol</span>
</a>
</li>
<li>
<a id="historyNav5" href="history5.html">
<i class="sidebar-icon icon-airswap"></i>
<span>AirSwap</span>
</a>
</li>
<li>
<a id="historyNav6" href="history6.html">
<i class="sidebar-icon icon-kyber"></i>
<span>Kyber Network</span>
</a>
</li>
<li>
<a id="historyNav7" href="history7.html">
<i class="sidebar-icon icon-oasis"></i>
<span>OasisDex</span>
</a>
</li>
<li>
<a id="historyNav8" href="history8.html">
<i class="sidebar-icon icon-enclaves"></i>
<span>EnclavesDex</span>
</a>
</li>
<li>
<a id="historyNav9" href="history9.html">
<strong class="sidebar-icon icon-ethen"> E</strong>
<span>ETHEN</span>
</a>
</li>
<li>
<a id="historyNav3" href="history3.html">
<i class="sidebar-icon icon-decentrex"></i>
<span>Decentrex</span>
</a>
</li>
</ul>
</li>
<li class="header">Links</li>
<li>
<a href="https://github.com/DeltaBalances/DeltaBalances.github.io" target="_blank">
<i class="fa fa-github"></i>
<span>GitHub</span>
</a>
</li>
<li>
<a href="https://etherscan.io/address/0x3e25f0ba291f202188ae9bda3004a7b3a803599a#code" target="_blank">
<i class="fa fa-link"></i>
<span>Smart contract</span>
</a>
</li>
<li>
<a href="./old/index.html" target="_blank">
<i class="fa fa-link"></i>
<span>Deltabalances V1</span>
</a>
</li>
</ul>
<!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
</aside>
<div class="wrapper">
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<!-- <section class="content-header">
<h1>
Token balances
</h1>
</section> -->
<!-- Main content -->
<section class="content container-fluid">
<div class="row">
<div class="col-md-12 col-lg-10 s-fullwidth">
<div class="box box-default">
<!-- /.box-header -->
<div class="box-body noPadTop">
<div class="col-md-12 noPadM">
<h2> Transaction info
<button id='loading' onclick="myClick()" class="fa fa-refresh" style="display:none;"></button>
</h2>
<div id="emptyMsg" class="col-md-12 noPad">
<h4>
<strong>Enter your transaction hash</strong>
</h4>
</div>
<div class="col-md-12 noPad" style="overflow:hidden;">
<table class="hidden txOverviewTable table table-sm" cellspacing="0" cellpadding="0">
<tr>
<td> Hash</td>
<td id='hash'>
</td>
</tr>
<tr>
<td> From</td>
<td id='from'></td>
</tr>
<tr>
<td>To </td>
<td id='to'></td>
</tr>
</table>
</div>
<div class="col-md-6 noPad">
<table class="hidden txOverviewTable table table-sm" cellspacing="0" cellpadding="0">
<tr>
<td>Type</td>
<td id='inputtype'></td>
</tr>
<tr>
<td> Status</td>
<td id='status'></td>
</tr>
<tr>
<td>Date </td>
<td id='time'></td>
</tr>
<tr>
<td>ETH value </td>
<td id='ethval'></td>
</tr>
</table>
</div>
<div class="col-md-6 noPad">
<table class="hidden txOverviewTable table table-sm" cellspacing="0" cellpadding="0">
<tr>
<td>Gas Price </td>
<td id='gasgwei'></td>
</tr>
<tr>
<td>Gas Used </td>
<td id='gasusedlimit'></td>
</tr>
<tr>
<td>Gas Cost </td>
<td id='gascost'></td>
</tr>
<tr>
<td>Nonce </td>
<td id='nonce'></td>
</tr>
</table>
</div>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<div class="col-md-12 col-lg-10 s-fullwidth">
<div class="box box-default">
<!-- /.box-header -->
<div class="box-body noPadTop">
<div class="col-md-12 noPadM">
<h2>Summary</h2>
<span id="summary"></span>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<div class="col-md-12 col-lg-10 noPad s-fullwidth">
<div id="inputdiv" class="col-md-12 col-lg-6 s-fullwidth">
<div class="box box-default">
<!-- /.box-header -->
<div class="box-body noPadTop">
<div class="col-md-12 noPadM">
<h2>Input data </h2>
<p> Transaction input sent to the blockchain, what you attempted to do.</p>
</div>
<br>
<div class="col-md-12 noPad">
<div id="inputdata"></div>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<div id="outputdiv" class="col-md-12 col-lg-6 s-fullwidth">
<div class="box box-default">
<div class="box-body noPadTop">
<div class="col-md-12 noPadM">
<h2>Output data </h2>
<p>Event logs and internal transfers on the blockchain, what actually happened. </p>
</div>
<br>
<div class="col-md-12 noPad">
<div id="outputdata"></div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</div>
<div class="col-md-12 col-lg-10 s-fullwidth">
<div class="box box-default">
<div class="box-body">
<div class="col-md-12 noPadM">
Transaction Info supports:
<ul>
<li>Deposit style exchanges:
<a href="https://etherdelta.com" target="_blank">EtherDelta</a> (
<a href="https://forkdelta.github.io" target="_blank">ForkDelta</a>),
<a href="https://token.store" target="_blank">Token Store</a>,
<a href="https://www.idex.market" target="_blank">IDEX</a>,
<a href="https://www.enclaves.io" target="_blank">EnclavesDex</a>,
<a href="https://www.ethen.market" target="_blank">ETHEN</a>,
<a href="https://www.singularx.com" target="_blank">SingularX</a>,
<a href="https://www.etherc.io" target="_blank">EtherC</a> and
<a href="https://github.com/decentrex/decentrex.github.io/blob/master/index.md" target="_blank">Decentrex</a>.
</li>
<li> 0x relayers:
<a href="https://radarrelay.com/" target="_blank">RadarRelay</a>,
<a href="https://ddex.io" target="_blank">DDEX</a>,
<a href="https://paradex.io/" target="_blank">Paradex</a>,
<a href="https://ercdex.com/" target="_blank">ERC dEX</a>,
<a href="https://sharkrelay.com" target="_blank">Shark Relay</a>,
<a href="https://tokenjar.io" target="_blank">Token Jar</a>,
<a href="https://idtexchange.com" target="_blank">IDT</a>,
<a href="https://bamboorelay.com" target="_blank">BambooRelay</a> and
<a href="https://tokenlon.token.im/tokenlon" target="_blank">Tokenlon</a>.
</li>
<li> Other exchanges:
<a href="https://airswap.io" target="_blank">AirSwap</a>,
<a href="https://kyber.network" target="_blank">Kyber Network</a>,
<a href="https://oasisdex.com" target="_blank">OasisDex</a>,
<a href="https://www.bancor.network" target="_blank">Bancor</a>,
<a href="https://www.ethex.market" target="_blank">ETHEX</a> and
<a href="https://www.easytrade.io" target="_blank">EasyTrade</a>.
</li>
<li>Erc20 Transfers</li>
<li>Wrapped ETH</li>
</ul>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Main Footer -->
<footer class="main-footer">
<!-- To the right -->
<div class="pull-right hidden-xs">
</div>
<!-- Default to the left -->
<p> Powered by
<a target="_blank" href="https://etherscan.io/">Etherscan</a> and
<a target="_blank" href="https://infura.io/">Infura</a>
<br> Contact:
<a target="_blank" href="https://github.com/DeltaBalances/DeltaBalances.github.io">GitHub</a> or
<a target="_blank" href="https://reddit.com/u/deltabalances">Reddit</a>
<br> Buy me a beer:
<a href="https://etherscan.io/address/0xf6E914D07d12636759868a61E52973d17ED7111B" target="_blank">0xf6E914D07d12636759868a61E52973d17ED7111B</a>
</p>
</footer>
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Create the tabs -->
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
<li class="active">
<a href="#control-sidebar-home-tab" data-toggle="tab">
<i class="fa fa-home"></i>
</a>
</li>
<li>
<a href="#control-sidebar-settings-tab" data-toggle="tab">
<i class="fa fa-gears"></i>
</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<!-- Home tab content -->
<div class="tab-pane active" id="control-sidebar-home-tab">
<h3 class="control-sidebar-heading">Active address</h3>
<ul class="control-sidebar-menu">
<li>
<a href="" onclick="return false" style="pointer-events: none;">
<i id="currentAddrImg" class="menu-icon bg-red" style="width:32px; height:32px;"></i>
<div class="menu-info">
<h4 id="currentAddr" class="control-sidebar-subheading">0x......</h4>
<p id="currentAddrDescr">Input address</p>
</div>
</a>
</li>
<li id="walletInfo" class="hidden">
<a id="etherscan" href="#" target="_blank" class="menu-info control-sidebar-subheading">
Etherscan
<i class="fa fa-link pull-right"></i>
</a>
<a onclick="forget()" id="forget" href="#" class="menu-info control-sidebar-subheading">
Forget
<i class="fa fa-trash-o pull-right text-red"></i>
</a>
<a onclick="save()" id="save" href="#" class="hidden menu-info control-sidebar-subheading">
Save
<i class="fa fa-save pull-right text-blue"></i>
</a>
</li>
</ul>
<div id="savedSection" class="hidden">
<h3 class="control-sidebar-heading">Saved address</h3>
<ul class="control-sidebar-menu">
<li>
<a onclick="loadSaved()" href="#">
<i id="savedImage" class="menu-icon bg-red" style="width:32px; height:32px;"></i>
<div class="menu-info">
<h4 id="savedAddress" class="control-sidebar-subheading">0x12345678</h4>
<p>Saved</p>
</div>
</a>
</li>
</ul>
</div>
<div id="metamaskSection" class="hidden">
<h3 class="control-sidebar-heading">Detected Address</h3>
<ul class="control-sidebar-menu">
<li>
<a onclick="loadMetamask()" href="#">
<i id="metamaskImage" class="menu-icon bg-red" style="width:32px; height:32px;"></i>
<div class="menu-info">
<h4 id="metamaskAddress" class="control-sidebar-subheading">0x12345678</h4>
<p>Metamask</p>
</div>
</a>
</li>
</ul>
</div>
</div>
<!-- /.tab-pane -->
<!-- Settings tab content -->
<div class="tab-pane" id="control-sidebar-settings-tab">
<form>
<h3 class="control-sidebar-heading">Nothing here yet</h3>
</form>
</div>
<!-- /.tab-pane -->
</div>
</aside>
<!-- /.control-sidebar -->
<div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-116708935-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
// track amount of visits, only when hosted on github
if (window.location.origin.indexOf('.github.io') !== -1) {
gtag('js', new Date());
gtag('config', 'UA-116708935-1');
}
</script>
</body>
</html>