-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Type: FeatureAdd a new feature to the systemAdd a new feature to the system
Description
📄 Context
An original PR on Sunodo has an implementation for indexing new provider contracts. However, we have a lot of commonalities, and the API could index such contracts.
✔️ Solution
Add the implementation of said contracts for indexing (use original PR as a reference). Also, consider the entity diagram below for implementation.
New contracts (ABI) and events of interest:
- AuthorityFactory
- AuthorityCreated (topic)
- ValidatorNodeProvider
- MachineLocation (topic)
- FinancialRunway (topic)
- Paused (topic)
- Unpaused (topic)
- Marketplace
- ValidatorNodeProviderCreated (topic)
New Entities:
- Authority
- ValidatorNodeProvider
- ValidatorNode
📈 Subtasks
- Add new contract ABIs.
- Add new Entities to graphQL schema.
- Generate new migrations.
- Add new handlers for topics of interest.
- Add preloaders for
Marketplace
to storeValidatorNodeProvider
addresses - Add test cases.
🎯 Definition of Done
- Can successfully index the
AuthorityFactory
,Marketplace
andValidatorNodeProvider
contract events.
Metadata
Metadata
Assignees
Labels
Type: FeatureAdd a new feature to the systemAdd a new feature to the system
Type
Projects
Status
✋ On-Hold