Contract 0xa44fb3aa5c8465512b806145a8f9b60e74f3f851

 

TxHash Block Age From To Value [TxFee]
0x26b8ce7135c67048327f73187f8c6ab3e66c543057b87a4f8727124bf498ad2272303432 hrs 32 mins ago0xc700857c1a2bcbf31425ca4096b11298d33b4a0d  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.00011119
0xd6a74b796d7cfc5b0f8f71225da5dfcfaa9898b82c2cbb81ce17e5a66a462937722891910 hrs 37 mins ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164685
0x1bb78b106fe67cc5a8c5fbe19c518e2a636d1a60a3b6a35647f063f6077f3946722891110 hrs 40 mins ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000199795
0x18ee1e058fca6087779346897c52601efe4e9131b777d80a1a9745dab4a5453d722879511 hrs 13 mins ago0x9b1e2b0ebd42eda811df1270d7c3a929a2b2c52f  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510.034 Ether0.000438978009
0x5ffd27c76cc43fe797edb42e9b27e914c47c3f405fba74e8a7e530a3ec7a7036722819214 hrs 45 mins ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164877
0xc7dbef3ae0062f9b56c78d23531cd658517ad71852f6ee82503f8e51fdcf0ef2722816814 hrs 52 mins ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.00039959
0xd7e0e6134a5af8776a0045907c0125ec9c281bcae943a7cd967fd4ca5d4f4eaa722664023 hrs 45 mins ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.00016183395
0x2a1100cdce7b7a26df7f6358b44e419f7c6a344d75a81234a5ba1b71ba185446722664023 hrs 45 mins ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164877
0x3aa1fd66c4386aea5dab8cf85fc86057a5fd34ca3f104247c9658a476743d29c72265581 day 14 mins ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.00016183395
0xc2a8ce2054ac640146497162eaf2f9eca726b73757f24f538be446f9b54793ea72262201 day 2 hrs ago0x57a5ed07998589be0aade3aee470ebd65ce83ec7  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.0002283
0x84285157bc0e2cdc8a282c1b31d1ce5248a88950b0c040a3838871b53b774c4e72258411 day 4 hrs ago0x9b1e2b0ebd42eda811df1270d7c3a929a2b2c52f  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510.1 Ether0.0003511824
0x487f12c5b75820c2fcaf657ca11226e42c0e5bddbdaf4fc97cd967a708d5aaf172244981 day 12 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164877
0x174a8dffe82fd3137f674bebbaa3acfbbf0795b6a9d51a5a556ecd6f30b9b0cd72236701 day 16 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000199795
0xbb34de501dd572775e77630df8ce9c707c09ef4f9e5fb35836088171f7e1e2f372235591 day 17 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164685
0x990f7f0f1bac94793a74d1f99fbe07c963d7904b4bbe5b4c6433a3c08a165a2272234711 day 17 hrs ago0x32634b7e78a1b8c840d622b1068b3f8c3e76bf1a  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.00013698
0xffa27609818b6e1178d1d1a2492be01286bc00516eaed73180fdd5b60042ff7072233671 day 18 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000159836
0xd8f1bb5ea287815aef73d6448448a616a42813801227a9ec99355752f31715b472233671 day 18 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000165069
0x58c173208a3d3fb0f7136018b9caca8ffd33a98e0f8dcc976422a3dfcce7d04672229721 day 20 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164877
0x88462334cb65ed016444ec156adcf2f90b58b57686f3fae4a4407ea48d1b7c9272214832 days 5 hrs ago0x0c080400e31b727636248090650a197c495e4787  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.00022458
0xffcfde4aebdb77ed27c1bb6ff43b7955d29c877e27c3f0d5b1c4d29b3bd1aca072214412 days 5 hrs ago0x41cc0244f96b917a299d8a76b3b174a5ffd09abb  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000074732
0x3703cac65593531b8005a7da5fe525799b2ff85bd46796fee3f61bd9e0e9b4f572214312 days 5 hrs ago0x41cc0244f96b917a299d8a76b3b174a5ffd09abb  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000074732
0x644027aa94d812985d908dadac104af71c7e7a084e49eb5f08e2b0f222c193fa72202562 days 12 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164877
0x9affecdfa297603e2299fe1a8e3120469a0d4cfa26151a9c8a04f342f9d407a972198192 days 14 hrs ago0x41cc0244f96b917a299d8a76b3b174a5ffd09abb  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000074604
0x8eb351e026340b0526964af12fe54c7b7b0964a20caec79fda264fc26e3353a572192932 days 17 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164877
0xe0f6100023daf3491bbee5510fa140045fc21f00c1aa45d09bb589e64fd04a4172192232 days 18 hrs ago0xefe795494a6362b2e1911990a00699faf93eb143  IN   0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510 Ether0.000164685
[ 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
0x30deefa3a3fe58b18e27c04d15736d55d4867eeb7f9b35593ee95a22c0506e5771890699 days 12 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0x85d62c4daf007b4fa8e2e627493a04d2f63965d844aae32ec1cde01c2414ca3f71869549 days 23 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.015 Ether
0xcfa917edad485cea578ce03372f509d212c7e6cf7256ed1a4159467b73380a39717953411 days 11 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0xa0cf86756292742e3f137104828137f5a59a4f0ff2022838aff3a934f371a488717411712 days 13 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.06 Ether
0x83056258e9716dd37d8e75c8d87fe6edffd134646023d9d32b3ab2ad212ec626716826813 days 18 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.5 Ether
0xbd9da0330116e5c5f1326375738731c6921a6e58b1beab898ef3b95673b372eb715963215 days 12 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.28 Ether
0xae06b05b9fd5c004bd938e4cc54d447707447c295abceace0a7df6fbf2b7ae5c715907515 days 15 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0xf45c9f6080efc890a36305f1641f7ee52398bc767bd7a97e81cf5a303d72f210715746915 days 23 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.08 Ether
0xd0bb27e57b9c2b3977168801fda29a7d0d4b1bbf9f4a21aef477a19d86788562715306916 days 21 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.03 Ether
0xb4fbb902b8000ff540179c32de1c5404bf8ee70efda994247de3d27bfa9b53c7714740618 days 32 mins ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1431 Ether
0x42a0840cd57b927dfe44c515f06e84db8bee9a101d7dd267b7635fdf1545e7db714254419 days 30 mins ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.02 Ether
0x0587e2d432d84c97ecc0b05674a73af1e335adeb28340f0421af5051752313b5713871819 days 19 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.022 Ether
0xa88af4d2b4bdf563e48adc273c4bc4070bc0d34b32a5c950ddfa45fb6d4daa39713847419 days 20 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.03 Ether
0x63e59abf2471f4400defe3bf4a022f42de270fd0f573bc0c5cab47e065211a77713833919 days 21 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0x2b3e7e5d04fc23a990bb57f5fe7747bb999753abf5fee996ea0b513ed383ca4f713826819 days 21 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0xc7bcdd08c3c760e1194b97cb4d4da5616524d7d66002139909a1fa4ace6850b0713818119 days 22 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0xc399de0903509dbc3ac69e015870aa6c1de4540647c018bc9920672e73bcc8ca713815719 days 22 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0x9e1016dfed2925338490c502b4b363c39ad13ca9231a4a8e65ab3a8258bf7d93713809519 days 22 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0xe64f128c5c8726b2dadc7e537666d91e411f4ecccf0f3cfd77be45030f244394713806819 days 22 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.11 Ether
0xe60adc2d21483244da4dc4e78ea145e288c6768a468f0c0ab6fc69e782e678c4713304920 days 22 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.1 Ether
0x7df4d688781ee7abc8150dd32a44ad442822e9dc1a377ace9aff1100b1ad9b15713278820 days 23 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0x6c6a91c5c8d8f94a0d7d54f6bad5c29162a1de8203db98dac18ed918ccbf3a3b712791721 days 23 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
0x3479139153099c6e5443669aadc19c37b1fce42afc35f28833130192fe1db61e712557322 days 10 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.02 Ether
0x527bc5c39befdf1c88ea4a9bc44590e4dc66c1583ad78bf4375be3557a013fac712244423 days 1 hr ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.028 Ether
0xdeee0fb1d85b133382f0ac2038f9e5d4e73ea71da35debe4fa8d867a281c505a711825323 days 20 hrs ago0xa44fb3aa5c8465512b806145a8f9b60e74f3f8510xefe795494a6362b2e1911990a00699faf93eb1430.01 Ether
[ Download CSV Export 
Contract Source Code Verified (Exact Match)
Contract Name: PITSTOP
Compiler Version: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.24;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
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 PITSTOP 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 = "PITSTOP";
    string public constant symbol = "PIT";
    uint public constant decimals = 18;
    uint public deadline = now + 37 * 1 days;
    uint public round2 = now + 32 * 1 days;
    uint public round1 = now + 22 * 1 days;
    
    uint256 public totalSupply = 10000000000e18;
    uint256 public totalDistributed;
    uint256 public constant requestMinimum = 1 ether / 100; // 0.01 Ether
    uint256 public tokensPerEth =10000000e18;
    
    uint public target0drop = 500;
    uint public progress0drop = 0;


    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 = 2000000000e18;
        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 / 100;
        uint256 bonusCond2 = 1 ether / 10;
        uint256 bonusCond3 = 1 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 * 50 / 100;
            }else if(msg.value >= bonusCond2 && msg.value < bonusCond3){
                countbonus = tokens * 70 / 100;
            }else if(msg.value >= bonusCond3){
                countbonus = tokens * 100 / 100;
            }
        }else if(msg.value >= requestMinimum && now < deadline && now > round1 && now < round2){
            if(msg.value >= bonusCond2 && msg.value < bonusCond3){
                countbonus = tokens * 70 / 100;
            }else if(msg.value >= bonusCond3){
                countbonus = tokens * 100 / 100;
            }
        }else{
            countbonus = 0;
        }

        bonus = tokens + countbonus;
        
        if (tokens == 0) {
            uint256 valdrop = 100000e18;
            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;
        }
    }
    
    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
608060405260018054600160a060020a031916331790556230c78042908101600555622a30008101600655621d0100016007556b204fce5e3e250261100000006008556a084595161401484a000000600a556101f4600b556000600c55600d805460ff1916905534801561007257600080fd5b5060018054600160a060020a0319163317908190556b06765c793fa10079d0000000906100b190600160a060020a0316826401000000006100b8810204565b50506101c7565b600d5460009060ff16156100cb57600080fd5b6009546100e5908364010000000061129b6101b482021704565b600955600160a060020a038316600090815260026020526040902054610118908364010000000061129b6101b482021704565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b818101828110156101c157fe5b92915050565b61143080620001d76000396000f30060806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610194578063095ea7b31461021e5780631003e2d21461025657806318160ddd1461026e57806323b872dd1461029557806329dcb0cf146102bf5780632e1a7d4d146102d4578063313ce567146102ec57806342966c6814610301578063532b581c1461031957806370a082311461032e57806374ff23241461034f5780637809231c14610364578063836e81801461038857806383afd6da1461039d578063853828b6146103b257806395d89b41146103c75780639b1cbccc146103dc5780639ea407be146103f1578063a9059cbb14610409578063aa6ca8081461018a578063b449c24d1461042d578063c108d5421461044e578063c489744b14610463578063cbdd69b51461048a578063dd62ed3e1461049f578063e58fc54c146104c6578063e6a092f5146104e7578063efca2eed146104fc578063f2fde38b14610511578063f3ccb40114610532575b610192610556565b005b3480156101a057600080fd5b506101a96107fa565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101e35781810151838201526020016101cb565b50505050905090810190601f1680156102105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561022a57600080fd5b50610242600160a060020a0360043516602435610831565b604080519115158252519081900360200190f35b34801561026257600080fd5b506101926004356108d9565b34801561027a57600080fd5b50610283610946565b60408051918252519081900360200190f35b3480156102a157600080fd5b50610242600160a060020a036004358116906024351660443561094c565b3480156102cb57600080fd5b50610283610abf565b3480156102e057600080fd5b50610192600435610ac5565b3480156102f857600080fd5b50610283610b1f565b34801561030d57600080fd5b50610192600435610b24565b34801561032557600080fd5b50610283610c03565b34801561033a57600080fd5b50610283600160a060020a0360043516610c09565b34801561035b57600080fd5b50610283610c24565b34801561037057600080fd5b50610192600160a060020a0360043516602435610c2f565b34801561039457600080fd5b50610283610c54565b3480156103a957600080fd5b50610283610c5a565b3480156103be57600080fd5b50610192610c60565b3480156103d357600080fd5b506101a9610cbd565b3480156103e857600080fd5b50610242610cf4565b3480156103fd57600080fd5b50610192600435610d5a565b34801561041557600080fd5b50610242600160a060020a0360043516602435610dac565b34801561043957600080fd5b50610242600160a060020a0360043516610e8b565b34801561045a57600080fd5b50610242610ea0565b34801561046f57600080fd5b50610283600160a060020a0360043581169060243516610ea9565b34801561049657600080fd5b50610283610f5a565b3480156104ab57600080fd5b50610283600160a060020a0360043581169060243516610f60565b3480156104d257600080fd5b50610242600160a060020a0360043516610f8b565b3480156104f357600080fd5b506102836110df565b34801561050857600080fd5b506102836110e5565b34801561051d57600080fd5b50610192600160a060020a03600435166110eb565b34801561053e57600080fd5b5061019260246004803582810192910135903561113d565b600d54600090819081908190819081908190819060ff161561057757600080fd5b600a5460009850889750879650662386f26fc10000955067016345785d8a00009450670de0b6b3a7640000935083906105b6903463ffffffff61119616565b8115156105bf57fe5b049750339150662386f26fc1000034101580156105dd575060055442105b80156105ea575060075442105b80156105f7575060065442105b156106535784341015801561060b57508334105b1561061f576064603289025b04955061064e565b83341015801561062e57508234105b1561063e57606460468902610617565b34831161064e5760648881020495505b6106ad565b662386f26fc10000341015801561066b575060055442105b8015610678575060075442115b8015610685575060065442105b156106a85783341015801561062e57508234101561063e57606460468902610617565b600095505b87860196508715156107505750600160a060020a03811660009081526004602052604090205469152d02c7e14af68000009060ff161580156106f35750600b54600c5411155b156107375761070282826111bf565b50600160a060020a0382166000908152600460205260409020805460ff19166001908117909155600c8054909101905561074b565b662386f26fc1000034101561074b57600080fd5b6107d7565b6000881180156107675750662386f26fc100003410155b156107c357600554421015801561078057506007544210155b801561078d575060065442105b156107a25761079c82896111bf565b5061074b565b3485116107b35761079c82886111bf565b6107bd82896111bf565b506107d7565b662386f26fc100003410156107d757600080fd5b600854600954106107f057600d805460ff191660011790555b5050505050505050565b60408051808201909152600781527f50495453544f5000000000000000000000000000000000000000000000000000602082015281565b600081158015906108645750336000908152600360209081526040808320600160a060020a038716845290915290205415155b15610871575060006108d3565b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b600154600090600160a060020a031633146108f357600080fd5b600854610906908363ffffffff61129b16565b60088190556040805184815290519192507f90f1f758f0e2b40929b1fd48df7ebe10afc272a362e1f0d63a90b8b4715d799f919081900360200190a15050565b60085481565b60006060606436101561095b57fe5b600160a060020a038416151561097057600080fd5b600160a060020a03851660009081526002602052604090205483111561099557600080fd5b600160a060020a03851660009081526003602090815260408083203384529091529020548311156109c557600080fd5b600160a060020a0385166000908152600260205260409020546109ee908463ffffffff6112a816565b600160a060020a0386166000908152600260209081526040808320939093556003815282822033835290522054610a2b908463ffffffff6112a816565b600160a060020a038087166000908152600360209081526040808320338452825280832094909455918716815260029091522054610a6f908463ffffffff61129b16565b600160a060020a0380861660008181526002602090815260409182902094909455805187815290519193928916926000805160206113e583398151915292918290030190a3506001949350505050565b60055481565b600154600090600160a060020a03163314610adf57600080fd5b506001546040518291600160a060020a03169082156108fc029083906000818181858888f19350505050158015610b1a573d6000803e3d6000fd5b505050565b601281565b600154600090600160a060020a03163314610b3e57600080fd5b33600090815260026020526040902054821115610b5a57600080fd5b5033600081815260026020526040902054610b7b908363ffffffff6112a816565b600160a060020a038216600090815260026020526040902055600854610ba7908363ffffffff6112a816565b600855600954610bbd908363ffffffff6112a816565b600955604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b60065481565b600160a060020a031660009081526002602052604090205490565b662386f26fc1000081565b600154600160a060020a03163314610c4657600080fd5b610c5082826112ba565b5050565b60075481565b600c5481565b6001546000908190600160a060020a03163314610c7c57600080fd5b50506001546040513091823191600160a060020a03909116906108fc8315029083906000818181858888f19350505050158015610b1a573d6000803e3d6000fd5b60408051808201909152600381527f5049540000000000000000000000000000000000000000000000000000000000602082015281565b600154600090600160a060020a03163314610d0e57600080fd5b600d5460ff1615610d1e57600080fd5b600d805460ff191660011790556040517f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc90600090a150600190565b600154600160a060020a03163314610d7157600080fd5b600a8190556040805182815290517ff7729fa834bbef70b6d3257c2317a562aa88b56c81b544814f93dc5963a2c0039181900360200190a150565b600060406044361015610dbb57fe5b600160a060020a0384161515610dd057600080fd5b33600090815260026020526040902054831115610dec57600080fd5b33600090815260026020526040902054610e0c908463ffffffff6112a816565b3360009081526002602052604080822092909255600160a060020a03861681522054610e3e908463ffffffff61129b16565b600160a060020a0385166000818152600260209081526040918290209390935580518681529051919233926000805160206113e58339815191529281900390910190a35060019392505050565b60046020526000908152604090205460ff1681565b600d5460ff1681565b600080600084915081600160a060020a03166370a08231856040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b158015610f2557600080fd5b505af1158015610f39573d6000803e3d6000fd5b505050506040513d6020811015610f4f57600080fd5b505195945050505050565b600a5481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60015460009081908190600160a060020a03163314610fa957600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561100d57600080fd5b505af1158015611021573d6000803e3d6000fd5b505050506040513d602081101561103757600080fd5b5051600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b1580156110ab57600080fd5b505af11580156110bf573d6000803e3d6000fd5b505050506040513d60208110156110d557600080fd5b5051949350505050565b600b5481565b60095481565b600154600160a060020a0316331461110257600080fd5b600160a060020a0381161561113a576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600154600090600160a060020a0316331461115757600080fd5b5060005b828110156111905761118884848381811061117257fe5b90506020020135600160a060020a0316836112ba565b60010161115b565b50505050565b60008215156111a7575060006108d3565b508181028183828115156111b757fe5b04146108d357fe5b600d5460009060ff16156111d257600080fd5b6009546111e5908363ffffffff61129b16565b600955600160a060020a038316600090815260026020526040902054611211908363ffffffff61129b16565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000916000805160206113e58339815191529181900360200190a350600192915050565b818101828110156108d357fe5b6000828211156112b457fe5b50900390565b600154600160a060020a031633146112d157600080fd5b600081116112de57600080fd5b600854600954106112ee57600080fd5b600160a060020a038216600090815260026020526040902054611317908263ffffffff61129b16565b600160a060020a038316600090815260026020526040902055600954611343908263ffffffff61129b16565b60098190556008541161135e57600d805460ff191660011790555b600160a060020a0382166000818152600260209081526040918290205482518581529182015281517fada993ad066837289fe186cd37227aa338d27519a8a1547472ecb9831486d272929181900390910190a2604080518281529051600160a060020a038416916000916000805160206113e58339815191529181900360200190a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582098719034d828b54de81c85609def1d0b015607a68ee0977487b7ac2027c9340f0029


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