Daml.Finance.Interface.Account.Factory

Interfaces

interface Factory

Interface that allows implementing templates to create accounts.

viewtype V

  • Choice Archive

    Controller: Signatories of implementing template

    Returns: ()

    (no fields)

  • Choice Create

    Create a new account.

    Controller: (DA.Internal.Record.getField @"custodian" account), (DA.Internal.Record.getField @"owner" account)

    Returns: ContractId I

    Field Type Description
    account AccountKey The account’s key.
    holdingFactory HoldingFactoryKey Associated holding factory for the account.
    controllers Controllers Controllers of the account.
    description Text Human readable description of the account.
    observers PartiesMap The account’s observers.
  • Method create’ : Create -> Update (ContractId I)

    Implementation of Create choice.

Data Types

type I

= Factory

Type synonym for Factory.

type V

= View

Type synonym for View.

instance HasFromAnyView Factory V

data View

View

Field Type Description
provider Party The provider of the Factory.

instance Eq View

instance Show View