Skip to content

Commit

Permalink
Fix lint errors & solhint setup
Browse files Browse the repository at this point in the history
  • Loading branch information
embiem committed Jan 20, 2022
1 parent 94eb744 commit e6f129f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/hardhat/src/CODEToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
pragma solidity ^0.8.9;

import "./MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand All @@ -15,7 +15,7 @@ contract CODEToken is ERC20, ERC20Permit, Ownable {
bytes32 public merkleRoot;
uint256 public claimPeriodEnds;
address public treasury;
bool mintingEnabled = true;
bool public mintingEnabled = true;

event MerkleRootChanged(bytes32 merkleRoot);
event Claim(address indexed claimant, uint256 amount);
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat/src/MerkleProof.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// Modified from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.0/contracts/utils/cryptography/MerkleProof.sol

pragma solidity ^0.8.2;
pragma solidity ^0.8.9;

/**
* @dev These functions deal with verification of Merkle Trees proofs.
Expand Down

0 comments on commit e6f129f

Please sign in to comment.