diff --git a/public/slippage-comparison.png b/public/slippage-comparison.png new file mode 100644 index 0000000..8da69a0 Binary files /dev/null and b/public/slippage-comparison.png differ diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 47071af..da94579 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -11,10 +11,10 @@ export default function AboutPage() { {/* Header */}

- About Liquidity Party + Liquidity Party

- A game-theoretic multi-asset AMM revolutionizing decentralized exchange + Multi-asset AMM based on Party Game Theory.

@@ -32,6 +32,16 @@ export default function AboutPage() { Logarithmic Market Scoring Rules for Modular Combinatorial Information Aggregation (R. Hanson, 2002) .

+

+ Our formulation and implementation is described in the{' '} + + Liquidity Party whitepaper. + +

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() {

Less Slippage

- Reduced slippage for small and medium trade sizes compared to CP markets + Reduced slippage for small and medium trade sizes

-

N-Asset Pools

+

Multi-Asset Pools

Trade long-tail pairs in a single hop with multi-asset support

@@ -68,10 +78,17 @@ export default function AboutPage() {

- 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.

+
+ Slippage Comparison Chart +
{/* Multi-Asset */} @@ -134,13 +151,13 @@ export default function AboutPage() { -

* Stablecoin pair pool optimization

+

* Stablecoin pair optimization

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.

@@ -158,45 +175,64 @@ export default function AboutPage() {

Minimized Impermanent Loss

+

Adverse Selection Protection

+

+ 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. +

+

+ Liquidity Party swaps guarantee a bounded maximum loss of κ*S*ln(N) where κ is + the pool's liquidity parameter, S is the total size of the pool, and N is the + number of assets in the pool. +

No Intra-Pool Arbitrage

- 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 trading assets inside the same pool against each other. With Liquidity + Party, no intra-pool arbitrage is possible, because the mathematics guarantee fully consistent price + quotes on all pairs in the pool.

{/* Open Source Development */} -

Open Source Development

+

Transparent Open Source

- 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. +

+

+ View our contracts on GitHub:{' '} - https://git.dxod.org/explore/repos - . + https://git.dxod.org/explore/repos +

- 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. -

-

- Contributions, audits, and discussions are welcome — join the party and help shape the future of multi-asset liquidity. + Verify our contracts on Etherscan (Sepolia):{' '} + + https://git.dxod.org/explore/repos +

{/* Footer */}

- Ready to experience the future of decentralized trading? + Liquidity Party is offered by Dexorder Trading Services, Ltd. (British Virgin Islands)

); -} \ No newline at end of file +} diff --git a/src/contracts/IPartyPlannerABI.ts b/src/contracts/IPartyPlannerABI.ts index bc64b3b..39769c2 100644 --- a/src/contracts/IPartyPlannerABI.ts +++ b/src/contracts/IPartyPlannerABI.ts @@ -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" },