-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
78 lines (75 loc) · 3.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./styles/bootstrap.min.css">
<link rel="stylesheet" href="./styles/app.css">
<title>Send ERC20 tokens to many users at once</title>
</head>
<body>
<div class="container p-5">
<h1 class="text-center mb-5">Token mass sending</h1>
<div class="row mb-5">
<code class="col-lg-12">
<p class="text-dark">Your wallet: <b id="user-wallet"></b></p>
<p class="text-dark">
- Max recommended addresses per transaction is 300<br>
- Paste the addresses and amounts<br>
- Separate the items with a comma, as in the example<br>
- Length of receivers and amounts should be equal
</p>
</code>
</div>
<form onsubmit="App.startAirdrop(); return false" class="row mb-5">
<div class="col-sm-6">
<div class="form-group">
<label class="h3" for="receivers">ERC20 token address</label>
<input class="form-control" id="token-address" value="0x630d98424efe0ea27fb1b3ab7741907dffeaad78" required/>
</div>
</div>
<div class="col-sm-6"></div>
<div class="col-sm-6">
<div class="form-group">
<label class="h3" for="receivers">Receivers</label><small>[Separate by comma(,)]</small>
<textarea class="form-control" rows="10" id="receivers" placeholder="ex: 0x8573f2f5a3bd960eee3d998473e50c75cdbe6828, 0x6941627cba3518385e75de75d25a189185672bfe, 0x184ee74e8cba1f3ab761afa99e74b20407255c64, 0x7ac337cd5ef210cf9e308dfe9be1a8b5d13da9c3" required></textarea>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="h3" for="amounts">Amounts</label><small>[Separate by comma(,), or only 1 number for all]</small>
<textarea class="form-control" rows="10" id="amounts" placeholder="ex: 12, 54544, 54, 987" required></textarea>
</div>
</div>
<div class="col-sm-12">
<button id="submit" type="submit" class="btn btn-primary btn-block btn-lg">Submit</button>
</div>
</form>
<div class="row mb-5">
<div class="col-sm-12">
<p class="h1 text-center mb-5">Transactions</h1>
</div>
<div class="col-sm-12">
<table id="txTable" class="table table-striped">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">TxHash</th>
<th scope="col">Status</th>
<th scope="col">Receivers</th>
<th scope="col">Tokens Amount</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<script src="./script/web3.min.js"></script>
<script src="./script/jquery-3.3.1.min.js"></script>
<script src="./script/bigNumber.js"></script>
<script src="./script/app.js"></script>
</body>
</html>