harb/landing
openhands 85350caf52 feat: OptimizerV3 with direct 2D staking-to-LP parameter mapping
Core protocol changes for launch readiness:

- OptimizerV3: binary bear/bull mapping from (staking%, avgTax) — avoids
  exploitable AW 30-90 kill zone. Bear: AS=30%, AW=100, CI=0, DD=0.3e18.
  Bull: AS=100%, AW=20, CI=0, DD=1e18. UUPS upgradeable with __gap[48].
- Directional VWAP: only records prices on ETH inflow (buys), preventing
  sell-side dilution of price memory
- Floor formula: unified max(scarcity, mirror, clamp) — VWAP mirror uses
  distance from adjusted VWAP as floor distance, no branching
- PriceOracle (M-1 fix): correct fallback TWAP divisor (60000s, not 300s)
- Access control (M-2 fix): deployer-only guard on one-time setters
- Recenter rate limit (M-3 fix): 60-second cooldown for open recenters
- Safe fallback params: recenter() optimizer-failure defaults changed from
  exploitable CI=50%/AW=50 to safe bear-mode CI=0/AW=100
- Recentered event for monitoring and indexing
- VERSION bump to 2, kraiken-lib COMPATIBLE_CONTRACT_VERSIONS updated

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:21:18 +00:00
..
.husky feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
public added web-app and landing 2025-09-23 14:18:04 +02:00
src feat: OptimizerV3 with direct 2D staking-to-LP parameter mapping 2026-02-13 18:21:18 +00:00
.gitignore added web-app and landing 2025-09-23 14:18:04 +02:00
.lintstagedrc.json feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
.prettierrc feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
AGENTS.md health checks (#39) 2025-10-02 14:37:59 +02:00
env.d.ts added web-app and landing 2025-09-23 14:18:04 +02:00
eslint.config.js feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
index.html added web-app and landing 2025-09-23 14:18:04 +02:00
package-lock.json feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
package.json feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
README.md added web-app and landing 2025-09-23 14:18:04 +02:00
tsconfig.app.json added web-app and landing 2025-09-23 14:18:04 +02:00
tsconfig.json added web-app and landing 2025-09-23 14:18:04 +02:00
tsconfig.node.json added web-app and landing 2025-09-23 14:18:04 +02:00
vite.config.ts feature/ci (#84) 2026-02-02 19:24:57 +01:00

vue-kraiken

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build