Sponsored:   Ubex.com - Token sale will end in just 5 days. 98% hard cap already reached. Don't Miss Out!
 Latest 25 txns From a total of 60743 Transactions
(+1 PendingTxn)

TxHash Age From To Value [TxFee]
0xd5141cc4853ec69e752f92d6d7186af6e8f931274c5162e4572f1e8e2fb3894a(pending)0x8b02c83286fc260e8b8eea2e1ac6e77e1a46c762  IN  0x80a7e048f37a50500351c204cb407766fa3bae7f0 Ether(Pending)
0x02bca3b0a152a7b5a7b08d5ac727c64c8a6463ec7e033dafcf89fc652d277b935 mins ago0x17d9d6e0ba4f1cb41b2d860294d4601550f63c00  IN   CrypteriumToken0 Ether0.000313938
0xc341d07dd9f1a3dab7a760a381f6702231b35bd1431042441fefd698430646a610 mins ago0xa943fa32e58e55cad6bde57826f13649f7ddfc88  IN   CrypteriumToken0 Ether0.000448644
0x16b88be8acd89be3345a00db65b5a71cc0e893ba94500fbbb0801583883cf46d16 mins ago0x95eb9c68ff5fa7c391f7bd8c8c97333fd70dee1d  IN   CrypteriumToken0 Ether0.000447108
0x5834cbab61c37b389599a4d21c093a1e48a4a25f429255bee17aae0e547c832035 mins ago0xc562a09a3a4e421182e4f35d57f36c07fa90f9f3  IN   CrypteriumToken0 Ether0.001532867
0xc29094c3d2a963d11519aa350b85f60db2f7d2a3c8a5514fd1e9a69c4d13b51540 mins ago0xa943fa32e58e55cad6bde57826f13649f7ddfc88  IN   CrypteriumToken0 Ether0.000628644
0xf2ee6cdcb581c20d9da356867128c29d73d29459c10fb654dc4e1ee40eaadb5741 mins ago0xf109db6a51286b2a522d85fe0d788e9197a2b507  IN   CrypteriumToken0 Ether0.000299608
0xcbada94791e735a95cd400060298bcdea29da7805f9eabb9f3954f0d0d1cefb549 mins ago0xfe904ab68082ecfaf073c7bfdb1ca6f9e1e8e4af  IN   CrypteriumToken0 Ether0.001532867
0xafcb55dd9996db5c553285f54d437f502a98414dc8f4d1957df1d7439e87fd0750 mins agoHitBTC_2  IN   CrypteriumToken0 Ether0.000299096
0xe8f4bd1da274dd1827de0356f8e9ad5c3f212363b994e33cf8c26bc1e064aa7f55 mins ago0xa2ab1140d2c9514ddf2557423502ca3be42fcbbe  IN   CrypteriumToken0 Ether0.00037387
0x8767ae8353e4666aa39eed38862cddd2f3ffdc26d5ce0ee23528ae011d04974856 mins agoHitBTC_2  IN   CrypteriumToken0 Ether0.000419096
0x9113d7bac5cf8239e1729485fe554158fcd21aca6481ed24bafe69953a47af3c58 mins ago0x6da65d126f0bb0a6991de18155d0d2d5c63c2b9e  IN   CrypteriumToken0 Ether0.001532867
0x2149928579c5fa780981b6908be7dfc1b2eee73b9c1c14e0469389e95d1944621 hr 6 mins agoKucoin  IN   CrypteriumToken0 Ether0.000785805
0xfc11096a175abdfe9375fcdde1a709448258179e2c6b3522181a7765dca1f9c31 hr 7 mins ago0xd1ad499b33fa57569677b453c728dad8e7527244  IN   CrypteriumToken0 Ether0.000299096
0x309fc99497611419a84ff665890c3343b9824cb59cc3a53de56fe10f6c7a5af21 hr 7 mins ago0x61ba5efbd116a6d43768430b4d2ef724bbe38a1f  IN   CrypteriumToken0 Ether0.001532867
0x7735ef361831049c207df47fda7cc9f17de5fc884bbf8ba69a7ad39ce992e1db1 hr 12 mins agoHitBTC_2  IN   CrypteriumToken0 Ether0.000298072
0x1ea511151dfcc1aeb53407fa435ce0422e09cbba0d31c0cfb3cabf1e256a01701 hr 14 mins agoHitBTC_2  IN   CrypteriumToken0 Ether0.000419096
0x21466059fdc242c8afa300dd2481715e11ad26b16c8f09a9a240e58a4d6528621 hr 22 mins ago0xbe77d4bcc1dc20ebc0839627ec86abad58889453  IN   CrypteriumToken0 Ether0.001532867
0x48b4556d175591000fbda94dbc0148bd73048f2f561118b62253161f9eefef9f1 hr 25 mins ago0x227c53d4761e15cabcbebf2dd23456c86cc70a1b  IN   CrypteriumToken0 Ether0.001530243
0x38255286b07b001999f05ecbe877a8fc743fecddacab90b77f6b0b257d891ffe1 hr 29 mins ago0xa10230e051174028d5bc2a8f998b88b797e1baf1  IN   CrypteriumToken0 Ether0.00066969
0x9848596a3870d9f1688022306f32271cbc0408fa3bace5001311e4a3b38d875a1 hr 30 mins ago0xa10230e051174028d5bc2a8f998b88b797e1baf1  IN   CrypteriumToken0 Ether0.00111969
0xbbdf6521e062dd360bc00a9e02f9cc9bfc14f8d5411c94169fd0bc79de08b0021 hr 32 mins ago0xf5d3ef658debde39c05029b5f3ecc00c8e9bda57  IN   CrypteriumToken0 Ether0.002145243
0x34a04fb2e589147bb87e9a66d24bd30511906c6771713efda943917112b6cacf1 hr 39 mins ago0xa10230e051174028d5bc2a8f998b88b797e1baf1  IN   CrypteriumToken0 Ether0.00156777
0xdc8c8a9b9b6621fc8e97c9977a3cd63279652c1c6dab1b690f20f5bb88dccbcc1 hr 46 mins ago0xf7f4833d431208ab14d3e94a978355a354f68ba9  IN   CrypteriumToken0 Ether0.001016759
0xffc5b4f4b918e505ae5f3a73f78ccc503236628221660e0ae410ddb563bf68961 hr 47 mins ago0xf7f4833d431208ab14d3e94a978355a354f68ba9  IN   CrypteriumToken0 Ether0.001530243
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: CrypteriumToken
Compiler Text: v0.4.16+commit.d7661dd9
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.16;

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
    
    address public owner;

    /**
    * @dev The Ownable constructor sets the original `owner` of the contract to the sender
    * account.
    */
    function Ownable() public {
        owner = msg.sender;
    }
    
    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    
    /**
    * @dev Allows the current owner to transfer control of the contract to a newOwner.
    * @param newOwner The address to transfer ownership to.
    */
    function transferOwnership(address newOwner) onlyOwner public {
        require(newOwner != address(0));      
        owner = newOwner;
    }

}

contract CrypteriumToken is Ownable {
    
    uint256 public totalSupply;
    mapping(address => uint256) balances;
    mapping(address => mapping(address => uint256)) allowed;
    
    string public constant name = "CrypteriumToken";
    string public constant symbol = "CRPT";
    uint32 public constant decimals = 18;

    uint constant restrictedPercent = 30; //should never be set above 100
    address constant restricted = 0x1d907C982B0B093b5173574FAbe7965181522c7B;
    uint constant start = 1509458400;
    uint constant period = 87;
    uint256 public constant hardcap = 300000000 * 1 ether;
    
    bool public transferAllowed = false;
    bool public mintingFinished = false;
    
    modifier whenTransferAllowed() {
        if(msg.sender != owner){
            require(transferAllowed);
        }
        _;
    }

    modifier saleIsOn() {
        require(now > start && now < start + period * 1 days);
        _;
    }
    
    modifier canMint() {
        require(!mintingFinished);
        _;
    }
  
    function transfer(address _to, uint256 _value) whenTransferAllowed public returns (bool) {
        require(_to != address(0));
        require(_value <= balances[msg.sender]);
        
        balances[msg.sender] = balances[msg.sender] - _value;
        balances[_to] = balances[_to] + _value;
        //assert(balances[_to] >= _value); no need to check, since mint has limited hardcap
        Transfer(msg.sender, _to, _value);
        return true;
    }

    function balanceOf(address _owner) constant public returns (uint256 balance) {
        return balances[_owner];
    }
    
    function transferFrom(address _from, address _to, uint256 _value) whenTransferAllowed public returns (bool) {
        require(_to != address(0));
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);
        
        balances[_from] = balances[_from] - _value;
        balances[_to] = balances[_to] + _value;
        //assert(balances[_to] >= _value); no need to check, since mint has limited hardcap
        allowed[_from][msg.sender] = allowed[_from][msg.sender] - _value;
        Transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) public returns (bool) {
        //NOTE: To prevent attack vectors like the one discussed here: 
        //https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729,
        //clients SHOULD make sure to create user interfaces in such a way 
        //that they set the allowance first to 0 before setting it to another value for the same spender. 
    
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) public constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }
   
    function allowTransfer() onlyOwner public {
        transferAllowed = true;
    }
    
    function mint(address _to, uint256 _value) onlyOwner saleIsOn canMint public returns (bool) {
        require(_to != address(0));
        
        uint restrictedTokens = _value * restrictedPercent / (100 - restrictedPercent);
        uint _amount = _value + restrictedTokens;
        assert(_amount >= _value);
        
        if(_amount + totalSupply <= hardcap){
        
            totalSupply = totalSupply + _amount;
            
            assert(totalSupply >= _amount);
            
            balances[msg.sender] = balances[msg.sender] + _amount;
            assert(balances[msg.sender] >= _amount);
            Mint(msg.sender, _amount);
        
            transfer(_to, _value);
            transfer(restricted, restrictedTokens);
        }
        return true;
    }

    function finishMinting() onlyOwner public returns (bool) {
        mintingFinished = true;
        MintFinished();
        return true;
    }
    
    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public returns (bool) {
        require(_value <= balances[msg.sender]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure
        balances[msg.sender] = balances[msg.sender] - _value;
        totalSupply = totalSupply - _value;
        Burn(msg.sender, _value);
        return true;
    }
    
    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);
        balances[_from] = balances[_from] - _value;
        allowed[_from][msg.sender] = allowed[_from][msg.sender] - _value;
        totalSupply = totalSupply - _value;
        Burn(_from, _value);
        return true;
    }

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

    event Approval(address indexed owner, address indexed spender, uint256 value);

    event Mint(address indexed to, uint256 amount);

    event MintFinished();

    event Burn(address indexed burner, uint256 value);

}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"mintingFinished","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":"decimals","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"transferAllowed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","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":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","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":"allowTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[],"name":"hardcap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526004805461ffff191690555b60008054600160a060020a03191633600160a060020a03161790555b5b610c408061003c6000396000f300606060405236156101045763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010957806306fdde0314610130578063095ea7b3146101bb57806318160ddd146101f157806323b872dd14610216578063313ce5671461025257806334fec4671461027e57806340c10f19146102a557806342966c68146102db57806370a082311461030557806379cc6790146103365780637d64bcb41461036c5780638da5cb5b1461039357806395d89b41146103c25780639b08a22f1461044d578063a9059cbb14610462578063b071cbe614610498578063dd62ed3e146104bd578063f2fde38b146104f4575b600080fd5b341561011457600080fd5b61011c610515565b604051901515815260200160405180910390f35b341561013b57600080fd5b610143610523565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101805780820151818401525b602001610167565b50505050905090810190601f1680156101ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c657600080fd5b61011c600160a060020a036004351660243561055a565b604051901515815260200160405180910390f35b34156101fc57600080fd5b6102046105c7565b60405190815260200160405180910390f35b341561022157600080fd5b61011c600160a060020a03600435811690602435166044356105cd565b604051901515815260200160405180910390f35b341561025d57600080fd5b6102656106f3565b60405163ffffffff909116815260200160405180910390f35b341561028957600080fd5b61011c6106f8565b604051901515815260200160405180910390f35b34156102b057600080fd5b61011c600160a060020a0360043516602435610701565b604051901515815260200160405180910390f35b34156102e657600080fd5b61011c600435610851565b604051901515815260200160405180910390f35b341561031057600080fd5b610204600160a060020a03600435166108dc565b60405190815260200160405180910390f35b341561034157600080fd5b61011c600160a060020a03600435166024356108fb565b604051901515815260200160405180910390f35b341561037757600080fd5b61011c6109d7565b604051901515815260200160405180910390f35b341561039e57600080fd5b6103a6610a36565b604051600160a060020a03909116815260200160405180910390f35b34156103cd57600080fd5b610143610a45565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101805780820151818401525b602001610167565b50505050905090810190601f1680156101ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561045857600080fd5b610460610a7c565b005b341561046d57600080fd5b61011c600160a060020a0360043516602435610aa8565b604051901515815260200160405180910390f35b34156104a357600080fd5b610204610b7b565b60405190815260200160405180910390f35b34156104c857600080fd5b610204600160a060020a0360043581169060243516610b8a565b60405190815260200160405180910390f35b34156104ff57600080fd5b610460600160a060020a0360043516610bb7565b005b600454610100900460ff1681565b60408051908101604052600f81527f4372797074657269756d546f6b656e0000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60015481565b6000805433600160a060020a039081169116146105f55760045460ff1615156105f557600080fd5b5b600160a060020a038316151561060b57600080fd5b600160a060020a03841660009081526002602052604090205482111561063057600080fd5b600160a060020a038085166000908152600360209081526040808320339094168352929052205482111561066357600080fd5b600160a060020a03848116600081815260026020908152604080832080548890039055878516808452818420805489019055848452600383528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b5b9392505050565b601281565b60045460ff1681565b600080548190819033600160a060020a0390811691161461072157600080fd5b6359f881e0421180156107375750635a6b346042105b151561074257600080fd5b600454610100900460ff161561075757600080fd5b600160a060020a038516151561076c57600080fd5b6046601e85025b049150508281018381101561078457fe5b6001546af8277896582678ac000000908201116108415760018054820190819055819010156107af57fe5b600160a060020a03331660009081526002602052604090208054820190819055819010156107d957fe5b33600160a060020a03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405190815260200160405180910390a26108208585610aa8565b5061083f731d907c982b0b093b5173574fabe7965181522c7b83610aa8565b505b600192505b5b5b5b505092915050565b600160a060020a03331660009081526002602052604081205482111561087657600080fd5b600160a060020a03331660008181526002602052604090819020805485900390556001805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b600160a060020a0381166000908152600260205260409020545b919050565b600160a060020a03821660009081526002602052604081205482111561092057600080fd5b600160a060020a038084166000908152600360209081526040808320339094168352929052205482111561095357600080fd5b600160a060020a038381166000818152600260209081526040808320805488900390556003825280832033909516835293905282902080548590039055600180548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b6000805433600160a060020a039081169116146109f357600080fd5b6004805461ff0019166101001790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a15060015b5b90565b600054600160a060020a031681565b60408051908101604052600481527f4352505400000000000000000000000000000000000000000000000000000000602082015281565b60005433600160a060020a03908116911614610a9757600080fd5b6004805460ff191660011790555b5b565b6000805433600160a060020a03908116911614610ad05760045460ff161515610ad057600080fd5b5b600160a060020a0383161515610ae657600080fd5b600160a060020a033316600090815260026020526040902054821115610b0b57600080fd5b600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b5b92915050565b6af8277896582678ac00000081565b600160a060020a038083166000908152600360209081526040808320938516835292905220545b92915050565b60005433600160a060020a03908116911614610bd257600080fd5b600160a060020a0381161515610be757600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600a165627a7a7230582041befea66ffbce368eaa6c9b4ab009f4283760c7b9834a9b842201db999e47200029

   Swarm Source:
bzzr://41befea66ffbce368eaa6c9b4ab009f4283760c7b9834a9b842201db999e4720

 

View All
Block Age transaction Difficulty Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.