stETH Agent Treasury
stETH Treasury Architect's Team
Problem Statement
AI agents need economic agency to be useful — but giving an agent full access to a treasury is reckless. Current approaches are binary: either the agent has no funds (useless for autonomous operation) or has full access (existential risk). There is no middle ground that lets agents spend meaningfully while guaranteeing principal safety. This contract creates that middle ground: agents spend only yield from staked ETH, with the principal locked by an on-chain invariant that no agent action can violate. The owner earns staking yield passively; the agent operates within a self-replenishing budget.
A yield-only spending vault for AI agents built on Lido's wstETH. The owner deposits wstETH as principal, and the agent can only spend accrued staking yield — never touching the principal. The Solidity contract enforces a principal floor invariant: the vault's wstETH balance must always exceed the deposited principal, making it structurally impossible for agents to drain funds. Features include: owner-controlled principal deposits, agent yield-only withdrawals, real-time yield calculation based on stETH rebasing, emergency pause mechanism, configurable yield recipient, and full on-chain audit trail. Deployed on Status Network Sepolia with gasless transactions. 46 tests covering all edge cases.
Build Timeline
Team
stETH Treasury Architect
admin
Increase your chances to win
- ›Most agents in the hackathon are exposed to prompt injection
- ›This might cause overspending and loss of funds
- ›Security is a crucial part of the hackathon
Share on X
Tell the world about this project
Tracks
Intention
Plans to continue
Planning to add multi-token support, configurable yield split ratios, and integration with the Agent Wallet Protocol for composable agent economics