Skip to content

Migrate core data fetching from RPCs to The Graph subgraph #327

@ECWireless

Description

@ECWireless

Things to Try to Include in Current Subgraph

api/l1delegator/[address].tsx

  • bondingManagerAddress
  • roundsManagerAddress
  • currentRound
  • pendingStake
  • pendingFees
  • delegator
  • lock
  • transcoderStatus

EDIT: DON'T WORRY ABOUT THIS AS IT PERTAINS TO MAINNET

pages/migrate/broadcaster.tsx

  • submissionPrice
  • getMigrateSenderParams

EDIT: DON'T WORRY ABOUT THIS AS IT THESE PAGES ARE PLANNED TO BE REMOVED

pages/migrate/orchestrator.tsx

  • getMigrateDelegatorParams

EDIT: DON'T WORRY ABOUT THIS AS IT THESE PAGES ARE PLANNED TO BE REMOVED

lib/api/contracts.ts

  • getContract -> may be worth adding something like a protocol AddressBook schema to the subgraph

api/current-round.tsx

api/pending-stake.tsx

api/treasury/proposal/[proposalId]/state.tsx

  • clock -> What does this number refer to?
  • proposalSnapshot -> What does this number refer to?
  • getPastTotalSupply -> What does this number refer to?
  • proposalVotes -> part of feat(treasury): index governor votes and tallies subgraph#175
  • state -> What does this number refer to?
  • quorum -> Unsure where to get this
  • quota -> Unsure where to get this

api/treasury/proposal/[proposalId]/votes.tsx

api/treasury/votes/[address].tsx

api/treasury/votes/[address]/registered.tsx


Also resolve this security issue: https://github.com/livepeer/explorer/security/advisories/GHSA-34gq-95m4-v244

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions