Skip to content

Latest commit

 

History

History

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 require statements with the _require function from the BalancerErrors.sol contract
  • modification or addition of functionality to reduce bytecode size (see ReentrancyGuard.sol) or gas usage (see EnumerableSet, EnumerableMap or SafeERC20)

Non-trivial modifications in this last category have associated source code comments that explain the changes and motivation.