Skip to content

Commit

Permalink
Add pool_votes to specs and other Minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlrt committed Jul 30, 2024
1 parent 00ad5da commit fc586f1
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 50 deletions.
25 changes: 15 additions & 10 deletions specs/results/koiosapi-guild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep1s9qaseg7qyum807fcv0hdky9gv0c89tn98t4urjn5ewz57dml0r"
in: query
required: true
allowEmptyValue: false
Expand All @@ -2017,7 +2017,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep1s9qaseg7qyum807fcv0hdky9gv0c89tn98t4urjn5ewz57dml0r"
in: query
required: false
allowEmptyValue: true
Expand All @@ -2027,7 +2027,7 @@ components:
description: Committee hash in hexadecimal format (hex)
schema:
type: string
example: "##_committee_hash_param"
example: "65d497b875c56ab213586a4006d4f6658970573ea8e2398893857472"
in: query
required: false
allowEmptyValue: true
Expand Down Expand Up @@ -4976,7 +4976,7 @@ components:
deposit:
type:
- string
- null
- 'null'
description: DRep's registration deposit in lovelace
example: 500000000
active:
Expand All @@ -4986,7 +4986,7 @@ components:
expires_epoch_no:
type:
- number
- null
- 'null'
description: After which epoch DRep is considered inactive.
example: 410
amount:
Expand Down Expand Up @@ -5092,6 +5092,11 @@ components:
enum: ["Yes","No","Abstain"]
description: Actual Vote casted
example: "Yes"
pool_votes:
description: List of all votes casted by requested pool
type: array
items:
$ref: "#/components/schemas/drep_votes/items"
committee_votes:
description: List of all votes casted by requested delegated representative (DRep)
type: array
Expand Down Expand Up @@ -5126,31 +5131,31 @@ components:
ratified_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been ratified at the specfied epoch.
example: 670
enacted_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been enacted at the specfied epoch.
example: 675
dropped_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been dropped (expired/enacted) at the specfied epoch.
example: 680
expired_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been expired at the specfied epoch.
example: 680
expiration:
type:
- number
- null
- 'null'
description: Shows the epoch at which this governance action is expected to expire.
meta_url:
$ref: "#/components/schemas/drep_metadata/items/properties/url"
Expand Down
25 changes: 15 additions & 10 deletions specs/results/koiosapi-mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep17l6sywnwqu9aedd6aumev42w39ln5zfl9nw7j4ak6u8swyrwvz3"
in: query
required: true
allowEmptyValue: false
Expand All @@ -2017,7 +2017,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep17l6sywnwqu9aedd6aumev42w39ln5zfl9nw7j4ak6u8swyrwvz3"
in: query
required: false
allowEmptyValue: true
Expand All @@ -2027,7 +2027,7 @@ components:
description: Committee hash in hexadecimal format (hex)
schema:
type: string
example: "##_committee_hash_param"
example: "49fa008218cd619afe6aa8a1a93303f242440722b314f36bda2c2e23"
in: query
required: false
allowEmptyValue: true
Expand Down Expand Up @@ -4976,7 +4976,7 @@ components:
deposit:
type:
- string
- null
- 'null'
description: DRep's registration deposit in lovelace
example: 500000000
active:
Expand All @@ -4986,7 +4986,7 @@ components:
expires_epoch_no:
type:
- number
- null
- 'null'
description: After which epoch DRep is considered inactive.
example: 410
amount:
Expand Down Expand Up @@ -5092,6 +5092,11 @@ components:
enum: ["Yes","No","Abstain"]
description: Actual Vote casted
example: "Yes"
pool_votes:
description: List of all votes casted by requested pool
type: array
items:
$ref: "#/components/schemas/drep_votes/items"
committee_votes:
description: List of all votes casted by requested delegated representative (DRep)
type: array
Expand Down Expand Up @@ -5126,31 +5131,31 @@ components:
ratified_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been ratified at the specfied epoch.
example: 670
enacted_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been enacted at the specfied epoch.
example: 675
dropped_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been dropped (expired/enacted) at the specfied epoch.
example: 680
expired_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been expired at the specfied epoch.
example: 680
expiration:
type:
- number
- null
- 'null'
description: Shows the epoch at which this governance action is expected to expire.
meta_url:
$ref: "#/components/schemas/drep_metadata/items/properties/url"
Expand Down
25 changes: 15 additions & 10 deletions specs/results/koiosapi-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep1kxtwaqtayj6vklc57u93xayjvkwgvefh8drscqp5a5y6jz7m6rd"
in: query
required: true
allowEmptyValue: false
Expand All @@ -2017,7 +2017,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep1kxtwaqtayj6vklc57u93xayjvkwgvefh8drscqp5a5y6jz7m6rd"
in: query
required: false
allowEmptyValue: true
Expand All @@ -2027,7 +2027,7 @@ components:
description: Committee hash in hexadecimal format (hex)
schema:
type: string
example: "##_committee_hash_param"
example: "f8f56120e1ec00feb088ece39ef14f07339afeb37b4e949ff12b89ff"
in: query
required: false
allowEmptyValue: true
Expand Down Expand Up @@ -4976,7 +4976,7 @@ components:
deposit:
type:
- string
- null
- 'null'
description: DRep's registration deposit in lovelace
example: 500000000
active:
Expand All @@ -4986,7 +4986,7 @@ components:
expires_epoch_no:
type:
- number
- null
- 'null'
description: After which epoch DRep is considered inactive.
example: 410
amount:
Expand Down Expand Up @@ -5092,6 +5092,11 @@ components:
enum: ["Yes","No","Abstain"]
description: Actual Vote casted
example: "Yes"
pool_votes:
description: List of all votes casted by requested pool
type: array
items:
$ref: "#/components/schemas/drep_votes/items"
committee_votes:
description: List of all votes casted by requested delegated representative (DRep)
type: array
Expand Down Expand Up @@ -5126,31 +5131,31 @@ components:
ratified_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been ratified at the specfied epoch.
example: 670
enacted_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been enacted at the specfied epoch.
example: 675
dropped_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been dropped (expired/enacted) at the specfied epoch.
example: 680
expired_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been expired at the specfied epoch.
example: 680
expiration:
type:
- number
- null
- 'null'
description: Shows the epoch at which this governance action is expected to expire.
meta_url:
$ref: "#/components/schemas/drep_metadata/items/properties/url"
Expand Down
25 changes: 15 additions & 10 deletions specs/results/koiosapi-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep1l9y2naagv0vqvft9szdt5wf94fqnxn5hdsgusdl7rf6vq4djqck"
in: query
required: true
allowEmptyValue: false
Expand All @@ -2017,7 +2017,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "##_drep_id_param"
example: "drep1l9y2naagv0vqvft9szdt5wf94fqnxn5hdsgusdl7rf6vq4djqck"
in: query
required: false
allowEmptyValue: true
Expand All @@ -2027,7 +2027,7 @@ components:
description: Committee hash in hexadecimal format (hex)
schema:
type: string
example: "##_committee_hash_param"
example: "7ceede7d6a89e006408e6b7c6acb3dd094b3f6817e43b4a36d01535b"
in: query
required: false
allowEmptyValue: true
Expand Down Expand Up @@ -4976,7 +4976,7 @@ components:
deposit:
type:
- string
- null
- 'null'
description: DRep's registration deposit in lovelace
example: 500000000
active:
Expand All @@ -4986,7 +4986,7 @@ components:
expires_epoch_no:
type:
- number
- null
- 'null'
description: After which epoch DRep is considered inactive.
example: 410
amount:
Expand Down Expand Up @@ -5092,6 +5092,11 @@ components:
enum: ["Yes","No","Abstain"]
description: Actual Vote casted
example: "Yes"
pool_votes:
description: List of all votes casted by requested pool
type: array
items:
$ref: "#/components/schemas/drep_votes/items"
committee_votes:
description: List of all votes casted by requested delegated representative (DRep)
type: array
Expand Down Expand Up @@ -5126,31 +5131,31 @@ components:
ratified_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been ratified at the specfied epoch.
example: 670
enacted_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been enacted at the specfied epoch.
example: 675
dropped_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been dropped (expired/enacted) at the specfied epoch.
example: 680
expired_epoch:
type:
- number
- null
- 'null'
description: If not null, then this proposal has been expired at the specfied epoch.
example: 680
expiration:
type:
- number
- null
- 'null'
description: Shows the epoch at which this governance action is expected to expire.
meta_url:
$ref: "#/components/schemas/drep_metadata/items/properties/url"
Expand Down
Loading

0 comments on commit fc586f1

Please sign in to comment.