.. _module-splice-validatoronboarding-49132: Splice.ValidatorOnboarding ========================== Templates --------- .. _type-splice-validatoronboarding-usedsecret-49603: **template** `UsedSecret `_ Template used by a sponsoring SV node for enforcing that an onboarding secret is used only once\. Signatory\: sv .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - sv - `Party `_ - The SV node that sponsored the onboarding\. * - secret - `Text `_ - An onboarding secret\. * - validator - `Party `_ - The validator that onboarded using the secret\. + **Choice** Archive Controller\: sv Returns\: () (no fields) .. _type-splice-validatoronboarding-validatoronboarding-92198: **template** `ValidatorOnboarding `_ Template used by a sponsoring SV node to keep track of the onboarding of a validator candidate\. We use a secret for authenticating the candidate once he has set up his participant\. The secret should be unique, contain at least 256\-bits of entropy, and be communicated to the candidate via a secure off\-ledger channel\. Once the candidate has set up his participants, he contacts the SV node via an API call and presents his secret, which triggers the SV node to add him as a validator (as a separate on\-ledger action for reducing coupling with the DSO governance contracts)\. Signatory\: sv .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - sv - `Party `_ - The SV node sponsoring this onboarding\. * - candidateSecret - `Text `_ - The unique secret given to the candidate\. * - expiresAt - `Time `_ - Can be used by the SV for time\-bounding the offer\. + **Choice** Archive Controller\: sv Returns\: () (no fields) + .. _type-splice-validatoronboarding-validatoronboardingexpire-7877: **Choice** `ValidatorOnboarding_Expire `_ Controller\: sv Returns\: `ValidatorOnboarding_ExpireResult `_ (no fields) + .. _type-splice-validatoronboarding-validatoronboardingmatch-2118: **Choice** `ValidatorOnboarding_Match `_ Controller\: sv Returns\: `ValidatorOnboarding_MatchResult `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - providedSecret - `Text `_ - * - validator - `Party `_ - Data Types ---------- .. _type-splice-validatoronboarding-validatoronboardingexpireresult-28676: **data** `ValidatorOnboarding_ExpireResult `_ .. _constr-splice-validatoronboarding-validatoronboardingexpireresult-66123: `ValidatorOnboarding_ExpireResult `_ **instance** `HasExercise `_ `ValidatorOnboarding `_ `ValidatorOnboarding_Expire `_ `ValidatorOnboarding_ExpireResult `_ **instance** `HasFromAnyChoice `_ `ValidatorOnboarding `_ `ValidatorOnboarding_Expire `_ `ValidatorOnboarding_ExpireResult `_ **instance** `HasToAnyChoice `_ `ValidatorOnboarding `_ `ValidatorOnboarding_Expire `_ `ValidatorOnboarding_ExpireResult `_ .. _type-splice-validatoronboarding-validatoronboardingmatchresult-68567: **data** `ValidatorOnboarding_MatchResult `_ .. _constr-splice-validatoronboarding-validatoronboardingmatchresult-91618: `ValidatorOnboarding_MatchResult `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - usedSecret - `ContractId `_ `UsedSecret `_ - **instance** `GetField `_ \"usedSecret\" `ValidatorOnboarding_MatchResult `_ (`ContractId `_ `UsedSecret `_) **instance** `SetField `_ \"usedSecret\" `ValidatorOnboarding_MatchResult `_ (`ContractId `_ `UsedSecret `_) **instance** `HasExercise `_ `ValidatorOnboarding `_ `ValidatorOnboarding_Match `_ `ValidatorOnboarding_MatchResult `_ **instance** `HasFromAnyChoice `_ `ValidatorOnboarding `_ `ValidatorOnboarding_Match `_ `ValidatorOnboarding_MatchResult `_ **instance** `HasToAnyChoice `_ `ValidatorOnboarding `_ `ValidatorOnboarding_Match `_ `ValidatorOnboarding_MatchResult `_