Skip to content

Commit 03b7134

Browse files
committed
Fix README: resolve merge conflict and update interface reference
1 parent f8fd098 commit 03b7134

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -278,27 +278,25 @@ In the `CryticERC721ExternalHarness` contract you can specify which properties t
278278
```Solidity
279279
pragma solidity ^0.8.0;
280280
import "./MyToken.sol";
281-
import {ITokenMock} from "@crytic/properties/contracts/ERC721/external/util/ITokenMock.sol";
281+
import {IERC721Internal} from "@crytic/properties/contracts/ERC721/util/IERC721Internal.sol";
282282
import {CryticERC721ExternalBasicProperties} from "@crytic/properties/contracts/ERC721/external/properties/ERC721ExternalBasicProperties.sol";
283283
import {PropertiesConstants} from "@crytic/properties/contracts/util/PropertiesConstants.sol";
284284
285285
286286
contract CryticERC721ExternalHarness is CryticERC721ExternalBasicProperties {
287287
constructor() {
288288
// Deploy ERC721
289-
token = ITokenMock(address(new CryticTokenMock()));
289+
token = IERC721Internal(address(new CryticTokenMock()));
290290
}
291291
}
292292
293293
contract CryticTokenMock is MyToken, PropertiesConstants {
294-
294+
uint256 public counter;
295295
bool public isMintableOrBurnable;
296296
297-
constructor () {
297+
constructor() {
298298
isMintableOrBurnable = true;
299299
}
300-
<<<<<<< Updated upstream
301-
=======
302300
303301
function burn(uint256 tokenId) public {
304302
_burn(tokenId);
@@ -309,7 +307,6 @@ contract CryticTokenMock is MyToken, PropertiesConstants {
309307
_mint(to, counter++);
310308
}
311309
}
312-
>>>>>>> Stashed changes
313310
}
314311
```
315312

0 commit comments

Comments
 (0)