forked from AronVanAmmers/curve-ui
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwithdraw.html
112 lines (107 loc) · 5 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
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
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="stable.bscswap.com" />
<meta property="og:url" content="https://stable.bscswap.com" />
<meta property="og:type" content="website" />
<meta property="og:description" content="First stablecoin oriented decentralized exchange on Binance Smart Chain" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="stable.bscswap.com" />
<meta name="twitter:site" content="@BSCswapProtocol" />
<meta name="twitter:creator" content="@BSCswapProtocol" />
<meta name="twitter:description" content="First stablecoin oriented decentralized exchange on Binance Smart Chain"/>
<meta name="twitter:url" content="https://stable.bscswap.com" />
<title>BSCswap Stable</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<link rel="stylesheet" href="tvision.css" />
<script src="/metamask.web3.min.js"></script>
<script src="/jquery.min.js"></script>
<script src="/web3.min.js"></script>
<script src="/web3modal.min.js"></script>
<script src="/bigNumber.min.js"></script>
<script src="/abis.js"></script>
<script src="/init.js"></script>
<script src="/common.js"></script>
<script src="/withdraw.js"></script>
</head>
<body>
<div class="top-menu-bar">
<label for="hamburger" class='border-menu'></label>
<input type="checkbox" id="hamburger"/>
<a href="/">Home</a>
<a href="https://lfi.loaprotocol.io" target="_blank">Wrap LTokens</a>
<a href="/deposit.html">Deposit & Wrap BAI</a>
<a href="/withdraw.html">Withdraw</a>
<a href="https://bscswap.com" target="_blank">BSCswap</a>
</div>
<div id="screen">
<div class="blue window">
<h1><img src="./logo.png" alt="🌀 Curve" height="100"></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">LBUSD (Unwrap LBUSD to BUSD on Wrap LTokens page)</label>
<input type="text" id="currency_0" name="from_cur" value="0.0">
</li>
<li>
<label for="currency_1">LUSDT (Unwrap LUSDT to USDT on Wrap LTokens page)</label>
<input type="text" id="currency_1" name="from_cur" value="0.0">
</li>
<li>
<label for="currency_2">LDAI (Unwrap LDAI to DAI on Wrap LTokens page)</label>
<input type="text" id="currency_2" name="from_cur" value="0.0">
</li>
</ul>
</fieldset>
<p style="text-align: center">
<button id="remove-liquidity">Unwrap BAI & Withdraw</button>
<p class='simple-error' id='highslippage-warning'><span class='text'>Warning! High slippage</span>: <span class='percent'></span>%</p>
<p class='success' id='bonus-window'>Bonus: <span></span>%</p>
<p class='simple-error' id='nobalance-warning'>Warning! Not enough balance for <span></span> token in the contract</p>
</p>
</div>
</div>
<div class="blue window half-width info">
<table>
<tr>
<td>
<h4>Currency reserves:</h4>
<ul id='balances-info'>
<li><b>BUSD:</b> <span></span></li>
<li><b>USDT:</b> <span></span></li>
<li><b>DAI:</b> <span></span></li>
<li><b>BUSD+USDT+DAI:</b> <span></span></li>
</ul>
<p><b>Fee:</b> <span id='fee-info'></span>%</p>
</td>
<td id="lp-info-container">
<h4>My share:</h4>
<ul id='lp-info'>
<li><b>BUSD:</b> <span></span></li>
<li><b>USDT:</b> <span></span></li>
<li><b>DAI:</b> <span></span></li>
<li><b>BUSD+USDT+DAI:</b> <span></span></li>
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>