Skip to content

Commit

Permalink
Updated the schema for the response of proposal voting summary endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
hodlonaut committed Jan 3, 2025
1 parent 6bb0813 commit 867de55
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions specs/templates/4-api-schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2713,9 +2713,13 @@ schemas:
type: number
description: Number of 'yes' votes casted by dreps
example: 7
drep_active_yes_vote_power:
type: number
description: Power of 'yes' votes that were explicitly cast
example: 31231231231
drep_yes_vote_power:
type: number
description: Power of 'yes' votes from dreps
description: Power of 'yes' votes from dreps (includes explicit yes and inferred via other means)
example: 31146839512742
drep_yes_pct:
type: number
Expand All @@ -2725,9 +2729,13 @@ schemas:
type: number
description: Number of 'no' votes casted by dreps
example: 0
drep_active_no_vote_power:
type: number
description: Power of 'no' votes that were explicitly cast
example: 2012312393392
drep_no_vote_power:
type: number
description: Power of 'no' votes from dreps
description: Power of 'no' votes from dreps (includes explicit no and inferred via other means)
example: 20148194577715
drep_no_pct:
type: number
Expand All @@ -2737,17 +2745,29 @@ schemas:
type: number
description: Number of active 'abstain' votes from dreps
example: 5
drep_active_abstain_vote_power:
type: number
description: Power of 'abstain' votes that were explicitly cast
example: 123321123321
drep_always_no_confidence_vote_power:
type: number
description: Power of votes delegated to 'always_no_confidence' predefined drep
example: 9999
drep_always_abstain_vote_power:
type: number
description: Power of votes delegated to 'always_abstain' predefined drep
example: 87654321
pool_yes_votes_cast:
type: number
description: Number of 'yes' votes casted by pools
example: 1
pool_active_yes_vote_power:
type: number
description: Power of 'yes' pool votes that were explicitly cast
example: 123123123
pool_yes_vote_power:
type: number
description: Power of 'yes' votes from pools
description: Power of 'yes' votes from pools (includes explicit yes and inferred via other means)
example: 5234000000
pool_yes_pct:
type: number
Expand All @@ -2757,9 +2777,12 @@ schemas:
type: number
description: Number of 'no' votes casted by pools
example: 0
pool_active_no_vote_power:
type: number
description: Power of 'no' pool votes that were explicitly cast
pool_no_vote_power:
type: number
description: Power of 'no' votes from pools
description: Power of 'no' votes from pools (includes explicit no and inferred via other means)
example: 0
pool_no_pct:
type: number
Expand All @@ -2769,6 +2792,10 @@ schemas:
type: number
description: Percentage of 'abstain' votes from pools
example: 0
pool_active_abstain_vote_power:
type: number
description: Power of 'abstain' pool votes that were explicitly cast
example: 12312312312
pool_passive_always_abstain_votes_assigned:
type: number
description: Number of non-voting SPO pool reward addresses delegating to 'always_abstain' drep
Expand Down

0 comments on commit 867de55

Please sign in to comment.