package validation

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class ConfirmationResponseFactory extends NamedLogging
  2. trait InputAndUpdatedKeys extends PrettyPrinting
  3. final case class InputAndUpdatedKeysV2(keyResolvers: Map[ViewHash, LfKeyResolver], uckFreeKeysOfHostedMaintainers: Set[LfGlobalKey], uckUpdatedKeysOfHostedMaintainers: Map[LfGlobalKey, Status]) extends InputAndUpdatedKeys with HasLoggerName with Product with Serializable

    keyResolvers

    The key resolvers for the root views with the given hashes

  4. final case class InputAndUpdatedKeysV3(uckFreeKeysOfHostedMaintainers: Set[LfGlobalKey], uckUpdatedKeysOfHostedMaintainers: Map[LfGlobalKey, Status]) extends InputAndUpdatedKeys with Product with Serializable
  5. class InternalConsistencyChecker extends NamedLogging
  6. class ModelConformanceChecker extends NamedLogging

    Allows for checking model conformance of a list of transaction view trees.

    Allows for checking model conformance of a list of transaction view trees. If successful, outputs the received transaction as LfVersionedTransaction along with TransactionMetadata.

  7. final case class PendingTransaction(txId: TransactionId, locallyRejected: Boolean, freshOwnTimelyTx: Boolean, modelConformanceResultE: Either[ErrorWithSubTransaction, Result], internalConsistencyResultE: Either[ErrorWithInternalConsistencyCheck, Unit], workflowIdO: Option[WorkflowId], requestTime: CantonTimestamp, requestCounter: RequestCounter, requestSequencerCounter: SequencerCounter, transactionValidationResult: TransactionValidationResult, mediator: MediatorRef) extends PendingRequestData with Product with Serializable

    Storing metadata of pending transactions required for emitting transactions on the sync API.

  8. class RecipientsValidator[I] extends NamedLogging
  9. final case class TransactionValidationResult(transactionId: TransactionId, confirmationPolicy: ConfirmationPolicy, submitterMetadataO: Option[SubmitterMetadata], workflowIdO: Option[WorkflowId], contractConsistencyResultE: Either[List[ReferenceToFutureContractError], Unit], authenticationResult: Map[ViewPosition, String], authorizationResult: Map[ViewPosition, String], modelConformanceResultE: Either[ErrorWithSubTransaction, Result], internalConsistencyResultE: Either[ErrorWithInternalConsistencyCheck, Unit], consumedInputsOfHostedParties: Map[LfContractId, WithContractHash[Set[LfPartyId]]], witnessedAndDivulged: Map[LfContractId, SerializableContract], createdContracts: Map[LfContractId, SerializableContract], transient: Map[LfContractId, WithContractHash[Set[LfPartyId]]], keyUpdates: Map[LfGlobalKey, Status], successfulActivenessCheck: Boolean, viewValidationResults: Map[ViewPosition, ViewValidationResult], timeValidationResultE: Either[TimeCheckFailure, Unit], hostedWitnesses: Set[LfPartyId], replayCheckResult: Option[String]) extends Product with Serializable
  10. final case class UsedAndCreated(contracts: UsedAndCreatedContracts, keys: InputAndUpdatedKeys, hostedWitnesses: Set[LfPartyId]) extends Product with Serializable
  11. final case class UsedAndCreatedContracts(witnessedAndDivulged: Map[LfContractId, SerializableContract], checkActivenessTxInputs: Set[LfContractId], consumedInputsOfHostedStakeholders: Map[LfContractId, WithContractHash[Set[LfPartyId]]], used: Map[LfContractId, SerializableContract], maybeCreated: Map[LfContractId, Option[SerializableContract]], transient: Map[LfContractId, WithContractHash[Set[LfPartyId]]]) extends Product with Serializable
  12. final case class ViewActivenessResult(inactiveContracts: Set[LfContractId], alreadyLockedContracts: Set[LfContractId], existingContracts: Set[LfContractId], duplicateKeys: Map[LfGlobalKey, Set[LfPartyId]], inconsistentKeys: Map[LfGlobalKey, Set[LfPartyId]], lockedKeys: Map[LfGlobalKey, Set[LfPartyId]]) extends Product with Serializable

    The result of the activeness check for a view

    The result of the activeness check for a view

    inactiveContracts

    The input contracts that are inactive

    alreadyLockedContracts

    The contracts that are already locked

    existingContracts

    The created contracts that already exist

    duplicateKeys

    Keys of created contracts that are already assigned

    inconsistentKeys

    Contract keys that should be free (in terms of lookupByKey), but are not

    lockedKeys

    Keys that are already locked

  13. final case class ViewValidationResult(view: ParticipantTransactionView, activenessResult: ViewActivenessResult) extends Product with Serializable

Value Members

  1. object ContractConsistencyChecker
  2. object ExtractUsedAndCreated

    Helper to extract information from transaction view trees.

  3. object ExtractUsedContractsFromRootViews
  4. object InternalConsistencyChecker
  5. object ModelConformanceChecker
  6. object RecipientsValidator
  7. object TimeValidator

Ungrouped