Add Prettier for linting and fix Solhint config (#2697)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -9,7 +9,7 @@ import "../token/ERC721/ERC721.sol";
|
||||
* This mock just provides a public safeMint, mint, and burn functions for testing purposes
|
||||
*/
|
||||
contract ERC721Mock is ERC721 {
|
||||
constructor (string memory name, string memory symbol) ERC721(name, symbol) { }
|
||||
constructor(string memory name, string memory symbol) ERC721(name, symbol) {}
|
||||
|
||||
function baseURI() public view returns (string memory) {
|
||||
return _baseURI();
|
||||
@ -27,7 +27,11 @@ contract ERC721Mock is ERC721 {
|
||||
_safeMint(to, tokenId);
|
||||
}
|
||||
|
||||
function safeMint(address to, uint256 tokenId, bytes memory _data) public {
|
||||
function safeMint(
|
||||
address to,
|
||||
uint256 tokenId,
|
||||
bytes memory _data
|
||||
) public {
|
||||
_safeMint(to, tokenId, _data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user