Security & Controls
PRISM financial logic must be deterministic, transparent, and enforceable on-chain.Access Control
PRISM separates privileged initialization from permissionless user flows. Admin authority controls:- Protocol initialization.
- Vault setup.
- Tranche setup.
- Emergency actions.
- Demo or fallback credit event triggers.
- Deposit.
- Withdraw.
- Trade.
- Read protocol state.
Pause Mechanism
The protocol may pause:- Deposits.
- Withdrawals.
- Trading.
- Accounting updates.
- Credit event resolution.
- Emergency reconciliation.
Determinism
All financial logic is:- Transparent.
- Reproducible.
- Enforced on-chain.
PDA Authorities
Program-derived addresses can control:- Vault reserves.
- Tranche mints.
- AMM reserves.
- LP mints.
Checked Math
Credit accounting must avoid silent overflow, underflow, or precision surprises. Core calculations should use:- Checked arithmetic.
- Fixed-point math.
- Explicit rounding.
- Reverts on impossible states.
Event Transparency
Every meaningful financial transition should be inspectable:- Deposits.
- Withdrawals.
- Yield accrual.
- Credit events.
- AMM swaps.
- Tranche NAV updates.
