0

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol

Why functionCall calls the other functionCall ?

I don't understand why they do nested callings instead of making one call to functionCall function ?

1 Answer 1

0

As you can see one of the functions has two, and the other has three input parameters. If you don't want to specify a special error message, you can directly call the function which has two parameters. It just gives you some flexibility.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.