Daml.Finance.Holding.Util¶
Functions¶
- transferImpl
: I -> ContractId I -> Transfer -> Update (ContractId I)
Default implementation of
transfer
for theTransferable
interface.
- splitImpl
: (HasCreate t, HasToInterface t I) => I -> (Decimal -> t) -> Split -> Update SplitResult
Default implementation of
split
from theFungible
interface.
- mergeImpl
: (HasCreate t, HasArchive t, HasSignatory t, HasFromInterface t I, HasToInterface t I) => I -> (t -> Decimal) -> (Decimal -> t) -> Merge -> Update (ContractId I)
Default implementation of
merge
from theFungible
interface.