-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
116 lines (116 loc) · 4.3 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ARC Stake - APY Calculator</title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-slider.css" rel="stylesheet">
<link href="css/apy-calculator.css" rel="stylesheet">
</head>
<body>
<header> <img src="images/arcstake-logo-white.png" class="rounded mx-auto d-block header-logo my-5" alt="ARC Stake Logo">
<h1 class="text-center">Elrond Delegation - APY Calculator</h1>
</header>
<div class="container">
<div class="row my-5">
<div class="col-12">
<form>
<div class="form-group row text-center">
<label for="netTotalStake" class="col-md-3 col-form-label var-label">Network Total Stake:</label>
<div class="col-md-6">
<input type="number" class="mt-2" id="netTotalStake">
</div>
<div class="col-md-3 var-value col-form-label text-left"><span id="netTotalStakeVal"></span></div>
</div>
<div class="form-group row text-center">
<label for="userStake" class="col-md-3 col-form-label var-label">Your Delegation:</label>
<div class="col-md-6">
<input type="number" class="mt-2" id="userStake">
</div>
<div class="col-md-3 var-value col-form-label">
<div class="form-group row">
<div class="col-md-9">
<input type="number" class="form-control" id="userStakeVal">
</div>
<label for="userStakeVal" class="col-md-3 col-form-label var-label">eGLD</label>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h2 class="text-center mt-2 mb-4">Agency Variables</h2>
</div>
</div>
<div class="form-group row text-center">
<label for="agencyBaseStake" class="col-md-2 col-form-label var-label-md">Base Stake (eGLD):</label>
<div class="col-md-2">
<input type="number" class="form-control apy-variable" id="agencyBaseStake" value="200000">
</div>
<label for="agencyTopupStake" class="col-md-2 col-form-label var-label-md">TopUp (eGLD):</label>
<div class="col-md-2">
<input type="number" class="form-control apy-variable" id="agencyTopupStake" value="0">
</div>
<label for="agencyFee" class="col-md-2 col-form-label var-label-md">Fee (%):</label>
<div class="col-md-2">
<input type="number" class="form-control apy-variable" id="agencyFee" value="15.00">
</div>
</div>
<div class="row">
<div class="col">
<h2 class="text-center mt-2 mb-4">Results</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-auto text-center">
<div class="card mb-3 arc">
<div class="card-header">APY</div>
<div class="card-body">
<h2 class="card-title" id="delegator-apy"></h2>
</div>
</div>
</div>
<div class="col-auto text-center">
<div class="card mb-3 arc wide">
<div class="card-header">eGLD Rewards</div>
<div class="card-body">
<div class="row font-weight-bold">
<div class="col-3">Year</div>
<div class="col-3">Month</div>
<div class="col-3">Week</div>
<div class="col-3">Day</div>
</div>
<div class="row">
<div class="col-3 p-0"><span id="yearly-rewards"></span></div>
<div class="col-3 p-0"><span id="monthly-rewards"></span></div>
<div class="col-3 p-0"><span id="weekly-rewards"></span></div>
<div class="col-3 p-0"><span id="daily-rewards"></span></div>
</div>
</div>
</div>
</div>
</div>
<div class="row justify-content-center mt-4">
<div class="col-auto text-center"> <a href="https://delegate.arcstake.com" target="_blank" class="btn btn-lg btn-outline-light shadow px-5">Stake Now!</a> </div>
</div>
</form>
</div>
</div>
</div>
<footer class="text-center">
<div class="container">
<div class="row">
<div class="col-12">
<p>Powered by ARC Stake - <a href="https://arcstake.com" class="text-white" target="_blank">arcstake.com</a></p>
</div>
</div>
</div>
</footer>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/bootstrap-slider.js"></script>
<script src="js/arcstake.js"></script>
</body>
</html>