Skip to content

Commit

Permalink
change name
Browse files Browse the repository at this point in the history
  • Loading branch information
Martín Triay committed Mar 22, 2021
1 parent b6b0a00 commit c728680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/utils/BatchCall.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "./Address.sol";
* @dev Provides a way to batch together multiple function calls in a single external call.
*/
abstract contract BatchCall {
function multicall(bytes[] calldata data) external returns(bytes[] memory results) {
function batchcall(bytes[] calldata data) external returns(bytes[] memory results) {
results = new bytes[](data.length);
for (uint i = 0; i < data.length; i++) {
(bool success, bytes memory result) = Address.functionDelegateCall(address(this), data[i]);
Expand All @@ -17,4 +17,4 @@ abstract contract BatchCall {
}
return results;
}
}
}

0 comments on commit c728680

Please sign in to comment.