This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.6.0; | |
| import "./erc20.sol"; | |
| contract pcCoin is ERC20 { | |
| address public _owner; | |
| uint256 _totalSupply; | |
| mapping(address=>uint256) _balances; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.6.0; | |
| abstract contract ERC20 { | |
| function totalSupply() virtual public view returns(uint totalSupply); | |
| function balanceOf(address _owner) virtual public view returns(uint balance); | |
| function transfer(address _to, uint _value) virtual public returns(bool success); | |
| function transferFrom(address _from, address _to, uint _value) virtual public returns(bool success); | |
| function approve(address _spender, uint _value) virtual public returns(bool success); | |
| function allowance(address _owner, address _spender) virtual public view returns(uint remaining); | |