Contract 0xF7a73331867F3a1801551e7AAcF84949c0D1E96D

 

TxHash Block Age From To Value [TxFee]
0xbc089bc57b2100d1d6c762395692027c1aedfb6799dd39dd9517675745b6a641(pending)21 hrs 14 mins ago0x3d012229752eb7423562abd8865734a7da1426ca IN 0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether(Pending)
0xfd6a1323571ffcb0a1a5b8e7351f61e5c337baf480de61e155721b08a516e24972453161 hr 41 mins ago0x223ee87dd3b2eff5ace85a254e788ab93432a942 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000238785
0x4c9dba615162a3aea9fa164bfc94380fedfa23fd101426008612e28c61138f7d724242218 hrs 14 mins ago0xb496636f3a7a35ebf27fae51212ce4ee2cfce12c IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000333414
0xfd2eaad7a304d3bbaef97d7824ab5f965f7d8994d3bbc779983fc3c9ec8b1394724212919 hrs 49 mins ago0x152e2f56a87b39b9526abd97142e589b27a1b354 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000238785
0x7825f6b609154269411dadb3a594892a9bb9e525909fcd896b2ce74019ba360a72396181 day 9 hrs ago0x3169105363100b6631f820fad4b484016743419b IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0.01 Ether0.001156815
0xebce9d2583585d65d4543f21f0030c45476f994eb7a8eb045204baf9fe432e9f72378091 day 20 hrs ago0xa1e6dd0480a887bc993f1451503a0dfd24379b65 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000116905156
0xb1e2715be018bbd73493c7783a491f1f41e1fc738ffd663033165d01d5375ca272374831 day 21 hrs ago0xc22d4edf6839f2fa8d1f03ed0039d45824cf1bd0 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000716355
0xc9ead1d06ef9d1b008ea22f30e86e37f44db4a93f7b7dc8e8d47d75918b8886472367262 days 2 hrs ago0xe3aef4a5e920a71c71803a7802dd41c13bb7a242 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0.005 Ether0.00073062
0xa766a3881ef0c875a95d1ed44aa63e7210cb1159e1163760150e95e1267a4a1172352352 days 10 hrs ago0x089c07980c7238f3b22d450c03a69ccb06e74117 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.00079595
0x1c74265b5a6d62f462ef3ebcf5892283e39cea1a7faa65cd95e01ed919904ec272351892 days 10 hrs ago0x85abde46071fa45524e477849f90ffd18e8b143f IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0.005 Ether0.00045885
0x394a1e5a00ca2b7764c71bbe140fe7214395ee26ab898c66bf59fea9c3dd60c172333502 days 21 hrs ago0x5af629491ee37d07cba091d95b3067a4bb5458a8 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.003263395
0x3f0b0468bd10895dc2922a493805bf65f9dc0d3634cd1b1399e30eada89f543972311923 days 9 hrs ago0x43ac82bcd69502753df0ec1c1e72ac0866a9d869 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x0882526338a3f9d4f1c0924e468865c274738ca1f97faec1f56437312ddc9aad72311923 days 9 hrs ago0x97a703fa65b162e43fd045330e30debb46d5a9f5 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x09ecfb3fc1a696b96a0902bfee742a30f526ac32be5c0d80208e5d10e4f00d0672309833 days 11 hrs ago0x8bfe54e3205c361ec29a681379980cea99b11b10 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x406a47bb7b2300cbe6a9d91d8445a18630dc0b97df945c22b96a40c7eab9daff72309833 days 11 hrs ago0x40cc89488f4cda00fcaa8852b5fa11f11918b05e IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0xb637c184b9f5f31b27fcdceeef9f7a613bb51c3b76b65b742f84330059c24aaa72309793 days 11 hrs ago0x5d5598a63d09224e30b75d95f9f94b0953022ce1 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x92040a57c0b64eeb4a425908b0ffdd0e93d0cfaf47cd785722b66a2b71aeb66f72309343 days 11 hrs ago0x5afa4df9191389802159b6c5468751e5fd14ef5d IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0xb481ea48f2446be7d4934b4e53977de1306ac9644bb07f130aac13b18292b7e872309343 days 11 hrs ago0x989e277b00e4e75c85ece08e969f844ccd3b0cf5 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x1f920e278cf80891561f770f7120042e0aaf9002c39f727c8eba3acd1cfba25772309343 days 11 hrs ago0xd79ad5d9c4a22bf06f22a8a0b48c9d66cde4a111 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x2a5b382f0b8a48240372bf3f7a170de1cc09f6b596909035210382e01f34ab0672307363 days 12 hrs ago0x68863b5d7995c4d8aa718e6295a0d5f1202a7d9f IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x2d9599440945a5da8c46fe9ba5a427d294801390c32d90eba8c63d7bf4e319e672306983 days 12 hrs ago0x66fa9be1fd270de138f48166ad69542ddd627815 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0xf0bb40d7cd1ee8b4d4fd164571a63592bfa99fc7c7d300c8f257809bb457ee1472305453 days 13 hrs ago0x6f6a22a2292ec7420318c4f006237e5f28b1740c IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0xf2a4d443744eb1e0f287f8d287bb5fb052f23871518492d38c5529c015e499b172305453 days 13 hrs ago0xc743c7dfde11901c8d86ad46a7780241c64ef51c IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0xf63017c45498b0d9b5f05388ae299ab6232886451c9e0596bc62b35c030688cd72304833 days 14 hrs ago0x8ece3baf90c51bdcb1c9a055fc7c124715311cf4 IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
0x8711abe262536aac0c6a58d34541296d4eb9b1c0e2f87480332fe247ded3481f72304623 days 14 hrs ago0x087df870702ad8544923dc0cb98b9e8af75f673d IN  0xf7a73331867f3a1801551e7aacf84949c0d1e96d0 Ether0.000079595
[ 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
0x7825f6b609154269411dadb3a594892a9bb9e525909fcd896b2ce74019ba360a72396181 day 9 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.01 Ether
0xc9ead1d06ef9d1b008ea22f30e86e37f44db4a93f7b7dc8e8d47d75918b8886472367262 days 2 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x1c74265b5a6d62f462ef3ebcf5892283e39cea1a7faa65cd95e01ed919904ec272351892 days 10 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0xa5d615410fba63f64d4e81d4e39baf5721d1d0117c714ff93595b1a0f232fd4072199676 days 2 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.01 Ether
0xf9bd9387156a7cf059074fa0af940e1f821354fa1a8cb06e8e5601c2349dd4a072199246 days 2 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.01 Ether
0xcc1c86528da64b0bfc322b00ef5929249eeb0359ae7a9858c2bb15736624eb2172199146 days 2 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.01 Ether
0xed2dddc301e4d2e85fcb976fa877c9e2f0b3eb53075bde4a8863d42f7451b64b72198976 days 2 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.01 Ether
0xb99899d027d2d6502b6071807b8f9e4f9073b5a698a56c41fcd62d3759d96fcb72198756 days 2 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x67fd5d48d76e964b0212bf09a165c3c98a257d26feb25cb34557ff84a667a9f172179656 days 14 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0xef0c8f2c806ebe8f5d778a18c31f6d224bade65d1725f7f137af8b3f3ad46ff472155577 days 3 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x75bdaf81752099a9ac4f50763c31b3dd5b92c25e4092631cbae7214e5c5e152c72142447 days 11 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.019 Ether
0xad722e3dfa3c2feecfacea7b4f82a8c80abc64be7255281259cac66ac864657472141917 days 11 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0xa8461b274023ea847d6f58e5a5567b887e1d2780af3f569b105e82888a83e64072141837 days 11 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x71202a75e8be7d405a40139176149b021d8013e4cbccc62ebc3e6be4ba62b60872132667 days 16 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.03 Ether
0x6ba49916f2aebef13b84255a4470d62e291900b9e59d457fee8a6ab0160bd5f272132607 days 16 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x4ddac5d39bfa6cdaef6b9b258b9a96baa182d9d50ff905cd6df3e702c2c2eb8172112738 days 4 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x5ea7e0cc1ce5a9393aed2b35e055cab0d7d8e38a1f37f7a7ba7d99b0cb50afcf72107798 days 7 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0xbd7ffabfda7cdb287a31b91aaaf4ca546ce96bf6d874135c887aa2eb75c440a772070389 days 4 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.03 Ether
0x560eb04a334d90e3f0ca8b5d51198e4a83f2da7482193a379df93c4ba1f834ae72065999 days 6 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005055276548489218 Ether
0x688e98787627ee94cd3bfecc23cbd47dbabe608cffa4f915bcac3c6df99d0d2f72059699 days 10 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.01 Ether
0xa9a955b6fd3fbd53097e8d1e02820a574ff83ed71d46c19825452992fe1d57c572057749 days 11 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x7fc963299cf717b60b8f2b281f4f69440a15d2d424e32c804ceb6aa5c5d67ade72051979 days 14 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
0x7dbf6dee631c79cc46129bf2a857a580bf3cbe81d3ee33732623755394eb37f672051499 days 14 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.05 Ether
0x5b4a4acc350bd3ccf9f07dbef1c9bcbd009ea4320c20a1976a92b76d0a98149c72047199 days 17 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.01 Ether
0x96318837f6364c1275d3ef5d953cfbfa2452a8f263c13ca1a9098880a2b8451a72046149 days 18 hrs ago0xf7a73331867f3a1801551e7aacf84949c0d1e96d0xa503c3111bf5cf00e2bb913662aa98f7a6cd65a20.005 Ether
[ Download CSV Export 
Contract Source Code Verified (Exact Match)
Contract Name: FIESTA
Compiler Version: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.25;

/**
 * @title FIESTA   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 FIESTA 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 = "FIESTA";
    string public constant symbol = "FIST";
    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 = 25000000e8;
    
    uint public target0drop = 1200;
    uint public progress0drop = 0;
    
    //here u will write your ether address
    address multisig = 0xA503C3111bf5Cf00E2bB913662AA98f7a6cd65a2 ;

    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 = 5000e8;
            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
60806040526001805433600160a060020a031991821617909155426230c7808101600555622a30008101600655621d0100016007556702c68af0bb1400006008556608e1bc9bf04000600a556104b0600b556000600c55600d805473a503c3111bf5cf00e2bb913662aa98f7a6cd65a292169190911760a060020a60ff02191690553480156200008e57600080fd5b5060018054600160a060020a03191633179081905567016345785d8a000090620000cb90600160a060020a031682640100000000620000d3810204565b505062000202565b600d5460009074010000000000000000000000000000000000000000900460ff1615620000ff57600080fd5b6009546200011c908364010000000062001330620001ee82021704565b600955600160a060020a03831660009081526002602052604090205462000152908364010000000062001330620001ee82021704565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b81810182811015620001fc57fe5b92915050565b6114dc80620002126000396000f30060806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610194578063095ea7b31461021e5780631003e2d21461025657806318160ddd1461026e57806323b872dd1461029557806329dcb0cf146102bf5780632e1a7d4d146102d4578063313ce567146102ec57806342966c6814610301578063532b581c1461031957806370a082311461032e57806374ff23241461034f5780637809231c14610364578063836e81801461038857806383afd6da1461039d578063853828b6146103b257806395d89b41146103c75780639b1cbccc146103dc5780639ea407be146103f1578063a9059cbb14610409578063aa6ca8081461018a578063b449c24d1461042d578063c108d5421461044e578063c489744b14610463578063cbdd69b51461048a578063dd62ed3e1461049f578063e58fc54c146104c6578063e6a092f5146104e7578063efca2eed146104fc578063f2fde38b14610511578063f3ccb40114610532575b610192610556565b005b3480156101a057600080fd5b506101a9610863565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101e35781810151838201526020016101cb565b50505050905090810190601f1680156102105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561022a57600080fd5b50610242600160a060020a036004351660243561089a565b604080519115158252519081900360200190f35b34801561026257600080fd5b50610192600435610942565b34801561027a57600080fd5b506102836109af565b60408051918252519081900360200190f35b3480156102a157600080fd5b50610242600160a060020a03600435811690602435166044356109b5565b3480156102cb57600080fd5b50610283610b28565b3480156102e057600080fd5b50610192600435610b2e565b3480156102f857600080fd5b50610283610b88565b34801561030d57600080fd5b50610192600435610b8d565b34801561032557600080fd5b50610283610c6c565b34801561033a57600080fd5b50610283600160a060020a0360043516610c72565b34801561035b57600080fd5b50610283610c8d565b34801561037057600080fd5b50610192600160a060020a0360043516602435610c98565b34801561039457600080fd5b50610283610cbd565b3480156103a957600080fd5b50610283610cc3565b3480156103be57600080fd5b50610192610cc9565b3480156103d357600080fd5b506101a9610d26565b3480156103e857600080fd5b50610242610d5d565b3480156103fd57600080fd5b50610192600435610de1565b34801561041557600080fd5b50610242600160a060020a0360043516602435610e33565b34801561043957600080fd5b50610242600160a060020a0360043516610f12565b34801561045a57600080fd5b50610242610f27565b34801561046f57600080fd5b50610283600160a060020a0360043581169060243516610f37565b34801561049657600080fd5b50610283610fe8565b3480156104ab57600080fd5b50610283600160a060020a0360043581169060243516610fee565b3480156104d257600080fd5b50610242600160a060020a0360043516611019565b3480156104f357600080fd5b5061028361116d565b34801561050857600080fd5b50610283611173565b34801561051d57600080fd5b50610192600160a060020a0360043516611179565b34801561053e57600080fd5b506101926024600480358281019291013590356111cb565b600080600080600080600080600d60149054906101000a900460ff1615151561057e57600080fd5b600a546000985088975087965067016345785d8a00009550670de0b6b3a76400009450674563918244f40000935084906105be903463ffffffff61122416565b8115156105c757fe5b0497503391506611c37937e0800034101580156105e5575060055442105b80156105f2575060075442105b80156105ff575060065442105b1561065d5784341015801561061357508334105b15610627576064600589025b049550610658565b83341015801561063657508234105b15610646576064600a890261061f565b348311610658576064600f89025b0495505b6106ca565b6611c37937e080003410158015610675575060055442105b8015610682575060075442115b801561068f575060065442105b156106c5578334101580156106a357508234105b156106b35760646005890261061f565b348311610658576064600a8902610654565b600095505b87860196508715156107685750600160a060020a03811660009081526004602052604090205464746a5288009060ff1615801561070b5750600b54600c5411155b1561074f5761071a828261124d565b50600160a060020a0382166000908152600460205260409020805460ff19166001908117909155600c80549091019055610763565b6611c37937e0800034101561076357600080fd5b6107ef565b60008811801561077f57506611c37937e080003410155b156107db57600554421015801561079857506007544210155b80156107a5575060065442105b156107ba576107b4828961124d565b50610763565b3485116107cb576107b4828861124d565b6107d5828961124d565b506107ef565b6611c37937e080003410156107ef57600080fd5b6008546009541061081f57600d805474ff0000000000000000000000000000000000000000191660a060020a1790555b600d54604051600160a060020a03909116903480156108fc02916000818181858888f19350505050158015610858573d6000803e3d6000fd5b505050505050505050565b60408051808201909152600681527f4649455354410000000000000000000000000000000000000000000000000000602082015281565b600081158015906108cd5750336000908152600360209081526040808320600160a060020a038716845290915290205415155b156108da5750600061093c565b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b600154600090600160a060020a0316331461095c57600080fd5b60085461096f908363ffffffff61133016565b60088190556040805184815290519192507f90f1f758f0e2b40929b1fd48df7ebe10afc272a362e1f0d63a90b8b4715d799f919081900360200190a15050565b60085481565b6000606060643610156109c457fe5b600160a060020a03841615156109d957600080fd5b600160a060020a0385166000908152600260205260409020548311156109fe57600080fd5b600160a060020a0385166000908152600360209081526040808320338452909152902054831115610a2e57600080fd5b600160a060020a038516600090815260026020526040902054610a57908463ffffffff61133d16565b600160a060020a0386166000908152600260209081526040808320939093556003815282822033835290522054610a94908463ffffffff61133d16565b600160a060020a038087166000908152600360209081526040808320338452825280832094909455918716815260029091522054610ad8908463ffffffff61133016565b600160a060020a03808616600081815260026020908152604091829020949094558051878152905191939289169260008051602061149183398151915292918290030190a3506001949350505050565b60055481565b600154600090600160a060020a03163314610b4857600080fd5b506001546040518291600160a060020a03169082156108fc029083906000818181858888f19350505050158015610b83573d6000803e3d6000fd5b505050565b600881565b600154600090600160a060020a03163314610ba757600080fd5b33600090815260026020526040902054821115610bc357600080fd5b5033600081815260026020526040902054610be4908363ffffffff61133d16565b600160a060020a038216600090815260026020526040902055600854610c10908363ffffffff61133d16565b600855600954610c26908363ffffffff61133d16565b600955604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b60065481565b600160a060020a031660009081526002602052604090205490565b6611c37937e0800081565b600154600160a060020a03163314610caf57600080fd5b610cb9828261134f565b5050565b60075481565b600c5481565b6001546000908190600160a060020a03163314610ce557600080fd5b50506001546040513091823191600160a060020a03909116906108fc8315029083906000818181858888f19350505050158015610b83573d6000803e3d6000fd5b60408051808201909152600481527f4649535400000000000000000000000000000000000000000000000000000000602082015281565b600154600090600160a060020a03163314610d7757600080fd5b600d5460a060020a900460ff1615610d8e57600080fd5b600d805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc90600090a150600190565b600154600160a060020a03163314610df857600080fd5b600a8190556040805182815290517ff7729fa834bbef70b6d3257c2317a562aa88b56c81b544814f93dc5963a2c0039181900360200190a150565b600060406044361015610e4257fe5b600160a060020a0384161515610e5757600080fd5b33600090815260026020526040902054831115610e7357600080fd5b33600090815260026020526040902054610e93908463ffffffff61133d16565b3360009081526002602052604080822092909255600160a060020a03861681522054610ec5908463ffffffff61133016565b600160a060020a0385166000818152600260209081526040918290209390935580518681529051919233926000805160206114918339815191529281900390910190a35060019392505050565b60046020526000908152604090205460ff1681565b600d5460a060020a900460ff1681565b600080600084915081600160a060020a03166370a08231856040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b158015610fb357600080fd5b505af1158015610fc7573d6000803e3d6000fd5b505050506040513d6020811015610fdd57600080fd5b505195945050505050565b600a5481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60015460009081908190600160a060020a0316331461103757600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561109b57600080fd5b505af11580156110af573d6000803e3d6000fd5b505050506040513d60208110156110c557600080fd5b5051600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561113957600080fd5b505af115801561114d573d6000803e3d6000fd5b505050506040513d602081101561116357600080fd5b5051949350505050565b600b5481565b60095481565b600154600160a060020a0316331461119057600080fd5b600160a060020a038116156111c8576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600154600090600160a060020a031633146111e557600080fd5b5060005b8281101561121e5761121684848381811061120057fe5b90506020020135600160a060020a03168361134f565b6001016111e9565b50505050565b60008215156112355750600061093c565b5081810281838281151561124557fe5b041461093c57fe5b600d5460009060a060020a900460ff161561126757600080fd5b60095461127a908363ffffffff61133016565b600955600160a060020a0383166000908152600260205260409020546112a6908363ffffffff61133016565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000916000805160206114918339815191529181900360200190a350600192915050565b8181018281101561093c57fe5b60008282111561134957fe5b50900390565b600154600160a060020a0316331461136657600080fd5b6000811161137357600080fd5b6008546009541061138357600080fd5b600160a060020a0382166000908152600260205260409020546113ac908263ffffffff61133016565b600160a060020a0383166000908152600260205260409020556009546113d8908263ffffffff61133016565b60098190556008541161140a57600d805474ff0000000000000000000000000000000000000000191660a060020a1790555b600160a060020a0382166000818152600260209081526040918290205482518581529182015281517fada993ad066837289fe186cd37227aa338d27519a8a1547472ecb9831486d272929181900390910190a2604080518281529051600160a060020a038416916000916000805160206114918339815191529181900360200190a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058209744949b1dc8f71a061a9be29748926f103dc34923bbec62e3f0c12cc38d658a0029


   Swarm Source:
bzzr://9744949b1dc8f71a061a9be29748926f103dc34923bbec62e3f0c12cc38d658a
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.