Sponsored:   VC, TLDR and CoinBene Funded "TEMCO: Bitcoin Network (RSK) Suppy Chain! Whitelist KYC Starts Now!!"
Contract Overview |  Blockcloud_TokenSale
Balance: 0.0003 Ether
Ether Value: $0.03 (@ $103.56/ETH)
Transactions: 2241 txns
Token Tracker: �y� KYC over (�y� KYC o...)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x3d50d5054e880260bc6ee881663e543bf2122558at txn 0x2c588b26dd37e39c2f5c3cadb8db4ce4102002c3f756f965f9d49b5be50ca27b
 Latest 25 transactions from a total of 2241 transactions

TxHash Age From To Value [TxFee]
0xea5f81730026555f1e8aec2fe45decc1d66cb6a56f042b86e1d62e7dcffddc8b60 days 21 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.000262837
0x8c76c9fb836a690fb19e61a8ead21a3af7ce6da4657c848cab47118c80614e7562 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xabdfeedf6778b55453f1fbf6f1ffce5a96d2725140e2a8892dbc13ac8700591d62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x9eaa9c1fe926c352ef781ed5e9f270068ddeeb0574584eaa8aed59d3bcb896a962 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105456
0x7c80444c67ec1ac775f8444c821059b1b8b3e8f6c38bbfbab510818a4ec7f93f62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x323d3aa7a7f0657e16fa7f81ff0fdac977b1e4502e55feb8c2989c464be74e4462 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xff2bdf5105ceb63b2b89b17441e994943963000dd5cbe40030164c8cc353963d62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xfe7eb94e04624386f3424a0c0e674e61dfeaea8373ee337cc29181d685295ac962 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xe0fdbec653a52ec8e65792ee8898106e5d13de3ea3fd092986a3372d16e38c6862 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x0369f071f12f06b66ff7e698c86fa6030642595f8de425fedc8f31852211617362 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x64caaf8595fc1920e5fa093881fc42f10b59c4f4368628c015091ef4c60fd86e62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x6c9c9e16a96af9dc39abcecbd27dc12b1760bbd445892d1581a046377b7f941d62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x73ba28d2b683aba2300160edb8981e56c2d106cbd7fc1fe7e79f5d27bea6312162 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xe8d16512670b142a838c7e05d79c56be09326c5c9819fd6ed2c1b5c08da016bd62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xda52e909ca70f66a547817c2a4f867fa6b2c44ec4d681d7997370d3a6ae6882162 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xdc6a9d00d56ba493d2964336fe72b82cb6741e4c568ea0c7fb1b2cd3fc7ccf9162 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x8fd316d82961133e433e172728b54bce54947738c4fc5f5e12ed501c4817ffa462 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x883a8d6dc7afc20f697a84e6f9542738bf88b0d9aacc09fd5e24d4e9a4531abf62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x4a8cb5478ab9259dd6dd8313890de031ba307e6ad6866b57c4a232070f02234762 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x8fae45b10ece2cf40e1685278ac0be3768f76f9e47a91f5411c39cd4ad78689862 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0xce90d57ba4603a5f332206d4932944e34277d1451dcd04d65cef595c476ef5c562 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x122caea50e77fda12d9343e82e4e570f84ab7714d0cd5f0341e3d68e3635514d62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x64d9cb5b2b510d097ed43a1f6444fb7e17c9c51333bcaccdc1158d70d315a63262 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x87e42f0f94e38b2e67c22609e2ece6f40591224c109b7b2bd8e0c97ac50b41f762 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
0x753dea45b05ddba7f444bf2e6334453aaf26eb4681c5e6d20eed5c5a52c7d2aa62 days 5 hrs ago0x3d50d5054e880260bc6ee881663e543bf2122558  IN   Blockcloud_TokenSale0 Ether0.00105584
[ 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
0xea5f81730026555f1e8aec2fe45decc1d66cb6a56f042b86e1d62e7dcffddc8b654398960 days 21 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xcabf61187b4f04b6a0c246bc3042e6ee1efc82e390.413827262782497603 Ether
0x8c76c9fb836a690fb19e61a8ead21a3af7ce6da4657c848cab47118c80614e75653593762 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xc310fbd7d57eb3484cbb842be8fadddfd818ecd20.70152 Ether
0xabdfeedf6778b55453f1fbf6f1ffce5a96d2725140e2a8892dbc13ac8700591d653593462 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x17e535caa322928e9312057df50cfac685c34dce0.6636 Ether
0x9eaa9c1fe926c352ef781ed5e9f270068ddeeb0574584eaa8aed59d3bcb896a9653593262 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x00b680b9f25db2f39bd7762856b9ddac034df2d90.5688 Ether
0x7c80444c67ec1ac775f8444c821059b1b8b3e8f6c38bbfbab510818a4ec7f93f653592862 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x7aba56797eb7a8ad890db15014134eeb52bad3060.7347 Ether
0x323d3aa7a7f0657e16fa7f81ff0fdac977b1e4502e55feb8c2989c464be74e44653592562 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x13e4897ff469cf692b2546889685b012cc19eff30.8532 Ether
0xff2bdf5105ceb63b2b89b17441e994943963000dd5cbe40030164c8cc353963d653592362 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xb9e453ce154ee76b8d438daf3e075f4c087914600.37446 Ether
0xfe7eb94e04624386f3424a0c0e674e61dfeaea8373ee337cc29181d685295ac9653592162 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xc7bf6e07c0400fe5b45602e8a02ae17f5285ca550.6399 Ether
0xe0fdbec653a52ec8e65792ee8898106e5d13de3ea3fd092986a3372d16e38c68653592162 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x4c0646f0d68e9295071031e66cdcbaf2f9614eff0.6162 Ether
0x0369f071f12f06b66ff7e698c86fa6030642595f8de425fedc8f318522116173653591862 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x48d6ca841e12e3264d0e21968f25a465db0c73320.6399 Ether
0x64caaf8595fc1920e5fa093881fc42f10b59c4f4368628c015091ef4c60fd86e653591562 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x7f521d9c8a238f33c12d3f0a3b8069c8f9abd6d20.0237 Ether
0x6c9c9e16a96af9dc39abcecbd27dc12b1760bbd445892d1581a046377b7f941d653591362 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xfd061cec3cb911649259fa9ff41f8cf153a5c72b0.73944 Ether
0x73ba28d2b683aba2300160edb8981e56c2d106cbd7fc1fe7e79f5d27bea63121653591162 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x4adeabdbdafc14607dbeaa0725fb0867ca9ad2c20.75366 Ether
0xe8d16512670b142a838c7e05d79c56be09326c5c9819fd6ed2c1b5c08da016bd653590862 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xfd3c7064d9e1701c598723a87f720cbfac67e0b90.711 Ether
0xda52e909ca70f66a547817c2a4f867fa6b2c44ec4d681d7997370d3a6ae68821653590662 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x306bf1cf708ddbb8ff6afd037e930f681c40b18b0.1422 Ether
0xdc6a9d00d56ba493d2964336fe72b82cb6741e4c568ea0c7fb1b2cd3fc7ccf91653590262 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xb37381f60113dca48981f215e54eab6ca18e60700.237 Ether
0x8fd316d82961133e433e172728b54bce54947738c4fc5f5e12ed501c4817ffa4653589962 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x551ea51140fdbdc8309ff40ba9fcc4b73732d4d50.5688 Ether
0x883a8d6dc7afc20f697a84e6f9542738bf88b0d9aacc09fd5e24d4e9a4531abf653589462 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x51051ecf299ad69b3f8452ba4897179902d691530.6636 Ether
0x4a8cb5478ab9259dd6dd8313890de031ba307e6ad6866b57c4a232070f022347653589262 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xb1bde19b0c500456e10331a76cb1b0cb13afdd300.5688 Ether
0x8fae45b10ece2cf40e1685278ac0be3768f76f9e47a91f5411c39cd4ad786898653589262 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x2afdb35e099d42213eec26fbcbeeb91062ae5e470.8057938524096 Ether
0xce90d57ba4603a5f332206d4932944e34277d1451dcd04d65cef595c476ef5c5653589062 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x6e166ed95578869fef041ec1f8cd09587cf27ce60.4503 Ether
0x122caea50e77fda12d9343e82e4e570f84ab7714d0cd5f0341e3d68e3635514d653588762 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x8a13f91febd349b76770fe838b0861e02c844e3b0.1659 Ether
0x64d9cb5b2b510d097ed43a1f6444fb7e17c9c51333bcaccdc1158d70d315a632653588562 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010xa182d1a1bee1f059b24cd5d6f19b30bec43456540.8532 Ether
0x87e42f0f94e38b2e67c22609e2ece6f40591224c109b7b2bd8e0c97ac50b41f7653588362 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x5d98d0a699657c8a39c555356d213ac6b0b8256f0.6399 Ether
0x753dea45b05ddba7f444bf2e6334453aaf26eb4681c5e6d20eed5c5a52c7d2aa653588362 days 5 hrs ago0xcb9a22a16e3879283c1da182491403ae7cb155010x96bd74bfd16318feca08ac9c15772b7a442f38bf0.29862 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Similar Match)
Note: Displaying Similar Match Verified Source Code At Contract 0x6df3def177d51a9727d539b8dfa908ab34ffd07a(Excluding Constructor Arguments if any)
Contract Name: WhitelistSale
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || 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 ERC20Constant {
    function balanceOf( address who ) view public returns (uint value);
}
contract ERC20Stateful {
    function transfer( address to, uint value) public returns (bool ok);
}
contract ERC20Events {
    event Transfer(address indexed from, address indexed to, uint value);
}
contract ERC20 is ERC20Constant, ERC20Stateful, ERC20Events {}

contract Owned {
    address public owner;

    constructor() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner,"owner only");
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        owner = newOwner;
    }
}

contract WhitelistSale is Owned {

    ERC20 public blocToken;

    uint256 public blocPerEth;
    
    bool running;

    mapping(address => bool) public whitelisted;

    mapping(address => uint256) public bought;
    
    mapping(address => uint256) public userLimitAmount;
    
    mapping(address => bool) public whitelistUserGettedBloc;
        
    mapping(address => bool) public whitelistUserGettedEthBack;
    
    uint256 rebackRate; // 0-10000
    uint256 constant MaxRate = 10000; 
    address public receiver;
    address[] private whitelistUsers;
    uint256 constant public maxGasPrice = 50000000000;

    event LogWithdrawal(uint256 _value);
    event LogBought(uint orderInMana);
    // event LogUserAdded(address user);
    event LogUserRemoved(address user);

    constructor(
        address _receiver
    ) public Owned()
    {
        blocToken;
        receiver         = _receiver;
        blocPerEth       = 0;
        whitelistUsers   = new address[](0);
        rebackRate       = 0;
        running          = true;
    }
    
    function getRebackRate() public view returns (uint256 rate) {
        return rebackRate;
    }
    
    function changePerEthToBlocNumber(uint256 _value)  public onlyOwner {
        require(_value > 0,"ratio must > 0");
        blocPerEth = _value;
    }
    
    function changeRebackRate(uint256 _rate)  public onlyOwner {
        require(_rate > 0,"refundrate must > 0");
        require(_rate < MaxRate,"refundrate must < 10000");
        rebackRate = _rate;
    }
    
    function changeBlocTokenAdress(ERC20 _tokenContractAddress)  public onlyOwner {
        blocToken = _tokenContractAddress;
    }
    
    function withdrawEth(uint256 _value)  public onlyOwner {
        require(receiver != address(0),"receiver not set");
        receiver.transfer(_value);
    }

    function withdrawBloc(uint256 _value)  public onlyOwner  returns (bool ok) {
        require(blocToken != address(0),"token contract not set");
        return withdrawToken(blocToken, _value);
    }

    function withdrawToken(address _token, uint256 _value) private onlyOwner  returns (bool ok) {
        bool result = ERC20(_token).transfer(owner,_value);
        if (result) emit LogWithdrawal(_value);
        return result;
    }

    function changeReceiver(address _receiver) public onlyOwner {
        require(_receiver != address(0),"empty receiver");
        receiver = _receiver;
    }
    
    function changeBlocPerEth(uint256 _value) public onlyOwner {
        require(_value != 0,"ratio should > 0");
        blocPerEth = _value;
    }
    
    function changeRuningState(bool _value) public onlyOwner {
        running = _value;
    }
    
    modifier onlyIsRuning {
        require(running,"KYC over");
        _;
    }

    function buy() private onlyIsRuning {
        require(whitelisted[msg.sender],"not whitelisted");
        require(whitelistUserGettedBloc[msg.sender] == false,"token already sent");
        require(msg.value >= 0.2 ether,"must greater or equal to 0.2 eth");

        uint256 allowedForSender = SafeMath.sub(userLimitAmount[msg.sender], bought[msg.sender]);
        if (msg.value > allowedForSender) revert("over limit amount");
        // receiver.transfer(msg.value);
        bought[msg.sender] = SafeMath.add(bought[msg.sender], msg.value);
    }
    
    function transferBlocToUser(address userAddress) public onlyOwner {
        require(rebackRate < MaxRate,"refundrate overflow");
        require(blocPerEth > 0,"token ratio not set");
        require(whitelistUserGettedBloc[userAddress] == false,"token already sent");
        require(bought[userAddress] > 0,"not bought");
             
        uint256 bountPerEth = SafeMath.mul( blocPerEth , (MaxRate - rebackRate));
        uint orderInBloc = SafeMath.mul(SafeMath.div(bought[userAddress],MaxRate),bountPerEth) ;
            
        uint256 balanceInBloc = blocToken.balanceOf(address(this));
        if (orderInBloc > balanceInBloc) revert("not enough token");
        if (blocToken.transfer(userAddress, orderInBloc)) whitelistUserGettedBloc[userAddress] = true;
    }
    
    function transferEthBackToUser(address userAddress) public onlyOwner {
        require(rebackRate > 0,"refundrate not set");
        require(whitelistUserGettedEthBack[userAddress] == false,"token already sent");
        require(bought[userAddress] > 0,"not bought");
             
        uint backEthNumber = SafeMath.mul(SafeMath.div(bought[userAddress],MaxRate),rebackRate) ;
        whitelistUserGettedEthBack[userAddress] = true;
        userAddress.transfer(backEthNumber);
    }
    

    function addUser(address user,uint amount) public onlyOwner onlyIsRuning {
        if (whitelisted[user] == true) {
            if (userLimitAmount[user] != amount) {
                userLimitAmount[user] = amount;
            }
            return;
        }
        
        whitelisted[user] = true;
        whitelistUsers.push(user);
        userLimitAmount[user] = amount;
        whitelistUserGettedBloc[user] = false;
        whitelistUserGettedEthBack[user] = false;
        // emit LogUserAdded(user);
    }

    function removeUser(address user) public onlyOwner onlyIsRuning {
        whitelisted[user] = false;
        emit LogUserRemoved(user);
    }

    function addManyUsers(address[] users,uint[] amounts) public onlyOwner onlyIsRuning {
        require(users.length < 10000,"list too long");
        require(users.length == amounts.length, "users' length != amounts' length");
        
        for (uint index = 0; index < users.length; index++) {
            addUser(users[index],amounts[index]);
        }
    }

    function() public payable onlyIsRuning {
        require(tx.gasprice <= maxGasPrice,"gas price must not greater than 50GWei");
        buy();
    }
    
    function getWhiteUsers() public view onlyOwner returns(address[] whitelistUsersResult) {
        return whitelistUsers;
    }


    function getWhiteUsersFrom(uint index, uint size) public view onlyOwner returns(address[] whitelistUsersResult) {
        address[] memory slice = new address[](size);
        uint idx = 0;
        for (uint i = index; idx < size && i < whitelistUsers.length; i++) {
            slice[idx] = whitelistUsers[i];
            idx++;
        }
        return slice;
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"userAddress","type":"address"}],"name":"transferEthBackToUser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRebackRate","outputs":[{"name":"rate","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"blocToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getWhiteUsers","outputs":[{"name":"whitelistUsersResult","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"bool"}],"name":"changeRuningState","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"userLimitAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxGasPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"blocPerEth","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_receiver","type":"address"}],"name":"changeReceiver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"changeBlocPerEth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenContractAddress","type":"address"}],"name":"changeBlocTokenAdress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"bought","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"whitelistUserGettedBloc","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"changePerEthToBlocNumber","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"},{"name":"size","type":"uint256"}],"name":"getWhiteUsersFrom","outputs":[{"name":"whitelistUsersResult","type":"address[]"}],"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":"_value","type":"uint256"}],"name":"withdrawBloc","outputs":[{"name":"ok","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"user","type":"address"}],"name":"removeUser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_rate","type":"uint256"}],"name":"changeRebackRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"whitelistUserGettedEthBack","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"withdrawEth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"user","type":"address"},{"name":"amount","type":"uint256"}],"name":"addUser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"whitelisted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"users","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"addManyUsers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"receiver","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"userAddress","type":"address"}],"name":"transferBlocToUser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_receiver","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_value","type":"uint256"}],"name":"LogWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"orderInMana","type":"uint256"}],"name":"LogBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"}],"name":"LogUserRemoved","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60806040523480156200001157600080fd5b5060405160208062001e5783398101604081815291516000805433600160a060020a0319918216178255600a8054909116600160a060020a038416179055600281905582526020820192839052905190916200007191600b91906200008b565b505060006009556003805460ff191660011790556200011f565b828054828255906000526020600020908101928215620000e3579160200282015b82811115620000e35782518254600160a060020a031916600160a060020a03909116178255602090920191600190910190620000ac565b50620000f1929150620000f5565b5090565b6200011c91905b80821115620000f1578054600160a060020a0319168155600101620000fc565b90565b611d28806200012f6000396000f30060806040526004361061015e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630777794981146102355780632145a455146102565780632269ba2c1461027d578063259bc6f5146102ae57806328f3402b14610313578063382054b21461032d5780633de39c111461034e5780634407cd2014610363578063547e3f061461037857806359aaaf86146103995780635e2733e0146103b1578063667022fd146103d25780636a676ad5146103f35780637185354b146104285780638d20194d146104405780638da5cb5b1461045b5780638eb6ffaa1461047057806398575188146104885780639d09f8e5146104a9578063b129404f146104c1578063c311d049146104e2578063d3017193146104fa578063d936547e1461051e578063ecf1e0fd1461053f578063f2fde38b146105cd578063f7260d3e146105ee578063fb55ed2a14610603575b60035460ff1615156101a8576040805160e560020a62461bcd0281526020600482015260086024820152600080516020611cbd833981519152604482015290519081900360640190fd5b640ba43b74003a111561022b576040805160e560020a62461bcd02815260206004820152602660248201527f676173207072696365206d757374206e6f742067726561746572207468616e2060448201527f3530475765690000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b610233610624565b005b34801561024157600080fd5b50610233600160a060020a036004351661084f565b34801561026257600080fd5b5061026b610a60565b60408051918252519081900360200190f35b34801561028957600080fd5b50610292610a66565b60408051600160a060020a039092168252519081900360200190f35b3480156102ba57600080fd5b506102c3610a75565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102ff5781810151838201526020016102e7565b505050509050019250505060405180910390f35b34801561031f57600080fd5b506102336004351515610b28565b34801561033957600080fd5b5061026b600160a060020a0360043516610b8b565b34801561035a57600080fd5b5061026b610b9d565b34801561036f57600080fd5b5061026b610ba6565b34801561038457600080fd5b50610233600160a060020a0360043516610bac565b3480156103a557600080fd5b50610233600435610c8b565b3480156103bd57600080fd5b50610233600160a060020a0360043516610d37565b3480156103de57600080fd5b5061026b600160a060020a0360043516610db6565b3480156103ff57600080fd5b50610414600160a060020a0360043516610dc8565b604080519115158252519081900360200190f35b34801561043457600080fd5b50610233600435610ddd565b34801561044c57600080fd5b506102c3600435602435610e85565b34801561046757600080fd5b50610292610f88565b34801561047c57600080fd5b50610414600435610f97565b34801561049457600080fd5b50610233600160a060020a0360043516611066565b3480156104b557600080fd5b50610233600435611158565b3480156104cd57600080fd5b50610414600160a060020a036004351661125e565b3480156104ee57600080fd5b50610233600435611273565b34801561050657600080fd5b50610233600160a060020a0360043516602435611363565b34801561052a57600080fd5b50610414600160a060020a0360043516611504565b34801561054b57600080fd5b506040805160206004803580820135838102808601850190965280855261023395369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506115199650505050505050565b3480156105d957600080fd5b50610233600160a060020a03600435166116b4565b3480156105fa57600080fd5b50610292611733565b34801561060f57600080fd5b50610233600160a060020a0360043516611742565b60035460009060ff161515610671576040805160e560020a62461bcd0281526020600482015260086024820152600080516020611cbd833981519152604482015290519081900360640190fd5b3360009081526004602052604090205460ff1615156106da576040805160e560020a62461bcd02815260206004820152600f60248201527f6e6f742077686974656c69737465640000000000000000000000000000000000604482015290519081900360640190fd5b3360009081526007602052604090205460ff1615610742576040805160e560020a62461bcd02815260206004820152601260248201527f746f6b656e20616c72656164792073656e740000000000000000000000000000604482015290519081900360640190fd5b6702c68af0bb1400003410156107a2576040805160e560020a62461bcd02815260206004820181905260248201527f6d7573742067726561746572206f7220657175616c20746f20302e3220657468604482015290519081900360640190fd5b336000908152600660209081526040808320546005909252909120546107c89190611b28565b905080341115610822576040805160e560020a62461bcd02815260206004820152601160248201527f6f766572206c696d697420616d6f756e74000000000000000000000000000000604482015290519081900360640190fd5b3360009081526005602052604090205461083c9034611b3a565b3360009081526005602052604090205550565b60008054600160a060020a031633146108a0576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b6009546000106108fa576040805160e560020a62461bcd02815260206004820152601260248201527f726566756e6472617465206e6f74207365740000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03821660009081526008602052604090205460ff161561096b576040805160e560020a62461bcd02815260206004820152601260248201527f746f6b656e20616c72656164792073656e740000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260056020526040812054116109d9576040805160e560020a62461bcd02815260206004820152600a60248201527f6e6f7420626f7567687400000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260056020526040902054610a0a90610a0290612710611b50565b600954611b67565b600160a060020a038316600081815260086020526040808220805460ff1916600117905551929350909183156108fc0291849190818181858888f19350505050158015610a5b573d6000803e3d6000fd5b505050565b60095490565b600154600160a060020a031681565b600054606090600160a060020a03163314610ac8576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b600b805480602002602001604051908101604052809291908181526020018280548015610b1e57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610b00575b5050505050905090565b600054600160a060020a03163314610b78576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b6003805460ff1916911515919091179055565b60066020526000908152604090205481565b640ba43b740081565b60025481565b600054600160a060020a03163314610bfc576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b600160a060020a0381161515610c5c576040805160e560020a62461bcd02815260206004820152600e60248201527f656d707479207265636569766572000000000000000000000000000000000000604482015290519081900360640190fd5b600a805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a03163314610cdb576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b801515610d32576040805160e560020a62461bcd02815260206004820152601060248201527f726174696f2073686f756c64203e203000000000000000000000000000000000604482015290519081900360640190fd5b600255565b600054600160a060020a03163314610d87576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60056020526000908152604090205481565b60076020526000908152604090205460ff1681565b600054600160a060020a03163314610e2d576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b60008111610d32576040805160e560020a62461bcd02815260206004820152600e60248201527f726174696f206d757374203e2030000000000000000000000000000000000000604482015290519081900360640190fd5b6000805460609182918190600160a060020a03163314610edd576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b84604051908082528060200260200182016040528015610f07578160200160208202803883390190505b509250600091508590505b8482108015610f225750600b5481105b15610f7e57600b805482908110610f3557fe5b6000918252602090912001548351600160a060020a0390911690849084908110610f5b57fe5b600160a060020a0390921660209283029091019091015260019182019101610f12565b5090949350505050565b600054600160a060020a031681565b60008054600160a060020a03163314610fe8576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b600154600160a060020a0316151561104a576040805160e560020a62461bcd02815260206004820152601660248201527f746f6b656e20636f6e7472616374206e6f742073657400000000000000000000604482015290519081900360640190fd5b60015461106090600160a060020a031683611b8b565b92915050565b600054600160a060020a031633146110b6576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b60035460ff161515611100576040805160e560020a62461bcd0281526020600482015260086024820152600080516020611cbd833981519152604482015290519081900360640190fd5b600160a060020a038116600081815260046020908152604091829020805460ff19169055815192835290517f820cfa068d67f8bd8bb05be4525aca026c8a81dd1925efc320ecd01ab716569f9281900390910190a150565b600054600160a060020a031633146111a8576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b60008111611200576040805160e560020a62461bcd02815260206004820152601360248201527f726566756e6472617465206d757374203e203000000000000000000000000000604482015290519081900360640190fd5b6127108110611259576040805160e560020a62461bcd02815260206004820152601760248201527f726566756e6472617465206d757374203c203130303030000000000000000000604482015290519081900360640190fd5b600955565b60086020526000908152604090205460ff1681565b600054600160a060020a031633146112c3576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b600a54600160a060020a03161515611325576040805160e560020a62461bcd02815260206004820152601060248201527f7265636569766572206e6f742073657400000000000000000000000000000000604482015290519081900360640190fd5b600a54604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015801561135f573d6000803e3d6000fd5b5050565b600054600160a060020a031633146113b3576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b60035460ff1615156113fd576040805160e560020a62461bcd0281526020600482015260086024820152600080516020611cbd833981519152604482015290519081900360640190fd5b600160a060020a03821660009081526004602052604090205460ff1615156001141561146357600160a060020a038216600090815260066020526040902054811461145e57600160a060020a03821660009081526006602052604090208190555b61135f565b600160a060020a0382166000818152600460209081526040808320805460ff199081166001908117909255600b805492830190557f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9909101805473ffffffffffffffffffffffffffffffffffffffff191686179055938352600682528083208590556007825280832080548516905560089091529020805490911690555050565b60046020526000908152604090205460ff1681565b60008054600160a060020a0316331461156a576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b60035460ff1615156115b4576040805160e560020a62461bcd0281526020600482015260086024820152600080516020611cbd833981519152604482015290519081900360640190fd5b82516127101161160e576040805160e560020a62461bcd02815260206004820152600d60248201527f6c69737420746f6f206c6f6e6700000000000000000000000000000000000000604482015290519081900360640190fd5b8151835114611667576040805160e560020a62461bcd02815260206004820181905260248201527f757365727327206c656e67746820213d20616d6f756e747327206c656e677468604482015290519081900360640190fd5b5060005b8251811015610a5b576116ac838281518110151561168557fe5b90602001906020020151838381518110151561169d57fe5b90602001906020020151611363565b60010161166b565b600054600160a060020a03163314611704576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a54600160a060020a031681565b6000805481908190600160a060020a03163314611797576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b600954612710116117f2576040805160e560020a62461bcd02815260206004820152601360248201527f726566756e6472617465206f766572666c6f7700000000000000000000000000604482015290519081900360640190fd5b60025460001061184c576040805160e560020a62461bcd02815260206004820152601360248201527f746f6b656e20726174696f206e6f742073657400000000000000000000000000604482015290519081900360640190fd5b600160a060020a03841660009081526007602052604090205460ff16156118bd576040805160e560020a62461bcd02815260206004820152601260248201527f746f6b656e20616c72656164792073656e740000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600560205260408120541161192b576040805160e560020a62461bcd02815260206004820152600a60248201527f6e6f7420626f7567687400000000000000000000000000000000000000000000604482015290519081900360640190fd5b61193d60025460095461271003611b67565b600160a060020a03851660009081526005602052604090205490935061196f9061196990612710611b50565b84611b67565b600154604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051929450600160a060020a03909116916370a08231916024808201926020929091908290030181600087803b1580156119d857600080fd5b505af11580156119ec573d6000803e3d6000fd5b505050506040513d6020811015611a0257600080fd5b5051905080821115611a5e576040805160e560020a62461bcd02815260206004820152601060248201527f6e6f7420656e6f75676820746f6b656e00000000000000000000000000000000604482015290519081900360640190fd5b600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a038781166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611acd57600080fd5b505af1158015611ae1573d6000803e3d6000fd5b505050506040513d6020811015611af757600080fd5b505115611b2257600160a060020a0384166000908152600760205260409020805460ff191660011790555b50505050565b600082821115611b3457fe5b50900390565b600082820183811015611b4957fe5b9392505050565b6000808284811515611b5e57fe5b04949350505050565b6000828202831580611b835750828482811515611b8057fe5b04145b1515611b4957fe5b600080548190600160a060020a03163314611bde576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020611cdd833981519152604482015290519081900360640190fd5b60008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810187905290519187169263a9059cbb926044808401936020939083900390910190829087803b158015611c4e57600080fd5b505af1158015611c62573d6000803e3d6000fd5b505050506040513d6020811015611c7857600080fd5b505190508015611b49576040805184815290517fa26d6de68d7cc61e250566e49297af6d4a7dfb4b5a0185fb55db62de319154819181900360200190a1939250505056004b5943206f7665720000000000000000000000000000000000000000000000006f776e6572206f6e6c7900000000000000000000000000000000000000000000a165627a7a72305820739426869421f4e84ce437e987d655b810786870c3e6c0e2de76047ae600829e002900000000000000000000000038a6c8c11fd8ff05e24617466f0377dc6aea4278

   Swarm Source:
bzzr://739426869421f4e84ce437e987d655b810786870c3e6c0e2de76047ae600829e

 

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.