We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There should be a single wasm module which contains multiple functions, 1 per event. The fn name may follow the pattern index_<event_name>.
index_<event_name>
E.g.
#[indexer(manifest = "<path/to/file/multisig.manifest.yaml>")] mod multisig_index { fn index_cancel_event(event: CancelEvent, block: BlockData) { ... } fn index_execute_event(event: ExecutedEvent, block: BlockData) { ... } // more events below }
Each type in graphql should have a required field.
Certain event fields would benefit from the @indexed directive.
@indexed
CancelEvent
ExecutedEvent
SetWeightEvent
TransferEvent
From the BlockData we should retrieve the block height and add it to each event so that we have a measure of time for when the event took place.
BlockData
The text was updated successfully, but these errors were encountered:
Closing in favor of #605
Sorry, something went wrong.
No branches or pull requests
Indexer Guideline
There should be a single wasm module which contains multiple functions, 1 per event. The fn name may follow the pattern
index_<event_name>
.E.g.
Each type in graphql should have a required field.
Certain event fields would benefit from the
@indexed
directive.CancelEvent
ExecutedEvent
SetWeightEvent
TransferEvent
From the
BlockData
we should retrieve the block height and add it to each event so that we have a measure of time for when the event took place.The text was updated successfully, but these errors were encountered: