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: