Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +277 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: projecttest
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,277 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>FindYourself DAO - Advanced Dashboard</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/web3@1.5.2/dist/web3.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/ionicons@6.0.0/dist/ionicons/ionicons.js"></script>
|
| 11 |
+
<style>
|
| 12 |
+
:root {
|
| 13 |
+
--primary-color: #6E56CF;
|
| 14 |
+
--secondary-color: #A78BFA;
|
| 15 |
+
--background-dark: #0A0A0F;
|
| 16 |
+
--panel-dark: #121218;
|
| 17 |
+
--text-light: #E1E3E8;
|
| 18 |
+
--accent-color: #00F5D4;
|
| 19 |
+
}
|
| 20 |
+
body {
|
| 21 |
+
background-color: var(--background-dark);
|
| 22 |
+
color: var(--text-light);
|
| 23 |
+
font-family: 'Inter', sans-serif;
|
| 24 |
+
}
|
| 25 |
+
.glassmorphic {
|
| 26 |
+
background: rgba(18, 18, 24, 0.6);
|
| 27 |
+
backdrop-filter: blur(10px);
|
| 28 |
+
border: 1px solid rgba(110, 86, 207, 0.2);
|
| 29 |
+
}
|
| 30 |
+
.progress-bar {
|
| 31 |
+
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
|
| 32 |
+
}
|
| 33 |
+
.token-flow {
|
| 34 |
+
animation: token-flow 3s linear infinite;
|
| 35 |
+
}
|
| 36 |
+
@keyframes token-flow {
|
| 37 |
+
0% { transform: translateX(-100%); }
|
| 38 |
+
100% { transform: translateX(100%); }
|
| 39 |
+
}
|
| 40 |
+
</style>
|
| 41 |
+
</head>
|
| 42 |
+
<body class="bg-[var(--background-dark)]">
|
| 43 |
+
<div class="container mx-auto px-4 py-8">
|
| 44 |
+
<!-- Header with Wallet Connection -->
|
| 45 |
+
<header class="mb-8 flex justify-between items-center">
|
| 46 |
+
<div>
|
| 47 |
+
<h1 class="text-3xl font-bold text-[var(--primary-color)]">FindYourself DAO</h1>
|
| 48 |
+
<p class="text-[var(--text-light)] opacity-70">Decentralized Autonomous Organization</p>
|
| 49 |
+
</div>
|
| 50 |
+
<div class="flex items-center space-x-4">
|
| 51 |
+
<div id="walletStatus" class="bg-[var(--panel-dark)] px-4 py-2 rounded-full">
|
| 52 |
+
Not Connected
|
| 53 |
+
</div>
|
| 54 |
+
<button id="connectWallet" class="bg-[var(--primary-color)] text-white px-4 py-2 rounded-full hover:bg-[var(--secondary-color)] transition">
|
| 55 |
+
Connect Wallet
|
| 56 |
+
</button>
|
| 57 |
+
</div>
|
| 58 |
+
</header>
|
| 59 |
+
|
| 60 |
+
<!-- Real-time Token Flow Visualization -->
|
| 61 |
+
<section class="mb-8 relative h-24 overflow-hidden rounded-2xl bg-[var(--panel-dark)]">
|
| 62 |
+
<div class="absolute inset-0 flex items-center">
|
| 63 |
+
<div class="token-flow absolute w-full h-1 bg-gradient-to-r from-[var(--primary-color)] to-[var(--secondary-color)]"></div>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="relative z-10 p-4 flex justify-between items-center">
|
| 66 |
+
<div>
|
| 67 |
+
<h3 class="text-xl font-bold text-[var(--accent-color)]">Real-time Token Flow</h3>
|
| 68 |
+
<p class="text-sm opacity-70">Liquidity & Treasury Dynamics</p>
|
| 69 |
+
</div>
|
| 70 |
+
<div class="text-right">
|
| 71 |
+
<div class="text-2xl font-bold">$1,245,678</div>
|
| 72 |
+
<div class="text-sm text-green-400">+12.4% this month</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</section>
|
| 76 |
+
|
| 77 |
+
<!-- Interactive Staking Module -->
|
| 78 |
+
<section class="grid grid-cols-3 gap-6 mb-8">
|
| 79 |
+
<!-- Staking Calculator -->
|
| 80 |
+
<div class="bg-[var(--panel-dark)] p-6 rounded-2xl">
|
| 81 |
+
<h2 class="text-xl font-bold mb-4 text-[var(--accent-color)]">Staking Calculator</h2>
|
| 82 |
+
<div class="space-y-4">
|
| 83 |
+
<div>
|
| 84 |
+
<label class="block mb-2">Stake Amount (USDT)</label>
|
| 85 |
+
<input
|
| 86 |
+
type="number"
|
| 87 |
+
id="stakeAmount"
|
| 88 |
+
class="w-full bg-[var(--background-dark)] p-2 rounded-lg"
|
| 89 |
+
placeholder="Enter amount"
|
| 90 |
+
>
|
| 91 |
+
</div>
|
| 92 |
+
<div>
|
| 93 |
+
<label class="block mb-2">Staking Duration (Months)</label>
|
| 94 |
+
<select
|
| 95 |
+
id="stakingDuration"
|
| 96 |
+
class="w-full bg-[var(--background-dark)] p-2 rounded-lg"
|
| 97 |
+
>
|
| 98 |
+
<option value="3">3 Months</option>
|
| 99 |
+
<option value="6">6 Months</option>
|
| 100 |
+
<option value="12">12 Months</option>
|
| 101 |
+
</select>
|
| 102 |
+
</div>
|
| 103 |
+
<div id="stakingResults" class="mt-4 p-4 bg-[var(--background-dark)] rounded-lg">
|
| 104 |
+
<div class="flex justify-between">
|
| 105 |
+
<span>Estimated Daily Reward:</span>
|
| 106 |
+
<span id="dailyReward" class="font-bold">-</span>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="flex justify-between mt-2">
|
| 109 |
+
<span>Total Potential Reward:</span>
|
| 110 |
+
<span id="totalReward" class="font-bold">-</span>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
<button
|
| 114 |
+
id="calculateStaking"
|
| 115 |
+
class="w-full bg-[var(--primary-color)] text-white p-2 rounded-lg hover:bg-[var(--secondary-color)]"
|
| 116 |
+
>
|
| 117 |
+
Calculate Rewards
|
| 118 |
+
</button>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<!-- Bonus Structure Breakdown -->
|
| 123 |
+
<div class="bg-[var(--panel-dark)] p-6 rounded-2xl">
|
| 124 |
+
<h2 class="text-xl font-bold mb-4 text-[var(--accent-color)]">Bonus Structures</h2>
|
| 125 |
+
<div class="space-y-4">
|
| 126 |
+
<div class="bg-[var(--background-dark)] p-4 rounded-lg">
|
| 127 |
+
<h3 class="font-semibold text-[var(--secondary-color)]">Multi-Level Bonus</h3>
|
| 128 |
+
<div class="text-sm">5% from daily staking reward</div>
|
| 129 |
+
<div class="mt-2 bg-gray-700 rounded-full h-2 overflow-hidden">
|
| 130 |
+
<div class="h-full bg-[var(--primary-color)] w-[60%]"></div>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
<div class="bg-[var(--background-dark)] p-4 rounded-lg">
|
| 134 |
+
<h3 class="font-semibold text-[var(--secondary-color)]">Matching Bonus</h3>
|
| 135 |
+
<div class="text-sm">10% commission from levels 1-3</div>
|
| 136 |
+
<div class="mt-2 bg-gray-700 rounded-full h-2 overflow-hidden">
|
| 137 |
+
<div class="h-full bg-[var(--accent-color)] w-[40%]"></div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
<div class="bg-[var(--background-dark)] p-4 rounded-lg">
|
| 141 |
+
<h3 class="font-semibold text-[var(--secondary-color)]">Rank Bonus</h3>
|
| 142 |
+
<div class="text-sm">Personal stake & earnings based</div>
|
| 143 |
+
<div class="mt-2 flex space-x-1">
|
| 144 |
+
<div class="w-4 h-2 bg-[var(--primary-color)] rounded-full"></div>
|
| 145 |
+
<div class="w-4 h-2 bg-[var(--secondary-color)] rounded-full"></div>
|
| 146 |
+
<div class="w-4 h-2 bg-[var(--accent-color)] rounded-full"></div>
|
| 147 |
+
<div class="w-4 h-2 bg-gray-600 rounded-full"></div>
|
| 148 |
+
<div class="w-4 h-2 bg-gray-600 rounded-full"></div>
|
| 149 |
+
</div>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
<!-- Network & Performance Metrics -->
|
| 155 |
+
<div class="bg-[var(--panel-dark)] p-6 rounded-2xl">
|
| 156 |
+
<h2 class="text-xl font-bold mb-4 text-[var(--accent-color)]">Network Metrics</h2>
|
| 157 |
+
<div class="space-y-4">
|
| 158 |
+
<div class="flex justify-between items-center">
|
| 159 |
+
<span>Total Value Locked</span>
|
| 160 |
+
<span class="font-bold text-[var(--secondary-color)]">$1.2M</span>
|
| 161 |
+
</div>
|
| 162 |
+
<div class="flex justify-between items-center">
|
| 163 |
+
<span>Active Stakers</span>
|
| 164 |
+
<span class="font-bold text-[var(--accent-color)]">4,567</span>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="flex justify-between items-center">
|
| 167 |
+
<span>Daily Transaction Volume</span>
|
| 168 |
+
<span class="font-bold text-green-400">$345,678</span>
|
| 169 |
+
</div>
|
| 170 |
+
<div class="flex justify-between items-center">
|
| 171 |
+
<span>Current APY</span>
|
| 172 |
+
<span class="font-bold text-[var(--primary-color)]">12.4%</span>
|
| 173 |
+
</div>
|
| 174 |
+
<div class="mt-4 bg-[var(--background-dark)] p-3 rounded-lg">
|
| 175 |
+
<div class="text-sm mb-2">Network Health</div>
|
| 176 |
+
<div class="bg-gray-700 rounded-full h-2 overflow-hidden">
|
| 177 |
+
<div class="h-full bg-green-500 w-[85%]"></div>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</section>
|
| 183 |
+
|
| 184 |
+
<!-- Tokenomics Visualization -->
|
| 185 |
+
<section>
|
| 186 |
+
<h2 class="text-2xl font-bold mb-6 text-[var(--accent-color)]">Tokenomics Breakdown</h2>
|
| 187 |
+
<div class="grid grid-cols-3 gap-6">
|
| 188 |
+
<div class="bg-[var(--panel-dark)] p-6 rounded-2xl">
|
| 189 |
+
<h3 class="text-xl font-bold mb-4 text-[var(--secondary-color)]">Liquidity Pool</h3>
|
| 190 |
+
<canvas id="liquidityPoolChart" class="h-64"></canvas>
|
| 191 |
+
</div>
|
| 192 |
+
<div class="bg-[var(--panel-dark)] p-6 rounded-2xl">
|
| 193 |
+
<h3 class="text-xl font-bold mb-4 text-[var(--secondary-color)]">Fee Distribution</h3>
|
| 194 |
+
<canvas id="feeDistributionChart" class="h-64"></canvas>
|
| 195 |
+
</div>
|
| 196 |
+
<div class="bg-[var(--panel-dark)] p-6 rounded-2xl">
|
| 197 |
+
<h3 class="text-xl font-bold mb-4 text-[var(--secondary-color)]">Reward Allocation</h3>
|
| 198 |
+
<canvas id="rewardAllocationChart" class="h-64"></canvas>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
</section>
|
| 202 |
+
</div>
|
| 203 |
+
|
| 204 |
+
<script>
|
| 205 |
+
// Staking Calculator Logic
|
| 206 |
+
document.getElementById('calculateStaking').addEventListener('click', () => {
|
| 207 |
+
const stakeAmount = parseFloat(document.getElementById('stakeAmount').value);
|
| 208 |
+
const duration = parseInt(document.getElementById('stakingDuration').value);
|
| 209 |
+
|
| 210 |
+
if (isNaN(stakeAmount) || stakeAmount <= 0) {
|
| 211 |
+
alert('Please enter a valid stake amount');
|
| 212 |
+
return;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
// Simple reward calculation
|
| 216 |
+
const dailyRate = 0.005; // 0.5% daily
|
| 217 |
+
const dailyReward = stakeAmount * dailyRate;
|
| 218 |
+
const totalReward = dailyReward * (duration * 30);
|
| 219 |
+
|
| 220 |
+
document.getElementById('dailyReward').textContent = `$${dailyReward.toFixed(2)}`;
|
| 221 |
+
document.getElementById('totalReward').textContent = `$${totalReward.toFixed(2)}`;
|
| 222 |
+
});
|
| 223 |
+
|
| 224 |
+
// Wallet Connection Simulation
|
| 225 |
+
document.getElementById('connectWallet').addEventListener('click', () => {
|
| 226 |
+
const walletStatus = document.getElementById('walletStatus');
|
| 227 |
+
walletStatus.textContent = 'Connected: 0x1234...5678';
|
| 228 |
+
walletStatus.classList.add('text-green-400');
|
| 229 |
+
});
|
| 230 |
+
|
| 231 |
+
// Tokenomics Charts
|
| 232 |
+
function createChart(elementId, labels, data, colors) {
|
| 233 |
+
const ctx = document.getElementById(elementId).getContext('2d');
|
| 234 |
+
return new Chart(ctx, {
|
| 235 |
+
type: 'pie',
|
| 236 |
+
data: {
|
| 237 |
+
labels: labels,
|
| 238 |
+
datasets: [{
|
| 239 |
+
data: data,
|
| 240 |
+
backgroundColor: colors
|
| 241 |
+
}]
|
| 242 |
+
},
|
| 243 |
+
options: {
|
| 244 |
+
responsive: true,
|
| 245 |
+
plugins: {
|
| 246 |
+
legend: { display: false }
|
| 247 |
+
}
|
| 248 |
+
}
|
| 249 |
+
});
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
// Liquidity Pool Chart
|
| 253 |
+
createChart(
|
| 254 |
+
'liquidityPoolChart',
|
| 255 |
+
['Treasury Buy', 'User Liquidity'],
|
| 256 |
+
[80, 20],
|
| 257 |
+
['#6E56CF', '#00F5D4']
|
| 258 |
+
);
|
| 259 |
+
|
| 260 |
+
// Fee Distribution Chart
|
| 261 |
+
createChart(
|
| 262 |
+
'feeDistributionChart',
|
| 263 |
+
['Compensation', 'Liquidity', 'Treasury', 'Platform'],
|
| 264 |
+
[50, 20, 20, 10],
|
| 265 |
+
['#A78BFA', '#6E56CF', '#00F5D4', '#E1E3E8']
|
| 266 |
+
);
|
| 267 |
+
|
| 268 |
+
// Reward Allocation Chart
|
| 269 |
+
createChart(
|
| 270 |
+
'rewardAllocationChart',
|
| 271 |
+
['Claim to Wallet', 'Restake'],
|
| 272 |
+
[40, 60],
|
| 273 |
+
['#6E56CF', '#00F5D4']
|
| 274 |
+
);
|
| 275 |
+
</script>
|
| 276 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=kuganryde/projecttest" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 277 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|