This indexer is designed to track and manage fundraising activities for FTC (Funding the Commons) using Envio. It currently focuses on the splits contracts and will be expanded to include more features in the future.
-
Splits
- Tracks the creation and updates of splits
- Records distributions made through splits
-
Entities
Split
: Represents a split payment configurationSplitDistribution
: Records individual distributions made through a split
-
Whitelisted Tokens
- Will track the tokens accepted by the fundraiser contract
-
Donations
- Will record individual donations made to the fundraiser pool
To use this indexer:
- Ensure you have the Envio CLI installed
- Clone this repository
- (optional if you don't want to run in local mode) run
envio codegen
- Run
envio dev
to start indexing in development mode
The indexer is configured to track events on the Sepolia testnet (Chain ID: 11155111). It monitors the following contracts:
- SplitMain:
0x22E8ceF567DD10c35F35e03a1dbD25CDa03C4Ac2
- SplitFactory:
0x80f1B766817D04870f115fEBbcCADF8DBF75E017
The indexer currently handles the following events:
SplitCreated
SplitUpdated
SplitDistributed
For more details on Envio indexer features and usage, please refer to the Envio documentation website.