hydrachain/native_contracts.py
def address_to_native_contract_class(self, address):
        "returns class._on_msg_unsafe, use x.im_self to get class"
        assert isinstance(address, bytes) and len(address) == 20
        assert self.is_instance_address(address)
        nca = self.native_contract_address_prefix + address[-4:]
        return self.native_contracts[nca]
def address_to_native_contract_class(self, address):
        "returns class._on_msg_unsafe, use x.im_self to get class"
        assert isinstance(address, bytes) and len(address) == 20
        assert self.is_instance_address(address)
        nca = self.native_contract_address_prefix + address[-4:]
        return self.native_contracts[nca]
returns class._on_msg_unsafe, use x.im_self to get class