ETH Price: $3,397.28 (+1.73%)

Token

DRPMember (DRPM)
 

Overview

Max Total Supply

1,800 DRPM

Holders

1,390

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xf18e961af06d221c0fa86dd8bb23c2d5f52fffc2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The DRP member collection is a showcase of genesis artworks by artists we admire, reflecting our curatorial mission to serve as a bridge between technology and art. The DRP membership token gives you access to web3 utility on the DRP platform and associated social media, as w...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DRPMember

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : DRPMember.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import { TokenHolder } from "./DRPLibraries.sol";

//                                                            %@(
//                                                        (@&   @@  @@.    /@@.
//                                                          /@@.  ,           @#
//              @@#                                            @&       ,@@, (@@
//               @@%@@&                                        @&      &@
//                @@   *@@@                                   @@   &  @@
//                 @@      @&     (@@@@@@%#(/(#%&@@@@@&.    (@/   # .@%
//                  @@      @@@@@                       &@@@@   &. @@
//                   @@      @@                           @@   @  @@
//                    @@      @@        *@@%@@@         #@/  @@ .@%
//                    ,@@       @@@@@@@&@@   @@&&@@&@@@@*  .@/ &@@&
//                   *@.@@.        .@@ .@@.  @@&  @@     ,@@  @@  @@
//           .%      @@   @@%     ,@@@,          %@@@@@@/  /@@ @@ ,@*
//         &@& @@&  *@  /@@@&%@@@@@@@@@,        %@@@@@@@@@@@@@, @* @@  %@&
//       @@.      @@/@@@ @@  *@@   @@@  *@,  @@   @@%  %@@   (/@@@ @@@&  .@@.
//    &@&           %@@  &&,@@@@@#, %@@&,@   @@*@@@ .#@@@@@*.@@  @@%        @@&
//  @@.               .@@@%             *@@@@@@             ,@@@@             .@@
//    &@@            @@     /&@@@@@@@@@@@@@@@@@@@@@@@@@@@&*      @@             &@@
//       @@%        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(@@         @@&
//         *@@      /@@@@@&.       @@%                 *@@  *@@@@%.@@     &@&
//           .@@  @@@@ @@          @@    &@@@@          @(    @@@@@@    @@
//            @@@@@@@@@ @@         @.  @@(   ,@@       @@   @@.@@%@@@@@@@%
//          ,@#@@@@@@ @@.,@@     #@  @@/ #@@@@ ,@@    @( .@@. @@ /@@@@&  @@.
//          @@  @@@@@&  @@  @@@@@@@@@. (@& @.,@@  @@@@@@@* ,@@   @@@@@   .@@@
//        /@@&   &@@@@@@@.%@@%    ,&@@@& % @,%**@@@@@&//@@@, *@@@@@@      @%#@,
//        @&%@     .@@@@@(@@&   .  .@@  @% @,#@ .(@%      #@@ @@@@       @@  @@
//        @/ (@%       (@@@ /@&   @@ @@ @%.@.#@ @@ @@   *@& %@@@@*     .@@   &@
//        @@   @@@@((@@@@@@@, @@  @%                @* @@  @@@@@@@@@@@@@     @@
//         @@    .@@@@@@@@@@@@ &@ #@               @@ @@ (@@@@@@@@@@@%      @@
//          ,@@      (@@@@@@@@@ @@ @@ @ @%.@.%@ @ @@ #@ @@@@@@@@@&        @@
//             @@@         @@@@@&@@ @@  @%.@.%@ .@@  @@@@@@@/          &@@
//                @@@@@@@@@@@@@@@@@& @# @%.@.%@ /@. @@@@@@@@@@@@@@@@@@@
//                    %@@@@@@@@@@@@@ *@,       .@* *@@@@@@@@@@@@@@(
//                          ,&@@@@@@@              @@@@@@@@%,
//                                 .@@@@@@@@@@@@@@@@.
//
//     DRP + Pellar 2022
//     DRP Member Token

contract DRPMember is ERC1155Supply, Ownable {
	using TokenHolder for TokenHolder.Holders;

	struct TokenConfig {
		uint16 MAX_SUPPLY;
		uint16 MAX_PUBLIC_SALE;
		uint16 MAX_PER_WALLET;
		uint16 MAX_PER_TXN;
		uint256 PRICE;
	}

	struct Token {
		bool salesActive;
		bool whitelistSalesActive;
		bool teamClaimed;

		TokenConfig config;

		address[] drops;
		string uri;
	}

	uint16 public nDrops;
	string public constant name = "DRPMember";
  string public constant symbol = "DRPM";

	mapping(uint16 => bool) public enableTrading;
	mapping(uint16 => mapping(address => uint16)) public tokenWhitelist;
	mapping(uint16 => Token) public tokens;
	mapping(uint16 => TokenHolder.Holders) holders;

	constructor () ERC1155 ("") {}

	/** User */
	function claim(uint16 _tokenId, uint16 _amount) public payable {
		Token memory token = tokens[_tokenId];
		TokenConfig memory config = token.config;
		uint256 balance = IERC1155(0xb09e99F8bFc11f6C311E7d63EFc42F26c51017A6).balanceOf(msg.sender, _tokenId);
		require(token.salesActive, "Not active");
		require(eligibleToMint(_tokenId), "Need prerequisite token");
		require(config.MAX_PER_WALLET == 0 || balance + balanceOf(msg.sender, _tokenId) + _amount <= config.MAX_PER_WALLET, "Exceed wallet");
		require(config.MAX_PER_TXN == 0 || _amount <= config.MAX_PER_TXN, "Exceed txn");
		require(totalSupply(_tokenId) + _amount <= config.MAX_PUBLIC_SALE, "Exceed max");
		require(msg.value >= config.PRICE * _amount, "Incorrect ETH value");
		_mint(msg.sender, _tokenId, _amount, "");
	}

	function whitelistClaim(uint16 _tokenId, uint16 _amount) public payable {
		Token memory token = tokens[_tokenId];
		TokenConfig memory config = token.config;
		uint256 balance = IERC1155(0xb09e99F8bFc11f6C311E7d63EFc42F26c51017A6).balanceOf(msg.sender, _tokenId);
		require(token.whitelistSalesActive, "Not active");
		require(tokenWhitelist[_tokenId][msg.sender] >= _amount, "Exceed allocated");
		require(config.MAX_PER_WALLET == 0 || balance + balanceOf(msg.sender, _tokenId) + _amount <= config.MAX_PER_WALLET, "Exceed wallet");
		require(config.MAX_PER_TXN == 0 || _amount <= config.MAX_PER_TXN, "Exceed txn");
		require(totalSupply(_tokenId) + _amount <= config.MAX_PUBLIC_SALE, "Exceed max");
		require(msg.value >= config.PRICE * _amount, "Incorrect ETH value");

		tokenWhitelist[_tokenId][msg.sender] -= _amount;
		_mint(msg.sender, _tokenId, _amount, "");
	}

	/** View */
  function getHoldersLength(uint16 _tokenId) public view returns (uint256) {
    return holders[_tokenId].accounts.length;
  }

  function getHolders(uint16 _tokenId, uint256 _start, uint256 _end) public view returns (address[] memory, uint256[] memory) {
    uint256 maxSize = getHoldersLength(_tokenId);
    _end = _end > maxSize ? maxSize : _end;

    uint256 size = _end - _start;
    address[] memory accounts = new address[](size);
    uint256[] memory balances = new uint256[](size);
    for (uint256 i = 0; i < size; i++) {
      address holder = holders[_tokenId].accounts[_start + i];
      accounts[i] = holder;
      balances[i] = balanceOf(holder, _tokenId);
    }
    return (accounts, balances);
  }

	function getTokenPrerequisiteDropAddresses(uint16 _tokenId) public view returns (address[] memory) {
		Token memory token = tokens[_tokenId];
		return token.drops;
	}

	function eligibleToMint(uint16 _tokenId) public view returns (bool) {
		Token memory token = tokens[_tokenId];
		address[] memory drops = token.drops;
		if (drops.length == 0) {
			return true;
		}
		for (uint256 i = 0; i < drops.length; i++) {
			uint256 _amount = ERC721(drops[i]).balanceOf(msg.sender);
			if (_amount > 0) {
				return true;
			}
		}
		return false;
	}

	function uri(uint256 _tokenId) public view override returns (string memory)  {
		require(exists(_tokenId), "Non exists token");
		return tokens[uint16(_tokenId)].uri;
	}

	/** Admin */
	function setToken(
		uint16 _tokenId,
		uint16 _maxSupply,
		uint16 _maxPublicSale,
		uint16 _maxPerWallet,
		uint16 _maxPerClaim,
		uint256 _price
	) public onlyOwner {
		TokenConfig storage config = tokens[_tokenId].config;
		config.MAX_SUPPLY = _maxSupply;
		config.MAX_PUBLIC_SALE = _maxPublicSale;
		config.MAX_PER_WALLET = _maxPerWallet;
		config.MAX_PER_TXN = _maxPerClaim;
		config.PRICE = _price;
	}

	function toggleSalesActive(uint16[] calldata _tokenIds, bool _status) external onlyOwner{
		for (uint16 i = 0; i < _tokenIds.length; i++) {
			require(tokens[_tokenIds[i]].config.MAX_SUPPLY > 0, "Non exists config");
		}
		for (uint16 i = 0; i < _tokenIds.length; i++) {
			tokens[_tokenIds[i]].salesActive = _status;
		}
	}

	function toggleWhitelistSalesActive(uint16[] calldata _tokenIds, bool _status) external onlyOwner {
		for (uint16 i = 0; i < _tokenIds.length; i++) {
			require(tokens[_tokenIds[i]].config.MAX_SUPPLY > 0, "Non exists config");
		}
		for (uint16 i = 0; i < _tokenIds.length; i++) {
			tokens[_tokenIds[i]].whitelistSalesActive = _status;
		}
	}

	function toggleTrading(uint16[] calldata _tokenIds, bool _status) external onlyOwner {
		for (uint256 i = 0; i < _tokenIds.length; i++) {
			enableTrading[_tokenIds[i]] = _status;
		}
	}

	function setWalletWhitelist(uint16 _tokenId, address[] calldata _whitelist, uint16[] calldata _amount) external onlyOwner {
		for (uint16 i = 0; i < _whitelist.length; i++) {
			tokenWhitelist[_tokenId][_whitelist[i]] = _amount[i];
		}
	}

	function addDrops(uint16 _tokenId, address[] calldata drops) external onlyOwner {
		for (uint16 i = 0; i < drops.length; i++) {
			tokens[_tokenId].drops.push(drops[i]);
		}
	}

	function setDrops(
		uint16 tokenId, 
		address[] calldata drops
	) external onlyOwner {
		Token storage token = tokens[tokenId];
		token.drops = drops;
	}

	function teamClaim(uint16 _tokenId) external onlyOwner {
		Token storage token = tokens[_tokenId];
		require(!token.teamClaimed, "Already claimed");
		_mint(msg.sender, _tokenId, token.config.MAX_SUPPLY - token.config.MAX_PUBLIC_SALE, "");
		token.teamClaimed = true;
	}

	function setURI(uint16[] calldata _tokenIds, string[] calldata _uri) external onlyOwner {
		require(_tokenIds.length == _uri.length, "Input mismatch");
		for (uint16 i = 0; i < _tokenIds.length; i++) {
			require(tokens[_tokenIds[i]].config.MAX_SUPPLY > 0, "Non exists config");
		}
		for (uint16 i = 0; i < _tokenIds.length; i++) {
			tokens[_tokenIds[i]].uri = _uri[i];
		}
	}

	function withdraw() external onlyOwner {
		uint256 balance = address(this).balance;
		payable(msg.sender).transfer(balance);
	}

	function _beforeTokenTransfer(
		address operator,
		address from,
		address to,
		uint256[] memory ids,
		uint256[] memory amounts,
		bytes memory data
	) internal virtual override {
		super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
		for (uint16 i = 0; i < ids.length; ++i) {
			uint16 tokenId = uint16(ids[i]);
			require(from == address(0) || enableTrading[tokenId], "Token paused");
			if (amounts[i] == 0) continue;

      if (from != address(0) && balanceOf(from, tokenId) == amounts[i]) {
        holders[tokenId].removeHolder(from);
      }

      if (to != address(0)) {
        holders[tokenId].addHolder(to);
      }
		}
	}
}

interface ERC721 {
	function balanceOf(address owner) external view returns (uint256);
}

File 2 of 12 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates weither any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 12 : DRPLibraries.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

library TokenHolder {

  struct Holders {
    address[] accounts;
    mapping(address => uint256) indexes; // account value to index
  }

  // verified
  function addHolder(Holders storage _holders, address _account) internal {
    if (_holders.indexes[_account] != 0) return; // already exists
    _holders.accounts.push(_account);
    // The value is stored at length-1, but adding 1 to all indexes
    // and use 0 as a sentinel value
    _holders.indexes[_account] = _holders.accounts.length;
  }

  // verified
  function removeHolder(Holders storage _holders, address _account) internal {
    uint256 valueIndex = _holders.indexes[_account];

    if (valueIndex == 0) return; // removed not exists value

    uint256 toDeleteIndex = valueIndex - 1; // when add we not sub for 1 so now must sub 1 (for not out of bound)
    uint256 lastIndex = _holders.accounts.length - 1;

    if (lastIndex != toDeleteIndex) { // swap
      address lastvalue = _holders.accounts[lastIndex];

      // Move the last value to the index where the value to delete is
      _holders.accounts[toDeleteIndex] = lastvalue;
      // Update the index for the moved value
      _holders.indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
    }

    // Delete the slot where the moved value was stored
    _holders.accounts.pop();

    // Delete the index for the deleted slot
    _holders.indexes[_account] = 0; // set to 0
  }

  // verified
  function containsHolder(Holders storage _holders, address _account) internal view returns (bool) {
    return _holders.indexes[_account] != 0;
  }
}

File 5 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC1155).interfaceId ||
            interfaceId == type(IERC1155MetadataURI).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 6 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 7 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"address[]","name":"drops","type":"address[]"}],"name":"addDrops","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"eligibleToMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"enableTrading","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"getHolders","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"getHoldersLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"getTokenPrerequisiteDropAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nDrops","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"tokenId","type":"uint16"},{"internalType":"address[]","name":"drops","type":"address[]"}],"name":"setDrops","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"uint16","name":"_maxSupply","type":"uint16"},{"internalType":"uint16","name":"_maxPublicSale","type":"uint16"},{"internalType":"uint16","name":"_maxPerWallet","type":"uint16"},{"internalType":"uint16","name":"_maxPerClaim","type":"uint16"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"string[]","name":"_uri","type":"string[]"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"address[]","name":"_whitelist","type":"address[]"},{"internalType":"uint16[]","name":"_amount","type":"uint16[]"}],"name":"setWalletWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"teamClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"toggleSalesActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"toggleTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"toggleWhitelistSalesActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"address","name":"","type":"address"}],"name":"tokenWhitelist","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"tokens","outputs":[{"internalType":"bool","name":"salesActive","type":"bool"},{"internalType":"bool","name":"whitelistSalesActive","type":"bool"},{"internalType":"bool","name":"teamClaimed","type":"bool"},{"components":[{"internalType":"uint16","name":"MAX_SUPPLY","type":"uint16"},{"internalType":"uint16","name":"MAX_PUBLIC_SALE","type":"uint16"},{"internalType":"uint16","name":"MAX_PER_WALLET","type":"uint16"},{"internalType":"uint16","name":"MAX_PER_TXN","type":"uint16"},{"internalType":"uint256","name":"PRICE","type":"uint256"}],"internalType":"struct DRPMember.TokenConfig","name":"config","type":"tuple"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"whitelistClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200002c816200003e565b50620000383362000057565b6200018c565b805162000053906002906020840190620000a9565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000b7906200014f565b90600052602060002090601f016020900481019282620000db576000855562000126565b82601f10620000f657805160ff191683800117855562000126565b8280016001018555821562000126579182015b828111156200012657825182559160200191906001019062000109565b506200013492915062000138565b5090565b5b8082111562000134576000815560010162000139565b600181811c908216806200016457607f821691505b602082108114156200018657634e487b7160e01b600052602260045260246000fd5b50919050565b613dd2806200019c6000396000f3fe6080604052600436106102035760003560e01c80636af93eaf11610118578063bd85b039116100a0578063e985e9c51161006f578063e985e9c51461068b578063e9c978d9146106d4578063f242432a146106f6578063f2fde38b14610716578063f3c20de01461073657600080fd5b8063bd85b039146105ee578063cdf644e11461061b578063da1f9fff1461064b578063e5533f261461066b57600080fd5b80638da5cb5b116100e75780638da5cb5b1461054357806395d89b411461056b578063a22cb4651461059b578063ac43b386146105bb578063adbb7b43146105ce57600080fd5b80636af93eaf146104ca578063715018a6146104ea5780637485cea6146104ff5780637fc61fd71461053057600080fd5b80632eb2c2d61161019b5780634e1273f41161016a5780634e1273f4146103df5780634f558e791461040c5780635e1d505b1461043b5780636080b4c91461048a57806362be3461146104aa57600080fd5b80632eb2c2d61461036a5780633513f3ee1461038a5780633ccfd60b146103aa5780634592a4ea146103bf57600080fd5b80630ff1dcad116101d75780630ff1dcad146102cd57806314c9f5dd146102ef57806328eb95c91461031c5780632ce6be2a1461034a57600080fd5b8062fdd58e1461020857806301ffc9a71461023b57806306fdde031461026b5780630e89341c146102ad575b600080fd5b34801561021457600080fd5b506102286102233660046130c0565b610767565b6040519081526020015b60405180910390f35b34801561024757600080fd5b5061025b610256366004613100565b6107fe565b6040519015158152602001610232565b34801561027757600080fd5b506102a06040518060400160405280600981526020016822292826b2b6b132b960b91b81525081565b6040516102329190613171565b3480156102b957600080fd5b506102a06102c8366004613184565b610850565b3480156102d957600080fd5b506102ed6102e83660046131fa565b610947565b005b3480156102fb57600080fd5b5061030f61030a36600461324c565b610a0c565b60405161023291906132ab565b34801561032857600080fd5b5061033c6103373660046132be565b610ba6565b604051610232929190613321565b34801561035657600080fd5b506102ed6103653660046131fa565b610d4a565b34801561037657600080fd5b506102ed610385366004613498565b610d9c565b34801561039657600080fd5b506102ed6103a5366004613541565b610e2c565b3480156103b657600080fd5b506102ed610f16565b3480156103cb57600080fd5b506102ed6103da3660046135d1565b610f73565b3480156103eb57600080fd5b506103ff6103fa366004613624565b611009565b60405161023291906136ee565b34801561041857600080fd5b5061025b610427366004613184565b600090815260036020526040902054151590565b34801561044757600080fd5b50610477610456366004613701565b600660209081526000928352604080842090915290825290205461ffff1681565b60405161ffff9091168152602001610232565b34801561049657600080fd5b506102ed6104a5366004613734565b611132565b3480156104b657600080fd5b506102ed6104c53660046135d1565b6112c3565b3480156104d657600080fd5b506102ed6104e536600461379f565b6113ec565b3480156104f657600080fd5b506102ed61148c565b34801561050b57600080fd5b5061022861051a36600461324c565b61ffff1660009081526008602052604090205490565b6102ed61053e36600461380c565b6114c2565b34801561054f57600080fd5b506004546040516001600160a01b039091168152602001610232565b34801561057757600080fd5b506102a0604051806040016040528060048152602001634452504d60e01b81525081565b3480156105a757600080fd5b506102ed6105b6366004613836565b61193c565b6102ed6105c936600461380c565b611a13565b3480156105da57600080fd5b506102ed6105e93660046135d1565b611eec565b3480156105fa57600080fd5b50610228610609366004613184565b60009081526003602052604090205490565b34801561062757600080fd5b5061025b61063636600461324c565b60056020526000908152604090205460ff1681565b34801561065757600080fd5b506102ed61066636600461324c565b61201c565b34801561067757600080fd5b5061025b61068636600461324c565b6120f3565b34801561069757600080fd5b5061025b6106a6366004613860565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156106e057600080fd5b5060045461047790600160a01b900461ffff1681565b34801561070257600080fd5b506102ed61071136600461387c565b612372565b34801561072257600080fd5b506102ed6107313660046138e0565b6123f9565b34801561074257600080fd5b5061075661075136600461324c565b612494565b6040516102329594939291906138fb565b60006001600160a01b0383166107d85760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061082f57506001600160e01b031982166303a24d0760e21b145b8061084a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000818152600360205260409020546060906108a15760405162461bcd60e51b815260206004820152601060248201526f2737b71032bc34b9ba39903a37b5b2b760811b60448201526064016107cf565b61ffff8216600090815260076020526040902060040180546108c29061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546108ee9061396f565b801561093b5780601f106109105761010080835404028352916020019161093b565b820191906000526020600020905b81548152906001019060200180831161091e57829003601f168201915b50505050509050919050565b6004546001600160a01b031633146109715760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff8116821115610a065761ffff8085166000908152600760205260409020600301908490849084168181106109ad576109ad6139df565b90506020020160208101906109c291906138e0565b81546001810183556000928352602090922090910180546001600160a01b0319166001600160a01b03909216919091179055806109fe81613a0b565b915050610974565b50505050565b61ffff8082166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b90910490961660608781019190915260028301546080808901919091528282019790975260038301805485518188028101880190965280865291979295939492860193909190830182828015610aff57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ae1575b50505050508152602001600482018054610b189061396f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b449061396f565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b50505091909252505050608001519392505050565b6060806000610bc58661ffff1660009081526008602052604090205490565b9050808411610bd45783610bd6565b805b93506000610be48686613a2d565b90506000816001600160401b03811115610c0057610c0061334f565b604051908082528060200260200182016040528015610c29578160200160208202803683370190505b5090506000826001600160401b03811115610c4657610c4661334f565b604051908082528060200260200182016040528015610c6f578160200160208202803683370190505b50905060005b83811015610d3b5761ffff8a166000908152600860205260408120610c9a838c613a44565b81548110610caa57610caa6139df565b9060005260206000200160009054906101000a90046001600160a01b0316905080848381518110610cdd57610cdd6139df565b60200260200101906001600160a01b031690816001600160a01b031681525050610d0b818c61ffff16610767565b838381518110610d1d57610d1d6139df565b60209081029190910101525080610d3381613a5c565b915050610c75565b50909890975095505050505050565b6004546001600160a01b03163314610d745760405162461bcd60e51b81526004016107cf906139aa565b61ffff83166000908152600760205260409020610d95600382018484612fb8565b5050505050565b6001600160a01b038516331480610db85750610db885336106a6565b610e1f5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016107cf565b610d95858585858561259e565b6004546001600160a01b03163314610e565760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff8116841115610f0e5782828261ffff16818110610e7b57610e7b6139df565b9050602002016020810190610e90919061324c565b61ffff808816600090815260066020526040812091889088908616818110610eba57610eba6139df565b9050602002016020810190610ecf91906138e0565b6001600160a01b031681526020810191909152604001600020805461ffff191661ffff9290921691909117905580610f0681613a0b565b915050610e59565b505050505050565b6004546001600160a01b03163314610f405760405162461bcd60e51b81526004016107cf906139aa565b6040514790339082156108fc029083906000818181858888f19350505050158015610f6f573d6000803e3d6000fd5b5050565b6004546001600160a01b03163314610f9d5760405162461bcd60e51b81526004016107cf906139aa565b60005b82811015610a06578160056000868685818110610fbf57610fbf6139df565b9050602002016020810190610fd4919061324c565b61ffff1681526020810191909152604001600020805460ff19169115159190911790558061100181613a5c565b915050610fa0565b6060815183511461106e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016107cf565b600083516001600160401b038111156110895761108961334f565b6040519080825280602002602001820160405280156110b2578160200160208202803683370190505b50905060005b845181101561112a576110fd8582815181106110d6576110d66139df565b60200260200101518583815181106110f0576110f06139df565b6020026020010151610767565b82828151811061110f5761110f6139df565b602090810291909101015261112381613a5c565b90506110b8565b509392505050565b6004546001600160a01b0316331461115c5760405162461bcd60e51b81526004016107cf906139aa565b82811461119c5760405162461bcd60e51b815260206004820152600e60248201526d092dce0eae840dad2e6dac2e8c6d60931b60448201526064016107cf565b60005b61ffff81168411156112265760006007600087878561ffff168181106111c7576111c76139df565b90506020020160208101906111dc919061324c565b61ffff908116825260208201929092526040016000206001015416116112145760405162461bcd60e51b81526004016107cf90613a77565b8061121e81613a0b565b91505061119f565b5060005b61ffff8116841115610d955782828261ffff1681811061124c5761124c6139df565b905060200281019061125e9190613aa2565b6007600088888661ffff16818110611278576112786139df565b905060200201602081019061128d919061324c565b61ffff16815260208101919091526040016000206112b09260049091019161301b565b50806112bb81613a0b565b91505061122a565b6004546001600160a01b031633146112ed5760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff81168311156113775760006007600086868561ffff16818110611318576113186139df565b905060200201602081019061132d919061324c565b61ffff908116825260208201929092526040016000206001015416116113655760405162461bcd60e51b81526004016107cf90613a77565b8061136f81613a0b565b9150506112f0565b5060005b61ffff8116831115610a0657816007600086868561ffff168181106113a2576113a26139df565b90506020020160208101906113b7919061324c565b61ffff1681526020810191909152604001600020805460ff1916911515919091179055806113e481613a0b565b91505061137b565b6004546001600160a01b031633146114165760405162461bcd60e51b81526004016107cf906139aa565b61ffff9586166000908152600760205260409020600181018054938816600160301b0267ffff00000000000019958916640100000000029590951667ffffffff0000000019968916620100000263ffffffff19909516979098169690961792909217939093169490941717909155600290910155565b6004546001600160a01b031633146114b65760405162461bcd60e51b81526004016107cf906139aa565b6114c06000612781565b565b61ffff8083166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b909104909616606087810191909152600283015460808089019190915290820196909652600382018054845181870281018701909552808552959691959294918601939290918301828280156115b557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611597575b505050505081526020016004820180546115ce9061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546115fa9061396f565b80156116475780601f1061161c57610100808354040283529160200191611647565b820191906000526020600020905b81548152906001019060200180831161162a57829003601f168201915b505050919092525050506060810151604051627eeac760e11b815233600482015261ffff861660248201529192509060009073b09e99f8bfc11f6c311e7d63efc42f26c51017a69062fdd58e9060440160206040518083038186803b1580156116af57600080fd5b505afa1580156116c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e79190613ae8565b83519091506117255760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016107cf565b61172e856120f3565b61177a5760405162461bcd60e51b815260206004820152601760248201527f4e6565642070726572657175697369746520746f6b656e00000000000000000060448201526064016107cf565b604082015161ffff1615806117bd5750816040015161ffff168461ffff166117a6338861ffff16610767565b6117b09084613a44565b6117ba9190613a44565b11155b6117f95760405162461bcd60e51b815260206004820152600d60248201526c115e18d95959081dd85b1b195d609a1b60448201526064016107cf565b606082015161ffff16158061181a5750816060015161ffff168461ffff1611155b6118535760405162461bcd60e51b815260206004820152600a60248201526922bc31b2b2b2103a3c3760b11b60448201526064016107cf565b816020015161ffff168461ffff1661187b8761ffff1660009081526003602052604090205490565b6118859190613a44565b11156118c05760405162461bcd60e51b815260206004820152600a60248201526908af0c6cacac840dac2f60b31b60448201526064016107cf565b8361ffff1682608001516118d49190613b01565b3410156119195760405162461bcd60e51b8152602060048201526013602482015272496e636f7272656374204554482076616c756560681b60448201526064016107cf565b610d95338661ffff168661ffff16604051806020016040528060008152506127d3565b336001600160a01b03831614156119a75760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016107cf565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61ffff8083166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b90910490961660608781019190915260028301546080808901919091529082019690965260038201805484518187028101870190955280855295969195929491860193929091830182828015611b0657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611ae8575b50505050508152602001600482018054611b1f9061396f565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4b9061396f565b8015611b985780601f10611b6d57610100808354040283529160200191611b98565b820191906000526020600020905b815481529060010190602001808311611b7b57829003601f168201915b505050919092525050506060810151604051627eeac760e11b815233600482015261ffff861660248201529192509060009073b09e99f8bfc11f6c311e7d63efc42f26c51017a69062fdd58e9060440160206040518083038186803b158015611c0057600080fd5b505afa158015611c14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c389190613ae8565b90508260200151611c785760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016107cf565b61ffff858116600090815260066020908152604080832033845290915290205481861691161015611cde5760405162461bcd60e51b815260206004820152601060248201526f115e18d9595908185b1b1bd8d85d195960821b60448201526064016107cf565b604082015161ffff161580611d215750816040015161ffff168461ffff16611d0a338861ffff16610767565b611d149084613a44565b611d1e9190613a44565b11155b611d5d5760405162461bcd60e51b815260206004820152600d60248201526c115e18d95959081dd85b1b195d609a1b60448201526064016107cf565b606082015161ffff161580611d7e5750816060015161ffff168461ffff1611155b611db75760405162461bcd60e51b815260206004820152600a60248201526922bc31b2b2b2103a3c3760b11b60448201526064016107cf565b816020015161ffff168461ffff16611ddf8761ffff1660009081526003602052604090205490565b611de99190613a44565b1115611e245760405162461bcd60e51b815260206004820152600a60248201526908af0c6cacac840dac2f60b31b60448201526064016107cf565b8361ffff168260800151611e389190613b01565b341015611e7d5760405162461bcd60e51b8152602060048201526013602482015272496e636f7272656374204554482076616c756560681b60448201526064016107cf565b61ffff8086166000908152600660209081526040808320338452909152812080548793919291611eaf91859116613b20565b92506101000a81548161ffff021916908361ffff160217905550610d95338661ffff168661ffff16604051806020016040528060008152506127d3565b6004546001600160a01b03163314611f165760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff8116831115611fa05760006007600086868561ffff16818110611f4157611f416139df565b9050602002016020810190611f56919061324c565b61ffff90811682526020820192909252604001600020600101541611611f8e5760405162461bcd60e51b81526004016107cf90613a77565b80611f9881613a0b565b915050611f19565b5060005b61ffff8116831115610a0657816007600086868561ffff16818110611fcb57611fcb6139df565b9050602002016020810190611fe0919061324c565b61ffff168152602081019190915260400160002080549115156101000261ff00199092169190911790558061201481613a0b565b915050611fa4565b6004546001600160a01b031633146120465760405162461bcd60e51b81526004016107cf906139aa565b61ffff81166000908152600760205260409020805462010000900460ff16156120a35760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016107cf565b60018101546120e190339061ffff808616916120c89162010000820481169116613b20565b61ffff16604051806020016040528060008152506127d3565b805462ff000019166201000017905550565b61ffff8082166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b9091049096166060878101919091526002830154608080890191909152908201969096526003820180548451818702810187019095528085529596879692959394908601939092908301828280156121e857602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116121ca575b505050505081526020016004820180546122019061396f565b80601f016020809104026020016040519081016040528092919081815260200182805461222d9061396f565b801561227a5780601f1061224f5761010080835404028352916020019161227a565b820191906000526020600020905b81548152906001019060200180831161225d57829003601f168201915b50505091909252505050608081015180519192509061229d575060019392505050565b60005b81518110156123675760008282815181106122bd576122bd6139df565b60209081029190910101516040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561230857600080fd5b505afa15801561231c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123409190613ae8565b905080156123545750600195945050505050565b508061235f81613a5c565b9150506122a0565b506000949350505050565b6001600160a01b03851633148061238e575061238e85336106a6565b6123ec5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016107cf565b610d958585858585612808565b6004546001600160a01b031633146124235760405162461bcd60e51b81526004016107cf906139aa565b6001600160a01b0381166124885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cf565b61249181612781565b50565b6007602090815260009182526040918290208054835160a081018552600183015461ffff8082168352620100008083048216968401969096526401000000008204811696830196909652600160301b900490941660608501526002820154608085015260048201805460ff8084169661010085048216969094041693919061251b9061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546125479061396f565b80156125945780601f1061256957610100808354040283529160200191612594565b820191906000526020600020905b81548152906001019060200180831161257757829003601f168201915b5050505050905085565b81518351146126005760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016107cf565b6001600160a01b0384166126265760405162461bcd60e51b81526004016107cf90613b43565b33612635818787878787612934565b60005b845181101561271b576000858281518110612655576126556139df565b602002602001015190506000858381518110612673576126736139df565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156126c35760405162461bcd60e51b81526004016107cf90613b88565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612700908490613a44565b925050819055505050508061271490613a5c565b9050612638565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161276b929190613bd2565b60405180910390a4610f0e818787878787612aa2565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127df84848484612c0d565b600083815260036020526040812080548492906127fd908490613a44565b909155505050505050565b6001600160a01b03841661282e5760405162461bcd60e51b81526004016107cf90613b43565b3361284d81878761283e88612d0e565b61284788612d0e565b87612934565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561288e5760405162461bcd60e51b81526004016107cf90613b88565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906128cb908490613a44565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461292b828888888888612d59565b50505050505050565b60005b83518161ffff16101561292b576000848261ffff168151811061295c5761295c6139df565b6020026020010151905060006001600160a01b0316876001600160a01b0316148061299a575061ffff811660009081526005602052604090205460ff165b6129d55760405162461bcd60e51b815260206004820152600c60248201526b151bdad95b881c185d5cd95960a21b60448201526064016107cf565b838261ffff16815181106129eb576129eb6139df565b602002602001015160001415612a015750612a92565b6001600160a01b03871615801590612a425750838261ffff1681518110612a2a57612a2a6139df565b6020026020010151612a40888361ffff16610767565b145b15612a645761ffff81166000908152600860205260409020612a649088612e23565b6001600160a01b03861615612a905761ffff81166000908152600860205260409020612a909087612f50565b505b612a9b81613a0b565b9050612937565b6001600160a01b0384163b15610f0e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612ae69089908990889088908890600401613be5565b602060405180830381600087803b158015612b0057600080fd5b505af1925050508015612b30575060408051601f3d908101601f19168201909252612b2d91810190613c37565b60015b612bdd57612b3c613c54565b806308c379a01415612b765750612b51613c70565b80612b5c5750612b78565b8060405162461bcd60e51b81526004016107cf9190613171565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016107cf565b6001600160e01b0319811663bc197c8160e01b1461292b5760405162461bcd60e51b81526004016107cf90613cf9565b6001600160a01b038416612c6d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016107cf565b33612c7e8160008761283e88612d0e565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612cae908490613a44565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d9581600087878787612d59565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612d4857612d486139df565b602090810291909101015292915050565b6001600160a01b0384163b15610f0e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612d9d9089908990889088908890600401613d41565b602060405180830381600087803b158015612db757600080fd5b505af1925050508015612de7575060408051601f3d908101601f19168201909252612de491810190613c37565b60015b612df357612b3c613c54565b6001600160e01b0319811663f23a6e6160e01b1461292b5760405162461bcd60e51b81526004016107cf90613cf9565b6001600160a01b038116600090815260018301602052604090205480612e4857505050565b6000612e55600183613a2d565b8454909150600090612e6990600190613a2d565b9050818114612ef5576000856000018281548110612e8957612e896139df565b60009182526020909120015486546001600160a01b0390911691508190879085908110612eb857612eb86139df565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018701909152604090208390555b8454859080612f0657612f06613d86565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b039590951681526001959095019093525050604082209190915550565b6001600160a01b038116600090815260018301602052604090205415612f74575050565b8154600181810184556000848152602080822090930180546001600160a01b039095166001600160a01b031990951685179055845493815293019052604090912055565b82805482825590600052602060002090810192821561300b579160200282015b8281111561300b5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612fd8565b5061301792915061308f565b5090565b8280546130279061396f565b90600052602060002090601f016020900481019282613049576000855561300b565b82601f106130625782800160ff1982351617855561300b565b8280016001018555821561300b579182015b8281111561300b578235825591602001919060010190613074565b5b808211156130175760008155600101613090565b80356001600160a01b03811681146130bb57600080fd5b919050565b600080604083850312156130d357600080fd5b6130dc836130a4565b946020939093013593505050565b6001600160e01b03198116811461249157600080fd5b60006020828403121561311257600080fd5b813561311d816130ea565b9392505050565b6000815180845260005b8181101561314a5760208185018101518683018201520161312e565b8181111561315c576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061311d6020830184613124565b60006020828403121561319657600080fd5b5035919050565b803561ffff811681146130bb57600080fd5b60008083601f8401126131c157600080fd5b5081356001600160401b038111156131d857600080fd5b6020830191508360208260051b85010111156131f357600080fd5b9250929050565b60008060006040848603121561320f57600080fd5b6132188461319d565b925060208401356001600160401b0381111561323357600080fd5b61323f868287016131af565b9497909650939450505050565b60006020828403121561325e57600080fd5b61311d8261319d565b600081518084526020808501945080840160005b838110156132a05781516001600160a01b03168752958201959082019060010161327b565b509495945050505050565b60208152600061311d6020830184613267565b6000806000606084860312156132d357600080fd5b6132dc8461319d565b95602085013595506040909401359392505050565b600081518084526020808501945080840160005b838110156132a057815187529582019590820190600101613305565b6040815260006133346040830185613267565b828103602084015261334681856132f1565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b038111828210171561338a5761338a61334f565b6040525050565b60006001600160401b038211156133aa576133aa61334f565b5060051b60200190565b600082601f8301126133c557600080fd5b813560206133d282613391565b6040516133df8282613365565b83815260059390931b85018201928281019150868411156133ff57600080fd5b8286015b8481101561341a5780358352918301918301613403565b509695505050505050565b600082601f83011261343657600080fd5b81356001600160401b0381111561344f5761344f61334f565b604051613466601f8301601f191660200182613365565b81815284602083860101111561347b57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156134b057600080fd5b6134b9866130a4565b94506134c7602087016130a4565b935060408601356001600160401b03808211156134e357600080fd5b6134ef89838a016133b4565b9450606088013591508082111561350557600080fd5b61351189838a016133b4565b9350608088013591508082111561352757600080fd5b5061353488828901613425565b9150509295509295909350565b60008060008060006060868803121561355957600080fd5b6135628661319d565b945060208601356001600160401b038082111561357e57600080fd5b61358a89838a016131af565b909650945060408801359150808211156135a357600080fd5b506135b0888289016131af565b969995985093965092949392505050565b803580151581146130bb57600080fd5b6000806000604084860312156135e657600080fd5b83356001600160401b038111156135fc57600080fd5b613608868287016131af565b909450925061361b9050602085016135c1565b90509250925092565b6000806040838503121561363757600080fd5b82356001600160401b038082111561364e57600080fd5b818501915085601f83011261366257600080fd5b8135602061366f82613391565b60405161367c8282613365565b83815260059390931b850182019282810191508984111561369c57600080fd5b948201945b838610156136c1576136b2866130a4565b825294820194908201906136a1565b965050860135925050808211156136d757600080fd5b506136e4858286016133b4565b9150509250929050565b60208152600061311d60208301846132f1565b6000806040838503121561371457600080fd5b61371d8361319d565b915061372b602084016130a4565b90509250929050565b6000806000806040858703121561374a57600080fd5b84356001600160401b038082111561376157600080fd5b61376d888389016131af565b9096509450602087013591508082111561378657600080fd5b50613793878288016131af565b95989497509550505050565b60008060008060008060c087890312156137b857600080fd5b6137c18761319d565b95506137cf6020880161319d565b94506137dd6040880161319d565b93506137eb6060880161319d565b92506137f96080880161319d565b915060a087013590509295509295509295565b6000806040838503121561381f57600080fd5b6138288361319d565b915061372b6020840161319d565b6000806040838503121561384957600080fd5b613852836130a4565b915061372b602084016135c1565b6000806040838503121561387357600080fd5b61371d836130a4565b600080600080600060a0868803121561389457600080fd5b61389d866130a4565b94506138ab602087016130a4565b9350604086013592506060860135915060808601356001600160401b038111156138d457600080fd5b61353488828901613425565b6000602082840312156138f257600080fd5b61311d826130a4565b600061012087151583528615156020840152851515604084015261ffff8086511660608501528060208701511660808501528060408701511660a08501528060608701511660c085015250608085015160e08401528061010084015261396381840185613124565b98975050505050505050565b600181811c9082168061398357607f821691505b602082108114156139a457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff80831681811415613a2357613a236139f5565b6001019392505050565b600082821015613a3f57613a3f6139f5565b500390565b60008219821115613a5757613a576139f5565b500190565b6000600019821415613a7057613a706139f5565b5060010190565b6020808252601190820152704e6f6e2065786973747320636f6e66696760781b604082015260600190565b6000808335601e19843603018112613ab957600080fd5b8301803591506001600160401b03821115613ad357600080fd5b6020019150368190038213156131f357600080fd5b600060208284031215613afa57600080fd5b5051919050565b6000816000190483118215151615613b1b57613b1b6139f5565b500290565b600061ffff83811690831681811015613b3b57613b3b6139f5565b039392505050565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60408152600061333460408301856132f1565b6001600160a01b0386811682528516602082015260a060408201819052600090613c11908301866132f1565b8281036060840152613c2381866132f1565b905082810360808401526139638185613124565b600060208284031215613c4957600080fd5b815161311d816130ea565b600060033d1115613c6d5760046000803e5060005160e01c5b90565b600060443d1015613c7e5790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715613cad57505050505090565b8285019150815181811115613cc55750505050505090565b843d8701016020828501011115613cdf5750505050505090565b613cee60208286010187613365565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090613d7b90830184613124565b979650505050505050565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220431ba529568a0cd4d5bf0119fce8d604fcfe979cb1c803c74963964564e2e9b264736f6c63430008090033

Deployed Bytecode

0x6080604052600436106102035760003560e01c80636af93eaf11610118578063bd85b039116100a0578063e985e9c51161006f578063e985e9c51461068b578063e9c978d9146106d4578063f242432a146106f6578063f2fde38b14610716578063f3c20de01461073657600080fd5b8063bd85b039146105ee578063cdf644e11461061b578063da1f9fff1461064b578063e5533f261461066b57600080fd5b80638da5cb5b116100e75780638da5cb5b1461054357806395d89b411461056b578063a22cb4651461059b578063ac43b386146105bb578063adbb7b43146105ce57600080fd5b80636af93eaf146104ca578063715018a6146104ea5780637485cea6146104ff5780637fc61fd71461053057600080fd5b80632eb2c2d61161019b5780634e1273f41161016a5780634e1273f4146103df5780634f558e791461040c5780635e1d505b1461043b5780636080b4c91461048a57806362be3461146104aa57600080fd5b80632eb2c2d61461036a5780633513f3ee1461038a5780633ccfd60b146103aa5780634592a4ea146103bf57600080fd5b80630ff1dcad116101d75780630ff1dcad146102cd57806314c9f5dd146102ef57806328eb95c91461031c5780632ce6be2a1461034a57600080fd5b8062fdd58e1461020857806301ffc9a71461023b57806306fdde031461026b5780630e89341c146102ad575b600080fd5b34801561021457600080fd5b506102286102233660046130c0565b610767565b6040519081526020015b60405180910390f35b34801561024757600080fd5b5061025b610256366004613100565b6107fe565b6040519015158152602001610232565b34801561027757600080fd5b506102a06040518060400160405280600981526020016822292826b2b6b132b960b91b81525081565b6040516102329190613171565b3480156102b957600080fd5b506102a06102c8366004613184565b610850565b3480156102d957600080fd5b506102ed6102e83660046131fa565b610947565b005b3480156102fb57600080fd5b5061030f61030a36600461324c565b610a0c565b60405161023291906132ab565b34801561032857600080fd5b5061033c6103373660046132be565b610ba6565b604051610232929190613321565b34801561035657600080fd5b506102ed6103653660046131fa565b610d4a565b34801561037657600080fd5b506102ed610385366004613498565b610d9c565b34801561039657600080fd5b506102ed6103a5366004613541565b610e2c565b3480156103b657600080fd5b506102ed610f16565b3480156103cb57600080fd5b506102ed6103da3660046135d1565b610f73565b3480156103eb57600080fd5b506103ff6103fa366004613624565b611009565b60405161023291906136ee565b34801561041857600080fd5b5061025b610427366004613184565b600090815260036020526040902054151590565b34801561044757600080fd5b50610477610456366004613701565b600660209081526000928352604080842090915290825290205461ffff1681565b60405161ffff9091168152602001610232565b34801561049657600080fd5b506102ed6104a5366004613734565b611132565b3480156104b657600080fd5b506102ed6104c53660046135d1565b6112c3565b3480156104d657600080fd5b506102ed6104e536600461379f565b6113ec565b3480156104f657600080fd5b506102ed61148c565b34801561050b57600080fd5b5061022861051a36600461324c565b61ffff1660009081526008602052604090205490565b6102ed61053e36600461380c565b6114c2565b34801561054f57600080fd5b506004546040516001600160a01b039091168152602001610232565b34801561057757600080fd5b506102a0604051806040016040528060048152602001634452504d60e01b81525081565b3480156105a757600080fd5b506102ed6105b6366004613836565b61193c565b6102ed6105c936600461380c565b611a13565b3480156105da57600080fd5b506102ed6105e93660046135d1565b611eec565b3480156105fa57600080fd5b50610228610609366004613184565b60009081526003602052604090205490565b34801561062757600080fd5b5061025b61063636600461324c565b60056020526000908152604090205460ff1681565b34801561065757600080fd5b506102ed61066636600461324c565b61201c565b34801561067757600080fd5b5061025b61068636600461324c565b6120f3565b34801561069757600080fd5b5061025b6106a6366004613860565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156106e057600080fd5b5060045461047790600160a01b900461ffff1681565b34801561070257600080fd5b506102ed61071136600461387c565b612372565b34801561072257600080fd5b506102ed6107313660046138e0565b6123f9565b34801561074257600080fd5b5061075661075136600461324c565b612494565b6040516102329594939291906138fb565b60006001600160a01b0383166107d85760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061082f57506001600160e01b031982166303a24d0760e21b145b8061084a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000818152600360205260409020546060906108a15760405162461bcd60e51b815260206004820152601060248201526f2737b71032bc34b9ba39903a37b5b2b760811b60448201526064016107cf565b61ffff8216600090815260076020526040902060040180546108c29061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546108ee9061396f565b801561093b5780601f106109105761010080835404028352916020019161093b565b820191906000526020600020905b81548152906001019060200180831161091e57829003601f168201915b50505050509050919050565b6004546001600160a01b031633146109715760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff8116821115610a065761ffff8085166000908152600760205260409020600301908490849084168181106109ad576109ad6139df565b90506020020160208101906109c291906138e0565b81546001810183556000928352602090922090910180546001600160a01b0319166001600160a01b03909216919091179055806109fe81613a0b565b915050610974565b50505050565b61ffff8082166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b90910490961660608781019190915260028301546080808901919091528282019790975260038301805485518188028101880190965280865291979295939492860193909190830182828015610aff57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ae1575b50505050508152602001600482018054610b189061396f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b449061396f565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b50505091909252505050608001519392505050565b6060806000610bc58661ffff1660009081526008602052604090205490565b9050808411610bd45783610bd6565b805b93506000610be48686613a2d565b90506000816001600160401b03811115610c0057610c0061334f565b604051908082528060200260200182016040528015610c29578160200160208202803683370190505b5090506000826001600160401b03811115610c4657610c4661334f565b604051908082528060200260200182016040528015610c6f578160200160208202803683370190505b50905060005b83811015610d3b5761ffff8a166000908152600860205260408120610c9a838c613a44565b81548110610caa57610caa6139df565b9060005260206000200160009054906101000a90046001600160a01b0316905080848381518110610cdd57610cdd6139df565b60200260200101906001600160a01b031690816001600160a01b031681525050610d0b818c61ffff16610767565b838381518110610d1d57610d1d6139df565b60209081029190910101525080610d3381613a5c565b915050610c75565b50909890975095505050505050565b6004546001600160a01b03163314610d745760405162461bcd60e51b81526004016107cf906139aa565b61ffff83166000908152600760205260409020610d95600382018484612fb8565b5050505050565b6001600160a01b038516331480610db85750610db885336106a6565b610e1f5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016107cf565b610d95858585858561259e565b6004546001600160a01b03163314610e565760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff8116841115610f0e5782828261ffff16818110610e7b57610e7b6139df565b9050602002016020810190610e90919061324c565b61ffff808816600090815260066020526040812091889088908616818110610eba57610eba6139df565b9050602002016020810190610ecf91906138e0565b6001600160a01b031681526020810191909152604001600020805461ffff191661ffff9290921691909117905580610f0681613a0b565b915050610e59565b505050505050565b6004546001600160a01b03163314610f405760405162461bcd60e51b81526004016107cf906139aa565b6040514790339082156108fc029083906000818181858888f19350505050158015610f6f573d6000803e3d6000fd5b5050565b6004546001600160a01b03163314610f9d5760405162461bcd60e51b81526004016107cf906139aa565b60005b82811015610a06578160056000868685818110610fbf57610fbf6139df565b9050602002016020810190610fd4919061324c565b61ffff1681526020810191909152604001600020805460ff19169115159190911790558061100181613a5c565b915050610fa0565b6060815183511461106e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016107cf565b600083516001600160401b038111156110895761108961334f565b6040519080825280602002602001820160405280156110b2578160200160208202803683370190505b50905060005b845181101561112a576110fd8582815181106110d6576110d66139df565b60200260200101518583815181106110f0576110f06139df565b6020026020010151610767565b82828151811061110f5761110f6139df565b602090810291909101015261112381613a5c565b90506110b8565b509392505050565b6004546001600160a01b0316331461115c5760405162461bcd60e51b81526004016107cf906139aa565b82811461119c5760405162461bcd60e51b815260206004820152600e60248201526d092dce0eae840dad2e6dac2e8c6d60931b60448201526064016107cf565b60005b61ffff81168411156112265760006007600087878561ffff168181106111c7576111c76139df565b90506020020160208101906111dc919061324c565b61ffff908116825260208201929092526040016000206001015416116112145760405162461bcd60e51b81526004016107cf90613a77565b8061121e81613a0b565b91505061119f565b5060005b61ffff8116841115610d955782828261ffff1681811061124c5761124c6139df565b905060200281019061125e9190613aa2565b6007600088888661ffff16818110611278576112786139df565b905060200201602081019061128d919061324c565b61ffff16815260208101919091526040016000206112b09260049091019161301b565b50806112bb81613a0b565b91505061122a565b6004546001600160a01b031633146112ed5760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff81168311156113775760006007600086868561ffff16818110611318576113186139df565b905060200201602081019061132d919061324c565b61ffff908116825260208201929092526040016000206001015416116113655760405162461bcd60e51b81526004016107cf90613a77565b8061136f81613a0b565b9150506112f0565b5060005b61ffff8116831115610a0657816007600086868561ffff168181106113a2576113a26139df565b90506020020160208101906113b7919061324c565b61ffff1681526020810191909152604001600020805460ff1916911515919091179055806113e481613a0b565b91505061137b565b6004546001600160a01b031633146114165760405162461bcd60e51b81526004016107cf906139aa565b61ffff9586166000908152600760205260409020600181018054938816600160301b0267ffff00000000000019958916640100000000029590951667ffffffff0000000019968916620100000263ffffffff19909516979098169690961792909217939093169490941717909155600290910155565b6004546001600160a01b031633146114b65760405162461bcd60e51b81526004016107cf906139aa565b6114c06000612781565b565b61ffff8083166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b909104909616606087810191909152600283015460808089019190915290820196909652600382018054845181870281018701909552808552959691959294918601939290918301828280156115b557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611597575b505050505081526020016004820180546115ce9061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546115fa9061396f565b80156116475780601f1061161c57610100808354040283529160200191611647565b820191906000526020600020905b81548152906001019060200180831161162a57829003601f168201915b505050919092525050506060810151604051627eeac760e11b815233600482015261ffff861660248201529192509060009073b09e99f8bfc11f6c311e7d63efc42f26c51017a69062fdd58e9060440160206040518083038186803b1580156116af57600080fd5b505afa1580156116c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e79190613ae8565b83519091506117255760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016107cf565b61172e856120f3565b61177a5760405162461bcd60e51b815260206004820152601760248201527f4e6565642070726572657175697369746520746f6b656e00000000000000000060448201526064016107cf565b604082015161ffff1615806117bd5750816040015161ffff168461ffff166117a6338861ffff16610767565b6117b09084613a44565b6117ba9190613a44565b11155b6117f95760405162461bcd60e51b815260206004820152600d60248201526c115e18d95959081dd85b1b195d609a1b60448201526064016107cf565b606082015161ffff16158061181a5750816060015161ffff168461ffff1611155b6118535760405162461bcd60e51b815260206004820152600a60248201526922bc31b2b2b2103a3c3760b11b60448201526064016107cf565b816020015161ffff168461ffff1661187b8761ffff1660009081526003602052604090205490565b6118859190613a44565b11156118c05760405162461bcd60e51b815260206004820152600a60248201526908af0c6cacac840dac2f60b31b60448201526064016107cf565b8361ffff1682608001516118d49190613b01565b3410156119195760405162461bcd60e51b8152602060048201526013602482015272496e636f7272656374204554482076616c756560681b60448201526064016107cf565b610d95338661ffff168661ffff16604051806020016040528060008152506127d3565b336001600160a01b03831614156119a75760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016107cf565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61ffff8083166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b90910490961660608781019190915260028301546080808901919091529082019690965260038201805484518187028101870190955280855295969195929491860193929091830182828015611b0657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611ae8575b50505050508152602001600482018054611b1f9061396f565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4b9061396f565b8015611b985780601f10611b6d57610100808354040283529160200191611b98565b820191906000526020600020905b815481529060010190602001808311611b7b57829003601f168201915b505050919092525050506060810151604051627eeac760e11b815233600482015261ffff861660248201529192509060009073b09e99f8bfc11f6c311e7d63efc42f26c51017a69062fdd58e9060440160206040518083038186803b158015611c0057600080fd5b505afa158015611c14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c389190613ae8565b90508260200151611c785760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016107cf565b61ffff858116600090815260066020908152604080832033845290915290205481861691161015611cde5760405162461bcd60e51b815260206004820152601060248201526f115e18d9595908185b1b1bd8d85d195960821b60448201526064016107cf565b604082015161ffff161580611d215750816040015161ffff168461ffff16611d0a338861ffff16610767565b611d149084613a44565b611d1e9190613a44565b11155b611d5d5760405162461bcd60e51b815260206004820152600d60248201526c115e18d95959081dd85b1b195d609a1b60448201526064016107cf565b606082015161ffff161580611d7e5750816060015161ffff168461ffff1611155b611db75760405162461bcd60e51b815260206004820152600a60248201526922bc31b2b2b2103a3c3760b11b60448201526064016107cf565b816020015161ffff168461ffff16611ddf8761ffff1660009081526003602052604090205490565b611de99190613a44565b1115611e245760405162461bcd60e51b815260206004820152600a60248201526908af0c6cacac840dac2f60b31b60448201526064016107cf565b8361ffff168260800151611e389190613b01565b341015611e7d5760405162461bcd60e51b8152602060048201526013602482015272496e636f7272656374204554482076616c756560681b60448201526064016107cf565b61ffff8086166000908152600660209081526040808320338452909152812080548793919291611eaf91859116613b20565b92506101000a81548161ffff021916908361ffff160217905550610d95338661ffff168661ffff16604051806020016040528060008152506127d3565b6004546001600160a01b03163314611f165760405162461bcd60e51b81526004016107cf906139aa565b60005b61ffff8116831115611fa05760006007600086868561ffff16818110611f4157611f416139df565b9050602002016020810190611f56919061324c565b61ffff90811682526020820192909252604001600020600101541611611f8e5760405162461bcd60e51b81526004016107cf90613a77565b80611f9881613a0b565b915050611f19565b5060005b61ffff8116831115610a0657816007600086868561ffff16818110611fcb57611fcb6139df565b9050602002016020810190611fe0919061324c565b61ffff168152602081019190915260400160002080549115156101000261ff00199092169190911790558061201481613a0b565b915050611fa4565b6004546001600160a01b031633146120465760405162461bcd60e51b81526004016107cf906139aa565b61ffff81166000908152600760205260409020805462010000900460ff16156120a35760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016107cf565b60018101546120e190339061ffff808616916120c89162010000820481169116613b20565b61ffff16604051806020016040528060008152506127d3565b805462ff000019166201000017905550565b61ffff8082166000908152600760209081526040808320815160c081018352815460ff8082161515835261010082048116151583870152620100009182900416151582850152835160a081018552600184015480891682529182048816818701526401000000008204881681860152600160301b9091049096166060878101919091526002830154608080890191909152908201969096526003820180548451818702810187019095528085529596879692959394908601939092908301828280156121e857602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116121ca575b505050505081526020016004820180546122019061396f565b80601f016020809104026020016040519081016040528092919081815260200182805461222d9061396f565b801561227a5780601f1061224f5761010080835404028352916020019161227a565b820191906000526020600020905b81548152906001019060200180831161225d57829003601f168201915b50505091909252505050608081015180519192509061229d575060019392505050565b60005b81518110156123675760008282815181106122bd576122bd6139df565b60209081029190910101516040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561230857600080fd5b505afa15801561231c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123409190613ae8565b905080156123545750600195945050505050565b508061235f81613a5c565b9150506122a0565b506000949350505050565b6001600160a01b03851633148061238e575061238e85336106a6565b6123ec5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016107cf565b610d958585858585612808565b6004546001600160a01b031633146124235760405162461bcd60e51b81526004016107cf906139aa565b6001600160a01b0381166124885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cf565b61249181612781565b50565b6007602090815260009182526040918290208054835160a081018552600183015461ffff8082168352620100008083048216968401969096526401000000008204811696830196909652600160301b900490941660608501526002820154608085015260048201805460ff8084169661010085048216969094041693919061251b9061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546125479061396f565b80156125945780601f1061256957610100808354040283529160200191612594565b820191906000526020600020905b81548152906001019060200180831161257757829003601f168201915b5050505050905085565b81518351146126005760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016107cf565b6001600160a01b0384166126265760405162461bcd60e51b81526004016107cf90613b43565b33612635818787878787612934565b60005b845181101561271b576000858281518110612655576126556139df565b602002602001015190506000858381518110612673576126736139df565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156126c35760405162461bcd60e51b81526004016107cf90613b88565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612700908490613a44565b925050819055505050508061271490613a5c565b9050612638565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161276b929190613bd2565b60405180910390a4610f0e818787878787612aa2565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127df84848484612c0d565b600083815260036020526040812080548492906127fd908490613a44565b909155505050505050565b6001600160a01b03841661282e5760405162461bcd60e51b81526004016107cf90613b43565b3361284d81878761283e88612d0e565b61284788612d0e565b87612934565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561288e5760405162461bcd60e51b81526004016107cf90613b88565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906128cb908490613a44565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461292b828888888888612d59565b50505050505050565b60005b83518161ffff16101561292b576000848261ffff168151811061295c5761295c6139df565b6020026020010151905060006001600160a01b0316876001600160a01b0316148061299a575061ffff811660009081526005602052604090205460ff165b6129d55760405162461bcd60e51b815260206004820152600c60248201526b151bdad95b881c185d5cd95960a21b60448201526064016107cf565b838261ffff16815181106129eb576129eb6139df565b602002602001015160001415612a015750612a92565b6001600160a01b03871615801590612a425750838261ffff1681518110612a2a57612a2a6139df565b6020026020010151612a40888361ffff16610767565b145b15612a645761ffff81166000908152600860205260409020612a649088612e23565b6001600160a01b03861615612a905761ffff81166000908152600860205260409020612a909087612f50565b505b612a9b81613a0b565b9050612937565b6001600160a01b0384163b15610f0e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612ae69089908990889088908890600401613be5565b602060405180830381600087803b158015612b0057600080fd5b505af1925050508015612b30575060408051601f3d908101601f19168201909252612b2d91810190613c37565b60015b612bdd57612b3c613c54565b806308c379a01415612b765750612b51613c70565b80612b5c5750612b78565b8060405162461bcd60e51b81526004016107cf9190613171565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016107cf565b6001600160e01b0319811663bc197c8160e01b1461292b5760405162461bcd60e51b81526004016107cf90613cf9565b6001600160a01b038416612c6d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016107cf565b33612c7e8160008761283e88612d0e565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612cae908490613a44565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d9581600087878787612d59565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612d4857612d486139df565b602090810291909101015292915050565b6001600160a01b0384163b15610f0e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612d9d9089908990889088908890600401613d41565b602060405180830381600087803b158015612db757600080fd5b505af1925050508015612de7575060408051601f3d908101601f19168201909252612de491810190613c37565b60015b612df357612b3c613c54565b6001600160e01b0319811663f23a6e6160e01b1461292b5760405162461bcd60e51b81526004016107cf90613cf9565b6001600160a01b038116600090815260018301602052604090205480612e4857505050565b6000612e55600183613a2d565b8454909150600090612e6990600190613a2d565b9050818114612ef5576000856000018281548110612e8957612e896139df565b60009182526020909120015486546001600160a01b0390911691508190879085908110612eb857612eb86139df565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018701909152604090208390555b8454859080612f0657612f06613d86565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b039590951681526001959095019093525050604082209190915550565b6001600160a01b038116600090815260018301602052604090205415612f74575050565b8154600181810184556000848152602080822090930180546001600160a01b039095166001600160a01b031990951685179055845493815293019052604090912055565b82805482825590600052602060002090810192821561300b579160200282015b8281111561300b5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612fd8565b5061301792915061308f565b5090565b8280546130279061396f565b90600052602060002090601f016020900481019282613049576000855561300b565b82601f106130625782800160ff1982351617855561300b565b8280016001018555821561300b579182015b8281111561300b578235825591602001919060010190613074565b5b808211156130175760008155600101613090565b80356001600160a01b03811681146130bb57600080fd5b919050565b600080604083850312156130d357600080fd5b6130dc836130a4565b946020939093013593505050565b6001600160e01b03198116811461249157600080fd5b60006020828403121561311257600080fd5b813561311d816130ea565b9392505050565b6000815180845260005b8181101561314a5760208185018101518683018201520161312e565b8181111561315c576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061311d6020830184613124565b60006020828403121561319657600080fd5b5035919050565b803561ffff811681146130bb57600080fd5b60008083601f8401126131c157600080fd5b5081356001600160401b038111156131d857600080fd5b6020830191508360208260051b85010111156131f357600080fd5b9250929050565b60008060006040848603121561320f57600080fd5b6132188461319d565b925060208401356001600160401b0381111561323357600080fd5b61323f868287016131af565b9497909650939450505050565b60006020828403121561325e57600080fd5b61311d8261319d565b600081518084526020808501945080840160005b838110156132a05781516001600160a01b03168752958201959082019060010161327b565b509495945050505050565b60208152600061311d6020830184613267565b6000806000606084860312156132d357600080fd5b6132dc8461319d565b95602085013595506040909401359392505050565b600081518084526020808501945080840160005b838110156132a057815187529582019590820190600101613305565b6040815260006133346040830185613267565b828103602084015261334681856132f1565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b038111828210171561338a5761338a61334f565b6040525050565b60006001600160401b038211156133aa576133aa61334f565b5060051b60200190565b600082601f8301126133c557600080fd5b813560206133d282613391565b6040516133df8282613365565b83815260059390931b85018201928281019150868411156133ff57600080fd5b8286015b8481101561341a5780358352918301918301613403565b509695505050505050565b600082601f83011261343657600080fd5b81356001600160401b0381111561344f5761344f61334f565b604051613466601f8301601f191660200182613365565b81815284602083860101111561347b57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156134b057600080fd5b6134b9866130a4565b94506134c7602087016130a4565b935060408601356001600160401b03808211156134e357600080fd5b6134ef89838a016133b4565b9450606088013591508082111561350557600080fd5b61351189838a016133b4565b9350608088013591508082111561352757600080fd5b5061353488828901613425565b9150509295509295909350565b60008060008060006060868803121561355957600080fd5b6135628661319d565b945060208601356001600160401b038082111561357e57600080fd5b61358a89838a016131af565b909650945060408801359150808211156135a357600080fd5b506135b0888289016131af565b969995985093965092949392505050565b803580151581146130bb57600080fd5b6000806000604084860312156135e657600080fd5b83356001600160401b038111156135fc57600080fd5b613608868287016131af565b909450925061361b9050602085016135c1565b90509250925092565b6000806040838503121561363757600080fd5b82356001600160401b038082111561364e57600080fd5b818501915085601f83011261366257600080fd5b8135602061366f82613391565b60405161367c8282613365565b83815260059390931b850182019282810191508984111561369c57600080fd5b948201945b838610156136c1576136b2866130a4565b825294820194908201906136a1565b965050860135925050808211156136d757600080fd5b506136e4858286016133b4565b9150509250929050565b60208152600061311d60208301846132f1565b6000806040838503121561371457600080fd5b61371d8361319d565b915061372b602084016130a4565b90509250929050565b6000806000806040858703121561374a57600080fd5b84356001600160401b038082111561376157600080fd5b61376d888389016131af565b9096509450602087013591508082111561378657600080fd5b50613793878288016131af565b95989497509550505050565b60008060008060008060c087890312156137b857600080fd5b6137c18761319d565b95506137cf6020880161319d565b94506137dd6040880161319d565b93506137eb6060880161319d565b92506137f96080880161319d565b915060a087013590509295509295509295565b6000806040838503121561381f57600080fd5b6138288361319d565b915061372b6020840161319d565b6000806040838503121561384957600080fd5b613852836130a4565b915061372b602084016135c1565b6000806040838503121561387357600080fd5b61371d836130a4565b600080600080600060a0868803121561389457600080fd5b61389d866130a4565b94506138ab602087016130a4565b9350604086013592506060860135915060808601356001600160401b038111156138d457600080fd5b61353488828901613425565b6000602082840312156138f257600080fd5b61311d826130a4565b600061012087151583528615156020840152851515604084015261ffff8086511660608501528060208701511660808501528060408701511660a08501528060608701511660c085015250608085015160e08401528061010084015261396381840185613124565b98975050505050505050565b600181811c9082168061398357607f821691505b602082108114156139a457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff80831681811415613a2357613a236139f5565b6001019392505050565b600082821015613a3f57613a3f6139f5565b500390565b60008219821115613a5757613a576139f5565b500190565b6000600019821415613a7057613a706139f5565b5060010190565b6020808252601190820152704e6f6e2065786973747320636f6e66696760781b604082015260600190565b6000808335601e19843603018112613ab957600080fd5b8301803591506001600160401b03821115613ad357600080fd5b6020019150368190038213156131f357600080fd5b600060208284031215613afa57600080fd5b5051919050565b6000816000190483118215151615613b1b57613b1b6139f5565b500290565b600061ffff83811690831681811015613b3b57613b3b6139f5565b039392505050565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60408152600061333460408301856132f1565b6001600160a01b0386811682528516602082015260a060408201819052600090613c11908301866132f1565b8281036060840152613c2381866132f1565b905082810360808401526139638185613124565b600060208284031215613c4957600080fd5b815161311d816130ea565b600060033d1115613c6d5760046000803e5060005160e01c5b90565b600060443d1015613c7e5790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715613cad57505050505090565b8285019150815181811115613cc55750505050505090565b843d8701016020828501011115613cdf5750505050505090565b613cee60208286010187613365565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090613d7b90830184613124565b979650505050505050565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220431ba529568a0cd4d5bf0119fce8d604fcfe979cb1c803c74963964564e2e9b264736f6c63430008090033

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.