-
Notifications
You must be signed in to change notification settings - Fork 30
/
withdraw.html
84 lines (80 loc) · 3 KB
/
withdraw.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
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>🌀 Curve.fi :: Compounded</title>
<link rel="stylesheet" href="tvision.css?v19012020" />
<script src="/jquery.min.js"></script>
<script src="/web3.min.js"></script>
<script src="/abis.js?v21012020_2"></script>
<script src="/common.js?v08022020"></script>
<script src="/withdraw.js?v27012020_9"></script>
</head>
<body>
<div class="top-menu-bar">
<a href="/">Buy and sell</a>
<a href="/deposit.html">Deposit</a>
<a href="/withdraw.html">Withdraw</a>
<a href="/stats.html">Stats</a>
<a href="/faq.html">FAQ</a>
<a href="https://github.com/curvefi/curve-contract/tree/compounded">git@</a>
</div>
<div id="screen">
<div class="blue window">
<h1>🌀 Curve</h1>
</div>
<div class="error window half-width info" id="error-window"></div>
<div class="window white add-liquidity">
<fieldset class="percentage">
<legend>Share of liquidity (%)</legend>
<ul>
<li>
<input type="text" id="liquidity-share" name="liquidity-share" value="0.0">
</li>
</ul>
</fieldset>
<fieldset class="currencies">
<legend>Currencies:</legend>
<ul>
<li>
<label for="currency_0">cDAI (in DAI)</label>
<input type="text" id="currency_0" name="from_cur" value="0.0">
</li>
<li>
<label for="currency_1">cUSDC (in USDC)</label>
<input type="text" id="currency_1" name="from_cur" value="0.0">
</li>
</ul>
</fieldset>
<p style="text-align: center">
<button id="remove-liquidity">Withdraw</button>
</p>
</div>
</div>
<div class="blue window half-width info">
<table>
<tr>
<td>
<h4>Currency reserves:</h4>
<ul id='balances-info'>
<li><b>DAI:</b> <span></span></li>
<li><b>USDC:</b> <span></span></li>
<li><b>DAI+USDC:</b> <span></span></li>
</ul>
<p><b>Fee:</b> <span id='fee-info'></span>%</p>
<p><b>Admin fee:</b> <span id='admin-fee-info'></span>%</p>
</td>
<td id="lp-info-container">
<h4>My share:</h4>
<ul id='lp-info'>
<li><b>DAI:</b> <span></span></li>
<li><b>USDC:</b> <span></span></li>
<li><b>DAI+USDC:</b> <span></span></li>
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>