Files
cross-chain-pmm-lps/docs/09-simulation-params-sheet.md
2026-03-02 12:14:07 -08:00

51 lines
2.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# First-pass simulation parameter sheet
Design-only consistent defaults for scenario-based simulation. Source: [../config/simulation-params.json](../config/simulation-params.json).
---
## Default PMM (global)
| Param | Value | Notes |
|-------|--------|-------|
| k | 0.1 | Curvature; lower = tighter peg |
| feeBps | 25 | Fee in basis points |
| inventoryTargetUnits | 1_000_000 | I_T^* baseline |
| depthD0Units | 500_000 | D_0 for depth formula |
---
## Per-chain parameters (11 design chains)
| Chain | Name | Hub | k | feeBps | Inventory target | bridgeBeta | bridgeGamma |
|-------|------|-----|---|--------|------------------|-----------|-------------|
| 1 | Ethereum Mainnet | USDC | 0.1 | 25 | 1_000_000 | 0.001 | 50 |
| 10 | Optimism | USDC | 0.1 | 25 | 500_000 | 0.001 | 20 |
| 25 | Cronos | USDT | 0.12 | 30 | 300_000 | 0.002 | 15 |
| 56 | BSC (BNB Chain) | USDT | 0.1 | 25 | 800_000 | 0.001 | 10 |
| 100 | Gnosis Chain | USDC | 0.12 | 30 | 400_000 | 0.0015 | 15 |
| 137 | Polygon | USDC | 0.1 | 25 | 600_000 | 0.001 | 5 |
| 42161 | Arbitrum One | USDC | 0.1 | 25 | 500_000 | 0.001 | 15 |
| 8453 | Base | USDC | 0.1 | 25 | 400_000 | 0.001 | 10 |
| 43114 | Avalanche C-Chain | USDC | 0.11 | 28 | 350_000 | 0.0015 | 20 |
| 42220 | Celo | USDC | 0.12 | 30 | 300_000 | 0.002 | 15 |
| 1111 | Wemix | USDT | 0.12 | 30 | 250_000 | 0.002 | 20 |
- **bridgeBeta:** fractional bridge fee/slippage (β_ij).
- **bridgeGammaUnits:** fixed cost units (γ_ij) for gas + messaging + relayer (nominal).
---
## Scenario defaults
- **Design routing stress test:** Assume all 11 chains; one PMM per cW token vs hub; optional extra quote pools on chains 1, 56, 137.
- **Topology sensitivity:** Hub model = all chains; full-quote model = chains 1, 56, 137 only (compare capture, churn, intervention cost).
---
## Usage
1. Run **design-only** scenario sims using `simulation-params.json` (no addresses required).
2. When deployment data exists, fill `deployment-status.json` per chain (cwTokens, anchorAddresses, pmmPools, bridgeAvailable).
3. Iterate k/fee and inventory targets from sim outputs (router capture ratio, inventory churn, intervention cost). See [08-simulation-model.md](08-simulation-model.md) §7.