This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zevm.html
60 lines (50 loc) · 1.65 KB
/
zevm.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>zEVM</title>
<link rel="stylesheet" href="./main.css">
</head>
<body>
<h1>zEVM</h1>
<h2 id="sec-fungible-module">zEVM/Fungible Module</h2>
<div class="container">
<div class="item">
<b>System Contract: </b>
<div id="system-contract-summary"></div>
</div>
<div class="item">
<b>Foreign Coins: </b>
<div id="foreign-coins-summary"> </div>
<!-- <pre id="Foreign coins addresses"></pre> -->
<button onclick="toggleDropdown('foreign-coins')">Raw JSON</button>
<pre id="foreign-coins" class="dropdown-content"></pre>
</div>
<div class="item">
<b>SystemContract status:</b>
<div id="system-contract-status"></div>
</div>
<div class="item">
<b>Gas Prices By ChainID:</b>
<div id="gas-prices"></div>
<button onclick="toggleDropdown('gas-prices-json')">Raw JSON</button>
<pre id="gas-prices-json" class="dropdown-content"></pre>
</div>
<div class="item">
<b>ForeignCoin/Zeta Pool</b>
<div id="gas-zeta-pool"></div>
</div>
</div>
<h2>My wallet on zEVM</h2>
<input type="text" id="my-wallet-address" size="45" placeholder="Enter your wallet address" style="font-family: monospace;">
<button id="button-set-wallet-address">Set</button>
<div id="my-zrc20-balances"></div>
<div>
</div>
<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js/dist/web3.min.js"></script>
<!-- <script src="./common.js"></script> -->
<script src="./utils.js"></script>
<script src="./tag.js"></script>
<script type="module" src="./zevm.js"></script>
</body>
</html>