Function public_credentials::mock::generate_base_credential_entry
source · pub fn generate_base_credential_entry<T: Config>(
payer: T::AccountId,
block_number: BlockNumberFor<T>,
attester: T::AttesterId,
ctype_hash: Option<CtypeHashOf<T>>,
deposit: Option<Deposit<T::AccountId, BalanceOf<T>>>
) -> CredentialEntryOf<T>
Expand description
Generates a basic credential entry using the provided input parameters and the default value for the other ones. The credential will be marked as non-revoked and with no authorization ID associated with it.