10grans-ng/contracts/TenGransEthToken.sol

20 lines
603 B
Solidity
Raw Normal View History

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