-
Notifications
You must be signed in to change notification settings - Fork 4
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
Andrew7234/validator staking api #732
Conversation
f6c69cc
to
d0860ec
Compare
api/spec/v1.yaml
Outdated
format: uint64 | ||
description: The number of accounts that have delegated token to this account. | ||
|
||
EscrowHistory: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was also considering naming this ValidatorHistory
and ValidatorHistoryPoint
below; open to suggestions
@@ -1933,6 +1970,61 @@ components: | |||
self_delegation_shares: | |||
allOf: [$ref: '#/components/schemas/TextBigInt'] | |||
description: The shares of tokens this validator has delegated to itself, and are NOT in the process of debonding. | |||
active_balance_24: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This attempts to find the balance 24 epochs ago, which isn't exactly 24 hours but it's accurate enough. Also open to field name suggestions here.
db66469
to
8edbb44
Compare
aefcf26
to
2ff8c9f
Compare
7ebcc32
to
27cc423
Compare
changelog update eden e2e tests rename to validatorHistory
b94e2a3
to
00f7267
Compare
api: Add %24hr escrow change for validators
Adds the corresponding api for #728.
Also cleans up some inconsistencies in the spec.