> For the complete documentation index, see [llms.txt](https://docs.imperial.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperial.trade/imperial/security-of-funds.md).

# Security of Funds

Where your money is, who controls the programs, and what the program enforces.

Your funds stay on Solana, in the Imperial program, and are never rehypothecated.

Imperial never lends, pledges or reuses your deposits. A problem at any of Imperial's liquidity sources cannot reach your funds, because your funds are not there.

### Where your money is

* Deposits are USDC on Solana, held in your profile and in the Imperial program's vault.
* Withdrawals are always paid to your own profile. Nobody can redirect them.
* Your deposits can always be withdrawn. Profit sometimes settles first. See [Deposits & Withdrawals](https://docs.imperial.trade/trading/deposits-and-withdrawals.md).

### Mainnet programs

| Program                                    | Address                                        |
| ------------------------------------------ | ---------------------------------------------- |
| Imperial (perps engine)                    | `ARmavNtb6xs7SpH3geahw434fwTrVw5BSvJf36CAbWKB` |
| Imperial Passthrough (profiles and orders) | `pASsDHVUtgG5uomQ29SVMv1sQxon4Gi6g5bJV7KKqZ8`  |

Upgrades are deployed from verifiable builds, so anyone can check that the on-chain program matches the published source.

### Who controls the programs

Both programs' upgrade authority and admin are held by a **Squads multisig**, vault `AvnjAe6rFSwwFyhZCVgmsmqkPHLupJqAQnzN3QHad2gs`. Every upgrade or parameter change needs multiple hardware-wallet signatures.

### What the program enforces

* **Slippage limits.** A fill worse than your limit is refused on-chain, whatever the app or API sent.
* **Bounded parameters.** Fees, leverage and funding have hard maximums in the program that even the admin can't exceed. The trading fee can never exceed 0.10%.
* **Profit checks.** Profit that can't be checked against an independent oracle settles before it can be withdrawn, and platform-wide profit withdrawals are rate-limited. Principal is never held or rate-limited.
* **Pausing.** Guardians can pause new trading in an emergency, and only the multisig can unpause. Closing positions and withdrawing deposits keep working while paused.
