code: def GetDefaultContract(self):
          
          try:
              return self.GetContracts()[0]
          except Exception as e:
              logger.error("Could not find default contract: %s" % str(e))
              raise
docs: Get the default contract.
  
          Returns:
              contract (Contract): if Successful, a contract of type neo.SmartContract.Contract, otherwise an Exception.
  
          Raises:
              Exception: if no default contract is found.
  
          Note:
              Prints a warning to the console if the default contract could not be found.