ETH Price: $3,432.70 (-1.54%)

Token

Hong Kong Dollar Token (HKDT)
 

Overview

Max Total Supply

1,000,000,000 HKDT

Holders

1,499

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
10 HKDT

Value
$0.00
0x37E87aA11288F975e45eA54ac8e3c0165aF9048B
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
HKDToken

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-07-08
*/

pragma solidity ^0.4.17;

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

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

    /**
      * @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 {
        if (newOwner != address(0)) {
            owner = newOwner;
        }
    }

}

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

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
    function allowance(address owner, address spender) public constant returns (uint);
    function transferFrom(address from, address to, uint value) public;
    function approve(address spender, uint value) public;
    event Approval(address indexed owner, address indexed spender, uint value);
}

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

    mapping(address => uint) public balances;

    // additional variables for use if transaction fees ever became necessary
    uint public basisPointsRate = 0;
    uint public maximumFee = 0;

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

    /**
    * @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, uint _value) public onlyPayloadSize(2 * 32) {
        uint fee = (_value.mul(basisPointsRate)).div(10000);
        if (fee > maximumFee) {
            fee = maximumFee;
        }
        uint sendAmount = _value.sub(fee);
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(sendAmount);
        if (fee > 0) {
            balances[owner] = balances[owner].add(fee);
            Transfer(msg.sender, owner, fee);
        }
        Transfer(msg.sender, _to, sendAmount);
    }

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

}

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

    mapping (address => mapping (address => uint)) public allowed;

    uint public constant MAX_UINT = 2**256 - 1;

    /**
    * @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 uint the amount of tokens to be transferred
    */
    function transferFrom(address _from, address _to, uint _value) public onlyPayloadSize(3 * 32) {
        var _allowance = allowed[_from][msg.sender];

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

        uint fee = (_value.mul(basisPointsRate)).div(10000);
        if (fee > maximumFee) {
            fee = maximumFee;
        }
        if (_allowance < MAX_UINT) {
            allowed[_from][msg.sender] = _allowance.sub(_value);
        }
        uint sendAmount = _value.sub(fee);
        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(sendAmount);
        if (fee > 0) {
            balances[owner] = balances[owner].add(fee);
            Transfer(_from, owner, fee);
        }
        Transfer(_from, _to, sendAmount);
    }

    /**
    * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
    * @param _spender The address which will spend the funds.
    * @param _value The amount of tokens to be spent.
    */
    function approve(address _spender, uint _value) public onlyPayloadSize(2 * 32) {

        // To change the approve amount you first have to reduce the addresses`
        //  allowance to zero by calling `approve(_spender, 0)` if it is not
        //  already 0 to mitigate the race condition described here:
        //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
        require(!((_value != 0) && (allowed[msg.sender][_spender] != 0)));

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

    /**
    * @dev Function to check the amount of tokens than 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 uint specifying the amount of tokens still available for the spender.
    */
    function allowance(address _owner, address _spender) public constant returns (uint remaining) {
        return allowed[_owner][_spender];
    }

}


/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    Unpause();
  }
}

contract BlackList is Ownable, BasicToken {

    /////// Getters to allow the same blacklist to be used also by other contracts (including upgraded Tether) ///////
    function getBlackListStatus(address _maker) external constant returns (bool) {
        return isBlackListed[_maker];
    }

    function getOwner() external constant returns (address) {
        return owner;
    }

    mapping (address => bool) public isBlackListed;
    
    function addBlackList (address _evilUser) public onlyOwner {
        isBlackListed[_evilUser] = true;
        AddedBlackList(_evilUser);
    }

    function removeBlackList (address _clearedUser) public onlyOwner {
        isBlackListed[_clearedUser] = false;
        RemovedBlackList(_clearedUser);
    }

    function destroyBlackFunds (address _blackListedUser) public onlyOwner {
        require(isBlackListed[_blackListedUser]);
        uint dirtyFunds = balanceOf(_blackListedUser);
        balances[_blackListedUser] = 0;
        _totalSupply -= dirtyFunds;
        DestroyedBlackFunds(_blackListedUser, dirtyFunds);
    }

    event DestroyedBlackFunds(address _blackListedUser, uint _balance);

    event AddedBlackList(address _user);

    event RemovedBlackList(address _user);

}

contract UpgradedStandardToken is StandardToken{
    // those methods are called by the legacy contract
    // and they must ensure msg.sender to be the contract address
    function transferByLegacy(address from, address to, uint value) public;
    function transferFromByLegacy(address sender, address from, address spender, uint value) public;
    function approveByLegacy(address from, address spender, uint value) public;
}

contract HKDToken is Pausable, StandardToken, BlackList {

    string public constant name = "Hong Kong Dollar Token";
    string public constant symbol = "HKDT";
    uint public constant decimals = 18;
    address public upgradedAddress;
    bool public deprecated = false;
    uint public constant _initialSupply = 10 * 10000 * 10000 * (10 ** uint256(decimals));
    uint public _totalSupply = _initialSupply;

    /**
    * @dev Constructor that gives owner all of existing tokens.
    */
    constructor() HKDToken() public {
        balances[msg.sender] = _initialSupply;
        emit Transfer(0x0, msg.sender, _initialSupply);
    }

    // Forward ERC20 methods to upgraded contract if this one is deprecated
    function transfer(address _to, uint _value) public whenNotPaused {
        require(!isBlackListed[msg.sender]);
        if (deprecated) {
            return UpgradedStandardToken(upgradedAddress).transferByLegacy(msg.sender, _to, _value);
        } else {
            return super.transfer(_to, _value);
        }
    }

    // Forward ERC20 methods to upgraded contract if this one is deprecated
    function transferFrom(address _from, address _to, uint _value) public whenNotPaused {
        require(!isBlackListed[_from]);
        if (deprecated) {
            return UpgradedStandardToken(upgradedAddress).transferFromByLegacy(msg.sender, _from, _to, _value);
        } else {
            return super.transferFrom(_from, _to, _value);
        }
    }

    // Forward ERC20 methods to upgraded contract if this one is deprecated
    function balanceOf(address who) public constant returns (uint) {
        if (deprecated) {
            return UpgradedStandardToken(upgradedAddress).balanceOf(who);
        } else {
            return super.balanceOf(who);
        }
    }

    // Forward ERC20 methods to upgraded contract if this one is deprecated
    function approve(address _spender, uint _value) public onlyPayloadSize(2 * 32) {
        if (deprecated) {
            return UpgradedStandardToken(upgradedAddress).approveByLegacy(msg.sender, _spender, _value);
        } else {
            return super.approve(_spender, _value);
        }
    }

    // Forward ERC20 methods to upgraded contract if this one is deprecated
    function allowance(address _owner, address _spender) public constant returns (uint remaining) {
        if (deprecated) {
            return StandardToken(upgradedAddress).allowance(_owner, _spender);
        } else {
            return super.allowance(_owner, _spender);
        }
    }

    // deprecate current contract in favour of a new one
    function deprecate(address _upgradedAddress) public onlyOwner {
        deprecated = true;
        upgradedAddress = _upgradedAddress;
        Deprecate(_upgradedAddress);
    }

    // deprecate current contract if favour of a new one
    function totalSupply() public constant returns (uint) {
        if (deprecated) {
            return StandardToken(upgradedAddress).totalSupply();
        } else {
            return _totalSupply;
        }
    }

    // Issue a new amount of tokens
    // these tokens are deposited into the owner address
    //
    // @param _amount Number of tokens to be issued
    function issue(uint amount) public onlyOwner {
        require(_totalSupply + amount > _totalSupply);
        require(balances[owner] + amount > balances[owner]);

        balances[owner] += amount;
        _totalSupply += amount;
        Issue(amount);
    }

    // Redeem tokens.
    // These tokens are withdrawn from the owner address
    // if the balance must be enough to cover the redeem
    // or the call will fail.
    // @param _amount Number of tokens to be issued
    function redeem(uint amount) public onlyOwner {
        require(_totalSupply >= amount);
        require(balances[owner] >= amount);

        _totalSupply -= amount;
        balances[owner] -= amount;
        Redeem(amount);
    }

    function setParams(uint newBasisPoints, uint newMaxFee) public onlyOwner {
        // Ensure transparency by hardcoding limit beyond which fees can never be added
        require(newBasisPoints < 20);
        require(newMaxFee < 50);

        basisPointsRate = newBasisPoints;
        maximumFee = newMaxFee.mul(10**decimals);

        Params(basisPointsRate, maximumFee);
    }

    // Called when new token are issued
    event Issue(uint amount);

    // Called when tokens are redeemed
    event Redeem(uint amount);

    // Called when contract is deprecated
    event Deprecate(address newAddress);

    // Called if contract ever adds fees
    event Params(uint feeBasisPoints, uint maxFee);
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_upgradedAddress","type":"address"}],"name":"deprecate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deprecated","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_evilUser","type":"address"}],"name":"addBlackList","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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"upgradedAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances","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":true,"inputs":[],"name":"maximumFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_maker","type":"address"}],"name":"getBlackListStatus","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newBasisPoints","type":"uint256"},{"name":"newMaxFee","type":"uint256"}],"name":"setParams","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_initialSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"issue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"redeem","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"basisPointsRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isBlackListed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_clearedUser","type":"address"}],"name":"removeBlackList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MAX_UINT","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":false,"inputs":[{"name":"_blackListedUser","type":"address"}],"name":"destroyBlackFunds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"Issue","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newAddress","type":"address"}],"name":"Deprecate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"feeBasisPoints","type":"uint256"},{"indexed":false,"name":"maxFee","type":"uint256"}],"name":"Params","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_blackListedUser","type":"address"},{"indexed":false,"name":"_balance","type":"uint256"}],"name":"DestroyedBlackFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_user","type":"address"}],"name":"AddedBlackList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_user","type":"address"}],"name":"RemovedBlackList","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"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"}]

60806040526000805460a060020a60ff0219908116825560038290556004919091556007805490911690556b033b2e3c9fd0803ce800000060085534801561004657600080fd5b5060008054600160a060020a0319163390811782558082526002602090815260408084206b033b2e3c9fd0803ce800000090819055815190815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a361165f806100bf6000396000f3006080604052600436106101a05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101a55780630753c30c1461022f578063095ea7b3146102525780630e136b19146102765780630ecb93c01461029f57806318160ddd146102c057806323b872dd146102e757806326976e3f1461031157806327e235e314610342578063313ce5671461036357806335390714146103785780633eaaf86b1461038d5780633f4ba83a146103a257806359bf1abe146103b75780635c658165146103d85780635c975abb146103ff57806370a08231146104145780638456cb5914610435578063893d20e81461044a5780638da5cb5b1461045f57806395d89b4114610474578063a9059cbb14610489578063c0324c77146104ad578063c3b2d337146104c8578063cc872b66146104dd578063db006a75146104f5578063dd62ed3e1461050d578063dd644f7214610534578063e47d606014610549578063e4997dc51461056a578063e5b5019a1461058b578063f2fde38b146105a0578063f3bdc228146105c1575b600080fd5b3480156101b157600080fd5b506101ba6105e2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f45781810151838201526020016101dc565b50505050905090810190601f1680156102215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023b57600080fd5b50610250600160a060020a0360043516610619565b005b34801561025e57600080fd5b50610250600160a060020a03600435166024356106b1565b34801561028257600080fd5b5061028b610773565b604080519115158252519081900360200190f35b3480156102ab57600080fd5b50610250600160a060020a0360043516610783565b3480156102cc57600080fd5b506102d56107f5565b60408051918252519081900360200190f35b3480156102f357600080fd5b50610250600160a060020a03600435811690602435166044356108b1565b34801561031d57600080fd5b50610326610987565b60408051600160a060020a039092168252519081900360200190f35b34801561034e57600080fd5b506102d5600160a060020a0360043516610996565b34801561036f57600080fd5b506102d56109a8565b34801561038457600080fd5b506102d56109ad565b34801561039957600080fd5b506102d56109b3565b3480156103ae57600080fd5b506102506109b9565b3480156103c357600080fd5b5061028b600160a060020a0360043516610a2f565b3480156103e457600080fd5b506102d5600160a060020a0360043581169060243516610a51565b34801561040b57600080fd5b5061028b610a6e565b34801561042057600080fd5b506102d5600160a060020a0360043516610a7e565b34801561044157600080fd5b50610250610b3e565b34801561045657600080fd5b50610326610bb9565b34801561046b57600080fd5b50610326610bc8565b34801561048057600080fd5b506101ba610bd7565b34801561049557600080fd5b50610250600160a060020a0360043516602435610c0e565b3480156104b957600080fd5b50610250600435602435610cf3565b3480156104d457600080fd5b506102d5610d89565b3480156104e957600080fd5b50610250600435610d99565b34801561050157600080fd5b50610250600435610e44565b34801561051957600080fd5b506102d5600160a060020a0360043581169060243516610eef565b34801561054057600080fd5b506102d5610fba565b34801561055557600080fd5b5061028b600160a060020a0360043516610fc0565b34801561057657600080fd5b50610250600160a060020a0360043516610fd5565b34801561059757600080fd5b506102d5611044565b3480156105ac57600080fd5b50610250600160a060020a036004351661104a565b3480156105cd57600080fd5b50610250600160a060020a036004351661109c565b60408051808201909152601681527f486f6e67204b6f6e6720446f6c6c617220546f6b656e00000000000000000000602082015281565b600054600160a060020a0316331461063057600080fd5b6007805460a060020a74ff0000000000000000000000000000000000000000199091161773ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03831690811790915560408051918252517fcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e916020908290030190a150565b604060443610156106c157600080fd5b60075460a060020a900460ff161561076457600754604080517faee92d33000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a038681166024830152604482018690529151919092169163aee92d3391606480830192600092919082900301818387803b15801561074757600080fd5b505af115801561075b573d6000803e3d6000fd5b5050505061076e565b61076e8383611148565b505050565b60075460a060020a900460ff1681565b600054600160a060020a0316331461079a57600080fd5b600160a060020a038116600081815260066020908152604091829020805460ff19166001179055815192835290517f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc9281900390910190a150565b60075460009060a060020a900460ff16156108a957600760009054906101000a9004600160a060020a0316600160a060020a03166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561087657600080fd5b505af115801561088a573d6000803e3d6000fd5b505050506040513d60208110156108a057600080fd5b505190506108ae565b506008545b90565b60005460a060020a900460ff16156108c857600080fd5b600160a060020a03831660009081526006602052604090205460ff16156108ee57600080fd5b60075460a060020a900460ff161561097c57600754604080517f8b477adb000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a03868116602483015285811660448301526064820185905291519190921691638b477adb91608480830192600092919082900301818387803b15801561074757600080fd5b61076e8383836111f6565b600754600160a060020a031681565b60026020526000908152604090205481565b601281565b60045481565b60085481565b600054600160a060020a031633146109d057600080fd5b60005460a060020a900460ff1615156109e857600080fd5b6000805474ff0000000000000000000000000000000000000000191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b600160a060020a03811660009081526006602052604090205460ff165b919050565b600560209081526000928352604080842090915290825290205481565b60005460a060020a900460ff1681565b60075460009060a060020a900460ff1615610b2e57600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152915191909216916370a082319160248083019260209291908290030181600087803b158015610afb57600080fd5b505af1158015610b0f573d6000803e3d6000fd5b505050506040513d6020811015610b2557600080fd5b50519050610a4c565b610b37826113f2565b9050610a4c565b600054600160a060020a03163314610b5557600080fd5b60005460a060020a900460ff1615610b6c57600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b600054600160a060020a031690565b600054600160a060020a031681565b60408051808201909152600481527f484b445400000000000000000000000000000000000000000000000000000000602082015281565b60005460a060020a900460ff1615610c2557600080fd5b3360009081526006602052604090205460ff1615610c4257600080fd5b60075460a060020a900460ff1615610ce557600754604080517f6e18980a000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a0385811660248301526044820185905291519190921691636e18980a91606480830192600092919082900301818387803b158015610cc857600080fd5b505af1158015610cdc573d6000803e3d6000fd5b50505050610cef565b610cef828261140d565b5050565b600054600160a060020a03163314610d0a57600080fd5b60148210610d1757600080fd5b60328110610d2457600080fd5b6003829055610d4181670de0b6b3a764000063ffffffff61157a16565b600481905560035460408051918252602082019290925281517fb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e929181900390910190a15050565b6b033b2e3c9fd0803ce800000081565b600054600160a060020a03163314610db057600080fd5b60085481810111610dc057600080fd5b60008054600160a060020a031681526002602052604090205481810111610de657600080fd5b60008054600160a060020a03168152600260209081526040918290208054840190556008805484019055815183815291517fcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a9281900390910190a150565b600054600160a060020a03163314610e5b57600080fd5b600854811115610e6a57600080fd5b60008054600160a060020a0316815260026020526040902054811115610e8f57600080fd5b60088054829003905560008054600160a060020a031681526002602090815260409182902080548490039055815183815291517f702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a449281900390910190a150565b60075460009060a060020a900460ff1615610fa757600754604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a03868116600483015285811660248301529151919092169163dd62ed3e9160448083019260209291908290030181600087803b158015610f7457600080fd5b505af1158015610f88573d6000803e3d6000fd5b505050506040513d6020811015610f9e57600080fd5b50519050610fb4565b610fb183836115b0565b90505b92915050565b60035481565b60066020526000908152604090205460ff1681565b600054600160a060020a03163314610fec57600080fd5b600160a060020a038116600081815260066020908152604091829020805460ff19169055815192835290517fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c9281900390910190a150565b60001981565b600054600160a060020a0316331461106157600080fd5b600160a060020a03811615611099576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60008054600160a060020a031633146110b457600080fd5b600160a060020a03821660009081526006602052604090205460ff1615156110db57600080fd5b6110e482610a7e565b600160a060020a0383166000818152600260209081526040808320929092556001805485900390558151928352820183905280519293507f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c692918290030190a15050565b6040604436101561115857600080fd5b81158015906111895750336000908152600560209081526040808320600160a060020a038716845290915290205415155b1561119357600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3505050565b600080806060606436101561120a57600080fd5b600160a060020a0387166000908152600560209081526040808320338452909152902054600354909450611259906127109061124d90889063ffffffff61157a16565b9063ffffffff6115db16565b925060045483111561126b5760045492505b6000198410156112aa57611285848663ffffffff6115f216565b600160a060020a03881660009081526005602090815260408083203384529091529020555b6112ba858463ffffffff6115f216565b600160a060020a0388166000908152600260205260409020549092506112e6908663ffffffff6115f216565b600160a060020a03808916600090815260026020526040808220939093559088168152205461131b908363ffffffff61160416565b600160a060020a0387166000908152600260205260408120919091558311156113b05760008054600160a060020a0316815260026020526040902054611367908463ffffffff61160416565b60008054600160a060020a0390811682526002602090815260408084209490945591548351878152935190821693918b1692600080516020611614833981519152928290030190a35b85600160a060020a031687600160a060020a0316600080516020611614833981519152846040518082815260200191505060405180910390a350505050505050565b600160a060020a031660009081526002602052604090205490565b6000806040604436101561142057600080fd5b61143b61271061124d6003548761157a90919063ffffffff16565b925060045483111561144d5760045492505b61145d848463ffffffff6115f216565b33600090815260026020526040902054909250611480908563ffffffff6115f216565b3360009081526002602052604080822092909255600160a060020a038716815220546114b2908363ffffffff61160416565b600160a060020a0386166000908152600260205260408120919091558311156115455760008054600160a060020a03168152600260205260409020546114fe908463ffffffff61160416565b60008054600160a060020a03908116825260026020908152604080842094909455915483518781529351911692339260008051602061161483398151915292918290030190a35b604080518381529051600160a060020a0387169133916000805160206116148339815191529181900360200190a35050505050565b60008083151561158d57600091506115a9565b5082820282848281151561159d57fe5b04146115a557fe5b8091505b5092915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60008082848115156115e957fe5b04949350505050565b6000828211156115fe57fe5b50900390565b6000828201838110156115a557fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820a7a2a9482cd8324b9bfa5ab4f03959be11af81b260bd050f1807c51572ba82530029

Deployed Bytecode

0x6080604052600436106101a05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101a55780630753c30c1461022f578063095ea7b3146102525780630e136b19146102765780630ecb93c01461029f57806318160ddd146102c057806323b872dd146102e757806326976e3f1461031157806327e235e314610342578063313ce5671461036357806335390714146103785780633eaaf86b1461038d5780633f4ba83a146103a257806359bf1abe146103b75780635c658165146103d85780635c975abb146103ff57806370a08231146104145780638456cb5914610435578063893d20e81461044a5780638da5cb5b1461045f57806395d89b4114610474578063a9059cbb14610489578063c0324c77146104ad578063c3b2d337146104c8578063cc872b66146104dd578063db006a75146104f5578063dd62ed3e1461050d578063dd644f7214610534578063e47d606014610549578063e4997dc51461056a578063e5b5019a1461058b578063f2fde38b146105a0578063f3bdc228146105c1575b600080fd5b3480156101b157600080fd5b506101ba6105e2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f45781810151838201526020016101dc565b50505050905090810190601f1680156102215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023b57600080fd5b50610250600160a060020a0360043516610619565b005b34801561025e57600080fd5b50610250600160a060020a03600435166024356106b1565b34801561028257600080fd5b5061028b610773565b604080519115158252519081900360200190f35b3480156102ab57600080fd5b50610250600160a060020a0360043516610783565b3480156102cc57600080fd5b506102d56107f5565b60408051918252519081900360200190f35b3480156102f357600080fd5b50610250600160a060020a03600435811690602435166044356108b1565b34801561031d57600080fd5b50610326610987565b60408051600160a060020a039092168252519081900360200190f35b34801561034e57600080fd5b506102d5600160a060020a0360043516610996565b34801561036f57600080fd5b506102d56109a8565b34801561038457600080fd5b506102d56109ad565b34801561039957600080fd5b506102d56109b3565b3480156103ae57600080fd5b506102506109b9565b3480156103c357600080fd5b5061028b600160a060020a0360043516610a2f565b3480156103e457600080fd5b506102d5600160a060020a0360043581169060243516610a51565b34801561040b57600080fd5b5061028b610a6e565b34801561042057600080fd5b506102d5600160a060020a0360043516610a7e565b34801561044157600080fd5b50610250610b3e565b34801561045657600080fd5b50610326610bb9565b34801561046b57600080fd5b50610326610bc8565b34801561048057600080fd5b506101ba610bd7565b34801561049557600080fd5b50610250600160a060020a0360043516602435610c0e565b3480156104b957600080fd5b50610250600435602435610cf3565b3480156104d457600080fd5b506102d5610d89565b3480156104e957600080fd5b50610250600435610d99565b34801561050157600080fd5b50610250600435610e44565b34801561051957600080fd5b506102d5600160a060020a0360043581169060243516610eef565b34801561054057600080fd5b506102d5610fba565b34801561055557600080fd5b5061028b600160a060020a0360043516610fc0565b34801561057657600080fd5b50610250600160a060020a0360043516610fd5565b34801561059757600080fd5b506102d5611044565b3480156105ac57600080fd5b50610250600160a060020a036004351661104a565b3480156105cd57600080fd5b50610250600160a060020a036004351661109c565b60408051808201909152601681527f486f6e67204b6f6e6720446f6c6c617220546f6b656e00000000000000000000602082015281565b600054600160a060020a0316331461063057600080fd5b6007805460a060020a74ff0000000000000000000000000000000000000000199091161773ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03831690811790915560408051918252517fcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e916020908290030190a150565b604060443610156106c157600080fd5b60075460a060020a900460ff161561076457600754604080517faee92d33000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a038681166024830152604482018690529151919092169163aee92d3391606480830192600092919082900301818387803b15801561074757600080fd5b505af115801561075b573d6000803e3d6000fd5b5050505061076e565b61076e8383611148565b505050565b60075460a060020a900460ff1681565b600054600160a060020a0316331461079a57600080fd5b600160a060020a038116600081815260066020908152604091829020805460ff19166001179055815192835290517f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc9281900390910190a150565b60075460009060a060020a900460ff16156108a957600760009054906101000a9004600160a060020a0316600160a060020a03166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561087657600080fd5b505af115801561088a573d6000803e3d6000fd5b505050506040513d60208110156108a057600080fd5b505190506108ae565b506008545b90565b60005460a060020a900460ff16156108c857600080fd5b600160a060020a03831660009081526006602052604090205460ff16156108ee57600080fd5b60075460a060020a900460ff161561097c57600754604080517f8b477adb000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a03868116602483015285811660448301526064820185905291519190921691638b477adb91608480830192600092919082900301818387803b15801561074757600080fd5b61076e8383836111f6565b600754600160a060020a031681565b60026020526000908152604090205481565b601281565b60045481565b60085481565b600054600160a060020a031633146109d057600080fd5b60005460a060020a900460ff1615156109e857600080fd5b6000805474ff0000000000000000000000000000000000000000191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b600160a060020a03811660009081526006602052604090205460ff165b919050565b600560209081526000928352604080842090915290825290205481565b60005460a060020a900460ff1681565b60075460009060a060020a900460ff1615610b2e57600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152915191909216916370a082319160248083019260209291908290030181600087803b158015610afb57600080fd5b505af1158015610b0f573d6000803e3d6000fd5b505050506040513d6020811015610b2557600080fd5b50519050610a4c565b610b37826113f2565b9050610a4c565b600054600160a060020a03163314610b5557600080fd5b60005460a060020a900460ff1615610b6c57600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b600054600160a060020a031690565b600054600160a060020a031681565b60408051808201909152600481527f484b445400000000000000000000000000000000000000000000000000000000602082015281565b60005460a060020a900460ff1615610c2557600080fd5b3360009081526006602052604090205460ff1615610c4257600080fd5b60075460a060020a900460ff1615610ce557600754604080517f6e18980a000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a0385811660248301526044820185905291519190921691636e18980a91606480830192600092919082900301818387803b158015610cc857600080fd5b505af1158015610cdc573d6000803e3d6000fd5b50505050610cef565b610cef828261140d565b5050565b600054600160a060020a03163314610d0a57600080fd5b60148210610d1757600080fd5b60328110610d2457600080fd5b6003829055610d4181670de0b6b3a764000063ffffffff61157a16565b600481905560035460408051918252602082019290925281517fb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e929181900390910190a15050565b6b033b2e3c9fd0803ce800000081565b600054600160a060020a03163314610db057600080fd5b60085481810111610dc057600080fd5b60008054600160a060020a031681526002602052604090205481810111610de657600080fd5b60008054600160a060020a03168152600260209081526040918290208054840190556008805484019055815183815291517fcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a9281900390910190a150565b600054600160a060020a03163314610e5b57600080fd5b600854811115610e6a57600080fd5b60008054600160a060020a0316815260026020526040902054811115610e8f57600080fd5b60088054829003905560008054600160a060020a031681526002602090815260409182902080548490039055815183815291517f702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a449281900390910190a150565b60075460009060a060020a900460ff1615610fa757600754604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a03868116600483015285811660248301529151919092169163dd62ed3e9160448083019260209291908290030181600087803b158015610f7457600080fd5b505af1158015610f88573d6000803e3d6000fd5b505050506040513d6020811015610f9e57600080fd5b50519050610fb4565b610fb183836115b0565b90505b92915050565b60035481565b60066020526000908152604090205460ff1681565b600054600160a060020a03163314610fec57600080fd5b600160a060020a038116600081815260066020908152604091829020805460ff19169055815192835290517fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c9281900390910190a150565b60001981565b600054600160a060020a0316331461106157600080fd5b600160a060020a03811615611099576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60008054600160a060020a031633146110b457600080fd5b600160a060020a03821660009081526006602052604090205460ff1615156110db57600080fd5b6110e482610a7e565b600160a060020a0383166000818152600260209081526040808320929092556001805485900390558151928352820183905280519293507f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c692918290030190a15050565b6040604436101561115857600080fd5b81158015906111895750336000908152600560209081526040808320600160a060020a038716845290915290205415155b1561119357600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3505050565b600080806060606436101561120a57600080fd5b600160a060020a0387166000908152600560209081526040808320338452909152902054600354909450611259906127109061124d90889063ffffffff61157a16565b9063ffffffff6115db16565b925060045483111561126b5760045492505b6000198410156112aa57611285848663ffffffff6115f216565b600160a060020a03881660009081526005602090815260408083203384529091529020555b6112ba858463ffffffff6115f216565b600160a060020a0388166000908152600260205260409020549092506112e6908663ffffffff6115f216565b600160a060020a03808916600090815260026020526040808220939093559088168152205461131b908363ffffffff61160416565b600160a060020a0387166000908152600260205260408120919091558311156113b05760008054600160a060020a0316815260026020526040902054611367908463ffffffff61160416565b60008054600160a060020a0390811682526002602090815260408084209490945591548351878152935190821693918b1692600080516020611614833981519152928290030190a35b85600160a060020a031687600160a060020a0316600080516020611614833981519152846040518082815260200191505060405180910390a350505050505050565b600160a060020a031660009081526002602052604090205490565b6000806040604436101561142057600080fd5b61143b61271061124d6003548761157a90919063ffffffff16565b925060045483111561144d5760045492505b61145d848463ffffffff6115f216565b33600090815260026020526040902054909250611480908563ffffffff6115f216565b3360009081526002602052604080822092909255600160a060020a038716815220546114b2908363ffffffff61160416565b600160a060020a0386166000908152600260205260408120919091558311156115455760008054600160a060020a03168152600260205260409020546114fe908463ffffffff61160416565b60008054600160a060020a03908116825260026020908152604080842094909455915483518781529351911692339260008051602061161483398151915292918290030190a35b604080518381529051600160a060020a0387169133916000805160206116148339815191529181900360200190a35050505050565b60008083151561158d57600091506115a9565b5082820282848281151561159d57fe5b04146115a557fe5b8091505b5092915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60008082848115156115e957fe5b04949350505050565b6000828211156115fe57fe5b50900390565b6000828201838110156115a557fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820a7a2a9482cd8324b9bfa5ab4f03959be11af81b260bd050f1807c51572ba82530029

Swarm Source

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