Contract 0x5a3f404e2b687f94fcff550a69eb077cdd963236

Contract Overview

Balance:
0 Ether
TxHash Block Age From To Value [TxFee]
0x06f809ac47fce266b21c64d25bab038c98ed47bc3210fa58a22bcc28e4198a9f349721199 days 18 mins ago0x50449fa989418f2e7d272cd989ee8caa3fb4595c IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000000497358
0x35f969f74491d82c60cc3c72234463b5b5f78cdc4ba1df0c170ac782116e30953071019173 days 34 mins ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000037281
0x8cc0d769a0011aaec2bf3c937e2d0a7d5c0bb39fd3b2863ee947805db92c10753070925173 days 58 mins ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360.5 Ether0.000023498
0x4fc9058456aa28fcc5c92aacf6fd0ab503ef65568869d143b28373afdc6bd5813066914173 days 17 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000037345
0x6b2dc708aaf929e3aade4687992e3e045b7d9eed5f8aa5838cebfc7cd2e5a7b93066777173 days 18 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000052281
0xa34a3035e97f218dc987d27ef6e39a3e07c6dd88fff044182fb8f9f1c95ad0d33020203181 days 20 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000023997897
0x6221c758bd522ba1b712aed8fb28cfc1205141b5761d56cfff7b806e77b864fd3020181181 days 20 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.0000470547
0xd81de1df81abbc7021726d6ce721dbb9b933c95d98f165b88aaec87a3a08caf93020119181 days 20 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000001319094
0x01de0ff8ec93371bb0cdc40ba2cf63911e7446f3309e336a2782993390ba63de3020085181 days 20 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.0000470547
0xdb32e146e1992f28ebece0236998dd1ccfb5d4ef5963fd4071cd2deb629614a72967196191 days 1 hr ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000033636897
0x86e5a0e7b92df9a385e050cf3018b7c5ce85edcc41e3dfa6263abea1efc98e672937895196 days 18 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000023792265
0x9036f48d870f22690d85467cb2105b0c029292ad00a643db6fbf4e4fe3158d482937184196 days 21 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.00004713534
0x39f25d921ea89aafb631ba83e9392d75adcb8260312047eabe97e283db6a86ec2931412197 days 22 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000023997897
0xf1e8bc9562e2fb2a9eeb704055d3b47fb7d1e8c49be2c384e89f77549f1e57fe2930852198 days 20 mins ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000037345
0x459a0d90a402a7ae2b3fbd8f5ce731615c44d0ac729cbf548442dea3d0fa57bf2914507200 days 20 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000037345
0xb7d31d3a3f1f69b982527a943ea960910535b9a83897992e5dd205fbf55e47a22909157201 days 18 hrs ago0xe2292bd85e9a4bc2994ec4e97e59d9a854e59dc9 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000052153
0xace0c17824fff9433dbf1d293fc9e201e85ad0a3b381554d319e83560ed6d7b02832654215 days 1 hr ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000037409
0x398a71f4e34406a279ff2bff58c0c213191eb7cdac27d2de24af9c9521696a962832648215 days 1 hr ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.001730856
0x9d5e99c21f996e056a835d5ceb83af43fa6597ce7491f1189a01749723407dfa2832644215 days 1 hr ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000023963
0x65ac4a1c7ad2e2dbbba7d9da09fae551475b24ef665a0204d18789ba10c1696e2832640215 days 1 hr ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000555099
0xcaaa241db4553ead8f40888159a0b6e3a5e7493406259e72644a54a3379188d02832622215 days 1 hr ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x5a3f404e2b687f94fcff550a69eb077cdd9632360 Ether0.000104818
0xbe85acd72e12ee3d66cb47c622599cbd9517565766ec5889186095d0a616b5152832564215 days 1 hr ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  Contract Creation0 Ether0.002855976
[ Download CSV Export 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value

Contract Source Code Verified (Exact Match)

Contract Name:
CEC

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.19;

contract Ownable {
  address public owner;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  function Ownable()  public {
    owner = msg.sender;
  }



  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
  
}

contract BasicToken is ERC20Basic, Ownable {

    using SafeMath for uint256;
    mapping(address => uint256) balances;

    bool public transfersEnabledFlag;


    modifier transfersEnabled() {
        require(transfersEnabledFlag);
        _;
    }

    function enableTransfers() public onlyOwner {
        transfersEnabledFlag = true;
    }
    
    function disableTransfers() public onlyOwner {
        transfersEnabledFlag = false;
    }


    function transfer(address _to, uint256 _value) transfersEnabled() public returns (bool) {
        require(_to != address(0));
        require(_value <= balances[msg.sender]);

        // SafeMath.sub will throw if there is not enough balance.
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        Transfer(msg.sender, _to, _value);
        return true;
    }


    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balances[_owner];
    }
}


library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}


contract StandardToken is ERC20, BasicToken {

    mapping (address => mapping (address => uint256)) internal allowed;



    function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
        require(_to != address(0));
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        Transfer(_from, _to, _value);
        return true;
    }


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


    function allowance(address _owner, address _spender) public view returns (uint256) {
        return allowed[_owner][_spender];
    }

    function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
        allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
        Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }

    function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
        uint oldValue = allowed[msg.sender][_spender];
        if (_subtractedValue > oldValue) {
            allowed[msg.sender][_spender] = 0;
        }
        else {
            allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
        }
        Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }

}


contract CECToken is StandardToken {
    string public name;

    string public symbol;

    uint256 public decimals;
    
    uint256 public constant INITIAL_SUPPLY = 1000000000;

    function CECToken(string _name, string _symbol, uint256 _decimals) public {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = INITIAL_SUPPLY * (10 ** uint256(decimals));
        balances[msg.sender] = totalSupply;
        transfersEnabledFlag = true;
    }

}

contract CEC is CECToken {

    function CEC() public CECToken("CEC Node Token", "CEC", 18) {
    }

}

Contract ABI

[{"constant":true,"inputs":[],"name":"transfersEnabledFlag","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"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":"","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disableTransfers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","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":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"enableTransfers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","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":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"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"}]

Contract Creation Code

6060604052341561000f57600080fd5b604080519081016040908152600e82527f434543204e6f646520546f6b656e00000000000000000000000000000000000060208301528051908101604052600381527f4345430000000000000000000000000000000000000000000000000000000000602082015260018054600160a060020a03191633600160a060020a0316179055601260058380516100a79291602001906100fb565b5060068280516100bb9291602001906100fb565b506007819055600a0a633b9aca0002600081815533600160a060020a0316815260026020526040902055505060038054600160ff19909116179055610196565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013c57805160ff1916838001178555610169565b82800160010185558215610169579182015b8281111561016957825182559160200191906001019061014e565b50610175929150610179565b5090565b61019391905b80821115610175576000815560010161017f565b90565b610ac2806101a56000396000f3006060604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305f9bb6b81146100f557806306fdde031461011c578063095ea7b3146101a657806318160ddd146101c857806323b872dd146101ed5780632ff2e9dc14610215578063313ce567146102285780633a67a0f61461023b578063661884631461025057806370a08231146102725780638da5cb5b1461029157806395d89b41146102c0578063a9059cbb146102d3578063af35c6c7146102f5578063d73dd62314610308578063dd62ed3e1461032a578063f2fde38b1461034f575b600080fd5b341561010057600080fd5b61010861036e565b604051901515815260200160405180910390f35b341561012757600080fd5b61012f610377565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561016b578082015183820152602001610153565b50505050905090810190601f1680156101985780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b157600080fd5b610108600160a060020a0360043516602435610415565b34156101d357600080fd5b6101db610481565b60405190815260200160405180910390f35b34156101f857600080fd5b610108600160a060020a0360043581169060243516604435610487565b341561022057600080fd5b6101db610609565b341561023357600080fd5b6101db610611565b341561024657600080fd5b61024e610617565b005b341561025b57600080fd5b610108600160a060020a036004351660243561063e565b341561027d57600080fd5b6101db600160a060020a0360043516610738565b341561029c57600080fd5b6102a4610753565b604051600160a060020a03909116815260200160405180910390f35b34156102cb57600080fd5b61012f610762565b34156102de57600080fd5b610108600160a060020a03600435166024356107cd565b341561030057600080fd5b61024e6108da565b341561031357600080fd5b610108600160a060020a0360043516602435610904565b341561033557600080fd5b6101db600160a060020a03600435811690602435166109a8565b341561035a57600080fd5b61024e600160a060020a03600435166109d3565b60035460ff1681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561040d5780601f106103e25761010080835404028352916020019161040d565b820191906000526020600020905b8154815290600101906020018083116103f057829003601f168201915b505050505081565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561049e57600080fd5b600160a060020a0384166000908152600260205260409020548211156104c357600080fd5b600160a060020a03808516600090815260046020908152604080832033909416835292905220548211156104f657600080fd5b600160a060020a03841660009081526002602052604090205461051f908363ffffffff610a6e16565b600160a060020a038086166000908152600260205260408082209390935590851681522054610554908363ffffffff610a8016565b600160a060020a0380851660009081526002602090815260408083209490945587831682526004815283822033909316825291909152205461059c908363ffffffff610a6e16565b600160a060020a03808616600081815260046020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b633b9aca0081565b60075481565b60015433600160a060020a0390811691161461063257600080fd5b6003805460ff19169055565b600160a060020a0333811660009081526004602090815260408083209386168352929052908120548083111561069b57600160a060020a0333811660009081526004602090815260408083209388168352929052908120556106d2565b6106ab818463ffffffff610a6e16565b600160a060020a033381166000908152600460209081526040808320938916835292905220555b600160a060020a0333811660008181526004602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a031681565b60068054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561040d5780601f106103e25761010080835404028352916020019161040d565b60035460009060ff1615156107e157600080fd5b600160a060020a03831615156107f657600080fd5b600160a060020a03331660009081526002602052604090205482111561081b57600080fd5b600160a060020a033316600090815260026020526040902054610844908363ffffffff610a6e16565b600160a060020a033381166000908152600260205260408082209390935590851681522054610879908363ffffffff610a8016565b600160a060020a0380851660008181526002602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b60015433600160a060020a039081169116146108f557600080fd5b6003805460ff19166001179055565b600160a060020a03338116600090815260046020908152604080832093861683529290529081205461093c908363ffffffff610a8016565b600160a060020a0333811660008181526004602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60015433600160a060020a039081169116146109ee57600080fd5b600160a060020a0381161515610a0357600080fd5b600154600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610a7a57fe5b50900390565b600082820183811015610a8f57fe5b93925050505600a165627a7a72305820e91650f88a73bfa06e0e12464fa2ede619a188625c27e4933b24994b631d436b0029

Swarm Source

bzzr://e91650f88a73bfa06e0e12464fa2ede619a188625c27e4933b24994b631d436b
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward