-
Notifications
You must be signed in to change notification settings - Fork 0
/
Invest.html
45 lines (34 loc) · 1.47 KB
/
Invest.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
<link rel="stylesheet" type="text/css" href="invest.css">
<script src="invest.js"></script>
<!-- HTML structure for the website -->
<div id="app">
<!-- Wallet connection and disconnection buttons -->
<div id="wallet-actions">
<button id="connect-wallet-btn" onclick="connectWallet()">Connect Wallet</button>
<button id="disconnect-wallet-btn" onclick="disconnectWallet()">Disconnect Wallet</button>
</div>
<!-- Investment actions and display -->
<div id="investment-actions">
<!-- Investment input and buttons -->
<input type="number" id="investment-input" placeholder="Enter investment amount">
<button id="invest-btn" onclick="invest()">Invest</button>
<button id="reinvest-btn" onclick="reinvest()">Reinvest</button>
<button id="withdraw-btn" onclick="withdraw()">Withdraw</button>
<!-- Investment progress and history display -->
<div id="investment-display">
<p>Investment Progress: <span id="investment-progress"></span> BNB</p>
<p>Investment History:</p>
<ul id="investment-history"></ul>
</div>
</div>
<!-- Minimum and maximum investment display -->
<div id="investment-limits">
<p>Minimum Investment: <span id="min-investment"></span> BNB</p>
<p>Maximum Investment: <span id="max-investment"></span> BNB</p>
</div>
<!-- Error and success message display -->
<div id="message-display">
<p id="error-message" class="error"></p>
<p id="success-message" class="success"></p>
</div>
</div>