Skip to content

Commit

Permalink
edit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aki-0517 committed Dec 5, 2024
1 parent 4e5302a commit fefafd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions packages/hardhat/contracts/ExpirableERC721.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ contract ExpirableERC721 is ERC721, Ownable {
* @param numberOfTokens The number of tokens to mint.
* @param expirationTimes An array of expiration timestamps for each token.
*/
function mintBatch(
address to,
uint256 numberOfTokens,
uint256[] memory expirationTimes
) external onlyOwner {
function mintBatch(address to, uint256 numberOfTokens, uint256[] memory expirationTimes) external onlyOwner {
require(numberOfTokens == expirationTimes.length, "Mismatched inputs");

for (uint256 i = 0; i < numberOfTokens; i++) {
Expand Down
4 changes: 1 addition & 3 deletions packages/hardhat/deploy/00_deploy_your_contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import { DeployFunction } from "hardhat-deploy/types";
*
* @param hre HardhatRuntimeEnvironment object.
*/
const deployExpirableERC721: DeployFunction = async function (
hre: HardhatRuntimeEnvironment
) {
const deployExpirableERC721: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const { deployer } = await hre.getNamedAccounts();
const { deploy } = hre.deployments;

Expand Down

0 comments on commit fefafd8

Please sign in to comment.