abstract operator fun <T : Contract> get(hash: SecureHash): T
Loads, instantiates and returns a contract object from its class bytecodes, given the hash of that bytecode.
UnknownContractException
- if the hash doesnt map to any known contract.ClassCastException
- if the hash mapped to a contract, but it was not of type T