ETH Price: $3,283.04 (+1.17%)

Contract

0x6f91e584F4c150951386B133E21AA769C8B7d060
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer53425062018-03-29 10:42:142480 days ago1522320134IN
0x6f91e584...9C8B7d060
1.500021 ETH0.0000211
Transfer53423852018-03-29 10:15:232480 days ago1522318523IN
0x6f91e584...9C8B7d060
0.1 ETH0.0014547721
Transfer53423482018-03-29 10:05:292480 days ago1522317929IN
0x6f91e584...9C8B7d060
0.3 ETH0.0020892221
Transfer53423142018-03-29 9:56:562480 days ago1522317416IN
0x6f91e584...9C8B7d060
0.3144587 ETH0.0020842921
Transfer53422992018-03-29 9:52:352480 days ago1522317155IN
0x6f91e584...9C8B7d060
16.6 ETH0.001385520
Transfer53422882018-03-29 9:49:302480 days ago1522316970IN
0x6f91e584...9C8B7d060
16.8 ETH0.0019707620
Transfer53422292018-03-29 9:35:432480 days ago1522316143IN
0x6f91e584...9C8B7d060
0.747 ETH0.0017697721
Transfer53422202018-03-29 9:32:432480 days ago1522315963IN
0x6f91e584...9C8B7d060
0.5 ETH0.0049637550
Transfer53421772018-03-29 9:21:452480 days ago1522315305IN
0x6f91e584...9C8B7d060
0.44 ETH0.0029782530
Transfer53421152018-03-29 9:10:542480 days ago1522314654IN
0x6f91e584...9C8B7d060
0.5 ETH0.0028402741
Transfer53420952018-03-29 9:06:222480 days ago1522314382IN
0x6f91e584...9C8B7d060
30 ETH0.001985520
Transfer53420872018-03-29 9:03:312480 days ago1522314211IN
0x6f91e584...9C8B7d060
2 ETH0.0006927510
Transfer53420792018-03-29 8:59:552480 days ago1522313995IN
0x6f91e584...9C8B7d060
1 ETH0.000496375
Transfer53420432018-03-29 8:51:072480 days ago1522313467IN
0x6f91e584...9C8B7d060
0.7 ETH0.000421375
Transfer53420102018-03-29 8:43:352480 days ago1522313015IN
0x6f91e584...9C8B7d060
0.595 ETH0.0040702741
Transfer53419512018-03-29 8:31:402480 days ago1522312300IN
0x6f91e584...9C8B7d060
60.8862362 ETH0.001985520
Transfer53419412018-03-29 8:29:462480 days ago1522312186IN
0x6f91e584...9C8B7d060
0.35 ETH0.0034552741
Transfer53419362018-03-29 8:28:572480 days ago1522312137IN
0x6f91e584...9C8B7d060
0.207 ETH0.0040702741
Transfer53419092018-03-29 8:20:362480 days ago1522311636IN
0x6f91e584...9C8B7d060
5.855 ETH0.0020847721
Transfer53418922018-03-29 8:15:502480 days ago1522311350IN
0x6f91e584...9C8B7d060
88.796 ETH0.001985520
Transfer53417982018-03-29 7:47:122480 days ago1522309632IN
0x6f91e584...9C8B7d060
0.5 ETH0.00039714
Transfer53417632018-03-29 7:33:492480 days ago1522308829IN
0x6f91e584...9C8B7d060
0.15 ETH0.0020847721
Transfer53417282018-03-29 7:26:332480 days ago1522308393IN
0x6f91e584...9C8B7d060
1.09 ETH0.0028402741
Transfer53416842018-03-29 7:17:332480 days ago1522307853IN
0x6f91e584...9C8B7d060
0.5 ETH0.0020782530
Transfer53416692018-03-29 7:13:492480 days ago1522307629IN
0x6f91e584...9C8B7d060
0.5 ETH0.0000422
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
53423852018-03-29 10:15:232480 days ago1522318523
0x6f91e584...9C8B7d060
0.1 ETH
53423482018-03-29 10:05:292480 days ago1522317929
0x6f91e584...9C8B7d060
0.3 ETH
53423142018-03-29 9:56:562480 days ago1522317416
0x6f91e584...9C8B7d060
0.3144587 ETH
53422992018-03-29 9:52:352480 days ago1522317155
0x6f91e584...9C8B7d060
16.6 ETH
53422882018-03-29 9:49:302480 days ago1522316970
0x6f91e584...9C8B7d060
16.8 ETH
53422292018-03-29 9:35:432480 days ago1522316143
0x6f91e584...9C8B7d060
0.747 ETH
53422202018-03-29 9:32:432480 days ago1522315963
0x6f91e584...9C8B7d060
0.5 ETH
53421772018-03-29 9:21:452480 days ago1522315305
0x6f91e584...9C8B7d060
0.44 ETH
53421152018-03-29 9:10:542480 days ago1522314654
0x6f91e584...9C8B7d060
0.5 ETH
53420952018-03-29 9:06:222480 days ago1522314382
0x6f91e584...9C8B7d060
30 ETH
53420872018-03-29 9:03:312480 days ago1522314211
0x6f91e584...9C8B7d060
2 ETH
53420792018-03-29 8:59:552480 days ago1522313995
0x6f91e584...9C8B7d060
1 ETH
53420432018-03-29 8:51:072480 days ago1522313467
0x6f91e584...9C8B7d060
0.7 ETH
53420102018-03-29 8:43:352480 days ago1522313015
0x6f91e584...9C8B7d060
0.595 ETH
53419512018-03-29 8:31:402480 days ago1522312300
0x6f91e584...9C8B7d060
60.8862362 ETH
53419412018-03-29 8:29:462480 days ago1522312186
0x6f91e584...9C8B7d060
0.35 ETH
53419362018-03-29 8:28:572480 days ago1522312137
0x6f91e584...9C8B7d060
0.207 ETH
53419092018-03-29 8:20:362480 days ago1522311636
0x6f91e584...9C8B7d060
5.855 ETH
53418922018-03-29 8:15:502480 days ago1522311350
0x6f91e584...9C8B7d060
88.796 ETH
53417982018-03-29 7:47:122480 days ago1522309632
0x6f91e584...9C8B7d060
0.5 ETH
53417632018-03-29 7:33:492480 days ago1522308829
0x6f91e584...9C8B7d060
0.15 ETH
53417282018-03-29 7:26:332480 days ago1522308393
0x6f91e584...9C8B7d060
1.09 ETH
53416842018-03-29 7:17:332480 days ago1522307853
0x6f91e584...9C8B7d060
0.5 ETH
53416582018-03-29 7:11:592480 days ago1522307519
0x6f91e584...9C8B7d060
0.2 ETH
53415082018-03-29 6:33:422480 days ago1522305222
0x6f91e584...9C8B7d060
1.04 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BigbomTokenSale

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-03-26
*/

/**
 * @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) {
    if (a == 0) {
      return 0;
    }
    uint256 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 c;
  }

  /**
  * @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) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
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, uint _value);
  //event Transfer(address indexed from, address indexed to, uint256 value);
}


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
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, uint _value);
  //event Approval(address indexed owner, address indexed spender, uint256 value);
}




/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances. 
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public returns (bool) {
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of. 
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) public constant returns (uint256 balance) {
    return balances[_owner];
  }

}


/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) allowed;


  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amout of tokens to be transfered
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    //balances[_from] = balances[_from].sub(_value); // this was removed
    allowed[_from][msg.sender] = _allowance.sub(_value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    require((_value == 0) || (allowed[msg.sender][_spender] == 0));

    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifing the amount of tokens still avaible for the spender.
   */
  function allowance(address _owner, address _spender) public constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

}


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    if (newOwner != address(0)) {
      owner = newOwner;
    }
  }

}

contract BigbomContributorWhiteList is Ownable {
    mapping(address=>uint) public addressMinCap;
    mapping(address=>uint) public addressMaxCap;

    function BigbomContributorWhiteList() public  {}

    event ListAddress( address _user, uint _mincap, uint _maxcap, uint _time );

    // Owner can delist by setting cap = 0.
    // Onwer can also change it at any time
    function listAddress( address _user, uint _mincap, uint _maxcap ) public onlyOwner {
        require(_mincap <= _maxcap);
        require(_user != address(0x0));

        addressMinCap[_user] = _mincap;
        addressMaxCap[_user] = _maxcap;
        ListAddress( _user, _mincap, _maxcap, now );
    }

    // an optimization in case of network congestion
    function listAddresses( address[] _users, uint[] _mincap, uint[] _maxcap ) public  onlyOwner {
        require(_users.length == _mincap.length );
        require(_users.length == _maxcap.length );
        for( uint i = 0 ; i < _users.length ; i++ ) {
            listAddress( _users[i], _mincap[i], _maxcap[i] );
        }
    }

    function getMinCap( address _user ) public constant returns(uint) {
        return addressMinCap[_user];
    }
    function getMaxCap( address _user ) public constant returns(uint) {
        return addressMaxCap[_user];
    }

}

contract BigbomPrivateSaleList is Ownable {
    mapping(address=>uint) public addressCap;

    function BigbomPrivateSaleList() public  {}

    event ListAddress( address _user, uint _amount, uint _time );

    // Owner can delist by setting amount = 0.
    // Onwer can also change it at any time
    function listAddress( address _user, uint _amount ) public onlyOwner {
        require(_user != address(0x0));

        addressCap[_user] = _amount;
        ListAddress( _user, _amount, now );
    }

    // an optimization in case of network congestion
    function listAddresses( address[] _users, uint[] _amount ) public onlyOwner {
        require(_users.length == _amount.length );
        for( uint i = 0 ; i < _users.length ; i++ ) {
            listAddress( _users[i], _amount[i] );
        }
    }

    function getCap( address _user ) public constant returns(uint) {
        return addressCap[_user];
    }

}

contract BigbomToken is StandardToken, Ownable {
    
    string  public  constant name = "Bigbom";
    string  public  constant symbol = "BBO";
    uint    public  constant decimals = 18;
    uint    public   totalSupply = 2000000000 * 1e18; //2,000,000,000

    uint    public  constant founderAmount = 200000000 * 1e18; // 200,000,000
    uint    public  constant coreStaffAmount = 60000000 * 1e18; // 60,000,000
    uint    public  constant advisorAmount = 140000000 * 1e18; // 140,000,000
    uint    public  constant networkGrowthAmount = 600000000 * 1e18; //600,000,000
    uint    public  constant reserveAmount = 635000000 * 1e18; // 635,000,000
    uint    public  constant bountyAmount = 40000000 * 1e18; // 40,000,000
    uint    public  constant publicSaleAmount = 275000000 * 1e18; // 275,000,000

    address public   bbFounderCoreStaffWallet ;
    address public   bbAdvisorWallet;
    address public   bbAirdropWallet;
    address public   bbNetworkGrowthWallet;
    address public   bbReserveWallet;
    address public   bbPublicSaleWallet;

    uint    public  saleStartTime;
    uint    public  saleEndTime;

    address public  tokenSaleContract;
    BigbomPrivateSaleList public privateSaleList;

    mapping (address => bool) public frozenAccount;
    mapping (address => uint) public frozenTime;
    mapping (address => uint) public maxAllowedAmount;

    /* This generates a public event on the blockchain that will notify clients */
    event FrozenFunds(address target, bool frozen, uint _seconds);
   

    function checkMaxAllowed(address target)  public constant  returns (uint) {
        var maxAmount  = balances[target];
        if(target == bbFounderCoreStaffWallet){
            maxAmount = 10000000 * 1e18;
        }
        if(target == bbAdvisorWallet){
            maxAmount = 10000000 * 1e18;
        }
        if(target == bbAirdropWallet){
            maxAmount = 40000000 * 1e18;
        }
        if(target == bbNetworkGrowthWallet){
            maxAmount = 20000000 * 1e18;
        }
        if(target == bbReserveWallet){
            maxAmount = 6350000 * 1e18;
        }
        return maxAmount;
    }

    function selfFreeze(bool freeze, uint _seconds) public {
        // selfFreeze cannot more than 7 days
        require(_seconds <= 7 * 24 * 3600);
        // if unfreeze
        if(!freeze){
            // get End time of frozenAccount
            var frozenEndTime = frozenTime[msg.sender];
            // if now > frozenEndTime
            require (now >= frozenEndTime);
            // unfreeze account
            frozenAccount[msg.sender] = freeze;
            // set time to 0
            _seconds = 0;           
        }else{
            frozenAccount[msg.sender] = freeze;
            
        }
        // set endTime = now + _seconds to freeze
        frozenTime[msg.sender] = now + _seconds;
        FrozenFunds(msg.sender, freeze, _seconds);
        
    }

    function freezeAccount(address target, bool freeze, uint _seconds) onlyOwner public {
        
        // if unfreeze
        if(!freeze){
            // get End time of frozenAccount
            var frozenEndTime = frozenTime[target];
            // if now > frozenEndTime
            require (now >= frozenEndTime);
            // unfreeze account
            frozenAccount[target] = freeze;
            // set time to 0
            _seconds = 0;           
        }else{
            frozenAccount[target] = freeze;
            
        }
        // set endTime = now + _seconds to freeze
        frozenTime[target] = now + _seconds;
        FrozenFunds(target, freeze, _seconds);
        
    }

    modifier validDestination( address to ) {
        require(to != address(0x0));
        require(to != address(this) );
        require(!frozenAccount[to]);                       // Check if recipient is frozen
        _;
    }
    modifier validFrom(address from){
        require(!frozenAccount[from]);                     // Check if sender is frozen
        _;
    }
    modifier onlyWhenTransferEnabled() {
        if( now <= saleEndTime && now >= saleStartTime ) {
            require( msg.sender == tokenSaleContract );
        }
        _;
    }
    modifier onlyPrivateListEnabled(address _to){
        require(now <= saleStartTime);
        uint allowcap = privateSaleList.getCap(_to);
        require (allowcap > 0);
        _;
    }
    function setPrivateList(BigbomPrivateSaleList _privateSaleList)   onlyOwner public {
        require(_privateSaleList != address(0x0));
        privateSaleList = _privateSaleList;

    }
    
    function BigbomToken(uint startTime, uint endTime, address admin, address _bbFounderCoreStaffWallet, address _bbAdvisorWallet,
        address _bbAirdropWallet,
        address _bbNetworkGrowthWallet,
        address _bbReserveWallet, 
        address _bbPublicSaleWallet
        ) public {

        require(admin!=address(0x0));
        require(_bbAirdropWallet!=address(0x0));
        require(_bbAdvisorWallet!=address(0x0));
        require(_bbReserveWallet!=address(0x0));
        require(_bbNetworkGrowthWallet!=address(0x0));
        require(_bbFounderCoreStaffWallet!=address(0x0));
        require(_bbPublicSaleWallet!=address(0x0));

        // Mint all tokens. Then disable minting forever.
        balances[msg.sender] = totalSupply;
        Transfer(address(0x0), msg.sender, totalSupply);
        // init internal amount limit
        // set address when deploy
        bbAirdropWallet = _bbAirdropWallet;
        bbAdvisorWallet = _bbAdvisorWallet;
        bbReserveWallet = _bbReserveWallet;
        bbNetworkGrowthWallet = _bbNetworkGrowthWallet;
        bbFounderCoreStaffWallet = _bbFounderCoreStaffWallet;
        bbPublicSaleWallet = _bbPublicSaleWallet;
        
        saleStartTime = startTime;
        saleEndTime = endTime;
        transferOwnership(admin); // admin could drain tokens that were sent here by mistake
    }

    function setTimeSale(uint startTime, uint endTime) onlyOwner public {
        require (now < saleStartTime || now > saleEndTime);
        require (now < startTime);
        require ( startTime < endTime);
        saleStartTime = startTime;
        saleEndTime = endTime;
    }

    function setTokenSaleContract(address _tokenSaleContract) onlyOwner public {
        // check address ! 0
        require(_tokenSaleContract != address(0x0));
        // do not allow run when saleStartTime <= now <= saleEndTime
        require (now < saleStartTime || now > saleEndTime);

        tokenSaleContract = _tokenSaleContract;
    }
    function transfer(address _to, uint _value)
        onlyWhenTransferEnabled
        validDestination(_to)
        validFrom(msg.sender)
        public 
        returns (bool) {
        if (msg.sender == bbFounderCoreStaffWallet || msg.sender == bbAdvisorWallet|| 
            msg.sender == bbAirdropWallet|| msg.sender == bbNetworkGrowthWallet|| msg.sender == bbReserveWallet){

            // check maxAllowedAmount
            var withdrawAmount =  maxAllowedAmount[msg.sender]; 
            var defaultAllowAmount = checkMaxAllowed(msg.sender);
            var maxAmount = defaultAllowAmount - withdrawAmount;
            // _value transfer must <= maxAmount
            require(maxAmount >= _value); // 

            // if maxAmount = 0, need to block this msg.sender
            if(maxAmount==_value){
               
                var isTransfer = super.transfer(_to, _value);
                 // freeze account
                selfFreeze(true, 24 * 3600); // temp freeze account 24h
                maxAllowedAmount[msg.sender] = 0;
                return isTransfer;
            }else{
                // set max withdrawAmount
                maxAllowedAmount[msg.sender] = maxAllowedAmount[msg.sender].add(_value); // 
                
            }
        }
        return  super.transfer(_to, _value);
            
    }

    function transferPrivateSale(address _to, uint _value)
        onlyOwner
        onlyPrivateListEnabled(_to) 
        public 
        returns (bool) {
         return transfer( _to,  _value);
    }

    function transferFrom(address _from, address _to, uint _value)
        onlyWhenTransferEnabled
        validDestination(_to)
        validFrom(_from)
        public 
        returns (bool) {
            if (_from == bbFounderCoreStaffWallet || _from == bbAdvisorWallet|| 
                _from == bbAirdropWallet|| _from == bbNetworkGrowthWallet|| _from == bbReserveWallet){

                  // check maxAllowedAmount
                var withdrawAmount =  maxAllowedAmount[_from]; 
                var defaultAllowAmount = checkMaxAllowed(_from);
                var maxAmount = defaultAllowAmount - withdrawAmount; 
                // _value transfer must <= maxAmount
                require(maxAmount >= _value); 

                // if maxAmount = 0, need to block this _from
                if(maxAmount==_value){
                   
                    var isTransfer = super.transfer(_to, _value);
                     // freeze account
                    selfFreeze(true, 24 * 3600); 
                    maxAllowedAmount[_from] = 0;
                    return isTransfer;
                }else{
                    // set max withdrawAmount
                    maxAllowedAmount[_from] = maxAllowedAmount[_from].add(_value); 
                    
                }
            }
            return super.transferFrom(_from, _to, _value);
    }

    event Burn(address indexed _burner, uint _value);

    function burn(uint _value) onlyWhenTransferEnabled
        public 
        returns (bool){
        balances[msg.sender] = balances[msg.sender].sub(_value);
        totalSupply = totalSupply.sub(_value);
        Burn(msg.sender, _value);
        Transfer(msg.sender, address(0x0), _value);
        return true;
    }

    // save some gas by making only one contract call
    function burnFrom(address _from, uint256 _value) onlyWhenTransferEnabled
        public 
        returns (bool) {
        assert( transferFrom( _from, msg.sender, _value ) );
        return burn(_value);
    }

    function emergencyERC20Drain( ERC20 token, uint amount ) onlyOwner public {
        token.transfer( owner, amount );
    }
}

contract BigbomTokenSale {
    address             public admin;
    address             public bigbomMultiSigWallet;
    BigbomToken         public token;
    uint                public raisedWei;
    bool                public haltSale;
    uint                      public openSaleStartTime;
    uint                      public openSaleEndTime;
    BigbomContributorWhiteList public list;

    mapping(address=>uint)    public participated;

    using SafeMath for uint;

    function BigbomTokenSale( address _admin,
                              address _bigbomMultiSigWallet,
                              BigbomContributorWhiteList _whilteListContract,
                              uint _publicSaleStartTime,
                              uint _publicSaleEndTime,
                              BigbomToken _token) public       
    {
        require (_publicSaleStartTime < _publicSaleEndTime);
        require (_admin != address(0x0));
        require (_bigbomMultiSigWallet != address(0x0));
        require (_whilteListContract != address(0x0));
        require (_token != address(0x0));

        admin = _admin;
        bigbomMultiSigWallet = _bigbomMultiSigWallet;
        list = _whilteListContract;
        openSaleStartTime = _publicSaleStartTime;
        openSaleEndTime = _publicSaleEndTime;
        token = _token;
    }
    
    function saleEnded() public constant returns(bool) {
        return now > openSaleEndTime;
    }

    function saleStarted() public constant returns(bool) {
        return now >= openSaleStartTime;
    }

    function setHaltSale( bool halt ) public {
        require( msg.sender == admin );
        haltSale = halt;
    }
    // this is a seperate function so user could query it before crowdsale starts
    function contributorMinCap( address contributor ) public constant returns(uint) {
        return list.getMinCap( contributor );
    }
    function contributorMaxCap( address contributor, uint amountInWei ) public constant returns(uint) {
        uint cap = list.getMaxCap( contributor );
        if( cap == 0 ) return 0;
        uint remainedCap = cap.sub( participated[ contributor ] );

        if( remainedCap > amountInWei ) return amountInWei;
        else return remainedCap;
    }

    function checkMaxCap( address contributor, uint amountInWei ) internal returns(uint) {
        uint result = contributorMaxCap( contributor, amountInWei );
        participated[contributor] = participated[contributor].add( result );
        return result;
    }

    function() payable public {
        buy( msg.sender );
    }



    function getBonus(uint _tokens) public view returns (uint){
        if (now > openSaleStartTime && now <= (openSaleStartTime+3 days)){
            return _tokens.mul(25).div(100);
        }
        else
        {
            return 0;
        }
    }

    event Buy( address _buyer, uint _tokens, uint _payedWei, uint _bonus );
    function buy( address recipient ) payable public returns(uint){
        //require( tx.gasprice <= 50000000000 wei );

        require( ! haltSale );
        require( saleStarted() );
        require( ! saleEnded() );

        uint mincap = contributorMinCap(recipient);

        uint maxcap = checkMaxCap(recipient, msg.value );
        uint allowValue = msg.value;
        require( mincap > 0 );
        require( maxcap > 0 );
        // fail if msg.value < mincap
        require (msg.value >= mincap);
        // send to msg.sender, not to recipient if value > maxcap
        if( msg.value > maxcap  ) {
            allowValue = maxcap;
            //require (allowValue >= mincap);
            msg.sender.transfer( msg.value.sub( maxcap ) );
        }

        // send payment to wallet
        sendETHToMultiSig(allowValue);
        raisedWei = raisedWei.add( allowValue );
        // 1ETH = 20000 BBO
        uint recievedTokens = allowValue.mul( 20000 );
        // TODO bounce
        uint bonus = getBonus(recievedTokens);
        
        recievedTokens = recievedTokens.add(bonus);
        assert( token.transfer( recipient, recievedTokens ) );
        //

        Buy( recipient, recievedTokens, allowValue, bonus );

        return msg.value;
    }

    function sendETHToMultiSig( uint value ) internal {
        bigbomMultiSigWallet.transfer( value );
    }

    event FinalizeSale();
    // function is callable by everyone
    function finalizeSale() public {
        require( saleEnded() );
        //require( msg.sender == admin );

        // burn remaining tokens
        token.burn(token.balanceOf(this));

        FinalizeSale();
    }

    // ETH balance is always expected to be 0.
    // but in case something went wrong, we use this function to extract the eth.
    function emergencyDrain(ERC20 anyToken) public returns(bool){
        require( msg.sender == admin );
        require( saleEnded() );

        if( this.balance > 0 ) {
            sendETHToMultiSig( this.balance );
        }

        if( anyToken != address(0x0) ) {
            assert( anyToken.transfer(bigbomMultiSigWallet, anyToken.balanceOf(this)) );
        }

        return true;
    }

    // just to check that funds goes to the right place
    // tokens are not given in return
    function debugBuy() payable public {
        require( msg.value > 0 );
        sendETHToMultiSig( msg.value );
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"openSaleStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"contributor","type":"address"},{"name":"amountInWei","type":"uint256"}],"name":"contributorMaxCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"list","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"contributor","type":"address"}],"name":"contributorMinCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokens","type":"uint256"}],"name":"getBonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalizeSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"saleStarted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"haltSale","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"halt","type":"bool"}],"name":"setHaltSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"anyToken","type":"address"}],"name":"emergencyDrain","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"saleEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bigbomMultiSigWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"debugBuy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"participated","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"raisedWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"openSaleEndTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_admin","type":"address"},{"name":"_bigbomMultiSigWallet","type":"address"},{"name":"_whilteListContract","type":"address"},{"name":"_publicSaleStartTime","type":"uint256"},{"name":"_publicSaleEndTime","type":"uint256"},{"name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_buyer","type":"address"},{"indexed":false,"name":"_tokens","type":"uint256"},{"indexed":false,"name":"_payedWei","type":"uint256"},{"indexed":false,"name":"_bonus","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[],"name":"FinalizeSale","type":"event"}]

6060604052341561000f57600080fd5b60405160c08061150e83398101604052808051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091905050818310151561006657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141515156100a257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141515156100de57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415151561011a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561015657600080fd5b856000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826005819055508160068190555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050506112928061027c6000396000f300606060405260043610610107576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063053e3169146101135780630992e4c31461013c5780630f560cd714610192578063361b94be146101e75780634aa66b281461023457806358a687ec1461026b5780635c474f9e146102805780635fbaa390146102ad57806362aac84d146102da57806371a18bfb146102ff5780639b8906ae14610350578063a6f07a5c1461037d578063b1f56187146103d2578063b3bd870a146103dc578063bc59d45a14610429578063e58018c514610452578063f088d5471461047b578063f851a440146104bd578063fc0c546a14610512575b61011033610567565b50005b341561011e57600080fd5b61012661082b565b6040518082815260200191505060405180910390f35b341561014757600080fd5b61017c600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610831565b6040518082815260200191505060405180910390f35b341561019d57600080fd5b6101a561099a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101f257600080fd5b61021e600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109c0565b6040518082815260200191505060405180910390f35b341561023f57600080fd5b6102556004808035906020019091905050610aa9565b6040518082815260200191505060405180910390f35b341561027657600080fd5b61027e610b00565b005b341561028b57600080fd5b610293610cd5565b604051808215151515815260200191505060405180910390f35b34156102b857600080fd5b6102c0610ce2565b604051808215151515815260200191505060405180910390f35b34156102e557600080fd5b6102fd60048080351515906020019091905050610cf5565b005b341561030a57600080fd5b610336600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d6d565b604051808215151515815260200191505060405180910390f35b341561035b57600080fd5b61036361100b565b604051808215151515815260200191505060405180910390f35b341561038857600080fd5b610390611017565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103da61103d565b005b34156103e757600080fd5b610413600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611057565b6040518082815260200191505060405180910390f35b341561043457600080fd5b61043c61106f565b6040518082815260200191505060405180910390f35b341561045d57600080fd5b610465611075565b6040518082815260200191505060405180910390f35b6104a7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610567565b6040518082815260200191505060405180910390f35b34156104c857600080fd5b6104d061107b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561051d57600080fd5b6105256110a0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600080600080600460009054906101000a900460ff1615151561058c57600080fd5b610594610cd5565b151561059f57600080fd5b6105a761100b565b1515156105b357600080fd5b6105bc876109c0565b94506105c887346110c6565b93503492506000851115156105dc57600080fd5b6000841115156105eb57600080fd5b8434101515156105fa57600080fd5b83341115610658578392503373ffffffffffffffffffffffffffffffffffffffff166108fc610632863461117490919063ffffffff16565b9081150290604051600060405180830381858888f19350505050151561065757600080fd5b5b6106618361118d565b610676836003546111f290919063ffffffff16565b600381905550610691614e208461121090919063ffffffff16565b915061069c82610aa9565b90506106b181836111f290919063ffffffff16565b9150600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561078057600080fd5b6102c65a03f1151561079157600080fd5b5050506040518051905015156107a357fe5b7fbeae048c6d270d9469f86cf6e8fedda3c60ad770f16c24c9fc131c8e9a09101d87838584604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390a13495505050505050919050565b60055481565b6000806000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166394a5601a866000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156108fb57600080fd5b6102c65a03f1151561090c57600080fd5b505050604051805190509150600082141561092a5760009250610992565b61097c600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361117490919063ffffffff16565b90508381111561098e57839250610992565b8092505b505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166330184635836000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610a8757600080fd5b6102c65a03f11515610a9857600080fd5b505050604051805190509050919050565b600060055442118015610ac357506203f480600554014211155b15610af657610aef6064610ae160198561121090919063ffffffff16565b61124b90919063ffffffff16565b9050610afb565b600090505b919050565b610b0861100b565b1515610b1357600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b505050604051805190506000604051602001526040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b1515610c8b57600080fd5b6102c65a03f11515610c9c57600080fd5b50505060405180519050507f49943394d1d9872d58364da1ca74d2b7af3f9be1146ac3c37513b0b1cb97ae2b60405160405180910390a1565b6000600554421015905090565b600460009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d5057600080fd5b80600460006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610dca57600080fd5b610dd261100b565b1515610ddd57600080fd5b60003073ffffffffffffffffffffffffffffffffffffffff16311115610e1e57610e1d3073ffffffffffffffffffffffffffffffffffffffff163161118d565b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515611002578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610f3657600080fd5b6102c65a03f11515610f4757600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515610fde57600080fd5b6102c65a03f11515610fef57600080fd5b50505060405180519050151561100157fe5b5b60019050919050565b60006006544211905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003411151561104c57600080fd5b6110553461118d565b565b60086020528060005260406000206000915090505481565b60035481565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806110d38484610831565b905061112781600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111f290919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508091505092915050565b600082821115151561118257fe5b818303905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156111ef57600080fd5b50565b600080828401905083811015151561120657fe5b8091505092915050565b60008060008414156112255760009150611244565b828402905082848281151561123657fe5b0414151561124057fe5b8091505b5092915050565b600080828481151561125957fe5b04905080915050929150505600a165627a7a723058202c87df47c35d18f118f395e87ea76f3c03fc3a305ff6cd3470b665500bd089f10029000000000000000000000000ada72ca1a93a5690b16e53700843b0327b3728b60000000000000000000000001da6f5c607c358778ff0b1d23a843ec9c84c6d2c00000000000000000000000035b59527647cff6be6dfca8c9519feb77dc575ea000000000000000000000000000000000000000000000000000000005abb67a0000000000000000000000000000000000000000000000000000000005abf5c200000000000000000000000008227cf5171bfdafad9110775c4dce2cc5897b5dd

Deployed Bytecode

0x606060405260043610610107576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063053e3169146101135780630992e4c31461013c5780630f560cd714610192578063361b94be146101e75780634aa66b281461023457806358a687ec1461026b5780635c474f9e146102805780635fbaa390146102ad57806362aac84d146102da57806371a18bfb146102ff5780639b8906ae14610350578063a6f07a5c1461037d578063b1f56187146103d2578063b3bd870a146103dc578063bc59d45a14610429578063e58018c514610452578063f088d5471461047b578063f851a440146104bd578063fc0c546a14610512575b61011033610567565b50005b341561011e57600080fd5b61012661082b565b6040518082815260200191505060405180910390f35b341561014757600080fd5b61017c600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610831565b6040518082815260200191505060405180910390f35b341561019d57600080fd5b6101a561099a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101f257600080fd5b61021e600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109c0565b6040518082815260200191505060405180910390f35b341561023f57600080fd5b6102556004808035906020019091905050610aa9565b6040518082815260200191505060405180910390f35b341561027657600080fd5b61027e610b00565b005b341561028b57600080fd5b610293610cd5565b604051808215151515815260200191505060405180910390f35b34156102b857600080fd5b6102c0610ce2565b604051808215151515815260200191505060405180910390f35b34156102e557600080fd5b6102fd60048080351515906020019091905050610cf5565b005b341561030a57600080fd5b610336600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d6d565b604051808215151515815260200191505060405180910390f35b341561035b57600080fd5b61036361100b565b604051808215151515815260200191505060405180910390f35b341561038857600080fd5b610390611017565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103da61103d565b005b34156103e757600080fd5b610413600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611057565b6040518082815260200191505060405180910390f35b341561043457600080fd5b61043c61106f565b6040518082815260200191505060405180910390f35b341561045d57600080fd5b610465611075565b6040518082815260200191505060405180910390f35b6104a7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610567565b6040518082815260200191505060405180910390f35b34156104c857600080fd5b6104d061107b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561051d57600080fd5b6105256110a0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600080600080600460009054906101000a900460ff1615151561058c57600080fd5b610594610cd5565b151561059f57600080fd5b6105a761100b565b1515156105b357600080fd5b6105bc876109c0565b94506105c887346110c6565b93503492506000851115156105dc57600080fd5b6000841115156105eb57600080fd5b8434101515156105fa57600080fd5b83341115610658578392503373ffffffffffffffffffffffffffffffffffffffff166108fc610632863461117490919063ffffffff16565b9081150290604051600060405180830381858888f19350505050151561065757600080fd5b5b6106618361118d565b610676836003546111f290919063ffffffff16565b600381905550610691614e208461121090919063ffffffff16565b915061069c82610aa9565b90506106b181836111f290919063ffffffff16565b9150600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561078057600080fd5b6102c65a03f1151561079157600080fd5b5050506040518051905015156107a357fe5b7fbeae048c6d270d9469f86cf6e8fedda3c60ad770f16c24c9fc131c8e9a09101d87838584604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390a13495505050505050919050565b60055481565b6000806000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166394a5601a866000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156108fb57600080fd5b6102c65a03f1151561090c57600080fd5b505050604051805190509150600082141561092a5760009250610992565b61097c600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361117490919063ffffffff16565b90508381111561098e57839250610992565b8092505b505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166330184635836000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610a8757600080fd5b6102c65a03f11515610a9857600080fd5b505050604051805190509050919050565b600060055442118015610ac357506203f480600554014211155b15610af657610aef6064610ae160198561121090919063ffffffff16565b61124b90919063ffffffff16565b9050610afb565b600090505b919050565b610b0861100b565b1515610b1357600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b505050604051805190506000604051602001526040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b1515610c8b57600080fd5b6102c65a03f11515610c9c57600080fd5b50505060405180519050507f49943394d1d9872d58364da1ca74d2b7af3f9be1146ac3c37513b0b1cb97ae2b60405160405180910390a1565b6000600554421015905090565b600460009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d5057600080fd5b80600460006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610dca57600080fd5b610dd261100b565b1515610ddd57600080fd5b60003073ffffffffffffffffffffffffffffffffffffffff16311115610e1e57610e1d3073ffffffffffffffffffffffffffffffffffffffff163161118d565b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515611002578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610f3657600080fd5b6102c65a03f11515610f4757600080fd5b505050604051805190506000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515610fde57600080fd5b6102c65a03f11515610fef57600080fd5b50505060405180519050151561100157fe5b5b60019050919050565b60006006544211905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003411151561104c57600080fd5b6110553461118d565b565b60086020528060005260406000206000915090505481565b60035481565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806110d38484610831565b905061112781600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111f290919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508091505092915050565b600082821115151561118257fe5b818303905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156111ef57600080fd5b50565b600080828401905083811015151561120657fe5b8091505092915050565b60008060008414156112255760009150611244565b828402905082848281151561123657fe5b0414151561124057fe5b8091505b5092915050565b600080828481151561125957fe5b04905080915050929150505600a165627a7a723058202c87df47c35d18f118f395e87ea76f3c03fc3a305ff6cd3470b665500bd089f10029

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

000000000000000000000000ada72ca1a93a5690b16e53700843b0327b3728b60000000000000000000000001da6f5c607c358778ff0b1d23a843ec9c84c6d2c00000000000000000000000035b59527647cff6be6dfca8c9519feb77dc575ea000000000000000000000000000000000000000000000000000000005abb67a0000000000000000000000000000000000000000000000000000000005abf5c200000000000000000000000008227cf5171bfdafad9110775c4dce2cc5897b5dd

-----Decoded View---------------
Arg [0] : _admin (address): 0xadA72Ca1a93A5690b16E53700843B0327b3728b6
Arg [1] : _bigbomMultiSigWallet (address): 0x1dA6F5c607c358778fF0b1d23A843ec9c84c6D2c
Arg [2] : _whilteListContract (address): 0x35B59527647cFF6Be6dFCA8C9519FeB77DC575eA
Arg [3] : _publicSaleStartTime (uint256): 1522231200
Arg [4] : _publicSaleEndTime (uint256): 1522490400
Arg [5] : _token (address): 0x8227CF5171BFdaFad9110775C4Dce2CC5897B5dd

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000ada72ca1a93a5690b16e53700843b0327b3728b6
Arg [1] : 0000000000000000000000001da6f5c607c358778ff0b1d23a843ec9c84c6d2c
Arg [2] : 00000000000000000000000035b59527647cff6be6dfca8c9519feb77dc575ea
Arg [3] : 000000000000000000000000000000000000000000000000000000005abb67a0
Arg [4] : 000000000000000000000000000000000000000000000000000000005abf5c20
Arg [5] : 0000000000000000000000008227cf5171bfdafad9110775c4dce2cc5897b5dd


Swarm Source

bzzr://2c87df47c35d18f118f395e87ea76f3c03fc3a305ff6cd3470b665500bd089f1

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.