Sponsored Link:   Learn and build dApps today without code using Crowd Machine's Crowd App Studio.
Contract Overview | ObirumCrowdsale
Balance: 0 Ether
Ether Value: $0
Transactions: 563 txns
 Latest 25 txns from a total Of 563 transactions

TxHash Age From To Value [TxFee]
0xd70562a27c829ce93758ac7f329d78132e10cd122e5c0cc511574978a59da26069 days 11 hrs ago0xcbd0c28e05cb71f2932bcdffa73f6614982fdc44  IN   ObirumCrowdsale0 Ether0.000089252
0xc55561ffa1d06ffd5012b73bbddd43105922b7c1d15736a41955ccdbc0ab38a971 days 6 hrs ago0x3005ea9890619111d0ae81264c74af2618182a82  IN   ObirumCrowdsale0 Ether0.000084
0x7c0c46bbba05640cc42e63d4a78031d7a5191958cdc7a8ff618f62428ee7909271 days 10 hrs ago0xabb673ca4a67c551ca3a7864bcc1dbf520601d22  IN   ObirumCrowdsale0 Ether0.000089252
0x60ff26c22a63dca0c28162f3d92e7fc008ce17ef25a367ac0ec0cb06a04cd4a271 days 10 hrs ago0xabb673ca4a67c551ca3a7864bcc1dbf520601d22  IN   ObirumCrowdsale0 Ether0.00044626
0xb550a30e958c3cec41142284cf5cf683add9a099fa60a7ac792ea39b684015b172 days 6 mins ago0xa43d60ace59b9b1589aefc97b8a43802b4159164  IN   ObirumCrowdsale0.2 Ether0.00044678
0x296f5561622c677f2f9cb64e0d4f6b67964c4b3817e1f28adf76cb8963e9c2bb72 days 12 mins ago0xa43d60ace59b9b1589aefc97b8a43802b4159164  IN   ObirumCrowdsale0.15 Ether0.00044678
0x02c83478662e69b37286a536c963362697ff81767fe2d5daff8800561e2f6c0872 days 13 hrs ago0x00755f5449d72d86d0a5182f7cb03cd519240477  IN   ObirumCrowdsale0.130769357 Ether0.004261417
0x8894db1446c7b6b363de819b8bb6b61388fc6bc60b1c96257e8f1874d598157e72 days 15 hrs ago0xd461ac0e2c22f5faee375d2eac0888fe3f963775  IN   ObirumCrowdsale0.157773298343031 Ether0.000831496
0x59275a66963b00cced55e83efaa649993f6afdf5800962c73747f94119d95b3172 days 23 hrs ago0xfe7f4973478585380ea14b086d25515a10a33040  IN   ObirumCrowdsale0.08 Ether0.000558275
0x8d115e73f3bbadf5068119e8e93b9bef5536cec89d24e561a1771c4b034147ff72 days 23 hrs ago0xfe7f4973478585380ea14b086d25515a10a33040  IN   ObirumCrowdsale0.08 Ether0.00044662
0x33b0924b91e30f333cfee5c64e1172431a0c8a77857f3dd4c3c78f27bf0748af73 days 9 hrs ago0xfeab4e13d8abb9b25867b5ce7042a214143500b6  IN   ObirumCrowdsale0 Ether0.00044636
0x04ddf7c6adf0995f973795d0a4ee70bce79cce3e4175301cffb1f43f1dcf1fdd73 days 14 hrs ago0xb0eb15d183ff34683717f03c9ca501977582ff18  IN   ObirumCrowdsale0.133 Ether0.000207874
0xd679161e55bdc4300bb8e56459454b5dbe8d82698ed9f4821da904ea1a4ed5ff74 days 20 hrs ago0xf1202359126efacfb77f9a7c48485b7508e3d952  IN   ObirumCrowdsale0.1 Ether0.00207874
0x7cc4aa05b7ab5fbdeb38ac17f11237c50a452ee3236b84705a5093c7ce107e5575 days 28 mins ago0xb75f67f8d688383163d913b62132526bd389028b  IN   ObirumCrowdsale0.1 Ether0.00207874
0xcb9175f790893cdfc97bc9982bf8e6915f170694424ff5db0b81b79f2cb7f52975 days 32 mins ago0xb75f67f8d688383163d913b62132526bd389028b  IN   ObirumCrowdsale0.1 Ether0.002519999948
0x2b5b809b6914efaace914a96c6da51223be670ee982774ef7d0e90fd716921a375 days 1 hr ago0xb75f67f8d688383163d913b62132526bd389028b  IN   ObirumCrowdsale0.1 Ether0.00103023517
0xb589d59a14de674532d504c171a497d69b2167390e8102073941ec1a4d39b27575 days 8 hrs ago0xd7dd2cbab7a0e3e872618ad3b875f3681bb3269e  IN   ObirumCrowdsale0.2 Ether0.00207874
0x0c13738180decbe8efd6fd35c31a62b13d7d6d8d38b037db87c600bb178171ff75 days 18 hrs ago0xb796bb8a97bf04684bc218f2ae522f0f8691b7dc  IN   ObirumCrowdsale1 Ether0.00103937
0x5660b7e22d8149839479e07ff26199586654e8a84e008298eaef50159104f20a76 days 1 hr ago0x5b05c89d4c02d036be8ae9c6e988f1a626fbe0a0  IN   ObirumCrowdsale0.1 Ether0.00311811
0x7b9dfe4fac06b25d7b899ada686069c15943cd37fe63e04e1647cb083e5994a076 days 3 hrs ago0xa43d60ace59b9b1589aefc97b8a43802b4159164  IN   ObirumCrowdsale0.25 Ether0.00295748
0x57db25b7580abe97098a69db0ea11009e0af5c8172cf451249be47bd67900e2d76 days 3 hrs ago0xa43d60ace59b9b1589aefc97b8a43802b4159164  IN   ObirumCrowdsale0.25 Ether0.00207874
0xa2e08b9d72fe7754d3475887d8933ed6490aab11ba2eac591bc9b663b290133d76 days 4 hrs ago0x774c988ec49df627093b6755c3baebb0d9a9d0b3  IN   ObirumCrowdsale0.105 Ether0.00221811
0x532f354dc6c9ac3733460ff0fce96e30bc5b3d7b1a252a19efc47142159bad4e76 days 4 hrs ago0x774c988ec49df627093b6755c3baebb0d9a9d0b3  IN   ObirumCrowdsale0.1 Ether0.00311811
0xc0969d4edf39d6e91f0ba2e16d5c18f1d559f30431d1e68943ce81e0a1d1d4ec77 days 8 mins ago0xbd7d6023d491ebde7979ad80444d12c792a79235  IN   ObirumCrowdsale0 Ether0.000312452
0x98afba75511c4edee9f1ba6e23be4f85aebf58b749b589848f98c18fc4bca4a577 days 20 hrs ago0x13bb4b4f3cbea813f8fcf18b6e44460a1b2e40ea  IN   ObirumCrowdsale0.1 Ether0.000311811
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0x02c83478662e69b37286a536c963362697ff81767fe2d5daff8800561e2f6c08555721272 days 13 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.130769357 Ether
0x8894db1446c7b6b363de819b8bb6b61388fc6bc60b1c96257e8f1874d598157e555687572 days 15 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.157773298343031732 Ether
0x04ddf7c6adf0995f973795d0a4ee70bce79cce3e4175301cffb1f43f1dcf1fdd555135873 days 14 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.133 Ether
0xd679161e55bdc4300bb8e56459454b5dbe8d82698ed9f4821da904ea1a4ed5ff554441274 days 20 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0x7cc4aa05b7ab5fbdeb38ac17f11237c50a452ee3236b84705a5093c7ce107e55554339575 days 28 mins ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0xb589d59a14de674532d504c171a497d69b2167390e8102073941ec1a4d39b275554154175 days 8 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.2 Ether
0x0c13738180decbe8efd6fd35c31a62b13d7d6d8d38b037db87c600bb178171ff553903975 days 18 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda1 Ether
0x5660b7e22d8149839479e07ff26199586654e8a84e008298eaef50159104f20a553759076 days 1 hr ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0x7b9dfe4fac06b25d7b899ada686069c15943cd37fe63e04e1647cb083e5994a0553707176 days 3 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.25 Ether
0x57db25b7580abe97098a69db0ea11009e0af5c8172cf451249be47bd67900e2d553705476 days 3 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.25 Ether
0xa2e08b9d72fe7754d3475887d8933ed6490aab11ba2eac591bc9b663b290133d553672776 days 4 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.105 Ether
0x532f354dc6c9ac3733460ff0fce96e30bc5b3d7b1a252a19efc47142159bad4e553668076 days 4 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0x98afba75511c4edee9f1ba6e23be4f85aebf58b749b589848f98c18fc4bca4a5552712977 days 20 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0x772aba3802c8b63d90cca8195508c89f30c055cbf9d4a8b645139cfd95f862cb550127182 days 8 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.133169435525719411 Ether
0x772aba3802c8b63d90cca8195508c89f30c055cbf9d4a8b645139cfd95f862cb550127182 days 8 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.086830564474280589 Ether
0x2803530e3c27faf0523066358102ee647bff73153dd9535f71fc827a3dba0aa2549824882 days 20 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda1.1 Ether
0xb01039e26048a06ef1dad3ee9acba11d1f77680f620c7cd4ab76767a15f2e2f0549659183 days 3 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0x360bf09bc7101cec146c810e3317d6fb2cb23618563a3c939a07af6eb857a37c549171084 days 14 mins ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0x51965d7b9b96c22b618d1407fe2101b7a2b6ff57cb581bfebc1275fddeff6f3e548104885 days 19 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.128 Ether
0x7ac56283e028f27b06e21cdb90fb16367463cbd6ad91fad0f31979420fa311d6545052591 days 1 hr ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.1 Ether
0x7123230f762a3132ddfd0b9ce8ea7e277aba52d5d8265bb2a3d6b800084dd315544800591 days 11 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.5 Ether
0xa9d83ec4e69a73245f26ff757cea7e274a021f629f7f64845f3a69afcedfc8aa544498692 days 10 mins ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda2 Ether
0x70e698fdd5d44dc889204dcb2671c53db69d0e18c44f9da3d55c33543e48b1aa544365492 days 5 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda5 Ether
0x8c7e6b266c06efe5d0d64f752c5503766f141d3080f8f62801c9e296394b3929543345893 days 22 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda2 Ether
0x370fe319459c46655bb190b8d61441387a4debad76c8a4924556abac79642c0e543093194 days 9 hrs ago0x0532dd9ecb00c424c72335df4f60c11c03229ec00x4b8264e1b2bb835976738a70c687c8d2a7b96dda0.2 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: ObirumCrowdsale
Compiler Version: v0.4.20+commit.3155dd80
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

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

contract token {
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool);
    function setStartTime(uint _startTime) external;
}

/**
 * @title Obirum Crowdsale
 */
contract ObirumCrowdsale{
    using SafeMath for uint256;

    /** Constants
    * ----------
    * kRate - Ether to Obirum rate. 1 ether is 20000 tokens.
    * kMinStake - Min amount of Ether that can be contributed.
    * kMaxStake - Max amount of Ether that can be contributed.
    */
    uint256 public constant kRate = 20000;
    uint256 public constant kMinStake = 0.1 ether;
    uint256 public constant kMaxStake = 200 ether;

    uint256[9] internal stageLimits = [
        100 ether,
        300 ether,
        1050 ether,
        3050 ether,
        8050 ether,
        18050 ether,
        28050 ether,
        38050 ether,
        48050 ether
    ];
    uint128[9] internal stageDiscounts = [
        300,
        250,
        200,
        150,
        135,
        125,
        115,
        110,
        105
    ];

    // Investor contributions
    mapping(address => uint256) balances;

    uint256 public weiRaised;
    uint8 public currentStage = 0;

    // The token being sold
    token public reward;

    // Owner of the token
    address public owner;

    // Start and end timestamps
    uint public startTime;
    uint public endTime;

    // Address where funds are collected
    address public wallet;

    // Amount of tokens that were sold
    uint256 public tokensSold;

    // Soft cap in OBR tokens
    uint256 constant public softCap = 106000000 * (10**18);

    // Hard cap in OBR tokens
    uint256 constant public hardCap = 1151000000 * (10**18);

    // Switched to true once token contract is notified of when to enable token transfers
    bool private isStartTimeSet = false;

    /**
     * @dev Event for token purchase logging
     * @param purchaser Address that paid for the tokens
     * @param beneficiary Address that got the tokens
     * @param value The amount that was paid (in wei)
     * @param amount The amount of tokens that were bought
     */
    event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);

    /**
     * @dev Event for refund logging
     * @param receiver The address that received the refund
     * @param amount The amount that is being refunded (in wei)
     */
    event Refund(address indexed receiver, uint256 amount);

    /**
     * @param _startTime Unix timestamp for the start of the token sale
     * @param _endTime Unix timestamp for the end of the token sale
     * @param _wallet Ethereum address to which the invested funds are forwarded
     * @param _token Address of the token that will be rewarded for the investors
     * @param _owner Address of the owner of the smart contract who can execute restricted functions
     */
    function ObirumCrowdsale(uint256 _startTime, uint256 _endTime, address _wallet, address _token, address _owner)  public {
        require(_startTime >= now);
        require(_endTime >= _startTime);
        require(_wallet != address(0));
        require(_token != address(0));
        require(_owner != address(0));

        startTime = _startTime;
        endTime = _endTime;
        wallet = _wallet;
        owner = _owner;
        reward = token(_token);
    }

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

    /**
     * @dev Fallback function that can be used to buy tokens. Or in case of the owner, return ether to allow refunds.
     */
    function () external payable {
        if(msg.sender == wallet) {
            require(hasEnded() && tokensSold < softCap);
        } else {
            buyTokens(msg.sender);
        }
    }

    /**
     * @dev Function for buying tokens
     * @param beneficiary The address that should receive bought tokens
     */
    function buyTokens(address beneficiary) public payable {
        require(beneficiary != address(0));
        require(validPurchase());
        require(currentStage < getStageCount());
        
        uint256 value = msg.value;
        weiRaised = weiRaised.add(value);
        uint256 limit = getStageLimit(currentStage);
        uint256 dif = 0;
        uint256 returnToSender = 0;
    
        if(weiRaised > limit){
            dif = weiRaised.sub(limit);
            value = value.sub(dif);
            
            if(currentStage == getStageCount() - 1){
                returnToSender = dif;
                weiRaised = weiRaised.sub(dif);
                dif = 0;
            }
        }
        
        mintTokens(value, beneficiary);
        
        if(dif > 0){
            currentStage = currentStage + 1;
            mintTokens(dif, beneficiary);
        }

        // Allow transfers 2 weeks after hard cap is reached
        if(tokensSold == hardCap) {
            reward.setStartTime(now + 2 weeks);
        }

        // // Return funds that are over hard cap
        if(returnToSender > 0) {
            msg.sender.transfer(returnToSender);
        }
    }
    
    function mintTokens(uint256 value, address sender) private{
        uint256 tokens = value.mul(kRate).mul(getStageDiscount(currentStage)).div(100);
        
        // update state
        tokensSold = tokensSold.add(tokens);
        
        // update balance
        balances[sender] = balances[sender].add(value);
        reward.transferFrom(owner, sender, tokens);
        
        TokenPurchase(msg.sender, sender, value, tokens);
        
        // Forward funds
        wallet.transfer(value);
    }

    /**
     * @dev Internal function that is used to check if the incoming purchase should be accepted.
     * @return True if the transaction can buy tokens
     */
    function validPurchase() internal constant returns (bool) {
        bool withinPeriod = now >= startTime && now <= endTime;
        bool nonZeroPurchase = msg.value != 0 && msg.value >= kMinStake && msg.value <= kMaxStake;
        bool hardCapNotReached = tokensSold < hardCap;
        return withinPeriod && nonZeroPurchase && hardCapNotReached;
    }

    /**
     * @return True if crowdsale event has ended
     */
    function hasEnded() public constant returns (bool) {
        return now > endTime || tokensSold >= hardCap;
    }

    /**
     * @dev Returns ether to token holders in case soft cap is not reached.
     */
    function claimRefund() external {
        require(hasEnded());
        require(tokensSold < softCap);

        uint256 amount = balances[msg.sender];

        if(address(this).balance >= amount) {
            balances[msg.sender] = 0;
            if (amount > 0) {
                msg.sender.transfer(amount);
                Refund(msg.sender, amount);
            }
        }
    }

    /**
    * @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) external constant returns (uint256 balance) {
        return balances[_owner];
    }

    function getStageLimit(uint8 _stage) public view returns (uint256) {
        return stageLimits[_stage];
    }

    function getStageDiscount(uint8 _stage) public view returns (uint128) {
        return stageDiscounts[_stage];
    }

    function getStageCount() public view returns (uint8) {
        return uint8(stageLimits.length);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"getStageCount","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reward","outputs":[{"name":"","type":"address"}],"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":"_stage","type":"uint8"}],"name":"getStageLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentStage","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kMinStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_stage","type":"uint8"}],"name":"getStageDiscount","outputs":[{"name":"","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"softCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimRefund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kMaxStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"hasEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_startTime","type":"uint256"},{"name":"_endTime","type":"uint256"},{"name":"_wallet","type":"address"},{"name":"_token","type":"address"},{"name":"_owner","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Refund","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052610120604051908101604090815268056bc75e2d631000008252681043561a882930000060208301526838ebad5cdc902800009082015268a55740b8684d68000060608201526901b464311d45a688000060808201526903d27e11e70058c8000060a08201526905f097f2b0bb0b08000060c082015269080eb1d37a75bd48000060e0820152690a2ccbb444306f880000610100820152620000ab90600090600962000219565b50610120604051908101604090815261012c825260fa602083015260c8908201526096606082015260876080820152607d60a0820152607360c0820152606e60e0820152606961010082015262000106906009908162000267565b506010805460ff1990811690915560168054909116905534156200012957600080fd5b60405160a08062000d8d8339810160405280805191906020018051919060200180519190602001805191906020018051915050428510156200016a57600080fd5b848410156200017857600080fd5b600160a060020a03831615156200018e57600080fd5b600160a060020a0382161515620001a457600080fd5b600160a060020a0381161515620001ba57600080fd5b60129490945560139290925560148054600160a060020a03928316600160a060020a03199182161790915560118054948316949091169390931790925560108054919092166101000261010060a860020a031990911617905562000351565b826009810192821562000255579160200282015b828111156200025557825182906001605060020a03169055916020019190600101906200022d565b50620002639291506200030a565b5090565b600583019183908215620002fc5791602002820160005b83821115620002c557835183826101000a8154816001608060020a03021916908361ffff1602179055509260200192601001602081600f010492830192600103026200027e565b8015620002fa5782816101000a8154906001608060020a030219169055601001602081600f01049283019260010302620002c5565b505b50620002639291506200032a565b6200032791905b8082111562000263576000815560010162000311565b90565b6200032791905b80821115620002635780546001608060020a031916815560010162000331565b610a2c80620003616000396000f3006060604052600436106100f85763ffffffff60e060020a60003504166316ceaa95811461014a578063228cb733146101735780633197cbb6146101a257806335ffd687146101c75780634042b66f146101e0578063518ab2a8146101f3578063521eb273146102065780635bf5d54c146102195780636660b2101461022c57806370a082311461023f57806378e979251461025e5780637b2d3b27146102715780638da5cb5b146102af578063906a26e0146102c2578063b5545a3c146102d5578063c973851d146102e8578063ce691294146102fb578063ec8ac4d81461030e578063ecb70fb714610322578063fb86a40414610349575b60145433600160a060020a039081169116141561013f5761011761035c565b801561012f57506a57ae5f83a0da64aa000000601554105b151561013a57600080fd5b610148565b61014833610381565b005b341561015557600080fd5b61015d610559565b60405160ff909116815260200160405180910390f35b341561017e57600080fd5b61018661055e565b604051600160a060020a03909116815260200160405180910390f35b34156101ad57600080fd5b6101b5610572565b60405190815260200160405180910390f35b34156101d257600080fd5b6101b560ff60043516610578565b34156101eb57600080fd5b6101b5610591565b34156101fe57600080fd5b6101b5610597565b341561021157600080fd5b61018661059d565b341561022457600080fd5b61015d6105ac565b341561023757600080fd5b6101b56105b5565b341561024a57600080fd5b6101b5600160a060020a03600435166105c1565b341561026957600080fd5b6101b56105dc565b341561027c57600080fd5b61028a60ff600435166105e2565b6040516fffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34156102ba57600080fd5b610186610622565b34156102cd57600080fd5b6101b5610631565b34156102e057600080fd5b610148610640565b34156102f357600080fd5b6101b5610729565b341561030657600080fd5b6101b5610736565b610148600160a060020a0360043516610381565b341561032d57600080fd5b61033561035c565b604051901515815260200160405180910390f35b341561035457600080fd5b6101b561073c565b600060135442118061037c57506b03b815bb06cb6066df00000060155410155b905090565b6000808080600160a060020a038516151561039b57600080fd5b6103a361074c565b15156103ae57600080fd5b6103b6610559565b60105460ff9182169116106103ca57600080fd5b600f543494506103e0908563ffffffff6107c416565b600f556010546103f29060ff16610578565b9250600091506000905082600f54111561046857600f54610419908463ffffffff6107de16565b915061042b848363ffffffff6107de16565b93506001610437610559565b60105460ff908116929091031614156104685750600f548190610460908263ffffffff6107de16565b600f55600091505b61047284866107f0565b600082111561049b576010805460ff8082166001011660ff1990911617905561049b82866107f0565b6b03b815bb06cb6066df0000006015541415610518576010546101009004600160a060020a0316633e0a322d42621275000160405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b151561050357600080fd5b6102c65a03f1151561051457600080fd5b5050505b600081111561055257600160a060020a03331681156108fc0282604051600060405180830381858888f19350505050151561055257600080fd5b5050505050565b600990565b6010546101009004600160a060020a031681565b60135481565b60008060ff83166009811061058957fe5b015492915050565b600f5481565b60155481565b601454600160a060020a031681565b60105460ff1681565b67016345785d8a000081565b600160a060020a03166000908152600e602052604090205490565b60125481565b6000600960ff83168181106105f357fe5b600291828204019190066010029054906101000a90046fffffffffffffffffffffffffffffffff169050919050565b601154600160a060020a031681565b6a57ae5f83a0da64aa00000081565b600061064a61035c565b151561065557600080fd5b6015546a57ae5f83a0da64aa000000901061066f57600080fd5b50600160a060020a033381166000908152600e60205260409020549030163181901061072657600160a060020a0333166000908152600e6020526040812081905581111561072657600160a060020a03331681156108fc0282604051600060405180830381858888f1935050505015156106e857600080fd5b33600160a060020a03167fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d8260405190815260200160405180910390a25b50565b680ad78ebc5ac620000081565b614e2081565b6b03b815bb06cb6066df00000081565b600080600080601254421015801561076657506013544211155b9250341580159061077f575067016345785d8a00003410155b80156107945750680ad78ebc5ac62000003411155b91506b03b815bb06cb6066df0000006015541090508280156107b35750815b80156107bc5750805b935050505090565b6000828201838110156107d357fe5b8091505b5092915050565b6000828211156107ea57fe5b50900390565b6010546000906108499060649061083d9061080d9060ff166105e2565b6fffffffffffffffffffffffffffffffff1661083187614e2063ffffffff6109be16565b9063ffffffff6109be16565b9063ffffffff6109e916565b60155490915061085f908263ffffffff6107c416565b601555600160a060020a0382166000908152600e602052604090205461088b908463ffffffff6107c416565b600160a060020a038084166000908152600e6020526040808220939093556010546011546101009091048316936323b872dd9391909116918691869190516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561091c57600080fd5b6102c65a03f1151561092d57600080fd5b505050604051805190505081600160a060020a031633600160a060020a03167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18858460405191825260208201526040908101905180910390a3601454600160a060020a031683156108fc0284604051600060405180830381858888f1935050505015156109b957600080fd5b505050565b6000808315156109d157600091506107d7565b508282028284828115156109e157fe5b04146107d357fe5b60008082848115156109f757fe5b049493505050505600a165627a7a723058202b81d2389702c456bb3e5c0e7754106b3041b4feb03bf501cc77fe72d1f7dcbc0029000000000000000000000000000000000000000000000000000000005a9e3c70000000000000000000000000000000000000000000000000000000005aed56700000000000000000000000004b8264e1b2bb835976738a70c687c8d2a7b96dda00000000000000000000000069a605d3f74bb709a7e9f6f7b5e3337445fc93cc000000000000000000000000341f968a686791f1d6b056bb93140acaa72b970c

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

-----Decoded View---------------
Found 5 constructor arguments :
Arg [0] : 000000000000000000000000000000000000000000000000000000005a9e3c70
Arg [1] : 000000000000000000000000000000000000000000000000000000005aed5670
Arg [2] : 0000000000000000000000004b8264e1b2bb835976738a70c687c8d2a7b96dda
Arg [3] : 00000000000000000000000069a605d3f74bb709a7e9f6f7b5e3337445fc93cc
Arg [4] : 000000000000000000000000341f968a686791f1d6b056bb93140acaa72b970c


   Swarm Source:
bzzr://2b81d2389702c456bb3e5c0e7754106b3041b4feb03bf501cc77fe72d1f7dcbc

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.