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.