def soliditySha256(self, values):
    types = self.solidityTypes(values)
    solidity_values = self.solidityValues(values)
    encoded_values = [hex_encode_abi_type(abi_type, value)[2:] for (abi_type, value) in zip(types, solidity_values)]
    hex_string = ('0x' + ''.join(encoded_values))
    return ('0x' + self.hash(self.encode(self.web3.toText(hex_string)), 'sha256'))
def soliditySha256(self, values):
    types = self.solidityTypes(values)
    solidity_values = self.solidityValues(values)
    encoded_values = [hex_encode_abi_type(abi_type, value)[2:] for (abi_type, value) in zip(types, solidity_values)]
    hex_string = ('0x' + .join(encoded_values))
    return ('0x' + self.hash(self.encode(self.web3.toText(hex_string)), 'sha256'))