About page

This commit is contained in:
tim
2025-10-27 18:04:44 -04:00
parent 6c3fdba8fc
commit c319482a4c
3 changed files with 67 additions and 41 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -11,10 +11,10 @@ export default function AboutPage() {
{/* Header */}
<div className="text-center space-y-4">
<h1 className="text-4xl font-bold bg-gradient-to-r from-primary to-purple-400 bg-clip-text text-transparent">
About Liquidity Party
Liquidity Party
</h1>
<p className="text-xl text-muted-foreground max-w-3xl mx-auto">
A game-theoretic multi-asset AMM revolutionizing decentralized exchange
Multi-asset AMM based on Party Game Theory.
</p>
</div>
@@ -32,6 +32,16 @@ export default function AboutPage() {
Logarithmic Market Scoring Rules for Modular Combinatorial Information Aggregation (R. Hanson, 2002)
</a>.
</p>
<p className="text-muted-foreground leading-relaxed">
Our formulation and implementation is described in the{' '}
<a href="https://github.com/Liquidity-Party/lmsr-amm/blob/main/doc/whitepaper.md"
target='liqp_whitepaper'
rel="noopener noreferrer"
className="text-primary hover:underline italic"
>
Liquidity Party whitepaper.
</a>
</p>
<p className="text-muted-foreground leading-relaxed">
A Logarithmic Market Scoring Rule (LMSR) is a pricing formula for AMMs that know only their current asset
inventories and no other information, naturally supporting multi-asset pools.
@@ -45,11 +55,11 @@ export default function AboutPage() {
<div className="p-4 bg-muted rounded-lg">
<h3 className="font-semibold text-primary mb-2">Less Slippage</h3>
<p className="text-sm text-muted-foreground">
Reduced slippage for small and medium trade sizes compared to CP markets
Reduced slippage for small and medium trade sizes
</p>
</div>
<div className="p-4 bg-muted rounded-lg">
<h3 className="font-semibold text-primary mb-2">N-Asset Pools</h3>
<h3 className="font-semibold text-primary mb-2">Multi-Asset Pools</h3>
<p className="text-sm text-muted-foreground">
Trade long-tail pairs in a single hop with multi-asset support
</p>
@@ -68,10 +78,17 @@ export default function AboutPage() {
</div>
</div>
<p className="text-muted-foreground leading-relaxed mt-4">
According to game theory, CP's slope at the current marginal price is too steep, overcharging takers
According to game theory, the initial price slope of a Constant Product AMM is too steep, overcharging takers
with too much slippage at small and medium trade sizes. LMSR pools offer less slippage and cheaper
liquidity for the small and medium trade sizes common for arbitrageurs and aggregators.
liquidity for the small and medium trade sizes used by real traders.
</p>
<div className="mt-6">
<img
src="/slippage-comparison.png"
alt="Slippage Comparison Chart"
className="w-full rounded-lg"
/>
</div>
</Card>
{/* Multi-Asset */}
@@ -134,13 +151,13 @@ export default function AboutPage() {
</tr>
</tbody>
</table>
<p className="text-xs text-muted-foreground mt-2">* Stablecoin pair pool optimization</p>
<p className="text-xs text-muted-foreground mt-2">* Stablecoin pair optimization</p>
</div>
<p className="text-muted-foreground leading-relaxed">
Liquidity Party aggregates scarce, low market cap assets into a single pool, providing one-hop liquidity
for exotic pairs without fragmenting LP assets. CP pools would need 190x the LP assets to provide the same
pairwise liquidity as a single 20-asset Liquidity Party pool, due to asset fragmentation.
for exotic pairs without fragmenting LP assets. Constant Product pools would need 190x the LP assets to provide the
same pairwise liquidity as a single 20-asset Liquidity Party pool, due to asset fragmentation.
</p>
</Card>
@@ -158,45 +175,64 @@ export default function AboutPage() {
<div className="space-y-4 border-t pt-6">
<h2 className="text-2xl font-semibold">Minimized Impermanent Loss</h2>
<h3 className="text-xl font-semibold text-primary">Adverse Selection Protection</h3>
<p className="text-muted-foreground leading-relaxed">
All AMM's suffer from Impermanent Loss (IL), also known as adverse selection or toxic order flow. Liquidity
Party uses game theory to minimize IL for LPs, by charging lower fees to small legitimate traders, and
higher fees to large adversarial traders during market dislocation. This means a higher effective rate
for LP's and cheaper swaps for legitimate small traders.
</p>
<p className="text-muted-foreground leading-relaxed">
Liquidity Party swaps guarantee a bounded maximum loss of <code>κ*S*ln(N)</code> where <code>κ</code> is
the pool's liquidity parameter, <code>S</code> is the total size of the pool, and <code>N</code> is the
number of assets in the pool.
</p>
<h3 className="text-xl font-semibold text-primary">No Intra-Pool Arbitrage</h3>
<p className="text-muted-foreground leading-relaxed">
LMSR minimizes impermanent loss for liquidity providers. Traditional CP pools expose LPs to value
extraction, leading to higher fee demands than theoretically necessary. By minimizing impermanent
loss for LPs, LMSR pools reduce the risk premium, providing lower fees and higher liquidity for takers.
Other multi-asset systems can provide inconsistent price quotes, allowing arbitragers to
extract value from LP's by <i>trading assets inside the same pool against each other.</i> With Liquidity
Party, no intra-pool arbitrage is possible, because the mathematics guarantee fully consistent price
quotes on all pairs in the pool.
</p>
</div>
</Card>
{/* Open Source Development */}
<Card className="p-8 space-y-4">
<h2 className="text-2xl font-semibold">Open Source Development</h2>
<h2 className="text-2xl font-semibold">Transparent Open Source</h2>
<p className="text-muted-foreground leading-relaxed">
Liquidity Party is built in the open — transparently, collaboratively, and for the benefit of the broader DeFi ecosystem.
Our full codebase is available under open-source licenses found here:{' '}
The Liquidity Party contract source code fully transparent to the public and verified by Etherscan.
</p>
<p className="text-muted-foreground leading-relaxed">
View our contracts on GitHub:{' '}
<a
href="https://git.dxod.org/explore/repos"
target="_blank"
href="https://github.com/Liquidity-Party/lmsr-amm"
target="liqp_github"
rel="noopener noreferrer"
className="text-primary hover:underline"
>
https://git.dxod.org/explore/repos
</a>.
https://git.dxod.org/explore/repos
</a>
</p>
<p className="text-muted-foreground leading-relaxed">
We believe that decentralized finance should be verifiable and permissionless from the ground up.
By open-sourcing our smart contracts, math models, and protocol components, we empower developers, researchers, and liquidity providers to audit, extend, and innovate on top of Liquidity Party.
</p>
<p className="text-muted-foreground leading-relaxed font-medium">
Contributions, audits, and discussions are welcome join the party and help shape the future of multi-asset liquidity.
Verify our contracts on Etherscan (Sepolia):{' '}
<a
href="https://sepolia.etherscan.io/address/0x081aA8AB1984680087c01a5Cd50fC9f49742434D#code"
target="liqp_etherscan"
rel="noopener noreferrer"
className="text-primary hover:underline"
>
https://git.dxod.org/explore/repos
</a>
</p>
</Card>
{/* Footer */}
<div className="text-center py-8 border-t">
<p className="text-sm text-muted-foreground">
Ready to experience the future of decentralized trading?
Liquidity Party is offered by Dexorder Trading Services, Ltd. (British Virgin Islands)
</p>
</div>
</div>
);
}
}

View File

@@ -130,12 +130,12 @@ const IPartyPlannerABI = [
"internalType": "contract IERC20[]"
},
{
"name": "bases",
"type": "uint256[]",
"internalType": "uint256[]"
"name": "tradeFrac",
"type": "int128",
"internalType": "int128"
},
{
"name": "kappa",
"name": "targetSlippage",
"type": "int128",
"internalType": "int128"
},
@@ -214,17 +214,7 @@ const IPartyPlannerABI = [
"internalType": "contract IERC20[]"
},
{
"name": "bases",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "tradeFrac",
"type": "int128",
"internalType": "int128"
},
{
"name": "targetSlippage",
"name": "kappa",
"type": "int128",
"internalType": "int128"
},