-
Notifications
You must be signed in to change notification settings - Fork 164
🔐 PR 13: Institutional Custody & Escrow (223/239/246/250) #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
docs/PiRC-223-Institutional-Custody.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # PiRC-223: Multi-Signature Institutional Custody | ||
| Defines a secure vault for institutional participants requiring $M$ of $N$ signatures based on PiRC-209 verified DIDs. | ||
| --- | ||
| ## 3. Reference Smart Contracts | ||
| **Solidity**: `contracts/PiRC223InstitutionalCustody.sol` | ||
| **Soroban**: `contracts/soroban/src/custody.rs` | ||
|
|
||
| **Status**: Ready. |
21 changes: 21 additions & 0 deletions
docs/PiRC-239-Institutional-Liquidity-Pools.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # PiRC-239: Institutional Liquidity Pools | ||
|
|
||
| ## 1. Executive Summary | ||
| This standard defines permissioned liquidity pools designed specifically for wholesale capital and institutional actors. It strictly enforces PiRC-209 DID and PiRC-217 KYC requirements at the protocol level. | ||
|
|
||
| **Dependencies**: PiRC-209, PiRC-217, PiRC-231 | ||
| **Status**: Complete reference implementation | ||
|
|
||
| ## 2. Architecture | ||
| - Permissioned deposit and borrow functions | ||
| - Whitelist and blacklist management via DID | ||
| - Segregated liquidity for regulatory compliance | ||
|
|
||
| ## 3. Reference Smart Contracts | ||
| **Solidity**: `contracts/PiRC239InstitutionalPools.sol` | ||
| **Soroban**: `contracts/soroban/src/institutional_pools.rs` | ||
|
|
||
| ## 4. Implementation Roadmap | ||
| - Phase 1: DID/KYC gated access controls | ||
| - Phase 2: Institutional pool deployment | ||
| - Phase 3: Cross-chain wholesale routing |
21 changes: 21 additions & 0 deletions
docs/PiRC-246-Institutional-Escrow-Vaults.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # PiRC-246: Institutional Escrow Vaults | ||
|
|
||
| ## 1. Executive Summary | ||
| This standard defines secure, multi-signature institutional escrow vaults. It ensures that large-scale wholesale capital transfers are held in trust until predefined cryptographic conditions (e.g., PiRC-245 settlement batching or PiRC-214 Oracle triggers) are met. | ||
|
|
||
| **Dependencies**: PiRC-209, PiRC-228 | ||
| **Status**: Complete reference implementation | ||
|
|
||
| ## 2. Architecture | ||
| - Multi-signature approval mechanisms | ||
| - Time-locked and condition-locked escrow | ||
| - Integration with Justice Engine for dispute resolution | ||
|
|
||
| ## 3. Reference Smart Contracts | ||
| **Solidity**: `contracts/PiRC246EscrowVault.sol` | ||
| **Soroban**: `contracts/soroban/src/escrow_vault.rs` | ||
|
|
||
| ## 4. Implementation Roadmap | ||
| - Phase 1: Multi-sig and time-lock logic | ||
| - Phase 2: Oracle-based condition triggers | ||
| - Phase 3: Justice Engine dispute integration |
21 changes: 21 additions & 0 deletions
docs/PiRC-250-Institutional-Account-Abstraction.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # PiRC-250: Institutional Account Abstraction (Smart Accounts) | ||
|
|
||
| ## 1. Executive Summary | ||
| This standard implements Account Abstraction (ERC-4337 compatible) tailored for institutional users. It enables gasless transactions, multi-signature corporate hierarchies, and automated compliance hooks directly at the wallet level. | ||
|
|
||
| **Dependencies**: PiRC-209, PiRC-241 | ||
| **Status**: Complete reference implementation | ||
|
|
||
| ## 2. Architecture | ||
| - Smart contract wallets for institutions | ||
| - Paymaster integration for gas abstraction | ||
| - Corporate role-based access control (RBAC) | ||
|
|
||
| ## 3. Reference Smart Contracts | ||
| **Solidity**: `contracts/PiRC250SmartAccount.sol` | ||
| **Soroban**: `contracts/soroban/src/smart_account.rs` | ||
|
|
||
| ## 4. Implementation Roadmap | ||
| - Phase 1: Smart account deployment logic | ||
| - Phase 2: Paymaster and gasless transactions | ||
| - Phase 3: Corporate RBAC integration |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.