Contract 0xebfc4d64b86a06950986564174badff62e29ea7d

 

TxHash Block Age From To Value [TxFee]
0x85cd7601ddecb2ab203c75addbe9e54ddd886c178e3b1c814f0a7a33d2ac8de172320234 days 4 hrs ago0x5c71473ada715f99b2e6f47d055158dfadf3e199 IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.0004363675
0xebeb5729a20d83a6eda2214c30aa7ddd82e1cf690364814e3b61a54d93357065707583436 days 5 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0xdbe8122f3c6f74246736569851540428e05a8efcbf517488e5cc8a30c1d808af707583436 days 5 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0xec96fcfaf0742990c04b147e75028c3dd8e2dbc0ef5b19602fcc9ebde2785cb3707583236 days 5 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0xd283d004201b7d80d64274d10386d81ac43fd25080e33dc6c500f251ada1be68707583136 days 5 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0x63c7414ec5f7c23b54104268ffbac43ba9c6ea96b77c909c4dc3d4f8cd2a52ce707582936 days 5 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0x0e790a20cd7849632e16a5ccffc6cbb1256bffd68b42b62810619966e9ade7b3707582536 days 5 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0xb787d12bd96400061b4d007b3a96032493522db7ae055c1eb6a2c2f22bb845a3707578036 days 5 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0xf21de6c7c800a85b7e7749f9f259dfab1b32336d40bc7cd8b7538f674d732782707560836 days 6 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000951858
0x25bf22aaafb17619d8b4832eaf0782de0757d0ef1f77d1aac47f55b2180d99fe707559536 days 6 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0x33c41c523d173b22041f390d6958ed461a83cc511baaa372617d3627971c81ca707557436 days 6 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000681858
0x2805a42a6f955795384297688dce4eab9eefa9ed29c75f9512bed54448a6f20b707557336 days 6 hrs ago0x1c4abd971791480fabbc2a847f193db80fb975cb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000951858
0x513add0ff460c3c920d8152fb7ab6115f82b158bc7c9816d9910ffc32d3d499b707375136 days 14 hrs ago0xac03ad818b77e81073c961882abc9ecf5d42fd0d IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000414162
0x331fe9b1d9b23d5e9a2d5fa1e1fb7e83da1f45fb2f5cca6701ab1abec8f2869d707372236 days 15 hrs ago0xe4cffd353a245058e3d970a395adb4d502e7241c IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.00053009
0x01633c93adfcdd89a1bcf999decfafa7782b86ff52390a251824d3e5cde33bc4706303838 days 12 hrs ago0xa05ba36df8467c65af2e14b624834a695e37e382 IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000533022
0xda543e4a06543b4b12f42f55212e50ac244501575a35e9541fc7b8e163de564e706302938 days 12 hrs ago0xf1300d78ec0edac6374df25c4ebcb6aa764963aa IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000533022
0xd868a28171bc89d211f17866745f659df1609d56fd30ae2898739447dec61478705857139 days 7 hrs ago0xc68bc2e428eff5fd5547d6451016ec9d3cccb0f8 IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000414162
0xf30fa4a47ad3b55ee85413c9ce24b631faaaef783e3ba5d3507b7dc59c5d5c27705857139 days 7 hrs ago0x727c3bd0b6651d313c0e4473df0ebba6a5cabd08 IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000414162
0x62f4be8c1f6a73a030dc80284829bd59ac97029fdb784d4e84b0f02526703fef705854139 days 7 hrs ago0xf1300d78ec0edac6374df25c4ebcb6aa764963aa IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000106018
0x769dfdd2f9cea7fc2f449c173fcae0e442b72ba72af1cfbb4db5da2430a19b79705821139 days 9 hrs ago0xbb8b15e0467ca83a0b65bddcecd14142767347eb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.001483657218
0x1e3ee37bca6eeda566d2902653489f638d91d977b577b1fca0c7781e630ab085705817939 days 9 hrs ago0xbb8b15e0467ca83a0b65bddcecd14142767347eb IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.001156554281
0x9a1fa90dc063f2ee206ebcb7a5d006cd030640470d08d6ca2533941d1cf31d53705781139 days 11 hrs ago0xf1300d78ec0edac6374df25c4ebcb6aa764963aa IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000159027
0xf5a7255cf941a268ec9eff3e57d0d808949582c1548e92cea8737dc3e3bb3ab6705750139 days 12 hrs ago0xf1300d78ec0edac6374df25c4ebcb6aa764963aa IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000159027
0xb25730c10d5af913d23b6c4a7a50869d324e932181f384ee95799effcb753edf705666639 days 16 hrs ago0xf1300d78ec0edac6374df25c4ebcb6aa764963aa IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000106018
0xdb2bb944d92f37664f296371dbfeb729051d6eca38e7591343799f21bd29bf75705416140 days 2 hrs ago0xf1300d78ec0edac6374df25c4ebcb6aa764963aa IN  0xebfc4d64b86a06950986564174badff62e29ea7d0 Ether0.000228438
[ Download CSV Export 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Verified Source Code for Contract 0x495cb566666063ae52c0b3546d3af143a25147d1
Contract Name: TokenERC20
Compiler Version: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.16;

interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }

//创建一个owned合约
contract owned {

				//定义一个变量"owner",这个变量的类型是address,这是用于存储代币的管理者。
				//owned()类似于C++中的构造函数,功能是给owner赋值。
        address public owner;

        function owned() {
            owner = msg.sender;
        }

				//定义一个modifier(修改标志),可以理解为函数的附属条件。
				//这个条件的内容是假设发送者不是owner(管理者),就跳出。起到一个身份鉴别的作用。
        modifier onlyOwner {
            require(msg.sender == owner);
            _;
        }

        //实现所有权转移
        //定义一个transferOwnership函数,这个函数是用于转移管理者的身份。
        //注意,transferOwnership后面跟着"onlyOwner"。所以这个函数的前提是,执行人必须是owner。
        function transferOwnership(address newOwner) onlyOwner {
            owner = newOwner;
        }
}

//创建一个ERC20代币
contract TokenERC20 is owned {
    string public name;
    string public symbol;
    uint8 public decimals = 18;  // 18 是建议的默认值
    uint256 public totalSupply;

    mapping (address => uint256) public balanceOf;  // 
    mapping (address => mapping (address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Burn(address indexed from, uint256 value);

    function TokenERC20(
    		uint256 initialSupply, 
    		string tokenName, 
    		string tokenSymbol,
    		//在TokenERC20中添加了地址变量centralMinter,这个变量是有输入位置的。
    		address centralMinter
    		) public {
        totalSupply = initialSupply * 10 ** uint256(decimals);
        balanceOf[msg.sender] = totalSupply;
        name = tokenName;
        symbol = tokenSymbol;
        //if从句,只要输入地址不为0,拥有者就是发送者,所以这里输入什么都没关系。这个if从句,目前没看到有什么用处。
        if(centralMinter != 0 ) owner = centralMinter;
    }
    
    //代币增发
    //代码解释:
		//第2句代码给指定目标增加代币数量;
		//第3句代码给代币总量增加相应的数目;
		//第4句和第5句代码的意义只是提醒客户端发生了这样的交易。
		function mintToken(address target, uint256 mintedAmount) onlyOwner {
        balanceOf[target] += mintedAmount;
        totalSupply += mintedAmount;
        Transfer(0, owner, mintedAmount);
        Transfer(owner, target, mintedAmount);
		}

    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_to]);
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);     // Check allowance
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) public
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);
        balanceOf[msg.sender] -= _value;
        totalSupply -= _value;
        Burn(msg.sender, _value);
        return true;
    }

    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);
        require(_value <= allowance[_from][msg.sender]);
        balanceOf[_from] -= _value;
        allowance[_from][msg.sender] -= _value;
        totalSupply -= _value;
        Burn(_from, _value);
        return true;
    }
}

Contract ABI
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"},{"name":"centralMinter","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

Contract Creation Code
60806040526003805460ff1916601217905534801561001d57600080fd5b50604051610bba380380610bba833981016040908152815160208084015183850151606086015160008054600160a060020a03191633908117825560035460ff16600a0a8702600481905590825260058652969020959095559085018051939590949101929091610093916001918601906100dc565b5081516100a79060029060208501906100dc565b50600160a060020a038116156100d35760008054600160a060020a031916600160a060020a0383161790555b50505050610177565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011d57805160ff191683800117855561014a565b8280016001018555821561014a579182015b8281111561014a57825182559160200191906001019061012f565b5061015692915061015a565b5090565b61017491905b808211156101565760008155600101610160565b90565b610a34806101866000396000f3006080604052600436106100da5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100df578063095ea7b31461016957806318160ddd146101a157806323b872dd146101c8578063313ce567146101f257806342966c681461021d57806370a082311461023557806379c650681461025657806379cc67901461027c5780638da5cb5b146102a057806395d89b41146102d1578063a9059cbb146102e6578063cae9ca511461030a578063dd62ed3e14610373578063f2fde38b1461039a575b600080fd5b3480156100eb57600080fd5b506100f46103bb565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012e578181015183820152602001610116565b50505050905090810190601f16801561015b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561017557600080fd5b5061018d600160a060020a0360043516602435610448565b604080519115158252519081900360200190f35b3480156101ad57600080fd5b506101b6610475565b60408051918252519081900360200190f35b3480156101d457600080fd5b5061018d600160a060020a036004358116906024351660443561047b565b3480156101fe57600080fd5b506102076104ea565b6040805160ff9092168252519081900360200190f35b34801561022957600080fd5b5061018d6004356104f3565b34801561024157600080fd5b506101b6600160a060020a036004351661056b565b34801561026257600080fd5b5061027a600160a060020a036004351660243561057d565b005b34801561028857600080fd5b5061018d600160a060020a036004351660243561063e565b3480156102ac57600080fd5b506102b561070f565b60408051600160a060020a039092168252519081900360200190f35b3480156102dd57600080fd5b506100f461071e565b3480156102f257600080fd5b5061027a600160a060020a0360043516602435610776565b34801561031657600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261018d948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506107859650505050505050565b34801561037f57600080fd5b506101b6600160a060020a036004358116906024351661089e565b3480156103a657600080fd5b5061027a600160a060020a03600435166108bb565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104405780601f1061041557610100808354040283529160200191610440565b820191906000526020600020905b81548152906001019060200180831161042357829003601f168201915b505050505081565b336000908152600660209081526040808320600160a060020a039590951683529390529190912055600190565b60045481565b600160a060020a03831660009081526006602090815260408083203384529091528120548211156104ab57600080fd5b600160a060020a03841660009081526006602090815260408083203384529091529020805483900390556104e0848484610901565b5060019392505050565b60035460ff1681565b3360009081526005602052604081205482111561050f57600080fd5b3360008181526005602090815260409182902080548690039055600480548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2506001919050565b60056020526000908152604090205481565b600054600160a060020a0316331461059457600080fd5b600160a060020a03808316600090815260056020908152604080832080548601905560048054860190558254815186815291519416937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600054604080518381529051600160a060020a038086169316917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b600160a060020a03821660009081526005602052604081205482111561066357600080fd5b600160a060020a038316600090815260066020908152604080832033845290915290205482111561069357600080fd5b600160a060020a0383166000818152600560209081526040808320805487900390556006825280832033845282529182902080548690039055600480548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a250600192915050565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104405780601f1061041557610100808354040283529160200191610440565b610781338383610901565b5050565b6000836107928185610448565b15610896576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018790523060448401819052608060648501908152875160848601528751600160a060020a03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b8381101561082a578181015183820152602001610812565b50505050905090810190601f1680156108575780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561087957600080fd5b505af115801561088d573d6000803e3d6000fd5b50505050600191505b509392505050565b600660209081526000928352604080842090915290825290205481565b600054600160a060020a031633146108d257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a038316151561091857600080fd5b600160a060020a03841660009081526005602052604090205482111561093d57600080fd5b600160a060020a0383166000908152600560205260409020548281011161096357600080fd5b50600160a060020a038083166000818152600560209081526040808320805495891680855282852080548981039091559486905281548801909155815187815291519390950194927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600160a060020a03808416600090815260056020526040808220549287168252902054018114610a0257fe5b505050505600a165627a7a723058208ba2987414ab41d88cd3e91808932028e08d95219e85d79d8ed4eb3a37b545930029000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a05ba36df8467c65af2e14b624834a695e37e382000000000000000000000000000000000000000000000000000000000000000a6c6a6a204e4220434e590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066c6a6a434e590000000000000000000000000000000000000000000000000000


   Swarm Source:
bzzr://8ba2987414ab41d88cd3e91808932028e08d95219e85d79d8ed4eb3a37b54593
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.