Daml.Finance.Holding¶
This package contains the implementation of holdings, including utility functions. It has the following modules:
- Fungible: Implementation of a fungible holding, including split and merge functionality
- NonFungible: Implementation of a non-fungible holding, which cannot be split or merged
- NonTransferable: Implementation of a non-transferable holding
- Util: Utility functions related to holdings, e.g., to transfer or lock/release a holding
The Asset Model page explains the relationship between instruments, holdings, and accounts. Also, check out the Transfer tutorial for a description of how to create a holding on an instrument and transfer it between accounts.