Skip to content

Commit 152a149

Browse files
committed
🏦 PR 12: Treasury Diversification & Grants (220/252/253)
1 parent c50d516 commit 152a149

3 files changed

Lines changed: 70 additions & 0 deletions
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# PiRC-220: Ecosystem Treasury & Fund Management Protocol
2+
3+
## 1. Executive Summary
4+
5+
This standard defines a decentralized treasury and fund management protocol for the PiRC ecosystem, enabling transparent allocation, community voting, and automated execution of ecosystem funds while maintaining Economic Parity.
6+
7+
**Dependencies**: PiRC-212, PiRC-207
8+
**Status**: Complete reference implementation
9+
10+
## 2. Architecture
11+
12+
- Multi-signature treasury contracts
13+
- Community proposal-based funding
14+
- Automated disbursement based on governance votes
15+
- Transparent on-chain accounting
16+
17+
## 3. Reference Smart Contracts
18+
19+
**Solidity**: `contracts/PiRC220Treasury.sol`
20+
**Soroban**: `contracts/soroban/src/treasury.rs`
21+
22+
## 4. Implementation Roadmap
23+
24+
- Phase 1 (Q2 2026): Core treasury management
25+
- Phase 2 (Q3 2026): Governance integration
26+
- Phase 3 (Q4 2026): Automated fund disbursement
27+
28+
**Status**: Ready for Testnet deployment.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# PiRC-252: Automated Treasury Diversification
2+
3+
## 1. Executive Summary
4+
This standard establishes algorithms for automated treasury diversification. It ensures the Pi Network treasury maintains a balanced portfolio of native tokens, stable credits ($REF), and synthetic RWAs to mitigate systemic risk.
5+
6+
**Dependencies**: PiRC-220, PiRC-234
7+
**Status**: Complete reference implementation
8+
9+
## 2. Architecture
10+
- Target portfolio allocation thresholds
11+
- Automated TWAP swaps for diversification
12+
- Slippage protection and oracle validation
13+
14+
## 3. Reference Smart Contracts
15+
**Solidity**: `contracts/PiRC252TreasuryDiversification.sol`
16+
**Soroban**: `contracts/soroban/src/treasury_diversification.rs`
17+
18+
## 4. Implementation Roadmap
19+
- Phase 1: Portfolio allocation thresholds
20+
- Phase 2: Automated TWAP execution
21+
- Phase 3: AI-driven allocation adjustments
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# PiRC-253: Ecosystem Grant Distribution Algorithms
2+
3+
## 1. Executive Summary
4+
This standard formalizes the distribution of ecosystem grants. It replaces manual payouts with algorithmic, milestone-based vesting schedules tied to on-chain KPIs (e.g., TVL, active users, or code commits).
5+
6+
**Dependencies**: PiRC-212, PiRC-220
7+
**Status**: Complete reference implementation
8+
9+
## 2. Architecture
10+
- Milestone-based vesting contracts
11+
- KPI oracle integration for automated unlocks
12+
- Clawback mechanisms for failed deliverables
13+
14+
## 3. Reference Smart Contracts
15+
**Solidity**: `contracts/PiRC253GrantDistribution.sol`
16+
**Soroban**: `contracts/soroban/src/grant_distribution.rs`
17+
18+
## 4. Implementation Roadmap
19+
- Phase 1: Time-based vesting schedules
20+
- Phase 2: KPI-driven automated unlocks
21+
- Phase 3: Decentralized milestone verification

0 commit comments

Comments
 (0)