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. holdingFactoryCid ContractId F 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. Choice Remove
Archive an account.
Controller: (DA.Internal.Record.getField @"custodian" account), (DA.Internal.Record.getField @"owner" account)
Returns: ()
Field Type Description account AccountKey The account’s key. Method create’ : Create -> Update (ContractId I)
Implementation of
Create
choice.Method remove : Remove -> Update ()
Implementation of
Remove
choice.