ERC-20
Overview
Max Total Supply
31,581,024,922.184657426516387028 CHARLIES
Holders
13
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CharlieCoin
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-04-02 */ pragma solidity ^0.4.19; /** * https://youarenotsosmart.com/2011/03/25/the-sunk-cost-fallacy/ * /Norsefire, PhD. **/ contract CharlieCoin { /*================================= = MODIFIERS = =================================*/ // only people with tokens modifier onlyBagholders() { require(myTokens() > 0); _; } // only people with profits modifier onlyStronghands() { require(myDividends(true) > 0); _; } // administrators can: // -> change the name of the contract // -> change the name of the token // -> change the PoS difficulty (How many tokens it costs to hold a masternode, in case it gets crazy high later) // they CANNOT: // -> take funds // -> disable withdrawals // -> kill the contract // -> change the price of tokens modifier onlyAdministrator(){ address _customerAddress = msg.sender; require(administrators[keccak256(_customerAddress)]); _; } /*============================== = EVENTS = ==============================*/ event onTokenPurchase( address indexed customerAddress, uint256 incomingEthereum, uint256 tokensMinted, address indexed referredBy ); event onTokenSell( address indexed customerAddress, uint256 tokensBurned, uint256 ethereumEarned ); event onReinvestment( address indexed customerAddress, uint256 ethereumReinvested, uint256 tokensMinted ); event onWithdraw( address indexed customerAddress, uint256 ethereumWithdrawn ); // ERC20 event Transfer( address indexed from, address indexed to, uint256 tokens ); event Approval( address indexed owner, address indexed spender, uint256 value ); /*===================================== = CONFIGURABLES = =====================================*/ string public name = "CharlieCoin"; string public symbol = "CHARLIES"; uint8 constant public decimals = 18; uint8 constant internal dividendFee_ = 10; uint256 constant internal tokenPriceInitial_ = 0.0000001 ether; uint256 constant internal tokenPriceIncremental_ = 0.00000001 ether; uint256 constant internal magnitude = 2**64; // proof of stake (defaults at 100 tokens) uint256 public stakingRequirement = 100e18; // ambassador program mapping(address => bool) internal ambassadors_; uint256 constant internal ambassadorMaxPurchase_ = 1 ether; uint256 constant internal ambassadorQuota_ = 1 ether; /*================================ = DATASETS = ================================*/ // amount of shares for each address (scaled number) mapping(address => uint256) internal tokenBalanceLedger_; mapping(address => uint256) internal referralBalance_; mapping(address => int256) internal payoutsTo_; mapping(address => uint256) internal ambassadorAccumulatedQuota_; uint256 internal tokenSupply_ = 0; uint256 internal profitPerShare_; // Owner of account approves the transfer of an amount to another account mapping(address => mapping (address => uint256)) allowed; // administrator list (see above on what they can do) mapping(bytes32 => bool) public administrators; // when this is set to true, only ambassadors can purchase tokens (this prevents a whale premine, it ensures a fairly distributed upper pyramid) bool public onlyAmbassadors = false; /*======================================= = PUBLIC FUNCTIONS = =======================================*/ /* * -- APPLICATION ENTRY POINTS -- */ function CharlieCoin() public { } /** * Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any) */ function buy(address _referredBy) public payable returns(uint256) { purchaseTokens(msg.value, _referredBy); } /** * Fallback function to handle ethereum that was send straight to the contract * Unfortunately we cannot use a referral address this way. */ function() payable public { purchaseTokens(msg.value, 0x0); } /** * Converts all of caller's dividends to tokens. */ function reinvest() onlyStronghands() public { // fetch dividends uint256 _dividends = myDividends(false); // retrieve ref. bonus later in the code // pay out the dividends virtually address _customerAddress = msg.sender; payoutsTo_[_customerAddress] += (int256) (_dividends * magnitude); // retrieve ref. bonus _dividends += referralBalance_[_customerAddress]; referralBalance_[_customerAddress] = 0; // dispatch a buy order with the virtualized "withdrawn dividends" uint256 _tokens = purchaseTokens(_dividends, 0x0); // fire event onReinvestment(_customerAddress, _dividends, _tokens); } /** * Alias of sell() and withdraw(). */ function exit() public { // get token count for caller & sell them all address _customerAddress = msg.sender; uint256 _tokens = tokenBalanceLedger_[_customerAddress]; if(_tokens > 0) sell(_tokens); // lambo delivery service withdraw(); } /** * Withdraws all of the callers earnings. */ function withdraw() onlyStronghands() public { // setup data address _customerAddress = msg.sender; uint256 _dividends = myDividends(false); // get ref. bonus later in the code // update dividend tracker payoutsTo_[_customerAddress] += (int256) (_dividends * magnitude); // add ref. bonus _dividends += referralBalance_[_customerAddress]; referralBalance_[_customerAddress] = 0; // lambo delivery service _customerAddress.transfer(_dividends); // fire event onWithdraw(_customerAddress, _dividends); } /** * Liquifies tokens to ethereum. */ function sell(uint256 _amountOfTokens) onlyBagholders() public { // setup data address _customerAddress = msg.sender; // russian hackers BTFO require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]); uint256 _tokens = _amountOfTokens; uint256 _ethereum = tokensToEthereum_(_tokens); uint256 _dividends = SafeMath.div(_ethereum, dividendFee_); uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends); // burn the sold tokens tokenSupply_ = SafeMath.sub(tokenSupply_, _tokens); tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _tokens); // update dividends tracker int256 _updatedPayouts = (int256) (profitPerShare_ * _tokens + (_taxedEthereum * magnitude)); payoutsTo_[_customerAddress] -= _updatedPayouts; // dividing by zero is a bad idea if (tokenSupply_ > 0) { // update the amount of dividends per token profitPerShare_ = SafeMath.add(profitPerShare_, (_dividends * magnitude) / tokenSupply_); } // fire event onTokenSell(_customerAddress, _tokens, _taxedEthereum); } /** * Transfer tokens from the caller to a new holder. * NEW AND IMPROVED ZERO FEE ON TRANSFER BECAUSE FUCK EXTORTION */ function transfer(address _toAddress, uint256 _amountOfTokens) onlyBagholders() public returns(bool) { // setup address _customerAddress = msg.sender; // make sure we have the requested tokens // also disables transfers until ambassador phase is over // ( we dont want whale premines ) require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]); // withdraw all outstanding dividends first if(myDividends(true) > 0) withdraw(); // exchange tokens tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens); // fire event, and send tokens transferFrom(_customerAddress, _toAddress, _amountOfTokens); // ERC20 return true; } /*---------- ADMINISTRATOR ONLY FUNCTIONS ----------*/ /** * In case one of us dies, we need to replace ourselves. */ function setAdministrator(bytes32 _identifier, bool _status) onlyAdministrator() public { administrators[_identifier] = _status; } /** * Precautionary measures in case we need to adjust the masternode rate. */ function setStakingRequirement(uint256 _amountOfTokens) onlyAdministrator() public { stakingRequirement = _amountOfTokens; } /** * If we want to rebrand, we can. */ function setName(string _name) onlyAdministrator() public { name = _name; } /** * If we want to rebrand, we can. */ function setSymbol(string _symbol) onlyAdministrator() public { symbol = _symbol; } /*---------- HELPERS AND CALCULATORS ----------*/ /** * Method to view the current Ethereum stored in the contract * Example: totalEthereumBalance() */ function totalEthereumBalance() public view returns(uint) { return this.balance; } /** * Retrieve the total token supply. */ function totalSupply() public view returns(uint256) { return tokenSupply_; } /** * Retrieve the tokens owned by the caller. */ function myTokens() public view returns(uint256) { address _customerAddress = msg.sender; return balanceOf(_customerAddress); } /** * Retrieve the dividends owned by the caller. * If `_includeReferralBonus` is to to 1/true, the referral bonus will be included in the calculations. * The reason for this, is that in the frontend, we will want to get the total divs (global + ref) * But in the internal calculations, we want them separate. */ function myDividends(bool _includeReferralBonus) public view returns(uint256) { address _customerAddress = msg.sender; return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ; } /** * Retrieve the token balance of any single address. */ function balanceOf(address _customerAddress) view public returns(uint256) { return tokenBalanceLedger_[_customerAddress]; } /** * Retrieve the dividend balance of any single address. */ function dividendsOf(address _customerAddress) view public returns(uint256) { return (uint256) ((int256)(profitPerShare_ * tokenBalanceLedger_[_customerAddress]) - payoutsTo_[_customerAddress]) / magnitude; } /** * Return the buy price of 1 individual token. */ function sellPrice() public view returns(uint256) { // our calculation relies on the token supply, so we need supply. Doh. if(tokenSupply_ == 0){ return tokenPriceInitial_ - tokenPriceIncremental_; } else { uint256 _ethereum = tokensToEthereum_(1e18); uint256 _dividends = SafeMath.div(_ethereum, dividendFee_ ); uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends); return _taxedEthereum; } } /** * Return the sell price of 1 individual token. */ function buyPrice() public view returns(uint256) { // our calculation relies on the token supply, so we need supply. Doh. if(tokenSupply_ == 0){ return tokenPriceInitial_ + tokenPriceIncremental_; } else { uint256 _ethereum = tokensToEthereum_(1e18); uint256 _dividends = SafeMath.div(_ethereum, dividendFee_ ); uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends); return _taxedEthereum; } } /** * Function for the frontend to dynamically retrieve the price scaling of buy orders. */ function calculateTokensReceived(uint256 _ethereumToSpend) public view returns(uint256) { uint256 _dividends = SafeMath.div(_ethereumToSpend, dividendFee_); uint256 _taxedEthereum = SafeMath.sub(_ethereumToSpend, _dividends); uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum); return _amountOfTokens; } /** * Function for the frontend to dynamically retrieve the price scaling of sell orders. */ function calculateEthereumReceived(uint256 _tokensToSell) public view returns(uint256) { require(_tokensToSell <= tokenSupply_); uint256 _ethereum = tokensToEthereum_(_tokensToSell); uint256 _dividends = SafeMath.div(_ethereum, dividendFee_); uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends); return _taxedEthereum; } /*================================= = HURR-DURR = =================================*/ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { // Check for approved spend if (_from != msg.sender) { require(_value <= allowed[_from][msg.sender]); allowed[_from][msg.sender] = allowed[_from][msg.sender] - _value; } require(_to != address(0)); require(_value <= tokenBalanceLedger_[_from]); // Move the tokens across tokenBalanceLedger_[_from] = tokenBalanceLedger_[_from] - _value; tokenBalanceLedger_[_to] = tokenBalanceLedger_[_to] + _value; // Fire 20 event Transfer(_from, _to, _value); // All's well that ends well return true; } function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /*========================================== = INTERNAL FUNCTIONS = ==========================================*/ function purchaseTokens(uint256 _incomingEthereum, address _referredBy) internal returns(uint256) { // data setup address _customerAddress = msg.sender; uint256 _undividedDividends = SafeMath.div(_incomingEthereum, dividendFee_); uint256 _referralBonus = SafeMath.div(_undividedDividends, 3); uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus); uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends); uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum); uint256 _fee = _dividends * magnitude; // no point in continuing execution if OP is a poorfag russian hacker // prevents overflow in the case that the pyramid somehow magically starts being used by everyone in the world // (or hackers) // and yes we know that the safemath function automatically rules out the "greater then" equasion. require(_amountOfTokens > 0 && (SafeMath.add(_amountOfTokens,tokenSupply_) > tokenSupply_)); // is the user referred by a masternode? if( // is this a referred purchase? _referredBy != 0x0000000000000000000000000000000000000000 && // no cheating! _referredBy != _customerAddress && // does the referrer have at least X whole tokens? // i.e is the referrer a godly chad masternode tokenBalanceLedger_[_referredBy] >= stakingRequirement ){ // wealth redistribution referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus); } else { // no ref purchase // add the referral bonus back to the global dividends cake _dividends = SafeMath.add(_dividends, _referralBonus); _fee = _dividends * magnitude; } // we can't give people infinite ethereum if(tokenSupply_ > 0){ // add tokens to the pool tokenSupply_ = SafeMath.add(tokenSupply_, _amountOfTokens); // take the amount of dividends gained through this transaction, and allocates them evenly to each shareholder profitPerShare_ += (_dividends * magnitude / (tokenSupply_)); // calculate the amount of tokens the customer receives over his purchase _fee = _fee - (_fee-(_amountOfTokens * (_dividends * magnitude / (tokenSupply_)))); } else { // add tokens to the pool tokenSupply_ = _amountOfTokens; } // update circulating supply & the ledger address for the customer tokenBalanceLedger_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens); // Tells the contract that the buyer doesn't deserve dividends for the tokens before they owned them; //really i know you think you do but you don't int256 _updatedPayouts = (int256) ((profitPerShare_ * _amountOfTokens) - _fee); payoutsTo_[_customerAddress] += _updatedPayouts; // fire event onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy); return _amountOfTokens; } /** * Calculate Token price based on an amount of incoming ethereum * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation; * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code. */ function ethereumToTokens_(uint256 _ethereum) internal view returns(uint256) { uint256 _tokenPriceInitial = tokenPriceInitial_ * 1e18; uint256 _tokensReceived = ( ( // underflow attempts BTFO SafeMath.sub( (sqrt ( (_tokenPriceInitial**2) + (2*(tokenPriceIncremental_ * 1e18)*(_ethereum * 1e18)) + (((tokenPriceIncremental_)**2)*(tokenSupply_**2)) + (2*(tokenPriceIncremental_)*_tokenPriceInitial*tokenSupply_) ) ), _tokenPriceInitial ) )/(tokenPriceIncremental_) )-(tokenSupply_) ; return _tokensReceived; } /** * Calculate token sell value. * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation; * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code. */ function tokensToEthereum_(uint256 _tokens) internal view returns(uint256) { uint256 tokens_ = (_tokens + 1e18); uint256 _tokenSupply = (tokenSupply_ + 1e18); uint256 _etherReceived = ( // underflow attempts BTFO SafeMath.sub( ( ( ( tokenPriceInitial_ +(tokenPriceIncremental_ * (_tokenSupply/1e18)) )-tokenPriceIncremental_ )*(tokens_ - 1e18) ),(tokenPriceIncremental_*((tokens_**2-tokens_)/1e18))/2 ) /1e18); return _etherReceived; } //This is where all your gas goes, sorry //Not sorry, you probably only paid 1 gwei function sqrt(uint x) internal pure returns (uint y) { uint z = (x + 1) / 2; y = x; while (z < y) { y = z; z = (x / z + z) / 2; } } } /** * @title SafeMath * @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) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ 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; } /** * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"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":"_tokensToSell","type":"uint256"}],"name":"calculateEthereumReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"onlyAmbassadors","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_identifier","type":"bytes32"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","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":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"tokensBurned","type":"uint256"},{"indexed":false,"name":"ethereumEarned","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumReinvested","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"}],"name":"onReinvestment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumWithdrawn","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
606060405260408051908101604052600b81527f436861726c6965436f696e000000000000000000000000000000000000000000602082015260009080516200004d929160200190620000c6565b5060408051908101604052600881527f434841524c4945530000000000000000000000000000000000000000000000006020820152600190805162000097929160200190620000c6565b5068056bc75e2d631000006002556000600855600c805460ff191690553415620000c057600080fd5b6200016b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200010957805160ff191683800117855562000139565b8280016001018555821562000139579182015b82811115620001395782518255916020019190600101906200011c565b50620001479291506200014b565b5090565b6200016891905b8082111562000147576000815560010162000152565b90565b61138e806200017b6000396000f3006060604052600436106101685763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461017657806306fdde03146101a7578063095ea7b31461023157806310d0ffdd1461026757806318160ddd1461027d578063226093731461029057806323b872dd146102a657806327defa1f146102ce578063313ce567146102e1578063392efb521461030a5780633ccfd60b146103205780634b7503341461033557806356d399e814610348578063688abbf71461035b5780636b2f46321461037357806370a08231146103865780638328b610146103a55780638620410b146103bb57806389135ae9146103ce578063949e8acd146103e957806395d89b41146103fc578063a9059cbb1461040f578063b84c824614610431578063c47f002714610482578063e4849b32146104d3578063e9fad8ee146104e9578063f088d547146104fc578063fdb5a03e14610510575b610173346000610523565b50005b341561018157600080fd5b610195600160a060020a0360043516610764565b60405190815260200160405180910390f35b34156101b257600080fd5b6101ba61079f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101f65780820151838201526020016101de565b50505050905090810190601f1680156102235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023c57600080fd5b610253600160a060020a036004351660243561083d565b604051901515815260200160405180910390f35b341561027257600080fd5b6101956004356108a9565b341561028857600080fd5b6101956108d9565b341561029b57600080fd5b6101956004356108e0565b34156102b157600080fd5b610253600160a060020a0360043581169060243516604435610919565b34156102d957600080fd5b610253610a40565b34156102ec57600080fd5b6102f4610a49565b60405160ff909116815260200160405180910390f35b341561031557600080fd5b610253600435610a4e565b341561032b57600080fd5b610333610a63565b005b341561034057600080fd5b610195610b2f565b341561035357600080fd5b610195610b83565b341561036657600080fd5b6101956004351515610b89565b341561037e57600080fd5b610195610bcc565b341561039157600080fd5b610195600160a060020a0360043516610bda565b34156103b057600080fd5b610333600435610bf5565b34156103c657600080fd5b610195610c4c565b34156103d957600080fd5b6103336004356024351515610c94565b34156103f457600080fd5b610195610d06565b341561040757600080fd5b6101ba610d19565b341561041a57600080fd5b610253600160a060020a0360043516602435610d84565b341561043c57600080fd5b61033360046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e2e95505050505050565b341561048d57600080fd5b61033360046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e9795505050505050565b34156104de57600080fd5b610333600435610efb565b34156104f457600080fd5b61033361105e565b610195600160a060020a0360043516611095565b341561051b57600080fd5b6103336110a1565b600033818080808080806105388b600a61115c565b965061054587600361115c565b95506105518787611173565b945061055d8b88611173565b935061056884611185565b925068010000000000000000850291506000831180156105925750600854610590848261121d565b115b151561059d57600080fd5b600160a060020a038a16158015906105c7575087600160a060020a03168a600160a060020a031614155b80156105ed5750600254600160a060020a038b1660009081526004602052604090205410155b1561063357600160a060020a038a16600090815260056020526040902054610615908761121d565b600160a060020a038b1660009081526005602052604090205561064e565b61063d858761121d565b945068010000000000000000850291505b600060085411156106b2576106656008548461121d565b600881905568010000000000000000860281151561067f57fe5b600980549290910490910190556008546801000000000000000086028115156106a457fe5b0483028203820391506106b8565b60088390555b600160a060020a0388166000908152600460205260409020546106db908461121d565b600160a060020a03808a16600081815260046020908152604080832095909555600954600690915290849020805491880287900391820190559350908c16917f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d5908e9087905191825260208201526040908101905180910390a350909998505050505050505050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108355780601f1061080a57610100808354040283529160200191610835565b820191906000526020600020905b81548152906001019060200180831161081857829003601f168201915b505050505081565b600160a060020a033381166000818152600a6020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60008080806108b985600a61115c565b92506108c58584611173565b91506108d082611185565b95945050505050565b6008545b90565b60008060008060085485111515156108f757600080fd5b61090085611233565b925061090d83600a61115c565b91506108d08383611173565b600033600160a060020a031684600160a060020a031614151561099757600160a060020a038085166000908152600a60209081526040808320339094168352929052205482111561096957600080fd5b600160a060020a038481166000908152600a6020908152604080832033909416835292905220805483900390555b600160a060020a03831615156109ac57600080fd5b600160a060020a0384166000908152600460205260409020548211156109d157600080fd5b600160a060020a038085166000818152600460205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600c5460ff1681565b601281565b600b6020526000908152604090205460ff1681565b6000806000610a726001610b89565b11610a7c57600080fd5b339150610a896000610b89565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610aee57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610b4d576414f46b04009350610b7d565b610b5e670de0b6b3a7640000611233565b9250610b6b83600a61115c565b9150610b778383611173565b90508093505b50505090565b60025481565b60003382610b9f57610b9a81610764565b610bc3565b600160a060020a038116600090815260056020526040902054610bc182610764565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610c4657600080fd5b50600255565b60008060008060085460001415610c6a5764199c82cc009350610b7d565b610c7b670de0b6b3a7640000611233565b9250610c8883600a61115c565b9150610b77838361121d565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610ce557600080fd5b506000918252600b6020526040909120805460ff1916911515919091179055565b600033610d1281610bda565b91505b5090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108355780601f1061080a57610100808354040283529160200191610835565b6000806000610d91610d06565b11610d9b57600080fd5b5033600160a060020a038116600090815260046020526040902054831115610dc257600080fd5b6000610dce6001610b89565b1115610ddc57610ddc610a63565b600160a060020a038116600090815260046020526040902054610dff9084611173565b600160a060020a038216600090815260046020526040902055610e23818585610919565b506001949350505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e7f57600080fd5b6001828051610e929291602001906112d4565b505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610ee857600080fd5b6000828051610e929291602001906112d4565b6000806000806000806000610f0e610d06565b11610f1857600080fd5b33600160a060020a038116600090815260046020526040902054909650871115610f4157600080fd5b869450610f4d85611233565b9350610f5a84600a61115c565b9250610f668484611173565b9150610f7460085486611173565b600855600160a060020a038616600090815260046020526040902054610f9a9086611173565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802680100000000000000008602019283900390556008549192509011156110115761100d60095460085468010000000000000000860281151561100757fe5b0461121d565b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a038116600090815260046020526040812054908111156110895761108981610efb565b611091610a63565b5050565b6000610bc63483610523565b6000806000806110b16001610b89565b116110bb57600080fd5b6110c56000610b89565b33600160a060020a038116600090815260066020908152604080832080546801000000000000000087020190556005909152812080549082905590920194509250611111908490610523565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b600080828481151561116a57fe5b04949350505050565b60008282111561117f57fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061120a611204730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e4000000000000000161129f565b85611173565b81151561121357fe5b0403949350505050565b60008282018381101561122c57fe5b9392505050565b600854600090670de0b6b3a764000083810191810190839061128c6414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561128657fe5b04611173565b81151561129557fe5b0495945050505050565b80600260018201045b81811015610bc65780915060028182858115156112c157fe5b04018115156112cc57fe5b0490506112a8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061131557805160ff1916838001178555611342565b82800160010185558215611342579182015b82811115611342578251825591602001919060010190611327565b50610d15926108dd9250905b80821115610d15576000815560010161134e5600a165627a7a7230582019c692a4305f21cd2daf6fae9634dd0373c1bd25c15da95bd0faf68e8b09f0aa0029
Deployed Bytecode
0x6060604052600436106101685763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461017657806306fdde03146101a7578063095ea7b31461023157806310d0ffdd1461026757806318160ddd1461027d578063226093731461029057806323b872dd146102a657806327defa1f146102ce578063313ce567146102e1578063392efb521461030a5780633ccfd60b146103205780634b7503341461033557806356d399e814610348578063688abbf71461035b5780636b2f46321461037357806370a08231146103865780638328b610146103a55780638620410b146103bb57806389135ae9146103ce578063949e8acd146103e957806395d89b41146103fc578063a9059cbb1461040f578063b84c824614610431578063c47f002714610482578063e4849b32146104d3578063e9fad8ee146104e9578063f088d547146104fc578063fdb5a03e14610510575b610173346000610523565b50005b341561018157600080fd5b610195600160a060020a0360043516610764565b60405190815260200160405180910390f35b34156101b257600080fd5b6101ba61079f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101f65780820151838201526020016101de565b50505050905090810190601f1680156102235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023c57600080fd5b610253600160a060020a036004351660243561083d565b604051901515815260200160405180910390f35b341561027257600080fd5b6101956004356108a9565b341561028857600080fd5b6101956108d9565b341561029b57600080fd5b6101956004356108e0565b34156102b157600080fd5b610253600160a060020a0360043581169060243516604435610919565b34156102d957600080fd5b610253610a40565b34156102ec57600080fd5b6102f4610a49565b60405160ff909116815260200160405180910390f35b341561031557600080fd5b610253600435610a4e565b341561032b57600080fd5b610333610a63565b005b341561034057600080fd5b610195610b2f565b341561035357600080fd5b610195610b83565b341561036657600080fd5b6101956004351515610b89565b341561037e57600080fd5b610195610bcc565b341561039157600080fd5b610195600160a060020a0360043516610bda565b34156103b057600080fd5b610333600435610bf5565b34156103c657600080fd5b610195610c4c565b34156103d957600080fd5b6103336004356024351515610c94565b34156103f457600080fd5b610195610d06565b341561040757600080fd5b6101ba610d19565b341561041a57600080fd5b610253600160a060020a0360043516602435610d84565b341561043c57600080fd5b61033360046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e2e95505050505050565b341561048d57600080fd5b61033360046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e9795505050505050565b34156104de57600080fd5b610333600435610efb565b34156104f457600080fd5b61033361105e565b610195600160a060020a0360043516611095565b341561051b57600080fd5b6103336110a1565b600033818080808080806105388b600a61115c565b965061054587600361115c565b95506105518787611173565b945061055d8b88611173565b935061056884611185565b925068010000000000000000850291506000831180156105925750600854610590848261121d565b115b151561059d57600080fd5b600160a060020a038a16158015906105c7575087600160a060020a03168a600160a060020a031614155b80156105ed5750600254600160a060020a038b1660009081526004602052604090205410155b1561063357600160a060020a038a16600090815260056020526040902054610615908761121d565b600160a060020a038b1660009081526005602052604090205561064e565b61063d858761121d565b945068010000000000000000850291505b600060085411156106b2576106656008548461121d565b600881905568010000000000000000860281151561067f57fe5b600980549290910490910190556008546801000000000000000086028115156106a457fe5b0483028203820391506106b8565b60088390555b600160a060020a0388166000908152600460205260409020546106db908461121d565b600160a060020a03808a16600081815260046020908152604080832095909555600954600690915290849020805491880287900391820190559350908c16917f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d5908e9087905191825260208201526040908101905180910390a350909998505050505050505050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108355780601f1061080a57610100808354040283529160200191610835565b820191906000526020600020905b81548152906001019060200180831161081857829003601f168201915b505050505081565b600160a060020a033381166000818152600a6020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60008080806108b985600a61115c565b92506108c58584611173565b91506108d082611185565b95945050505050565b6008545b90565b60008060008060085485111515156108f757600080fd5b61090085611233565b925061090d83600a61115c565b91506108d08383611173565b600033600160a060020a031684600160a060020a031614151561099757600160a060020a038085166000908152600a60209081526040808320339094168352929052205482111561096957600080fd5b600160a060020a038481166000908152600a6020908152604080832033909416835292905220805483900390555b600160a060020a03831615156109ac57600080fd5b600160a060020a0384166000908152600460205260409020548211156109d157600080fd5b600160a060020a038085166000818152600460205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600c5460ff1681565b601281565b600b6020526000908152604090205460ff1681565b6000806000610a726001610b89565b11610a7c57600080fd5b339150610a896000610b89565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610aee57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610b4d576414f46b04009350610b7d565b610b5e670de0b6b3a7640000611233565b9250610b6b83600a61115c565b9150610b778383611173565b90508093505b50505090565b60025481565b60003382610b9f57610b9a81610764565b610bc3565b600160a060020a038116600090815260056020526040902054610bc182610764565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610c4657600080fd5b50600255565b60008060008060085460001415610c6a5764199c82cc009350610b7d565b610c7b670de0b6b3a7640000611233565b9250610c8883600a61115c565b9150610b77838361121d565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610ce557600080fd5b506000918252600b6020526040909120805460ff1916911515919091179055565b600033610d1281610bda565b91505b5090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108355780601f1061080a57610100808354040283529160200191610835565b6000806000610d91610d06565b11610d9b57600080fd5b5033600160a060020a038116600090815260046020526040902054831115610dc257600080fd5b6000610dce6001610b89565b1115610ddc57610ddc610a63565b600160a060020a038116600090815260046020526040902054610dff9084611173565b600160a060020a038216600090815260046020526040902055610e23818585610919565b506001949350505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e7f57600080fd5b6001828051610e929291602001906112d4565b505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610ee857600080fd5b6000828051610e929291602001906112d4565b6000806000806000806000610f0e610d06565b11610f1857600080fd5b33600160a060020a038116600090815260046020526040902054909650871115610f4157600080fd5b869450610f4d85611233565b9350610f5a84600a61115c565b9250610f668484611173565b9150610f7460085486611173565b600855600160a060020a038616600090815260046020526040902054610f9a9086611173565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802680100000000000000008602019283900390556008549192509011156110115761100d60095460085468010000000000000000860281151561100757fe5b0461121d565b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a038116600090815260046020526040812054908111156110895761108981610efb565b611091610a63565b5050565b6000610bc63483610523565b6000806000806110b16001610b89565b116110bb57600080fd5b6110c56000610b89565b33600160a060020a038116600090815260066020908152604080832080546801000000000000000087020190556005909152812080549082905590920194509250611111908490610523565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b600080828481151561116a57fe5b04949350505050565b60008282111561117f57fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061120a611204730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e4000000000000000161129f565b85611173565b81151561121357fe5b0403949350505050565b60008282018381101561122c57fe5b9392505050565b600854600090670de0b6b3a764000083810191810190839061128c6414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561128657fe5b04611173565b81151561129557fe5b0495945050505050565b80600260018201045b81811015610bc65780915060028182858115156112c157fe5b04018115156112cc57fe5b0490506112a8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061131557805160ff1916838001178555611342565b82800160010185558215611342579182015b82811115611342578251825591602001919060010190611327565b50610d15926108dd9250905b80821115610d15576000815560010161134e5600a165627a7a7230582019c692a4305f21cd2daf6fae9634dd0373c1bd25c15da95bd0faf68e8b09f0aa0029
Swarm Source
bzzr://19c692a4305f21cd2daf6fae9634dd0373c1bd25c15da95bd0faf68e8b09f0aa
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.