net.corda.contracts.asset / with deposit

with deposit

infix fun State.with deposit(deposit: PartyAndReference): State