Splice.ValidatorLicense

Templates

template ValidatorFaucetCoupon

Signatory: dso, validator

Field

Type

Description

dso

Party

validator

Party

round

Round

template ValidatorLicense

The existence of a validator license is what makes a validator an (onboarded) validator.

Signatory: dso

Field

Type

Description

validator

Party

The validator (party) that this license is about.

sponsor

Party

The SV node that sponsored the onboarding.

dso

Party

The party representing the operations of the decentralized synchronizer.

faucetState

Optional FaucetState

metadata

Optional ValidatorLicenseMetadata

lastActiveAt

Optional Time

Last time this validator was active. Tracked to get a view on the set of validator nodes that are up and running.

template ValidatorLivenessActivityRecord

Signatory: dso

Field

Type

Description

dso

Party

validator

Party

round

Round

Data Types

data FaucetState

FaucetState

Field

Type

Description

firstReceivedFor

Round

The first round for which a coupon was received.

lastReceivedFor

Round

The last round for which a coupon was received.

numCouponsMissed

Int

The number of rounds for which no coupon was received.

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

data ValidatorLicenseMetadata

ValidatorLicenseMetadata

Field

Type

Description

lastUpdatedAt

Time

The last time the validator metadata was updated

version

Text

The version the validator is currently on

contactPoint

Text

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

ContractId ValidatorLicense

couponCid

ContractId ValidatorFaucetCoupon

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

ContractId ValidatorLicense

couponCid

ContractId ValidatorLivenessActivityRecord

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

data ValidatorLicense_UpdateMetadataResult

data ValidatorLicense_WithdrawResult

data ValidatorLivenessActivityRecord_DsoExpireResult

Functions

metadataUpdateMinInterval

: RelTime

activityReportMinInterval

: RelTime

metadataUpdateAllowed

: Time -> Time -> Bool

activityReportAllowed

: Time -> Time -> Bool

validValidatorLicense

: ValidatorLicense -> Bool

maxIdentifierLength

: Int

validValidatorLicenseMetadata

: ValidatorLicenseMetadata -> Bool