# Protocol Architecture

### Main Structure

Seba integrates smart contracts and backend services to manage validator participation, monitor performance, and allocate perpetual yields.

### SebaPool Contract

The SebaPool contract serves as the entry point, managing validator registration, tracking graduation, and collecting rewards. Validators join by setting their fee address to the SebaPool contract, directing their execution and MEV rewards into the system.

Collected rewards are split:

* Half are locked in the Yield Vault as principal to generate perpetual yield
* The rest are converted into sBOLD and sent to the pybSeba Vault for distribution

> BOLD is the decentralized, over-collateralized stablecoin issued through the immutable smart contracts of the **Liquity v2** protocol. **sBOLD** is a staked, yield-bearing token, representing deposits that continuously accrue yield from underlying collateral. It allows users to keep their capital productive while maintaining full onchain liquidity, composability, and trustless access across DeFi.\
> \
> **sBOLD:** [0x50Bd66D59911F5e086Ec87aE43C811e0D059DD11](https://etherscan.io/token/0x50Bd66D59911F5e086Ec87aE43C811e0D059DD11)

The current SebaPool contract is: [0xe3B17b4533b339d3CBC26F57199d3fb937129894](https://etherscan.io/address/0xe3b17b4533b339d3cbc26f57199d3fb937129894)

### How Is Everything Tracked?

A backend service executes every five epochs to update validator statistics, save them to AWS S3, and retrieve data from Alchemy, Beaconchain, and Seba’s Subgraph. Blockchain transactions are secured through wallets managed in AWS Secrets Manager.

### How do you check for Stakers Union validators?

We verify Stakers Union NFT ownership on both Ethereum and Gnosis chains.

### Yield Strategy

Yield strategy decisions start under multisig control and will move to DAO governance, with a target of <mark style="color:green;">10% APY on locked principal.</mark>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.heroglyphs.com/seba/protocol-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
