Skip to content

OriginProtocol/origin-squid-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a07476f · Feb 22, 2025
Feb 22, 2025
Jun 21, 2024
Jul 5, 2024
Jan 22, 2025
Dec 1, 2024
Feb 22, 2025
Jan 24, 2025
Feb 11, 2025
Jun 21, 2024
Jun 21, 2024
Jun 21, 2024
Jun 21, 2024
Jul 9, 2024
Jun 21, 2024
Jul 10, 2024
Nov 28, 2024
Jan 22, 2025
Feb 13, 2025
Feb 22, 2025
Jun 21, 2024
Nov 28, 2024
Jun 21, 2024
Feb 5, 2025
Jan 24, 2025
Jun 21, 2024
Jun 21, 2024
Feb 13, 2025
Dec 2, 2024
Jun 21, 2024

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