ETH Price: $3,355.91 (-0.87%)
Gas: 4.21 Gwei

Token

Gese (GSE)
 

Overview

Max Total Supply

12,031,242.59 GSE

Holders

3,025

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 2 Decimals)

Balance
915.1 GSE

Value
$0.00
0x36bb9b2a5e408eb1389b3256f789b53063f96bd8
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The system of protection against counterfeit alcohol Gese

ICO Information

ICO Start Date : Jun 25th, 2018  
ICO End Date : Oct 5th, 2018
Total Cap : 52,908
Hard Cap : 52,908
Soft Cap : 3,640
Token Distribution Date : Jun 25th, 2018 

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GeseToken

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-06-09
*/

pragma solidity ^0.4.18;

// File: contracts/ownership/Ownable.sol

/**
 * @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));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

// File: contracts/math/SafeMath.sol

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  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;
  }

  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;
  }
}

// File: contracts/token/ERC20Basic.sol

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

// File: contracts/token/BasicToken.sol

/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @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));
    require(_value <= balances[msg.sender]);

    // SafeMath.sub will throw if there is not enough balance.
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @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];
  }

}

// File: contracts/token/ERC20.sol

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  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 Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: contracts/token/StandardToken.sol

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

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


  /**
   * @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 <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    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.
   *
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @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) {
    allowed[msg.sender][_spender] = _value;
    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) {
    return allowed[_owner][_spender];
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

// File: contracts/MintableToken.sol

contract MintableToken is StandardToken, Ownable {

  event Mint(address indexed to, uint256 amount);

  event MintFinished();

  bool public mintingFinished = false;

  address public saleAgent;

  mapping(address => bool) public lockedAddressesAfterITO;

  mapping(address => bool) public unlockedAddressesDuringITO;

  address[] public tokenHolders;

  modifier onlyOwnerOrSaleAgent() {
    require(msg.sender == saleAgent || msg.sender == owner);
    _;
  }

  function unlockAddressDuringITO(address addressToUnlock) public onlyOwnerOrSaleAgent {
    unlockedAddressesDuringITO[addressToUnlock] = true;
  }

  function lockAddressAfterITO(address addressToLock) public onlyOwnerOrSaleAgent {
    lockedAddressesAfterITO[addressToLock] = true;
  }

  function unlockAddressAfterITO(address addressToUnlock) public onlyOwnerOrSaleAgent {
    lockedAddressesAfterITO[addressToUnlock] = false;
  }

  function unlockBatchOfAddressesAfterITO(address[] addressesToUnlock) public onlyOwnerOrSaleAgent {
    for(uint i = 0; i < addressesToUnlock.length; i++) lockedAddressesAfterITO[addressesToUnlock[i]] = false;
  }


  modifier notLocked(address sender) {
    require((mintingFinished && !lockedAddressesAfterITO[sender]) ||
            sender == saleAgent || 
            sender == owner ||
            (!mintingFinished && unlockedAddressesDuringITO[sender]));
    _;
  }

  function setSaleAgent(address newSaleAgnet) public onlyOwnerOrSaleAgent {
    saleAgent = newSaleAgnet;
  }

  function mint(address _to, uint256 _amount) public returns (bool) {
    require((msg.sender == saleAgent || msg.sender == owner) && !mintingFinished);
    if(balances[_to] == 0) tokenHolders.push(_to);
    totalSupply = totalSupply.add(_amount);
    balances[_to] = balances[_to].add(_amount);
    Mint(_to, _amount);
    return true;
  }

  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() public returns (bool) {
    require((msg.sender == saleAgent || msg.sender == owner) && !mintingFinished);
    mintingFinished = true;
    MintFinished();
    return true;
  }

  function transfer(address _to, uint256 _value) public notLocked(msg.sender) returns (bool) {
    return super.transfer(_to, _value);
  }

  function transferFrom(address from, address to, uint256 value) public notLocked(from) returns (bool) {
    return super.transferFrom(from, to, value);
  }

}

// File: contracts/ReceivingContractCallback.sol

contract ReceivingContractCallback {

  function tokenFallback(address _from, uint _value) public;

}

// File: contracts/GeseToken.sol

contract GeseToken is MintableToken {

  string public constant name = "Gese";

  string public constant symbol = "GSE";

  uint32 public constant decimals = 2;

  mapping(address => bool)  public registeredCallbacks;

  function transfer(address _to, uint256 _value) public returns (bool) {
    return processCallback(super.transfer(_to, _value), msg.sender, _to, _value);
  }

  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    return processCallback(super.transferFrom(_from, _to, _value), _from, _to, _value);
  }

  function registerCallback(address callback) public onlyOwner {
    registeredCallbacks[callback] = true;
  }

  function deregisterCallback(address callback) public onlyOwner {
    registeredCallbacks[callback] = false;
  }

  function processCallback(bool result, address from, address to, uint value) internal returns(bool) {
    if (result && registeredCallbacks[to]) {
      ReceivingContractCallback targetCallback = ReceivingContractCallback(to);
      targetCallback.tokenFallback(from, value);
    }
    return result;
  }

}

// File: contracts/InvestedProvider.sol

contract InvestedProvider is Ownable {

  uint public invested;

}

// File: contracts/PercentRateProvider.sol

contract PercentRateProvider is Ownable {

  uint public percentRate = 100;

  function setPercentRate(uint newPercentRate) public onlyOwner {
    percentRate = newPercentRate;
  }

}

// File: contracts/RetrieveTokensFeature.sol

contract RetrieveTokensFeature is Ownable {

  function retrieveTokens(address to, address anotherToken) public onlyOwner {
    ERC20 alienToken = ERC20(anotherToken);
    alienToken.transfer(to, alienToken.balanceOf(this));
  }

}

// File: contracts/WalletProvider.sol

contract WalletProvider is Ownable {

  address public wallet;

  function setWallet(address newWallet) public onlyOwner {
    wallet = newWallet;
  }

}

// File: contracts/CommonSale.sol

contract CommonSale is InvestedProvider, WalletProvider, PercentRateProvider, RetrieveTokensFeature {

  using SafeMath for uint;

  address public directMintAgent;

  uint public price;

  uint public start;

  uint public minInvestedLimit;

  MintableToken public token;

  uint public hardcap;

  bool public lockAfterManuallyMint = true;

  modifier isUnderHardcap() {
    require(invested < hardcap);
    _;
  }

  function setLockAfterManuallyMint(bool newLockAfterManuallyMint) public onlyOwner {
    lockAfterManuallyMint = newLockAfterManuallyMint;
  }

  function setHardcap(uint newHardcap) public onlyOwner {
    hardcap = newHardcap;
  }

  modifier onlyDirectMintAgentOrOwner() {
    require(directMintAgent == msg.sender || owner == msg.sender);
    _;
  }

  modifier minInvestLimited(uint value) {
    require(value >= minInvestedLimit);
    _;
  }

  function setStart(uint newStart) public onlyOwner {
    start = newStart;
  }

  function setMinInvestedLimit(uint newMinInvestedLimit) public onlyOwner {
    minInvestedLimit = newMinInvestedLimit;
  }

  function setDirectMintAgent(address newDirectMintAgent) public onlyOwner {
    directMintAgent = newDirectMintAgent;
  }

  function setPrice(uint newPrice) public onlyOwner {
    price = newPrice;
  }

  function setToken(address newToken) public onlyOwner {
    token = MintableToken(newToken);
  }

  function calculateTokens(uint _invested) internal returns(uint);

  function mintTokensExternal(address to, uint tokens) public onlyDirectMintAgentOrOwner {
    mintTokens(to, tokens);
    if(lockAfterManuallyMint) token.lockAddressAfterITO(to);
  }

  function mintTokens(address to, uint tokens) internal {
    token.mint(to, tokens);
  }

  function endSaleDate() public view returns(uint);

  function mintTokensByETHExternal(address to, uint _invested) public onlyDirectMintAgentOrOwner {
    mintTokensByETH(to, _invested);
    if(lockAfterManuallyMint) token.lockAddressAfterITO(to);
  }

  function mintTokensByETH(address to, uint _invested) internal isUnderHardcap returns(uint) {
    invested = invested.add(_invested);
    uint tokens = calculateTokens(_invested);
    mintTokens(to, tokens);
    return tokens;
  }

  function fallback() internal minInvestLimited(msg.value) returns(uint) {
    require(now >= start && now < endSaleDate());
    wallet.transfer(msg.value);
    token.lockAddressAfterITO(msg.sender);
    return mintTokensByETH(msg.sender, msg.value);
  }

  function () public payable {
    fallback();
  }

}

// File: contracts/InputAddressFeature.sol

contract InputAddressFeature {

  function bytesToAddress(bytes source) internal pure returns(address) {
    uint result;
    uint mul = 1;
    for(uint i = 20; i > 0; i--) {
      result += uint8(source[i-1])*mul;
      mul = mul*256;
    }
    return address(result);
  }

  function getInputAddress() internal pure returns(address) {
    if(msg.data.length == 20) {
      return bytesToAddress(bytes(msg.data));
    }
    return address(0);
  }

}

// File: contracts/ReferersRewardFeature.sol

contract ReferersRewardFeature is InputAddressFeature, CommonSale {

  uint public refererPercent;

  uint public referalsMinInvestLimit;

  function setReferalsMinInvestLimit(uint newRefereralsMinInvestLimit) public onlyOwner {
    referalsMinInvestLimit = newRefereralsMinInvestLimit;
  }

  function setRefererPercent(uint newRefererPercent) public onlyOwner {
    refererPercent = newRefererPercent;
  }

  function fallback() internal returns(uint) {
    uint tokens = super.fallback();
    if(msg.value >= referalsMinInvestLimit) {
      address referer = getInputAddress();
      if(referer != address(0)) {
        require(referer != address(token) && referer != msg.sender && referer != address(this));
        mintTokens(referer, tokens.mul(refererPercent).div(percentRate));
      }
    }
    return tokens;
  }

}

// File: contracts/StagedCrowdsale.sol

contract StagedCrowdsale is Ownable {

  using SafeMath for uint;

  struct Milestone {
    uint period;
    uint bonus;
  }

  uint public totalPeriod;

  Milestone[] public milestones;

  function milestonesCount() public view returns(uint) {
    return milestones.length;
  }

  function addMilestone(uint period, uint bonus) public onlyOwner {
    require(period > 0);
    milestones.push(Milestone(period, bonus));
    totalPeriod = totalPeriod.add(period);
  }

  function removeMilestone(uint8 number) public onlyOwner {
    require(number < milestones.length);
    Milestone storage milestone = milestones[number];
    totalPeriod = totalPeriod.sub(milestone.period);

    delete milestones[number];

    for (uint i = number; i < milestones.length - 1; i++) {
      milestones[i] = milestones[i+1];
    }

    milestones.length--;
  }

  function changeMilestone(uint8 number, uint period, uint bonus) public onlyOwner {
    require(number < milestones.length);
    Milestone storage milestone = milestones[number];

    totalPeriod = totalPeriod.sub(milestone.period);

    milestone.period = period;
    milestone.bonus = bonus;

    totalPeriod = totalPeriod.add(period);
  }

  function insertMilestone(uint8 numberAfter, uint period, uint bonus) public onlyOwner {
    require(numberAfter < milestones.length);

    totalPeriod = totalPeriod.add(period);

    milestones.length++;

    for (uint i = milestones.length - 2; i > numberAfter; i--) {
      milestones[i + 1] = milestones[i];
    }

    milestones[numberAfter + 1] = Milestone(period, bonus);
  }

  function clearMilestones() public onlyOwner {
    require(milestones.length > 0);
    for (uint i = 0; i < milestones.length; i++) {
      delete milestones[i];
    }
    milestones.length -= milestones.length;
    totalPeriod = 0;
  }

  function lastSaleDate(uint start) public view returns(uint) {
    return start + totalPeriod * 1 days;
  }

  function currentMilestone(uint start) public view returns(uint) {
    uint previousDate = start;
    for(uint i=0; i < milestones.length; i++) {
      if(now >= previousDate && now < previousDate + milestones[i].period * 1 days) {
        return i;
      }
      previousDate = previousDate.add(milestones[i].period * 1 days);
    }
    revert();
  }

}

// File: contracts/ReferersCommonSale.sol

contract ReferersCommonSale is RetrieveTokensFeature, ReferersRewardFeature {


}

// File: contracts/AssembledCommonSale.sol

contract AssembledCommonSale is StagedCrowdsale, ReferersCommonSale {

  function calculateTokens(uint _invested) internal returns(uint) {
    uint milestoneIndex = currentMilestone(start);
    Milestone storage milestone = milestones[milestoneIndex];
    uint tokens = _invested.mul(price).div(1 ether);
    if(milestone.bonus > 0) {
      tokens = tokens.add(tokens.mul(milestone.bonus).div(percentRate));
    }
    return tokens;
  }

  function endSaleDate() public view returns(uint) {
    return lastSaleDate(start);
  }

}

// File: contracts/ITO.sol

contract ITO is AssembledCommonSale {

  address public bountyTokensWallet;

  address public advisorsTokensWallet;
  
  address public teamTokensWallet;

  address public reservedTokensWallet;

  uint public bountyTokensPercent;
  
  uint public advisorsTokensPercent;

  uint public teamTokensPercent;

  uint public reservedTokensPercent;

  function setBountyTokensPercent(uint newBountyTokensPercent) public onlyOwner {
    bountyTokensPercent = newBountyTokensPercent;
  }
  
  function setAdvisorsTokensPercent(uint newAdvisorsTokensPercent) public onlyOwner {
    advisorsTokensPercent = newAdvisorsTokensPercent;
  }

  function setTeamTokensPercent(uint newTeamTokensPercent) public onlyOwner {
    teamTokensPercent = newTeamTokensPercent;
  }

  function setReservedTokensPercent(uint newReservedTokensPercent) public onlyOwner {
    reservedTokensPercent = newReservedTokensPercent;
  }

  function setBountyTokensWallet(address newBountyTokensWallet) public onlyOwner {
    bountyTokensWallet = newBountyTokensWallet;
  }

  function setAdvisorsTokensWallet(address newAdvisorsTokensWallet) public onlyOwner {
    advisorsTokensWallet = newAdvisorsTokensWallet;
  }

  function setTeamTokensWallet(address newTeamTokensWallet) public onlyOwner {
    teamTokensWallet = newTeamTokensWallet;
  }

  function setReservedTokensWallet(address newReservedTokensWallet) public onlyOwner {
    reservedTokensWallet = newReservedTokensWallet;
  }

  function finish() public onlyOwner {
    uint summaryTokensPercent = bountyTokensPercent.add(advisorsTokensPercent).add(teamTokensPercent).add(reservedTokensPercent);
    uint mintedTokens = token.totalSupply();
    uint allTokens = mintedTokens.mul(percentRate).div(percentRate.sub(summaryTokensPercent));
    uint advisorsTokens = allTokens.mul(advisorsTokensPercent).div(percentRate);
    uint bountyTokens = allTokens.mul(bountyTokensPercent).div(percentRate);
    uint teamTokens = allTokens.mul(teamTokensPercent).div(percentRate);
    uint reservedTokens = allTokens.mul(reservedTokensPercent).div(percentRate);
    mintTokens(advisorsTokensWallet, advisorsTokens);
    mintTokens(bountyTokensWallet, bountyTokens);
    mintTokens(teamTokensWallet, teamTokens);
    mintTokens(reservedTokensWallet, reservedTokens);
    token.finishMinting();
  }

}

// File: contracts/NextSaleAgentFeature.sol

contract NextSaleAgentFeature is Ownable {

  address public nextSaleAgent;

  function setNextSaleAgent(address newNextSaleAgent) public onlyOwner {
    nextSaleAgent = newNextSaleAgent;
  }

}

// File: contracts/SoftcapFeature.sol

contract SoftcapFeature is InvestedProvider, WalletProvider {

  using SafeMath for uint;

  mapping(address => uint) public balances;

  bool public softcapAchieved;

  bool public refundOn;

  uint public softcap;

  uint public constant devLimit = 4500000000000000000;

  address public constant devWallet = 0xEA15Adb66DC92a4BbCcC8Bf32fd25E2e86a2A770;

  function setSoftcap(uint newSoftcap) public onlyOwner {
    softcap = newSoftcap;
  }

  function withdraw() public {
    require(msg.sender == owner || msg.sender == devWallet);
    require(softcapAchieved);
    devWallet.transfer(devLimit);
    wallet.transfer(this.balance);
  }

  function updateBalance(address to, uint amount) internal {
    balances[to] = balances[to].add(amount);
    if (!softcapAchieved && invested >= softcap) {
      softcapAchieved = true;
    }
  }

  function refund() public {
    require(refundOn && balances[msg.sender] > 0);
    uint value = balances[msg.sender];
    balances[msg.sender] = 0;
    msg.sender.transfer(value);
  }

  function updateRefundState() internal returns(bool) {
    if (!softcapAchieved) {
      refundOn = true;
    }
    return refundOn;
  }

}

// File: contracts/PreITO.sol

contract PreITO is NextSaleAgentFeature, SoftcapFeature, ReferersCommonSale {

  uint public period;

  function calculateTokens(uint _invested) internal returns(uint) {
    return _invested.mul(price).div(1 ether);
  }

  function setPeriod(uint newPeriod) public onlyOwner {
    period = newPeriod;
  }

  function endSaleDate() public view returns(uint) {
    return start.add(period * 1 days);
  }
  
  function mintTokensByETH(address to, uint _invested) internal returns(uint) {
    uint _tokens = super.mintTokensByETH(to, _invested);
    updateBalance(to, _invested);
    return _tokens;
  }

  function finish() public onlyOwner {
    if (updateRefundState()) {
      token.finishMinting();
    } else {
      withdraw();
      token.setSaleAgent(nextSaleAgent);
    }
  }

  function fallback() internal minInvestLimited(msg.value) returns(uint) {
    require(now >= start && now < endSaleDate());
    token.lockAddressAfterITO(msg.sender);
    uint tokens = mintTokensByETH(msg.sender, msg.value);
    if(msg.value >= referalsMinInvestLimit) {
      address referer = getInputAddress();
      if(referer != address(0)) {
        require(referer != address(token) && referer != msg.sender && referer != address(this));
        mintTokens(referer, tokens.mul(refererPercent).div(percentRate));
      }
    }
    return tokens;
  }

}

// File: contracts/Configurator.sol

contract Configurator is Ownable {

  MintableToken public token;

  PreITO public preITO;

  ITO public ito;

  function deploy() public onlyOwner {

    token = new GeseToken();

    preITO = new PreITO();

    preITO.setWallet(0xa86780383E35De330918D8e4195D671140A60A74);
    preITO.setStart(1529971200);
    preITO.setPeriod(14);
    preITO.setPrice(786700);
    preITO.setMinInvestedLimit(100000000000000000);
    preITO.setHardcap(3818000000000000000000);
    preITO.setSoftcap(3640000000000000000000);
    preITO.setReferalsMinInvestLimit(100000000000000000);
    preITO.setRefererPercent(5);
    preITO.setToken(token);

    token.setSaleAgent(preITO);

    ito = new ITO();

    ito.setWallet(0x98882D176234AEb736bbBDB173a8D24794A3b085);
    ito.setStart(1536105600);
    ito.addMilestone(5, 33);
    ito.addMilestone(5, 18);
    ito.addMilestone(5, 11);
    ito.addMilestone(5, 5);
    ito.addMilestone(10, 0);
    ito.setPrice(550000);
    ito.setMinInvestedLimit(100000000000000000);
    ito.setHardcap(49090000000000000000000);
    ito.setBountyTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5);
    ito.setAdvisorsTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5);
    ito.setTeamTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5);
    ito.setReservedTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5);
    ito.setBountyTokensPercent(5);
    ito.setAdvisorsTokensPercent(10);
    ito.setTeamTokensPercent(10);
    ito.setReservedTokensPercent(10);
    ito.setReferalsMinInvestLimit(100000000000000000);
    ito.setRefererPercent(5);
    ito.setToken(token);

    preITO.setNextSaleAgent(ito);

    address manager = 0x6c29554bD66D788Aa15D9B80A1Fff0717614341c;

    token.transferOwnership(manager);
    preITO.transferOwnership(manager);
    ito.transferOwnership(manager);
  }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"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":"","type":"address"}],"name":"lockedAddressesAfterITO","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newSaleAgnet","type":"address"}],"name":"setSaleAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","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":false,"inputs":[{"name":"addressToUnlock","type":"address"}],"name":"unlockAddressDuringITO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"callback","type":"address"}],"name":"deregisterCallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addressToUnlock","type":"address"}],"name":"unlockAddressAfterITO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenHolders","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":"addressToLock","type":"address"}],"name":"lockAddressAfterITO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addressesToUnlock","type":"address[]"}],"name":"unlockBatchOfAddressesAfterITO","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":"saleAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"callback","type":"address"}],"name":"registerCallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"unlockedAddressesDuringITO","outputs":[{"name":"","type":"bool"}],"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":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"registeredCallbacks","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","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":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","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"}]

606060405260038054600160a860020a03191633600160a060020a03161790556113738061002e6000396000f3006060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461016e57806306fdde0314610195578063095ea7b31461021f5780630ca184381461024157806314133a7c1461026057806318160ddd1461028157806323b872dd146102a65780632e4dde60146102ce578063313ce567146102ed57806340c10f19146103195780634c66326d1461033b578063661884631461035a57806370a082311461037c5780637d64bcb41461039b5780638c699f30146103ae5780638da5cb5b146103cd578063923108d9146103fc57806395d89b41146104125780639a9a88cf14610425578063a2fd017914610444578063a9059cbb14610493578063b1d6a2f0146104b5578063cf1b037c146104c8578063d73dd623146104e7578063db0d7a3814610509578063dd62ed3e14610528578063f2fde38b1461054d578063f308846f1461056c575b600080fd5b341561017957600080fd5b61018161058b565b604051901515815260200160405180910390f35b34156101a057600080fd5b6101a861059b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e45780820151838201526020016101cc565b50505050905090810190601f1680156102115780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022a57600080fd5b610181600160a060020a03600435166024356105d2565b341561024c57600080fd5b610181600160a060020a036004351661063e565b341561026b57600080fd5b61027f600160a060020a0360043516610653565b005b341561028c57600080fd5b6102946106b8565b60405190815260200160405180910390f35b34156102b157600080fd5b610181600160a060020a03600435811690602435166044356106be565b34156102d957600080fd5b61027f600160a060020a03600435166106de565b34156102f857600080fd5b610300610738565b60405163ffffffff909116815260200160405180910390f35b341561032457600080fd5b610181600160a060020a036004351660243561073d565b341561034657600080fd5b61027f600160a060020a0360043516610889565b341561036557600080fd5b610181600160a060020a03600435166024356108c5565b341561038757600080fd5b610294600160a060020a03600435166109bf565b34156103a657600080fd5b6101816109da565b34156103b957600080fd5b61027f600160a060020a0360043516610a80565b34156103d857600080fd5b6103e0610ad7565b604051600160a060020a03909116815260200160405180910390f35b341561040757600080fd5b6103e0600435610ae6565b341561041d57600080fd5b6101a8610b0e565b341561043057600080fd5b61027f600160a060020a0360043516610b45565b341561044f57600080fd5b61027f6004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610b9f95505050505050565b341561049e57600080fd5b610181600160a060020a0360043516602435610c35565b34156104c057600080fd5b6103e0610c53565b34156104d357600080fd5b61027f600160a060020a0360043516610c62565b34156104f257600080fd5b610181600160a060020a0360043516602435610ca1565b341561051457600080fd5b610181600160a060020a0360043516610d45565b341561053357600080fd5b610294600160a060020a0360043581169060243516610d5a565b341561055857600080fd5b61027f600160a060020a0360043516610d85565b341561057757600080fd5b610181600160a060020a0360043516610e20565b60035460a060020a900460ff1681565b60408051908101604052600481527f4765736500000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60056020526000908152604090205460ff1681565b60045433600160a060020a039081169116148061067e575060035433600160a060020a039081169116145b151561068957600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005481565b60006106d66106ce858585610e35565b858585610ef3565b949350505050565b60045433600160a060020a0390811691161480610709575060035433600160a060020a039081169116145b151561071457600080fd5b600160a060020a03166000908152600660205260409020805460ff19166001179055565b600281565b60045460009033600160a060020a039081169116148061076b575060035433600160a060020a039081169116145b8015610781575060035460a060020a900460ff16155b151561078c57600080fd5b600160a060020a03831660009081526001602052604090205415156107f05760078054600181016107bd8382611300565b506000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385161790555b600054610803908363ffffffff610fae16565b6000908155600160a060020a03841681526001602052604090205461082e908363ffffffff610fae16565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a250600192915050565b60035433600160a060020a039081169116146108a457600080fd5b600160a060020a03166000908152600860205260409020805460ff19169055565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561092257600160a060020a033381166000908152600260209081526040808320938816835292905290812055610959565b610932818463ffffffff610fbd16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b60045460009033600160a060020a0390811691161480610a08575060035433600160a060020a039081169116145b8015610a1e575060035460a060020a900460ff16155b1515610a2957600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a15060015b90565b60045433600160a060020a0390811691161480610aab575060035433600160a060020a039081169116145b1515610ab657600080fd5b600160a060020a03166000908152600560205260409020805460ff19169055565b600354600160a060020a031681565b6007805482908110610af457fe5b600091825260209091200154600160a060020a0316905081565b60408051908101604052600381527f4753450000000000000000000000000000000000000000000000000000000000602082015281565b60045433600160a060020a0390811691161480610b70575060035433600160a060020a039081169116145b1515610b7b57600080fd5b600160a060020a03166000908152600560205260409020805460ff19166001179055565b60045460009033600160a060020a0390811691161480610bcd575060035433600160a060020a039081169116145b1515610bd857600080fd5b5060005b8151811015610c3157600060056000848481518110610bf757fe5b90602001906020020151600160a060020a031681526020810191909152604001600020805460ff1916911515919091179055600101610bdc565b5050565b6000610c4c610c448484610fcf565b338585610ef3565b9392505050565b600454600160a060020a031681565b60035433600160a060020a03908116911614610c7d57600080fd5b600160a060020a03166000908152600860205260409020805460ff19166001179055565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610cd9908363ffffffff610fae16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60066020526000908152604090205460ff1681565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610da057600080fd5b600160a060020a0381161515610db557600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60086020526000908152604090205460ff1681565b600354600090849060a060020a900460ff168015610e6c5750600160a060020a03811660009081526005602052604090205460ff16155b80610e845750600454600160a060020a038281169116145b80610e9c5750600354600160a060020a038281169116145b80610ed4575060035460a060020a900460ff16158015610ed45750600160a060020a03811660009081526006602052604090205460ff165b1515610edf57600080fd5b610eea858585611083565b95945050505050565b600080858015610f1b5750600160a060020a03841660009081526008602052604090205460ff165b15610fa4575082600160a060020a038116633b66d02b86856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610f8f57600080fd5b6102c65a03f11515610fa057600080fd5b5050505b5093949350505050565b600082820183811015610c4c57fe5b600082821115610fc957fe5b50900390565b600354600090339060a060020a900460ff1680156110065750600160a060020a03811660009081526005602052604090205460ff16155b8061101e5750600454600160a060020a038281169116145b806110365750600354600160a060020a038281169116145b8061106e575060035460a060020a900460ff1615801561106e5750600160a060020a03811660009081526006602052604090205460ff165b151561107957600080fd5b6106d68484611205565b6000600160a060020a038316151561109a57600080fd5b600160a060020a0384166000908152600160205260409020548211156110bf57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156110f257600080fd5b600160a060020a03841660009081526001602052604090205461111b908363ffffffff610fbd16565b600160a060020a038086166000908152600160205260408082209390935590851681522054611150908363ffffffff610fae16565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054611198908363ffffffff610fbd16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b6000600160a060020a038316151561121c57600080fd5b600160a060020a03331660009081526001602052604090205482111561124157600080fd5b600160a060020a03331660009081526001602052604090205461126a908363ffffffff610fbd16565b600160a060020a03338116600090815260016020526040808220939093559085168152205461129f908363ffffffff610fae16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b81548183558181151161132457600083815260209020611324918101908301611329565b505050565b610a7d91905b80821115611343576000815560010161132f565b50905600a165627a7a7230582003ce798bdd8745c24a135bca02928152ce1988838f42adf005bc354f071162110029

Deployed Bytecode

0x6060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461016e57806306fdde0314610195578063095ea7b31461021f5780630ca184381461024157806314133a7c1461026057806318160ddd1461028157806323b872dd146102a65780632e4dde60146102ce578063313ce567146102ed57806340c10f19146103195780634c66326d1461033b578063661884631461035a57806370a082311461037c5780637d64bcb41461039b5780638c699f30146103ae5780638da5cb5b146103cd578063923108d9146103fc57806395d89b41146104125780639a9a88cf14610425578063a2fd017914610444578063a9059cbb14610493578063b1d6a2f0146104b5578063cf1b037c146104c8578063d73dd623146104e7578063db0d7a3814610509578063dd62ed3e14610528578063f2fde38b1461054d578063f308846f1461056c575b600080fd5b341561017957600080fd5b61018161058b565b604051901515815260200160405180910390f35b34156101a057600080fd5b6101a861059b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e45780820151838201526020016101cc565b50505050905090810190601f1680156102115780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022a57600080fd5b610181600160a060020a03600435166024356105d2565b341561024c57600080fd5b610181600160a060020a036004351661063e565b341561026b57600080fd5b61027f600160a060020a0360043516610653565b005b341561028c57600080fd5b6102946106b8565b60405190815260200160405180910390f35b34156102b157600080fd5b610181600160a060020a03600435811690602435166044356106be565b34156102d957600080fd5b61027f600160a060020a03600435166106de565b34156102f857600080fd5b610300610738565b60405163ffffffff909116815260200160405180910390f35b341561032457600080fd5b610181600160a060020a036004351660243561073d565b341561034657600080fd5b61027f600160a060020a0360043516610889565b341561036557600080fd5b610181600160a060020a03600435166024356108c5565b341561038757600080fd5b610294600160a060020a03600435166109bf565b34156103a657600080fd5b6101816109da565b34156103b957600080fd5b61027f600160a060020a0360043516610a80565b34156103d857600080fd5b6103e0610ad7565b604051600160a060020a03909116815260200160405180910390f35b341561040757600080fd5b6103e0600435610ae6565b341561041d57600080fd5b6101a8610b0e565b341561043057600080fd5b61027f600160a060020a0360043516610b45565b341561044f57600080fd5b61027f6004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610b9f95505050505050565b341561049e57600080fd5b610181600160a060020a0360043516602435610c35565b34156104c057600080fd5b6103e0610c53565b34156104d357600080fd5b61027f600160a060020a0360043516610c62565b34156104f257600080fd5b610181600160a060020a0360043516602435610ca1565b341561051457600080fd5b610181600160a060020a0360043516610d45565b341561053357600080fd5b610294600160a060020a0360043581169060243516610d5a565b341561055857600080fd5b61027f600160a060020a0360043516610d85565b341561057757600080fd5b610181600160a060020a0360043516610e20565b60035460a060020a900460ff1681565b60408051908101604052600481527f4765736500000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60056020526000908152604090205460ff1681565b60045433600160a060020a039081169116148061067e575060035433600160a060020a039081169116145b151561068957600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005481565b60006106d66106ce858585610e35565b858585610ef3565b949350505050565b60045433600160a060020a0390811691161480610709575060035433600160a060020a039081169116145b151561071457600080fd5b600160a060020a03166000908152600660205260409020805460ff19166001179055565b600281565b60045460009033600160a060020a039081169116148061076b575060035433600160a060020a039081169116145b8015610781575060035460a060020a900460ff16155b151561078c57600080fd5b600160a060020a03831660009081526001602052604090205415156107f05760078054600181016107bd8382611300565b506000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385161790555b600054610803908363ffffffff610fae16565b6000908155600160a060020a03841681526001602052604090205461082e908363ffffffff610fae16565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a250600192915050565b60035433600160a060020a039081169116146108a457600080fd5b600160a060020a03166000908152600860205260409020805460ff19169055565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561092257600160a060020a033381166000908152600260209081526040808320938816835292905290812055610959565b610932818463ffffffff610fbd16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b60045460009033600160a060020a0390811691161480610a08575060035433600160a060020a039081169116145b8015610a1e575060035460a060020a900460ff16155b1515610a2957600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a15060015b90565b60045433600160a060020a0390811691161480610aab575060035433600160a060020a039081169116145b1515610ab657600080fd5b600160a060020a03166000908152600560205260409020805460ff19169055565b600354600160a060020a031681565b6007805482908110610af457fe5b600091825260209091200154600160a060020a0316905081565b60408051908101604052600381527f4753450000000000000000000000000000000000000000000000000000000000602082015281565b60045433600160a060020a0390811691161480610b70575060035433600160a060020a039081169116145b1515610b7b57600080fd5b600160a060020a03166000908152600560205260409020805460ff19166001179055565b60045460009033600160a060020a0390811691161480610bcd575060035433600160a060020a039081169116145b1515610bd857600080fd5b5060005b8151811015610c3157600060056000848481518110610bf757fe5b90602001906020020151600160a060020a031681526020810191909152604001600020805460ff1916911515919091179055600101610bdc565b5050565b6000610c4c610c448484610fcf565b338585610ef3565b9392505050565b600454600160a060020a031681565b60035433600160a060020a03908116911614610c7d57600080fd5b600160a060020a03166000908152600860205260409020805460ff19166001179055565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610cd9908363ffffffff610fae16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60066020526000908152604090205460ff1681565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610da057600080fd5b600160a060020a0381161515610db557600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60086020526000908152604090205460ff1681565b600354600090849060a060020a900460ff168015610e6c5750600160a060020a03811660009081526005602052604090205460ff16155b80610e845750600454600160a060020a038281169116145b80610e9c5750600354600160a060020a038281169116145b80610ed4575060035460a060020a900460ff16158015610ed45750600160a060020a03811660009081526006602052604090205460ff165b1515610edf57600080fd5b610eea858585611083565b95945050505050565b600080858015610f1b5750600160a060020a03841660009081526008602052604090205460ff165b15610fa4575082600160a060020a038116633b66d02b86856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610f8f57600080fd5b6102c65a03f11515610fa057600080fd5b5050505b5093949350505050565b600082820183811015610c4c57fe5b600082821115610fc957fe5b50900390565b600354600090339060a060020a900460ff1680156110065750600160a060020a03811660009081526005602052604090205460ff16155b8061101e5750600454600160a060020a038281169116145b806110365750600354600160a060020a038281169116145b8061106e575060035460a060020a900460ff1615801561106e5750600160a060020a03811660009081526006602052604090205460ff165b151561107957600080fd5b6106d68484611205565b6000600160a060020a038316151561109a57600080fd5b600160a060020a0384166000908152600160205260409020548211156110bf57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156110f257600080fd5b600160a060020a03841660009081526001602052604090205461111b908363ffffffff610fbd16565b600160a060020a038086166000908152600160205260408082209390935590851681522054611150908363ffffffff610fae16565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054611198908363ffffffff610fbd16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b6000600160a060020a038316151561121c57600080fd5b600160a060020a03331660009081526001602052604090205482111561124157600080fd5b600160a060020a03331660009081526001602052604090205461126a908363ffffffff610fbd16565b600160a060020a03338116600090815260016020526040808220939093559085168152205461129f908363ffffffff610fae16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b81548183558181151161132457600083815260209020611324918101908301611329565b505050565b610a7d91905b80821115611343576000815560010161132f565b50905600a165627a7a7230582003ce798bdd8745c24a135bca02928152ce1988838f42adf005bc354f071162110029

Swarm Source

bzzr://03ce798bdd8745c24a135bca02928152ce1988838f42adf005bc354f07116211
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.