ETH Price: $3,322.82 (-1.97%)
 

Overview

Max Total Supply

120 S100

Holders

35

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
1 S100

Value
$0.00
0x1F1d67db93bC3483Ca47F2a7593885EB22bD9622
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Super100

Compiler Version
v0.5.4+commit.9549d8ff

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-03-02
*/

pragma solidity ^0.5.0;

interface PriceWatcherI
{
    function getUSDcentsPerETH() external view returns (uint256 _USDcentsPerETH);
}


contract PriceWatcherPlaceholder is PriceWatcherI
{
    function getUSDcentsPerETH() external view returns (uint256 _USDcentsPerETH)
    {
        return 12345; // $123.45 per ETH
    }
}

contract Super100
{
    // Constants
    uint256 public TOKEN_PRICE_USD_CENTS;
    uint256 public totalSupply;
    uint256 public AMOUNT_OF_FREE_TOKENS;
    address payable public root;
    address payable public bank;
    uint256 public REFERRER_COMMISSION_PERCENTAGE;
    uint256 public ROOT_COMMISSION_PERCENTAGE;
    PriceWatcherI public priceWatcher;
    
    // State variables
    mapping(address => uint256) private balances;
    address[] public participants;
    mapping(address => address payable) public address_to_referrer;
    mapping(address => address[]) public address_to_referrals;
    
    constructor(address _priceWatcherContract, uint256 _tokenPriceUSDcents, uint256 _totalSupply, uint256 _amountOfFreeTokens, address payable _root, address payable _bank, uint256 _referrerCommissionPercentage, uint256 _rootCommissionPercentage) public
    {
        if (_priceWatcherContract == address(0x0))
        {
            priceWatcher = new PriceWatcherPlaceholder();
        }
        else
        {
            priceWatcher = PriceWatcherI(_priceWatcherContract);
        }

        TOKEN_PRICE_USD_CENTS = _tokenPriceUSDcents;
        totalSupply = _totalSupply;
        AMOUNT_OF_FREE_TOKENS = _amountOfFreeTokens;
        root = _root;
        bank = _bank;
        REFERRER_COMMISSION_PERCENTAGE = _referrerCommissionPercentage;
        ROOT_COMMISSION_PERCENTAGE = _rootCommissionPercentage;

        // The root address is its own referrer
        address_to_referrer[root] = root;

        // Mint all the tokens and assign them to the root address
        balances[root] = totalSupply;
        emit Transfer(address(0x0), root, totalSupply);
    }

    function getTokenPriceETH() public view returns (uint256)
    {
        // Fetch the current ETH exchange rate
        uint256 USDcentsPerETH = priceWatcher.getUSDcentsPerETH();

        // Use the exchange rate to calculate the current token price in ETH
        return (1 ether) * TOKEN_PRICE_USD_CENTS / USDcentsPerETH;
    }
    
    function buyTokens(address payable _referrer) external payable
    {
        uint256 tokensBought;
        uint256 totalValueOfTokensBought;

        uint256 tokenPriceWei = getTokenPriceETH();
        
        // If there are still free tokens available
        if (participants.length < AMOUNT_OF_FREE_TOKENS)
        {
            tokensBought = 1;
            totalValueOfTokensBought = 0;

            // Only 1 free token per address
            require(address_to_referrer[msg.sender] == address(0x0));
        }

        // If there are no free tokens available
        else
        {
            tokensBought = msg.value / tokenPriceWei;
            
            // Limit the bought tokens to the amount of tokens still for sale
            if (tokensBought > balances[root])
            {
                tokensBought = balances[root];
            }
            
            totalValueOfTokensBought = tokensBought * tokenPriceWei;
        }
        
        // If 0 tokens are being purchased, cancel this transaction
        require(tokensBought > 0);

        // Return the change
        msg.sender.transfer(msg.value - totalValueOfTokensBought);
        
        // If we haven't seen this buyer before
        if (address_to_referrer[msg.sender] == address(0x0))
        {
            // Referrer must have owned at least 1 token
            require(address_to_referrer[_referrer] != address(0x0));
            
            // Add them to the particpants list and the referral tree
            address_to_referrer[msg.sender] = _referrer;
            address_to_referrals[_referrer].push(msg.sender);
            participants.push(msg.sender);
        }
        
        // If we have seen this buyer before
        else
        {
            // Referrer must be the same as their previous referrer
            require(_referrer == address_to_referrer[msg.sender]);
        }
        
        // Transfer the bought tokens from root to the buyer
        balances[root] -= tokensBought;
        balances[msg.sender] += tokensBought;
        emit Transfer(root, msg.sender, tokensBought);
        
        // Transfer commission to the referrer
        uint256 commissionForReferrer = totalValueOfTokensBought * REFERRER_COMMISSION_PERCENTAGE / 100;
        _referrer.transfer(commissionForReferrer);
        
        // Transfer commission to the root
        uint256 commissionForRoot = totalValueOfTokensBought * ROOT_COMMISSION_PERCENTAGE / 100;
        root.transfer(commissionForRoot);
        
        // Transfer the remaining ETH to the bank
        bank.transfer(totalValueOfTokensBought - commissionForReferrer - commissionForRoot);
    }

    function amountOfReferralsMade(address _byReferrer) external view returns (uint256)
    {
        return address_to_referrals[_byReferrer].length;
    }
    
    function amountOfTokensForSale() external view returns (uint256)
    {
        return balances[root];
    }

    function amountOfFreeTokensAvailable() external view returns (uint256)
    {
        if (participants.length < AMOUNT_OF_FREE_TOKENS)
        {
            return AMOUNT_OF_FREE_TOKENS - participants.length;
        }
        else
        {
            return 0;
        }
    }
    
    // ERC20 implementation
    string public constant name = "Super100";
    string public constant symbol = "S100";
    uint8 public constant decimals = 0;

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

    event Transfer(address indexed _from, address indexed _to, uint256 _amount);
    event Approval(address indexed _owner, address indexed _spender, uint256 _amount);

    function balanceOf(address _who) external view returns (uint256)
    {
        return balances[_who];
    }
    function allowance(address _owner, address _spender) external view returns (uint256)
    {
        return allowed[_owner][_spender];
    }
    
    function transfer(address _to, uint256 _amount) external returns (bool)
    {
        require(balances[msg.sender] >= _amount);
        balances[msg.sender] -= _amount;
        balances[_to] += _amount;
        emit Transfer(msg.sender, _to, _amount);
        return true;
    }
    function transferFrom(address _from, address _to, uint256 _amount) external returns (bool)
    {
        require(allowed[_from][msg.sender] >= _amount);
        require(balances[_from] >= _amount);
        allowed[_from][msg.sender] -= _amount;
        balances[_from] -= _amount;
        balances[_to] += _amount;
        emit Transfer(_from, _to, _amount);
        emit Approval(_from, msg.sender, allowed[_from][msg.sender]);
        return true;
    }
    function approve(address _spender, uint256 _amount) external returns (bool)
    {
        allowed[msg.sender][_spender] = _amount;
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }
    function increaseAllowance(address _spender, uint256 _addedAmount) public returns (bool)
    {
        require(allowed[msg.sender][_spender] + _addedAmount >= _addedAmount);
        allowed[msg.sender][_spender] += _addedAmount;
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }
    function decreaseAllowance(address _spender, uint256 _subtractedAmount) public returns (bool)
    {
        require(allowed[msg.sender][_spender] >= _subtractedAmount);
        allowed[msg.sender][_spender] -= _subtractedAmount;
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"priceWatcher","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"address_to_referrer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"participants","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"address_to_referrals","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedAmount","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"REFERRER_COMMISSION_PERCENTAGE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"amountOfTokensForSale","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"AMOUNT_OF_FREE_TOKENS","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bank","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTokenPriceETH","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOKEN_PRICE_USD_CENTS","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_byReferrer","type":"address"}],"name":"amountOfReferralsMade","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedAmount","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ROOT_COMMISSION_PERCENTAGE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"amountOfFreeTokensAvailable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"root","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_referrer","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[{"name":"_priceWatcherContract","type":"address"},{"name":"_tokenPriceUSDcents","type":"uint256"},{"name":"_totalSupply","type":"uint256"},{"name":"_amountOfFreeTokens","type":"uint256"},{"name":"_root","type":"address"},{"name":"_bank","type":"address"},{"name":"_referrerCommissionPercentage","type":"uint256"},{"name":"_rootCommissionPercentage","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Approval","type":"event"}]

608060405234801561001057600080fd5b50604051610100806111a7833981018060405261010081101561003257600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959694959394929391929091600160a060020a03881615156100c35760405161008190610196565b604051809103906000f08015801561009d573d6000803e3d6000fd5b5060078054600160a060020a031916600160a060020a03929092169190911790556100df565b60078054600160a060020a031916600160a060020a038a161790555b60008781556001878155600287905560038054600160a060020a03808916600160a060020a031992831617808455600480548a8416908516179055600588905560068790558116808652600a602090815260408088208054909516909217909355935483548216865260088352848620819055925484519384529351931693927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350505050505050506101a2565b60b1806110f683390190565b610f45806101b16000396000f3fe60806040526004361061019e576000357c0100000000000000000000000000000000000000000000000000000000900480637281d2a9116100ee578063a457c2d7116100a7578063d7b6bd0111610081578063d7b6bd011461058f578063dd62ed3e146105a4578063ebf0c717146105df578063ec8ac4d8146105f45761019e565b8063a457c2d714610508578063a7c67e3514610541578063a9059cbb146105565761019e565b80637281d2a91461046c57806376cdb03b1461048157806387129f521461049657806389ba195e146104ab57806395d89b41146104c05780639d47feb6146104d55761019e565b8063313ce5671161015b578063395093511161013557806339509351146103d65780633c3d72431461040f57806359bc74a41461042457806370a08231146104395761019e565b8063313ce5671461034857806335c1d3491461037357806338651c591461039d5761019e565b806306fdde03146101a3578063095ea7b31461022d5780630d2aa2451461027a57806318160ddd146102ab5780631f362867146102d257806323b872dd14610305575b600080fd5b3480156101af57600080fd5b506101b861061c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f25781810151838201526020016101da565b50505050905090810190601f16801561021f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023957600080fd5b506102666004803603604081101561025057600080fd5b50600160a060020a038135169060200135610653565b604080519115158252519081900360200190f35b34801561028657600080fd5b5061028f6106a7565b60408051600160a060020a039092168252519081900360200190f35b3480156102b757600080fd5b506102c06106b6565b60408051918252519081900360200190f35b3480156102de57600080fd5b5061028f600480360360208110156102f557600080fd5b5035600160a060020a03166106bc565b34801561031157600080fd5b506102666004803603606081101561032857600080fd5b50600160a060020a038135811691602081013590911690604001356106d7565b34801561035457600080fd5b5061035d610800565b6040805160ff9092168252519081900360200190f35b34801561037f57600080fd5b5061028f6004803603602081101561039657600080fd5b5035610805565b3480156103a957600080fd5b5061028f600480360360408110156103c057600080fd5b50600160a060020a03813516906020013561082d565b3480156103e257600080fd5b50610266600480360360408110156103f957600080fd5b50600160a060020a038135169060200135610864565b34801561041b57600080fd5b506102c06108f0565b34801561043057600080fd5b506102c06108f6565b34801561044557600080fd5b506102c06004803603602081101561045c57600080fd5b5035600160a060020a0316610915565b34801561047857600080fd5b506102c0610930565b34801561048d57600080fd5b5061028f610936565b3480156104a257600080fd5b506102c0610945565b3480156104b757600080fd5b506102c0610a00565b3480156104cc57600080fd5b506101b8610a06565b3480156104e157600080fd5b506102c0600480360360208110156104f857600080fd5b5035600160a060020a0316610a3d565b34801561051457600080fd5b506102666004803603604081101561052b57600080fd5b50600160a060020a038135169060200135610a58565b34801561054d57600080fd5b506102c0610ae3565b34801561056257600080fd5b506102666004803603604081101561057957600080fd5b50600160a060020a038135169060200135610ae9565b34801561059b57600080fd5b506102c0610b73565b3480156105b057600080fd5b506102c0600480360360408110156105c757600080fd5b50600160a060020a0381358116916020013516610b97565b3480156105eb57600080fd5b5061028f610bc2565b61061a6004803603602081101561060a57600080fd5b5035600160a060020a0316610bd1565b005b60408051808201909152600881527f5375706572313030000000000000000000000000000000000000000000000000602082015281565b336000818152600c60209081526040808320600160a060020a03871680855290835281842086905581518681529151939490939092600080516020610efa833981519152928290030190a350600192915050565b600754600160a060020a031681565b60015481565b600a60205260009081526040902054600160a060020a031681565b600160a060020a0383166000908152600c6020908152604080832033845290915281205482111561070757600080fd5b600160a060020a03841660009081526008602052604090205482111561072c57600080fd5b600160a060020a038085166000818152600c602090815260408083203384528252808320805488900390558383526008825280832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600160a060020a0384166000818152600c6020908152604080832033808552908352928190205481519081529051929392600080516020610efa833981519152929181900390910190a35060019392505050565b600081565b600980548290811061081357fe5b600091825260209091200154600160a060020a0316905081565b600b6020528160005260406000208181548110151561084857fe5b600091825260209091200154600160a060020a03169150829050565b336000908152600c60209081526040808320600160a060020a0386168452909152812054820182111561089657600080fd5b336000818152600c60209081526040808320600160a060020a03881680855290835292819020805487019081905581519081529051929392600080516020610efa833981519152929181900390910190a350600192915050565b60055481565b600354600160a060020a03166000908152600860205260409020545b90565b600160a060020a031660009081526008602052604090205490565b60025481565b600454600160a060020a031681565b600080600760009054906101000a9004600160a060020a0316600160a060020a031663e4d05df66040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156109b257600080fd5b505afa1580156109c6573d6000803e3d6000fd5b505050506040513d60208110156109dc57600080fd5b50516000549091508190670de0b6b3a7640000028115156109f957fe5b0491505090565b60005481565b60408051808201909152600481527f5331303000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03166000908152600b602052604090205490565b336000908152600c60209081526040808320600160a060020a0386168452909152812054821115610a8857600080fd5b336000818152600c60209081526040808320600160a060020a0388168085529083529281902080548790039081905581519081529051929392600080516020610efa833981519152929181900390910190a350600192915050565b60065481565b33600090815260086020526040812054821115610b0557600080fd5b33600081815260086020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b6002546009546000911115610b8f575060095460025403610912565b506000610912565b600160a060020a039182166000908152600c6020908152604080832093909416825291909152205490565b600354600160a060020a031681565b6000806000610bde610945565b6002546009549192501115610c1c57336000908152600a602052604081205460019450909250600160a060020a031615610c1757600080fd5b610c72565b8034811515610c2757fe5b600354600160a060020a03166000908152600860205260409020549190049350831115610c6c57600354600160a060020a031660009081526008602052604090205492505b80830291505b60008311610c7f57600080fd5b60405133903484900380156108fc02916000818181858888f19350505050158015610cae573d6000803e3d6000fd5b50336000908152600a6020526040902054600160a060020a03161515610d9157600160a060020a038481166000908152600a6020526040902054161515610cf457600080fd5b336000818152600a602090815260408083208054600160a060020a038a1673ffffffffffffffffffffffffffffffffffffffff199182168117909255908452600b835290832080546001818101835591855292842090920180548216851790556009805492830181559092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180549091169091179055610db8565b336000908152600a6020526040902054600160a060020a03858116911614610db857600080fd5b60038054600160a060020a03908116600090815260086020908152604080832080548990039055338084529281902080548901905593548451888152945192949316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a360055460405160649184029190910490600160a060020a0386169082156108fc029083906000818181858888f19350505050158015610e69573d6000803e3d6000fd5b5060065460035460405160649286029290920491600160a060020a03909116906108fc8315029083906000818181858888f19350505050158015610eb1573d6000803e3d6000fd5b50600454604051600160a060020a039091169083860383900380156108fc02916000818181858888f19350505050158015610ef0573d6000803e3d6000fd5b5050505050505056fe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a165627a7a723058209ea611d072d3e38a891c06f43c9d7e2c59e00c5a165f8394beecba4f444341c700296080604052348015600f57600080fd5b5060938061001e6000396000f3fe6080604052348015600f57600080fd5b50600436106044577c01000000000000000000000000000000000000000000000000000000006000350463e4d05df681146049575b600080fd5b604f6061565b60408051918252519081900360200190f35b6130399056fea165627a7a723058209b841069e002156a9acd3640d4a9f53181ad3cfae25d92042d60a9709e504e0d0029000000000000000000000000c4b77cdf24e4bef002abbe00fdcc432067d8dd0b0000000000000000000000000000000000000000000000000000000000061a8000000000000000000000000000000000000000000000000000000000000000780000000000000000000000000000000000000000000000000000000000000014000000000000000000000000c919c805879ce779b3e59927c0f2b266ac7939e1000000000000000000000000f86f21030808c9100d7515107d3632d49bdcc192000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a

Deployed Bytecode

0x60806040526004361061019e576000357c0100000000000000000000000000000000000000000000000000000000900480637281d2a9116100ee578063a457c2d7116100a7578063d7b6bd0111610081578063d7b6bd011461058f578063dd62ed3e146105a4578063ebf0c717146105df578063ec8ac4d8146105f45761019e565b8063a457c2d714610508578063a7c67e3514610541578063a9059cbb146105565761019e565b80637281d2a91461046c57806376cdb03b1461048157806387129f521461049657806389ba195e146104ab57806395d89b41146104c05780639d47feb6146104d55761019e565b8063313ce5671161015b578063395093511161013557806339509351146103d65780633c3d72431461040f57806359bc74a41461042457806370a08231146104395761019e565b8063313ce5671461034857806335c1d3491461037357806338651c591461039d5761019e565b806306fdde03146101a3578063095ea7b31461022d5780630d2aa2451461027a57806318160ddd146102ab5780631f362867146102d257806323b872dd14610305575b600080fd5b3480156101af57600080fd5b506101b861061c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f25781810151838201526020016101da565b50505050905090810190601f16801561021f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023957600080fd5b506102666004803603604081101561025057600080fd5b50600160a060020a038135169060200135610653565b604080519115158252519081900360200190f35b34801561028657600080fd5b5061028f6106a7565b60408051600160a060020a039092168252519081900360200190f35b3480156102b757600080fd5b506102c06106b6565b60408051918252519081900360200190f35b3480156102de57600080fd5b5061028f600480360360208110156102f557600080fd5b5035600160a060020a03166106bc565b34801561031157600080fd5b506102666004803603606081101561032857600080fd5b50600160a060020a038135811691602081013590911690604001356106d7565b34801561035457600080fd5b5061035d610800565b6040805160ff9092168252519081900360200190f35b34801561037f57600080fd5b5061028f6004803603602081101561039657600080fd5b5035610805565b3480156103a957600080fd5b5061028f600480360360408110156103c057600080fd5b50600160a060020a03813516906020013561082d565b3480156103e257600080fd5b50610266600480360360408110156103f957600080fd5b50600160a060020a038135169060200135610864565b34801561041b57600080fd5b506102c06108f0565b34801561043057600080fd5b506102c06108f6565b34801561044557600080fd5b506102c06004803603602081101561045c57600080fd5b5035600160a060020a0316610915565b34801561047857600080fd5b506102c0610930565b34801561048d57600080fd5b5061028f610936565b3480156104a257600080fd5b506102c0610945565b3480156104b757600080fd5b506102c0610a00565b3480156104cc57600080fd5b506101b8610a06565b3480156104e157600080fd5b506102c0600480360360208110156104f857600080fd5b5035600160a060020a0316610a3d565b34801561051457600080fd5b506102666004803603604081101561052b57600080fd5b50600160a060020a038135169060200135610a58565b34801561054d57600080fd5b506102c0610ae3565b34801561056257600080fd5b506102666004803603604081101561057957600080fd5b50600160a060020a038135169060200135610ae9565b34801561059b57600080fd5b506102c0610b73565b3480156105b057600080fd5b506102c0600480360360408110156105c757600080fd5b50600160a060020a0381358116916020013516610b97565b3480156105eb57600080fd5b5061028f610bc2565b61061a6004803603602081101561060a57600080fd5b5035600160a060020a0316610bd1565b005b60408051808201909152600881527f5375706572313030000000000000000000000000000000000000000000000000602082015281565b336000818152600c60209081526040808320600160a060020a03871680855290835281842086905581518681529151939490939092600080516020610efa833981519152928290030190a350600192915050565b600754600160a060020a031681565b60015481565b600a60205260009081526040902054600160a060020a031681565b600160a060020a0383166000908152600c6020908152604080832033845290915281205482111561070757600080fd5b600160a060020a03841660009081526008602052604090205482111561072c57600080fd5b600160a060020a038085166000818152600c602090815260408083203384528252808320805488900390558383526008825280832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600160a060020a0384166000818152600c6020908152604080832033808552908352928190205481519081529051929392600080516020610efa833981519152929181900390910190a35060019392505050565b600081565b600980548290811061081357fe5b600091825260209091200154600160a060020a0316905081565b600b6020528160005260406000208181548110151561084857fe5b600091825260209091200154600160a060020a03169150829050565b336000908152600c60209081526040808320600160a060020a0386168452909152812054820182111561089657600080fd5b336000818152600c60209081526040808320600160a060020a03881680855290835292819020805487019081905581519081529051929392600080516020610efa833981519152929181900390910190a350600192915050565b60055481565b600354600160a060020a03166000908152600860205260409020545b90565b600160a060020a031660009081526008602052604090205490565b60025481565b600454600160a060020a031681565b600080600760009054906101000a9004600160a060020a0316600160a060020a031663e4d05df66040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156109b257600080fd5b505afa1580156109c6573d6000803e3d6000fd5b505050506040513d60208110156109dc57600080fd5b50516000549091508190670de0b6b3a7640000028115156109f957fe5b0491505090565b60005481565b60408051808201909152600481527f5331303000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03166000908152600b602052604090205490565b336000908152600c60209081526040808320600160a060020a0386168452909152812054821115610a8857600080fd5b336000818152600c60209081526040808320600160a060020a0388168085529083529281902080548790039081905581519081529051929392600080516020610efa833981519152929181900390910190a350600192915050565b60065481565b33600090815260086020526040812054821115610b0557600080fd5b33600081815260086020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b6002546009546000911115610b8f575060095460025403610912565b506000610912565b600160a060020a039182166000908152600c6020908152604080832093909416825291909152205490565b600354600160a060020a031681565b6000806000610bde610945565b6002546009549192501115610c1c57336000908152600a602052604081205460019450909250600160a060020a031615610c1757600080fd5b610c72565b8034811515610c2757fe5b600354600160a060020a03166000908152600860205260409020549190049350831115610c6c57600354600160a060020a031660009081526008602052604090205492505b80830291505b60008311610c7f57600080fd5b60405133903484900380156108fc02916000818181858888f19350505050158015610cae573d6000803e3d6000fd5b50336000908152600a6020526040902054600160a060020a03161515610d9157600160a060020a038481166000908152600a6020526040902054161515610cf457600080fd5b336000818152600a602090815260408083208054600160a060020a038a1673ffffffffffffffffffffffffffffffffffffffff199182168117909255908452600b835290832080546001818101835591855292842090920180548216851790556009805492830181559092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180549091169091179055610db8565b336000908152600a6020526040902054600160a060020a03858116911614610db857600080fd5b60038054600160a060020a03908116600090815260086020908152604080832080548990039055338084529281902080548901905593548451888152945192949316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a360055460405160649184029190910490600160a060020a0386169082156108fc029083906000818181858888f19350505050158015610e69573d6000803e3d6000fd5b5060065460035460405160649286029290920491600160a060020a03909116906108fc8315029083906000818181858888f19350505050158015610eb1573d6000803e3d6000fd5b50600454604051600160a060020a039091169083860383900380156108fc02916000818181858888f19350505050158015610ef0573d6000803e3d6000fd5b5050505050505056fe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a165627a7a723058209ea611d072d3e38a891c06f43c9d7e2c59e00c5a165f8394beecba4f444341c70029

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

000000000000000000000000c4b77cdf24e4bef002abbe00fdcc432067d8dd0b0000000000000000000000000000000000000000000000000000000000061a8000000000000000000000000000000000000000000000000000000000000000780000000000000000000000000000000000000000000000000000000000000014000000000000000000000000c919c805879ce779b3e59927c0f2b266ac7939e1000000000000000000000000f86f21030808c9100d7515107d3632d49bdcc192000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a

-----Decoded View---------------
Arg [0] : _priceWatcherContract (address): 0xc4b77CDf24E4bef002ABbe00fDcC432067D8dd0b
Arg [1] : _tokenPriceUSDcents (uint256): 400000
Arg [2] : _totalSupply (uint256): 120
Arg [3] : _amountOfFreeTokens (uint256): 20
Arg [4] : _root (address): 0xc919C805879CE779B3e59927c0F2B266ac7939e1
Arg [5] : _bank (address): 0xF86F21030808c9100d7515107D3632d49BdCC192
Arg [6] : _referrerCommissionPercentage (uint256): 10
Arg [7] : _rootCommissionPercentage (uint256): 10

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000c4b77cdf24e4bef002abbe00fdcc432067d8dd0b
Arg [1] : 0000000000000000000000000000000000000000000000000000000000061a80
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000078
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [4] : 000000000000000000000000c919c805879ce779b3e59927c0f2b266ac7939e1
Arg [5] : 000000000000000000000000f86f21030808c9100d7515107d3632d49bdcc192
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a


Swarm Source

bzzr://9b841069e002156a9acd3640d4a9f53181ad3cfae25d92042d60a9709e504e0d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.