0.7.40
This commit is contained in:
240
kb_demo_app/frontend/demo3old.html
Normal file
240
kb_demo_app/frontend/demo3old.html
Normal file
@@ -0,0 +1,240 @@
|
||||
<!-- file: kb_demo_app/frontend/demo3old.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Demo3old Local DEX Corpus</title>
|
||||
<link rel="stylesheet" href="sass/main.scss" />
|
||||
</head>
|
||||
|
||||
<body class="bg-body-tertiary">
|
||||
<header class="app-header">
|
||||
<nav class="navbar navbar-expand-lg h-100 py-0 bg-light text-dark">
|
||||
<div class="container my-0">
|
||||
<a class="navbar-brand d-flex align-items-center" href="/">
|
||||
<img alt="Logo" src="imgs/logo.png" class="app-logo" />
|
||||
<span class="ps-2 fs-4 fw-bold text-primary font-logo">Khadhroony-BoBoBot</span>
|
||||
</a>
|
||||
<div class="ms-auto">
|
||||
<span id="demo3oldStatusBadge" class="badge text-bg-secondary">Ready</span>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="app-main">
|
||||
<div class="osb-scrollable pt-1 pb-4" data-simplebar>
|
||||
<div class="container-fluid py-4">
|
||||
<div class="row g-4">
|
||||
<div class="col-12">
|
||||
<div class="card shadow-sm border-0">
|
||||
<div class="card-body">
|
||||
<h1 class="h4 mb-3">Demo3old — Local DEX Corpus Search</h1>
|
||||
<p class="text-body-secondary mb-0">
|
||||
Recherche locale de corpus par DEX, program id, pool, pair, token mint ou signature. Cette vue ne promeut aucun program id : elle sert uniquement à trouver des candidats à backfill et validation.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-xxl-4">
|
||||
<div class="card shadow-sm border-0 mb-4">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 mb-3">Filtres</h2>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="demo3oldPresetSelect" class="form-label">Preset</label>
|
||||
<select id="demo3oldPresetSelect" class="form-select"></select>
|
||||
<div id="demo3oldPresetHelp" class="form-text">
|
||||
Choisis un preset ou saisis les filtres manuellement.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="demo3oldDexCodeInput" class="form-label">DEX code</label>
|
||||
<input id="demo3oldDexCodeInput" type="text" class="form-control font-monospace" spellcheck="false" placeholder="raydium_amm_v4" />
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="demo3oldProgramIdInput" class="form-label">Program id</label>
|
||||
<input id="demo3oldProgramIdInput" type="text" class="form-control font-monospace" spellcheck="false" placeholder="675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8" />
|
||||
</div>
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-12 col-lg-6">
|
||||
<label for="demo3oldPairIdInput" class="form-label">Pair id</label>
|
||||
<input id="demo3oldPairIdInput" type="number" min="1" step="1" class="form-control" />
|
||||
</div>
|
||||
<div class="col-12 col-lg-6">
|
||||
<label for="demo3oldLimitInput" class="form-label">Limit</label>
|
||||
<input id="demo3oldLimitInput" type="number" min="1" max="200" step="1" class="form-control" value="50" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-3 mb-3">
|
||||
<label for="demo3oldPoolAddressInput" class="form-label">Pool address</label>
|
||||
<input id="demo3oldPoolAddressInput" type="text" class="form-control font-monospace" spellcheck="false" />
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="demo3oldTokenMintInput" class="form-label">Token mint</label>
|
||||
<input id="demo3oldTokenMintInput" type="text" class="form-control font-monospace" spellcheck="false" />
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="demo3oldSignatureInput" class="form-label">Signature</label>
|
||||
<input id="demo3oldSignatureInput" type="text" class="form-control font-monospace" spellcheck="false" />
|
||||
</div>
|
||||
|
||||
<div class="d-flex flex-wrap gap-2">
|
||||
<button id="demo3oldSearchButton" type="button" class="btn btn-primary">Search local corpus</button>
|
||||
<button id="demo3oldClearFiltersButton" type="button" class="btn btn-outline-secondary">Clear filters</button>
|
||||
<button id="demo3oldCopyJsonButton" type="button" class="btn btn-outline-secondary">Copy JSON</button>
|
||||
<button id="demo3oldClearLogButton" type="button" class="btn btn-outline-secondary">Clear log</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card shadow-sm border-0 mb-4">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 mb-3">Résumé</h2>
|
||||
<div class="row g-2 small">
|
||||
<div class="col-6"><strong>Transactions:</strong> <span id="demo3oldSummaryTransactionCount">0</span></div>
|
||||
<div class="col-6"><strong>Instructions:</strong> <span id="demo3oldSummaryInstructionCount">0</span></div>
|
||||
<div class="col-6"><strong>Decoded:</strong> <span id="demo3oldSummaryDecodedEventCount">0</span></div>
|
||||
<div class="col-6"><strong>Pools:</strong> <span id="demo3oldSummaryPoolCount">0</span></div>
|
||||
<div class="col-6"><strong>Pairs:</strong> <span id="demo3oldSummaryPairCount">0</span></div>
|
||||
<div class="col-6"><strong>Trades:</strong> <span id="demo3oldSummaryTradeEventCount">0</span></div>
|
||||
<div class="col-6"><strong>Candles:</strong> <span id="demo3oldSummaryCandleCount">0</span></div>
|
||||
<div class="col-6"><strong>Candidates:</strong> <span id="demo3oldSummaryProtocolCandidateCount">0</span></div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="small text-body-secondary">
|
||||
<strong>Database:</strong>
|
||||
<span id="demo3oldDatabaseUrlText" class="font-monospace">-</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card shadow-sm border-0">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 mb-3">Logs</h2>
|
||||
<textarea id="demo3oldLogTextarea" class="form-control font-monospace" rows="12" readonly spellcheck="false"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-xxl-8">
|
||||
<div class="card shadow-sm border-0 mb-4">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 mb-3">Transactions candidates</h2>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-sm align-middle mb-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Signature</th>
|
||||
<th>Slot</th>
|
||||
<th>Failed</th>
|
||||
<th>Ix</th>
|
||||
<th>Decoded</th>
|
||||
<th>Trades</th>
|
||||
<th>Programs</th>
|
||||
<th>Tx id</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="demo3oldTransactionTableBody">
|
||||
<tr>
|
||||
<td colspan="8" class="text-body-secondary">No transaction sample.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card shadow-sm border-0 mb-4">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 mb-3">Pools / pairs candidats</h2>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-sm align-middle mb-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>DEX</th>
|
||||
<th>Pool</th>
|
||||
<th>Pair id</th>
|
||||
<th>Symbol</th>
|
||||
<th>Base</th>
|
||||
<th>Quote</th>
|
||||
<th>Decoded</th>
|
||||
<th>Trades</th>
|
||||
<th>Candles</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="demo3oldPoolPairTableBody">
|
||||
<tr>
|
||||
<td colspan="9" class="text-body-secondary">No pool/pair sample.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card shadow-sm border-0 mb-4">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 mb-3">Decoded events candidats</h2>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-sm align-middle mb-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Signature</th>
|
||||
<th>Slot</th>
|
||||
<th>Protocol</th>
|
||||
<th>Kind</th>
|
||||
<th>Program</th>
|
||||
<th>Pool</th>
|
||||
<th>Category</th>
|
||||
<th>Actionability</th>
|
||||
<th>Trade</th>
|
||||
<th>Candle</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="demo3oldDecodedEventTableBody">
|
||||
<tr>
|
||||
<td colspan="11" class="text-body-secondary">No decoded event sample.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card shadow-sm border-0">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 mb-3">Raw result JSON</h2>
|
||||
<textarea id="demo3oldJsonTextarea" class="form-control font-monospace" rows="18" readonly spellcheck="false"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="app-footer bg-dark text-light">
|
||||
<div class="container h-100 d-flex align-items-center">
|
||||
<div class="row flex-grow-1 align-items-center">
|
||||
<div class="col-12 col-md-6 text-center text-small my-1 my-md-0">
|
||||
© 2026 SASEDEV — Demo3old Local DEX Corpus
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script type="module" src="ts/demo3old.ts" defer></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user