-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathcontract_issues_batch1.json
More file actions
12 lines (12 loc) · 6.05 KB
/
contract_issues_batch1.json
File metadata and controls
12 lines (12 loc) · 6.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
[
{
"title": "[Frontend/Contract] Implement Multi-Signature Wallet with Threshold Signing and Time-Locked Transactions",
"labels": "smart-contract,complexity:hard,multi-sig,security,eta-2-days",
"body": "## \ud83d\udccb Overview\n**Labels**: `smart-contract` `complexity: hard` `eta-2-days` `multi-signature` `security` \n**Contributor Persona**: Blockchain Architect (Requires expertise in Soroban smart contracts, cryptographic signatures, and access control patterns)\n\n## \ud83c\udfaf Problem Statement\nThe platform lacks a secure multi-signature wallet implementation for organizational treasury management. Users need threshold-based signing with time-locked transaction capabilities for enhanced security.\n\n## \ud83d\udccd Current State\n- Single-signature wallets only\n- No threshold signing mechanism\n- Missing time-lock functionality\n- No organizational treasury support\n\n## \u2728 Desired State\n- Multi-signature wallet with configurable threshold (M-of-N)\n- Time-locked transactions with configurable delay\n- Role-based access control for signers\n- Emergency pause and recovery mechanisms\n\n## \ud83d\udee0 Technical Requirements\n- Soroban smart contract development\n- Cryptographic signature verification\n- Time-lock mechanism using ledger sequences\n- Event emission for transaction lifecycle\n\n## \ud83d\udcdd Task Breakdown\n\n### Phase 1: Core Multi-Sig Logic (0.5 days)\n- [ ] Implement signer registration and management\n- [ ] Create threshold configuration (M-of-N)\n- [ ] Build signature collection mechanism\n- [ ] Add signature validation logic\n\n### Phase 2: Transaction Lifecycle (0.5 days)\n- [ ] Implement transaction proposal system\n- [ ] Create signature aggregation\n- [ ] Add threshold verification\n- [ ] Build transaction execution logic\n\n### Phase 3: Time-Lock Feature (0.5 days)\n- [ ] Implement configurable time-lock delay\n- [ ] Create time-lock expiration handling\n- [ ] Add early execution prevention\n- [ ] Build time-lock cancellation\n\n### Phase 4: Security & UX (0.5 days)\n- [ ] Add emergency pause functionality\n- [ ] Implement signer recovery mechanism\n- [ ] Create comprehensive event emissions\n- [ ] Add frontend integration hooks\n\n## \u2705 Acceptance Criteria\n- [ ] M-of-N threshold signing works correctly\n- [ ] Time-lock prevents execution before delay expires\n- [ ] All signers can be added/removed securely\n- [ ] Emergency pause stops all transactions\n- [ ] Events emitted for all state changes\n- [ ] Frontend can interact with all contract functions\n\n## \ud83d\udcc1 Files to Create\n- `contracts/src/multi_sig_wallet.rs`\n- `contracts/src/tests/multi_sig_wallet_tests.rs`\n- Frontend integration components\n\n## \ud83d\udcda Resources\n- [Soroban Smart Contract Documentation](https://soroban.stellar.org/docs/)\n- [Multi-Signature Best Practices](https://github.com/ethereum/EIPs/issues/2)\n- [Time-Lock Patterns](https://blog.openzeppelin.com/timelocks/)\n\n## \ud83c\udfaf Success Metrics\n- Signature verification <100ms\n- Support for up to 10 signers\n- Zero security vulnerabilities\n- Time-lock accuracy 100%"
},
{
"title": "[Frontend/Contract] Build Decentralized Token Vesting Schedule with Cliff and Milestone-Based Release",
"labels": "smart-contract,complexity:hard,token-vesting,defi,eta-2-days",
"body": "## \ud83d\udccb Overview\n**Labels**: `smart-contract` `complexity: hard` `eta-2-days` `token-vesting` `DeFi` \n**Contributor Persona**: Blockchain Developer (Requires expertise in token contracts, vesting schedules, and Soroban token wrapper)\n\n## \ud83c\udfaf Problem Statement\nToken distribution lacks automated vesting mechanisms. Projects cannot implement cliff periods, milestone-based releases, or gradual token unlocking for team members and investors.\n\n## \ud83d\udccd Current State\n- Manual token distribution only\n- No automated vesting schedules\n- Missing cliff period support\n- No milestone-based release triggers\n\n## \u2728 Desired State\n- Automated vesting with configurable schedules\n- Cliff period before any tokens unlock\n- Linear or milestone-based release mechanisms\n- Frontend dashboard for vesting tracking\n\n## \ud83d\udee0 Technical Requirements\n- Soroban token contract integration\n- Time-based release logic\n- Milestone verification system\n- Claim mechanism with partial withdrawals\n\n## \ud83d\udcdd Task Breakdown\n\n### Phase 1: Vesting Schedule Creation (0.5 days)\n- [ ] Implement vesting schedule initialization\n- [ ] Add cliff period configuration\n- [ ] Create total vesting duration setting\n- [ ] Build beneficiary assignment\n\n### Phase 2: Release Logic (0.5 days)\n- [ ] Implement linear vesting calculation\n- [ ] Add milestone-based release triggers\n- [ ] Create vested amount computation\n- [ ] Build claimable amount tracking\n\n### Phase 3: Token Distribution (0.5 days)\n- [ ] Implement token claim function\n- [ ] Add partial claim support\n- [ ] Create automatic balance updates\n- [ ] Build claim history tracking\n\n### Phase 4: Frontend Integration (0.5 days)\n- [ ] Create vesting dashboard component\n- [ ] Add real-time vesting progress visualization\n- [ ] Implement claim button with status\n- [ ] Build vesting schedule timeline UI\n\n## \u2705 Acceptance Criteria\n- [ ] Cliff period prevents claims before expiration\n- [ ] Linear vesting calculates correct amounts\n- [ ] Milestone releases trigger correctly\n- [ ] Partial claims work without errors\n- [ ] Frontend displays accurate vesting progress\n- [ ] All token transfers emit proper events\n\n## \ud83d\udcc1 Files to Create\n- `contracts/src/token_vesting.rs`\n- `contracts/src/tests/vesting_tests.rs`\n- `frontend/src/components/vesting/VestingDashboard.tsx`\n\n## \ufffd\ufffd Resources\n- [Soroban Token Contract](https://soroban.stellar.org/docs/token/)\n- [Vesting Schedule Patterns](https://www.vestingcontract.com/)\n- [Token Distribution Best Practices](https://coinmarketcap.com/alexandria/article/what-is-token-vesting)\n\n## \ud83c\udfaf Success Metrics\n- Vesting calculation accuracy 100%\n- Claim processing <2 seconds\n- Support for 1000+ beneficiaries\n- Zero token loss incidents"
}
]