10grans-ng/contracts/TenGransEthToken.sol

20 lines
603 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "./TenGransAbstractToken.sol";
contract TenGransEthToken is AbstractGrans {
constructor() AbstractGrans() {
_mint(msg.sender, 15_000 * 10 ** 18);
}
function balanceOf(address account) public view virtual override(AbstractGrans) returns (uint256) {
return AbstractGrans.balanceOf(account);
}
function transferFrom(address sender, address recipient, uint256 amount) public virtual override(AbstractGrans) returns (bool) {
return AbstractGrans.transferFrom(sender, recipient, amount);
}
}