Module Daml.Finance.Interface.Holding.Util¶
Functions¶
- getInstrument
: HasToInterface t I => t -> InstrumentKey
Get the key of a holding.
- getAmount
: HasToInterface t I => t -> Decimal
Get the amount of a holding.
- disclose
: (HasInterfaceTypeRep h, HasToInterface h I) => (Text, Parties) -> Party -> Parties -> ContractId h -> Update (ContractId h)
Disclose a holding.
- undisclose
: (HasInterfaceTypeRep h, HasToInterface h I) => (Text, Parties) -> Parties -> ContractId h -> Update (Optional (ContractId h))
Undisclose a holding.