From afaf2ff84ed9294d03ba4b84607e822a32a9395c Mon Sep 17 00:00:00 2001 From: Samuel1505 Date: Mon, 27 Jul 2026 21:23:31 +0100 Subject: [PATCH] add vault comparison endpoint, portfolio yield, portfolio history, --- SECURITY.md | 1 - THREAT_MODEL.md | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 08e781b7..517a7ca5 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,7 +4,6 @@ This document supports **professional security audits** and internal review by s Formal notation uses standard math; `∀` denotes “for all,” `Σ` sum over all users/epochs where defined. ---- ## 1. Invariants diff --git a/THREAT_MODEL.md b/THREAT_MODEL.md index 182b4223..2e3b07da 100644 --- a/THREAT_MODEL.md +++ b/THREAT_MODEL.md @@ -4,7 +4,7 @@ This document complements **`SECURITY.md`** with entry-point analysis, **authori **Scope:** `soroban-contracts/contracts/single_rwa_vault`, `soroban-contracts/contracts/vault_factory`. ---- + ## 1. Entry-point analysis (summary) @@ -46,7 +46,6 @@ This document complements **`SECURITY.md`** with entry-point analysis, **authori | `get_*`, `is_*`, `*_paginated` | None | Reads. | | `transfer_admin`, `set_operator`, `set_defaults`, `set_vault_wasm_hash` | Admin | Configuration. | ---- ## 2. Authorization requirements matrix @@ -58,7 +57,6 @@ Legend: **A** = admin, **O** = operator, **U** = authenticated user (`require_au | **Role check** | KYC, not blacklisted | + state Active/Matured | + state | `require_admin` / `require_operator` | `require_operator_or_admin` | | **Pause** | Blocked | Blocked | Blocked | Varies | Varies | ---- ## 3. Data flow diagrams