Gearbox implements a general-purpose leverage protocol for ERC-20 tokens. The system is modular and consists of different parts. This report covers the new Gearbox V2 system. V2 consists of the samemodules as V1.
All modules work together within a release, some of the modules can be used acrossreleases. The following release-overarching combinations have been considered in this audit:V2 credit system connecting to a V1 Pool Service and the V1 AccountFactory / Credit Accounts.Other combinations have not been reviewed. Notably PriceOracle of V1 cannot be used in V2. Adapterscount as part of the credit system and must not be used across versions.