Skip to content
Merged

GEO #143

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/docs/fees/intro.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Fees
description: Learn about fees in StakeWise protocol
description: "StakeWise fees: the Vault fee (0–100%, set by each operator, taken from staking rewards) and the 5% StakeWise DAO fee on osETH rewards."
---

# Fees
Expand All @@ -15,6 +15,8 @@ The fee structure ensures sustainable protocol development while maintaining com
$$
{\small UserNetReturns = ValidatorRewards - VaultFees - osTokenFees}
$$

Stakers receive validator rewards minus the Vault fee and, if they minted osToken, minus the osToken fee.
:::

## Vault Fee
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/governance/stakewise-dao.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: StakeWise DAO
description: Learn about StakeWise DAO governance, the role of the community, and how protocol parameters are decided.
description: The StakeWise DAO is the collective of SWISE holders that decides osETH fees, Oracle membership, liquidity mining, the Treasury, and upgrades.
---

# StakeWise DAO
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/oracles/intro.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Oracles
description: Meet the independent operators that form the Oracle network bridging the Beacon Chain and Vault contracts
description: "StakeWise Oracles: a DAO-approved committee of 11 nodes per chain, run by independent organizations, that signs reward and validator updates."
---

Oracles are specialized entities that connect blockchains to external data sources, enabling smart contracts to access real-world information.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/oracles/oracle-duties.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Oracle Duties
description: Learn about validator registration approval, reward distribution, validator exits, and osToken redemptions
description: "What StakeWise Oracles do: approve validator registrations, distribute rewards, process exits and consolidations, and enable osToken redemptions."
---

import Image from '@theme/IdealImage'
Expand Down
8 changes: 7 additions & 1 deletion docs/docs/ostoken/how-ostoken-works.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: How osToken Works
description: Learn how osToken works.
description: "How osToken works: minting against staked ETH or GNO, the LTV ratio, the exchange rate and soft peg, redemptions, liquidations, and burning."
---

import Image from '@theme/IdealImage'
Expand Down Expand Up @@ -100,6 +100,8 @@ $$
{\small Redeemable\ osToken = \frac{Minted\ osToken \times Exchange\ Rate - 0.9 \times Staked\ ETH}{0.1 \times Exchange\ Rate}}
$$

In plain terms: `Redeemable osToken = (Minted osToken × Exchange Rate − 0.9 × Staked ETH) ÷ (0.1 × Exchange Rate)`.

Derived by solving `(Minted − R) × Rate / (Staked − R × Rate) = 0.9`, where `R` is the redeemable osToken amount.
:::

Expand Down Expand Up @@ -172,12 +174,16 @@ The protocol calculates the **maximum unstakable ETH** as (the examples below us
$$
{\small MaxUnstakableETH = StakedETH - \dfrac{osTokenMinted \times ExchangeRate}{0.9}}
$$

In plain terms: `MaxUnstakableETH = StakedETH − osTokenMinted × ExchangeRate ÷ 0.9`.
:::

:::custom-notes[Formula: 99.99% LTV]
$$
{\small MaxUnstakableETH = StakedETH - \dfrac{osTokenMinted \times ExchangeRate}{0.9999}}
$$

In plain terms: `MaxUnstakableETH = StakedETH − osTokenMinted × ExchangeRate ÷ 0.9999`.
:::

:::custom-notes[Example: Bob's 90% LTV Position]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/ostoken/ostoken-redemptions.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: osToken Redemptions
description: How osToken redemptions work under the hood.
description: "osToken redemptions convert osToken back to ETH or GNO at the protocol exchange rate: which positions are redeemable, the exit queue, the flow."
---

import Image from '@theme/IdealImage';
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: StakeWise Overview
description: "Overview of StakeWise ecosystem: Protocol, Interface, DAO, and Labs. Learn how the different components of StakeWise work together."
description: "The four parts of StakeWise: the Protocol (smart contracts), the Interface (app.stakewise.io), the DAO (SWISE governance), and StakeWise Labs."
---

# StakeWise Overview
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/stakewise-protocol/intro.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: The StakeWise Protocol
description: Learn how StakeWise Protocol enables decentralized liquid staking on Ethereum with permissionless, customizable, and non-custodial staking pools.
description: StakeWise is a liquid staking protocol for Ethereum and Gnosis Chain built on non-custodial Vaults, osToken, and upgradable and immutable contracts.
---

# The StakeWise Protocol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Understanding Liquid Staking
toc_min_heading_level: 2
toc_max_heading_level: 5
description: Understand how liquid staking works on Ethereum. Learn about staking rewards, LSTs, DeFi composability, and how StakeWise improves on traditional staking.
description: "What staking and liquid staking are on Ethereum: validator duties and rewards, why native staking locks ETH, and how liquid staking tokens work."
---

import Tooltip from '@site/src/components/Tooltip/Tooltip';
Expand Down
4 changes: 3 additions & 1 deletion docs/docs/stakewise-protocol/what-is-stakewise.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
title: What is StakeWise
toc_min_heading_level: 2
toc_max_heading_level: 5
description: Discover StakeWise — a liquid staking protocol with Vaults, osToken, and Oracles. Stake ETH on Ethereum and Gnosis Chain with full control.
description: StakeWise is a non-custodial liquid staking protocol on Ethereum and Gnosis Chain, built from Vaults, osToken (osETH, osGNO), and Oracles.
---

import Tooltip from '@site/src/components/Tooltip/Tooltip'
import Image from '@theme/IdealImage'

# What is StakeWise?

StakeWise is a non-custodial liquid staking protocol on Ethereum and Gnosis Chain. Stakers deposit ETH or GNO into Vaults — independent staking pools run by node operators — and can mint osToken (osETH or osGNO), a liquid staking token that keeps earning staking rewards while it is used across DeFi.

<Image img={require('./img/what_is_stakewise.png')} alt="StakeWise staking methods: Vault Staking, Simple Staking (one-click), and running your own Vault" />

Operating across Ethereum and Gnosis Chain, StakeWise offers three ways to stake, each suited to a different type of staker:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/vaults/boost.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: How Boost Works
description: Amplify staking rewards with StakeWise Boost. Learn how osETH looping on Aave works and the safety mechanisms behind it.
description: StakeWise Boost loops osETH on Aave to restake borrowed ETH in a Vault, historically adding ~1–3 percentage points to APY. How it works, risks.
---

import Image from '@theme/IdealImage'
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/vaults/intro.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Vaults
description: Dive deep into Vaults — permissionless, non-custodial, highly configurable staking pools for ETH and GNO with complementary in-protocol yield features like Boost and osETH.
description: A StakeWise Vault is an isolated, non-custodial staking pool for ETH or GNO with its own fee and MEV strategy, osToken minting, and Boost on Ethereum.
---

import Tooltip from '@site/src/components/Tooltip/Tooltip';
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/vaults/technical-architecture.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Technical Architecture
description: Learn how Vaults are deployed across Ethereum and Gnosis, the proxy pattern that makes them upgradeable, and their modular design.
description: "StakeWise Vault architecture: ERC-1967 upgradeable proxies deployed by per-network factories, listed in the VaultsRegistry, built from modules."
---

import Image from '@theme/IdealImage'
Expand Down
8 changes: 7 additions & 1 deletion docs/docs/vaults/vault-performance.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Vault Performance
description: Understand StakeWise Vault performance scoring, including proposer and attester metrics, calculation formulas, and performance grade thresholds.
description: "How StakeWise scores Vault performance from Beacon API rewards: 80% attester and 20% proposer weighting, the final formula, and grade thresholds."
---

import Tabs from '@theme/Tabs';
Expand Down Expand Up @@ -63,6 +63,8 @@ $$
{\small \text{attester\_score} = \frac{\text{total\_rewards}}{\text{ideal\_rewards}}}
$$

In plain terms: `attester_score = total_rewards ÷ ideal_rewards`, the share of the maximum possible attestation rewards that the Vault's validators actually earned.

**Where:**
- `total_rewards` – sum of the Vault's validator rewards, from the Beacon API
- `ideal_rewards` – sum of the corresponding ideal rewards
Expand Down Expand Up @@ -92,6 +94,8 @@ $$
{\small \text{proposal\_score} = \frac{\text{proposed\_block\_count}}{\text{proposed\_block\_count} + \text{missed\_block\_count}}}
$$

In plain terms: `proposal_score = proposed_block_count ÷ (proposed_block_count + missed_block_count)`, the share of assigned blocks that the Vault's validators actually proposed.

**Where:**
- `proposed_block_count` – Number of blocks the validator successfully proposed
- `missed_block_count` – Number of blocks the validator was assigned but missed
Expand All @@ -106,6 +110,8 @@ $$
{\small \text{score} = \left( \frac{8}{10} \times \text{attester\_score} + \frac{2}{10} \times \text{proposal\_score} \right) \times 100}
$$

In plain terms: `score = (0.8 × attester_score + 0.2 × proposal_score) × 100`.

The **80/20 split is StakeWise's own choice**, not the protocol's exact reward split. It keeps the metric simple while still reflecting reality: attestations do most of the work and are the steadiest signal of real performance, whereas proposals — and the MEV attached to them — are unpredictable, since a validator can be offline for five minutes and miss its only block of the week.

This is a deliberate simplification of beaconcha.in's [BeaconScore ↗](https://docs.beaconcha.in/beaconscore/introduction), which is **reward-weighted** across *three* duties, with each weight set by that duty's share of ideal reward over the window. Long-term, those shares track the protocol's reward budget:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/vaults/vault-types.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Vault Types
description: Explore StakeWise Vault types — Standard, ERC-20, Private, Blocklist, and MetaVault — and how each serves different staking use cases.
description: StakeWise Vault types (Standard, ERC-20, Private, Blocklist, and MetaVault), the modules behind each, and the use cases each one fits.
---

import Image from '@theme/IdealImage'
Expand Down
45 changes: 44 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const config: Config = {
innerHTML: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'Organization',
'@id': 'https://stakewise.io/',
name: 'StakeWise',
url: 'https://stakewise.io',
logo: 'https://stakewise.io/logo512.png',
Expand All @@ -47,7 +48,12 @@ const config: Config = {
'https://x.com/stakewise_io',
'https://github.com/stakewise',
'https://discord.gg/stakewise',
'https://t.me/stakewise',
'https://t.me/stakewise_io',
'https://blog.stakewise.io',
'https://forum.stakewise.io',
'https://www.linkedin.com/company/stakewise',
'https://www.coingecko.com/en/coins/stakewise',
'https://defillama.com/protocol/stakewise',
],
}),
},
Expand Down Expand Up @@ -82,6 +88,7 @@ const config: Config = {
changefreq: 'weekly',
priority: 0.5,
filename: 'sitemap.xml',
ignorePatterns: ['/search', '/search/**'],
},
docs: {
path: 'docs',
Expand Down Expand Up @@ -143,6 +150,42 @@ const config: Config = {
'@docusaurus/plugin-client-redirects',
{ redirects },
],
[
'docusaurus-plugin-llms',
{
title: 'StakeWise Docs',
description: 'StakeWise is a non-custodial liquid staking protocol on Ethereum and Gnosis Chain. Stakers deposit ETH or GNO into Vaults and can mint osToken (osETH or osGNO), a liquid staking token that keeps earning staking rewards.',
rootContent: [
'- App: https://app.stakewise.io',
'- Website: https://stakewise.io',
'- Blog: https://blog.stakewise.io',
'- Source code: https://github.com/stakewise',
].join('\n'),
docsDir: [
{ path: 'docs', routeBasePath: '/', label: 'Protocol, contracts and SDK' },
{ path: 'staker', routeBasePath: 'staker', label: 'Staker guides' },
{ path: 'operator', routeBasePath: 'operator', label: 'Operator guides' },
],
// NatSpec mirror of v3-core: too large for llms-full.txt, the source is on GitHub
ignoreFiles: [ 'docs/contracts/api/**' ],
includeOrder: [
'docs/docs/stakewise-protocol/what-is-stakewise.mdx',
'docs/docs/overview.mdx',
'docs/docs/stakewise-protocol/**',
'docs/docs/vaults/**',
'docs/docs/ostoken/**',
'docs/docs/oracles/**',
'docs/docs/fees/**',
'docs/docs/governance/**',
'docs/docs/**',
'docs/contracts/**',
'docs/sdk/**',
],
excludeImports: true,
removeDuplicateHeadings: true,
addMdExtension: false,
},
],
[
'@docusaurus/plugin-content-docs',
{
Expand Down
2 changes: 1 addition & 1 deletion operator/alternative-key-management/dvt/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: DVT
description: Learn about Distributed Validator Technology (DVT) for StakeWise Vaults. Eliminate single points of failure by distributing validator key management across multiple nodes.
description: "Distributed Validator Technology (DVT) in StakeWise Vaults: split a validator key across Obol or SSV nodes so no single machine is a point of failure."
---

import Image from '@theme/IdealImage'
Expand Down
2 changes: 1 addition & 1 deletion operator/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 1. Introduction
description: Learn what operating a Vault means, why you should try, what you can earn, and what it costs and requires.
description: "Running a StakeWise Vault: why operate one, what you can earn, what it costs, and what a Vault operator is responsible for."
---

# Introduction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: DVT
description: Learn about Distributed Validator Technology (DVT) for StakeWise Vaults. Eliminate single points of failure by distributing validator key management across multiple nodes.
description: "Distributed Validator Technology (DVT) in StakeWise Vaults: split a validator key across Obol or SSV nodes so no single machine is a point of failure."
---

import Image from '@theme/IdealImage'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@docusaurus/tsconfig": "3.10.0",
"@docusaurus/types": "3.10.0",
"@tailwindcss/postcss": "4.1.4",
"docusaurus-plugin-llms": "0.6.1",
"husky": "9.1.7",
"postcss": "8.5.3",
"tailwindcss": "4.1.4",
Expand Down
1 change: 1 addition & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
User-agent: *
Content-Signal: search=yes, ai-input=yes, ai-train=yes
Allow: /
Disallow: /search
Disallow: /search/
Expand Down
4 changes: 4 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "docusaurus-2"
}
30 changes: 29 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3978,6 +3978,13 @@ brace-expansion@^1.1.7:
balanced-match "^1.0.0"
concat-map "0.0.1"

brace-expansion@^2.0.1:
version "2.1.7"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.7.tgz#14ea3836731823bb24740225ea43b941b436f9d1"
integrity sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==
dependencies:
balanced-match "^1.0.0"

braces@^3.0.3, braces@~3.0.2:
version "3.0.3"
resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz"
Expand Down Expand Up @@ -4819,6 +4826,15 @@ dns-packet@^5.2.2:
dependencies:
"@leichtgewicht/ip-codec" "^2.0.1"

docusaurus-plugin-llms@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/docusaurus-plugin-llms/-/docusaurus-plugin-llms-0.6.1.tgz#08e67711885addc9138c433ef49eaf025a1a877d"
integrity sha512-elqTn7httrRG20g1mfzTtWZjLVpXMNKO2IS9R84dxiIp7QjAcDuubLp6/bvpe3umHdPnEXHJKhNOpTY+wnQa1Q==
dependencies:
gray-matter "4.0.3"
minimatch "9.0.3"
yaml "2.8.1"

docusaurus-plugin-sass@0.2.6:
version "0.2.6"
resolved "https://registry.npmjs.org/docusaurus-plugin-sass/-/docusaurus-plugin-sass-0.2.6.tgz"
Expand Down Expand Up @@ -5619,7 +5635,7 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11,
resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz"
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==

gray-matter@^4.0.3:
gray-matter@4.0.3, gray-matter@^4.0.3:
version "4.0.3"
resolved "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz"
integrity sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==
Expand Down Expand Up @@ -7459,6 +7475,13 @@ minimatch@3.1.5:
dependencies:
brace-expansion "^1.1.7"

minimatch@9.0.3:
version "9.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
dependencies:
brace-expansion "^2.0.1"

minimist@^1.2.0, minimist@^1.2.3:
version "1.2.8"
resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz"
Expand Down Expand Up @@ -10395,6 +10418,11 @@ yallist@^3.0.2:
resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz"
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==

yaml@2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.1.tgz#1870aa02b631f7e8328b93f8bc574fac5d6c4d79"
integrity sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==

yocto-queue@^1.0.0:
version "1.2.0"
resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.0.tgz"
Expand Down
Loading