Daml.Finance.Interface.Util.Common¶
Functions¶
- isInstanceOf
 : (HasFromInterface i2 i1, HasFetch i1) => ContractId i1 -> Update Bool
Checks if an interface instance can be converted to another interface/template.
- qty
 : Decimal -> InstrumentKey -> InstrumentQuantity
Wraps an amount and an instrument key into an instrument quantity.
- scale
 : Decimal -> InstrumentQuantity -> InstrumentQuantity
Scale
quantityby the provided factor.