code: def CreateSignatureContract(publicKey):
          
          script = Contract.CreateSignatureRedeemScript(publicKey)
          params = b'\x00'
          encoded = publicKey.encode_point(True)
          pubkey_hash = Crypto.ToScriptHash(encoded, unhex=True)
  
          return Contract(script, params, pubkey_hash)
docs: Create a signature contract.
  
          Args:
              publicKey (edcsa.Curve.point): e.g. KeyPair.PublicKey.
  
          Returns:
              neo.SmartContract.Contract: a Contract instance.