withContract

fun <T> withContract(cname: String, thunk: (WalletContract) -> T): T?

Use a contract by name