File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -278,27 +278,25 @@ In the `CryticERC721ExternalHarness` contract you can specify which properties t
278278``` Solidity
279279pragma solidity ^0.8.0;
280280import "./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";
282282import {CryticERC721ExternalBasicProperties} from "@crytic/properties/contracts/ERC721/external/properties/ERC721ExternalBasicProperties.sol";
283283import {PropertiesConstants} from "@crytic/properties/contracts/util/PropertiesConstants.sol";
284284
285285
286286contract CryticERC721ExternalHarness is CryticERC721ExternalBasicProperties {
287287 constructor() {
288288 // Deploy ERC721
289- token = ITokenMock (address(new CryticTokenMock()));
289+ token = IERC721Internal (address(new CryticTokenMock()));
290290 }
291291}
292292
293293contract 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
You can’t perform that action at this time.
0 commit comments