def transfer_owner(self, new_owner: Address) -> TxReceipt:
        """
        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.
        """
        tx_hash = self.registry.functions.transferOwner(new_owner).transact()
        return self.w3.eth.waitForTransactionReceipt(tx_hash)
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.