Skip to content

Commit

Permalink
fix: Fix natspec docs of testnet contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Mar 6, 2024
1 parent 7ca77fd commit c217d54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/mocks/WETH9Mock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ contract WETH9Mock is WETH9, Ownable {
bool internal _protected;

/**
* @dev Function modifier, if _permissioned is enabled then msg.sender is required to be the owner
* @dev Function modifier, if _protected is enabled then msg.sender is required to be the owner
*/
modifier onlyOwnerIfProtected() {
if (_protected == true) {
Expand Down
4 changes: 2 additions & 2 deletions contracts/mocks/testnet-helpers/IFaucet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ interface IFaucet {
function transferOwnershipOfChild(address[] calldata childContracts, address newOwner) external;

/**
* @notice Updates protection of minting feature of child contracts
* @param childContracts A list of child contract addresses
* @notice Updates protection of minting feature of child token contracts
* @param childContracts A list of child token contract addresses
* @param state True if tokens are only mintable through Faucet, false otherwise
*/
function setProtectedOfChild(address[] calldata childContracts, bool state) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/testnet-helpers/TestnetERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contract TestnetERC20 is IERC20WithPermit, ERC20, Ownable {
bool internal _protected;

/**
* @dev Function modifier, if _permissioned is enabled then msg.sender is required to be the owner
* @dev Function modifier, if _protected is enabled then msg.sender is required to be the owner
*/
modifier onlyOwnerIfProtected() {
if (_protected == true) {
Expand Down

0 comments on commit c217d54

Please sign in to comment.