Latest 25 txns From a total of 267 Transactions

TxHash Age From To Value [TxFee]
0xecc53ad4eeb057e350f5d085668eeb9f3db1fddf07578309726fd294234a30403 days 16 hrs ago0x902b745c35dee8eb409cef1b934d940fc3837de3  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320.1 Ether0.00107301
0x2a06b07061daae7ad7b93aaf93e04d8621663605fd9e436ba87e4f0de962e7c23 days 17 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0005847
0x179f9373f9db3eddcb62e77f500a41f57967253379dbe2d0417c93aa34b9392f3 days 17 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
0x441556b7a06aa1f0d389de534844ad7becdfb55126bcb5653f62ea5e50f5e8e521 days 3 hrs ago0xb3fa4da55be36e0ec92f2a7b5b44866be39aad7c  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00089626
0xcc7269ee0912bd9ffc1d84183a9bdd3e28c744de29825fcb5be30ff53ab4619221 days 3 hrs ago0xb3fa4da55be36e0ec92f2a7b5b44866be39aad7c  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00089626
0x83e985fe531298c3caebecf6df5610716960ecd3ad0c16e533b790cd5810db7321 days 3 hrs ago0xb3fa4da55be36e0ec92f2a7b5b44866be39aad7c  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00089626
0xadaa544e674292f06a643b9cd3730ffbae91cfc020221d33d5e3e2a19a664f5c21 days 4 hrs ago0xb3fa4da55be36e0ec92f2a7b5b44866be39aad7c  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.000113169
0x2a068cdb93208bea570af18c18fcdfc88551f02b57d84ea84d4ce227e9f00bac21 days 4 hrs ago0xb3fa4da55be36e0ec92f2a7b5b44866be39aad7c  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00013314
0x6051fc0554af09ffdca7ad3c44079b5bad9c45f53aeaea981349b1c57ec9c37323 days 18 hrs ago0xb3fa4da55be36e0ec92f2a7b5b44866be39aad7c  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.000122045
0x200920b3d0da0cbf19d70b78c5f0d4de91d70f2615129e21281b92491a8f499335 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0005847
0xbf2e62fdfb1009bcb7b66f9897a6d26f58ba7b0cd25eb07c47cfb6666e3c9c3435 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0005847
0x5bd625e3e32ed9420b1a8f42870e2c4d9c790e510a1dc429047c5c855f97fcce35 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
0x8dd23b3188169e3356e97081dba2db6b8fe2dea85806283b135d3772755d024b44 days 6 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0013374
0xfe7b4c71ecadf91f61834b4bd0d58128317fadf72f8f96b5aafd7b97d86f48f669 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00087942
0x737362cd020f181870e2d0bc50a97e15dc68116855c5d910d8def0ee227de71b70 days 20 mins ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
0x2116789f7793f2732ca6d3354c9c747fe1f5eca0a3d2d96b47fe12e185caa57970 days 13 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
0xd767420e81d7b7dfc4f985a966a5901fcdfa4734ad407431722fd79cb61b152a70 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00087942
0x2e555b1ee3cf0c4235f4d0211a9e7ad90590fba4db5be111bc7207e0dadb7d3171 days 17 hrs ago0x730625b0944ace91fb8fd62487711e7a8aae1b8e  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320.5 Ether0.00080392
0x5995ff5eb541e1491673ad168f11cc450261b1cc6f7e633914a35aedbe78e1b571 days 17 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
0x9fa33ce0dd4073308ffa3417f9d3899a830324bef490a0d74a1fa509a740e94b76 days 3 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
0xf4d13e660d9f3a265cf42bf26249244ce02cb1a566f23b4925c84e2828268e1184 days 4 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
0x27161acfa5c045c98014109070ed53f4ca69a7badd2aa8b4f1787bc5dd4a2b1898 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00057942
0x5b336cc3b0ffbb67c541ac54167a77556390e77611d4d3fabb572b20580fdf5298 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00057942
0x20b9a49aa4c613dcefc16e9d5dd1f23b0457f04b79189b5b39ebb9166b5806b898 days 16 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.00087942
0x427403882d93358cd136455da20b083b1fe41ff3bb0bd0275815a092c1a70d6199 days 6 hrs ago0xc8ec5488181cf62921e76b2e4664cd62132e4dd9  IN   0x0bc95951bb59d6fd063ce7ad5c3b3dcaace981320 Ether0.0008847
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: ViVICO
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity 0.4.24;
/**
* @title Vivalid ICO Contract
* @dev ViV is an ERC-20 Standar Compliant Token
* For more info https://vivalid.io
*/

/**
 * @title SafeMath by OpenZeppelin (partially)
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
        if (a == 0) {
          return 0;
        }
        c = a * b;
        assert(c / a == b);
        return c;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a + b;
        assert(c >= a);
        return c;
    }
}

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {    
    function totalSupply() public view returns (uint256);
    function balanceOf(address who) public view returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
    function transferFrom(address from, address to, uint256 value) public returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
}

/**
 * @title admined
 * @notice This contract is administered
 */
contract admined {
    mapping(address => uint8) level; 
    //0 normal user
    //1 basic admin
    //2 master admin

    /**
    * @dev This contructor takes the msg.sender as the first master admin
    */
    constructor() internal {
        level[msg.sender] = 2; //Set initial admin to contract creator
        emit AdminshipUpdated(msg.sender,2);
    }

    /**
    * @dev This modifier limits function execution to the admin
    */
    modifier onlyAdmin(uint8 _level) { //A modifier to define admin-only functions
        require(level[msg.sender] >= _level );
        _;
    }

    /**
    * @notice This function transfer the adminship of the contract to _newAdmin
    * @param _newAdmin The new admin of the contract
    */
    function adminshipLevel(address _newAdmin, uint8 _level) onlyAdmin(2) public { //Admin can be set
        require(_newAdmin != address(0));
        level[_newAdmin] = _level;
        emit AdminshipUpdated(_newAdmin,_level);
    }

    /**
    * @dev Log Events
    */
    event AdminshipUpdated(address _newAdmin, uint8 _level);

}

contract ViVICO is admined {

    using SafeMath for uint256;
    //This ico have 5 possible states
    enum State {
        PreSale, //PreSale - best value
        MainSale,
        OnHold,
        Failed,
        Successful
    }
    //Public variables

    //Time-state Related
    State public state = State.PreSale; //Set initial stage
    uint256 public PreSaleStart = now; //Once deployed
    uint256 constant public PreSaleDeadline = 1529452799; //(GMT): Tuesday, 19 de June de 2018 23:59:59
    uint256 public MainSaleStart; //TBA
    uint256 public MainSaleDeadline; // TBA
    uint256 public completedAt; //Set when ico finish
    //Token-eth related
    uint256 public totalRaised; //eth collected in wei
    uint256 public PreSaleDistributed; //presale tokens distributed
    uint256 public totalDistributed; //Whole sale tokens distributed
    ERC20Basic public tokenReward; //Token contract address
    uint256 public softCap = 11000000 * (10 ** 18); //11M Tokens
    uint256 public hardCap = 140000000 * (10 ** 18); // 140M tokens
    //User balances handlers
    mapping (address => uint256) public ethOnContract; //Balance of sent eth per user
    mapping (address => uint256) public tokensSent; //Tokens sent per user
    mapping (address => uint256) public balance; //Tokens pending to send per user
    //Contract details
    address public creator;
    string public version = '1';

    //Tokens per eth rates
    uint256[5] rates = [2520,2070,1980,1890,1800];

    //User rights handlers
    mapping (address => bool) public whiteList; //List of allowed to send eth
    mapping (address => bool) public KYCValid; //KYC validation to claim tokens

    //events for log
    event LogFundrisingInitialized(address _creator);
    event LogMainSaleDateSet(uint256 _time);
    event LogFundingReceived(address _addr, uint _amount, uint _currentTotal);
    event LogBeneficiaryPaid(address _beneficiaryAddress);
    event LogContributorsPayout(address _addr, uint _amount);
    event LogRefund(address _addr, uint _amount);
    event LogFundingSuccessful(uint _totalRaised);
    event LogFundingFailed(uint _totalRaised);

    //Modofoer to prevent execution if ico has ended or is holded
    modifier notFinishedOrHold() {
        require(state != State.Successful && state != State.OnHold && state != State.Failed);
        _;
    }

    /**
    * @notice ICO constructor
    * @param _addressOfTokenUsedAsReward is the token to distribute
    */
    constructor(ERC20Basic _addressOfTokenUsedAsReward ) public {

        creator = msg.sender; //Creator is set from deployer address
        tokenReward = _addressOfTokenUsedAsReward; //Token address is set during deployment

        emit LogFundrisingInitialized(creator);
    }

    /**
    * @notice Whitelist function
    */
    function whitelistAddress(address _user, bool _flag) public onlyAdmin(1) {
        whiteList[_user] = _flag;
    }
    
    /**
    * @notice KYC validation function
    */
    function validateKYC(address _user, bool _flag) public onlyAdmin(1) {
        KYCValid[_user] = _flag;
    }

    /**
    * @notice Main Sale Start function
    */
    function setMainSaleStart(uint256 _startTime) public onlyAdmin(2) {
        require(state == State.OnHold);
        require(_startTime > now);
        MainSaleStart = _startTime;
        MainSaleDeadline = MainSaleStart.add(12 weeks);
        state = State.MainSale;

        emit LogMainSaleDateSet(MainSaleStart);
    }

    /**
    * @notice contribution handler
    */
    function contribute() public notFinishedOrHold payable {
        require(whiteList[msg.sender] == true); //User must be whitelisted
        require(msg.value >= 0.1 ether); //Minimal contribution
        
        uint256 tokenBought = 0; //tokens bought variable

        totalRaised = totalRaised.add(msg.value); //ether received updated
        ethOnContract[msg.sender] = ethOnContract[msg.sender].add(msg.value); //ether sent by user updated

        //Rate of exchange depends on stage
        if (state == State.PreSale){
            
            require(now >= PreSaleStart);

            tokenBought = msg.value.mul(rates[0]);
            PreSaleDistributed = PreSaleDistributed.add(tokenBought); //Tokens sold on presale updated
        
        } else if (state == State.MainSale){

            require(now >= MainSaleStart);

            if (now <= MainSaleStart.add(1 weeks)){
                tokenBought = msg.value.mul(rates[1]);
            } else if (now <= MainSaleStart.add(2 weeks)){
                tokenBought = msg.value.mul(rates[2]);
            } else if (now <= MainSaleStart.add(3 weeks)){
                tokenBought = msg.value.mul(rates[3]);
            } else tokenBought = msg.value.mul(rates[4]);
                
        }

        require(totalDistributed.add(tokenBought) <= hardCap);

        if(KYCValid[msg.sender] == true){
            //if there are any unclaimed tokens
            uint256 tempBalance = balance[msg.sender];
            //clear pending balance
            balance[msg.sender] = 0;
            //If KYC is valid tokens are send immediately
            require(tokenReward.transfer(msg.sender, tokenBought.add(tempBalance)));
            //Tokens sent to user updated
            tokensSent[msg.sender] = tokensSent[msg.sender].add(tokenBought.add(tempBalance));

            emit LogContributorsPayout(msg.sender, tokenBought.add(tempBalance));

        } else{
            //If KYC is not valid tokens becomes pending
            balance[msg.sender] = balance[msg.sender].add(tokenBought);

        }

        totalDistributed = totalDistributed.add(tokenBought); //whole tokens sold updated
        emit LogFundingReceived(msg.sender, msg.value, totalRaised);
        
        checkIfFundingCompleteOrExpired();
    }

    /**
    * @notice check status
    */
    function checkIfFundingCompleteOrExpired() public {

        //If hardCap is reached ICO ends
        if (totalDistributed == hardCap && state != State.Successful){

            state = State.Successful; //ICO becomes Successful
            completedAt = now; //ICO is complete

            emit LogFundingSuccessful(totalRaised); //we log the finish
            successful(); //and execute closure

        } else if(state == State.PreSale && now > PreSaleDeadline){

            state = State.OnHold; //Once presale ends the ICO holds

        } else if(state == State.MainSale && now > MainSaleDeadline){
            //Once main sale deadline is reached, softCap has to be compared
            if(totalDistributed >= softCap){
                //If softCap is reached
                state = State.Successful; //ICO becomes Successful
                completedAt = now; //ICO is finished

                emit LogFundingSuccessful(totalRaised); //we log the finish
                successful(); //and execute closure

            } else{
                //If softCap is not reached
                state = State.Failed; //ICO becomes Failed
                completedAt = now; //ICO is finished

                emit LogFundingFailed(totalRaised); //we log the finish       

            }

        }
    }

    /**
    * @notice successful closure handler
    */
    function successful() public { 
        //When successful
        require(state == State.Successful);
        //Users have 14 days period to claim tokens
        if (now > completedAt.add(14 days)){
            //If there is any token left after
            uint256 remanent = tokenReward.balanceOf(this);
            //It's send to creator
            tokenReward.transfer(creator,remanent);
            emit LogContributorsPayout(creator, remanent);
        }
        //After successful eth is send to creator
        creator.transfer(address(this).balance);

        emit LogBeneficiaryPaid(creator);

    }

    function claimEth() onlyAdmin(2) public {
        //Only if softcap is reached
        require(totalDistributed >= softCap);
        //eth is send to creator
        creator.transfer(address(this).balance);
        emit LogBeneficiaryPaid(creator);
    }

    /**
    * @notice function to let users claim their tokens
    */
    function claimTokensByUser() public {
        //User must have a valid KYC
        require(KYCValid[msg.sender] == true);
        //Tokens pending are taken
        uint256 tokens = balance[msg.sender];
        //For safety, pending balance is cleared
        balance[msg.sender] = 0;
        //Tokens are send to user
        require(tokenReward.transfer(msg.sender, tokens));
        //Tokens sent to user updated
        tokensSent[msg.sender] = tokensSent[msg.sender].add(tokens);

        emit LogContributorsPayout(msg.sender, tokens);
    }

    /**
    * @notice function to let admin claim tokens on behalf users
    */
    function claimTokensByAdmin(address _target) onlyAdmin(1) public {
        //User must have a valid KYC
        require(KYCValid[_target] == true);
        //Tokens pending are taken
        uint256 tokens = balance[_target];
        //For safety, pending balance is cleared
        balance[_target] = 0;
        //Tokens are send to user
        require(tokenReward.transfer(_target, tokens));
        //Tokens sent to user updated
        tokensSent[_target] = tokensSent[_target].add(tokens);

        emit LogContributorsPayout(_target, tokens);       
    }

    /**
    * @notice Failure handler
    */
    function refund() public { //On failure users can get back their eth
        //If funding fail
        require(state == State.Failed);
        //Users have 90 days to claim a refund
        if (now < completedAt.add(90 days)){
            //We take the amount of tokens already sent to user
            uint256 holderTokens = tokensSent[msg.sender];
            //For security it's cleared            
            tokensSent[msg.sender] = 0;
            //Also pending tokens are cleared
            balance[msg.sender] = 0;
            //Amount of ether sent by user is checked
            uint256 holderETH = ethOnContract[msg.sender];
            //For security it's cleared            
            ethOnContract[msg.sender] = 0;
            //Contract try to retrieve tokens from user balance using allowance
            require(tokenReward.transferFrom(msg.sender,address(this),holderTokens));
            //If successful, send ether back
            msg.sender.transfer(holderETH);

            emit LogRefund(msg.sender,holderETH);
        } else{
            //After 90 days period only a master admin can use the function
            require(level[msg.sender] >= 2);
            //To claim remanent tokens on contract
            uint256 remanent = tokenReward.balanceOf(this);
            //And ether
            creator.transfer(address(this).balance);
            tokenReward.transfer(creator,remanent);

            emit LogBeneficiaryPaid(creator);
            emit LogContributorsPayout(creator, remanent);
        }
        
    

    }

    /**
    * @notice Function to claim any token stuck on contract
    */
    function externalTokensRecovery(ERC20Basic _address) onlyAdmin(2) public{
        require(_address != tokenReward); //Only any other token

        uint256 remainder = _address.balanceOf(this); //Check remainder tokens
        _address.transfer(msg.sender,remainder); //Transfer tokens to admin
        
    }

    /*
    * @dev Direct payments handler
    */

    function () public payable {
        
        contribute();

    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"creator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"KYCValid","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_target","type":"address"}],"name":"claimTokensByAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"PreSaleDeadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"whiteList","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"completedAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"externalTokensRecovery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"},{"name":"_flag","type":"bool"}],"name":"validateKYC","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"refund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_startTime","type":"uint256"}],"name":"setMainSaleStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"PreSaleStart","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MainSaleDeadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"checkIfFundingCompleteOrExpired","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MainSaleStart","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokensSent","outputs":[{"name":"","type":"uint256"}],"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":"successful","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimEth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"},{"name":"_flag","type":"bool"}],"name":"whitelistAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PreSaleDistributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newAdmin","type":"address"},{"name":"_level","type":"uint8"}],"name":"adminshipLevel","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimTokensByUser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"contribute","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"ethOnContract","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDistributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_addressOfTokenUsedAsReward","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_creator","type":"address"}],"name":"LogFundrisingInitialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_time","type":"uint256"}],"name":"LogMainSaleDateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_addr","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_currentTotal","type":"uint256"}],"name":"LogFundingReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_beneficiaryAddress","type":"address"}],"name":"LogBeneficiaryPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_addr","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"LogContributorsPayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_addr","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"LogRefund","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_totalRaised","type":"uint256"}],"name":"LogFundingSuccessful","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_totalRaised","type":"uint256"}],"name":"LogFundingFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_newAdmin","type":"address"},{"indexed":false,"name":"_level","type":"uint8"}],"name":"AdminshipUpdated","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6001805460ff19168155426002556a09195731e2ce35eb000000600a556a73ce27351811f40c000000600b5560c060405260808190527f310000000000000000000000000000000000000000000000000000000000000060a09081526200006a916010919062000187565b506040805160a0810182526109d8815261081660208201526107bc9181019190915261076260608201526107086080820152620000ac9060119060056200020c565b50348015620000ba57600080fd5b5060405160208062001aa28339810160408181529151336000818152602081815290859020805460ff19166002908117909155918452830152825190927f9b810ace296ded7f98c91fe8d22aa69c4ef152d64f1fbf1cfa9d6bb10627b300928290030190a1600f8054600160a060020a031990811633179182905560098054600160a060020a038581169190931617905560408051929091168252517f95c038c2946330b2b89591c4a80cbfc5de81a9376bd31b7521ad5b5d369c70959181900360200190a15062000263565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fa565b82800160010185558215620001fa579182015b82811115620001fa578251825591602001919060010190620001dd565b506200020892915062000243565b5090565b8260058101928215620001fa579160200282015b82811115620001fa578251829061ffff1690559160200191906001019062000220565b6200026091905b808211156200020857600081556001016200024a565b90565b61182f80620002736000396000f30060806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302d05d3f81146101945780632b878c7c146101c55780632e6b921c146101fa5780633332baa31461021b578063372c12b11461024257806338771242146102635780634c801cee1461027857806354fd4d501461029957806355afee4314610323578063590e1ae314610349578063643d1be51461035e578063694244f8146103765780636e66f6e91461038b5780637953ae77146103a057806386f32586146103b55780638c5e2b0e146103ca5780638ea80de3146103df578063906a26e0146104005780639a9e3fd814610415578063b7cdddcb1461042a578063b9a45aac1461043f578063c19d93fb14610465578063c56fc9c11461049e578063c5c4744c146104b3578063c9c80a56146104c8578063cd13592a146104ef578063d7bb99ba1461018a578063db39e3e914610504578063e3d670d714610525578063efca2eed14610546578063fb86a4041461055b575b610192610570565b005b3480156101a057600080fd5b506101a9610994565b60408051600160a060020a039092168252519081900360200190f35b3480156101d157600080fd5b506101e6600160a060020a03600435166109a3565b604080519115158252519081900360200190f35b34801561020657600080fd5b50610192600160a060020a03600435166109b8565b34801561022757600080fd5b50610230610b1d565b60408051918252519081900360200190f35b34801561024e57600080fd5b506101e6600160a060020a0360043516610b25565b34801561026f57600080fd5b50610230610b3a565b34801561028457600080fd5b50610192600160a060020a0360043516610b40565b3480156102a557600080fd5b506102ae610c91565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e85781810151838201526020016102d0565b50505050905090810190601f1680156103155780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032f57600080fd5b50610192600160a060020a03600435166024351515610d1f565b34801561035557600080fd5b50610192610d6d565b34801561036a57600080fd5b506101926004356110e5565b34801561038257600080fd5b50610230611190565b34801561039757600080fd5b506101a9611196565b3480156103ac57600080fd5b506102306111a5565b3480156103c157600080fd5b506101926111ab565b3480156103d657600080fd5b506102306112f5565b3480156103eb57600080fd5b50610230600160a060020a03600435166112fb565b34801561040c57600080fd5b5061023061130d565b34801561042157600080fd5b50610192611313565b34801561043657600080fd5b5061019261151e565b34801561044b57600080fd5b50610192600160a060020a03600435166024351515611551565b34801561047157600080fd5b5061047a61159f565b6040518082600481111561048a57fe5b60ff16815260200191505060405180910390f35b3480156104aa57600080fd5b506102306115a8565b3480156104bf57600080fd5b506102306115ae565b3480156104d457600080fd5b50610192600160a060020a036004351660ff602435166115b4565b3480156104fb57600080fd5b5061019261164f565b34801561051057600080fd5b50610230600160a060020a0360043516611777565b34801561053157600080fd5b50610230600160a060020a0360043516611789565b34801561055257600080fd5b5061023061179b565b34801561056757600080fd5b506102306117a1565b600080600460015460ff16600481111561058657fe5b141580156105a55750600260015460ff1660048111156105a257fe5b14155b80156105c25750600360015460ff1660048111156105bf57fe5b14155b15156105cd57600080fd5b3360009081526016602052604090205460ff1615156001146105ee57600080fd5b67016345785d8a000034101561060357600080fd5b6006546000925061061a903463ffffffff6117a716565b600655336000908152600c602052604090205461063d903463ffffffff6117a716565b336000908152600c602052604081209190915560015460ff16600481111561066157fe5b14156106ab5760025442101561067657600080fd5b61068d601160005b0154349063ffffffff6117ba16565b6007549092506106a3908363ffffffff6117a716565b600755610760565b6001805460ff1660048111156106bd57fe5b1415610760576003544210156106d257600080fd5b6003546106e89062093a8063ffffffff6117a716565b4211610701576106fa6011600161067e565b9150610760565b600354610717906212750063ffffffff6117a716565b4211610729576106fa6011600261067e565b60035461073f90621baf8063ffffffff6117a716565b4211610751576106fa6011600361067e565b61075d6011600461067e565b91505b600b54600854610776908463ffffffff6117a716565b111561078157600080fd5b3360009081526017602052604090205460ff161515600114156108ff5750336000818152600e6020526040812080549190556009549091600160a060020a039091169063a9059cbb906107d485856117a7565b6040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b15801561083f57600080fd5b505af1158015610853573d6000803e3d6000fd5b505050506040513d602081101561086957600080fd5b5051151561087657600080fd5b6108a5610889838363ffffffff6117a716565b336000908152600d60205260409020549063ffffffff6117a716565b336000818152600d60205260409020919091556000805160206117e4833981519152906108d8848463ffffffff6117a716565b60408051600160a060020a03909316835260208301919091528051918290030190a1610930565b336000908152600e602052604090205461091f908363ffffffff6117a716565b336000908152600e60205260409020555b600854610943908363ffffffff6117a716565b6008556006546040805133815234602082015280820192909252517f304e48bb03eae5e9bf3575d270648664895983e116a51773a65e9f3341b3b40e9181900360600190a16109906111ab565b5050565b600f54600160a060020a031681565b60176020526000908152604090205460ff1681565b3360009081526020819052604081205460019060ff168111156109da57600080fd5b600160a060020a03831660009081526017602052604090205460ff161515600114610a0457600080fd5b600160a060020a038084166000818152600e60209081526040808320805490849055600954825160e060020a63a9059cbb028152600481019690965260248601829052915190975094169363a9059cbb93604480820194918390030190829087803b158015610a7257600080fd5b505af1158015610a86573d6000803e3d6000fd5b505050506040513d6020811015610a9c57600080fd5b50511515610aa957600080fd5b600160a060020a0383166000908152600d6020526040902054610ad2908363ffffffff6117a716565b600160a060020a0384166000818152600d602090815260409182902093909355805191825291810184905281516000805160206117e4833981519152929181900390910190a1505050565b635b2998ff81565b60166020526000908152604090205460ff1681565b60055481565b3360009081526020819052604081205460029060ff16811115610b6257600080fd5b600954600160a060020a0384811691161415610b7d57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038516916370a082319160248083019260209291908290030181600087803b158015610bde57600080fd5b505af1158015610bf2573d6000803e3d6000fd5b505050506040513d6020811015610c0857600080fd5b50516040805160e060020a63a9059cbb028152336004820152602481018390529051919350600160a060020a0385169163a9059cbb916044808201926020929091908290030181600087803b158015610c6057600080fd5b505af1158015610c74573d6000803e3d6000fd5b505050506040513d6020811015610c8a57600080fd5b5050505050565b6010805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610d175780601f10610cec57610100808354040283529160200191610d17565b820191906000526020600020905b815481529060010190602001808311610cfa57829003601f168201915b505050505081565b3360009081526020819052604090205460019060ff16811115610d4157600080fd5b50600160a060020a03919091166000908152601760205260409020805460ff1916911515919091179055565b60008080600360015460ff166004811115610d8457fe5b14610d8e57600080fd5b600554610da4906276a70063ffffffff6117a716565b421015610ef357336000818152600d60209081526040808320805490849055600e8352818420849055600c835281842080549085905560095483517f23b872dd00000000000000000000000000000000000000000000000000000000815260048101979097523060248801526044870183905292519198509650600160a060020a03909116936323b872dd9360648083019493928390030190829087803b158015610e4e57600080fd5b505af1158015610e62573d6000803e3d6000fd5b505050506040513d6020811015610e7857600080fd5b50511515610e8557600080fd5b604051339083156108fc029084906000818181858888f19350505050158015610eb2573d6000803e3d6000fd5b50604080513381526020810184905281517fb6c0eca8138e097d71e2dd31e19a1266487f0553f170b7260ffe68bcbe9ff8a7929181900390910190a16110e0565b33600090815260208190526040902054600260ff9091161015610f1557600080fd5b600954604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a03909216916370a08231916024808201926020929091908290030181600087803b158015610f7b57600080fd5b505af1158015610f8f573d6000803e3d6000fd5b505050506040513d6020811015610fa557600080fd5b5051600f54604051919250600160a060020a031690303180156108fc02916000818181858888f19350505050158015610fe2573d6000803e3d6000fd5b50600954600f546040805160e060020a63a9059cbb028152600160a060020a039283166004820152602481018590529051919092169163a9059cbb9160448083019260209291908290030181600087803b15801561103f57600080fd5b505af1158015611053573d6000803e3d6000fd5b505050506040513d602081101561106957600080fd5b5050600f5460408051600160a060020a039092168252517f101a889b1c7c3bf4e0c37353cfe1554e47e39c747e25a6d330d0553dd93bd1eb9181900360200190a1600f5460408051600160a060020a0390921682526020820183905280516000805160206117e48339815191529281900390910190a15b505050565b3360009081526020819052604090205460029060ff1681111561110757600080fd5b600260015460ff16600481111561111a57fe5b1461112457600080fd5b42821161113057600080fd5b600382905561114882626ebe0063ffffffff6117a716565b6004556001805460ff19168117905560035460408051918252517feaeb57ce3171d6863aeac828a738385f98b5e64834231a5f29967dfe4a35000a9181900360200190a15050565b60025481565b600954600160a060020a031681565b60045481565b600b546008541480156111cf5750600460015460ff1660048111156111cc57fe5b14155b1561122e57600180546004919060ff191681835b02179055504260055560065460408051918252517fee94ee98208684c00eeba940c34a6060b93671b249abd182b4771b74bf94e2dd9181900360200190a1611229611313565b6112f3565b600060015460ff16600481111561124157fe5b1480156112515750635b2998ff42115b15611268576001805460ff191660021790556112f3565b6001805460ff16600481111561127a57fe5b148015611288575060045442115b156112f357600a54600854106112ab57600180546004919060ff191681836111e3565b6001805460ff191660031790554260055560065460408051918252517f4c0d9c8be17eca59968547ef3103a0b410b1e05413681177b0796848f980513e916020908290030190a15b565b60035481565b600d6020526000908152604090205481565b600a5481565b6000600460015460ff16600481111561132857fe5b1461133257600080fd5b600554611348906212750063ffffffff6117a716565b4211156114a157600954604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a03909216916370a08231916024808201926020929091908290030181600087803b1580156113b557600080fd5b505af11580156113c9573d6000803e3d6000fd5b505050506040513d60208110156113df57600080fd5b5051600954600f546040805160e060020a63a9059cbb028152600160a060020a03928316600482015260248101859052905193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050506040513d602081101561146957600080fd5b5050600f5460408051600160a060020a0390921682526020820183905280516000805160206117e48339815191529281900390910190a15b600f54604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156114db573d6000803e3d6000fd5b50600f5460408051600160a060020a039092168252517f101a889b1c7c3bf4e0c37353cfe1554e47e39c747e25a6d330d0553dd93bd1eb9181900360200190a150565b3360009081526020819052604090205460029060ff1681111561154057600080fd5b600a5460085410156114a157600080fd5b3360009081526020819052604090205460019060ff1681111561157357600080fd5b50600160a060020a03919091166000908152601660205260409020805460ff1916911515919091179055565b60015460ff1681565b60075481565b60065481565b3360009081526020819052604090205460029060ff168111156115d657600080fd5b600160a060020a03831615156115eb57600080fd5b600160a060020a03831660008181526020818152604091829020805460ff191660ff871690811790915582519384529083015280517f9b810ace296ded7f98c91fe8d22aa69c4ef152d64f1fbf1cfa9d6bb10627b3009281900390910190a1505050565b3360009081526017602052604081205460ff16151560011461167057600080fd5b50336000818152600e60209081526040808320805490849055600954825160e060020a63a9059cbb02815260048101969096526024860182905291519094600160a060020a039092169363a9059cbb93604480850194919392918390030190829087803b1580156116e057600080fd5b505af11580156116f4573d6000803e3d6000fd5b505050506040513d602081101561170a57600080fd5b5051151561171757600080fd5b336000908152600d6020526040902054611737908263ffffffff6117a716565b336000818152600d602090815260409182902093909355805191825291810183905281516000805160206117e4833981519152929181900390910190a150565b600c6020526000908152604090205481565b600e6020526000908152604090205481565b60085481565b600b5481565b818101828110156117b457fe5b92915050565b60008215156117cb575060006117b4565b508181028183828115156117db57fe5b04146117b457fe00aeb3ebd09ef847781ae7d846d2c9afbbb08cfbcad76e92d3206303aa30d24226a165627a7a72305820093b1e99f14e454fb034d094b9c511d9e305d8fd3865f923c0c4e240bed4a8cf00290000000000000000000000007c5be04b71a9cdd4243372e23d5fcb278428465c

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007c5be04b71a9cdd4243372e23d5fcb278428465c


   Swarm Source:
bzzr://093b1e99f14e454fb034d094b9c511d9e305d8fd3865f923c0c4e240bed4a8cf

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.