gnosis/eth/multicall.py
def aggregate(
        self,
        contract_functions: Sequence[ContractFunction],
        block_identifier: Optional[BlockIdentifier] = "latest",
    ) -> Tuple[BlockNumber, List[Optional[Any]]]:
        """
        Calls ``aggregate`` on MakerDAO's Multicall contract. If a function called raises an error execution is stopped

        :param contract_functions:
        :param block_identifier:
        :return: A tuple with the ``blockNumber`` and a list with the decoded return values
        :raises: BatchCallFunctionFailed
        """
        targets_with_data, output_types = self._build_payload(contract_functions)
        block_number, results = self._aggregate(
            targets_with_data, block_identifier=block_identifier
        )
        decoded_results = [
            self._decode_data(output_type, data)
            for output_type, data in zip(output_types, results)
        ]
        return block_number, decoded_results

        Calls ``aggregate`` on MakerDAO's Multicall contract. If a function called raises an error execution is stopped

        :param contract_functions:
        :param block_identifier:
        :return: A tuple with the ``blockNumber`` and a list with the decoded return values
        :raises: BatchCallFunctionFailed
        
Calls ``aggregate`` on MakerDAO's Multicall contract. If a function called raises an error execution is stopped
Calls ` ` aggregate ` ` on MakerDAO ' s Multicall contract . If a function called raises an error execution is stopped
def aggregate(
        self,
        contract_functions: Sequence[ContractFunction],
        block_identifier: Optional[BlockIdentifier] = "latest",
    ) -> Tuple[BlockNumber, List[Optional[Any]]]:
        targets_with_data, output_types = self._build_payload(contract_functions)
        block_number, results = self._aggregate(
            targets_with_data, block_identifier=block_identifier
        )
        decoded_results = [
            self._decode_data(output_type, data)
            for output_type, data in zip(output_types, results)
        ]
        return block_number, decoded_results
def aggregate ( self , contract_functions : Sequence [ ContractFunction ] , block_identifier : Optional [ BlockIdentifier ] = "latest" , ) -> Tuple [ BlockNumber , List [ Optional [ Any ] ] ] : targets_with_data , output_types = self . _build_payload ( contract_functions ) block_number , results = self . _aggregate ( targets_with_data , block_identifier = block_identifier ) decoded_results = [ self . _decode_data ( output_type , data ) for output_type , data in zip ( output_types , results ) ] return block_number , decoded_results
Calls ``aggregate`` on MakerDAO's Multicall contract.
Calls ` ` aggregate ` ` on MakerDAO ' s Multicall contract .
"""
        Calls ``aggregate`` on MakerDAO's Multicall contract. If a function called raises an error execution is stopped

        :param contract_functions:
        :param block_identifier:
        :return: A tuple with the ``blockNumber`` and a list with the decoded return values
        :raises: BatchCallFunctionFailed
        """
A tuple with the ``blockNumber`` and a list with the decoded return values
A tuple with the ` ` blockNumber ` ` and a list with the decoded return values
None
self
contract_functions
Sequence[ContractFunction]
None
block_identifier
Optional[BlockIdentifier]
None