Daml.Finance.Holding.Util¶
Functions¶
- transferImpl
: I -> ContractId I -> Transfer -> Update (ContractId I)
Default implementation of
transfer
for theTransferable
interface.
- acquireImpl
: (HasCreate t, HasSignatory t, HasFromInterface t I, HasToInterface t I) => Optional Lock -> (Optional Lock -> t) -> Acquire -> Update (ContractId I)
Default implementation of
acquire
from theBase
interface.
- releaseImpl
: (HasCreate t, HasFromInterface t I, HasToInterface t I) => Optional Lock -> (Optional Lock -> t) -> Release -> Update (ContractId I)
Default implementation of
release
from theBase
interface.
- splitImpl
: (HasCreate t, HasToInterface t I) => Decimal -> (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) => Decimal -> (t -> Decimal) -> (Decimal -> t) -> Merge -> Update (ContractId I)
Default implementation of
merge
from theFungible
interface.