Module Daml.Finance.Holding.Util

Functions

transferImpl

: I -> ContractId I -> Transfer -> Update (ContractId I)

Default implementation of transfer for the Transferable interface.

acquireImpl

: (HasCreate t, HasField "lock" t (Optional Lock), HasFromInterface t I, HasToInterface t I, HasSignatory t) => t -> Acquire -> Update (ContractId I)

Default implementation of acquire from the Base interface.

releaseImpl

: (HasCreate t, HasField "lock" t (Optional Lock), HasFromInterface t I, HasToInterface t I) => t -> Release -> Update (ContractId I)

Default implementation of release from the Base interface.