Skip to main content

parse_drep

Function parse_drep 

Source
pub fn parse_drep(id: &str) -> Result<DRep>
Expand description

A vote delegation: ALWAYS_ABSTAIN, ALWAYS_NO_CONFIDENCE, or a DRep’s ID. IDs are read in CIP-129 form (drep1… with a header byte, as Koios gives them) and CIP-105’s (drep1… for a key, drep_script1…).