# saviganga/ajo-smart-contract architecture

> Architecture diagram of the GitHub repository saviganga/ajo-smart-contract, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/saviganga/ajo-smart-contract
- Repository: https://github.com/saviganga/ajo-smart-contract

## Overview

This repository describes a Solidity smart contract for the Nigerian Ajo/Esusu thrift-saving system. Its only documented internal capability is handling scheduled payout times using event emitters tied to group activation time. The README does not specify participant actions, contribution handling, payout execution, or other contract behavior, so those stages and interactions are omitted rather than inferred.

Main entry points: [`esusu.sol`](https://github.com/saviganga/ajo-smart-contract/blob/main/esusu.sol) (Ajo contract)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_ajo_contract["Ajo contract<br/>[esusu.sol]"]
node_activation_events["Activation events<br/>[esusu.sol]"]

node_ajo_contract -->|"uses for timing"| node_activation_events

click node_ajo_contract "https://github.com/saviganga/ajo-smart-contract/blob/main/esusu.sol"
click node_activation_events "https://github.com/saviganga/ajo-smart-contract/blob/main/esusu.sol"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ajo_contract,node_activation_events toneTeal
```

## Components

### Other components

- [Ajo contract](https://github.com/saviganga/ajo-smart-contract/blob/main/esusu.sol): `esusu.sol`
- [Activation events](https://github.com/saviganga/ajo-smart-contract/blob/main/esusu.sol): `esusu.sol`

## Connections

- Ajo contract → Activation events: uses for timing (evidence: `README.md`)
