Module d_param

Source
Expand description

Supports D-Parameter upsert D-parameter is stored on chain in an UTXO at the D-parameter validator address. There should be at most one UTXO at the validator address and it should contain the D-parameter. This UTXO should have 1 token of the D-parameter policy with an empty asset name. The datum encodes D-parameter using VersionedGenericDatum envelope with the D-parameter being datum field being [num_permissioned_candidates, num_registered_candidates].

Functionsยง

get_d_param
Returns D-parameter.
upsert_d_param
This function upserts D-param. Arguments: