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
require
statements with the_require
function from theBalancerErrors.sol
contract - modification or addition of functionality to reduce bytecode size (see
ReentrancyGuard.sol
) or gas usage (seeEnumerableSet
,EnumerableMap
orSafeERC20
)
Non-trivial modifications in this last category have associated source code comments that explain the changes and motivation.