Skip to content

Commit

Permalink
Merge pull request #15 from 0xmichalis/doc-fix
Browse files Browse the repository at this point in the history
Fix interface in external testing code example
  • Loading branch information
ggrieco-tob authored Mar 23, 2023
2 parents 91ef906 + daad62e commit e47e55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ In the `CryticERC20ExternalHarness` contract you can specify which properties to
```Solidity
pragma solidity ^0.8.0;
import "./MyToken.sol";
import {ICryticTokenMock} from "@crytic/properties/contracts/ERC20/external/util/ITokenMock.sol";
import {ITokenMock} from "@crytic/properties/contracts/ERC20/external/util/ITokenMock.sol";
import {CryticERC20ExternalBasicProperties} from "@crytic/properties/contracts/ERC20/external/properties/ERC20ExternalBasicProperties.sol";
import {PropertiesConstants} from "@crytic/properties/contracts/util/PropertiesConstants.sol";
contract CryticERC20ExternalHarness is CryticERC20ExternalBasicProperties {
constructor() {
// Deploy ERC20
token = ICryticTokenMock(address(new CryticTokenMock()));
token = ITokenMock(address(new CryticTokenMock()));
}
}
Expand Down

0 comments on commit e47e55e

Please sign in to comment.