Skip to content

Latest commit

 

History

History
112 lines (77 loc) · 5.21 KB

File metadata and controls

112 lines (77 loc) · 5.21 KB

Grainlify Stellar Contracts - Documentation Index

Welcome to the Grainlify Stellar Contracts documentation. This index provides a centralized entry point for all project documentation, organized by topic.

Architecture and Overview

Document Description
Architecture Smart contract architecture for escrow and program escrow contracts
Versions Contract versioning policy and compatibility matrix
Contributing Contribution guidelines and build artifact hygiene
Storage and TTL Model Soroban storage classes, TTL handling, archival risk, and extension guidance

Contracts

Bounty Escrow

Document Description
Bounty Escrow README Overview of the bounty escrow contract
Security Security model, threat analysis, and mitigations
Circuit Breaker Circuit breaker mechanism and retry-logic documentation
Implementation Checklist Implementation task tracking
Analytics Documentation Analytics views and query functions
Analytics Implementation Summary Analytics module implementation details
Incremental Aggregates Implementation Notes Historical implementation notes for O(1) aggregate counters
Feature Completion Report Feature delivery status report
Auto Refund Tests Auto-refund test documentation
CI Checks Summary CI pipeline checks overview

Program Escrow

Document Description
Program Escrow README Overview of the program escrow contract
Reentrancy Guard Reentrancy guard mechanism documentation
Analytics Events Event structures and analytics integration
Implementation Summary Query functions implementation summary

Core

Document Description
Event Schema Comprehensive event schema reference for all contracts
Event Versioning Event payload versioning rules and compatibility

Governance

Document Description
Governance Integration Governance integration across contracts

Queries and SDK

Document Description
Query Documentation Query function reference and usage
Query Quick Reference Quick reference for query functions
SDK README TypeScript SDK overview and usage
SDK API Reference Generated TypeDoc reference for SDK classes, methods, and exported types
SDK Error Mapping SDK error types and mapping
Issue #84 Invocation Notes Historical notes for real Soroban SDK invocation

Security

Document Description
Bounty Escrow Security Security model for the bounty escrow contract
Reentrancy Guard Reentrancy guard for program escrow
Circuit Breaker Circuit breaker safety mechanism

Testing and Delivery

Document Description
Admin Tests Summary Admin function test coverage summary
Implementation Summary Escrow history query implementation summary
Feature Delivery Summary Bounty escrow analytics feature delivery

Soroban

Document Description
Soroban README Soroban project structure and setup
Program Escrow Duplication Audit Audit of soroban/contracts/program-escrow vs the production program-escrow crate, including TTL-fix parity findings

Scripts

Document Description
Scripts README Build, deployment, and utility scripts
Deployment Runbook End-to-end deploy, verify, upgrade, rollback, registry, and mainnet safety procedures

Navigation Guide