Splice.ValidatorLicense
Templates
template ValidatorFaucetCoupon
Signatory: dso, validator
Field
Type
Description
dso
validator
round
Choice Archive
Controller: dso, validator
Returns: ()
(no fields)
Choice ValidatorFaucetCoupon_DsoExpire
Controller: dso
Returns: ValidatorFaucetCoupon_DsoExpireResult
Field
Type
Description
closedRoundCid
template ValidatorLicense
The existence of a validator license is what makes a validator an (onboarded) validator.
Signatory: dso
Field
Type
Description
validator
The validator (party) that this license is about.
sponsor
The SV node that sponsored the onboarding.
dso
The party representing the operations of the decentralized synchronizer.
faucetState
metadata
lastActiveAt
Last time this validator was active. Tracked to get a view on the set of validator nodes that are up and running.
Choice Archive
Controller: dso
Returns: ()
(no fields)
Choice ValidatorLicense_Cancel
Controller: validator
Returns: ValidatorLicense_CancelResult
Field
Type
Description
reason
Choice ValidatorLicense_ReceiveFaucetCoupon
Controller: validator
Returns: ValidatorLicense_ReceiveFaucetCouponResult
Field
Type
Description
openRoundCid
Choice ValidatorLicense_RecordValidatorLivenessActivity
Controller: validator
Returns: ValidatorLicense_RecordValidatorLivenessActivityResult
Field
Type
Description
openRoundCid
Choice ValidatorLicense_ReportActive
Choice for validators with disabled wallets to report themselves as active. Validators that receive amulets will report through ReceiveFaucetCoupon.
Controller: validator
Returns: ValidatorLicense_ReportActiveResult
(no fields)
Choice ValidatorLicense_UpdateMetadata
Controller: validator
Returns: ValidatorLicense_UpdateMetadataResult
Field
Type
Description
version
contactPoint
Choice ValidatorLicense_Withdraw
Controller: dso
Returns: ValidatorLicense_WithdrawResult
Field
Type
Description
reason
template ValidatorLivenessActivityRecord
Signatory: dso
Field
Type
Description
dso
validator
round
Choice Archive
Controller: dso
Returns: ()
(no fields)
Choice ValidatorLivenessActivityRecord_DsoExpire
Controller: dso
Returns: ValidatorLivenessActivityRecord_DsoExpireResult
Field
Type
Description
closedRoundCid
Data Types
data FaucetState
instance Eq FaucetState
instance Show FaucetState
instance GetField "faucetState" ValidatorLicense (Optional FaucetState)
instance GetField "firstReceivedFor" FaucetState Round
instance GetField "lastReceivedFor" FaucetState Round
instance GetField "numCouponsMissed" FaucetState Int
instance SetField "faucetState" ValidatorLicense (Optional FaucetState)
instance SetField "firstReceivedFor" FaucetState Round
instance SetField "lastReceivedFor" FaucetState Round
instance SetField "numCouponsMissed" FaucetState Int
data ValidatorFaucetCoupon_DsoExpireResult
ValidatorFaucetCoupon_DsoExpireResult
instance HasExercise ValidatorFaucetCoupon ValidatorFaucetCoupon_DsoExpire ValidatorFaucetCoupon_DsoExpireResult
instance HasFromAnyChoice ValidatorFaucetCoupon ValidatorFaucetCoupon_DsoExpire ValidatorFaucetCoupon_DsoExpireResult
instance HasToAnyChoice ValidatorFaucetCoupon ValidatorFaucetCoupon_DsoExpire ValidatorFaucetCoupon_DsoExpireResult
Field
Type
Description
lastUpdatedAt
The last time the validator metadata was updated
version
The version the validator is currently on
contactPoint
A contact point that can be used to reach the operator of the validator in case there are issues with the validator. This can be an email address or a slack user name.
instance Eq ValidatorLicenseMetadata
instance Show ValidatorLicenseMetadata
instance GetField "contactPoint" ValidatorLicenseMetadata Text
instance GetField "lastUpdatedAt" ValidatorLicenseMetadata Time
instance GetField "metadata" ValidatorLicense (Optional ValidatorLicenseMetadata)
instance GetField "version" ValidatorLicenseMetadata Text
instance SetField "contactPoint" ValidatorLicenseMetadata Text
instance SetField "lastUpdatedAt" ValidatorLicenseMetadata Time
instance SetField "metadata" ValidatorLicense (Optional ValidatorLicenseMetadata)
instance SetField "version" ValidatorLicenseMetadata Text
data ValidatorLicense_CancelResult
data ValidatorLicense_ReceiveFaucetCouponResult
ValidatorLicense_ReceiveFaucetCouponResult
Field
Type
Description
licenseCid
couponCid
instance GetField "couponCid" ValidatorLicense_ReceiveFaucetCouponResult (ContractId ValidatorFaucetCoupon)
instance GetField "licenseCid" ValidatorLicense_ReceiveFaucetCouponResult (ContractId ValidatorLicense)
instance SetField "couponCid" ValidatorLicense_ReceiveFaucetCouponResult (ContractId ValidatorFaucetCoupon)
instance SetField "licenseCid" ValidatorLicense_ReceiveFaucetCouponResult (ContractId ValidatorLicense)
instance HasExercise ValidatorLicense ValidatorLicense_ReceiveFaucetCoupon ValidatorLicense_ReceiveFaucetCouponResult
instance HasFromAnyChoice ValidatorLicense ValidatorLicense_ReceiveFaucetCoupon ValidatorLicense_ReceiveFaucetCouponResult
instance HasToAnyChoice ValidatorLicense ValidatorLicense_ReceiveFaucetCoupon ValidatorLicense_ReceiveFaucetCouponResult
data ValidatorLicense_RecordValidatorLivenessActivityResult
ValidatorLicense_RecordValidatorLivenessActivityResult
Field
Type
Description
licenseCid
couponCid
instance GetField "couponCid" ValidatorLicense_RecordValidatorLivenessActivityResult (ContractId ValidatorLivenessActivityRecord)
instance GetField "licenseCid" ValidatorLicense_RecordValidatorLivenessActivityResult (ContractId ValidatorLicense)
instance SetField "couponCid" ValidatorLicense_RecordValidatorLivenessActivityResult (ContractId ValidatorLivenessActivityRecord)
instance SetField "licenseCid" ValidatorLicense_RecordValidatorLivenessActivityResult (ContractId ValidatorLicense)
instance HasExercise ValidatorLicense ValidatorLicense_RecordValidatorLivenessActivity ValidatorLicense_RecordValidatorLivenessActivityResult
instance HasFromAnyChoice ValidatorLicense ValidatorLicense_RecordValidatorLivenessActivity ValidatorLicense_RecordValidatorLivenessActivityResult
instance HasToAnyChoice ValidatorLicense ValidatorLicense_RecordValidatorLivenessActivity ValidatorLicense_RecordValidatorLivenessActivityResult
data ValidatorLicense_ReportActiveResult
ValidatorLicense_ReportActiveResult
Field
Type
Description
licenseCid
instance GetField "licenseCid" ValidatorLicense_ReportActiveResult (ContractId ValidatorLicense)
instance SetField "licenseCid" ValidatorLicense_ReportActiveResult (ContractId ValidatorLicense)
instance HasExercise ValidatorLicense ValidatorLicense_ReportActive ValidatorLicense_ReportActiveResult
instance HasFromAnyChoice ValidatorLicense ValidatorLicense_ReportActive ValidatorLicense_ReportActiveResult
instance HasToAnyChoice ValidatorLicense ValidatorLicense_ReportActive ValidatorLicense_ReportActiveResult
data ValidatorLicense_UpdateMetadataResult
ValidatorLicense_UpdateMetadataResult
Field
Type
Description
licenseCid
instance GetField "licenseCid" ValidatorLicense_UpdateMetadataResult (ContractId ValidatorLicense)
instance SetField "licenseCid" ValidatorLicense_UpdateMetadataResult (ContractId ValidatorLicense)
instance HasExercise ValidatorLicense ValidatorLicense_UpdateMetadata ValidatorLicense_UpdateMetadataResult
instance HasFromAnyChoice ValidatorLicense ValidatorLicense_UpdateMetadata ValidatorLicense_UpdateMetadataResult
instance HasToAnyChoice ValidatorLicense ValidatorLicense_UpdateMetadata ValidatorLicense_UpdateMetadataResult
data ValidatorLicense_WithdrawResult
ValidatorLicense_WithdrawResult
instance HasExercise ValidatorLicense ValidatorLicense_Withdraw ValidatorLicense_WithdrawResult
instance HasFromAnyChoice ValidatorLicense ValidatorLicense_Withdraw ValidatorLicense_WithdrawResult
instance HasToAnyChoice ValidatorLicense ValidatorLicense_Withdraw ValidatorLicense_WithdrawResult
data ValidatorLivenessActivityRecord_DsoExpireResult
ValidatorLivenessActivityRecord_DsoExpireResult
instance HasExercise ValidatorLivenessActivityRecord ValidatorLivenessActivityRecord_DsoExpire ValidatorLivenessActivityRecord_DsoExpireResult
instance HasFromAnyChoice ValidatorLivenessActivityRecord ValidatorLivenessActivityRecord_DsoExpire ValidatorLivenessActivityRecord_DsoExpireResult
instance HasToAnyChoice ValidatorLivenessActivityRecord ValidatorLivenessActivityRecord_DsoExpire ValidatorLivenessActivityRecord_DsoExpireResult