code: def transfer_owner(self, new_owner: Address) -> TxReceipt:
          
          tx_hash = self.registry.functions.transferOwner(new_owner).transact()
          return self.w3.eth.waitForTransactionReceipt(tx_hash)
docs: Transfers ownership of this registry instance to the given ``new_owner``. Only the
          ``owner`` is allowed to transfer ownership.
  
          * Parameters:
              * ``new_owner``: The address of the new owner.