ETH Price: $2,380.05 (-0.96%)

Token

SexChain (SEXN)
 

Overview

Max Total Supply

580,000,000 SEXN

Holders

3,199

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
88 SEXN

Value
$0.00
0x8b178dBAD44646f9eacE96a42415eE4e45Cb66d2
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:
SEXNToken

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-05-24
*/

pragma solidity ^0.4.18;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    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;
  }
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 {
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;

  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }

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

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}


contract StandardToken is ERC20 {
  using SafeMath for uint256;

  uint256 public totalSupply;

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

    /**
   * @dev Gets the balance of the specified address.
   * @param _owner The address to query the the balance of.
   * @return An uint256 representing the amount owned by the passed address.
   */
  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner];
  }

  /**
   * Internal transfer, only can be called by this contract
   */
  function _transfer(address _from, address _to, uint _value) internal {
    require(_value > 0);
    require(balances[_from] >= _value);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    emit Transfer(_from, _to, _value);
  }
  
  /**
   * @dev transfer token for a specified address
   * @param _to The address to transfer to.
   * @param _value The amount to be transferred.
   */
  function transfer(address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));

    _transfer(msg.sender, _to, _value);
    return true;
  }

  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require (_value <= allowed[_from][msg.sender]);

    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    _transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {
    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    require((_value == 0) || (allowed[msg.sender][_spender] == 0));
    allowed[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

}



contract SEXNToken is StandardToken, Ownable {
  using SafeMath for uint256;

  string public constant name = "SexChain";
  string public constant symbol = "SEXN";
  uint8 public constant decimals = 18;

  struct lockInfo {
    uint256 amount;            // Total number of token locks
    uint256 start;             // The time when the lock was started.
    uint256 transfered;        // The number of tokens that have been unlocked.
    uint256 duration;          // The lock time for each cycle.
    uint256 releaseCount;      // locking cycle.
  }

  mapping(address => lockInfo) internal _lockInfo;
  // Query locked balance
  mapping(address => uint256) internal _lockupBalances;

  bool public preSaleFinished = false;

  // start and end timestamps where investments are allowed (both inclusive) 
  uint256 public startTime;
  uint256 public endTime;

  // how many token units a buyer gets per wei
  uint256 public rate;

  //The number of locks for each round of presale. eg: 5 is 5 days
  uint256 public lockCycle;

  // The length of one lock cycle, 
  uint256 public constant DURATION = 24 * 3600;  // a day

  /* The maximum amount of single users for pre-sales in the first period is 20,000. */
  uint256 public constant CAT_FIRST = 20000 * (10 ** 18);

  enum PresaleAction {
    Ready,
    FirstPresaleActivity,
    SecondPresaleActivity,
    ThirdPresaleActivity,
    END
  }

  PresaleAction public saleAction = PresaleAction.Ready;


  address private PRESALE_ADDRESS = 0xFD8C2759Fcf6E0BB57128d5dFCf1747AE9C7e3a1;         // Presale         
  address private FOUNDATION_ADDRESS = 0x096D756888F725ab56eA5bD2002102d10271BEc3;      // Community rewards 
  address private COMMERCIAL_PLAN_ADDRESS = 0x51bE0d2Ed867cB68450Bee2Fcbf11a5960843bbd; // commercial plan  
  address private POS_ADDRESS = 0x17c5fD5915DfaDe37EC0C04f1D70Ee495d6957af;             // DPOS                     
  address private TEAM_ADDRESS = 0xE38e1dB1fD7915D2ed877E8cE53697E57EC2417e;            // Technical team   
  address private COMMUNITY_TEAM_ADDRESS = 0xa34C472688D92511beb8fCDA42269a0526CfCCf0;  // community team   

  address public wallet = 0xDcE9E02972fDfEd54F4b307C75bd0755067cBc90;


  /////////////////
  /// Event
  /////////////////

  event UnLock(address indexed beneficiary, uint256 amount);
  event SellTokens(address indexed recipient, uint256 sellTokens, uint256 rate);

  /////////////////
  /// Modifier
  /////////////////

  /* check presale is active */
  modifier beginSaleActive() {
    require(now >= startTime && now <= endTime);
    _;
  }

  /* check presale is not active */
  modifier notpreSaleActive() {
    require(now <= startTime || now >= endTime);
    _;
  }

  /* For security reasons, need to change the wallet address */
  function changeWallet(address _newWallet) public {
      require(_newWallet != address(0x0));
      require(msg.sender == wallet);
      
      wallet = _newWallet;
  }

  /* Query the number of tokens for which an address is locked. */
  function getLockBalance(address _owner) public view returns(uint256){
    return _lockupBalances[_owner];
  }

  /* Check the remaining quantity of presale in this round. */
  function getRemainingPreSalesAmount() public view returns(uint256){
    return balances[PRESALE_ADDRESS];
  }

  /*Gets the unlocked time of the specified address. */
  function getLockTime(address _owner) public view returns(uint256){
    // start + ( lockCycle * duration )
    return _lockInfo[_owner].start.add(
        _lockInfo[_owner].releaseCount.mul(_lockInfo[_owner].duration));
  }

  /**
   * @dev Set the time and amount of presale for each period.
   * @param _round uint8  The number of presale activities
   * @param _startTime uint256  The current round of presales begins.
   * @param _stopTime uint256  The end of the round of presales.
   * @param _rate uint256   How many token units a buyer gets per wei.
   * @param _amount uint256  The number of presale tokens.
   */
  function setSaleInfo(uint8 _round ,uint256 _startTime, uint256 _stopTime, uint256 _rate, uint256 _amount) external notpreSaleActive onlyOwner {
    require(_round == 1 || _round == 2 || _round == 3);
    require(_startTime < _stopTime);
    require(_rate != 0 && _amount >= 0);
    require(_startTime > now); 
    require(!preSaleFinished);

    balances[msg.sender] = balances[msg.sender].sub(_amount);
    balances[PRESALE_ADDRESS] = balances[PRESALE_ADDRESS].add(_amount);

    startTime = _startTime;
    endTime = _stopTime;
    rate = _rate;
    _caluLocktime(_round);
  }

  function _caluLocktime(uint8 _round) internal {
    require(_round == 1 || _round == 2 || _round == 3);
    if (_round == 1 ){
      saleAction = PresaleAction.FirstPresaleActivity;
      lockCycle = 200;        // 200 days
    }

    if (_round == 2){
      saleAction = PresaleAction.SecondPresaleActivity;
      lockCycle = 150;        // 150 days
    }

    if (_round == 3){
      saleAction = PresaleAction.ThirdPresaleActivity;
      lockCycle = 120;        // 120 days
    }
  }


  /* End the setup of presale activities. */
  function closeSale() public onlyOwner notpreSaleActive {
    preSaleFinished = true;
    saleAction = PresaleAction.END;
  }


  /**
   * @dev Distribute tokens from presale address to an address.
   * @param _to address  The address which you want to distribute to
   * @param _amount uint256  The amount of tokens to be distributed
   * @param _lockCycle uint256  Token locking cycle.
   * @param _duration uint256  The lock time for each cycle.
   */
  function _distribute(address _to, uint256 _amount, uint256 _lockCycle, uint256 _duration) internal returns(bool)  {
    ////Do not allow multiple distributions of the same address. Avoid locking time reset.
    require(_lockInfo[_to].amount == 0 );
    require(_lockupBalances[_to] == 0);

    _lockInfo[_to].amount = _amount;
    _lockInfo[_to].releaseCount = _lockCycle;
    _lockInfo[_to].start = now;
    _lockInfo[_to].transfered = 0;
    _lockInfo[_to].duration = _duration;
    
    //Easy to query locked balance
    _lockupBalances[_to] = _amount;

    return true;
  }


  /* Distribute tokens from presale address to an address. */
  function distribute(address _to, uint256 _amount, uint256 _lockCycle, uint256 _duration) public onlyOwner beginSaleActive {
    require(_to != 0x0);
    require(_amount != 0 && _lockCycle != 0 && _duration != 0);
    
    _distribute(_to, _amount,_lockCycle, _duration * DURATION);
    
    balances[PRESALE_ADDRESS] = balances[PRESALE_ADDRESS].sub(_amount);
    emit Transfer(PRESALE_ADDRESS, _to, _amount);
  }



  /* Calculate the unlockable balance */
  function _releasableAmount(address _owner, uint256 time) internal view returns (uint256){
    lockInfo storage userLockInfo = _lockInfo[_owner]; 
    if (userLockInfo.transfered == userLockInfo.amount){
      return 0;
    }

    // Unlockable tokens per cycle.
    uint256 amountPerRelease = userLockInfo.amount.div(userLockInfo.releaseCount); //amount/cnt
    // Total unlockable balance.
    uint256 amount = amountPerRelease.mul((time.sub(userLockInfo.start)).div(userLockInfo.duration));

    if (amount > userLockInfo.amount){
      amount = userLockInfo.amount;
    }
    // 
    amount = amount.sub(userLockInfo.transfered);

    return amount;
  }


  /* Unlock locked tokens */
  function relaseLock() internal returns(uint256){
    uint256 amount = _releasableAmount(msg.sender, now);
    if (amount > 0){
      _lockInfo[msg.sender].transfered = _lockInfo[msg.sender].transfered.add(amount);
      balances[msg.sender] = balances[msg.sender].add(amount);
      _lockupBalances[msg.sender] = _lockupBalances[msg.sender].sub(amount);
      emit UnLock(msg.sender, amount);
    }
    return 0;
  }


  function _initialize() internal {

    uint256 PRESALE_SUPPLY = totalSupply.mul(20).div(100);          // 20% for presale
    uint256 DPOS_SUPPLY = totalSupply.mul(30).div(100);             // 30% for DPOS
    uint256 COMMUNITY_REWARDS_SUPPLY = totalSupply.mul(20).div(100);// 20% for community rewards
    uint256 COMMUNITY_TEAM_SUPPLY = totalSupply.mul(10).div(100);   // 10% for community team
    uint256 COMMERCIAL_PLAN_SUPPLY = totalSupply * 10 / 100;        // 10% for commercial plan
    uint256 TEAM_SUPPLY = totalSupply.mul(10).div(100);             // 10% for technical team 

    balances[msg.sender] = PRESALE_SUPPLY;
    balances[FOUNDATION_ADDRESS] = COMMUNITY_REWARDS_SUPPLY;
    balances[POS_ADDRESS] = DPOS_SUPPLY;
    balances[COMMERCIAL_PLAN_ADDRESS] = COMMERCIAL_PLAN_SUPPLY;

    //This part of the token locks for one year。
    _distribute(COMMUNITY_TEAM_ADDRESS, COMMUNITY_TEAM_SUPPLY, 1, 365 days);

    //This part of the token is locked until August 1, divided into 2 phases to unlock.
    _distribute(0x7C88a1EC1D25c232464549ea9eF72B9bDc2a010A, TEAM_SUPPLY.mul(20).div(100), 2, 70 days); //0801

    // This part of the token locks for one year。
    _distribute(TEAM_ADDRESS, TEAM_SUPPLY.mul(80).div(100), 1, 365 days);

  }



  function SEXNToken() public {
    totalSupply = 580000000 * (10 ** 18); // 580 million
    _initialize();
  }


  /**
   * Fallback function
   * 
   * The function without name is the default function that is called whenever anyone sends funds to a contract
   * sell tokens automatic
   */
  function () external payable beginSaleActive {
      sellTokens();
  }


  /**
   * @dev Sell tokens to msg.sender
   *
   */
  function sellTokens() public payable beginSaleActive {
    require(msg.value > 0);

    uint256 amount = msg.value;
    uint256 tokens = amount.mul(rate);

    // check there are tokens for sale;
    require(tokens <= balances[PRESALE_ADDRESS]);

    if (saleAction == PresaleAction.FirstPresaleActivity){
      // The maximum amount of single users for presales in the first period is 20,000.
      require (tokens <= CAT_FIRST);
    }

    // send tokens to buyer
    _distribute(msg.sender, tokens, lockCycle, DURATION);

    
    balances[PRESALE_ADDRESS] = balances[PRESALE_ADDRESS].sub(tokens);

    emit Transfer(PRESALE_ADDRESS, msg.sender, tokens);
    emit SellTokens(msg.sender, tokens, rate);

    forwardFunds();
  }


  // send ether to the fund collection wallet
  // override to create custom fund forwarding mechanisms
  function forwardFunds() internal {
      wallet.transfer(msg.value);
  }


  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner].add(_lockupBalances[_owner]);
  }


  function transfer(address _to, uint256 _value) public returns (bool) {
    if (_lockupBalances[msg.sender] > 0){
      relaseLock();
    }

    return  super.transfer( _to, _value);
  }

}

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":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_round","type":"uint8"},{"name":"_startTime","type":"uint256"},{"name":"_stopTime","type":"uint256"},{"name":"_rate","type":"uint256"},{"name":"_amount","type":"uint256"}],"name":"setSaleInfo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRemainingPreSalesAmount","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":"DURATION","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"CAT_FIRST","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":"rate","outputs":[{"name":"","type":"uint256"}],"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":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"preSaleFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getLockBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"_newWallet","type":"address"}],"name":"changeWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"sellTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_lockCycle","type":"uint256"},{"name":"_duration","type":"uint256"}],"name":"distribute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getLockTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"saleAction","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"closeSale","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":"lockCycle","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"UnLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"recipient","type":"address"},{"indexed":false,"name":"sellTokens","type":"uint256"},{"indexed":false,"name":"rate","type":"uint256"}],"name":"SellTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","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"}]

60606040526006805460ff19169055600b805474fd8c2759fcf6e0bb57128d5dfcf1747ae9c7e3a100600160a860020a0319909116179055600c8054600160a060020a031990811673096d756888f725ab56ea5bd2002102d10271bec317909155600d805482167351be0d2ed867cb68450bee2fcbf11a5960843bbd179055600e805482167317c5fd5915dfade37ec0c04f1d70ee495d6957af179055600f8054821673e38e1db1fd7915d2ed877e8ce53697e57ec2417e17905560108054821673a34c472688d92511beb8fcda42269a0526cfccf01790556011805490911673dce9e02972fdfed54f4b307c75bd0755067cbc9017905534156200010357600080fd5b60038054600160a060020a03191633600160a060020a03161790556b01dfc3c700884a60c4000000600055620001466401000000006200014c81026200128d1704565b62000446565b6000806000806000806200019660646200018160146000546200036c6401000000000262000dfd179091906401000000009004565b90640100000000620012766200039a82021704565b9550620001c4606462000181601e6000546200036c6401000000000262000dfd179091906401000000009004565b9450620001f260646200018160146000546200036c6401000000000262000dfd179091906401000000009004565b935062000220606462000181600a6000546200036c6401000000000262000dfd179091906401000000009004565b6000549093506064600a80830282900494506200025092620001819164010000000062000dfd6200036c82021704565b600160a060020a0333811660009081526001602081905260408083208b9055600c5484168352808320899055600e54841683528083208a9055600d5484168352909120859055601054929350620002c0929091169085906301e1338064010000000062000e21620003b282021704565b5062000315737c88a1ec1d25c232464549ea9ef72b9bdc2a010a620002fb60646200018185601464010000000062000dfd6200036c82021704565b6002625c490064010000000062000e21620003b282021704565b50600f546200036390600160a060020a03166200034860646200018185605064010000000062000dfd6200036c82021704565b60016301e1338064010000000062000e21620003b282021704565b50505050505050565b60008282028315806200038a57508284828115156200038757fe5b04145b15156200039357fe5b9392505050565b6000808284811515620003a957fe5b04949350505050565b600160a060020a03841660009081526004602052604081205415620003d657600080fd5b600160a060020a03851660009081526005602052604090205415620003fa57600080fd5b50600160a060020a039390931660009081526004602081815260408084208681559283019490945542600180840191909155600283018490556003909201959095556005909452205590565b61142f80620004566000396000f3006060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610192578063095ea7b31461021c5780630febb8b714610252578063106858cb1461027757806318160ddd1461029c5780631be05289146102af57806321f35609146102c257806323b872dd146102d55780632c4e722e146102fd578063313ce567146103105780633197cbb614610339578063521eb2731461034c5780635569f5d01461037b57806355f78af81461038e57806370a08231146103ad57806378e97925146103cc5780638da5cb5b146103df57806395d89b41146103f257806398b9a2dc146104055780639904e1741461018857806399aba8e314610424578063a9059cbb1461044c578063aa31aee81461046e578063d6fd1fe91461048d578063dd62ed3e146104c4578063ee55efee146104e9578063f2fde38b146104fc578063f8132b661461051b575b600754421015801561017d57506008544211155b151561018857600080fd5b61019061052e565b005b341561019d57600080fd5b6101a56106ca565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e15780820151838201526020016101c9565b50505050905090810190601f16801561020e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022757600080fd5b61023e600160a060020a0360043516602435610701565b604051901515815260200160405180910390f35b341561025d57600080fd5b61019060ff600435166024356044356064356084356107a7565b341561028257600080fd5b61028a6108f6565b60405190815260200160405180910390f35b34156102a757600080fd5b61028a610919565b34156102ba57600080fd5b61028a61091f565b34156102cd57600080fd5b61028a610926565b34156102e057600080fd5b61023e600160a060020a0360043581169060243516604435610934565b341561030857600080fd5b61028a6109f1565b341561031b57600080fd5b6103236109f7565b60405160ff909116815260200160405180910390f35b341561034457600080fd5b61028a6109fc565b341561035757600080fd5b61035f610a02565b604051600160a060020a03909116815260200160405180910390f35b341561038657600080fd5b61023e610a11565b341561039957600080fd5b61028a600160a060020a0360043516610a1a565b34156103b857600080fd5b61028a600160a060020a0360043516610a35565b34156103d757600080fd5b61028a610a6e565b34156103ea57600080fd5b61035f610a74565b34156103fd57600080fd5b6101a5610a83565b341561041057600080fd5b610190600160a060020a0360043516610aba565b341561042f57600080fd5b610190600160a060020a0360043516602435604435606435610b19565b341561045757600080fd5b61023e600160a060020a0360043516602435610c37565b341561047957600080fd5b61028a600160a060020a0360043516610c73565b341561049857600080fd5b6104a0610cd1565b604051808260048111156104b057fe5b60ff16815260200191505060405180910390f35b34156104cf57600080fd5b61028a600160a060020a0360043581169060243516610cda565b34156104f457600080fd5b610190610d05565b341561050757600080fd5b610190600160a060020a0360043516610d5c565b341561052657600080fd5b61028a610df7565b600080600754421015801561054557506008544211155b151561055057600080fd5b6000341161055d57600080fd5b60095434925061057490839063ffffffff610dfd16565b600b546101009004600160a060020a03166000908152600160205260409020549091508111156105a357600080fd5b6001600b5460ff1660048111156105b657fe5b14156105d35769043c33c19375648000008111156105d357600080fd5b6105e43382600a5462015180610e21565b50600b546101009004600160a060020a031660009081526001602052604090205461060f9082610eb3565b600b8054600160a060020a036101009182900481166000908152600160205260409081902094909455915433831693919004909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a333600160a060020a03167fa24838acd4af5195a2396965dae5abf54e84e8c19f5698bb966ae64e29994ee58260095460405191825260208201526040908101905180910390a26106c6610ec5565b5050565b60408051908101604052600881527f536578436861696e000000000000000000000000000000000000000000000000602082015281565b60008115806107335750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b151561073e57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600754421115806107ba57506008544210155b15156107c557600080fd5b60035433600160a060020a039081169116146107e057600080fd5b8460ff16600114806107f557508460ff166002145b8061080357508460ff166003145b151561080e57600080fd5b82841061081a57600080fd5b811580159061082a575060008110155b151561083557600080fd5b42841161084157600080fd5b60065460ff161561085157600080fd5b600160a060020a03331660009081526001602052604090205461087a908263ffffffff610eb316565b600160a060020a0333811660009081526001602052604080822093909355600b546101009004909116815220546108b7908263ffffffff610efb16565b600b546101009004600160a060020a03166000908152600160205260409020556007849055600883905560098290556108ef85610f0a565b5050505050565b600b546101009004600160a060020a031660009081526001602052604090205490565b60005481565b6201518081565b69043c33c193756480000081565b6000600160a060020a038316151561094b57600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561097e57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220546109b5908363ffffffff610eb316565b600160a060020a03808616600090815260026020908152604080832033909416835292905220556109e7848484610f98565b5060019392505050565b60095481565b601281565b60085481565b601154600160a060020a031681565b60065460ff1681565b600160a060020a031660009081526005602052604090205490565b600160a060020a0381166000908152600560209081526040808320546001909252822054610a689163ffffffff610efb16565b92915050565b60075481565b600354600160a060020a031681565b60408051908101604052600481527f5345584e00000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0381161515610acf57600080fd5b60115433600160a060020a03908116911614610aea57600080fd5b6011805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a03908116911614610b3457600080fd5b6007544210158015610b4857506008544211155b1515610b5357600080fd5b600160a060020a0384161515610b6857600080fd5b8215801590610b7657508115155b8015610b8157508015155b1515610b8c57600080fd5b610b9d848484620151808502610e21565b50600b546101009004600160a060020a0316600090815260016020526040902054610bc89084610eb3565b600b8054600160a060020a036101009182900481166000908152600160205260409081902094909455915487831693919004909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a350505050565b600160a060020a03331660009081526005602052604081205481901115610c6257610c60611085565b505b610c6c8383611191565b9392505050565b600160a060020a038116600090815260046020819052604082206003810154910154610a6891610ca9919063ffffffff610dfd16565b600160a060020a0384166000908152600460205260409020600101549063ffffffff610efb16565b600b5460ff1681565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610d2057600080fd5b60075442111580610d3357506008544210155b1515610d3e57600080fd5b6006805460ff19908116600117909155600b80549091166004179055565b60035433600160a060020a03908116911614610d7757600080fd5b600160a060020a0381161515610d8c57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a5481565b6000828202831580610e195750828482811515610e1657fe5b04145b1515610c6c57fe5b600160a060020a03841660009081526004602052604081205415610e4457600080fd5b600160a060020a03851660009081526005602052604090205415610e6757600080fd5b50600160a060020a039390931660009081526004602081815260408084208681559283019490945542600180840191909155600283018490556003909201959095556005909452205590565b600082821115610ebf57fe5b50900390565b601154600160a060020a03163480156108fc0290604051600060405180830381858888f193505050501515610ef957600080fd5b565b600082820183811015610c6c57fe5b8060ff1660011480610f1f57508060ff166002145b80610f2d57508060ff166003145b1515610f3857600080fd5b8060ff1660011415610f5757600b805460ff1916600117905560c8600a555b8060ff1660021415610f7657600b805460ff191660021790556096600a555b8060ff1660031415610f9557600b805460ff191660031790556078600a555b50565b60008111610fa557600080fd5b600160a060020a03831660009081526001602052604090205481901015610fcb57600080fd5b600160a060020a038316600090815260016020526040902054610ff4908263ffffffff610eb316565b600160a060020a038085166000908152600160205260408082209390935590841681522054611029908263ffffffff610efb16565b600160a060020a03808416600081815260016020526040908190209390935591908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a3505050565b60008061109233426111bc565b9050600081111561118957600160a060020a0333166000908152600460205260409020600201546110c9908263ffffffff610efb16565b600160a060020a033316600090815260046020908152604080832060020193909355600190522054611101908263ffffffff610efb16565b600160a060020a033316600090815260016020908152604080832093909355600590522054611136908263ffffffff610eb316565b600160a060020a0333166000818152600560205260409081902092909255907fb371d42b3715509a27f3109f6ac1ef6b7d7e7f8e9232b738ed17338be6cf95809083905190815260200160405180910390a25b600091505090565b6000600160a060020a03831615156111a857600080fd5b6111b3338484610f98565b50600192915050565b600160a060020a0382166000908152600460205260408120805460028201548391829114156111ee576000935061126d565b600483015483546112049163ffffffff61127616565b91506112416112348460030154611228866001015489610eb390919063ffffffff16565b9063ffffffff61127616565b839063ffffffff610dfd16565b8354909150811115611251575081545b600283015461126790829063ffffffff610eb316565b90508093505b50505092915050565b600080828481151561128457fe5b04949350505050565b6000806000806000806112b160646112286014600054610dfd90919063ffffffff16565b95506112ce6064611228601e600054610dfd90919063ffffffff16565b94506112eb60646112286014600054610dfd90919063ffffffff16565b93506113086064611228600a600054610dfd90919063ffffffff16565b6000549093506064600a808302829004945061132d926112289163ffffffff610dfd16565b600160a060020a0333811660009081526001602081905260408083208b9055600c5484168352808320899055600e54841683528083208a9055600d548416835290912085905560105492935061138d929091169085906301e13380610e21565b506113c7737c88a1ec1d25c232464549ea9ef72b9bdc2a010a6113bc606461122885601463ffffffff610dfd16565b6002625c4900610e21565b50600f546113fa90600160a060020a03166113ee606461122885605063ffffffff610dfd16565b60016301e13380610e21565b505050505050505600a165627a7a723058209520763f1e147fee684bf4d8b7d625d7f5459bec3228059c208775fcfe35064f0029

Deployed Bytecode

0x6060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610192578063095ea7b31461021c5780630febb8b714610252578063106858cb1461027757806318160ddd1461029c5780631be05289146102af57806321f35609146102c257806323b872dd146102d55780632c4e722e146102fd578063313ce567146103105780633197cbb614610339578063521eb2731461034c5780635569f5d01461037b57806355f78af81461038e57806370a08231146103ad57806378e97925146103cc5780638da5cb5b146103df57806395d89b41146103f257806398b9a2dc146104055780639904e1741461018857806399aba8e314610424578063a9059cbb1461044c578063aa31aee81461046e578063d6fd1fe91461048d578063dd62ed3e146104c4578063ee55efee146104e9578063f2fde38b146104fc578063f8132b661461051b575b600754421015801561017d57506008544211155b151561018857600080fd5b61019061052e565b005b341561019d57600080fd5b6101a56106ca565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e15780820151838201526020016101c9565b50505050905090810190601f16801561020e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022757600080fd5b61023e600160a060020a0360043516602435610701565b604051901515815260200160405180910390f35b341561025d57600080fd5b61019060ff600435166024356044356064356084356107a7565b341561028257600080fd5b61028a6108f6565b60405190815260200160405180910390f35b34156102a757600080fd5b61028a610919565b34156102ba57600080fd5b61028a61091f565b34156102cd57600080fd5b61028a610926565b34156102e057600080fd5b61023e600160a060020a0360043581169060243516604435610934565b341561030857600080fd5b61028a6109f1565b341561031b57600080fd5b6103236109f7565b60405160ff909116815260200160405180910390f35b341561034457600080fd5b61028a6109fc565b341561035757600080fd5b61035f610a02565b604051600160a060020a03909116815260200160405180910390f35b341561038657600080fd5b61023e610a11565b341561039957600080fd5b61028a600160a060020a0360043516610a1a565b34156103b857600080fd5b61028a600160a060020a0360043516610a35565b34156103d757600080fd5b61028a610a6e565b34156103ea57600080fd5b61035f610a74565b34156103fd57600080fd5b6101a5610a83565b341561041057600080fd5b610190600160a060020a0360043516610aba565b341561042f57600080fd5b610190600160a060020a0360043516602435604435606435610b19565b341561045757600080fd5b61023e600160a060020a0360043516602435610c37565b341561047957600080fd5b61028a600160a060020a0360043516610c73565b341561049857600080fd5b6104a0610cd1565b604051808260048111156104b057fe5b60ff16815260200191505060405180910390f35b34156104cf57600080fd5b61028a600160a060020a0360043581169060243516610cda565b34156104f457600080fd5b610190610d05565b341561050757600080fd5b610190600160a060020a0360043516610d5c565b341561052657600080fd5b61028a610df7565b600080600754421015801561054557506008544211155b151561055057600080fd5b6000341161055d57600080fd5b60095434925061057490839063ffffffff610dfd16565b600b546101009004600160a060020a03166000908152600160205260409020549091508111156105a357600080fd5b6001600b5460ff1660048111156105b657fe5b14156105d35769043c33c19375648000008111156105d357600080fd5b6105e43382600a5462015180610e21565b50600b546101009004600160a060020a031660009081526001602052604090205461060f9082610eb3565b600b8054600160a060020a036101009182900481166000908152600160205260409081902094909455915433831693919004909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a333600160a060020a03167fa24838acd4af5195a2396965dae5abf54e84e8c19f5698bb966ae64e29994ee58260095460405191825260208201526040908101905180910390a26106c6610ec5565b5050565b60408051908101604052600881527f536578436861696e000000000000000000000000000000000000000000000000602082015281565b60008115806107335750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b151561073e57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600754421115806107ba57506008544210155b15156107c557600080fd5b60035433600160a060020a039081169116146107e057600080fd5b8460ff16600114806107f557508460ff166002145b8061080357508460ff166003145b151561080e57600080fd5b82841061081a57600080fd5b811580159061082a575060008110155b151561083557600080fd5b42841161084157600080fd5b60065460ff161561085157600080fd5b600160a060020a03331660009081526001602052604090205461087a908263ffffffff610eb316565b600160a060020a0333811660009081526001602052604080822093909355600b546101009004909116815220546108b7908263ffffffff610efb16565b600b546101009004600160a060020a03166000908152600160205260409020556007849055600883905560098290556108ef85610f0a565b5050505050565b600b546101009004600160a060020a031660009081526001602052604090205490565b60005481565b6201518081565b69043c33c193756480000081565b6000600160a060020a038316151561094b57600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561097e57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220546109b5908363ffffffff610eb316565b600160a060020a03808616600090815260026020908152604080832033909416835292905220556109e7848484610f98565b5060019392505050565b60095481565b601281565b60085481565b601154600160a060020a031681565b60065460ff1681565b600160a060020a031660009081526005602052604090205490565b600160a060020a0381166000908152600560209081526040808320546001909252822054610a689163ffffffff610efb16565b92915050565b60075481565b600354600160a060020a031681565b60408051908101604052600481527f5345584e00000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0381161515610acf57600080fd5b60115433600160a060020a03908116911614610aea57600080fd5b6011805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a03908116911614610b3457600080fd5b6007544210158015610b4857506008544211155b1515610b5357600080fd5b600160a060020a0384161515610b6857600080fd5b8215801590610b7657508115155b8015610b8157508015155b1515610b8c57600080fd5b610b9d848484620151808502610e21565b50600b546101009004600160a060020a0316600090815260016020526040902054610bc89084610eb3565b600b8054600160a060020a036101009182900481166000908152600160205260409081902094909455915487831693919004909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a350505050565b600160a060020a03331660009081526005602052604081205481901115610c6257610c60611085565b505b610c6c8383611191565b9392505050565b600160a060020a038116600090815260046020819052604082206003810154910154610a6891610ca9919063ffffffff610dfd16565b600160a060020a0384166000908152600460205260409020600101549063ffffffff610efb16565b600b5460ff1681565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610d2057600080fd5b60075442111580610d3357506008544210155b1515610d3e57600080fd5b6006805460ff19908116600117909155600b80549091166004179055565b60035433600160a060020a03908116911614610d7757600080fd5b600160a060020a0381161515610d8c57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a5481565b6000828202831580610e195750828482811515610e1657fe5b04145b1515610c6c57fe5b600160a060020a03841660009081526004602052604081205415610e4457600080fd5b600160a060020a03851660009081526005602052604090205415610e6757600080fd5b50600160a060020a039390931660009081526004602081815260408084208681559283019490945542600180840191909155600283018490556003909201959095556005909452205590565b600082821115610ebf57fe5b50900390565b601154600160a060020a03163480156108fc0290604051600060405180830381858888f193505050501515610ef957600080fd5b565b600082820183811015610c6c57fe5b8060ff1660011480610f1f57508060ff166002145b80610f2d57508060ff166003145b1515610f3857600080fd5b8060ff1660011415610f5757600b805460ff1916600117905560c8600a555b8060ff1660021415610f7657600b805460ff191660021790556096600a555b8060ff1660031415610f9557600b805460ff191660031790556078600a555b50565b60008111610fa557600080fd5b600160a060020a03831660009081526001602052604090205481901015610fcb57600080fd5b600160a060020a038316600090815260016020526040902054610ff4908263ffffffff610eb316565b600160a060020a038085166000908152600160205260408082209390935590841681522054611029908263ffffffff610efb16565b600160a060020a03808416600081815260016020526040908190209390935591908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a3505050565b60008061109233426111bc565b9050600081111561118957600160a060020a0333166000908152600460205260409020600201546110c9908263ffffffff610efb16565b600160a060020a033316600090815260046020908152604080832060020193909355600190522054611101908263ffffffff610efb16565b600160a060020a033316600090815260016020908152604080832093909355600590522054611136908263ffffffff610eb316565b600160a060020a0333166000818152600560205260409081902092909255907fb371d42b3715509a27f3109f6ac1ef6b7d7e7f8e9232b738ed17338be6cf95809083905190815260200160405180910390a25b600091505090565b6000600160a060020a03831615156111a857600080fd5b6111b3338484610f98565b50600192915050565b600160a060020a0382166000908152600460205260408120805460028201548391829114156111ee576000935061126d565b600483015483546112049163ffffffff61127616565b91506112416112348460030154611228866001015489610eb390919063ffffffff16565b9063ffffffff61127616565b839063ffffffff610dfd16565b8354909150811115611251575081545b600283015461126790829063ffffffff610eb316565b90508093505b50505092915050565b600080828481151561128457fe5b04949350505050565b6000806000806000806112b160646112286014600054610dfd90919063ffffffff16565b95506112ce6064611228601e600054610dfd90919063ffffffff16565b94506112eb60646112286014600054610dfd90919063ffffffff16565b93506113086064611228600a600054610dfd90919063ffffffff16565b6000549093506064600a808302829004945061132d926112289163ffffffff610dfd16565b600160a060020a0333811660009081526001602081905260408083208b9055600c5484168352808320899055600e54841683528083208a9055600d548416835290912085905560105492935061138d929091169085906301e13380610e21565b506113c7737c88a1ec1d25c232464549ea9ef72b9bdc2a010a6113bc606461122885601463ffffffff610dfd16565b6002625c4900610e21565b50600f546113fa90600160a060020a03166113ee606461122885605063ffffffff610dfd16565b60016301e13380610e21565b505050505050505600a165627a7a723058209520763f1e147fee684bf4d8b7d625d7f5459bec3228059c208775fcfe35064f0029

Swarm Source

bzzr://9520763f1e147fee684bf4d8b7d625d7f5459bec3228059c208775fcfe35064f
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.