code: def get_topic_sha3(event_block):
      '''
      takes an event block and returns a signature for sha3 hashing
      :param event_block:
      :return:
      '''
  
      sig = ""
      sig += event_block["name"]
      if not event_block["inputs"]:
          sig += "()"
          return sig
  
      sig += "("
      for input in event_block["inputs"]:
          sig += input["type"]
          sig += ","
      sig = sig[:-1]
      sig += ")"
  
      return sif get_topic_sha3(event_block):
      '''
      takes an event block and returns a signature for sha3 hashing
      :param event_block:
      :return:
      '''
  
      sig = ""
      sig += event_block["name"]
      if not event_block["inputs"]:
          sig += "()"
          return sig
  
      sig += "("
      for input in event_block["inputs"]:
          sig += input["type"]
          sig += ","
      sig = sig[:-1]
      sig += ")"
  
      return sig
docs: takes an event block and returns a signature for sha3 hashing
      :param event_block:
      :return: