Skip to content
New issue

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

created LivepeerAccount entity #21

Merged
merged 26 commits into from
May 31, 2022
Merged

created LivepeerAccount entity #21

merged 26 commits into from
May 31, 2022

Conversation

kautukkundan
Copy link
Contributor

Created LivepeerAccount entity abstraction that contains Delegator and Delegate details for any address that is bonded in the protocol.

closes #16

can be tested here for arbitrum-rinkeby
with the following query

{
  livepeerAccounts {
    id,
    delegator {
      id,
      startRound,
      bondedAmount,
    }
    delegate {
      id,
      activationRound,
      totalStake
    }
  }
}

Copy link
Collaborator

@adamsoffer adamsoffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🛳

@adamsoffer adamsoffer self-requested a review April 26, 2022 14:16
@0xcadams
Copy link
Member

This should be merged into the main branch, @kautukkundan @adamsoffer do we still need this?

@0xcadams 0xcadams self-requested a review May 31, 2022 16:38
@0xcadams 0xcadams merged commit 7bc9a2f into main May 31, 2022
@0xcadams 0xcadams deleted the kk/livepeer-account-entity branch May 31, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create LivepeerAccount entity abstraction
3 participants