feat: Add Hardhat config, MockERC20 and tests for Smart Contract

This commit is contained in:
2026-03-12 14:25:18 +03:00
parent 6b40444639
commit e7f9325b1c
5 changed files with 6374 additions and 8 deletions

12
contracts/MockERC20.sol Normal file
View File

@@ -0,0 +1,12 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MockERC20 is ERC20 {
constructor(string memory name, string memory symbol) ERC20(name, symbol) {}
function mint(address to, uint256 amount) public {
_mint(to, amount);
}
}