Token EDUCare

 

Overview [ERC-20]

Max Total Supply:
1,000,000,000 EKT

Holders:
50,450 (0.00%)

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EKT

Compiler Version
v0.4.20-nightly.2017.12.20+commit.efc198d5

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-12-23
*/

pragma solidity ^0.4.16;

contract EKT {

    string public name = "EDUCare";      //  token name
    string public symbol = "EKT";           //  token symbol
    uint256 public decimals = 8;            //  token digit

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

    uint256 public totalSupply = 0;

    address owner = 0x0;

    uint256 constant valueTotal = 10 * 10000 * 10000 * 100000000;  //总量 10亿
    uint256 constant valueFounder = valueTotal / 100 * 50;  // 基金会50%
    uint256 constant valueSale = valueTotal / 100 * 15;  // ICO 15%
    uint256 constant valueVip = valueTotal / 100 * 20;  // 私募 20%
    uint256 constant valueTeam = valueTotal / 100 * 15;  // 团队与合作伙伴 15%

    modifier isOwner {
        assert(owner == msg.sender);
        _;
    }

    modifier validAddress(address _address) {
        assert(0x0 != _address);
        _;
    }


    function EKT(address _founder, address _sale, address _vip, address _team)
        public
        validAddress(_founder)
        validAddress(_sale)
        validAddress(_vip)
        validAddress(_team)
    {
        owner = msg.sender;
        totalSupply = valueTotal;

        // 基金会
        balanceOf[_founder] = valueFounder;
        Transfer(0x0, _founder, valueFounder);

        // ICO
        balanceOf[_sale] = valueSale;
        Transfer(0x0, _sale, valueSale);

        // 私募
        balanceOf[_vip] = valueVip;
        Transfer(0x0, _vip, valueVip);

        // 团队
        balanceOf[_team] = valueTeam;
        Transfer(0x0, _team, valueTeam);

    }

    function transfer(address _to, uint256 _value)
        public
        validAddress(_to)
        returns (bool success)
    {
        require(balanceOf[msg.sender] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;
        Transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value)
        public
        validAddress(_from)
        validAddress(_to)
        returns (bool success)
    {
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        require(allowance[_from][msg.sender] >= _value);
        balanceOf[_to] += _value;
        balanceOf[_from] -= _value;
        allowance[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }

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


    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

Contract Security Audit

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":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"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"},{"inputs":[{"name":"_founder","type":"address"},{"name":"_sale","type":"address"},{"name":"_vip","type":"address"},{"name":"_team","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":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

606060405260408051908101604052600781527f45445543617265000000000000000000000000000000000000000000000000006020820152600090805161004b929160200190610273565b5060408051908101604052600381527f454b54000000000000000000000000000000000000000000000000000000000060208201526001908051610093929160200190610273565b506008600255600060055560068054600160a060020a031916905534156100b957600080fd5b6040516080806109a7833981016040528080519190602001805191906020018051919060200180519150849050600160a060020a03811615156100f857fe5b83600160a060020a038116151561010b57fe5b83600160a060020a038116151561011e57fe5b83600160a060020a038116151561013157fe5b60068054600160a060020a03191633600160a060020a039081169190911790915567016345785d8a0000600555881660008181526003602052604080822066b1a2bc2ec5000090819055600080516020610987833981519152915190815260200160405180910390a3600160a060020a03871660008181526003602052604080822066354a6ba7a1800090819055600080516020610987833981519152915190815260200160405180910390a3600160a060020a03861660008181526003602052604080822066470de4df82000090819055600080516020610987833981519152915190815260200160405180910390a3600160a060020a03851660008181526003602052604080822066354a6ba7a1800090819055600080516020610987833981519152915190815260200160405180910390a3505050505050505061030e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106102b457805160ff19168380011785556102e1565b828001600101855582156102e1579182015b828111156102e15782518255916020019190600101906102c6565b506102ed9291506102f1565b5090565b61030b91905b808211156102ed57600081556001016102f7565b90565b61066a8061031d6000396000f3006060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101bd57806395d89b41146101dc578063a9059cbb146101ef578063dd62ed3e14610211575b600080fd5b34156100a857600080fd5b6100b0610236565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a03600435166024356102d4565b604051901515815260200160405180910390f35b341561016857600080fd5b61017061038e565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a0360043581169060243516604435610394565b34156101b557600080fd5b6101706104cd565b34156101c857600080fd5b610170600160a060020a03600435166104d3565b34156101e757600080fd5b6100b06104e5565b34156101fa57600080fd5b610149600160a060020a0360043516602435610550565b341561021c57600080fd5b610170600160a060020a0360043581169060243516610621565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102cc5780601f106102a1576101008083540402835291602001916102cc565b820191906000526020600020905b8154815290600101906020018083116102af57829003601f168201915b505050505081565b600082600160a060020a03811615156102e957fe5b8215806103195750600160a060020a03338116600090815260046020908152604080832093881683529290522054155b151561032457600080fd5b600160a060020a03338116600081815260046020908152604080832094891680845294909152908190208690557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a35060019392505050565b60055481565b600083600160a060020a03811615156103a957fe5b83600160a060020a03811615156103bc57fe5b600160a060020a038616600090815260036020526040902054849010156103e257600080fd5b600160a060020a038516600090815260036020526040902054848101101561040957600080fd5b600160a060020a03808716600090815260046020908152604080832033909416835292905220548490101561043d57600080fd5b600160a060020a03808616600081815260036020908152604080832080548a0190558a851680845281842080548b90039055600483528184203390961684529490915290819020805488900390559091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a350600195945050505050565b60025481565b60036020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102cc5780601f106102a1576101008083540402835291602001916102cc565b600082600160a060020a038116151561056557fe5b600160a060020a0333166000908152600360205260409020548390101561058b57600080fd5b600160a060020a03841660009081526003602052604090205483810110156105b257600080fd5b600160a060020a033381166000818152600360205260408082208054889003905592871680825290839020805487019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a35060019392505050565b6004602090815260009283526040808420909152908252902054815600a165627a7a72305820f554db25c59d7759f9a8b70fa1e80f749af1fd315840b27b614bc30c12a1fb3f0029ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000075d40c1e5e0c315ea29ea1393a624125d4b606d60000000000000000000000007e4f3da5a9dd275669c4d7bc830f9dcf59f4575f000000000000000000000000c9a5b0dfb2d7eba654507118d80adcbb1ed451070000000000000000000000009a9925fd4ecf84bff41913edc5d07c46970ef568

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000075d40c1e5e0c315ea29ea1393a624125d4b606d60000000000000000000000007e4f3da5a9dd275669c4d7bc830f9dcf59f4575f000000000000000000000000c9a5b0dfb2d7eba654507118d80adcbb1ed451070000000000000000000000009a9925fd4ecf84bff41913edc5d07c46970ef568

-----Decoded View---------------
Arg [0] : _founder (address): 0x75d40c1e5e0c315ea29ea1393a624125d4b606d6
Arg [1] : _sale (address): 0x7e4f3da5a9dd275669c4d7bc830f9dcf59f4575f
Arg [2] : _vip (address): 0xc9a5b0dfb2d7eba654507118d80adcbb1ed45107
Arg [3] : _team (address): 0x9a9925fd4ecf84bff41913edc5d07c46970ef568

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000075d40c1e5e0c315ea29ea1393a624125d4b606d6
Arg [1] : 0000000000000000000000007e4f3da5a9dd275669c4d7bc830f9dcf59f4575f
Arg [2] : 000000000000000000000000c9a5b0dfb2d7eba654507118d80adcbb1ed45107
Arg [3] : 0000000000000000000000009a9925fd4ecf84bff41913edc5d07c46970ef568


Swarm Source

bzzr://f554db25c59d7759f9a8b70fa1e80f749af1fd315840b27b614bc30c12a1fb3f

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.