-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcasino.html
133 lines (112 loc) · 6.14 KB
/
casino.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
<!DOCTYPE html>
<html lang="en" style=" background-image: radial-gradient(circle farthest-corner at 50% 50%,#424750,#202326);">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Web3 Project | Taking online further beyond</title>
<meta content="The Web3 Project is on a mission to push web3 mass adoption by building the ultimate social network DApp, Whistle, where all your data will be backed as an NFT on the blockchain and purely under your control!" name="description">
<meta content="The Web3 Project | Taking online further beyond" property="og:title">
<meta content="The Web3 Project is on a mission to push web3 mass adoption by building the ultimate social network DApp, Whistle, where all your data will be backed as an NFT on the blockchain and purely under your control!" property="og:description">
<meta content="https://uploads-ssl.webflow.com/61f079fe9c0e84c389f618a4/61f524449aab6ada7f12a9ce_circled.png" property="og:image">
<meta content="The Web3 Project | Taking online further beyond" property="twitter:title">
<meta content="The Web3 Project is on a mission to push web3 mass adoption by building the ultimate social network DApp, Whistle, where all your data will be backed as an NFT on the blockchain and purely under your control!" property="twitter:description">
<meta content="https://uploads-ssl.webflow.com/61f079fe9c0e84c389f618a4/61f524449aab6ada7f12a9ce_circled.png" property="twitter:image">
<meta property="og:type" content="website">
<meta content="summary_large_image" name="twitter:card">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link
href="./images/logos/web.png"
rel="shortcut icon"
type="image/x-icon"
/>
<link
href="./images/logos/web.png"
rel="apple-touch-icon"
/>
<meta name="twitter:image" content="https://uploads-ssl.webflow.com/61f079fe9c0e84c389f618a4/61f524449aab6ada7f12a9ce_circled.png">
<meta name="twitter:description" content="The Web3 Project is on a mission to push web3 mass adoption by building the ultimate social network DApp, Whistle, where all your data will be backed as an NFT on the blockchain and purely under your control!">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="The Web3 Project | Taking online further beyond">
<meta property="og:image" content="https://uploads-ssl.webflow.com/61f079fe9c0e84c389f618a4/61f524449aab6ada7f12a9ce_circled.png">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/fa.css">
<link rel="stylesheet" href="css/flooz.css">
</head>
<body id="titano-finance" style="margin-bottom: 100px; width: 100%; background-image: radial-gradient(circle farthest-corner at 50% 50%,#424750,#202326); font-weight: 400;">
<div class="container-fluid">
<div class="row">
<div id="sidebarContainer" class="col-auto" style="z-index: 1000002;"></div>
<div id="overlay" style="z-index: 1000001;"></div>
<main id='main'>
<div id="web3-header"></div>
<div id="container">
<div class="my-5 col-12">
<div id='card'>
<div id="run-lottery" class="stack-layout stack-layout--gap-50 stack-layout--direction-column swap-tokens-form-submit my-1">
<button type="submit" class="button button--primary button--size-default button--icon-left button--with-icon" style="border: 3px solid #48acef;
border-radius: 20px;
background-image: linear-gradient(134deg,#48acef,#00436f);
box-shadow: inset 0 0 1px 0 #001e32, -2px -2px 10px 0 rgb(93 100 112 / 85%), 2px 2px 10px 0 #111314, inset -2px -2px 3px 0 #48acef, inset 2px 2px 3px 0 #00436f;">
<span class="button__content">Run Lottery</span>
</button>
</div>
</div>
</div>
<div class="my-5 col-12">
<div id='card'>
<div id="win-number">
</div>
<div id="user-numbers">
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/rangeslider.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/gh/upfinity-main/TheWeb3ProjectAssets/js/web3.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/upfinity-main/TheWeb3ProjectAssets/js/detect-provider.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/upfinity-main/TheWeb3ProjectAssets/js/ethers.umd.min.js"></script>
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
<script src="js/base.js"></script>
<script src="js/global.js"></script>
<script src="js/page.js"></script>
<script>
function click(target) {
let ar = new Array(37);
for (let idx = 0; idx < 37; idx++) {
ar[idx] = 0;
}
if (target == 'odd') {
}
target = target.split('-').map(v => parseInt(v));
let deno = target.length;
for (v of target) {
ar[v] += parseInt(36 / deno);
}
console.log(ar);
}
async function runGlobal() {
await _runGlobal();
select(`#run-lottery`).onclick = async () => { await runLottery(); };
}
async function runPersonal() {
await _runPersonal();
}
(async () => {
await runGlobal();
await getCurAdr();
if (CURADR) {
await runPersonal();
}
await runLast();
})();
</script>
</body>
</html>