ETH Price: $2,465.39 (-4.34%)

Undead President (UNP)
 

Overview

TokenID

101

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
UndeadPresidents

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : UndeadPresidents.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

// Credit goes to CryptoChicks project https://etherscan.io/address/0x1981CC36b59cffdd24B01CC5d698daa75e367e04#code

contract UndeadPresidents is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdTracker;

    uint256 public constant MAX_ELEMENTS = 2850; // Total purchasable tokens
    uint256 public constant PRICE = 80 * 10**15; // .08 eth
    uint256 public constant MAX_BY_MINT = 10; // Maximum purchasable tokens per transaction after presale
    uint256 public constant MAX_BY_MINT_WHITELIST = 10; // Maximum purchasable tokens per account during presale
    uint256 public constant MAX_RESERVE_COUNT = 150; // Total reserved tokens
    
    uint256 public constant LAUNCH_TIMESTAMP = 1635379200; // Monday October 28 2021 00:00:00 GMT+0000

    bool public isSaleOpen = false;
    bool public isPresaleOpen = false;

    mapping(address => bool) private _whiteList;
    mapping(address => uint256) private _whiteListClaimed;
    uint256 private _reservedCount = 0;

    address public constant t1 = 0x71959E2C8337493368c000ef0F1c98c8bB79A7af; // 40%
    address public constant t2 = 0xAe285D3FA6aCE812E3A54f7713E6008F157DfC66; // 40%
    address public constant t3 = 0x2fc75c3bA5B199323C3f919c594D2C061cc689DD; // 10%
    address public constant t4 = 0xb4ce79c7592f53505d551cB57439Fc16a9e0eF5C; // 10%

    string public baseTokenURI;

    event CreateUndeadPresident(uint256 indexed id);

    constructor(string memory baseURI) ERC721("Undead President", "UNP") {
        setBaseURI(baseURI);
    }

    modifier saleIsOpen() {
        if (_msgSender() != owner()) {
            require(isSaleOpen, "Sale is not open");
        }
        _;
    }

    function _totalSupply() internal view returns (uint256) {
        return _tokenIdTracker.current();
    }

    function totalMint() public view returns (uint256) {
        return _totalSupply();
    }

    function reserveTokens(address _to, uint256 _count) public onlyOwner {
        require(
            _reservedCount + _count <= MAX_RESERVE_COUNT,
            "Max reserve exceeded"
        );
        uint256 i;
        for (i = 0; i < _count; i++) {
            _reservedCount++;
            _mintAnElement(_to);
        }
    }

    function mint(address _to, uint256 _count) public payable saleIsOpen {
        uint256 total = _totalSupply();
        require(total + _count <= MAX_ELEMENTS, "Max limit");
        require(total <= MAX_ELEMENTS, "All UndeadPresidents are sold out");
        require(_count <= MAX_BY_MINT, "Exceeds number");
        require(msg.value >= price(_count), "Value below price");

        for (uint256 i = 0; i < _count; i++) {
            _mintAnElement(_to);
        }
    }

    function presaleMint(uint256 _count) public payable {
        require(isPresaleOpen, "Presale is not open");
        require(_whiteList[msg.sender], "You are not in the presale whitelist");
        require(_count <= MAX_BY_MINT_WHITELIST, "Incorrect amount to claim");
        require(
            _whiteListClaimed[msg.sender] + _count <= MAX_BY_MINT_WHITELIST,
            "Purchase exceeds max allowed during presale"
        );
        uint256 total = _totalSupply();
        require(total + _count <= MAX_ELEMENTS, "Max limit");
        require(total <= MAX_ELEMENTS, "All UndeadPresidents are sold out");
        require(msg.value >= price(_count), "Value below price");

        for (uint256 i = 0; i < _count; i++) {
            _whiteListClaimed[msg.sender] += 1;
            _mintAnElement(msg.sender);
        }
    }

    function _mintAnElement(address _to) private {
        uint256 id = _totalSupply();
        _tokenIdTracker.increment();
        _safeMint(_to, id);
        emit CreateUndeadPresident(id);
    }

    function price(uint256 _count) public pure returns (uint256) {
        return PRICE.mul(_count);
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function walletOfOwner(address _owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i = 0; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokensId;
    }

    function setSaleOpen(bool _isSaleOpen) external onlyOwner {
        isSaleOpen = _isSaleOpen;
    }

    function setPresaleOpen(bool _isPresaleOpen) external onlyOwner {
        isPresaleOpen = _isPresaleOpen;
    }

    function addToWhiteList(address[] calldata addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Null address found");

            _whiteList[addresses[i]] = true;
            _whiteListClaimed[addresses[i]] > 0
                ? _whiteListClaimed[addresses[i]]
                : 0;
        }
    }

    function addressInWhitelist(address addr) external view returns (bool) {
        return _whiteList[addr];
    }

    function removeFromWhiteList(address[] calldata addresses)
        external
        onlyOwner
    {
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Null address found");

            _whiteList[addresses[i]] = false;
        }
    }

    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);
        uint256 withdrawal = balance.mul(40).div(100);
        _withdraw(t1, withdrawal);
        _withdraw(t2, withdrawal);

        uint256 withdrawalSecondary = balance.mul(10).div(100);
        _withdraw(t3, withdrawalSecondary);
        _withdraw(t4, withdrawalSecondary);
    }

    function _withdraw(address _address, uint256 _amount) private {
        payable(_address).transfer(_amount);
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 15 : 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 5 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 7 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 8 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 13 of 15 : 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 14 of 15 : 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);
}

File 15 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":"uint256","name":"id","type":"uint256"}],"name":"CreateUndeadPresident","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LAUNCH_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BY_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BY_MINT_WHITELIST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addressInWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPresaleOpen","type":"bool"}],"name":"setPresaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSaleOpen","type":"bool"}],"name":"setSaleOpen","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":[],"name":"t1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t4","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506000600f553480156200004c57600080fd5b50604051620059cd380380620059cd83398181016040528101906200007291906200053a565b6040518060400160405280601081526020017f556e6465616420507265736964656e74000000000000000000000000000000008152506040518060400160405280600381526020017f554e5000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000f6929190620002ed565b5080600190805190602001906200010f929190620002ed565b50505062000132620001266200014a60201b60201c565b6200015260201b60201c565b62000143816200021860201b60201c565b5062000673565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002286200014a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200024e620002c360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200029e90620005ec565b60405180910390fd5b8060109080519060200190620002bf929190620002ed565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002fb906200063d565b90600052602060002090601f0160209004810192826200031f57600085556200036b565b82601f106200033a57805160ff19168380011785556200036b565b828001600101855582156200036b579182015b828111156200036a5782518255916020019190600101906200034d565b5b5090506200037a91906200037e565b5090565b5b80821115620003995760008160009055506001016200037f565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200040682620003bb565b810181811067ffffffffffffffff82111715620004285762000427620003cc565b5b80604052505050565b60006200043d6200039d565b90506200044b8282620003fb565b919050565b600067ffffffffffffffff8211156200046e576200046d620003cc565b5b6200047982620003bb565b9050602081019050919050565b60005b83811015620004a657808201518184015260208101905062000489565b83811115620004b6576000848401525b50505050565b6000620004d3620004cd8462000450565b62000431565b905082815260208101848484011115620004f257620004f1620003b6565b5b620004ff84828562000486565b509392505050565b600082601f8301126200051f576200051e620003b1565b5b815162000531848260208601620004bc565b91505092915050565b600060208284031215620005535762000552620003a7565b5b600082015167ffffffffffffffff811115620005745762000573620003ac565b5b620005828482850162000507565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620005d46020836200058b565b9150620005e1826200059c565b602082019050919050565b600060208201905081810360008301526200060781620005c5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200065657607f821691505b602082108114156200066d576200066c6200060e565b5b50919050565b61534a80620006836000396000f3fe6080604052600436106102725760003560e01c806376500c171161014f578063baf2f868116100c1578063e985e9c51161007a578063e985e9c51461095e578063eb4f847b1461099b578063f2fde38b146109c6578063f5b96621146109ef578063fb5343f314610a18578063feae062d14610a4357610272565b8063baf2f86814610859578063c87b56dd14610884578063c9b298f1146108c1578063cfad78b1146108dd578063d547cfb714610908578063e954f41d1461093357610272565b80638da5cb5b116101135780638da5cb5b1461075f57806395d89b411461078a578063a22cb465146107b5578063af979f25146107de578063b11560c514610807578063b88d4fde1461083057610272565b806376500c171461069e57806378cf19e9146106c9578063853828b6146106f25780638ad5de28146107095780638d859f3e1461073457610272565b806340c10f19116101e857806359a7715a116101ac57806359a7715a1461058e5780635dc0e835146105b95780636352211e146105e457806370a0823114610621578063715018a61461065e578063740d73f31461067557610272565b806340c10f19146104a657806342842e0e146104c2578063438b6300146104eb5780634f6ccce71461052857806355f804b31461056557610272565b80631a0813301161023a5780631a0813301461037057806323b872dd1461039b57806326a49e37146103c45780632f745c59146104015780633502a7161461043e5780633f5dc6e51461046957610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c57806318160ddd14610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613868565b610a6e565b6040516102ab91906138b0565b60405180910390f35b3480156102c057600080fd5b506102c9610ae8565b6040516102d69190613964565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906139bc565b610b7a565b6040516103139190613a2a565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613a71565b610bff565b005b34801561035157600080fd5b5061035a610d17565b6040516103679190613ac0565b60405180910390f35b34801561037c57600080fd5b50610385610d24565b60405161039291906138b0565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613adb565b610d37565b005b3480156103d057600080fd5b506103eb60048036038101906103e691906139bc565b610d97565b6040516103f89190613ac0565b60405180910390f35b34801561040d57600080fd5b5061042860048036038101906104239190613a71565b610dbb565b6040516104359190613ac0565b60405180910390f35b34801561044a57600080fd5b50610453610e60565b6040516104609190613ac0565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190613b2e565b610e66565b60405161049d91906138b0565b60405180910390f35b6104c060048036038101906104bb9190613a71565b610ebc565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190613adb565b6110aa565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613b2e565b6110ca565b60405161051f9190613c19565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a91906139bc565b611178565b60405161055c9190613ac0565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190613d70565b6111e9565b005b34801561059a57600080fd5b506105a361127f565b6040516105b09190613ac0565b60405180910390f35b3480156105c557600080fd5b506105ce61128e565b6040516105db9190613ac0565b60405180910390f35b3480156105f057600080fd5b5061060b600480360381019061060691906139bc565b611293565b6040516106189190613a2a565b60405180910390f35b34801561062d57600080fd5b5061064860048036038101906106439190613b2e565b611345565b6040516106559190613ac0565b60405180910390f35b34801561066a57600080fd5b506106736113fd565b005b34801561068157600080fd5b5061069c60048036038101906106979190613e19565b611485565b005b3480156106aa57600080fd5b506106b361171b565b6040516106c09190613ac0565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb9190613a71565b611720565b005b3480156106fe57600080fd5b50610707611831565b005b34801561071557600080fd5b5061071e611992565b60405161072b9190613ac0565b60405180910390f35b34801561074057600080fd5b50610749611997565b6040516107569190613ac0565b60405180910390f35b34801561076b57600080fd5b506107746119a3565b6040516107819190613a2a565b60405180910390f35b34801561079657600080fd5b5061079f6119cd565b6040516107ac9190613964565b60405180910390f35b3480156107c157600080fd5b506107dc60048036038101906107d79190613e92565b611a5f565b005b3480156107ea57600080fd5b5061080560048036038101906108009190613ed2565b611be0565b005b34801561081357600080fd5b5061082e60048036038101906108299190613e19565b611c79565b005b34801561083c57600080fd5b5061085760048036038101906108529190613fa0565b611e31565b005b34801561086557600080fd5b5061086e611e93565b60405161087b9190613a2a565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a691906139bc565b611eab565b6040516108b89190613964565b60405180910390f35b6108db60048036038101906108d691906139bc565b611f52565b005b3480156108e957600080fd5b506108f261226e565b6040516108ff9190613a2a565b60405180910390f35b34801561091457600080fd5b5061091d612286565b60405161092a9190613964565b60405180910390f35b34801561093f57600080fd5b50610948612314565b6040516109559190613ac0565b60405180910390f35b34801561096a57600080fd5b5061098560048036038101906109809190614023565b61231c565b60405161099291906138b0565b60405180910390f35b3480156109a757600080fd5b506109b06123b0565b6040516109bd91906138b0565b60405180910390f35b3480156109d257600080fd5b506109ed60048036038101906109e89190613b2e565b6123c3565b005b3480156109fb57600080fd5b50610a166004803603810190610a119190613ed2565b6124bb565b005b348015610a2457600080fd5b50610a2d612554565b604051610a3a9190613a2a565b60405180910390f35b348015610a4f57600080fd5b50610a5861256c565b604051610a659190613a2a565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae15750610ae082612584565b5b9050919050565b606060008054610af790614092565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390614092565b8015610b705780601f10610b4557610100808354040283529160200191610b70565b820191906000526020600020905b815481529060010190602001808311610b5357829003601f168201915b5050505050905090565b6000610b8582612666565b610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb90614136565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c0a82611293565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c72906141c8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9a6126d2565b73ffffffffffffffffffffffffffffffffffffffff161480610cc95750610cc881610cc36126d2565b61231c565b5b610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff9061425a565b60405180910390fd5b610d1283836126da565b505050565b6000600880549050905090565b600c60009054906101000a900460ff1681565b610d48610d426126d2565b82612793565b610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e906142ec565b60405180910390fd5b610d92838383612871565b505050565b6000610db48267011c37937e080000612acd90919063ffffffff16565b9050919050565b6000610dc683611345565b8210610e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfe9061437e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b2281565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610ec46119a3565b73ffffffffffffffffffffffffffffffffffffffff16610ee26126d2565b73ffffffffffffffffffffffffffffffffffffffff1614610f4d57600c60009054906101000a900460ff16610f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f43906143ea565b60405180910390fd5b5b6000610f57612ae3565b9050610b228282610f689190614439565b1115610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa0906144db565b60405180910390fd5b610b22811115610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe59061456d565b60405180910390fd5b600a821115611032576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611029906145d9565b60405180910390fd5b61103b82610d97565b34101561107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107490614645565b60405180910390fd5b60005b828110156110a45761109184612af4565b808061109c90614665565b915050611080565b50505050565b6110c583838360405180602001604052806000815250611e31565b505050565b606060006110d783611345565b905060008167ffffffffffffffff8111156110f5576110f4613c45565b5b6040519080825280602002602001820160405280156111235781602001602082028036833780820191505090505b50905060005b8281101561116d5761113b8582610dbb565b82828151811061114e5761114d6146ae565b5b602002602001018181525050808061116590614665565b915050611129565b508092505050919050565b6000611182610d17565b82106111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba9061474f565b60405180910390fd5b600882815481106111d7576111d66146ae565b5b90600052602060002001549050919050565b6111f16126d2565b73ffffffffffffffffffffffffffffffffffffffff1661120f6119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c906147bb565b60405180910390fd5b806010908051906020019061127b929190613759565b5050565b6000611289612ae3565b905090565b600a81565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113339061484d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad906148df565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114056126d2565b73ffffffffffffffffffffffffffffffffffffffff166114236119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611470906147bb565b60405180910390fd5b6114836000612b45565b565b61148d6126d2565b73ffffffffffffffffffffffffffffffffffffffff166114ab6119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f8906147bb565b60405180910390fd5b60005b8282905081101561171657600073ffffffffffffffffffffffffffffffffffffffff1683838381811061153a576115396146ae565b5b905060200201602081019061154f9190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1614156115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d9061494b565b60405180910390fd5b6001600d60008585858181106115bf576115be6146ae565b5b90506020020160208101906115d49190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600e600085858581811061163e5761163d6146ae565b5b90506020020160208101906116539190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161169a576000611702565b600e60008484848181106116b1576116b06146ae565b5b90506020020160208101906116c69190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b50808061170e90614665565b915050611504565b505050565b609681565b6117286126d2565b73ffffffffffffffffffffffffffffffffffffffff166117466119a3565b73ffffffffffffffffffffffffffffffffffffffff161461179c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611793906147bb565b60405180910390fd5b609681600f546117ac9190614439565b11156117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e4906149b7565b60405180910390fd5b60005b8181101561182c57600f600081548092919061180b90614665565b919050555061181983612af4565b808061182490614665565b9150506117f0565b505050565b6118396126d2565b73ffffffffffffffffffffffffffffffffffffffff166118576119a3565b73ffffffffffffffffffffffffffffffffffffffff16146118ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a4906147bb565b60405180910390fd5b6000479050600081116118bf57600080fd5b60006118e860646118da602885612acd90919063ffffffff16565b612c0b90919063ffffffff16565b90506119087371959e2c8337493368c000ef0f1c98c8bb79a7af82612c21565b61192673ae285d3fa6ace812e3a54f7713e6008f157dfc6682612c21565b600061194f6064611941600a86612acd90919063ffffffff16565b612c0b90919063ffffffff16565b905061196f732fc75c3ba5b199323c3f919c594d2c061cc689dd82612c21565b61198d73b4ce79c7592f53505d551cb57439fc16a9e0ef5c82612c21565b505050565b600a81565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546119dc90614092565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0890614092565b8015611a555780601f10611a2a57610100808354040283529160200191611a55565b820191906000526020600020905b815481529060010190602001808311611a3857829003601f168201915b5050505050905090565b611a676126d2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc90614a23565b60405180910390fd5b8060056000611ae26126d2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b8f6126d2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bd491906138b0565b60405180910390a35050565b611be86126d2565b73ffffffffffffffffffffffffffffffffffffffff16611c066119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c53906147bb565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b611c816126d2565b73ffffffffffffffffffffffffffffffffffffffff16611c9f6119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cec906147bb565b60405180910390fd5b60005b82829050811015611e2c57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611d2e57611d2d6146ae565b5b9050602002016020810190611d439190613b2e565b73ffffffffffffffffffffffffffffffffffffffff161415611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d919061494b565b60405180910390fd5b6000600d6000858585818110611db357611db26146ae565b5b9050602002016020810190611dc89190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611e2490614665565b915050611cf8565b505050565b611e42611e3c6126d2565b83612793565b611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906142ec565b60405180910390fd5b611e8d84848484612c6c565b50505050565b73ae285d3fa6ace812e3a54f7713e6008f157dfc6681565b6060611eb682612666565b611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90614ab5565b60405180910390fd5b6000611eff612cc8565b90506000815111611f1f5760405180602001604052806000815250611f4a565b80611f2984612d5a565b604051602001611f3a929190614b11565b6040516020818303038152906040525b915050919050565b600c60019054906101000a900460ff16611fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9890614b81565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490614c13565b60405180910390fd5b600a811115612071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206890614c7f565b60405180910390fd5b600a81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120be9190614439565b11156120ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f690614d11565b60405180910390fd5b6000612109612ae3565b9050610b22828261211a9190614439565b111561215b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612152906144db565b60405180910390fd5b610b228111156121a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121979061456d565b60405180910390fd5b6121a982610d97565b3410156121eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e290614645565b60405180910390fd5b60005b82811015612269576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122469190614439565b9250508190555061225633612af4565b808061226190614665565b9150506121ee565b505050565b732fc75c3ba5b199323c3f919c594d2c061cc689dd81565b6010805461229390614092565b80601f01602080910402602001604051908101604052809291908181526020018280546122bf90614092565b801561230c5780601f106122e15761010080835404028352916020019161230c565b820191906000526020600020905b8154815290600101906020018083116122ef57829003601f168201915b505050505081565b636179e80081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff1681565b6123cb6126d2565b73ffffffffffffffffffffffffffffffffffffffff166123e96119a3565b73ffffffffffffffffffffffffffffffffffffffff161461243f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612436906147bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a690614da3565b60405180910390fd5b6124b881612b45565b50565b6124c36126d2565b73ffffffffffffffffffffffffffffffffffffffff166124e16119a3565b73ffffffffffffffffffffffffffffffffffffffff1614612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252e906147bb565b60405180910390fd5b80600c60016101000a81548160ff02191690831515021790555050565b7371959e2c8337493368c000ef0f1c98c8bb79a7af81565b73b4ce79c7592f53505d551cb57439fc16a9e0ef5c81565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061264f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061265f575061265e82612ebb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661274d83611293565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061279e82612666565b6127dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d490614e35565b60405180910390fd5b60006127e883611293565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061285757508373ffffffffffffffffffffffffffffffffffffffff1661283f84610b7a565b73ffffffffffffffffffffffffffffffffffffffff16145b806128685750612867818561231c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661289182611293565b73ffffffffffffffffffffffffffffffffffffffff16146128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de90614ec7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294e90614f59565b60405180910390fd5b612962838383612f25565b61296d6000826126da565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129bd9190614f79565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a149190614439565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612adb9190614fad565b905092915050565b6000612aef600b613039565b905090565b6000612afe612ae3565b9050612b0a600b613047565b612b14828261305d565b807fad75bedec04456372ead5b9bb855b717591fd3a4a09ee9d466391463c273654860405160405180910390a25050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612c199190615036565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612c67573d6000803e3d6000fd5b505050565b612c77848484612871565b612c838484848461307b565b612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb9906150d9565b60405180910390fd5b50505050565b606060108054612cd790614092565b80601f0160208091040260200160405190810160405280929190818152602001828054612d0390614092565b8015612d505780601f10612d2557610100808354040283529160200191612d50565b820191906000526020600020905b815481529060010190602001808311612d3357829003601f168201915b5050505050905090565b60606000821415612da2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612eb6565b600082905060005b60008214612dd4578080612dbd90614665565b915050600a82612dcd9190615036565b9150612daa565b60008167ffffffffffffffff811115612df057612def613c45565b5b6040519080825280601f01601f191660200182016040528015612e225781602001600182028036833780820191505090505b5090505b60008514612eaf57600182612e3b9190614f79565b9150600a85612e4a91906150f9565b6030612e569190614439565b60f81b818381518110612e6c57612e6b6146ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ea89190615036565b9450612e26565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f30838383613212565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f7357612f6e81613217565b612fb2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fb157612fb08382613260565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ff557612ff0816133cd565b613034565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461303357613032828261349e565b5b5b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b61307782826040518060200160405280600081525061351d565b5050565b600061309c8473ffffffffffffffffffffffffffffffffffffffff16613578565b15613205578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130c56126d2565b8786866040518563ffffffff1660e01b81526004016130e7949392919061517f565b602060405180830381600087803b15801561310157600080fd5b505af192505050801561313257506040513d601f19601f8201168201806040525081019061312f91906151e0565b60015b6131b5573d8060008114613162576040519150601f19603f3d011682016040523d82523d6000602084013e613167565b606091505b506000815114156131ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a4906150d9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061320a565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161326d84611345565b6132779190614f79565b905060006007600084815260200190815260200160002054905081811461335c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133e19190614f79565b9050600060096000848152602001908152602001600020549050600060088381548110613411576134106146ae565b5b906000526020600020015490508060088381548110613433576134326146ae565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134825761348161520d565b5b6001900381819060005260206000200160009055905550505050565b60006134a983611345565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b613527838361358b565b613534600084848461307b565b613573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356a906150d9565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f290615288565b60405180910390fd5b61360481612666565b15613644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363b906152f4565b60405180910390fd5b61365060008383612f25565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a09190614439565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461376590614092565b90600052602060002090601f01602090048101928261378757600085556137ce565b82601f106137a057805160ff19168380011785556137ce565b828001600101855582156137ce579182015b828111156137cd5782518255916020019190600101906137b2565b5b5090506137db91906137df565b5090565b5b808211156137f85760008160009055506001016137e0565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61384581613810565b811461385057600080fd5b50565b6000813590506138628161383c565b92915050565b60006020828403121561387e5761387d613806565b5b600061388c84828501613853565b91505092915050565b60008115159050919050565b6138aa81613895565b82525050565b60006020820190506138c560008301846138a1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139055780820151818401526020810190506138ea565b83811115613914576000848401525b50505050565b6000601f19601f8301169050919050565b6000613936826138cb565b61394081856138d6565b93506139508185602086016138e7565b6139598161391a565b840191505092915050565b6000602082019050818103600083015261397e818461392b565b905092915050565b6000819050919050565b61399981613986565b81146139a457600080fd5b50565b6000813590506139b681613990565b92915050565b6000602082840312156139d2576139d1613806565b5b60006139e0848285016139a7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a14826139e9565b9050919050565b613a2481613a09565b82525050565b6000602082019050613a3f6000830184613a1b565b92915050565b613a4e81613a09565b8114613a5957600080fd5b50565b600081359050613a6b81613a45565b92915050565b60008060408385031215613a8857613a87613806565b5b6000613a9685828601613a5c565b9250506020613aa7858286016139a7565b9150509250929050565b613aba81613986565b82525050565b6000602082019050613ad56000830184613ab1565b92915050565b600080600060608486031215613af457613af3613806565b5b6000613b0286828701613a5c565b9350506020613b1386828701613a5c565b9250506040613b24868287016139a7565b9150509250925092565b600060208284031215613b4457613b43613806565b5b6000613b5284828501613a5c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b9081613986565b82525050565b6000613ba28383613b87565b60208301905092915050565b6000602082019050919050565b6000613bc682613b5b565b613bd08185613b66565b9350613bdb83613b77565b8060005b83811015613c0c578151613bf38882613b96565b9750613bfe83613bae565b925050600181019050613bdf565b5085935050505092915050565b60006020820190508181036000830152613c338184613bbb565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c7d8261391a565b810181811067ffffffffffffffff82111715613c9c57613c9b613c45565b5b80604052505050565b6000613caf6137fc565b9050613cbb8282613c74565b919050565b600067ffffffffffffffff821115613cdb57613cda613c45565b5b613ce48261391a565b9050602081019050919050565b82818337600083830152505050565b6000613d13613d0e84613cc0565b613ca5565b905082815260208101848484011115613d2f57613d2e613c40565b5b613d3a848285613cf1565b509392505050565b600082601f830112613d5757613d56613c3b565b5b8135613d67848260208601613d00565b91505092915050565b600060208284031215613d8657613d85613806565b5b600082013567ffffffffffffffff811115613da457613da361380b565b5b613db084828501613d42565b91505092915050565b600080fd5b600080fd5b60008083601f840112613dd957613dd8613c3b565b5b8235905067ffffffffffffffff811115613df657613df5613db9565b5b602083019150836020820283011115613e1257613e11613dbe565b5b9250929050565b60008060208385031215613e3057613e2f613806565b5b600083013567ffffffffffffffff811115613e4e57613e4d61380b565b5b613e5a85828601613dc3565b92509250509250929050565b613e6f81613895565b8114613e7a57600080fd5b50565b600081359050613e8c81613e66565b92915050565b60008060408385031215613ea957613ea8613806565b5b6000613eb785828601613a5c565b9250506020613ec885828601613e7d565b9150509250929050565b600060208284031215613ee857613ee7613806565b5b6000613ef684828501613e7d565b91505092915050565b600067ffffffffffffffff821115613f1a57613f19613c45565b5b613f238261391a565b9050602081019050919050565b6000613f43613f3e84613eff565b613ca5565b905082815260208101848484011115613f5f57613f5e613c40565b5b613f6a848285613cf1565b509392505050565b600082601f830112613f8757613f86613c3b565b5b8135613f97848260208601613f30565b91505092915050565b60008060008060808587031215613fba57613fb9613806565b5b6000613fc887828801613a5c565b9450506020613fd987828801613a5c565b9350506040613fea878288016139a7565b925050606085013567ffffffffffffffff81111561400b5761400a61380b565b5b61401787828801613f72565b91505092959194509250565b6000806040838503121561403a57614039613806565b5b600061404885828601613a5c565b925050602061405985828601613a5c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140aa57607f821691505b602082108114156140be576140bd614063565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614120602c836138d6565b915061412b826140c4565b604082019050919050565b6000602082019050818103600083015261414f81614113565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006141b26021836138d6565b91506141bd82614156565b604082019050919050565b600060208201905081810360008301526141e1816141a5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006142446038836138d6565b915061424f826141e8565b604082019050919050565b6000602082019050818103600083015261427381614237565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006142d66031836138d6565b91506142e18261427a565b604082019050919050565b60006020820190508181036000830152614305816142c9565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614368602b836138d6565b91506143738261430c565b604082019050919050565b600060208201905081810360008301526143978161435b565b9050919050565b7f53616c65206973206e6f74206f70656e00000000000000000000000000000000600082015250565b60006143d46010836138d6565b91506143df8261439e565b602082019050919050565b60006020820190508181036000830152614403816143c7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061444482613986565b915061444f83613986565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144845761448361440a565b5b828201905092915050565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b60006144c56009836138d6565b91506144d08261448f565b602082019050919050565b600060208201905081810360008301526144f4816144b8565b9050919050565b7f416c6c20556e64656164507265736964656e74732061726520736f6c64206f7560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006145576021836138d6565b9150614562826144fb565b604082019050919050565b600060208201905081810360008301526145868161454a565b9050919050565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b60006145c3600e836138d6565b91506145ce8261458d565b602082019050919050565b600060208201905081810360008301526145f2816145b6565b9050919050565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b600061462f6011836138d6565b915061463a826145f9565b602082019050919050565b6000602082019050818103600083015261465e81614622565b9050919050565b600061467082613986565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146a3576146a261440a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614739602c836138d6565b9150614744826146dd565b604082019050919050565b600060208201905081810360008301526147688161472c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147a56020836138d6565b91506147b08261476f565b602082019050919050565b600060208201905081810360008301526147d481614798565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148376029836138d6565b9150614842826147db565b604082019050919050565b600060208201905081810360008301526148668161482a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006148c9602a836138d6565b91506148d48261486d565b604082019050919050565b600060208201905081810360008301526148f8816148bc565b9050919050565b7f4e756c6c206164647265737320666f756e640000000000000000000000000000600082015250565b60006149356012836138d6565b9150614940826148ff565b602082019050919050565b6000602082019050818103600083015261496481614928565b9050919050565b7f4d61782072657365727665206578636565646564000000000000000000000000600082015250565b60006149a16014836138d6565b91506149ac8261496b565b602082019050919050565b600060208201905081810360008301526149d081614994565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a0d6019836138d6565b9150614a18826149d7565b602082019050919050565b60006020820190508181036000830152614a3c81614a00565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614a9f602f836138d6565b9150614aaa82614a43565b604082019050919050565b60006020820190508181036000830152614ace81614a92565b9050919050565b600081905092915050565b6000614aeb826138cb565b614af58185614ad5565b9350614b058185602086016138e7565b80840191505092915050565b6000614b1d8285614ae0565b9150614b298284614ae0565b91508190509392505050565b7f50726573616c65206973206e6f74206f70656e00000000000000000000000000600082015250565b6000614b6b6013836138d6565b9150614b7682614b35565b602082019050919050565b60006020820190508181036000830152614b9a81614b5e565b9050919050565b7f596f7520617265206e6f7420696e207468652070726573616c6520776869746560008201527f6c69737400000000000000000000000000000000000000000000000000000000602082015250565b6000614bfd6024836138d6565b9150614c0882614ba1565b604082019050919050565b60006020820190508181036000830152614c2c81614bf0565b9050919050565b7f496e636f727265637420616d6f756e7420746f20636c61696d00000000000000600082015250565b6000614c696019836138d6565b9150614c7482614c33565b602082019050919050565b60006020820190508181036000830152614c9881614c5c565b9050919050565b7f50757263686173652065786365656473206d617820616c6c6f7765642064757260008201527f696e672070726573616c65000000000000000000000000000000000000000000602082015250565b6000614cfb602b836138d6565b9150614d0682614c9f565b604082019050919050565b60006020820190508181036000830152614d2a81614cee565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d8d6026836138d6565b9150614d9882614d31565b604082019050919050565b60006020820190508181036000830152614dbc81614d80565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614e1f602c836138d6565b9150614e2a82614dc3565b604082019050919050565b60006020820190508181036000830152614e4e81614e12565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614eb16029836138d6565b9150614ebc82614e55565b604082019050919050565b60006020820190508181036000830152614ee081614ea4565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f436024836138d6565b9150614f4e82614ee7565b604082019050919050565b60006020820190508181036000830152614f7281614f36565b9050919050565b6000614f8482613986565b9150614f8f83613986565b925082821015614fa257614fa161440a565b5b828203905092915050565b6000614fb882613986565b9150614fc383613986565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ffc57614ffb61440a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504182613986565b915061504c83613986565b92508261505c5761505b615007565b5b828204905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150c36032836138d6565b91506150ce82615067565b604082019050919050565b600060208201905081810360008301526150f2816150b6565b9050919050565b600061510482613986565b915061510f83613986565b92508261511f5761511e615007565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006151518261512a565b61515b8185615135565b935061516b8185602086016138e7565b6151748161391a565b840191505092915050565b60006080820190506151946000830187613a1b565b6151a16020830186613a1b565b6151ae6040830185613ab1565b81810360608301526151c08184615146565b905095945050505050565b6000815190506151da8161383c565b92915050565b6000602082840312156151f6576151f5613806565b5b6000615204848285016151cb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152726020836138d6565b915061527d8261523c565b602082019050919050565b600060208201905081810360008301526152a181615265565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006152de601c836138d6565b91506152e9826152a8565b602082019050919050565b6000602082019050818103600083015261530d816152d1565b905091905056fea264697066735822122087e44c8880bb133ced6dcfd509aeb6ff8be0ae72ecd4a7d2ee20d3a69cf0b79c64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f6b72617070796172742e6865726f6b756170702e636f6d2f756e64656164707265736964656e74732f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c806376500c171161014f578063baf2f868116100c1578063e985e9c51161007a578063e985e9c51461095e578063eb4f847b1461099b578063f2fde38b146109c6578063f5b96621146109ef578063fb5343f314610a18578063feae062d14610a4357610272565b8063baf2f86814610859578063c87b56dd14610884578063c9b298f1146108c1578063cfad78b1146108dd578063d547cfb714610908578063e954f41d1461093357610272565b80638da5cb5b116101135780638da5cb5b1461075f57806395d89b411461078a578063a22cb465146107b5578063af979f25146107de578063b11560c514610807578063b88d4fde1461083057610272565b806376500c171461069e57806378cf19e9146106c9578063853828b6146106f25780638ad5de28146107095780638d859f3e1461073457610272565b806340c10f19116101e857806359a7715a116101ac57806359a7715a1461058e5780635dc0e835146105b95780636352211e146105e457806370a0823114610621578063715018a61461065e578063740d73f31461067557610272565b806340c10f19146104a657806342842e0e146104c2578063438b6300146104eb5780634f6ccce71461052857806355f804b31461056557610272565b80631a0813301161023a5780631a0813301461037057806323b872dd1461039b57806326a49e37146103c45780632f745c59146104015780633502a7161461043e5780633f5dc6e51461046957610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c57806318160ddd14610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613868565b610a6e565b6040516102ab91906138b0565b60405180910390f35b3480156102c057600080fd5b506102c9610ae8565b6040516102d69190613964565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906139bc565b610b7a565b6040516103139190613a2a565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613a71565b610bff565b005b34801561035157600080fd5b5061035a610d17565b6040516103679190613ac0565b60405180910390f35b34801561037c57600080fd5b50610385610d24565b60405161039291906138b0565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613adb565b610d37565b005b3480156103d057600080fd5b506103eb60048036038101906103e691906139bc565b610d97565b6040516103f89190613ac0565b60405180910390f35b34801561040d57600080fd5b5061042860048036038101906104239190613a71565b610dbb565b6040516104359190613ac0565b60405180910390f35b34801561044a57600080fd5b50610453610e60565b6040516104609190613ac0565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190613b2e565b610e66565b60405161049d91906138b0565b60405180910390f35b6104c060048036038101906104bb9190613a71565b610ebc565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190613adb565b6110aa565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613b2e565b6110ca565b60405161051f9190613c19565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a91906139bc565b611178565b60405161055c9190613ac0565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190613d70565b6111e9565b005b34801561059a57600080fd5b506105a361127f565b6040516105b09190613ac0565b60405180910390f35b3480156105c557600080fd5b506105ce61128e565b6040516105db9190613ac0565b60405180910390f35b3480156105f057600080fd5b5061060b600480360381019061060691906139bc565b611293565b6040516106189190613a2a565b60405180910390f35b34801561062d57600080fd5b5061064860048036038101906106439190613b2e565b611345565b6040516106559190613ac0565b60405180910390f35b34801561066a57600080fd5b506106736113fd565b005b34801561068157600080fd5b5061069c60048036038101906106979190613e19565b611485565b005b3480156106aa57600080fd5b506106b361171b565b6040516106c09190613ac0565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb9190613a71565b611720565b005b3480156106fe57600080fd5b50610707611831565b005b34801561071557600080fd5b5061071e611992565b60405161072b9190613ac0565b60405180910390f35b34801561074057600080fd5b50610749611997565b6040516107569190613ac0565b60405180910390f35b34801561076b57600080fd5b506107746119a3565b6040516107819190613a2a565b60405180910390f35b34801561079657600080fd5b5061079f6119cd565b6040516107ac9190613964565b60405180910390f35b3480156107c157600080fd5b506107dc60048036038101906107d79190613e92565b611a5f565b005b3480156107ea57600080fd5b5061080560048036038101906108009190613ed2565b611be0565b005b34801561081357600080fd5b5061082e60048036038101906108299190613e19565b611c79565b005b34801561083c57600080fd5b5061085760048036038101906108529190613fa0565b611e31565b005b34801561086557600080fd5b5061086e611e93565b60405161087b9190613a2a565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a691906139bc565b611eab565b6040516108b89190613964565b60405180910390f35b6108db60048036038101906108d691906139bc565b611f52565b005b3480156108e957600080fd5b506108f261226e565b6040516108ff9190613a2a565b60405180910390f35b34801561091457600080fd5b5061091d612286565b60405161092a9190613964565b60405180910390f35b34801561093f57600080fd5b50610948612314565b6040516109559190613ac0565b60405180910390f35b34801561096a57600080fd5b5061098560048036038101906109809190614023565b61231c565b60405161099291906138b0565b60405180910390f35b3480156109a757600080fd5b506109b06123b0565b6040516109bd91906138b0565b60405180910390f35b3480156109d257600080fd5b506109ed60048036038101906109e89190613b2e565b6123c3565b005b3480156109fb57600080fd5b50610a166004803603810190610a119190613ed2565b6124bb565b005b348015610a2457600080fd5b50610a2d612554565b604051610a3a9190613a2a565b60405180910390f35b348015610a4f57600080fd5b50610a5861256c565b604051610a659190613a2a565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae15750610ae082612584565b5b9050919050565b606060008054610af790614092565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390614092565b8015610b705780601f10610b4557610100808354040283529160200191610b70565b820191906000526020600020905b815481529060010190602001808311610b5357829003601f168201915b5050505050905090565b6000610b8582612666565b610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb90614136565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c0a82611293565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c72906141c8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9a6126d2565b73ffffffffffffffffffffffffffffffffffffffff161480610cc95750610cc881610cc36126d2565b61231c565b5b610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff9061425a565b60405180910390fd5b610d1283836126da565b505050565b6000600880549050905090565b600c60009054906101000a900460ff1681565b610d48610d426126d2565b82612793565b610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e906142ec565b60405180910390fd5b610d92838383612871565b505050565b6000610db48267011c37937e080000612acd90919063ffffffff16565b9050919050565b6000610dc683611345565b8210610e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfe9061437e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b2281565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610ec46119a3565b73ffffffffffffffffffffffffffffffffffffffff16610ee26126d2565b73ffffffffffffffffffffffffffffffffffffffff1614610f4d57600c60009054906101000a900460ff16610f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f43906143ea565b60405180910390fd5b5b6000610f57612ae3565b9050610b228282610f689190614439565b1115610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa0906144db565b60405180910390fd5b610b22811115610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe59061456d565b60405180910390fd5b600a821115611032576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611029906145d9565b60405180910390fd5b61103b82610d97565b34101561107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107490614645565b60405180910390fd5b60005b828110156110a45761109184612af4565b808061109c90614665565b915050611080565b50505050565b6110c583838360405180602001604052806000815250611e31565b505050565b606060006110d783611345565b905060008167ffffffffffffffff8111156110f5576110f4613c45565b5b6040519080825280602002602001820160405280156111235781602001602082028036833780820191505090505b50905060005b8281101561116d5761113b8582610dbb565b82828151811061114e5761114d6146ae565b5b602002602001018181525050808061116590614665565b915050611129565b508092505050919050565b6000611182610d17565b82106111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba9061474f565b60405180910390fd5b600882815481106111d7576111d66146ae565b5b90600052602060002001549050919050565b6111f16126d2565b73ffffffffffffffffffffffffffffffffffffffff1661120f6119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c906147bb565b60405180910390fd5b806010908051906020019061127b929190613759565b5050565b6000611289612ae3565b905090565b600a81565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113339061484d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad906148df565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114056126d2565b73ffffffffffffffffffffffffffffffffffffffff166114236119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611470906147bb565b60405180910390fd5b6114836000612b45565b565b61148d6126d2565b73ffffffffffffffffffffffffffffffffffffffff166114ab6119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f8906147bb565b60405180910390fd5b60005b8282905081101561171657600073ffffffffffffffffffffffffffffffffffffffff1683838381811061153a576115396146ae565b5b905060200201602081019061154f9190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1614156115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d9061494b565b60405180910390fd5b6001600d60008585858181106115bf576115be6146ae565b5b90506020020160208101906115d49190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600e600085858581811061163e5761163d6146ae565b5b90506020020160208101906116539190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161169a576000611702565b600e60008484848181106116b1576116b06146ae565b5b90506020020160208101906116c69190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b50808061170e90614665565b915050611504565b505050565b609681565b6117286126d2565b73ffffffffffffffffffffffffffffffffffffffff166117466119a3565b73ffffffffffffffffffffffffffffffffffffffff161461179c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611793906147bb565b60405180910390fd5b609681600f546117ac9190614439565b11156117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e4906149b7565b60405180910390fd5b60005b8181101561182c57600f600081548092919061180b90614665565b919050555061181983612af4565b808061182490614665565b9150506117f0565b505050565b6118396126d2565b73ffffffffffffffffffffffffffffffffffffffff166118576119a3565b73ffffffffffffffffffffffffffffffffffffffff16146118ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a4906147bb565b60405180910390fd5b6000479050600081116118bf57600080fd5b60006118e860646118da602885612acd90919063ffffffff16565b612c0b90919063ffffffff16565b90506119087371959e2c8337493368c000ef0f1c98c8bb79a7af82612c21565b61192673ae285d3fa6ace812e3a54f7713e6008f157dfc6682612c21565b600061194f6064611941600a86612acd90919063ffffffff16565b612c0b90919063ffffffff16565b905061196f732fc75c3ba5b199323c3f919c594d2c061cc689dd82612c21565b61198d73b4ce79c7592f53505d551cb57439fc16a9e0ef5c82612c21565b505050565b600a81565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546119dc90614092565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0890614092565b8015611a555780601f10611a2a57610100808354040283529160200191611a55565b820191906000526020600020905b815481529060010190602001808311611a3857829003601f168201915b5050505050905090565b611a676126d2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc90614a23565b60405180910390fd5b8060056000611ae26126d2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b8f6126d2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bd491906138b0565b60405180910390a35050565b611be86126d2565b73ffffffffffffffffffffffffffffffffffffffff16611c066119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c53906147bb565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b611c816126d2565b73ffffffffffffffffffffffffffffffffffffffff16611c9f6119a3565b73ffffffffffffffffffffffffffffffffffffffff1614611cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cec906147bb565b60405180910390fd5b60005b82829050811015611e2c57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611d2e57611d2d6146ae565b5b9050602002016020810190611d439190613b2e565b73ffffffffffffffffffffffffffffffffffffffff161415611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d919061494b565b60405180910390fd5b6000600d6000858585818110611db357611db26146ae565b5b9050602002016020810190611dc89190613b2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611e2490614665565b915050611cf8565b505050565b611e42611e3c6126d2565b83612793565b611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906142ec565b60405180910390fd5b611e8d84848484612c6c565b50505050565b73ae285d3fa6ace812e3a54f7713e6008f157dfc6681565b6060611eb682612666565b611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90614ab5565b60405180910390fd5b6000611eff612cc8565b90506000815111611f1f5760405180602001604052806000815250611f4a565b80611f2984612d5a565b604051602001611f3a929190614b11565b6040516020818303038152906040525b915050919050565b600c60019054906101000a900460ff16611fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9890614b81565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490614c13565b60405180910390fd5b600a811115612071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206890614c7f565b60405180910390fd5b600a81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120be9190614439565b11156120ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f690614d11565b60405180910390fd5b6000612109612ae3565b9050610b22828261211a9190614439565b111561215b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612152906144db565b60405180910390fd5b610b228111156121a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121979061456d565b60405180910390fd5b6121a982610d97565b3410156121eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e290614645565b60405180910390fd5b60005b82811015612269576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122469190614439565b9250508190555061225633612af4565b808061226190614665565b9150506121ee565b505050565b732fc75c3ba5b199323c3f919c594d2c061cc689dd81565b6010805461229390614092565b80601f01602080910402602001604051908101604052809291908181526020018280546122bf90614092565b801561230c5780601f106122e15761010080835404028352916020019161230c565b820191906000526020600020905b8154815290600101906020018083116122ef57829003601f168201915b505050505081565b636179e80081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff1681565b6123cb6126d2565b73ffffffffffffffffffffffffffffffffffffffff166123e96119a3565b73ffffffffffffffffffffffffffffffffffffffff161461243f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612436906147bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a690614da3565b60405180910390fd5b6124b881612b45565b50565b6124c36126d2565b73ffffffffffffffffffffffffffffffffffffffff166124e16119a3565b73ffffffffffffffffffffffffffffffffffffffff1614612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252e906147bb565b60405180910390fd5b80600c60016101000a81548160ff02191690831515021790555050565b7371959e2c8337493368c000ef0f1c98c8bb79a7af81565b73b4ce79c7592f53505d551cb57439fc16a9e0ef5c81565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061264f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061265f575061265e82612ebb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661274d83611293565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061279e82612666565b6127dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d490614e35565b60405180910390fd5b60006127e883611293565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061285757508373ffffffffffffffffffffffffffffffffffffffff1661283f84610b7a565b73ffffffffffffffffffffffffffffffffffffffff16145b806128685750612867818561231c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661289182611293565b73ffffffffffffffffffffffffffffffffffffffff16146128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de90614ec7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294e90614f59565b60405180910390fd5b612962838383612f25565b61296d6000826126da565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129bd9190614f79565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a149190614439565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612adb9190614fad565b905092915050565b6000612aef600b613039565b905090565b6000612afe612ae3565b9050612b0a600b613047565b612b14828261305d565b807fad75bedec04456372ead5b9bb855b717591fd3a4a09ee9d466391463c273654860405160405180910390a25050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612c199190615036565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612c67573d6000803e3d6000fd5b505050565b612c77848484612871565b612c838484848461307b565b612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb9906150d9565b60405180910390fd5b50505050565b606060108054612cd790614092565b80601f0160208091040260200160405190810160405280929190818152602001828054612d0390614092565b8015612d505780601f10612d2557610100808354040283529160200191612d50565b820191906000526020600020905b815481529060010190602001808311612d3357829003601f168201915b5050505050905090565b60606000821415612da2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612eb6565b600082905060005b60008214612dd4578080612dbd90614665565b915050600a82612dcd9190615036565b9150612daa565b60008167ffffffffffffffff811115612df057612def613c45565b5b6040519080825280601f01601f191660200182016040528015612e225781602001600182028036833780820191505090505b5090505b60008514612eaf57600182612e3b9190614f79565b9150600a85612e4a91906150f9565b6030612e569190614439565b60f81b818381518110612e6c57612e6b6146ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ea89190615036565b9450612e26565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f30838383613212565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f7357612f6e81613217565b612fb2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fb157612fb08382613260565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ff557612ff0816133cd565b613034565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461303357613032828261349e565b5b5b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b61307782826040518060200160405280600081525061351d565b5050565b600061309c8473ffffffffffffffffffffffffffffffffffffffff16613578565b15613205578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130c56126d2565b8786866040518563ffffffff1660e01b81526004016130e7949392919061517f565b602060405180830381600087803b15801561310157600080fd5b505af192505050801561313257506040513d601f19601f8201168201806040525081019061312f91906151e0565b60015b6131b5573d8060008114613162576040519150601f19603f3d011682016040523d82523d6000602084013e613167565b606091505b506000815114156131ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a4906150d9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061320a565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161326d84611345565b6132779190614f79565b905060006007600084815260200190815260200160002054905081811461335c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133e19190614f79565b9050600060096000848152602001908152602001600020549050600060088381548110613411576134106146ae565b5b906000526020600020015490508060088381548110613433576134326146ae565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134825761348161520d565b5b6001900381819060005260206000200160009055905550505050565b60006134a983611345565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b613527838361358b565b613534600084848461307b565b613573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356a906150d9565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f290615288565b60405180910390fd5b61360481612666565b15613644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363b906152f4565b60405180910390fd5b61365060008383612f25565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a09190614439565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461376590614092565b90600052602060002090601f01602090048101928261378757600085556137ce565b82601f106137a057805160ff19168380011785556137ce565b828001600101855582156137ce579182015b828111156137cd5782518255916020019190600101906137b2565b5b5090506137db91906137df565b5090565b5b808211156137f85760008160009055506001016137e0565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61384581613810565b811461385057600080fd5b50565b6000813590506138628161383c565b92915050565b60006020828403121561387e5761387d613806565b5b600061388c84828501613853565b91505092915050565b60008115159050919050565b6138aa81613895565b82525050565b60006020820190506138c560008301846138a1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139055780820151818401526020810190506138ea565b83811115613914576000848401525b50505050565b6000601f19601f8301169050919050565b6000613936826138cb565b61394081856138d6565b93506139508185602086016138e7565b6139598161391a565b840191505092915050565b6000602082019050818103600083015261397e818461392b565b905092915050565b6000819050919050565b61399981613986565b81146139a457600080fd5b50565b6000813590506139b681613990565b92915050565b6000602082840312156139d2576139d1613806565b5b60006139e0848285016139a7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a14826139e9565b9050919050565b613a2481613a09565b82525050565b6000602082019050613a3f6000830184613a1b565b92915050565b613a4e81613a09565b8114613a5957600080fd5b50565b600081359050613a6b81613a45565b92915050565b60008060408385031215613a8857613a87613806565b5b6000613a9685828601613a5c565b9250506020613aa7858286016139a7565b9150509250929050565b613aba81613986565b82525050565b6000602082019050613ad56000830184613ab1565b92915050565b600080600060608486031215613af457613af3613806565b5b6000613b0286828701613a5c565b9350506020613b1386828701613a5c565b9250506040613b24868287016139a7565b9150509250925092565b600060208284031215613b4457613b43613806565b5b6000613b5284828501613a5c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b9081613986565b82525050565b6000613ba28383613b87565b60208301905092915050565b6000602082019050919050565b6000613bc682613b5b565b613bd08185613b66565b9350613bdb83613b77565b8060005b83811015613c0c578151613bf38882613b96565b9750613bfe83613bae565b925050600181019050613bdf565b5085935050505092915050565b60006020820190508181036000830152613c338184613bbb565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c7d8261391a565b810181811067ffffffffffffffff82111715613c9c57613c9b613c45565b5b80604052505050565b6000613caf6137fc565b9050613cbb8282613c74565b919050565b600067ffffffffffffffff821115613cdb57613cda613c45565b5b613ce48261391a565b9050602081019050919050565b82818337600083830152505050565b6000613d13613d0e84613cc0565b613ca5565b905082815260208101848484011115613d2f57613d2e613c40565b5b613d3a848285613cf1565b509392505050565b600082601f830112613d5757613d56613c3b565b5b8135613d67848260208601613d00565b91505092915050565b600060208284031215613d8657613d85613806565b5b600082013567ffffffffffffffff811115613da457613da361380b565b5b613db084828501613d42565b91505092915050565b600080fd5b600080fd5b60008083601f840112613dd957613dd8613c3b565b5b8235905067ffffffffffffffff811115613df657613df5613db9565b5b602083019150836020820283011115613e1257613e11613dbe565b5b9250929050565b60008060208385031215613e3057613e2f613806565b5b600083013567ffffffffffffffff811115613e4e57613e4d61380b565b5b613e5a85828601613dc3565b92509250509250929050565b613e6f81613895565b8114613e7a57600080fd5b50565b600081359050613e8c81613e66565b92915050565b60008060408385031215613ea957613ea8613806565b5b6000613eb785828601613a5c565b9250506020613ec885828601613e7d565b9150509250929050565b600060208284031215613ee857613ee7613806565b5b6000613ef684828501613e7d565b91505092915050565b600067ffffffffffffffff821115613f1a57613f19613c45565b5b613f238261391a565b9050602081019050919050565b6000613f43613f3e84613eff565b613ca5565b905082815260208101848484011115613f5f57613f5e613c40565b5b613f6a848285613cf1565b509392505050565b600082601f830112613f8757613f86613c3b565b5b8135613f97848260208601613f30565b91505092915050565b60008060008060808587031215613fba57613fb9613806565b5b6000613fc887828801613a5c565b9450506020613fd987828801613a5c565b9350506040613fea878288016139a7565b925050606085013567ffffffffffffffff81111561400b5761400a61380b565b5b61401787828801613f72565b91505092959194509250565b6000806040838503121561403a57614039613806565b5b600061404885828601613a5c565b925050602061405985828601613a5c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140aa57607f821691505b602082108114156140be576140bd614063565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614120602c836138d6565b915061412b826140c4565b604082019050919050565b6000602082019050818103600083015261414f81614113565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006141b26021836138d6565b91506141bd82614156565b604082019050919050565b600060208201905081810360008301526141e1816141a5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006142446038836138d6565b915061424f826141e8565b604082019050919050565b6000602082019050818103600083015261427381614237565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006142d66031836138d6565b91506142e18261427a565b604082019050919050565b60006020820190508181036000830152614305816142c9565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614368602b836138d6565b91506143738261430c565b604082019050919050565b600060208201905081810360008301526143978161435b565b9050919050565b7f53616c65206973206e6f74206f70656e00000000000000000000000000000000600082015250565b60006143d46010836138d6565b91506143df8261439e565b602082019050919050565b60006020820190508181036000830152614403816143c7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061444482613986565b915061444f83613986565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144845761448361440a565b5b828201905092915050565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b60006144c56009836138d6565b91506144d08261448f565b602082019050919050565b600060208201905081810360008301526144f4816144b8565b9050919050565b7f416c6c20556e64656164507265736964656e74732061726520736f6c64206f7560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006145576021836138d6565b9150614562826144fb565b604082019050919050565b600060208201905081810360008301526145868161454a565b9050919050565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b60006145c3600e836138d6565b91506145ce8261458d565b602082019050919050565b600060208201905081810360008301526145f2816145b6565b9050919050565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b600061462f6011836138d6565b915061463a826145f9565b602082019050919050565b6000602082019050818103600083015261465e81614622565b9050919050565b600061467082613986565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146a3576146a261440a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614739602c836138d6565b9150614744826146dd565b604082019050919050565b600060208201905081810360008301526147688161472c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147a56020836138d6565b91506147b08261476f565b602082019050919050565b600060208201905081810360008301526147d481614798565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148376029836138d6565b9150614842826147db565b604082019050919050565b600060208201905081810360008301526148668161482a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006148c9602a836138d6565b91506148d48261486d565b604082019050919050565b600060208201905081810360008301526148f8816148bc565b9050919050565b7f4e756c6c206164647265737320666f756e640000000000000000000000000000600082015250565b60006149356012836138d6565b9150614940826148ff565b602082019050919050565b6000602082019050818103600083015261496481614928565b9050919050565b7f4d61782072657365727665206578636565646564000000000000000000000000600082015250565b60006149a16014836138d6565b91506149ac8261496b565b602082019050919050565b600060208201905081810360008301526149d081614994565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a0d6019836138d6565b9150614a18826149d7565b602082019050919050565b60006020820190508181036000830152614a3c81614a00565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614a9f602f836138d6565b9150614aaa82614a43565b604082019050919050565b60006020820190508181036000830152614ace81614a92565b9050919050565b600081905092915050565b6000614aeb826138cb565b614af58185614ad5565b9350614b058185602086016138e7565b80840191505092915050565b6000614b1d8285614ae0565b9150614b298284614ae0565b91508190509392505050565b7f50726573616c65206973206e6f74206f70656e00000000000000000000000000600082015250565b6000614b6b6013836138d6565b9150614b7682614b35565b602082019050919050565b60006020820190508181036000830152614b9a81614b5e565b9050919050565b7f596f7520617265206e6f7420696e207468652070726573616c6520776869746560008201527f6c69737400000000000000000000000000000000000000000000000000000000602082015250565b6000614bfd6024836138d6565b9150614c0882614ba1565b604082019050919050565b60006020820190508181036000830152614c2c81614bf0565b9050919050565b7f496e636f727265637420616d6f756e7420746f20636c61696d00000000000000600082015250565b6000614c696019836138d6565b9150614c7482614c33565b602082019050919050565b60006020820190508181036000830152614c9881614c5c565b9050919050565b7f50757263686173652065786365656473206d617820616c6c6f7765642064757260008201527f696e672070726573616c65000000000000000000000000000000000000000000602082015250565b6000614cfb602b836138d6565b9150614d0682614c9f565b604082019050919050565b60006020820190508181036000830152614d2a81614cee565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d8d6026836138d6565b9150614d9882614d31565b604082019050919050565b60006020820190508181036000830152614dbc81614d80565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614e1f602c836138d6565b9150614e2a82614dc3565b604082019050919050565b60006020820190508181036000830152614e4e81614e12565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614eb16029836138d6565b9150614ebc82614e55565b604082019050919050565b60006020820190508181036000830152614ee081614ea4565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f436024836138d6565b9150614f4e82614ee7565b604082019050919050565b60006020820190508181036000830152614f7281614f36565b9050919050565b6000614f8482613986565b9150614f8f83613986565b925082821015614fa257614fa161440a565b5b828203905092915050565b6000614fb882613986565b9150614fc383613986565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ffc57614ffb61440a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504182613986565b915061504c83613986565b92508261505c5761505b615007565b5b828204905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150c36032836138d6565b91506150ce82615067565b604082019050919050565b600060208201905081810360008301526150f2816150b6565b9050919050565b600061510482613986565b915061510f83613986565b92508261511f5761511e615007565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006151518261512a565b61515b8185615135565b935061516b8185602086016138e7565b6151748161391a565b840191505092915050565b60006080820190506151946000830187613a1b565b6151a16020830186613a1b565b6151ae6040830185613ab1565b81810360608301526151c08184615146565b905095945050505050565b6000815190506151da8161383c565b92915050565b6000602082840312156151f6576151f5613806565b5b6000615204848285016151cb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152726020836138d6565b915061527d8261523c565b602082019050919050565b600060208201905081810360008301526152a181615265565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006152de601c836138d6565b91506152e9826152a8565b602082019050919050565b6000602082019050818103600083015261530d816152d1565b905091905056fea264697066735822122087e44c8880bb133ced6dcfd509aeb6ff8be0ae72ecd4a7d2ee20d3a69cf0b79c64736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f6b72617070796172742e6865726f6b756170702e636f6d2f756e64656164707265736964656e74732f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://krappyart.herokuapp.com/undeadpresidents/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [2] : 68747470733a2f2f6b72617070796172742e6865726f6b756170702e636f6d2f
Arg [3] : 756e64656164707265736964656e74732f000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.