Contract 0x1E999EE452EaFbCfd6B8f038Bb6cabbB533dC1b9

 

TxHash Block Age From To Value [TxFee]
0x464c0c069137a417403057e28a151f8244cb585701425713d5237938667ba00174066885 hrs 9 mins ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00011133
0x1c53cef321ec90335d6ccfe69e44b3eadb531d806b17c7335e3874f76504a45a74065395 hrs 39 mins ago0x873dc5af4b3845ac90daa78383909f25efe295ac IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.0431 Ether0.00037307725
0x73e76de313accd8554840f6c879e98c500f38c1cb7a94d9074334ce312c910d674063096 hrs 33 mins ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00011133
0x8ed8c4e9f9a682c2c6e16b12fed5bcde78a2ac05042c7bc93b7c4184b4a311d074062056 hrs 59 mins ago0x85e82f111d82d2533f361b5719c5c415945c20ed IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.005 Ether0.000417146
0xa6752d7d54835aa38d5004f190aa4b0e21d086ced9697ebe7af57046bb96e6df74059877 hrs 52 mins ago0xf44ce010b8db8fee25904bd6a4f180cae9469d90 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000152559005
0x8ea7c81b98e3c02684ca8db832f83619746a9e0e89e09cf40cca30ae6b24d2b974059797 hrs 54 mins ago0x2a4beaf57700cd21b8bb8d748b13776b4048dca8 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000152559005
0x68629339d8ee402303e626e8b4c57d92b8706b7345428c2dc55c4ffd03f70c9a74059398 hrs 1 min ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00011133
0x8d5d7612473e7ab78c9864d9ab25edea8ab786978574c9da75782f3530068acd74059258 hrs 4 mins ago0x57d171ba488aa85f659eb831bd8909f885a9607c IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000152559005
0xe09a473a26328b9ce40f6c76a3a24d2ca02b686afb725633d7d3015fd378d54f74059178 hrs 7 mins ago0x4839ab4c979430fda99f48652f5fe6c02b6067e6 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000152559005
0xc45ac365cf1e09de683c6a41a33e2b463ec8f2609bca300341e5bc904d8142c774059118 hrs 8 mins ago0x99c789e8ec18e5dc1e7c4eb90adf08189aa1678a IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000152559005
0xf72eef168dca9a9bb31fbb4bf6b12e6a8b6acbcead909f44f840c5cc2d36572d74058798 hrs 14 mins ago0x4839ab4c979430fda99f48652f5fe6c02b6067e6 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000255617409
0x3c46e81d667c45281294ecbc93161b9382a0994ebc2b56a548f5ddfb3457067574058388 hrs 21 mins ago0xf44ce010b8db8fee25904bd6a4f180cae9469d90 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.01 Ether0.000423280515
0x4020db8b03e2fd797e87b2b70eaa2d416ff9337da72dd77f9f2c13270455be1174058338 hrs 22 mins ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000111138
0x35a8062134d08c764d233bfa9a608078b07b614ddf49be87220c1447b772420374057638 hrs 37 mins ago0x2a4beaf57700cd21b8bb8d748b13776b4048dca8 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.01 Ether0.00040634928
0x34ef8e62d58c2af0ea863dda8b4b0fd03e5bc180a19cc65351fa8844c278efbc74057428 hrs 42 mins ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00025977
0x19e9f8c56d6e0cb9483e929f093259c8b6b9447eb40eca22e8947a824e7e21d674057368 hrs 43 mins ago0x57d171ba488aa85f659eb831bd8909f885a9607c IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.01 Ether0.000370370431
0x8a7abe5ebddd6be2dc7148ea0d6541f20f708e05a57395ad7d4094e92d1eb78974056928 hrs 54 mins ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00018555
0x174f7678d0c2b62eae7837c0819225fe8b33d055855f3907655f6ad0c25bb70574056878 hrs 55 mins ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00018555
0x5ac0e2a292602f21c4c29a69673f2b94d5fb22c30c457837517c9bc46e185c7174056798 hrs 58 mins ago0x4839ab4c979430fda99f48652f5fe6c02b6067e6 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.01 Ether0.00036807
0xd903b1e697c3dc979c4c21eda6804f4609017e60458bd17a9141d6096eba416b74056758 hrs 59 mins ago0x99c789e8ec18e5dc1e7c4eb90adf08189aa1678a IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.01 Ether0.00036807
0x48a2c59df9ec0c6e1343686dc58106d743cdeea3bb8bb7bd5f5457e022e7f08c74055799 hrs 25 mins ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00011133
0x9684a686579aa8908ef677ab0e534b4abaa9b851d4cb2a06a629e0918da259fd740522910 hrs 43 mins ago0x23ae111d790874bc2b55cbb1c4c27357ee8b8715 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90.01 Ether0.000365311132
0xfa648fb5b01a442eacdbb7e84fda30ceaea72a9cdd307d89e4b5c6ac62f56576740247820 hrs 48 mins ago0xd3626ab5c8a7634ce39226363f9df7ced49b5180 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000022892
0x1f96eb74d26eca0fb312431cb50c293c1feb232eaef7888a25c4d99de24f128674004591 day 4 hrs ago0x7e622cca66060fd0821ebd5e50b656b3f0a46b71 IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.00265435
0x8ee578ffdefdb62283679f3df607eb3ad01ab1085724eb608e6ac1ed6fa9af4d73980041 day 13 hrs ago0x988ad2596ceebda71690fbba6b263a463bc5fcbb IN  0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90 Ether0.000091666
[ Download CSV Export 

Latest 25 internal transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x1c53cef321ec90335d6ccfe69e44b3eadb531d806b17c7335e3874f76504a45a74065395 hrs 39 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.0431 Ether
0x8ed8c4e9f9a682c2c6e16b12fed5bcde78a2ac05042c7bc93b7c4184b4a311d074062056 hrs 59 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.005 Ether
0x3c46e81d667c45281294ecbc93161b9382a0994ebc2b56a548f5ddfb3457067574058388 hrs 21 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x35a8062134d08c764d233bfa9a608078b07b614ddf49be87220c1447b772420374057638 hrs 37 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x19e9f8c56d6e0cb9483e929f093259c8b6b9447eb40eca22e8947a824e7e21d674057368 hrs 43 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x5ac0e2a292602f21c4c29a69673f2b94d5fb22c30c457837517c9bc46e185c7174056798 hrs 58 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0xd903b1e697c3dc979c4c21eda6804f4609017e60458bd17a9141d6096eba416b74056758 hrs 59 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x9684a686579aa8908ef677ab0e534b4abaa9b851d4cb2a06a629e0918da259fd740522910 hrs 43 mins ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x36bc59e4baf4afe226ee2a1b0a7f007180204fdd84d86aae73e6b1d38b40f97373908432 days 16 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.005 Ether
0x05ca992384187851dfa8adc30b219f10920ed41c22f2b2c459d2381d00bfd9e173790654 days 12 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x59aea30b3c2d542f93c726b9fc2be551216a1519c87f229c40963f6d2d37cac973780394 days 16 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0xfa425b0f1a6a1b9898028db30be7bde37730d52864e676ca866fefe05cb4796273723775 days 13 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.005 Ether
0x408da0893aa9bcc5ceba4018a81a6302f786a2af3a2a24e55526e509e181f0e873712165 days 17 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.005 Ether
0xa67964ef70247201d34a18d2285319e0b79ef5b8f5495e58b4f28daf9035290773704005 days 20 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.005 Ether
0x49f308b280d2efe88bdd0c2b2ca0c0767017d6d4a4dcd61876eabbda55f7777773703345 days 20 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x3c1d56a2d4091e6e9dcf20e7ec5cbcfb544d560df759e0b8638d0b927eab6ac173702245 days 21 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x6c46515f58740d3ada920cba171f4356dba363c1caa8f4e42fdc3f1e13f9d66173655336 days 14 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0xb5d2d52263d0900fa8dd8eaaf86201d36373c0ff27606ec725c362d4ddf7126673616687 days 5 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x867b5e5bd0fd6641c5f28a4056ff003004ce2c9925e4de193a306389be6f5cc473611967 days 6 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x41e27f9a339afb1e272feb426a82ccbd8b2abd44d2980bb460c059e6d64a226873554078 days 4 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0xa1f4c277da2fba362fef6d6d7b554f9fbc2e6ab16e94c022e3195db5837c79e673492009 days 3 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0xd2fea8d53d196dd1cd72d5cd4f964a1cd80da96df5195db7a6f5874101d2e39e73491379 days 4 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x461ed6d5b9f09d780f3ad4d7c1ab9ea364e4370aa5dc9ec96b01a75af095b63973488779 days 5 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0xb1ad5d7eca1e0394431ff175478c5773f877ec4b63b6b08026ec161d46296f1b73488779 days 5 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
0x5d397c301123dae8551baf86e466f24dcc5a9e13e0f11ca19a168cb755b2edf673488779 days 5 hrs ago0x1e999ee452eafbcfd6b8f038bb6cabbb533dc1b90x8fe8ce138510b2b22b866d09b71f6d24c994477b0.01 Ether
[ Download CSV Export 

Contract Source Code Verified (Exact Match)

Contract Name:
MYHUBBS

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.25;

/**
 * @title MYHUBBS  Project
 */
library SafeMath {

    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
        if (a == 0) {
            return 0;
        }
        c = a * b;
        assert(c / a == b);
        return c;
    }

    /**
    * @dev Integer division of two numbers, truncating the quotient.
    */
    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 a / b;
    }

    /**
    * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a + b;
        assert(c >= a);
        return c;
    }
}

contract ForeignToken {
    function balanceOf(address _owner) constant public returns (uint256);
    function transfer(address _to, uint256 _value) public returns (bool);
}

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

contract ERC20 is ERC20Basic {
    function allowance(address owner, address spender) public constant 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 MYHUBBS is ERC20 {
    
    using SafeMath for uint256;
    address owner = msg.sender;

    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
    mapping (address => bool) public Claimed; 

    string public constant name = "MYHUBBS";
    string public constant symbol = "HUBBS";
    uint public constant decimals = 8;
    uint public deadline = now + 37 * 1 days;
    uint public round2 = now + 32 * 1 days;
    uint public round1 = now + 22 * 1 days;
    
    uint256 public totalSupply = 2000000000e8;
    uint256 public totalDistributed;
    uint256 public constant requestMinimum = 5 ether / 1000; // 0.005 Ether
    uint256 public tokensPerEth = 10000000e8;
    
    uint public target0drop = 100;
    uint public progress0drop = 0;
    
    //here u will write your ether address
    address multisig = 0x8Fe8cE138510b2B22b866D09B71F6D24c994477B ;


    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
    
    event Distr(address indexed to, uint256 amount);
    event DistrFinished();
    
    event Airdrop(address indexed _owner, uint _amount, uint _balance);

    event TokensPerEthUpdated(uint _tokensPerEth);
    
    event Burn(address indexed burner, uint256 value);
    
    event Add(uint256 value);

    bool public distributionFinished = false;
    
    modifier canDistr() {
        require(!distributionFinished);
        _;
    }
    
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    
    constructor() public {
        uint256 teamFund = 1000000000e8;
        owner = msg.sender;
        distr(owner, teamFund);
    }
    
    function transferOwnership(address newOwner) onlyOwner public {
        if (newOwner != address(0)) {
            owner = newOwner;
        }
    }

    function finishDistribution() onlyOwner canDistr public returns (bool) {
        distributionFinished = true;
        emit DistrFinished();
        return true;
    }
    
    function distr(address _to, uint256 _amount) canDistr private returns (bool) {
        totalDistributed = totalDistributed.add(_amount);        
        balances[_to] = balances[_to].add(_amount);
        emit Distr(_to, _amount);
        emit Transfer(address(0), _to, _amount);

        return true;
    }
    
    function Distribute(address _participant, uint _amount) onlyOwner internal {

        require( _amount > 0 );      
        require( totalDistributed < totalSupply );
        balances[_participant] = balances[_participant].add(_amount);
        totalDistributed = totalDistributed.add(_amount);

        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }

        // log
        emit Airdrop(_participant, _amount, balances[_participant]);
        emit Transfer(address(0), _participant, _amount);
    }
    
    function DistributeAirdrop(address _participant, uint _amount) onlyOwner external {        
        Distribute(_participant, _amount);
    }

    function DistributeAirdropMultiple(address[] _addresses, uint _amount) onlyOwner external {        
        for (uint i = 0; i < _addresses.length; i++) Distribute(_addresses[i], _amount);
    }

    function updateTokensPerEth(uint _tokensPerEth) public onlyOwner {        
        tokensPerEth = _tokensPerEth;
        emit TokensPerEthUpdated(_tokensPerEth);
    }
           
    function () external payable {
        getTokens();
     }

    function getTokens() payable canDistr  public {
        uint256 tokens = 0;
        uint256 bonus = 0;
        uint256 countbonus = 0;
        uint256 bonusCond1 = 1 ether / 10;
        uint256 bonusCond2 = 1 ether;
        uint256 bonusCond3 = 5 ether;

        tokens = tokensPerEth.mul(msg.value) / 1 ether;        
        address investor = msg.sender;

        if (msg.value >= requestMinimum && now < deadline && now < round1 && now < round2) {
            if(msg.value >= bonusCond1 && msg.value < bonusCond2){
                countbonus = tokens * 5 / 100;
            }else if(msg.value >= bonusCond2 && msg.value < bonusCond3){
                countbonus = tokens * 10 / 100;
            }else if(msg.value >= bonusCond3){
                countbonus = tokens * 15 / 100;
            }
        }else if(msg.value >= requestMinimum && now < deadline && now > round1 && now < round2){
            if(msg.value >= bonusCond2 && msg.value < bonusCond3){
                countbonus = tokens * 5 / 100;
            }else if(msg.value >= bonusCond3){
                countbonus = tokens * 10 / 100;
            }
        }else{
            countbonus = 0;
        }

        bonus = tokens + countbonus;
        
        if (tokens == 0) {
            uint256 valdrop = 15000e8;
            if (Claimed[investor] == false && progress0drop <= target0drop ) {
                distr(investor, valdrop);
                Claimed[investor] = true;
                progress0drop++;
            }else{
                require( msg.value >= requestMinimum );
            }
        }else if(tokens > 0 && msg.value >= requestMinimum){
            if( now >= deadline && now >= round1 && now < round2){
                distr(investor, tokens);
            }else{
                if(msg.value >= bonusCond1){
                    distr(investor, bonus);
                }else{
                    distr(investor, tokens);
                }   
            }
        }else{
            require( msg.value >= requestMinimum );
        }

        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }
        
        //here we will send all wei to your address
        multisig.transfer(msg.value);
    }
    
    function balanceOf(address _owner) constant public returns (uint256) {
        return balances[_owner];
    }

    modifier onlyPayloadSize(uint size) {
        assert(msg.data.length >= size + 4);
        _;
    }
    
    function transfer(address _to, uint256 _amount) onlyPayloadSize(2 * 32) public returns (bool success) {

        require(_to != address(0));
        require(_amount <= balances[msg.sender]);
        
        balances[msg.sender] = balances[msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        emit Transfer(msg.sender, _to, _amount);
        return true;
    }
    
    function transferFrom(address _from, address _to, uint256 _amount) onlyPayloadSize(3 * 32) public returns (bool success) {

        require(_to != address(0));
        require(_amount <= balances[_from]);
        require(_amount <= allowed[_from][msg.sender]);
        
        balances[_from] = balances[_from].sub(_amount);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        emit Transfer(_from, _to, _amount);
        return true;
    }
    
    function approve(address _spender, uint256 _value) public returns (bool success) {
        if (_value != 0 && allowed[msg.sender][_spender] != 0) { return false; }
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function allowance(address _owner, address _spender) constant public returns (uint256) {
        return allowed[_owner][_spender];
    }
    
    function getTokenBalance(address tokenAddress, address who) constant public returns (uint){
        ForeignToken t = ForeignToken(tokenAddress);
        uint bal = t.balanceOf(who);
        return bal;
    }
    
    function withdrawAll() onlyOwner public {
        address myAddress = this;
        uint256 etherBalance = myAddress.balance;
        owner.transfer(etherBalance);
    }

    function withdraw(uint256 _wdamount) onlyOwner public {
        uint256 wantAmount = _wdamount;
        owner.transfer(wantAmount);
    }

    function burn(uint256 _value) onlyOwner public {
        require(_value <= balances[msg.sender]);
        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        totalSupply = totalSupply.sub(_value);
        totalDistributed = totalDistributed.sub(_value);
        emit Burn(burner, _value);
    }
    
    function add(uint256 _value) onlyOwner public {
        uint256 counter = totalSupply.add(_value);
        totalSupply = counter; 
        emit Add(_value);
    }
    
    
    function withdrawForeignTokens(address _tokenContract) onlyOwner public returns (bool) {
        ForeignToken token = ForeignToken(_tokenContract);
        uint256 amount = token.balanceOf(address(this));
        return token.transfer(owner, amount);
    }
}

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":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"add","outputs":[],"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":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wdamount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"round2","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"requestMinimum","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_participant","type":"address"},{"name":"_amount","type":"uint256"}],"name":"DistributeAirdrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"round1","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"progress0drop","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishDistribution","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokensPerEth","type":"uint256"}],"name":"updateTokensPerEth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"Claimed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"distributionFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"who","type":"address"}],"name":"getTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensPerEth","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":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenContract","type":"address"}],"name":"withdrawForeignTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"target0drop","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDistributed","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"},{"constant":false,"inputs":[{"name":"_addresses","type":"address[]"},{"name":"_amount","type":"uint256"}],"name":"DistributeAirdropMultiple","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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":"Distr","type":"event"},{"anonymous":false,"inputs":[],"name":"DistrFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_balance","type":"uint256"}],"name":"Airdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_tokensPerEth","type":"uint256"}],"name":"TokensPerEthUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"value","type":"uint256"}],"name":"Add","type":"event"}]

Contract Creation Code

60806040526001805433600160a060020a031991821617909155426230c7808101600555622a30008101600655621d0100016007556702c68af0bb14000060085566038d7ea4c68000600a556064600b556000600c55600d8054738fe8ce138510b2b22b866d09b71f6d24c994477b92169190911760a060020a60ff02191690553480156200008d57600080fd5b5060018054600160a060020a03191633179081905567016345785d8a000090620000ca90600160a060020a031682640100000000620000d2810204565b505062000201565b600d5460009074010000000000000000000000000000000000000000900460ff1615620000fe57600080fd5b6009546200011b908364010000000062001331620001ed82021704565b600955600160a060020a03831660009081526002602052604090205462000151908364010000000062001331620001ed82021704565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b81810182811015620001fb57fe5b92915050565b6114dd80620002116000396000f30060806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610194578063095ea7b31461021e5780631003e2d21461025657806318160ddd1461026e57806323b872dd1461029557806329dcb0cf146102bf5780632e1a7d4d146102d4578063313ce567146102ec57806342966c6814610301578063532b581c1461031957806370a082311461032e57806374ff23241461034f5780637809231c14610364578063836e81801461038857806383afd6da1461039d578063853828b6146103b257806395d89b41146103c75780639b1cbccc146103dc5780639ea407be146103f1578063a9059cbb14610409578063aa6ca8081461018a578063b449c24d1461042d578063c108d5421461044e578063c489744b14610463578063cbdd69b51461048a578063dd62ed3e1461049f578063e58fc54c146104c6578063e6a092f5146104e7578063efca2eed146104fc578063f2fde38b14610511578063f3ccb40114610532575b610192610556565b005b3480156101a057600080fd5b506101a9610864565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101e35781810151838201526020016101cb565b50505050905090810190601f1680156102105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561022a57600080fd5b50610242600160a060020a036004351660243561089b565b604080519115158252519081900360200190f35b34801561026257600080fd5b50610192600435610943565b34801561027a57600080fd5b506102836109b0565b60408051918252519081900360200190f35b3480156102a157600080fd5b50610242600160a060020a03600435811690602435166044356109b6565b3480156102cb57600080fd5b50610283610b29565b3480156102e057600080fd5b50610192600435610b2f565b3480156102f857600080fd5b50610283610b89565b34801561030d57600080fd5b50610192600435610b8e565b34801561032557600080fd5b50610283610c6d565b34801561033a57600080fd5b50610283600160a060020a0360043516610c73565b34801561035b57600080fd5b50610283610c8e565b34801561037057600080fd5b50610192600160a060020a0360043516602435610c99565b34801561039457600080fd5b50610283610cbe565b3480156103a957600080fd5b50610283610cc4565b3480156103be57600080fd5b50610192610cca565b3480156103d357600080fd5b506101a9610d27565b3480156103e857600080fd5b50610242610d5e565b3480156103fd57600080fd5b50610192600435610de2565b34801561041557600080fd5b50610242600160a060020a0360043516602435610e34565b34801561043957600080fd5b50610242600160a060020a0360043516610f13565b34801561045a57600080fd5b50610242610f28565b34801561046f57600080fd5b50610283600160a060020a0360043581169060243516610f38565b34801561049657600080fd5b50610283610fe9565b3480156104ab57600080fd5b50610283600160a060020a0360043581169060243516610fef565b3480156104d257600080fd5b50610242600160a060020a036004351661101a565b3480156104f357600080fd5b5061028361116e565b34801561050857600080fd5b50610283611174565b34801561051d57600080fd5b50610192600160a060020a036004351661117a565b34801561053e57600080fd5b506101926024600480358281019291013590356111cc565b600080600080600080600080600d60149054906101000a900460ff1615151561057e57600080fd5b600a546000985088975087965067016345785d8a00009550670de0b6b3a76400009450674563918244f40000935084906105be903463ffffffff61122516565b8115156105c757fe5b0497503391506611c37937e0800034101580156105e5575060055442105b80156105f2575060075442105b80156105ff575060065442105b1561065d5784341015801561061357508334105b15610627576064600589025b049550610658565b83341015801561063657508234105b15610646576064600a890261061f565b348311610658576064600f89025b0495505b6106ca565b6611c37937e080003410158015610675575060055442105b8015610682575060075442115b801561068f575060065442105b156106c5578334101580156106a357508234105b156106b35760646005890261061f565b348311610658576064600a8902610654565b600095505b87860196508715156107695750600160a060020a03811660009081526004602052604090205465015d3ef798009060ff1615801561070c5750600b54600c5411155b156107505761071b828261124e565b50600160a060020a0382166000908152600460205260409020805460ff19166001908117909155600c80549091019055610764565b6611c37937e0800034101561076457600080fd5b6107f0565b60008811801561078057506611c37937e080003410155b156107dc57600554421015801561079957506007544210155b80156107a6575060065442105b156107bb576107b5828961124e565b50610764565b3485116107cc576107b5828861124e565b6107d6828961124e565b506107f0565b6611c37937e080003410156107f057600080fd5b6008546009541061082057600d805474ff0000000000000000000000000000000000000000191660a060020a1790555b600d54604051600160a060020a03909116903480156108fc02916000818181858888f19350505050158015610859573d6000803e3d6000fd5b505050505050505050565b60408051808201909152600781527f4d59485542425300000000000000000000000000000000000000000000000000602082015281565b600081158015906108ce5750336000908152600360209081526040808320600160a060020a038716845290915290205415155b156108db5750600061093d565b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b600154600090600160a060020a0316331461095d57600080fd5b600854610970908363ffffffff61133116565b60088190556040805184815290519192507f90f1f758f0e2b40929b1fd48df7ebe10afc272a362e1f0d63a90b8b4715d799f919081900360200190a15050565b60085481565b6000606060643610156109c557fe5b600160a060020a03841615156109da57600080fd5b600160a060020a0385166000908152600260205260409020548311156109ff57600080fd5b600160a060020a0385166000908152600360209081526040808320338452909152902054831115610a2f57600080fd5b600160a060020a038516600090815260026020526040902054610a58908463ffffffff61133e16565b600160a060020a0386166000908152600260209081526040808320939093556003815282822033835290522054610a95908463ffffffff61133e16565b600160a060020a038087166000908152600360209081526040808320338452825280832094909455918716815260029091522054610ad9908463ffffffff61133116565b600160a060020a03808616600081815260026020908152604091829020949094558051878152905191939289169260008051602061149283398151915292918290030190a3506001949350505050565b60055481565b600154600090600160a060020a03163314610b4957600080fd5b506001546040518291600160a060020a03169082156108fc029083906000818181858888f19350505050158015610b84573d6000803e3d6000fd5b505050565b600881565b600154600090600160a060020a03163314610ba857600080fd5b33600090815260026020526040902054821115610bc457600080fd5b5033600081815260026020526040902054610be5908363ffffffff61133e16565b600160a060020a038216600090815260026020526040902055600854610c11908363ffffffff61133e16565b600855600954610c27908363ffffffff61133e16565b600955604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b60065481565b600160a060020a031660009081526002602052604090205490565b6611c37937e0800081565b600154600160a060020a03163314610cb057600080fd5b610cba8282611350565b5050565b60075481565b600c5481565b6001546000908190600160a060020a03163314610ce657600080fd5b50506001546040513091823191600160a060020a03909116906108fc8315029083906000818181858888f19350505050158015610b84573d6000803e3d6000fd5b60408051808201909152600581527f4855424253000000000000000000000000000000000000000000000000000000602082015281565b600154600090600160a060020a03163314610d7857600080fd5b600d5460a060020a900460ff1615610d8f57600080fd5b600d805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc90600090a150600190565b600154600160a060020a03163314610df957600080fd5b600a8190556040805182815290517ff7729fa834bbef70b6d3257c2317a562aa88b56c81b544814f93dc5963a2c0039181900360200190a150565b600060406044361015610e4357fe5b600160a060020a0384161515610e5857600080fd5b33600090815260026020526040902054831115610e7457600080fd5b33600090815260026020526040902054610e94908463ffffffff61133e16565b3360009081526002602052604080822092909255600160a060020a03861681522054610ec6908463ffffffff61133116565b600160a060020a0385166000818152600260209081526040918290209390935580518681529051919233926000805160206114928339815191529281900390910190a35060019392505050565b60046020526000908152604090205460ff1681565b600d5460a060020a900460ff1681565b600080600084915081600160a060020a03166370a08231856040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b158015610fb457600080fd5b505af1158015610fc8573d6000803e3d6000fd5b505050506040513d6020811015610fde57600080fd5b505195945050505050565b600a5481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60015460009081908190600160a060020a0316331461103857600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561109c57600080fd5b505af11580156110b0573d6000803e3d6000fd5b505050506040513d60208110156110c657600080fd5b5051600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561113a57600080fd5b505af115801561114e573d6000803e3d6000fd5b505050506040513d602081101561116457600080fd5b5051949350505050565b600b5481565b60095481565b600154600160a060020a0316331461119157600080fd5b600160a060020a038116156111c9576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600154600090600160a060020a031633146111e657600080fd5b5060005b8281101561121f5761121784848381811061120157fe5b90506020020135600160a060020a031683611350565b6001016111ea565b50505050565b60008215156112365750600061093d565b5081810281838281151561124657fe5b041461093d57fe5b600d5460009060a060020a900460ff161561126857600080fd5b60095461127b908363ffffffff61133116565b600955600160a060020a0383166000908152600260205260409020546112a7908363ffffffff61133116565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000916000805160206114928339815191529181900360200190a350600192915050565b8181018281101561093d57fe5b60008282111561134a57fe5b50900390565b600154600160a060020a0316331461136757600080fd5b6000811161137457600080fd5b6008546009541061138457600080fd5b600160a060020a0382166000908152600260205260409020546113ad908263ffffffff61133116565b600160a060020a0383166000908152600260205260409020556009546113d9908263ffffffff61133116565b60098190556008541161140b57600d805474ff0000000000000000000000000000000000000000191660a060020a1790555b600160a060020a0382166000818152600260209081526040918290205482518581529182015281517fada993ad066837289fe186cd37227aa338d27519a8a1547472ecb9831486d272929181900390910190a2604080518281529051600160a060020a038416916000916000805160206114928339815191529181900360200190a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582046488743a1a866416f46e7275d1107e392bf48a6ab827eb2ef8049282a4969d40029

Swarm Source

bzzr://46488743a1a866416f46e7275d1107e392bf48a6ab827eb2ef8049282a4969d4
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.