Welcome to the Ahjoor contract documentation directory. Below is a structured index of all documentation files, categorized by topic and smart contract module.
- Contract Error Codes — Consolidated reference of every numeric
#[contracterror]code exposed across all Ahjoor smart contracts. - ROSCA Contract Migration Guide — Step-by-step guide for upgrading and migrating active ROSCA contract deployments.
- State Archival Troubleshooting — Guide for checking archived status, restoring dormant contracts via Stellar CLI, and managing storage TTL.
- Cosigner Guarantee in ROSCA — Overview of co-signer nomination, acceptance, and default coverage logic for community savings groups.
- Contribution Delegation in ROSCA — Overview of contribution and voting weight delegation, proxy execution, limits, and revocation.
- Co-Payer Contribution Splitting in ROSCA — How co-payers are registered for a member's slot, how the split ratio is set and enforced, and what happens if a co-payer fails to contribute.
- Escrow Dispute Flow — Multi-step escrow dispute lifecycle, arbiter assignment, timeout enforcement, default winner rules, and resolution cooling-off periods.
- Inspector Role and Scoring System — How an inspector is assigned to an escrow, their responsibilities and powers over the inspection gate, and how their accuracy score is calculated, updated on rulings and appeals, and enforced as a threshold for high-value escrows.
- Payments Authorization and Capture Flow — Two-step payment authorization and capture lifecycle, buyer trust tiers, and merchant collateral rules.
- Merchant KYB Verification — KYB verification flow, payment creation gating, on-chain status checks, renewal and revocation.
- DAO Mediation for Disputed Payments — On-chain DAO voting and resolution process for disputed merchant payments.
- Multi-Token Invoice — Guide to multi-token invoicing, oracle-based price feeds, slippage tolerance, and cross-token settlement.
- Refund Contract Guide — Refund request, approval, and claim workflows, senior arbiter escalation, and customer abuse score tracking.