def encode_constructor_arguments(self, args):
        """ Return the encoded constructor call. """
        if self.constructor_data is None:
            raise ValueError(
                "The contract interface didn't have a constructor")

        return encode_abi(self.constructor_data['encode_types'], args)
Return the encoded constructor call.