-
Notifications
You must be signed in to change notification settings - Fork 1
/
octo_interest.html
191 lines (168 loc) · 9.2 KB
/
octo_interest.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html >
<head>
<meta charset="utf-8">
<title>Aquafarm Beta 1.0</title>
<meta content="AQUA Farmer" property="og:title">
<meta content="AQUA Farmer" property="twitter:title">
<meta name="description" content="Profit squeezing tentacles for octomized lending yields on Ethereum">
<meta name="keywords" content="lending, defi, yield, octo.fi, profit, staking">
<meta property="og:type" content="website">
<meta property="og:title" content="Profit squeezing tentacles for octomized lending yields on Ethereum">
<meta property="og:url" content="https://earn.octo.fi">
<meta property="og:image" content="https://i.imgur.com/m9vWeTo.png?2">
<meta property="og:site_name" content="AQUAFARM">
<meta property="og:description" content="Why limit your yield farming to the land when the earth's surface is 70% water? Wrap your tentacles around a sea of gains.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="AQUAFARM - Profit squeezing tentacles for octomized lending yields on Ethereum">
<meta name="twitter:description" content="Why limit your yield farming to the land when the earth's surface is 70% water? Wrap your tentacles around a sea of gains.">
<meta name="twitter:image:src" content="https://i.imgur.com/m9vWeTo.png?2">
<meta name="twitter:domain" content="https://earn.octo.fi">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link href="css/normalize.css" rel="stylesheet" type="text/css">
<link href="css/components.css" rel="stylesheet" type="text/css">
<link href="css/AQUA-farmer.css" rel="stylesheet" type="text/css">
<script src="js/index3.js"></script>
<script src="js/web3/dist/web3.min.js"></script>
<link rel="stylesheet" href ="./css/loader.css">
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script>
<script type="text/javascript">WebFont.load({ google: { families: ["Nunito:200,300,regular,600,700,800,800italic,900"] }});</script>
<!-- [if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" type="text/javascript"></script><![endif] -->
<script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
<link href="images/favicon.png" rel="shortcut icon" type="image/x-icon">
<link href="images/webclip.png" rel="apple-touch-icon">
</head>
<body>
<div class="page-wrapper">
<div class="header">
<div class="container header-container">
<a href="index.html" class="brand w-inline-block">
<img src="images/favicon.png" loading="lazy" alt="AQUA Farmer Logo
" class="brand-logo">
<h1 class="heading">Aquafarm</h1>
</a>
<!--<a href="#" class="header-button w-button" onclick="toggle()">Unlock Wallet</a>-->
</div>
</div>
<div class="container">
<div class="center">
<h2>OctoFi Interest</h2>
<p class="subtitle">Wrap your tentacles around a sea of gains.</p>
</div>
<div class="flex-wrapper">
<div class="one-third">
<div class="farm-card">
<div class="farm-card-image-wrapper">
<div class="farm-card-emoji"><img src="images/octo_icon.png" loading="lazy" alt="AQUA Farmer Logo"
class="farm-card-emoji" ></div>
</div>
<h3>How to Participate</h3>
<p>
<h6 style="text-align: left">Step 1: Set Amount of OCTO you want to allocate</h6>
<h6 style="text-align: left">Step 2: Connect your Wallet</h6>
<h6 style="text-align: left">Step 3: Enable the Interest Transaction</h6>
<h6 style="text-align: left">Step 4: Lock your Tokens</h6><br>Earn $OCTO</p></div>
</div>
<div class="farm-card">
<div class="row" id="counter">
<strong class="dark-text">Enter OCTO Amount</strong>
<div style="display:inline-block;" class="col-lg-6" st>
<input type="number" name="token-allocate" id="token_allocate" oninput="calculateMonthProfit()" min="0" autofocus value="100" onkeydown="if(event.key==='.'){event.preventDefault();}"/>
</div></br></br>
<div style="display:inline-block; padding-right: 20%;" class="col-lg-3">
<label for="">Return p.a</label>
<h5 id="return_pa" class="counter_bold">+15%</h5>
</div>
<div style="display:inline-block" class="col-lg-3">
<label for="">Bonus p.a</label>
<h5 id="bonus" class="counter_bold">+5%</h5>
</div>
<label for="sdfsdfsdf"></label>
<input type="range" name="period" onclick="acreturnPA()" id="period" min="1" max="3" style="width: 100%;">
<p style="display:inline-block; padding-right: 20%;" >3 Months</p>
<p style="display:inline-block; padding-right: 20%;" class="monthsVariation">6 Months</p>
<p style="display:inline-block;" class="monthsVariation">12 Months</p>
</div>
<table class="table">
<thead>
<tr>
<th scope="col">Duration</th>
<th scope="col">OCTO Earned</th>
<th scope="col">Total Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td>3m</td>
<td><b id="_3monSimple">3 OCTO</b></td>
<td><b id="_3monTotal">103 OCTO</b></td>
</tr>
<tr>
<td>6m</td>
<td><b id="_6monSimple">10 OCTO</b></td>
<td><b id="_6monTotal">110 OCTO</b></td>
</tr>
<tr>
<td>12m</td>
<td><b id="_12monSimple">32 OCTO</b></td>
<td><b id="_12monTotal">132 OCTO</b></td>
</tr>
</tbody>
</table>
<div class="form-group">
<label for="exampleInputAddress"><b>Your Wallet Address</b></label>
<input style="width: auto" type="text" class="form-control" value="" placeholder="e.g 0x1234567890123456789012345678901234567891" id="exampleInputAddress" aria-describedby="addressHelp" value=""
readonly />
</div>
<div class="button_center" id = 'btn-container'>
<button type="button" onclick = "connect()" id="btnchange" class="button card-button w-button">Connect to MetaMask</button>
<!-- <button type="button" id="lock" onclick="monthCheck()" class="btn btn-primary">Lock Tokens</button> -->
<br><br>
</div>
<div class="loader" id="loader" style="visibility: hidden"></div>
<div class="alertMsg" id="alertMsg" style="visibility: hidden">Congratulations! You have successfully Locked $OCTO= </div>
</form>
<div class="flex-wrapper pop-up-flex">
</div>
</div>
<div class="footer">
<div class="container no-padding w-container">
<div class="center"><a href="https://twitter.com/octofinance" class="footer-link">Twitter</a><a href="https://github.com/octofi" class="footer-link">Github</a><a href="https://t.me/OctoFiNews" class="footer-link">Telegram</a></div>
</div>
<div id="pop-up" style="display:none" class="pop-up-wrapper">
<div class="pop-up-overlay">
<div class="farm-card">
<p><strong class="dark-text">Select a wallet provider.</strong></p>
<div class="flex-wrapper pop-up-flex">
<div class="half-width">
<div class="pop-up-card">
<div class="farm-card-image-wrapper">
<div class="farm-card-emoji"><br></div><img src="images/metamask-fox.c06f3a3e.svg" loading="lazy" alt="" class="image"></div>
<h4 class="heading-2">Metamask</h4><a href="#" class="button card-button w-button">Connect</a></div>
</div>
<div class="half-width">
<div class="pop-up-card">
<div class="farm-card-image-wrapper"><img src="images/wallet-connect.37f2bc6e.svg" loading="lazy" alt="" class="image"></div>
<h4>Wallet Connect</h4><a href="#" class="button card-button w-button">Coming Soon</a></div>
</div>
</div><a href="#" class="button pop-up-button w-button" onclick="toggle()">Cancel</a></div>
</div>
</div>
<script>
function toggle() {
var c = document.getElementById("pop-up");
if (c.style.display === "none") {
c.style.display = "block";
} else {
c.style.display = "none";
}
}
</script>
<!-- <script src="./index.js"></script> -->
<script src="js/main.js">
</script>
<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js@1.0.0-beta.36/dist/web3.min.js"></script>
</div>
</div>
</body>
</html>