-
Notifications
You must be signed in to change notification settings - Fork 2
/
PredictionMarkets.html
61 lines (51 loc) · 2.53 KB
/
PredictionMarkets.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HackBoard - ETHGlobal NYC</title>
<link rel="stylesheet" href="styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/ethers/6.3.0/ethers.umd.min.js" charset="utf-8" type="text/javascript"></script>
<script src="PredMark.js" defer></script>
</head>
<body>
<!-- Countdown Timer -->
<section class="countdown">
<h1 style="font-size: xx-large;">Welcome<a id="UserTeamName"></a>!</h1>
<h1 style="font-size: xx-large;">HackBoard Predictions Market - ETHGlobal New York</h1>
<h3>Hacking ends in:</h3>
<div style="font-size: 45px;" id="timer">12:34:56</div>
<button onclick="Login()" id="metamaskButton">Sign in (Gnosis)</button>
<button onclick="addGnosisChainToMetaMask()">Add Gnosis to Metamask</button>
<br>
<a href="/"><button>Return Home</button></a>
<br>
<br>
<div style="font-weight: bold;">
Welcome to the HackBoard predictions market! Here, you can bet for or against any HackBoard registered ETHGlobal teams, and earn weighted rewards for correct predictions. The predictions payout system works as such: For and Against markets are seperate from eachother, but all for and against bets are correlated with the same type of bet on other teams. Winning payouts will come from losing bets, for both for and against markets. Want to learn more? Check out our Predictions Market smart contract <a style="color: orange;" target="_blank" href="https://github.com/Soteria-Smart-Contracts/HackBoard/blob/main/Contracts/PredictionsMarket.sol">here</a>, or contact us on <a style="color: orange;" target="_blank" href="https://discord.gg/PRHxT96u">Discord</a>!
</div>
</section>
<section id="Table" class="tokens">
<h1>Open Prediction Markets</h1>
<table id="Registry">
<thead>
<tr>
<th>Team</th>
<th>Current Market Interest</th>
<th>Bet For</th>
<th>Bet Against</th>
</tr>
</thead>
<tbody id="temprow">
<tr>
<td>Login to view</td>
<td>Login to view</td>
<td>Login to view</td>
<td>Login to view</td>
<td>Login to view</td>
</tr>
</tbody>
</table>
<br>
</body>
</html>