Skip to content

OriginProtocol/origin-squid-notifications

Repository files navigation

Origin Subsquid - Notifications

This squid is strictly for creating notifications which will feed into Discord or wherever else we need.

Composition

This squid is deployed to subsquid cloud. It contains:

  • 1 Processor
    • The processor triggers the notifications.
  • 1 Database
    • The database is hardly used and should rarely if not ever be updated.

Note

Alerts which are based on metric thresholds should likely be created in Grafana using data from origin-squid.

Ideal notifications for this project:

  • Governance Proposal Activity
  • Mints & Burns
  • Buyback swaps
  • Strategist updates
  • Strategy deposits/withdrawals
  • Events
  • Trace activity

Frequent Commands

Start processing from the latest block

npm run process

Start processing from block number 123456

BLOCK_FROM=123456 npm run process

Resume processing from where you last stopped

npm run resume

Generate ABIs

npm run generate-abis

Generate Digest

npm run digest

Deploy

Note

We want to do update deploys to prevent gaps in processing.

sqd deploy . --update

neo-ai.png

Releases

No releases published

Packages

No packages published