Token BITTO

 

Overview [ERC-20]

Max Total Supply:
17,709,829.602917260273972545 BITTO

Holders:
672 (0.00%)

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

BITTO token contract has migrated to 0x55a290f08Bb4CAe8DcF1Ea5635A3FCfd4Da60456.


 


# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BITTO

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity 0.4.24;

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function totalSupply() external view returns (uint256);

  function balanceOf(address who) external view returns (uint256);

  function allowance(address owner, address spender)
    external view returns (uint256);

  function transfer(address to, uint256 value) external returns (bool);

  function approve(address spender, uint256 value)
    external returns (bool);

  function transferFrom(address from, address to, uint256 value)
    external returns (bool);

  event Transfer(
    address indexed from,
    address indexed to,
    uint256 value
  );

  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}


/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

/**
 * @title BITTOStandard
 * @dev the interface of BITTOStandard
 */
 
contract BITTOStandard {
    uint256 public stakeStartTime;
    uint256 public stakeMinAge;
    uint256 public stakeMaxAge;
    function mint() public returns (bool);
    function coinAge() constant public returns (uint256);
    function annualInterest() constant public returns (uint256);
    event Mint(address indexed _address, uint _reward);
}



/**
 * @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 private _owner;


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


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

/**
  * @return the address of the owner.
  */
function owner() public view returns(address) {
  return _owner;
}

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

/**
  * @return true if `msg.sender` is the owner of the contract.
  */
function isOwner() public view returns(bool) {
  return msg.sender == _owner;
}

/**
  * @dev Allows the current owner to relinquish control of the contract.
  * @notice Renouncing to ownership will leave the contract without an owner.
  * It will not be possible to call the functions with the `onlyOwner`
  * modifier anymore.
  */
function renounceOwnership() public onlyOwner {
  emit OwnershipRenounced(_owner);
  _owner = address(0);
}

/**
  * @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 {
  _transferOwnership(newOwner);
}

/**
  * @dev Transfers control of the contract to a newOwner.
  * @param newOwner The address to transfer ownership to.
  */
function _transferOwnership(address newOwner) internal {
  require(newOwner != address(0));
  emit OwnershipTransferred(_owner, newOwner);
  _owner = newOwner;
}
}


contract BITTO is IERC20, BITTOStandard, Ownable {
    using SafeMath for uint256;

    string public name = "BITTO";
    string public symbol = "BITTO";
    uint public decimals = 18;

    uint public chainStartTime; //chain start time
    uint public chainStartBlockNumber; //chain start block number
    uint public stakeStartTime; //stake start time
    uint public stakeMinAge = 10 days; // minimum age for coin age: 10D
    uint public stakeMaxAge = 180 days; // stake age of full weight: 180D

    uint public totalSupply;
    uint public maxTotalSupply;
    uint public totalInitialSupply;

    uint constant MIN_STAKING = 5000;  // minium amount of token to stake
    uint constant STAKE_START_TIME = 1537228800;  // 2018.9.18
    uint constant STEP1_ENDTIME = 1552780800;  //  2019.3.17
    uint constant STEP2_ENDTIME = 1568332800;  // 2019.9.13
    uint constant STEP3_ENDTIME = 1583884800;  // 2020.3.11
    uint constant STEP4_ENDTIME = 1599436800; // 2020.9.7
    uint constant STEP5_ENDTIME = 1914969600; // 2030.9.7

    struct Period {
        uint start;
        uint end;
        uint interest;
    }

    mapping (uint => Period) periods;

    mapping(address => bool) public noPOSRewards;

    struct transferInStruct {
        uint128 amount;
        uint64 time;
    }

    mapping(address => uint256) balances;
    mapping(address => mapping (address => uint256)) allowed;
    mapping(address => transferInStruct[]) transferIns;

    event Burn(address indexed burner, uint256 value);

    /**
     * @dev Fix for the ERC20 short address attack.
     */
    modifier onlyPayloadSize(uint size) {
        require(msg.data.length >= size + 4);
        _;
    }

    modifier canPoSMint() {
        require(totalSupply < maxTotalSupply);
        _;
    }

    constructor() public {
        // 5 mil is reserved for POS rewards
        maxTotalSupply = 223 * 10**23; // 22.3 Mil.
        totalInitialSupply = 173 * 10**23; // 17.3 Mil. 10 mil = crowdsale, 7.3 team account

        chainStartTime = now;
        chainStartBlockNumber = block.number;

        balances[msg.sender] = totalInitialSupply;
        totalSupply = totalInitialSupply;

        // 4 periods for 2 years
        stakeStartTime = 1537228800;
        
        periods[0] = Period(STAKE_START_TIME, STEP1_ENDTIME, 65 * 10 ** 18);
        periods[1] = Period(STEP1_ENDTIME, STEP2_ENDTIME, 34 * 10 ** 18);
        periods[2] = Period(STEP2_ENDTIME, STEP3_ENDTIME, 20 * 10 ** 18);
        periods[3] = Period(STEP3_ENDTIME, STEP4_ENDTIME, 134 * 10 ** 16);
        periods[4] = Period(STEP4_ENDTIME, STEP5_ENDTIME, 134 * 10 ** 16);
    }

    function transfer(address _to, uint256 _value) onlyPayloadSize(2 * 32) public returns (bool) {
        if (msg.sender == _to)
            return mint();
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        emit Transfer(msg.sender, _to, _value);
        if (transferIns[msg.sender].length > 0)
            delete transferIns[msg.sender];
        uint64 _now = uint64(now);
        transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),_now));
        transferIns[_to].push(transferInStruct(uint128(_value),_now));
        return true;
    }

    function totalSupply() public view returns (uint256) {
        return totalSupply;
    }

    function balanceOf(address _owner) constant public returns (uint256 balance) {
        return balances[_owner];
    }

    function transferFrom(address _from, address _to, uint256 _value) onlyPayloadSize(3 * 32) public returns (bool) {
        require(_to != address(0));

        uint256 _allowance = allowed[_from][msg.sender];

        // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
        // require (_value <= _allowance);

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = _allowance.sub(_value);
        emit Transfer(_from, _to, _value);
        if (transferIns[_from].length > 0)
            delete transferIns[_from];
        uint64 _now = uint64(now);
        transferIns[_from].push(transferInStruct(uint128(balances[_from]),_now));
        transferIns[_to].push(transferInStruct(uint128(_value),_now));
        return true;
    }

    function approve(address _spender, uint256 _value) public returns (bool) {
        require((_value == 0) || (allowed[msg.sender][_spender] == 0));

        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) constant public returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    function mint() canPoSMint public returns (bool) {
        // minimum stake of 5000 x is required to earn staking.
        if (balances[msg.sender] < MIN_STAKING.mul(1 ether))
            return false;
        if (transferIns[msg.sender].length <= 0)
            return false;

        uint reward = getProofOfStakeReward(msg.sender);
        if (reward <= 0)
            return false;
       
        totalSupply = totalSupply.add(reward);
        balances[msg.sender] = balances[msg.sender].add(reward);
        delete transferIns[msg.sender];
        transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),uint64(now)));

        emit Transfer(address(0), msg.sender, reward);
        emit Mint(msg.sender, reward);
        return true;
    }

    function getBlockNumber() view public returns (uint blockNumber) {
        blockNumber = block.number.sub(chainStartBlockNumber);
    }

    function coinAge() constant public returns (uint myCoinAge) {
        uint _now = now;
        myCoinAge = 0;
        for (uint i=0; i < getPeriodNumber(_now) + 1; i ++) {
            myCoinAge += getCoinAgeofPeriod(msg.sender, i, _now);
        }
    }

    function annualInterest() constant public returns (uint interest) {        
        uint _now = now;
        interest = periods[getPeriodNumber(_now)].interest;
    }

    function getProofOfStakeReward(address _address) public view returns (uint totalReward) {
        require((now >= stakeStartTime) && (stakeStartTime > 0));
        require(!noPOSRewards[_address]);

        uint _now = now;

        totalReward = 0;
        for (uint i=0; i < getPeriodNumber(_now) + 1; i ++) {
            totalReward += (getCoinAgeofPeriod(_address, i, _now)).mul(periods[i].interest).div(100).div(365);
        }
    }

    function getPeriodNumber(uint _now) public view returns (uint periodNumber) {
        for (uint i = 4; i >= 0; i --) {
            if( _now >= periods[i].start){
                return i;
            }
        }
    }

    function getCoinAgeofPeriod(address _address, uint _pid, uint _now) public view returns (uint _coinAge) {        
        if (transferIns[_address].length <= 0)
            return 0;

        if (_pid < 0 || _pid > 4)
            return 0;

        _coinAge = 0;
        uint nCoinSeconds;
        uint i;

        if (periods[_pid].start < _now && 
            periods[_pid].end >= _now) {
            // calculate the current period
            for (i = 0; i < transferIns[_address].length; i ++) {
                if (uint(periods[_pid].start) > uint(transferIns[_address][i].time) || 
                    uint(periods[_pid].end) <= uint(transferIns[_address][i].time))
                    continue;
                
                nCoinSeconds = _now.sub(uint(transferIns[_address][i].time));
                
                if (nCoinSeconds < stakeMinAge)
                    continue;

                if ( nCoinSeconds > stakeMaxAge )
                    nCoinSeconds = stakeMaxAge;    
                
                nCoinSeconds = nCoinSeconds.sub(stakeMinAge);
                _coinAge = _coinAge.add(uint(transferIns[_address][i].amount) * nCoinSeconds.div(1 days));
            }

        }else{
            // calculate for the ended preriods which user did not claimed
            for (i = 0; i < transferIns[_address].length; i++) {
                if (uint(periods[_pid].start) > uint(transferIns[_address][i].time) || 
                    uint(periods[_pid].end) <= uint(transferIns[_address][i].time))
                    continue;

                nCoinSeconds = (uint(periods[_pid].end)).sub(uint(transferIns[_address][i].time));
                
                if (nCoinSeconds < stakeMinAge)
                    continue;

                if ( nCoinSeconds > stakeMaxAge )
                    nCoinSeconds = stakeMaxAge;

                nCoinSeconds = nCoinSeconds.sub(stakeMinAge);
                _coinAge = _coinAge.add(uint(transferIns[_address][i].amount) * nCoinSeconds.div(1 days));
            }
        }

        _coinAge = _coinAge.div(1 ether);
    }

    function burn(uint256 _value) public {
        require(_value <= balances[msg.sender]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure

        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        delete transferIns[msg.sender];
        transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),uint64(now)));
        totalSupply = totalSupply.sub(_value);
        emit Burn(burner, _value);
    }

    /**
    * @dev Burns a specific amount of tokens.
    * @param _value The amount of token to be burned.
    */
    function ownerBurnToken(uint _value) public onlyOwner {
        require(_value > 0);

        balances[msg.sender] = balances[msg.sender].sub(_value);
        delete transferIns[msg.sender];
        transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),uint64(now)));

        totalSupply = totalSupply.sub(_value);
        totalInitialSupply = totalInitialSupply.sub(_value);
        maxTotalSupply = maxTotalSupply.sub(_value*10);

        emit Burn(msg.sender, _value);
    }

    /* Batch token transfer. Used by contract creator to distribute initial tokens to holders */
    function batchTransfer(address[] _recipients, uint[] _values) onlyOwner public returns (bool) {
        require(_recipients.length > 0 && _recipients.length == _values.length);

        uint total = 0;
        for (uint i = 0; i < _values.length; i++) {
            total = total.add(_values[i]);
        }
        require(total <= balances[msg.sender]);

        uint64 _now = uint64(now);
        for (uint j = 0; j < _recipients.length; j++) {
            balances[_recipients[j]] = balances[_recipients[j]].add(_values[j]);
            transferIns[_recipients[j]].push(transferInStruct(uint128(_values[j]),_now));
            emit Transfer(msg.sender, _recipients[j], _values[j]);
        }

        balances[msg.sender] = balances[msg.sender].sub(total);
        if (transferIns[msg.sender].length > 0)
            delete transferIns[msg.sender];
        if (balances[msg.sender] > 0)
            transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),_now));

        return true;
    }

    function disablePOSReward(address _account, bool _enabled) onlyOwner public {
        noPOSRewards[_account] = _enabled;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_now","type":"uint256"}],"name":"getPeriodNumber","outputs":[{"name":"periodNumber","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getProofOfStakeReward","outputs":[{"name":"totalReward","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"},{"name":"_enabled","type":"bool"}],"name":"disablePOSReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"coinAge","outputs":[{"name":"myCoinAge","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":"maxTotalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getBlockNumber","outputs":[{"name":"blockNumber","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"chainStartTime","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":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stakeStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_recipients","type":"address[]"},{"name":"_values","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"name":"","type":"bool"}],"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":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"ownerBurnToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalInitialSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"annualInterest","outputs":[{"name":"interest","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"},{"name":"_pid","type":"uint256"},{"name":"_now","type":"uint256"}],"name":"getCoinAgeofPeriod","outputs":[{"name":"_coinAge","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"noPOSRewards","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakeMinAge","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"chainStartBlockNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakeMaxAge","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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","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":"_address","type":"address"},{"indexed":false,"name":"_reward","type":"uint256"}],"name":"Mint","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"}]

60c0604052600560808190527f424954544f00000000000000000000000000000000000000000000000000000060a0908152620000409160049190620003f7565b506040805180820190915260058082527f424954544f0000000000000000000000000000000000000000000000000000006020909201918252620000859181620003f7565b506012600655620d2f00600a5562ed4e00600b55348015620000a657600080fd5b5060038054600160a060020a0319163390811782556a1272356c1d404cb9800000600d556a0e4f6ae1133fa894800000600e81905542600755436008556000918252601160209081526040808420839055600c92909255635ba040006009819055825160608181018552918152635c8d8e008184018181526803860e639d80640000838701908152878052600f80875293517ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3755590517ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec37655517ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3775584518084018652908152635d7adc008185018181526801d7d843dc3b4800008388019081526001895284875292517f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88f55517f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f8905590517f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f8915584518084018652908152635e682a008185018181526801158e460913d000008388019081526002895284875292517fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeead55517fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeeae5590517fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeeaf5584518084018652908152635f557800818501818152671298a2e67f06000083880181815299895284875292517f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc829682855517f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc82968295596517f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc829682a55845192830185529582526372241e00828401908152938201958652600490945292905290517f367ccd2d0ac16bf7110a5dffe0801fdc9452a95a1adb7e1a12fe97dd3e9a4edd55517f367ccd2d0ac16bf7110a5dffe0801fdc9452a95a1adb7e1a12fe97dd3e9a4ede55517f367ccd2d0ac16bf7110a5dffe0801fdc9452a95a1adb7e1a12fe97dd3e9a4edf556200049c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200043a57805160ff19168380011785556200046a565b828001600101855582156200046a579182015b828111156200046a5782518255916020019190600101906200044d565b50620004789291506200047c565b5090565b6200049991905b8082111562000478576000815560010162000483565b90565b611db580620004ac6000396000f3006080604052600436106101955763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302d4ebb2811461019a57806306fdde03146101c4578063095ea7b31461024e5780630d6dcab3146102865780631099f6fa146102a75780631249c58b146102cf57806318160ddd146102e45780631e1b13c0146102f957806323b872dd1461030e5780632ab4d05214610338578063313ce5671461034d57806342966c681461036257806342cbb15c1461037a5780635b054f9b1461038f57806370a08231146103a4578063715018a6146103c55780637419f190146103da57806388d695b2146103ef5780638da5cb5b1461047d5780638f32d59b146104ae57806390762a8b146104c357806395d89b41146104db5780639fd4da40146104f0578063a9059cbb14610505578063b2552fc414610529578063c0d439c01461053e578063ca50ad9114610565578063cbd8877e14610586578063cd474b041461059b578063dd62ed3e146105b0578063e1c3bac6146105d7578063f2fde38b146105ec575b600080fd5b3480156101a657600080fd5b506101b260043561060d565b60408051918252519081900360200190f35b3480156101d057600080fd5b506101d9610646565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102135781810151838201526020016101fb565b50505050905090810190601f1680156102405780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025a57600080fd5b50610272600160a060020a03600435166024356106d4565b604080519115158252519081900360200190f35b34801561029257600080fd5b506101b2600160a060020a0360043516610776565b3480156102b357600080fd5b506102cd600160a060020a03600435166024351515610838565b005b3480156102db57600080fd5b50610272610876565b3480156102f057600080fd5b506101b2610a4d565b34801561030557600080fd5b506101b2610a54565b34801561031a57600080fd5b50610272600160a060020a0360043581169060243516604435610a88565b34801561034457600080fd5b506101b2610ccf565b34801561035957600080fd5b506101b2610cd5565b34801561036e57600080fd5b506102cd600435610cdb565b34801561038657600080fd5b506101b2610e35565b34801561039b57600080fd5b506101b2610e51565b3480156103b057600080fd5b506101b2600160a060020a0360043516610e57565b3480156103d157600080fd5b506102cd610e72565b3480156103e657600080fd5b506101b2610edc565b3480156103fb57600080fd5b506040805160206004803580820135838102808601850190965280855261027295369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a998901989297509082019550935083925085019084908082843750949750610ee29650505050505050565b34801561048957600080fd5b50610492611282565b60408051600160a060020a039092168252519081900360200190f35b3480156104ba57600080fd5b50610272611291565b3480156104cf57600080fd5b506102cd6004356112a2565b3480156104e757600080fd5b506101d9611418565b3480156104fc57600080fd5b506101b2611473565b34801561051157600080fd5b50610272600160a060020a0360043516602435611479565b34801561053557600080fd5b506101b261174a565b34801561054a57600080fd5b506101b2600160a060020a0360043516602435604435611771565b34801561057157600080fd5b50610272600160a060020a0360043516611b87565b34801561059257600080fd5b506101b2611b9c565b3480156105a757600080fd5b506101b2611ba2565b3480156105bc57600080fd5b506101b2600160a060020a0360043581169060243516611ba8565b3480156105e357600080fd5b506101b2611bd3565b3480156105f857600080fd5b506102cd600160a060020a0360043516611bd9565b600060045b60008110610640576000818152600f6020526040902054831061063757809150610640565b60001901610612565b50919050565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106cc5780601f106106a1576101008083540402835291602001916106cc565b820191906000526020600020905b8154815290600101906020018083116106af57829003601f168201915b505050505081565b60008115806107045750336000908152601260209081526040808320600160a060020a0387168452909152902054155b151561070f57600080fd5b336000818152601260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6000806000600954421015801561078f57506000600954115b151561079a57600080fd5b600160a060020a03841660009081526010602052604090205460ff16156107c057600080fd5b5060009150429050815b6107d38261060d565b6001018110156108315761082561016d6108196064610819600f60008781526020019081526020016000206002015461080d8a888a611771565b9063ffffffff611bf816565b9063ffffffff611c3116565b909201916001016107ca565b5050919050565b610840611291565b151561084b57600080fd5b600160a060020a03919091166000908152601060205260409020805460ff1916911515919091179055565b600080600d54600c5410151561088b57600080fd5b6108a5611388670de0b6b3a764000063ffffffff611bf816565b3360009081526011602052604090205410156108c45760009150610a49565b33600090815260136020526040812054116108e25760009150610a49565b6108eb33610776565b9050600081116108fe5760009150610a49565b600c54610911908263ffffffff611c5416565b600c5533600090815260116020526040902054610934908263ffffffff611c5416565b336000908152601160209081526040808320939093556013905290812061095a91611cfb565b3360008181526013602090815260408083208151808301835260118452828520546001608060020a03908116825267ffffffffffffffff428116838701908152845460018101865594885286882093519390940180549451909116608060020a02600080516020611d4a833981519152939092166fffffffffffffffffffffffffffffffff19909416939093179190911617905580518581529051600080516020611d6a833981519152929181900390910190a360408051828152905133917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a2600191505b5090565b600c545b90565b600042815b610a628261060d565b600101811015610a8357610a77338284611771565b90920191600101610a59565b505090565b6000808060606064361015610a9c57600080fd5b600160a060020a0386161515610ab157600080fd5b600160a060020a03871660008181526012602090815260408083203384528252808320549383526011909152902054909350610af3908663ffffffff611c6616565b600160a060020a038089166000908152601160205260408082209390935590881681522054610b28908663ffffffff611c5416565b600160a060020a038716600090815260116020526040902055610b51838663ffffffff611c6616565b600160a060020a0380891660008181526012602090815260408083203384528252918290209490945580518981529051928a16939192600080516020611d6a833981519152929181900390910190a3600160a060020a0387166000908152601360205260408120541115610be057600160a060020a0387166000908152601360205260408120610be091611cfb565b505050600160a060020a0393841660009081526013602081815260408084208151808301835260118452828620546001608060020a03908116825267ffffffffffffffff428116838701818152855460018181018855968b52888b2095519501805491518416608060020a908102600080516020611d4a8339815191529787166fffffffffffffffffffffffffffffffff19948516178816179091559c909d1689529686528488208551808701909652998216855284860196875289548085018b5599885294909620925192909701805494519093169097029316919096161790921691909117909255919050565b600d5481565b60065481565b33600090815260116020526040812054821115610cf757600080fd5b5033600081815260116020526040902054610d18908363ffffffff611c6616565b600160a060020a03821660009081526011602090815260408083209390935533825260139052908120610d4a91611cfb565b3360009081526013602090815260408083208151808301835260118452918420546001608060020a03908116835267ffffffffffffffff42811684860190815283546001810185559387529490952092519290910180549351909416608060020a02600080516020611d4a833981519152929091166fffffffffffffffffffffffffffffffff199093169290921716179055600c54610def908363ffffffff611c6616565b600c55604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b6000610e4c60085443611c6690919063ffffffff16565b905090565b60075481565b600160a060020a031660009081526011602052604090205490565b610e7a611291565b1515610e8557600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b60095481565b6000806000806000610ef2611291565b1515610efd57600080fd5b60008751118015610f0f575085518751145b1515610f1a57600080fd5b60009350600092505b8551831015610f6157610f548684815181101515610f3d57fe5b60209081029091010151859063ffffffff611c5416565b9350600190920191610f23565b33600090815260116020526040902054841115610f7d57600080fd5b5042905060005b865181101561117057610fe98682815181101515610f9e57fe5b90602001906020020151601160008a85815181101515610fba57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff611c5416565b601160008984815181101515610ffb57fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000208190555060136000888381518110151561103b57fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000206040805190810160405280888481518110151561107e57fe5b6020908102919091018101516001608060020a03908116835267ffffffffffffffff87811693830193909352845460018101865560009586529482902084519501805494909201516fffffffffffffffffffffffffffffffff19909416941693909317600080516020611d4a83398151915216608060020a9290911691909102179055865187908290811061110f57fe5b90602001906020020151600160a060020a031633600160a060020a0316600080516020611d6a833981519152888481518110151561114957fe5b906020019060200201516040518082815260200191505060405180910390a3600101610f84565b33600090815260116020526040902054611190908563ffffffff611c6616565b33600090815260116020908152604080832093909355601390529081205411156111cc573360009081526013602052604081206111cc91611cfb565b336000908152601160205260408120541115611275573360009081526013602090815260408083208151808301835260118452918420546001608060020a03908116835267ffffffffffffffff80881684860190815283546001810185559387529490952092519290910180549351909416608060020a02600080516020611d4a833981519152929091166fffffffffffffffffffffffffffffffff1990931692909217161790555b5060019695505050505050565b600354600160a060020a031690565b600354600160a060020a0316331490565b6112aa611291565b15156112b557600080fd5b600081116112c257600080fd5b336000908152601160205260409020546112e2908263ffffffff611c6616565b336000908152601160209081526040808320939093556013905290812061130891611cfb565b3360009081526013602090815260408083208151808301835260118452918420546001608060020a03908116835267ffffffffffffffff42811684860190815283546001810185559387529490952092519290910180549351909416608060020a02600080516020611d4a833981519152929091166fffffffffffffffffffffffffffffffff199093169290921716179055600c546113ad908263ffffffff611c6616565b600c55600e546113c3908263ffffffff611c6616565b600e55600d546113dc90600a830263ffffffff611c6616565b600d5560408051828152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106cc5780601f106106a1576101008083540402835291602001916106cc565b600e5481565b6000806040604436101561148c57600080fd5b33600160a060020a03861614156114ac576114a5610876565b9250611742565b336000908152601160205260409020546114cc908563ffffffff611c6616565b3360009081526011602052604080822092909255600160a060020a038716815220546114fe908563ffffffff611c5416565b600160a060020a038616600081815260116020908152604091829020939093558051878152905191923392600080516020611d6a8339815191529281900390910190a333600090815260136020526040812054111561156f5733600090815260136020526040812061156f91611cfb565b4291506013600033600160a060020a0316600160a060020a0316815260200190815260200160002060408051908101604052806011600033600160a060020a0316600160a060020a03168152602001908152602001600020546001608060020a031681526020018467ffffffffffffffff1681525090806001815401808255809150509060018203906000526020600020016000909192909190915060008201518160000160006101000a8154816001608060020a0302191690836001608060020a0316021790555060208201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050506013600086600160a060020a0316600160a060020a031681526020019081526020016000206040805190810160405280866001608060020a031681526020018467ffffffffffffffff1681525090806001815401808255809150509060018203906000526020600020016000909192909190915060008201518160000160006101000a8154816001608060020a0302191690836001608060020a0316021790555060208201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050600192505b505092915050565b600042600f826117598361060d565b81526020019081526020016000206002015491505090565b600160a060020a03831660009081526013602052604081205481908190811061179d5760009250611b7e565b60008510806117ac5750600485115b156117ba5760009250611b7e565b6000858152600f6020526040812054909350841180156117eb57506000858152600f60205260409020600101548411155b156119c4575060005b600160a060020a0386166000908152601360205260409020548110156119bf57600160a060020a038616600090815260136020526040902080548290811061183857fe5b600091825260208083209190910154878352600f909152604090912054608060020a90910467ffffffffffffffff1610806118c75750600160a060020a038616600090815260136020526040902080548290811061189257fe5b600091825260208083209190910154878352600f909152604090912060010154608060020a90910467ffffffffffffffff1610155b156118d1576119b7565b600160a060020a0386166000908152601360205260409020805461191e9190839081106118fa57fe5b6000918252602090912001548590608060020a900467ffffffffffffffff16611c66565b9150600a5482101561192f576119b7565b600b5482111561193f57600b5491505b600a5461195390839063ffffffff611c6616565b91506119b461196b836201518063ffffffff611c3116565b600160a060020a038816600090815260136020526040902080548490811061198f57fe5b60009182526020909120015485916001608060020a039091160263ffffffff611c5416565b92505b6001016117f4565b611b63565b5060005b600160a060020a038616600090815260136020526040902054811015611b6357600160a060020a0386166000908152601360205260409020805482908110611a0c57fe5b600091825260208083209190910154878352600f909152604090912054608060020a90910467ffffffffffffffff161080611a9b5750600160a060020a0386166000908152601360205260409020805482908110611a6657fe5b600091825260208083209190910154878352600f909152604090912060010154608060020a90910467ffffffffffffffff1610155b15611aa557611b5b565b600160a060020a03861660009081526013602052604090208054611b0b919083908110611ace57fe5b6000918252602080832090910154888352600f9091526040909120600101549067ffffffffffffffff608060020a9091041663ffffffff611c6616565b9150600a54821015611b1c57611b5b565b600b54821115611b2c57600b5491505b600a54611b4090839063ffffffff611c6616565b9150611b5861196b836201518063ffffffff611c3116565b92505b6001016119c8565b611b7b83670de0b6b3a764000063ffffffff611c3116565b92505b50509392505050565b60106020526000908152604090205460ff1681565b600a5481565b60085481565b600160a060020a03918216600090815260126020908152604080832093909416825291909152205490565b600b5481565b611be1611291565b1515611bec57600080fd5b611bf581611c7d565b50565b600080831515611c0b5760009150611c2a565b50828202828482811515611c1b57fe5b0414611c2657600080fd5b8091505b5092915050565b600080808311611c4057600080fd5b8284811515611c4b57fe5b04949350505050565b600082820183811015611c2657600080fd5b60008083831115611c7657600080fd5b5050900390565b600160a060020a0381161515611c9257600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b5080546000825590600052602060002090810190611bf59190610a5191905b80821115610a4957805477ffffffffffffffffffffffffffffffffffffffffffffffff19168155600101611d1a5600ffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffffddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820175caa9b4dcdd1e86d6089741e743863d918a67c8e40d8af4001ead8c8d35a570029

Swarm Source

bzzr://175caa9b4dcdd1e86d6089741e743863d918a67c8e40d8af4001ead8c8d35a57

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.