ETH Price: $3,833.78 (+6.09%)

Contract

0xAB8b8aDda5A07976Ac696034ea2cd83156ccBD84
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Age:24H
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
51293202018-02-21 8:58:182485 days ago1519203498
Dock: Token Sale
0.02 ETH
51293112018-02-21 8:55:402485 days ago1519203340
Dock: Token Sale
0.06251896 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
0.2 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
0.1 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
0.1 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
1 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
0.07 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
1 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
1 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
1 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
0.2 ETH
51293102018-02-21 8:55:292485 days ago1519203329
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
0.16 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
1 ETH
51293092018-02-21 8:55:172485 days ago1519203317
Dock: Token Sale
0.73 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DockCrowdsale

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-02-21
*/

pragma solidity ^0.4.18;

/**
 * @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;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  /**
   * @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 {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    Unpause();
  }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  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;
  }

  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;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  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 view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  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 view 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);
}

/**
 * @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) {
    require(_to != address(0));
    require(_value <= balances[msg.sender]);

    // SafeMath.sub will throw if there is not enough balance.
    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 view returns (uint256 balance) {
    return balances[_owner];
  }

}

/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract BurnableToken is BasicToken {

    event Burn(address indexed burner, uint256 value);

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public {
        require(_value <= balances[msg.sender]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure

        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        totalSupply = totalSupply.sub(_value);
        Burn(burner, _value);
    }
}


/**
 * @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)) internal 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 amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

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

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @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) {
    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 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}


/*
 * DockToken is a standard ERC20 token with some additional functionalities:
 * - Transfers are only enabled after contract owner enables it (after the ICO)
 *
 * Note: Token Offering == Initial Coin Offering(ICO)
 */

contract DockToken is StandardToken, Ownable {
    string public constant symbol = "DOCK";
    string public constant name = "DockToken";
    uint8 public constant decimals = 18;
    uint256 public constant INITIAL_SUPPLY = 1000000000 * (10 ** uint256(decimals));
    uint256 public constant TOKEN_OFFERING_ALLOWANCE = 1000000000 * (10 ** uint256(decimals));
    uint256 public constant ADMIN_ALLOWANCE = INITIAL_SUPPLY - TOKEN_OFFERING_ALLOWANCE;
    
    // Address of token admin
    address public adminAddr;

    // Address of token offering
	  address public tokenOfferingAddr;

    // Enable transfers after conclusion of token offering
    bool public transferEnabled = false;
    
    /**
     * Check if transfer is allowed
     *
     * Permissions:
     *                                                       Owner    Admin    OffeirngContract    Others
     * transfer (before transferEnabled is true)               x        x            x               x
     * transferFrom (before transferEnabled is true)           x        v            v               x
     * transfer/transferFrom after transferEnabled is true     v        x            x               v
     */
    modifier onlyWhenTransferAllowed() {
        require(transferEnabled || msg.sender == adminAddr || msg.sender == tokenOfferingAddr);
        _;
    }

    /**
     * Check if token offering address is set or not
     */
    modifier onlyTokenOfferingAddrNotSet() {
        require(tokenOfferingAddr == address(0x0));
        _;
    }

    /**
     * Check if address is a valid destination to transfer tokens to
     * - must not be zero address
     * - must not be the token address
     * - must not be the owner's address
     * - must not be the admin's address
     * - must not be the token offering contract address
     */
    modifier validDestination(address to) {
        require(to != address(0x0));
        require(to != address(this));
        require(to != owner);
        require(to != address(adminAddr));
        require(to != address(tokenOfferingAddr));
        _;
    }
    
    /**
     * Token contract constructor
     *
     * @param admin Address of admin account
     */
    function DockToken(address admin) public {
        totalSupply = INITIAL_SUPPLY;
        
        // Mint tokens
        balances[msg.sender] = totalSupply;
        Transfer(address(0x0), msg.sender, totalSupply);

        // Approve allowance for admin account
        adminAddr = admin;
        approve(adminAddr, ADMIN_ALLOWANCE);
    }

    /**
     * Set token offering to approve allowance for offering contract to distribute tokens
     *
     * @param offeringAddr Address of token offering contract
     * @param amountForSale Amount of tokens for sale, set 0 to max out
     */
    function setTokenOffering(address offeringAddr, uint256 amountForSale) external onlyOwner onlyTokenOfferingAddrNotSet {
        require(!transferEnabled);

        uint256 amount = (amountForSale == 0) ? TOKEN_OFFERING_ALLOWANCE : amountForSale;
        require(amount <= TOKEN_OFFERING_ALLOWANCE);

        approve(offeringAddr, amount);
        tokenOfferingAddr = offeringAddr;
    }
    
    /**
     * Enable transfers
     */
    function enableTransfer() external onlyOwner {
        transferEnabled = true;

        // End the offering
        approve(tokenOfferingAddr, 0);
    }

    /**
     * Transfer from sender to another account
     *
     * @param to Destination address
     * @param value Amount of docks to send
     */
    function transfer(address to, uint256 value) public onlyWhenTransferAllowed validDestination(to) returns (bool) {
        return super.transfer(to, value);
    }
    
    /**
     * Transfer from `from` account to `to` account using allowance in `from` account to the sender
     *
     * @param from Origin address
     * @param to Destination address
     * @param value Amount of docks to send
     */
    function transferFrom(address from, address to, uint256 value) public onlyWhenTransferAllowed validDestination(to) returns (bool) {
        return super.transferFrom(from, to, value);
    }
    
}

contract DockCrowdsale is Pausable {
    using SafeMath for uint256;

     // Token to be sold
    DockToken public token;

    // Start and end timestamps where contributions are allowed (both inclusive)
    uint256 public startTime;
    uint256 public endTime;

    // Address where funds are collected
    address public beneficiary;

    // Price of the tokens as in tokens per ether
    uint256 public rate;

    // Amount of raised in Wei 
    uint256 public weiRaised;

    // Timelines for contribution limit policy
    uint256 public capReleaseTimestamp;

    uint256 public extraTime;

    // Whitelists of participant address
    mapping(address => bool) public whitelists;

    // Contributions in Wei for each participant
    mapping(address => uint256) public contributions;

    // Funding cap in ETH. 
    uint256 public constant FUNDING_ETH_HARD_CAP = 9123 * 1 ether;

    // Min contribution is 0.01 ether
    uint256 public minContribution = 10**16;

    // Max contribution is 1 ether
    uint256 public maxContribution = 10**18;

    //remainCap
    uint256 public remainCap;

    // The current stage of the offering
    Stages public stage;

    enum Stages { 
        Setup,
        OfferingStarted,
        OfferingEnded
    }

    event OfferingOpens(uint256 startTime, uint256 endTime);
    event OfferingCloses(uint256 endTime, uint256 totalWeiRaised);
    /**
     * Event for token purchase logging
     *
     * @param purchaser Who paid for the tokens
     * @param value Weis paid for purchase
     * @return amount Amount of tokens purchased
     */
    event TokenPurchase(address indexed purchaser, uint256 value, uint256 amount);

    /**
     * Modifier that requires certain stage before executing the main function body
     *
     * @param expectedStage Value that the current stage is required to match
     */
    modifier atStage(Stages expectedStage) {
        require(stage == expectedStage);
        _;
    }

    
    /**
     * The constructor of the contract.
     * @param dockToEtherRate Number of docks per ether
     * @param beneficiaryAddr Address where funds are collected
     */
    function DockCrowdsale(
        uint256 dockToEtherRate, 
        address beneficiaryAddr, 
        address tokenAddress
    ) public {
        require(dockToEtherRate > 0);
        require(beneficiaryAddr != address(0));
        require(tokenAddress != address(0));

        token = DockToken(tokenAddress);
        rate = dockToEtherRate;
        beneficiary = beneficiaryAddr;
        stage = Stages.Setup;
    }

    /**
     * Fallback function can be used to buy tokens
     */
    function () public payable {
        buy();
    }

    /**
     * Withdraw available ethers into beneficiary account, serves as a safety, should never be needed
     */
    function ownerSafeWithdrawal() external onlyOwner {
        beneficiary.transfer(this.balance);
    }

    function updateRate(uint256 dockToEtherRate) public onlyOwner atStage(Stages.Setup) {
        rate = dockToEtherRate;
    }

    /**
     * Whitelist participant address 
     * 
     * 
     * @param users Array of addresses to be whitelisted
     */
    function whitelist(address[] users) public onlyOwner {
        for (uint32 i = 0; i < users.length; i++) {
            whitelists[users[i]] = true;
        }
    }
    function whitelistRemove(address user) public onlyOwner{
      require(whitelists[user]);
      whitelists[user] = false;
    }
    /**
     * Start the offering
     *
     * @param durationInSeconds Extra duration of the offering on top of the minimum 4 hours
     */
    function startOffering(uint256 durationInSeconds) public onlyOwner atStage(Stages.Setup) {
        stage = Stages.OfferingStarted;
        startTime = now;
        capReleaseTimestamp = startTime + 5 hours;
        extraTime = capReleaseTimestamp + 7 days;
        endTime = extraTime.add(durationInSeconds);
        OfferingOpens(startTime, endTime);
    }

    /**
     * End the offering
     */
    function endOffering() public onlyOwner atStage(Stages.OfferingStarted) {
        endOfferingImpl();
    }
    
  
    /**
     * Function to invest ether to buy tokens, can be called directly or called by the fallback function
     * Only whitelisted users can buy tokens.
     *
     * @return bool Return true if purchase succeeds, false otherwise
     */
    function buy() public payable whenNotPaused atStage(Stages.OfferingStarted) returns (bool) {
        if (whitelists[msg.sender]) {
              buyTokens();
              return true;
        }
        revert();
    }

    /**
     * Function that returns whether offering has ended
     * 
     * @return bool Return true if token offering has ended
     */
    function hasEnded() public view returns (bool) {
        return now > endTime || stage == Stages.OfferingEnded;
    }

    /**
     * Modifier that validates a purchase at a tier
     * All the following has to be met:
     * - current time within the offering period
     * - valid sender address and ether value greater than 0.1
     * - total Wei raised not greater than FUNDING_ETH_HARD_CAP
     * - contribution per perticipant within contribution limit
     *
     * 
     */
    modifier validPurchase() {
        require(now >= startTime && now <= endTime && stage == Stages.OfferingStarted);
        if(now > capReleaseTimestamp) {
          maxContribution = 9123 * 1 ether;
        }
        uint256 contributionInWei = msg.value;
        address participant = msg.sender; 


        require(contributionInWei <= maxContribution.sub(contributions[participant]));
        require(participant != address(0) && contributionInWei >= minContribution && contributionInWei <= maxContribution);
        require(weiRaised.add(contributionInWei) <= FUNDING_ETH_HARD_CAP);
        
        _;
    }


    function buyTokens() internal validPurchase {
      
        uint256 contributionInWei = msg.value;
        address participant = msg.sender;

        // Calculate token amount to be distributed
        uint256 tokens = contributionInWei.mul(rate);
        
        if (!token.transferFrom(token.owner(), participant, tokens)) {
            revert();
        }

        weiRaised = weiRaised.add(contributionInWei);
        contributions[participant] = contributions[participant].add(contributionInWei);

        remainCap = FUNDING_ETH_HARD_CAP.sub(weiRaised);

        
        // Check if the funding cap has been reached, end the offering if so
        if (weiRaised >= FUNDING_ETH_HARD_CAP) {
            endOfferingImpl();
        }
        
        // Transfer funds to beneficiary
        beneficiary.transfer(contributionInWei);
        TokenPurchase(msg.sender, contributionInWei, tokens);       
    }


    /**
     * End token offering by set the stage and endTime
     */
    function endOfferingImpl() internal {
        endTime = now;
        stage = Stages.OfferingEnded;
        OfferingCloses(endTime, weiRaised);
    }

    /**
     * Allocate tokens for presale participants before public offering, can only be executed at Stages.Setup stage.
     *
     * @param to Participant address to send docks to
     * @param tokens Amount of docks to be sent to parcitipant 
     */
    function allocateTokensBeforeOffering(address to, uint256 tokens) public onlyOwner atStage(Stages.Setup) returns (bool) {
        if (!token.transferFrom(token.owner(), to, tokens)) {
            revert();
        }
        return true;
    }
    
    /**
     * Bulk version of allocateTokensBeforeOffering
     */
    function batchAllocateTokensBeforeOffering(address[] toList, uint256[] tokensList) external onlyOwner  atStage(Stages.Setup)  returns (bool)  {
        require(toList.length == tokensList.length);

        for (uint32 i = 0; i < toList.length; i++) {
            allocateTokensBeforeOffering(toList[i], tokensList[i]);
        }
        return true;
    }

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"toList","type":"address[]"},{"name":"tokensList","type":"uint256[]"}],"name":"batchAllocateTokensBeforeOffering","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"extraTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"whitelists","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"contributions","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"remainCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"dockToEtherRate","type":"uint256"}],"name":"updateRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"ownerSafeWithdrawal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"capReleaseTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxContribution","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"allocateTokensBeforeOffering","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"endOffering","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"user","type":"address"}],"name":"whitelistRemove","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minContribution","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"users","type":"address[]"}],"name":"whitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stage","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"durationInSeconds","type":"uint256"}],"name":"startOffering","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FUNDING_ETH_HARD_CAP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hasEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"dockToEtherRate","type":"uint256"},{"name":"beneficiaryAddr","type":"address"},{"name":"tokenAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"startTime","type":"uint256"},{"indexed":false,"name":"endTime","type":"uint256"}],"name":"OfferingOpens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"endTime","type":"uint256"},{"indexed":false,"name":"totalWeiRaised","type":"uint256"}],"name":"OfferingCloses","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchase","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

606060405260008060146101000a81548160ff021916908315150217905550662386f26fc10000600b55670de0b6b3a7640000600c55341561004057600080fd5b604051606080611d5183398101604052808051906020019091908051906020019091908051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000831115156100bd57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156100f957600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561013557600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260058190555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600e60006101000a81548160ff021916908360028111156101dd57fe5b0217905550505050611b5d806101f46000396000f300606060405260043610610180576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630126b8b61461018b5780631800c0fe146101e55780631e7be2101461020e5780632c4e722e1461025f5780633197cbb61461028857806338af3eed146102b15780633f4ba83a146103065780634042b66f1461031b57806342e94c90146103445780635c975abb1461039157806363b57e34146103be57806369ea1771146103e7578063782e34c91461040a57806378e979251461041f5780637ec2fd36146104485780638456cb59146104715780638d3d6576146104865780638da5cb5b146104af5780639aaf5e05146105045780639be3b2861461055e578063a6f2ae3a14610573578063a932ed0d14610595578063aaffadf3146105ce578063bd8aa780146105f7578063c040e6b814610651578063cd863e2514610688578063e072830c146106ab578063ecb70fb7146106d4578063f2fde38b14610701578063fc0c546a1461073a575b61018861078f565b50005b341561019657600080fd5b6101cb60048080359060200190820180359060200191909192908035906020019082018035906020019190919290505061084d565b604051808215151515815260200191505060405180910390f35b34156101f057600080fd5b6101f861097a565b6040518082815260200191505060405180910390f35b341561021957600080fd5b610245600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610980565b604051808215151515815260200191505060405180910390f35b341561026a57600080fd5b6102726109a0565b6040518082815260200191505060405180910390f35b341561029357600080fd5b61029b6109a6565b6040518082815260200191505060405180910390f35b34156102bc57600080fd5b6102c46109ac565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031157600080fd5b6103196109d2565b005b341561032657600080fd5b61032e610a90565b6040518082815260200191505060405180910390f35b341561034f57600080fd5b61037b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a96565b6040518082815260200191505060405180910390f35b341561039c57600080fd5b6103a4610aae565b604051808215151515815260200191505060405180910390f35b34156103c957600080fd5b6103d1610ac1565b6040518082815260200191505060405180910390f35b34156103f257600080fd5b6104086004808035906020019091905050610ac7565b005b341561041557600080fd5b61041d610b62565b005b341561042a57600080fd5b610432610c38565b6040518082815260200191505060405180910390f35b341561045357600080fd5b61045b610c3e565b6040518082815260200191505060405180910390f35b341561047c57600080fd5b610484610c44565b005b341561049157600080fd5b610499610d04565b6040518082815260200191505060405180910390f35b34156104ba57600080fd5b6104c2610d0a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561050f57600080fd5b610544600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610d2f565b604051808215151515815260200191505060405180910390f35b341561056957600080fd5b610571610f9b565b005b61057b61078f565b604051808215151515815260200191505060405180910390f35b34156105a057600080fd5b6105cc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611036565b005b34156105d957600080fd5b6105e1611144565b6040518082815260200191505060405180910390f35b341561060257600080fd5b61064f60048080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190505061114a565b005b341561065c57600080fd5b610664611241565b6040518082600281111561067457fe5b60ff16815260200191505060405180910390f35b341561069357600080fd5b6106a96004808035906020019091905050611254565b005b34156106b657600080fd5b6106be61138c565b6040518082815260200191505060405180910390f35b34156106df57600080fd5b6106e761139a565b604051808215151515815260200191505060405180910390f35b341561070c57600080fd5b610738600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506113d5565b005b341561074557600080fd5b61074d61152a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008060149054906101000a900460ff161515156107ac57600080fd5b60018060028111156107ba57fe5b600e60009054906101000a900460ff1660028111156107d557fe5b1415156107e157600080fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156108445761083b611550565b60019150610849565b600080fd5b5090565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108ab57600080fd5b60008060028111156108b957fe5b600e60009054906101000a900460ff1660028111156108d457fe5b1415156108e057600080fd5b84849050878790501415156108f457600080fd5b600091505b868690508263ffffffff16101561096c5761095e87878463ffffffff16818110151561092157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868563ffffffff16818110151561095257fe5b90506020020135610d2f565b5081806001019250506108f9565b600192505050949350505050565b60085481565b60096020528060005260406000206000915054906101000a900460ff1681565b60055481565b60035481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a2d57600080fd5b600060149054906101000a900460ff161515610a4857600080fd5b60008060146101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60065481565b600a6020528060005260406000206000915090505481565b600060149054906101000a900460ff1681565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b2257600080fd5b6000806002811115610b3057fe5b600e60009054906101000a900460ff166002811115610b4b57fe5b141515610b5757600080fd5b816005819055505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610bbd57600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501515610c3657600080fd5b565b60025481565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c9f57600080fd5b600060149054906101000a900460ff16151515610cbb57600080fd5b6001600060146101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600c5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d8c57600080fd5b6000806002811115610d9a57fe5b600e60009054906101000a900460ff166002811115610db557fe5b141515610dc157600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610e8d57600080fd5b6102c65a03f11515610e9e57600080fd5b5050506040518051905086866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1515610f6a57600080fd5b6102c65a03f11515610f7b57600080fd5b505050604051805190501515610f9057600080fd5b600191505092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ff657600080fd5b600180600281111561100457fe5b600e60009054906101000a900460ff16600281111561101f57fe5b14151561102b57600080fd5b611033611a4f565b50565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561109157600080fd5b600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156110e957600080fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600b5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111a757600080fd5b600090505b81518163ffffffff16101561123d57600160096000848463ffffffff168151811015156111d557fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806001019150506111ac565b5050565b600e60009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112af57600080fd5b60008060028111156112bd57fe5b600e60009054906101000a900460ff1660028111156112d857fe5b1415156112e457600080fd5b6001600e60006101000a81548160ff0219169083600281111561130357fe5b0217905550426002819055506146506002540160078190555062093a806007540160088190555061133f82600854611abf90919063ffffffff16565b6003819055507f85ae6d2d52f005b7e439638c2368bb1b569ac99e8ec33ea2bd5b04952ab207cb600254600354604051808381526020018281526020019250505060405180910390a15050565b6901ee8f0ee44640ac000081565b60006003544211806113d057506002808111156113b357fe5b600e60009054906101000a900460ff1660028111156113ce57fe5b145b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561143057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561146c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000806000600254421015801561156c57506003544211155b801561159d57506001600281111561158057fe5b600e60009054906101000a900460ff16600281111561159b57fe5b145b15156115a857600080fd5b6007544211156115c4576901ee8f0ee44640ac0000600c819055505b34915033905061161e600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54611add90919063ffffffff16565b821115151561162c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561166b5750600b548210155b80156116795750600c548211155b151561168457600080fd5b6901ee8f0ee44640ac00006116a483600654611abf90919063ffffffff16565b111515156116b157600080fd5b3494503393506116cc60055486611af690919063ffffffff16565b9250600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561179a57600080fd5b6102c65a03f115156117ab57600080fd5b5050506040518051905086866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561187757600080fd5b6102c65a03f1151561188857600080fd5b50505060405180519050151561189d57600080fd5b6118b285600654611abf90919063ffffffff16565b60068190555061190a85600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611abf90919063ffffffff16565b600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061196c6006546901ee8f0ee44640ac0000611add90919063ffffffff16565b600d819055506901ee8f0ee44640ac00006006541015156119905761198f611a4f565b5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f1935050505015156119f257600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167fcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f8685604051808381526020018281526020019250505060405180910390a25050505050565b426003819055506002600e60006101000a81548160ff02191690836002811115611a7557fe5b02179055507f02359fdde4491e11fa0985b799db1f730257a9715a67fd4b9ed9956e194025f0600354600654604051808381526020018281526020019250505060405180910390a1565b6000808284019050838110151515611ad357fe5b8091505092915050565b6000828211151515611aeb57fe5b818303905092915050565b6000806000841415611b0b5760009150611b2a565b8284029050828482811515611b1c57fe5b04141515611b2657fe5b8091505b50929150505600a165627a7a723058200a26afc18f2155413c0be8eac896db9c099808b11fc77b564c55e4062ba7dafe002900000000000000000000000000000000000000000000000000000000000029da0000000000000000000000005c1f809a41087881e4690edfa6a26100a8e2bfef000000000000000000000000e5dada80aa6477e85d09747f2842f7993d0df71c

Deployed Bytecode

0x606060405260043610610180576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630126b8b61461018b5780631800c0fe146101e55780631e7be2101461020e5780632c4e722e1461025f5780633197cbb61461028857806338af3eed146102b15780633f4ba83a146103065780634042b66f1461031b57806342e94c90146103445780635c975abb1461039157806363b57e34146103be57806369ea1771146103e7578063782e34c91461040a57806378e979251461041f5780637ec2fd36146104485780638456cb59146104715780638d3d6576146104865780638da5cb5b146104af5780639aaf5e05146105045780639be3b2861461055e578063a6f2ae3a14610573578063a932ed0d14610595578063aaffadf3146105ce578063bd8aa780146105f7578063c040e6b814610651578063cd863e2514610688578063e072830c146106ab578063ecb70fb7146106d4578063f2fde38b14610701578063fc0c546a1461073a575b61018861078f565b50005b341561019657600080fd5b6101cb60048080359060200190820180359060200191909192908035906020019082018035906020019190919290505061084d565b604051808215151515815260200191505060405180910390f35b34156101f057600080fd5b6101f861097a565b6040518082815260200191505060405180910390f35b341561021957600080fd5b610245600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610980565b604051808215151515815260200191505060405180910390f35b341561026a57600080fd5b6102726109a0565b6040518082815260200191505060405180910390f35b341561029357600080fd5b61029b6109a6565b6040518082815260200191505060405180910390f35b34156102bc57600080fd5b6102c46109ac565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031157600080fd5b6103196109d2565b005b341561032657600080fd5b61032e610a90565b6040518082815260200191505060405180910390f35b341561034f57600080fd5b61037b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a96565b6040518082815260200191505060405180910390f35b341561039c57600080fd5b6103a4610aae565b604051808215151515815260200191505060405180910390f35b34156103c957600080fd5b6103d1610ac1565b6040518082815260200191505060405180910390f35b34156103f257600080fd5b6104086004808035906020019091905050610ac7565b005b341561041557600080fd5b61041d610b62565b005b341561042a57600080fd5b610432610c38565b6040518082815260200191505060405180910390f35b341561045357600080fd5b61045b610c3e565b6040518082815260200191505060405180910390f35b341561047c57600080fd5b610484610c44565b005b341561049157600080fd5b610499610d04565b6040518082815260200191505060405180910390f35b34156104ba57600080fd5b6104c2610d0a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561050f57600080fd5b610544600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610d2f565b604051808215151515815260200191505060405180910390f35b341561056957600080fd5b610571610f9b565b005b61057b61078f565b604051808215151515815260200191505060405180910390f35b34156105a057600080fd5b6105cc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611036565b005b34156105d957600080fd5b6105e1611144565b6040518082815260200191505060405180910390f35b341561060257600080fd5b61064f60048080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190505061114a565b005b341561065c57600080fd5b610664611241565b6040518082600281111561067457fe5b60ff16815260200191505060405180910390f35b341561069357600080fd5b6106a96004808035906020019091905050611254565b005b34156106b657600080fd5b6106be61138c565b6040518082815260200191505060405180910390f35b34156106df57600080fd5b6106e761139a565b604051808215151515815260200191505060405180910390f35b341561070c57600080fd5b610738600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506113d5565b005b341561074557600080fd5b61074d61152a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008060149054906101000a900460ff161515156107ac57600080fd5b60018060028111156107ba57fe5b600e60009054906101000a900460ff1660028111156107d557fe5b1415156107e157600080fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156108445761083b611550565b60019150610849565b600080fd5b5090565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108ab57600080fd5b60008060028111156108b957fe5b600e60009054906101000a900460ff1660028111156108d457fe5b1415156108e057600080fd5b84849050878790501415156108f457600080fd5b600091505b868690508263ffffffff16101561096c5761095e87878463ffffffff16818110151561092157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868563ffffffff16818110151561095257fe5b90506020020135610d2f565b5081806001019250506108f9565b600192505050949350505050565b60085481565b60096020528060005260406000206000915054906101000a900460ff1681565b60055481565b60035481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a2d57600080fd5b600060149054906101000a900460ff161515610a4857600080fd5b60008060146101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60065481565b600a6020528060005260406000206000915090505481565b600060149054906101000a900460ff1681565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b2257600080fd5b6000806002811115610b3057fe5b600e60009054906101000a900460ff166002811115610b4b57fe5b141515610b5757600080fd5b816005819055505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610bbd57600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501515610c3657600080fd5b565b60025481565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c9f57600080fd5b600060149054906101000a900460ff16151515610cbb57600080fd5b6001600060146101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600c5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d8c57600080fd5b6000806002811115610d9a57fe5b600e60009054906101000a900460ff166002811115610db557fe5b141515610dc157600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610e8d57600080fd5b6102c65a03f11515610e9e57600080fd5b5050506040518051905086866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1515610f6a57600080fd5b6102c65a03f11515610f7b57600080fd5b505050604051805190501515610f9057600080fd5b600191505092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ff657600080fd5b600180600281111561100457fe5b600e60009054906101000a900460ff16600281111561101f57fe5b14151561102b57600080fd5b611033611a4f565b50565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561109157600080fd5b600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156110e957600080fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600b5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111a757600080fd5b600090505b81518163ffffffff16101561123d57600160096000848463ffffffff168151811015156111d557fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806001019150506111ac565b5050565b600e60009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112af57600080fd5b60008060028111156112bd57fe5b600e60009054906101000a900460ff1660028111156112d857fe5b1415156112e457600080fd5b6001600e60006101000a81548160ff0219169083600281111561130357fe5b0217905550426002819055506146506002540160078190555062093a806007540160088190555061133f82600854611abf90919063ffffffff16565b6003819055507f85ae6d2d52f005b7e439638c2368bb1b569ac99e8ec33ea2bd5b04952ab207cb600254600354604051808381526020018281526020019250505060405180910390a15050565b6901ee8f0ee44640ac000081565b60006003544211806113d057506002808111156113b357fe5b600e60009054906101000a900460ff1660028111156113ce57fe5b145b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561143057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561146c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000806000600254421015801561156c57506003544211155b801561159d57506001600281111561158057fe5b600e60009054906101000a900460ff16600281111561159b57fe5b145b15156115a857600080fd5b6007544211156115c4576901ee8f0ee44640ac0000600c819055505b34915033905061161e600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54611add90919063ffffffff16565b821115151561162c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561166b5750600b548210155b80156116795750600c548211155b151561168457600080fd5b6901ee8f0ee44640ac00006116a483600654611abf90919063ffffffff16565b111515156116b157600080fd5b3494503393506116cc60055486611af690919063ffffffff16565b9250600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561179a57600080fd5b6102c65a03f115156117ab57600080fd5b5050506040518051905086866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561187757600080fd5b6102c65a03f1151561188857600080fd5b50505060405180519050151561189d57600080fd5b6118b285600654611abf90919063ffffffff16565b60068190555061190a85600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611abf90919063ffffffff16565b600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061196c6006546901ee8f0ee44640ac0000611add90919063ffffffff16565b600d819055506901ee8f0ee44640ac00006006541015156119905761198f611a4f565b5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f1935050505015156119f257600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167fcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f8685604051808381526020018281526020019250505060405180910390a25050505050565b426003819055506002600e60006101000a81548160ff02191690836002811115611a7557fe5b02179055507f02359fdde4491e11fa0985b799db1f730257a9715a67fd4b9ed9956e194025f0600354600654604051808381526020018281526020019250505060405180910390a1565b6000808284019050838110151515611ad357fe5b8091505092915050565b6000828211151515611aeb57fe5b818303905092915050565b6000806000841415611b0b5760009150611b2a565b8284029050828482811515611b1c57fe5b04141515611b2657fe5b8091505b50929150505600a165627a7a723058200a26afc18f2155413c0be8eac896db9c099808b11fc77b564c55e4062ba7dafe0029

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

00000000000000000000000000000000000000000000000000000000000029da0000000000000000000000005c1f809a41087881e4690edfa6a26100a8e2bfef000000000000000000000000e5dada80aa6477e85d09747f2842f7993d0df71c

-----Decoded View---------------
Arg [0] : dockToEtherRate (uint256): 10714
Arg [1] : beneficiaryAddr (address): 0x5C1f809A41087881E4690EdfA6A26100A8E2BFEF
Arg [2] : tokenAddress (address): 0xE5Dada80Aa6477e85d09747f2842f7993D0Df71C

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000029da
Arg [1] : 0000000000000000000000005c1f809a41087881e4690edfa6a26100a8e2bfef
Arg [2] : 000000000000000000000000e5dada80aa6477e85d09747f2842f7993d0df71c


Swarm Source

bzzr://0a26afc18f2155413c0be8eac896db9c099808b11fc77b564c55e4062ba7dafe

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  ]

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.