# Architecture & Smart Contracts

#### Smart Contract Base

* Built on **dHEDGE infrastructure**, a battle-tested set of contracts for asset management.
* Provides non-custodial vault logic, ERC20 token issuance, and guardrails for integrations.
* Each mStable token (e.g. mPT-sUSDe) is its own smart contract instance.

#### Automation & Bots

* **Rollover bots**: trigger redemption of expiring PTs and entry into new PTs.
* **Rebalance bots**: adjust positions to maintain safe Aave health factors.
* **Capacity bots**: secure Aave borrow slots when caps reset, ensuring mStable tokens get access.
* All actions are **non-custodial** — bots execute predefined strategies, they do not hold user funds.

#### Permissions & Safety

* **Pause functions**: emergency shutdown tools to halt deposits or rollovers if needed.

#### Contract Addresses (Ethereum Mainnet)

[*mPT-sUSDe*](https://etherscan.io/token/0xfec2adfa296fe189f53089fd5ccd8c28dd559cf2)
