-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswap.html
More file actions
385 lines (357 loc) · 18.7 KB
/
Copy pathswap.html
File metadata and controls
385 lines (357 loc) · 18.7 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>LUST Swap | WLST, LUSDT and Ecosystem Pools</title>
<meta name="description" content="Official LUST Chain swap interface for WLST, LUSDT and future ecosystem liquidity pools." />
<meta name="robots" content="index,follow,max-image-preview:large" />
<link rel="canonical" href="https://platform.lustchain.org/swap.html" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="LUST Chain" />
<meta property="og:title" content="LUST Swap | WLST, LUSDT and Ecosystem Pools" />
<meta property="og:description" content="Official LUST Chain swap interface for WLST, LUSDT and future ecosystem liquidity pools." />
<meta property="og:url" content="https://platform.lustchain.org/swap.html" />
<meta property="og:image" content="https://platform.lustchain.org/assets/lust-og.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:locale" content="en_US" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="LUST Swap | WLST, LUSDT and Ecosystem Pools" />
<meta name="twitter:description" content="Official LUST Chain swap interface for WLST, LUSDT and future ecosystem liquidity pools." />
<meta name="twitter:image" content="https://platform.lustchain.org/assets/lust-og.png" />
<meta name="theme-color" content="#F70375" />
<link rel="manifest" href="./assets/site.webmanifest" />
<link rel="icon" href="./assets/favicon.ico?v=20260628-explorer-v2" sizes="any" />
<link rel="icon" type="image/png" href="./assets/favicon.png?v=20260628-explorer-v2" />
<link rel="apple-touch-icon" href="./assets/apple-touch-icon.png?v=20260628-explorer-v2" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://platform.lustchain.org/#organization",
"name": "LUST Chain",
"url": "https://platform.lustchain.org",
"logo": "https://platform.lustchain.org/assets/lust-logo.png",
"sameAs": [
"https://x.com/lust_chain",
"https://t.me/+is17w3vOlvEyNGQ5",
"https://github.com/lustchain"
],
"contactPoint": {
"@type": "ContactPoint",
"email": "contact@lustchain.org",
"contactType": "community support"
}
},
{
"@type": "WebSite",
"@id": "https://platform.lustchain.org/#website",
"url": "https://platform.lustchain.org",
"name": "LUST Chain Platform",
"publisher": {
"@id": "https://platform.lustchain.org/#organization"
}
},
{
"@type": "WebPage",
"@id": "https://platform.lustchain.org/swap.html#webpage",
"url": "https://platform.lustchain.org/swap.html",
"name": "LUST Swap | WLST, LUSDT and Ecosystem Pools",
"description": "Official LUST Chain swap interface for WLST, LUSDT and future ecosystem liquidity pools.",
"isPartOf": {
"@id": "https://platform.lustchain.org/#website"
},
"publisher": {
"@id": "https://platform.lustchain.org/#organization"
}
}
]
}
</script>
<link rel="stylesheet" href="./styles.css?v=20260628-footer-v8-clean" />
<!-- Google tag (gtag.js) - GA4 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z8N7M5DTF4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Z8N7M5DTF4');
</script>
</head>
<body>
<div class="promo-bar">Invest in life’s pleasures!</div>
<header class="topbar">
<a class="brand" href="./index.html">
<div class="logo"><img src="./assets/lust-logo.png" alt="LUST logo"></div>
<div><strong>LUST</strong><span>Platform</span></div>
</a>
<nav class="nav">
<a href="./index.html">Home</a>
<a href="./presale.html">Presale</a>
<a href="./bridge.html">Bridge</a>
<a class="active" href="./swap.html">Swap</a>
<a href="./p2p.html">P2P</a>
<details class="nav-nft-menu">
<summary>NFTs</summary>
<div class="nav-nft-dropdown" role="menu" aria-label="NFT collections">
<a href="./nfts.html" role="menuitem"><strong>LUST Rabbit Club</strong><span>Premium NFT collection</span></a>
<a href="./pioneer.html" role="menuitem"><strong>Pioneer Rewards</strong><span>Free reward campaign</span></a>
</div>
</details>
<a href="./mining.html">Mining</a>
<a href="./faucet.html">Faucet</a>
<a href="./staking.html">Staking</a>
<a href="./factory.html">Factory</a>
<a href="./explorer.html">Explorer</a>
<a href="./whitepaper.html">Whitepaper</a>
<a href="./docs.html">Docs</a>
</nav>
<div class="actions">
<button class="btn connect-btn" type="button" data-connect-wallet aria-label="Connect wallet">
<div class="connect-icon">◫</div>
<div class="connect-copy"><strong>Connect wallet</strong><span>Wallet not connected</span></div>
<div class="connect-caret">⌄</div>
</button>
</div>
</header>
<main class="wrap page dex-page" data-lustswap-page>
<section class="dex-hero hero">
<div class="kicker">LUSTSwap</div>
<h1>Swap, create pools and grow LUST liquidity.</h1>
<p>Professional LUST Chain DEX interface for LST, WLST, LUSDT and community tokens. The swap uses tax-token safe functions by default.</p>
<div class="dex-contract-strip">
<a href="https://explorer.lustchain.org/address/0x62883a46b045cf1811dfdbec3fe0eadc78f888f0" target="_blank" rel="noreferrer">
<small>Router</small><strong data-lustswap-router-short>0x6288...88f0</strong>
</a>
<a href="https://explorer.lustchain.org/address/0x97e0b70fc246bf98db90d94c10b3409a809319bd" target="_blank" rel="noreferrer">
<small>Factory</small><strong data-lustswap-factory-short>0x97e0...19bD</strong>
</a>
<a href="https://explorer.lustchain.org/address/0xf8e57f2ee77b13f6673155308c9c431ce9f90d86" target="_blank" rel="noreferrer">
<small>WLST</small><strong data-lustswap-wlst-short>0xf8E5...0D86</strong>
</a>
<div>
<small>Status</small><strong data-lustswap-status-short>Launch setup</strong>
</div>
</div>
</section>
<section class="dex-layout">
<section class="dex-card swap-card" id="swap">
<div class="dex-card-head">
<div>
<small>Trade</small>
<h2>Swap</h2>
</div>
<button class="btn ghost small" type="button" data-swap-refresh>Refresh</button>
</div>
<div class="token-box">
<div class="token-box-top">
<label>From</label>
<button class="mini-link" type="button" data-swap-max>Max</button>
</div>
<div class="token-input-row">
<input class="dex-amount" data-swap-from-amount inputmode="decimal" placeholder="0.0" />
<select class="token-select" data-lustswap-token-select data-swap-from-token></select>
</div>
<div class="token-meta"><span>Balance</span><strong data-swap-from-balance>--</strong></div>
</div>
<div class="swap-flip-wrap">
<button class="swap-flip" type="button" data-swap-flip aria-label="Flip tokens">↓</button>
</div>
<div class="token-box">
<div class="token-box-top">
<label>To</label>
<span class="mini-label">Estimated</span>
</div>
<div class="token-input-row">
<input class="dex-amount" data-swap-to-amount inputmode="decimal" placeholder="0.0" readonly />
<select class="token-select" data-lustswap-token-select data-swap-to-token></select>
</div>
<div class="token-meta"><span>Balance</span><strong data-swap-to-balance>--</strong></div>
</div>
<div class="dex-settings two-cols">
<label>Slippage %<input class="input" data-swap-slippage value="1.0" inputmode="decimal"></label>
<label>Deadline min<input class="input" data-swap-deadline value="20" inputmode="numeric"></label>
</div>
<div class="quote-box">
<div><span>Route</span><strong data-swap-route>--</strong></div>
<div><span>Minimum received</span><strong data-swap-min>--</strong></div>
<div><span>Pair</span><strong data-swap-pair>--</strong></div>
</div>
<button class="btn primary dex-main-btn" type="button" data-swap-execute>Connect wallet / Swap</button>
<div class="dex-log" data-swap-log>Ready. Add liquidity first if a pair does not exist.</div>
</section>
<aside class="dex-side">
<section class="dex-card import-card">
<div class="dex-card-head compact">
<div>
<small>Tokens</small>
<h3>Import token</h3>
</div>
</div>
<p>Add any ERC-20 on LUST Chain by address. Imported tokens appear in Swap and Pool Manager.</p>
<input class="input mono" data-token-import-address placeholder="0x token address" />
<button class="btn primary full" type="button" data-token-import>Import token</button>
<div class="dex-log compact" data-token-import-log>Default list: LST, WLST and LUSDT.</div>
</section>
<section class="dex-card info-card">
<small>Safe by default</small>
<h3>Tax-token compatible</h3>
<p>The interface uses the supporting fee-on-transfer swap calls and smart liquidity functions. For tokens with transfer tax, increase slippage enough to cover the token fee.</p>
<div class="mini-grid">
<div><span>Swap fee</span><strong>0.30%</strong></div>
<div><span>Native</span><strong>LST</strong></div>
<div><span>Wrapped</span><strong>WLST</strong></div>
<div><span>Stable</span><strong>LUSDT</strong></div>
</div>
</section>
</aside>
</section>
<section class="dex-card pool-card" id="pools">
<div class="dex-card-head">
<div>
<small>Liquidity</small>
<h2>Pool Manager</h2>
</div>
<a class="btn ghost small" href="https://explorer.lustchain.org/address/0x97e0b70fc246bf98db90d94c10b3409a809319bd" target="_blank" rel="noreferrer">Open Factory</a>
</div>
<div class="pool-grid">
<div class="pool-panel">
<h3>Create or add liquidity</h3>
<p>Create pools for LST/token, LUSDT/token or token/token. If the pool does not exist, the router creates it automatically.</p>
<div class="token-box slim">
<div class="token-box-top"><label>Token A</label><span class="mini-label" data-pool-balance-a>Balance --</span></div>
<div class="token-input-row">
<input class="dex-amount" data-pool-amount-a inputmode="decimal" placeholder="0.0" />
<select class="token-select" data-lustswap-token-select data-pool-token-a></select>
</div>
</div>
<div class="token-box slim">
<div class="token-box-top"><label>Token B</label><span class="mini-label" data-pool-balance-b>Balance --</span></div>
<div class="token-input-row">
<input class="dex-amount" data-pool-amount-b inputmode="decimal" placeholder="0.0" />
<select class="token-select" data-lustswap-token-select data-pool-token-b></select>
</div>
</div>
<div class="dex-settings two-cols">
<label>Pool slippage %<input class="input" data-pool-slippage value="5.0" inputmode="decimal"></label>
<label>Deadline min<input class="input" data-pool-deadline value="20" inputmode="numeric"></label>
</div>
<div class="quote-box">
<div><span>Pair status</span><strong data-pool-pair-status>--</strong></div>
<div><span>Pair address</span><strong data-pool-pair-address>--</strong></div>
<div><span>Total pools</span><strong data-pool-count>--</strong></div>
</div>
<div class="hero-buttons compact-buttons">
<button class="btn ghost" type="button" data-pool-check>Check pair</button>
<button class="btn primary" type="button" data-pool-add>Add liquidity</button>
</div>
<div class="dex-log" data-pool-log>Use small amounts first while the public launch is being prepared.</div>
</div>
<div class="pool-panel remove-panel">
<h3>Remove liquidity</h3>
<p>Select the same pair, enter your LP amount and receive the underlying assets back. Choose LST instead of WLST if you want native LST returned.</p>
<input class="input" data-remove-lp-amount inputmode="decimal" placeholder="LP amount to remove" />
<div class="quote-box">
<div><span>Your LP balance</span><strong data-remove-lp-balance>--</strong></div>
<div><span>Estimated output</span><strong data-remove-estimate>--</strong></div>
</div>
<div class="hero-buttons compact-buttons">
<button class="btn ghost" type="button" data-remove-refresh>Refresh LP</button>
<button class="btn primary" type="button" data-remove-liquidity>Remove liquidity</button>
</div>
<div class="dex-log" data-remove-log>LP token is the pair contract created by the Factory.</div>
</div>
</div>
</section>
</main>
<footer class="footer lust-footer lust-footer--v8" aria-label="LUST Chain footer">
<div class="lust-footer__glow" aria-hidden="true"></div>
<div class="lust-footer__inner">
<div class="lust-footer__topline">
<section class="lust-footer__brand" aria-label="LUST Chain summary">
<a class="lust-footer__logo" href="./index.html" aria-label="LUST Chain home">
<img src="./assets/lust-logo.png" alt="LUST Chain logo" loading="lazy" />
</a>
<div class="lust-footer__brand-copy">
<strong>LUST CHAIN</strong>
<p>Independent EVM L1 for LST, LUSDT, WLST liquidity, NFTs, swap, P2P and public mining — organized around transparent contracts and staged liquidity launch.</p>
</div>
</section>
<nav class="lust-footer__socials" aria-label="Official social links">
<a class="lust-footer__social" href="https://x.com/lust_chain" target="_blank" rel="noreferrer" aria-label="LUST Chain on X">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M18.9 2H22l-6.77 7.74L23.2 22h-6.25l-4.89-6.39L6.47 22H3.36l7.24-8.27L.8 2h6.41l4.42 5.84L18.9 2Zm-1.1 18h1.73L6.26 3.9H4.4L17.8 20Z" fill="currentColor"/></svg><span>X</span>
</a>
<a class="lust-footer__social" href="https://t.me/+is17w3vOlvEyNGQ5" target="_blank" rel="noreferrer" aria-label="LUST Chain on Telegram">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M21.5 4.5 18.3 19c-.24 1.03-.88 1.28-1.77.8l-4.9-3.61-2.36 2.27c-.26.26-.48.48-.98.48l.35-4.98 9.06-8.19c.39-.35-.08-.55-.61-.2L5.92 12.6.98 11.06c-1.07-.34-1.09-1.07.22-1.58L20.5 2.03c.9-.33 1.68.2 1 2.47Z" fill="currentColor"/></svg><span>Telegram</span>
</a>
<a class="lust-footer__social" href="https://github.com/lustchain" target="_blank" rel="noreferrer" aria-label="LUST Chain on GitHub">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 .5C5.65.5.5 5.66.5 12.02c0 5.1 3.3 9.42 7.87 10.95.58.11.79-.25.79-.56v-2.17c-3.2.7-3.87-1.54-3.87-1.54-.52-1.32-1.27-1.67-1.27-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.75 1.18 1.75 1.18 1.02 1.76 2.68 1.25 3.33.96.1-.75.4-1.25.72-1.54-2.55-.29-5.23-1.28-5.23-5.67 0-1.25.45-2.27 1.17-3.07-.12-.29-.51-1.47.11-3.06 0 0 .96-.31 3.14 1.17a10.92 10.92 0 0 1 5.72 0c2.18-1.48 3.13-1.17 3.13-1.17.63 1.59.24 2.77.12 3.06.73.8 1.17 1.82 1.17 3.07 0 4.4-2.69 5.38-5.25 5.66.41.36.77 1.05.77 2.13v3.16c0 .31.21.68.8.56A11.53 11.53 0 0 0 23.5 12C23.5 5.66 18.35.5 12 .5Z" fill="currentColor"/></svg><span>GitHub</span>
</a>
<a class="lust-footer__social" href="mailto:contact@lustchain.org" aria-label="Email LUST Chain">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2.25 5.5A2.25 2.25 0 0 1 4.5 3.25h15A2.25 2.25 0 0 1 21.75 5.5v13A2.25 2.25 0 0 1 19.5 20.75h-15A2.25 2.25 0 0 1 2.25 18.5v-13Zm1.9-.35 7.34 6.05a.8.8 0 0 0 1.02 0l7.34-6.05H4.15Zm16.1 1.55-6.63 5.47a2.3 2.3 0 0 1-2.92 0L4.07 6.7V18.5c0 .24.2.44.43.44h15c.24 0 .43-.2.43-.44V6.7Z" fill="currentColor"/></svg><span>Email</span>
</a>
</nav>
</div>
<div class="lust-footer__middle">
<nav class="lust-footer__links" aria-label="Footer navigation">
<div>
<h2>Platform</h2>
<a href="./index.html">Home</a>
<a href="./presale.html">Genesis Presale</a>
<a href="./bridge.html">LUSDT Bridge</a>
<a href="./swap.html">Swap</a>
<a href="./p2p.html">P2P Market</a>
</div>
<div>
<h2>Ecosystem</h2>
<a href="./mining.html">Mining</a>
<a href="./staking.html">Staking</a>
<a href="./nfts.html">NFTs</a>
<a href="./factory.html">Token Factory</a>
<a href="./faucet.html">Gas Faucet</a>
</div>
<div>
<h2>Resources</h2>
<a href="./whitepaper.html">Whitepaper</a>
<a href="./docs.html">Docs</a>
<a href="https://explorer.lustchain.org" target="_blank" rel="noreferrer">Explorer</a>
<a href="https://rpc.lustchain.org" target="_blank" rel="noreferrer">RPC</a>
<a href="https://rpc-backup.lustchain.org" target="_blank" rel="noreferrer">Backup RPC</a>
</div>
<div>
<h2>Legal</h2>
<a href="./privacy-policy.html">Privacy Policy</a>
<a href="./terms-and-conditions.html">Terms & Conditions</a>
<a href="./risk-disclosure.html">Risk Disclosure</a>
<a href="https://lustchain.org" target="_blank" rel="noreferrer">Main Site</a>
</div>
</nav>
<aside class="lust-footer__network" aria-label="Network quick facts">
<h2>Network</h2>
<div class="lust-footer__badges" aria-label="Network details">
<span>Chain ID 6923</span>
<span>Native LST</span>
<span>LQC</span>
<span>15s blocks</span>
</div>
<p>Use the official explorer and docs to verify contracts, reserves and launch status.</p>
<div class="lust-footer__quick-actions">
<a href="https://explorer.lustchain.org" target="_blank" rel="noreferrer">Explorer</a>
<a href="./docs.html">Docs</a>
</div>
</aside>
</div>
</div>
<div class="lust-footer__bottom">
<span>© 2026 LUST Chain. Built for public ownership and transparent on-chain activity.</span>
<span>X @lust_chain · Telegram · GitHub lustchain · contact@lustchain.org</span>
</div>
</footer>
<button class="back-to-top" id="backToTop" type="button" aria-label="Back to top">↑</button>
<script type="module" src="./app.js?v20260613-lustswap-v1"></script>
<script src="./nft-menu.js?v=20260616-hover-v5"></script>
</body>
</html>