Return a contract from a name
        Args:
            contract_name (str): name of the contract
        Returns:
            Contract

def get_contract_from_name(self, contract_name):
        """
            Return a contract from a name
        Args:
            contract_name (str): name of the contract
        Returns:
            Contract
        """
        return next((c for c in self.contracts if c.name == contract_name), None)