← Back to systems
StakeVerse ↗

Security-Hardened Governance & Staking Protocol

SolidityHardhatOpenZeppelinChainlinkReactTypeScriptViteTailwind CSSethers.js

StakeVerse is an on-chain governance and staking protocol centered on DAO-controlled authority. A token supplies historical voting power to a DAO that governs protocol administration through on-chain proposals, while a separate staking contract maintains its own protected reward accounting.

GitHub ↗
01 / SYSTEM MODELPROTOCOL DOMAINS
Governance

StakeVerseDAO holds administrative authority over the protocol, including itself.

Token / Voting Power

StakeVerseToken supplies historical voting power to governance through delegated ERC20Votes checkpoints.

Staking / Reward Accounting

StakeVerseStaking runs a fixed-rate reward pool with principal and reward liquidity tracked separately.

Membership NFT

StakeVerseNFT is a DAO-minted ERC-721 membership badge; it does not currently gate staking or governance.

Oracle Boundary

PriceOracleConsumer validates Chainlink price data as a standalone contract, not yet consumed by the core protocol.

02 / ARCHITECTUREAUTHORITY COMPOSITION

StakeVerseDAO is the root administrative authority: it owns the token, staking, and NFT contracts, and owns itself. Governance therefore controls every protocol-level administrative action, including its own rules.

StakeVerseDAORoot Administrative Authority
TOKENDAO-OWNED
STAKINGDAO-OWNED
NFTDAO-OWNED
DAO (ITSELF)SELF-OWNED
StakeVerseDAO

Root administrative authority. Owns Token, Staking, NFT, and itself; executes protocol-level actions through successful proposals.

StakeVerseToken

ERC-20 utility and governance token (OpenZeppelin ERC20Votes, timestamp-based voting clock). DAO-controlled minting, DAO-owned. Voting power comes from delegated checkpoints — staking does not add voting weight.

StakeVerseStaking

Single fixed-rate staking pool. Principal and reward liquidity are tracked separately; reward claims are bounded by a funded reward reserve.

StakeVerseNFT

ERC-721 membership badge, DAO-minted. Currently non-scarce and does not gate staking or governance.

PriceOracleConsumer

Chainlink AggregatorV3 integration validating round completeness, price positivity, and staleness. Standalone — not currently consumed by staking or governance.

03 / GOVERNANCE EXECUTIONHISTORICAL VOTING PATH

Voting power is bound to historical checkpoints, not current balances — delegation has to happen before a proposal's snapshot to count. Successful proposals execute permissionlessly, and the DAO can act on itself through the same mechanism.

04 / STAKING MODELREWARD ACCOUNTING PATH

Staking, unstaking, and reward claims are permissionless; funding, pausing, and the reward rate are DAO-controlled. Reward claims draw only from a separately funded reserve and can never consume staked principal.

PRINCIPAL

Principal and reward liquidity are accounted separately

REWARD RESERVE

Reward claims are bounded by the funded reward reserve

REWARD RATE

Fixed reward rate, DAO-adjustable

EMERGENCY PAUSE

Pausing blocks new staking without trapping withdrawals or claims

05 / ORACLE BOUNDARYEXTERNAL DATA

PriceOracleConsumer is a standalone Chainlink integration, not currently wired into staking or governance decisions.

Chainlink
↓
Price Oracle ConsumerRound completeness · Price positivity · Staleness
Core Protocol BoundaryNot currently connected
06 / SECURITYENFORCED INVARIANTS
REWARD RESERVEReward claims cannot exceed the funded reward reserve
PRINCIPALReward claims cannot consume staked principal
VOTING POWERVoting power is bound to historical checkpoints, preventing current-balance or just-in-time voting
QUORUMProposal quorum is evaluated against the proposal's own snapshot
EXECUTIONSuccessful proposals execute permissionlessly, with no privileged executor
AUTHORITYDAO ownership of every contract removes the deployer as a continuing administrator
EMERGENCYEmergency pause blocks new staking without trapping existing funds
ORACLEChainlink price data is rejected when stale, future-dated, or incomplete
07 / VERIFICATIONEVIDENCE
TEST SUITE

146/146 tests passing

COVERAGE

100% line/statement coverage on every production contract

CI PIPELINE

CI recompiles and re-runs the full test suite on every push

FRONTEND CI

Frontend typecheck, build, and lint validated in CI

DEPLOY / CHAIN ID

Deployment workflow re-verifies chain ID before broadcasting

DEPLOY / BYTECODE

Deployment workflow re-verifies deployed bytecode against source

DEPLOY / OWNERSHIP

Deployment workflow independently re-verifies contract ownership on-chain

SEPOLIA STATE

Current Sepolia contracts are DAO-owned, confirmed post-deployment

08 / DEPLOYMENTSEPOLIA / 11155111
NetworkEthereum Sepolia (testnet), chain ID 11155111
Live Applicationstakeverse.vercel.app
StakeVerseToken0xf87d0115aF9Fc668d69c540dD7c27BC032d9Afcd
StakeVerseDAO0x8B555044B4c0A0a91cb0028043004d94291FD01F
StakeVerseStaking0x5EBd1259223CD30D1Ba95298b517F1F59ABBEa64
StakeVerseNFT0xA2C7c2db9Ca89b90994049e74d1Ea3eaB62F286C
PriceOracleConsumer0x5773E1acaE1Bda00caCedC5ebA1653db2C1e749F
09 / CURRENT STATEKNOWN BOUNDARIES
DeploymentSepolia · DAO-Owned · Not Mainnet

StakeVerse is deployed and DAO-owned on Ethereum Sepolia — not mainnet. The current implementation has a few known gaps between contract capability and what the frontend or documentation currently expose.

STAKING UIStaking UI does not currently expose the contract's unstake function
ORACLE UIThe dashboard's oracle price is currently hardcoded, not a live read from PriceOracleConsumer
NFTNFT ownership does not currently affect staking or governance
ISSUANCEToken issuance is uncapped, controlled entirely by DAO governance; NFT issuance is non-scarce
EXTERNAL REVIEWNo third-party audit or static-analysis review has been performed
SOURCE VERIFICATIONDeployed contracts are not currently source-verified on a block explorer
UPGRADESContracts are not upgradeable — fixes require redeployment and migration