Add Prettier for linting and fix Solhint config (#2697)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -11,11 +11,11 @@ import "./Address.sol";
|
||||
*/
|
||||
abstract contract Multicall {
|
||||
/**
|
||||
* @dev Receives and executes a batch of function calls on this contract.
|
||||
*/
|
||||
* @dev Receives and executes a batch of function calls on this contract.
|
||||
*/
|
||||
function multicall(bytes[] calldata data) external returns (bytes[] memory results) {
|
||||
results = new bytes[](data.length);
|
||||
for (uint i = 0; i < data.length; i++) {
|
||||
for (uint256 i = 0; i < data.length; i++) {
|
||||
results[i] = Address.functionDelegateCall(address(this), data[i]);
|
||||
}
|
||||
return results;
|
||||
|
||||
Reference in New Issue
Block a user