Daml.Finance.Holding.BaseHolding

Templates

template BaseHolding

Implementation of a BaseHolding. BaseHolding implements the interface Holding.I (which requires Lockable.I and Disclosure.I to be implemented), but neither Fungible.I nor Transferable.I.

Signatory: (DA.Internal.Record.getField @"custodian" account), (DA.Internal.Record.getField @"owner" account), Lockable.getLockers this

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.
lock Optional Lock An optional lock for the holding.
observers PartiesMap Observers.
  • Choice Archive

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

    Returns: ()

    (no fields)

  • interface instance I for BaseHolding

  • interface instance I for BaseHolding

  • interface instance I for BaseHolding

Data Types

type T

= BaseHolding

Type synonym for BaseHolding.