Annotate Multicall contract (#3961)

Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
JulissaDantes
2023-01-18 14:40:35 -05:00
committed by GitHub
parent c9bc4f8203
commit 74b8ae9372
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ abstract contract Multicall {
/**
* @dev Receives and executes a batch of function calls on this contract.
*/
/// @custom:oz-upgrades-unsafe-allow delegatecall
function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) {
results = new bytes[](data.length);
for (uint256 i = 0; i < data.length; i++) {