You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Entity diagram
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 store ValidatorNodeProvider addresses
Add test cases.
🎯 Definition of Done
Can successfully index the AuthorityFactory, Marketplace and ValidatorNodeProvider contract events.
The text was updated successfully, but these errors were encountered:
@tuler,
In the original PR, I saw the definition of the ReaderNodeProvider and ReaderNode entities. However, I could not see an ABI nor any reference to saving during the implementation in the main.ts when working with the block/log. Is that some initial idea forgotten to clean up, or is it missing?
📄 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.
Entity diagram
New contracts (ABI) and events of interest:
New Entities:
📈 Subtasks
Marketplace
to storeValidatorNodeProvider
addresses🎯 Definition of Done
AuthorityFactory
,Marketplace
andValidatorNodeProvider
contract events.The text was updated successfully, but these errors were encountered: