@@ -4,8 +4,6 @@ pragma solidity >=0.6.2 <0.9.0;
4
4
pragma experimental ABIEncoderV2;
5
5
6
6
import {IMulticall3} from "./interfaces/IMulticall3.sol " ;
7
- import {MockERC20} from "./mocks/MockERC20.sol " ;
8
- import {MockERC721} from "./mocks/MockERC721.sol " ;
9
7
import {VmSafe} from "./Vm.sol " ;
10
8
11
9
abstract contract StdUtils {
@@ -119,21 +117,6 @@ abstract contract StdUtils {
119
117
return vm.computeCreate2Address (salt, initCodeHash);
120
118
}
121
119
122
- /// @dev returns an initialized mock ERC20 contract
123
- function deployMockERC20 (string memory name , string memory symbol , uint8 decimals )
124
- internal
125
- returns (MockERC20 mock )
126
- {
127
- mock = new MockERC20 ();
128
- mock.initialize (name, symbol, decimals);
129
- }
130
-
131
- /// @dev returns an initialized mock ERC721 contract
132
- function deployMockERC721 (string memory name , string memory symbol ) internal returns (MockERC721 mock ) {
133
- mock = new MockERC721 ();
134
- mock.initialize (name, symbol);
135
- }
136
-
137
120
/// @dev returns the hash of the init code (creation code + no args) used in CREATE2 with no constructor arguments
138
121
/// @param creationCode the creation code of a contract C, as returned by type(C).creationCode
139
122
function hashInitCode (bytes memory creationCode ) internal pure returns (bytes32 ) {
0 commit comments