OpenMiningRounds are always openened with the median of the amulet prices voted for by the SVs.
Templates
template AmuletPriceVote
A vote by an SV for their desired amulet price. Signatory: dso
- Choice Archive Controller: dso Returns: () (no fields)
Functions
fetchMedianAmuletPrice
: Party -> [Party] -> [ContractId AmuletPriceVote] -> Update Decimal
median
: [Decimal] -> DecimalSee https://en.wikipedia.org/wiki/Median