Daml.Finance.Interface.Holding.Holding¶
Data Types¶
- type I
= Holding
Type synonym for
Holding
.instance HasMethod Account "credit" (Credit -> Update (ContractId I))
instance HasMethod Factory "create’" (Create -> Update (ContractId I))
instance HasMethod Batch "cancel" (Cancel -> Update [ContractId I])
instance HasMethod Batch "settle" (Settle -> Update [ContractId I])
instance HasMethod Instruction "allocate" (Allocate -> Update (ContractId Instruction, Optional (ContractId I)))
instance HasMethod Instruction "cancel" (Cancel -> Update (Optional (ContractId I)))
instance HasMethod Instruction "execute" (Execute -> Update (Optional (ContractId I)))
- type V
= View
Type synonym for
View
.instance HasFromAnyView Holding V
data View
View for
Holding
.
Field Type Description instrument InstrumentKey Instrument being held. account AccountKey Key of the account holding the assets. amount Decimal Size of the holding.