def signZeroExOrderV2(self, order, privateKey):
    orderHash = self.getZeroExOrderHashV2(order)
    signature = self.signMessage(orderHash[(- 64):], privateKey)
    return self.extend(order, {'orderHash': orderHash, 'signature': self._convertECSignatureToSignatureHex(signature)})
def signZeroExOrderV2(self, order, privateKey):
    orderHash = self.getZeroExOrderHashV2(order)
    signature = self.signMessage(orderHash[(- 64):], privateKey)
    return self.extend(order, {'orderHash': orderHash, 'signature': self._convertECSignatureToSignatureHex(signature)})