Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 570 Bytes

solution2.md

File metadata and controls

19 lines (15 loc) · 570 Bytes

// SPDX-License-Identifier: MIT pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol";

contract Parth is ERC20, ERC20Burnable, Ownable { constructor() ERC20("Parth", "PVM") { _mint(msg.sender, 100000 * 10 ** decimals()); }

function mint(address to, uint256 amount) public onlyOwner {
    _mint(to, amount);
}

}

my deployed contract address - 0x9Fc62BdB03803449597A93727Fb09FFc01314A7b