Ports from OpenZeppelin Contracts
Files in this directory are based on the OpenZeppelin Contracts library, and as such are licensed under the MIT License: see LICENSE.
Most of the modifications fall under one of these categories:
- removal of functions unused in Balancer V2 source code
- replacement of
requirestatements with the_requirefunction from theBalancerErrors.solcontract - modification or addition of functionality to reduce bytecode size (see
ReentrancyGuard.sol) or gas usage (seeEnumerableSet,EnumerableMaporSafeERC20)
Non-trivial modifications in this last category have associated source code comments that explain the changes and motivation.