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 i, HasToInterface i I, HasFromInterface i I) => (Text, Parties) -> Parties -> ContractId i -> Update (ContractId i)
Disclose a holding.
- undisclose
: (HasInterfaceTypeRep i, HasToInterface i I, HasFromInterface i I) => (Text, Parties) -> Parties -> ContractId i -> Update (Optional (ContractId i))
Undisclose a holding.