# StakeManager — 抵押权

## 接口

```solidity
function deposit() external payable
function withdraw(uint256 amount) external
function activeStake(address) external view returns (uint256)
function slash(address subject, uint256 amount) external // onlyChallengeManager
```

## 关键约束

* MIN\_STAKE = 0.5 ETH (PoC) — 主网需 1-10M USD 量级
* slashed ETH 转入 treasury (configurable)
* 只有 ChallengeManager 可调用 slash
* CEI: ChallengeManager.resolveExpired 已修 (commit `7a1c8b5`)

## 经济模型

详见 [Slash 经济学](/algorithms/slash-economics.md)。


---

# 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://yellowpaper.axblade.io/registries-que-quan/stake-manager.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.
