Splice.Round
Templates
template ClosedMiningRound
A record that a specific mining round has been closed, which can be used to archive expired rewards.
Signatory: dso
Field
Type
Description
dso
round
issuancePerValidatorRewardCoupon
issuancePerFeaturedAppRewardCoupon
issuancePerUnfeaturedAppRewardCoupon
issuancePerSvRewardCoupon
optIssuancePerValidatorFaucetCoupon
Introduced in CIP-3
Choice Archive
Controller: dso
Returns: ()
(no fields)
template IssuingMiningRound
A mining round for whose rewards amulets are being issued.
Signatory: dso
Field
Type
Description
dso
round
issuancePerValidatorRewardCoupon
issuancePerFeaturedAppRewardCoupon
issuancePerUnfeaturedAppRewardCoupon
issuancePerSvRewardCoupon
opensAt
Time after which rewards from this mining round can be collected
targetClosesAt
Time when this round is expected to close during standard DSO. The round SHOULD NOT be archived before this time.
optIssuancePerValidatorFaucetCoupon
Introduced in CIP-3
Choice Archive
Controller: dso
Returns: ()
(no fields)
template OpenMiningRound
A mining round for which new rewards can be registered. Note that multiple mining rounds can be open at the same time to give some time for propagating a new open round, while still registering rewards against the previous open round.
Signatory: dso
Field
Type
Description
dso
round
amuletPrice
opensAt
Time after which transfers can use this mining round
targetClosesAt
Time when this round is expected to be closed as part of standard DSO. The round SHOULD NOT be archived before this time.
issuingFor
Timepoint on the issuance curve that was used to determing the issuance configuration for this round.
transferConfigUsd
Configuration determining the fees and limits in USD for Amulet transfers
issuanceConfig
Configuration for issuance of this round.
tickDuration
Duration of a tick, which is the duration of half a round.
Choice Archive
Controller: dso
Returns: ()
(no fields)
Choice OpenMiningRound_Fetch
Controller: p
Returns: OpenMiningRound
Field
Type
Description
p
template SummarizingMiningRound
A mining round for which the total sum of registered rewards is being computed. Rewards can no longer be registered aginst such a round.
Signatory: dso
Field
Type
Description
dso
round
amuletPrice
issuanceConfig
tickDuration
Choice Archive
Controller: dso
Returns: ()
(no fields)
Functions
- getIssuingMiningRoundIssuancePerValidatorFaucetCoupon
: IssuingMiningRound -> Decimal
Accessor with defaulting for the optional issuancePerValidatorFaucetCoupon field
- getClosedMiningRoundIssuancePerValidatorFaucetCoupon
: ClosedMiningRound -> Decimal
Accessor with defaulting for the optional issuancePerValidatorFaucetCoupon field