Daml.Finance.Interface.Holding.Factory

Interfaces

interface Factory

Holding factory contract used to create (credit) holdings.

viewtype V

  • Choice Archive

    Controller: Signatories of implementing template

    Returns: ()

    (no fields)

  • Choice Create

    Create a holding on the instrument in the corresponding account.

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

    Returns: ContractId I

    Field Type Description
    instrument InstrumentKey The instrument of which units are held.
    account AccountKey The account at which the holding is held. Defines the holding’s owner and custodian.
    amount Decimal Number of units.
    observers PartiesMap Observers of the holding to be credited.
  • Method create’ : Create -> Update (ContractId I)

    Implementation of Create choice.

Data Types

type F

= 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