@ -5,7 +5,6 @@ pragma solidity ^0.8.19;
|
||||
|
||||
import {IAccessControl} from "./IAccessControl.sol";
|
||||
import {Context} from "../utils/Context.sol";
|
||||
import {Strings} from "../utils/Strings.sol";
|
||||
import {ERC165} from "../utils/introspection/ERC165.sol";
|
||||
|
||||
/**
|
||||
|
||||
@ -5,7 +5,6 @@ pragma solidity ^0.8.19;
|
||||
|
||||
import {IGovernorTimelock} from "./IGovernorTimelock.sol";
|
||||
import {IGovernor, Governor} from "../Governor.sol";
|
||||
import {SafeCast} from "../../utils/math/SafeCast.sol";
|
||||
import {ICompoundTimelock} from "../../vendor/compound/ICompoundTimelock.sol";
|
||||
import {IERC165} from "../../interfaces/IERC165.sol";
|
||||
import {Address} from "../../utils/Address.sol";
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import {ERC20} from "../../token/ERC20/ERC20.sol";
|
||||
import {ERC20Permit} from "../../token/ERC20/extensions/ERC20Permit.sol";
|
||||
|
||||
abstract contract ERC20PermitNoRevertMock is ERC20Permit {
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import {ITransparentUpgradeableProxy, TransparentUpgradeableProxy} from "./TransparentUpgradeableProxy.sol";
|
||||
import {ITransparentUpgradeableProxy} from "./TransparentUpgradeableProxy.sol";
|
||||
import {Ownable} from "../../access/Ownable.sol";
|
||||
|
||||
/**
|
||||
|
||||
@ -3,8 +3,6 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import {Address} from "../../utils/Address.sol";
|
||||
|
||||
/**
|
||||
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
|
||||
* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
|
||||
|
||||
@ -5,7 +5,6 @@ pragma solidity ^0.8.19;
|
||||
|
||||
import {ERC20} from "../ERC20.sol";
|
||||
import {Votes} from "../../../governance/utils/Votes.sol";
|
||||
import {SafeCast} from "../../../utils/math/SafeCast.sol";
|
||||
import {Checkpoints} from "../../../utils/structs/Checkpoints.sol";
|
||||
|
||||
/**
|
||||
|
||||
@ -5,7 +5,6 @@ pragma solidity ^0.8.19;
|
||||
|
||||
import {ERC721} from "../ERC721.sol";
|
||||
import {ERC2981} from "../../common/ERC2981.sol";
|
||||
import {ERC165} from "../../../utils/introspection/ERC165.sol";
|
||||
|
||||
/**
|
||||
* @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
|
||||
|
||||
@ -33,3 +33,6 @@ npx @openzeppelin/upgrade-safe-transpiler@latest -D \
|
||||
-x '!contracts/proxy/utils/UUPSUpgradeable.sol' \
|
||||
-x '!contracts/proxy/beacon/IBeacon.sol' \
|
||||
-p 'contracts/**/presets/**/*'
|
||||
|
||||
# delete compilation artifacts of vanilla code
|
||||
npm run clean
|
||||
|
||||
@ -3,7 +3,6 @@ pragma solidity ^0.8.19;
|
||||
|
||||
import {ERC4626Test} from "erc4626-tests/ERC4626.test.sol";
|
||||
|
||||
import {SafeCast} from "openzeppelin/utils/math/SafeCast.sol";
|
||||
import {ERC20} from "openzeppelin/token/ERC20/ERC20.sol";
|
||||
import {ERC4626} from "openzeppelin/token/ERC20/extensions/ERC4626.sol";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user