Skip to content

Commit

Permalink
fix: prepare for v3 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Van0k committed Mar 10, 2023
1 parent 6489b4b commit 0c3e3b8
Show file tree
Hide file tree
Showing 123 changed files with 184 additions and 8,138 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[solidity]": {
"editor.defaultFormatter": "NomicFoundation.hardhat-solidity"
"editor.defaultFormatter": "JuanBlanco.solidity"
},

"editor.defaultFormatter": "esbenp.prettier-vscode",
Expand All @@ -19,6 +19,7 @@
"@ensdomains/=node_modules/@ensdomains/",
"@openzeppelin/=node_modules/@openzeppelin/contracts",
"ds-test/=lib/ds-test/src/",
"hardhat/=node_modules/hardhat/"
"hardhat/=node_modules/hardhat/",
"@gearbox-protocol=node_modules/@gearbox-protocol/"
]
}
2 changes: 1 addition & 1 deletion contracts/adapters/UniversalAdapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {AdapterType} from "../interfaces/adapters/IAdapter.sol";
import {ICreditManagerV2} from "../interfaces/ICreditManagerV2.sol";
import {ZeroAddressException} from "../interfaces/IErrors.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {UNIVERSAL_CONTRACT} from "../libraries/Constants.sol";
import {UNIVERSAL_CONTRACT} from "@gearbox-protocol/core-v2/contracts/libraries/Constants.sol";

/// @title UniversalAdapter
/// @dev Implements the initial version of universal adapter, which handles allowance revocations
Expand Down
86 changes: 0 additions & 86 deletions contracts/core/ACL.sol

This file was deleted.

4 changes: 2 additions & 2 deletions contracts/core/ACLNonReentrantTrait.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
pragma solidity ^0.8.10;

import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import {AddressProvider} from "./AddressProvider.sol";
import {IACL} from "../interfaces/IACL.sol";
import {AddressProvider} from "@gearbox-protocol/core-v2/contracts/core/AddressProvider.sol";
import {IACL} from "@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol";
import {
ZeroAddressException,
CallerNotConfiguratorException,
Expand Down
Loading

0 comments on commit 0c3e3b8

Please sign in to comment.