-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (24 loc) · 722 Bytes
/
Copy pathindex.html
File metadata and controls
27 lines (24 loc) · 722 Bytes
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
<html>
<head>
<link rel="stylesheet" type="text/css" href="./index.css">
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<title> Web3 Demo ApeFinance BlockChain </title>
</head>
<body>
<div id="amount-details">
Amount: 0
</div>
<div>
MasterChef Amount: <span id="masterchef-amount"> 0 </span>
</div>
<div>
MasterChef RewardDebt: <span id="masterchef-debt"> 0 </span>
</div>
</body>
<script src="./getStakedAmount.js"> </script>
<script>
getStakedBalance("0x150291F41EdCb67891e09e6Efa93CBeFD0Be5107").then((amount) => {
document.getElementById("masterchef-amount").innerHTML = amount;
});
</script>
</html>