ETH Price: $3,102.98 (-0.02%)

Token

AngelBlock NFTs (AB)
 

Overview

Max Total Supply

2,407 AB

Holders

350

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
magicninjax.eth
Balance
3 AB
0x72c436802e67b0e6107696218a6475f877ceddcd
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

AngelBlock NFTs are a collection of 6,900 unique and programmatically generated NFTs with vastly varying traits, attributes, and rarity. They will have a wide range of utility on the AngelBlock platform - a DeFi protocol focused on raising funds for Web3 startups.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AbNFT

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : AbNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.14;

/**************************************

    security-contact:
    - [email protected]
    - [email protected]
    - [email protected]

**************************************/

// OpenZeppelin
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { ERC721Enumerable } from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import { IERC2981 } from "@openzeppelin/contracts/interfaces/IERC2981.sol";
import { IERC165 } from "@openzeppelin/contracts/interfaces/IERC165.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";

// Local
import { Configurable } from "./utils/Configurable.sol";
import { IAbNFT } from "./interfaces/IAbNFT.sol";

/**************************************

    AB NFT token

 **************************************/

contract AbNFT is IAbNFT, IERC2981, ERC721Enumerable, Ownable, Configurable {

    // libs
    using Strings for uint256;

    // structs
    struct RangedURI {
        uint256 range;
        string uri;
    }

    // constants
    uint256 public TRANSFER_FEE = 420; // divided by 10.000

    // contracts
    address public minterAddress;

    // storage
    string public blindURI;
    RangedURI[] public uris;
    uint256 public toVest;

    // events
    event Minted(uint256[] nftIds, address owner);
    event Revealed(RangedURI uri);
    event Vested(address owner, uint256 amount);

    // errors
    error MinterAddressNotSet();
    error NotMinter(address senderAddress);
    error BlindURINotSet();
    error NftAlreadyMinted(uint256 tokenId);
    error NftDoesNotExist(uint256 tokenId);
    error VestNotPossible(uint256 amount, uint256 available);
    error TooLowRange(uint256 range, uint256 existing);

    // modifiers
    modifier onlyMinter() {

        // check sender
        if (msg.sender != minterAddress) {
            revert NotMinter(msg.sender);
        }
        _;

    }

    /**************************************

        Constructor

     **************************************/

    constructor()
    ERC721("AngelBlock NFTs", "AB")
    Ownable() {}

    /**************************************

        Set minter address

     **************************************/

    function setMinterAddress(address _minterAddress) external
    onlyInState(State.UNCONFIGURED)
    onlyOwner {

        // storage
        minterAddress = _minterAddress;

    }

    /**************************************

        Set blind URI

     **************************************/

    function setBlindURI(string memory _blindURI) external
    onlyInState(State.UNCONFIGURED)
    onlyOwner {

        // storage
        blindURI = _blindURI;

    }

    /**************************************

        Set as configured

     **************************************/

    function setConfigured() public override
    onlyInState(State.UNCONFIGURED) {

        // check minter
        if (minterAddress == address(0)) {
            revert MinterAddressNotSet();
        }

        // check blindURI
        if (keccak256(bytes(blindURI)) == keccak256(bytes(""))) {
            revert BlindURINotSet();
        }

        // super
        super.setConfigured();

    }

    /**************************************

        Internal: override ERC721

     **************************************/

    function _baseURI() internal view virtual override
    onlyInState(State.CONFIGURED)
    returns (string memory) {

        // return
        return blindURI;

    }

    /**************************************

        Internal: Convert token to uri

     **************************************/

    function _tokenIdToUriId(uint256 _tokenId) internal view
    returns (int256) {

        // length
        uint256 length_ = uris.length;

        // loop
        for (uint256 i = 0; i < length_; i++) {

            // get uri
            RangedURI memory uri_ = uris[i];

            // check if token is within range
            if (uri_.range > _tokenId) {

                // return uri id
                return int256(i);

            }

        }

        // return not found
        return -1;

    }

    /**************************************

        Get token URI

     **************************************/

    function tokenURI(uint256 _tokenId) public view virtual override
    onlyInState(State.CONFIGURED)
    returns (string memory) {

        // check if token exists
        if (!_exists(_tokenId)) {
            revert NftDoesNotExist(_tokenId);
        }

        // token to uri id
        int256 uriId_ = _tokenIdToUriId(_tokenId);

        // check if revealed else return blind
        if (uriId_ < 0) return _baseURI();

        // get revealed uri
        string memory uri_ = uris[uint256(uriId_)].uri;

        // return revealed uri
        return string(abi.encodePacked(uri_, _tokenId.toString()));

    }

    /**************************************

        Mint from Minter

     **************************************/

    function mint(uint256[] calldata _nftIds, address _owner) external override
    onlyInState(State.CONFIGURED)
    onlyMinter {

        // mint
        __mint(_nftIds, _owner);

    }

    /**************************************

        Vested claim from Minter

     **************************************/

    function vestedClaim(uint256[] calldata _nftIds, address _vesting) external
    onlyInState(State.CONFIGURED)
    onlyMinter {

        // amount to vest
        uint256 amount_ = _nftIds.length;

        // check if vest is possible
        if (toVest < amount_) {
            revert VestNotPossible(amount_, toVest);
        }

        // decrement available to vest
        toVest -= amount_;

        // vested claim
        __mint(_nftIds, _vesting);

        // event
        emit Vested(_vesting, amount_);

    }

    /**************************************

        Internal: mint

     **************************************/

    function __mint(uint256[] calldata _nftIds, address _owner) internal {

        // length
        uint256 length_ = _nftIds.length;

        // loop through ids
        for (uint256 i = 0; i < length_; i++) {

            // check if nft exists already
            if (_exists(_nftIds[i])) {
                revert NftAlreadyMinted(_nftIds[i]);
            }

            // mint
            _safeMint(_owner, _nftIds[i]);

        }

        // event
        emit Minted(_nftIds, _owner);

    }

    /**************************************

        Reveal from Minter

     **************************************/

    function reveal(
        uint256 _range,
        string memory _revealedURI,
        uint256 _toVest
    ) external
    onlyInState(State.CONFIGURED)
    onlyMinter {

        // get uri
        RangedURI memory rangedURI_ = RangedURI(
            _range,
            _revealedURI
        );

        // check range
        if (uris.length > 0 && uris[uris.length - 1].range >= rangedURI_.range) {
            revert TooLowRange(
                rangedURI_.range,
                uris[uris.length - 1].range
            );
        }

        // storage
        if (_toVest > 0) toVest += _toVest;
        uris.push(rangedURI_);

        // event
        emit Revealed(rangedURI_);

    }

    /**************************************

        Royalties - ERC2981

     **************************************/

    function royaltyInfo(uint256, uint256 value) external view override
    returns (address, uint256) {

        // return owner fee 4.20% of transaction
        return (owner(), value * TRANSFER_FEE / 10000);

    }

    /**************************************

        Supports interface

    **************************************/

    function supportsInterface(bytes4 interfaceId) public view virtual
    override(ERC721Enumerable, IERC165)
    returns (bool) {
        return
            interfaceId == type(IAbNFT).interfaceId ||
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

}

File 2 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 5 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 6 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 8 of 17 : Configurable.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.14;

/**************************************

    security-contact:
    - [email protected]
    - [email protected]
    - [email protected]

**************************************/

/**************************************

    Configurable

    ------------

    Base contract that should be inherited
    and setConfigured function should be overridden

 **************************************/

abstract contract Configurable {

    // enum
    enum State {
        UNCONFIGURED,
        CONFIGURED
    }

    // storage
    State public state; // default -> State.UNCONFIGURED;

    // events
    event Initialised(bytes);
    event Configured(bytes);

    // errors
    error InvalidState(State current, State expected);

    // modifier
    modifier onlyInState(State _state) {

        // check state
        if (state != _state) revert InvalidState(state, _state);
        _;

    }

    /**************************************

        Configuration

        -------------

        Should be overridden with
        proper access control

     **************************************/

    function setConfigured() public virtual
    onlyInState(State.UNCONFIGURED) {

        // set as configured
        state = State.CONFIGURED;

    }

}

File 9 of 17 : IAbNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.14;

/**************************************

    security-contact:
    - [email protected]
    - [email protected]
    - [email protected]

**************************************/

// OpenZeppelin
import { IERC721Enumerable } from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

/**************************************

    Minter interface

 **************************************/

interface IAbNFT is IERC721Enumerable {

    // external functions
    function mint(uint256[] calldata _nftIds, address _owner) external;
    function reveal(uint256 _range, string memory _revealedURI, uint256 _toClaim) external;
    function vestedClaim(uint256[] calldata _nftIds, address _owner) external;

}

File 10 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 11 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 12 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 13 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 14 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 15 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 16 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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 17 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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
{
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BlindURINotSet","type":"error"},{"inputs":[{"internalType":"enum Configurable.State","name":"current","type":"uint8"},{"internalType":"enum Configurable.State","name":"expected","type":"uint8"}],"name":"InvalidState","type":"error"},{"inputs":[],"name":"MinterAddressNotSet","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NftAlreadyMinted","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NftDoesNotExist","type":"error"},{"inputs":[{"internalType":"address","name":"senderAddress","type":"address"}],"name":"NotMinter","type":"error"},{"inputs":[{"internalType":"uint256","name":"range","type":"uint256"},{"internalType":"uint256","name":"existing","type":"uint256"}],"name":"TooLowRange","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"}],"name":"VestNotPossible","type":"error"},{"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":false,"internalType":"bytes","name":"","type":"bytes"}],"name":"Configured","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"","type":"bytes"}],"name":"Initialised","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"nftIds","type":"uint256[]"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Minted","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":[{"components":[{"internalType":"uint256","name":"range","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"indexed":false,"internalType":"struct AbNFT.RangedURI","name":"uri","type":"tuple"}],"name":"Revealed","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Vested","type":"event"},{"inputs":[],"name":"TRANSFER_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"blindURI","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":[{"internalType":"uint256[]","name":"_nftIds","type":"uint256[]"},{"internalType":"address","name":"_owner","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_range","type":"uint256"},{"internalType":"string","name":"_revealedURI","type":"string"},{"internalType":"uint256","name":"_toVest","type":"uint256"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"_blindURI","type":"string"}],"name":"setBlindURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setConfigured","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minterAddress","type":"address"}],"name":"setMinterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"enum Configurable.State","name":"","type":"uint8"}],"stateMutability":"view","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":"toVest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"uint256","name":"","type":"uint256"}],"name":"uris","outputs":[{"internalType":"uint256","name":"range","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_nftIds","type":"uint256[]"},{"internalType":"address","name":"_vesting","type":"address"}],"name":"vestedClaim","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526101a4600b553480156200001757600080fd5b506040518060400160405280600f81526020017f416e67656c426c6f636b204e46547300000000000000000000000000000000008152506040518060400160405280600281526020017f414200000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009c929190620001ac565b508060019080519060200190620000b5929190620001ac565b505050620000d8620000cc620000de60201b60201c565b620000e660201b60201c565b620002c0565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ba906200028b565b90600052602060002090601f016020900481019282620001de57600085556200022a565b82601f10620001f957805160ff19168380011785556200022a565b828001600101855582156200022a579182015b82811115620002295782518255916020019190600101906200020c565b5b5090506200023991906200023d565b5090565b5b80821115620002585760008160009055506001016200023e565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002a457607f821691505b602082108103620002ba57620002b96200025c565b5b50919050565b614c7a80620002d06000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80636352211e1161010f578063b88d4fde116100a2578063e985e9c511610071578063e985e9c5146105a5578063ec3e1aa9146105d5578063eff95537146105f3578063f2fde38b14610611576101f0565b8063b88d4fde1461051f578063ba0a06431461053b578063c19d93fb14610557578063c87b56dd14610575576101f0565b80638da5cb5b116100de5780638da5cb5b146104ab57806395d89b41146104c9578063a22cb465146104e7578063a3106b9514610503576101f0565b80636352211e1461042557806370a0823114610455578063715018a6146104855780638cb733041461048f576101f0565b80632f745c591161018757806342842e0e1161015657806342842e0e146103a15780634f3ae594146103bd5780634f6ccce7146103d95780635c5b69a914610409576101f0565b80632f745c591461032b57806334d722c91461035b578063356ac3f7146103795780633626519214610383576101f0565b80631253c546116101c35780631253c5461461028f57806318160ddd146102c057806323b872dd146102de5780632a55205a146102fa576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a919061343e565b61062d565b60405161021c9190613486565b60405180910390f35b61022d61070f565b60405161023a919061353a565b60405180910390f35b61025d60048036038101906102589190613592565b6107a1565b60405161026a9190613600565b60405180910390f35b61028d60048036038101906102889190613647565b610826565b005b6102a960048036038101906102a49190613592565b61093d565b6040516102b7929190613696565b60405180910390f35b6102c86109f9565b6040516102d591906136c6565b60405180910390f35b6102f860048036038101906102f391906136e1565b610a06565b005b610314600480360381019061030f9190613734565b610a66565b604051610322929190613774565b60405180910390f35b61034560048036038101906103409190613647565b610a97565b60405161035291906136c6565b60405180910390f35b610363610b3c565b6040516103709190613600565b60405180910390f35b610381610b62565b005b61038b610ce4565b60405161039891906136c6565b60405180910390f35b6103bb60048036038101906103b691906136e1565b610cea565b005b6103d760048036038101906103d291906138d2565b610d0a565b005b6103f360048036038101906103ee9190613592565b610fc1565b60405161040091906136c6565b60405180910390f35b610423600480360381019061041e91906139a1565b611032565b005b61043f600480360381019061043a9190613592565b61115f565b60405161044c9190613600565b60405180910390f35b61046f600480360381019061046a9190613a01565b611210565b60405161047c91906136c6565b60405180910390f35b61048d6112c7565b005b6104a960048036038101906104a491906139a1565b61134f565b005b6104b3611521565b6040516104c09190613600565b60405180910390f35b6104d161154b565b6040516104de919061353a565b60405180910390f35b61050160048036038101906104fc9190613a5a565b6115dd565b005b61051d60048036038101906105189190613a01565b6115f3565b005b61053960048036038101906105349190613b3b565b61173e565b005b61055560048036038101906105509190613bbe565b6117a0565b005b61055f6118c1565b60405161056c9190613c7e565b60405180910390f35b61058f600480360381019061058a9190613592565b6118d4565b60405161059c919061353a565b60405180910390f35b6105bf60048036038101906105ba9190613c99565b611ab7565b6040516105cc9190613486565b60405180910390f35b6105dd611b4b565b6040516105ea91906136c6565b60405180910390f35b6105fb611b51565b604051610608919061353a565b60405180910390f35b61062b60048036038101906106269190613a01565b611bdf565b005b60007f9fd6bf39000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f857507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610708575061070782611cd6565b5b9050919050565b60606000805461071e90613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461074a90613d08565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b5050505050905090565b60006107ac82611d50565b6107eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e290613dab565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108318261115f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089890613e3d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108c0611dbc565b73ffffffffffffffffffffffffffffffffffffffff1614806108ef57506108ee816108e9611dbc565b611ab7565b5b61092e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092590613ecf565b60405180910390fd5b6109388383611dc4565b505050565b600e818154811061094d57600080fd5b906000526020600020906002020160009150905080600001549080600101805461097690613d08565b80601f01602080910402602001604051908101604052809291908181526020018280546109a290613d08565b80156109ef5780601f106109c4576101008083540402835291602001916109ef565b820191906000526020600020905b8154815290600101906020018083116109d257829003601f168201915b5050505050905082565b6000600880549050905090565b610a17610a11611dbc565b82611e7d565b610a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4d90613f61565b60405180910390fd5b610a61838383611f5b565b505050565b600080610a71611521565b612710600b5485610a829190613fb0565b610a8c9190614039565b915091509250929050565b6000610aa283611210565b8210610ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ada906140dc565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806001811115610b7757610b76613c07565b5b600a60149054906101000a900460ff166001811115610b9957610b98613c07565b5b14610bec57600a60149054906101000a900460ff16816040517f77e5c5f2000000000000000000000000000000000000000000000000000000008152600401610be39291906140fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610c74576040517f167ccd6c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518060200160405280600081525080519060200120600d604051610c9a91906141c4565b604051809103902003610cd9576040517f60ce85aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ce16121c1565b50565b600b5481565b610d058383836040518060200160405280600081525061173e565b505050565b6001806001811115610d1f57610d1e613c07565b5b600a60149054906101000a900460ff166001811115610d4157610d40613c07565b5b14610d9457600a60149054906101000a900460ff16816040517f77e5c5f2000000000000000000000000000000000000000000000000000000008152600401610d8b9291906140fc565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e2657336040517f361c31f2000000000000000000000000000000000000000000000000000000008152600401610e1d9190613600565b60405180910390fd5b600060405180604001604052808681526020018581525090506000600e80549050118015610e8e57508060000151600e6001600e80549050610e6891906141db565b81548110610e7957610e7861420f565b5b90600052602060002090600202016000015410155b15610f0b578060000151600e6001600e80549050610eac91906141db565b81548110610ebd57610ebc61420f565b5b9060005260206000209060020201600001546040517ec1367a000000000000000000000000000000000000000000000000000000008152600401610f0292919061423e565b60405180910390fd5b6000831115610f2e5782600f6000828254610f269190614267565b925050819055505b600e819080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001019080519060200190610f8092919061332f565b5050507f9a74f844ab02dd5a30a726b8a6bf585b315738a4f6a038f73e3c4704dd50a6ea81604051610fb29190614353565b60405180910390a15050505050565b6000610fcb6109f9565b821061100c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611003906143e7565b60405180910390fd5b600882815481106110205761101f61420f565b5b90600052602060002001549050919050565b600180600181111561104757611046613c07565b5b600a60149054906101000a900460ff16600181111561106957611068613c07565b5b146110bc57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016110b39291906140fc565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461114e57336040517f361c31f20000000000000000000000000000000000000000000000000000000081526004016111459190613600565b60405180910390fd5b611159848484612279565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fe90614479565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611280576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112779061450b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112cf611dbc565b73ffffffffffffffffffffffffffffffffffffffff166112ed611521565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90614577565b60405180910390fd5b61134d6000612381565b565b600180600181111561136457611363613c07565b5b600a60149054906101000a900460ff16600181111561138657611385613c07565b5b146113d957600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016113d09291906140fc565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461146b57336040517f361c31f20000000000000000000000000000000000000000000000000000000081526004016114629190613600565b60405180910390fd5b600084849050905080600f5410156114be5780600f546040517fcce1a5610000000000000000000000000000000000000000000000000000000081526004016114b592919061423e565b60405180910390fd5b80600f60008282546114d091906141db565b925050819055506114e2858585612279565b7ed5958799b183a7b738d3ad5e711305293dd5076a37a4e3b7e6611dea6114f38382604051611512929190613774565b60405180910390a15050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461155a90613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461158690613d08565b80156115d35780601f106115a8576101008083540402835291602001916115d3565b820191906000526020600020905b8154815290600101906020018083116115b657829003601f168201915b5050505050905090565b6115ef6115e8611dbc565b8383612447565b5050565b600080600181111561160857611607613c07565b5b600a60149054906101000a900460ff16600181111561162a57611629613c07565b5b1461167d57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016116749291906140fc565b60405180910390fd5b611685611dbc565b73ffffffffffffffffffffffffffffffffffffffff166116a3611521565b73ffffffffffffffffffffffffffffffffffffffff16146116f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f090614577565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61174f611749611dbc565b83611e7d565b61178e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178590613f61565b60405180910390fd5b61179a848484846125b3565b50505050565b60008060018111156117b5576117b4613c07565b5b600a60149054906101000a900460ff1660018111156117d7576117d6613c07565b5b1461182a57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016118219291906140fc565b60405180910390fd5b611832611dbc565b73ffffffffffffffffffffffffffffffffffffffff16611850611521565b73ffffffffffffffffffffffffffffffffffffffff16146118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614577565b60405180910390fd5b81600d90805190602001906118bc92919061332f565b505050565b600a60149054906101000a900460ff1681565b606060018060018111156118eb576118ea613c07565b5b600a60149054906101000a900460ff16600181111561190d5761190c613c07565b5b1461196057600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016119579291906140fc565b60405180910390fd5b61196983611d50565b6119aa57826040517f4ab54b420000000000000000000000000000000000000000000000000000000081526004016119a191906136c6565b60405180910390fd5b60006119b58461260f565b905060008112156119d0576119c8612748565b925050611ab1565b6000600e82815481106119e6576119e561420f565b5b90600052602060002090600202016001018054611a0290613d08565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2e90613d08565b8015611a7b5780601f10611a5057610100808354040283529160200191611a7b565b820191906000526020600020905b815481529060010190602001808311611a5e57829003601f168201915b5050505050905080611a8c86612865565b604051602001611a9d9291906145d3565b604051602081830303815290604052935050505b50919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b600d8054611b5e90613d08565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8a90613d08565b8015611bd75780601f10611bac57610100808354040283529160200191611bd7565b820191906000526020600020905b815481529060010190602001808311611bba57829003601f168201915b505050505081565b611be7611dbc565b73ffffffffffffffffffffffffffffffffffffffff16611c05611521565b73ffffffffffffffffffffffffffffffffffffffff1614611c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5290614577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc190614669565b60405180910390fd5b611cd381612381565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d495750611d48826129c5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e378361115f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e8882611d50565b611ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebe906146fb565b60405180910390fd5b6000611ed28361115f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f4157508373ffffffffffffffffffffffffffffffffffffffff16611f29846107a1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f525750611f518185611ab7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f7b8261115f565b73ffffffffffffffffffffffffffffffffffffffff1614611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc89061478d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612040576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120379061481f565b60405180910390fd5b61204b838383612aa7565b612056600082611dc4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a691906141db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120fd9190614267565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121bc838383612bb9565b505050565b60008060018111156121d6576121d5613c07565b5b600a60149054906101000a900460ff1660018111156121f8576121f7613c07565b5b1461224b57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016122429291906140fc565b60405180910390fd5b6001600a60146101000a81548160ff0219169083600181111561227157612270613c07565b5b021790555050565b600083839050905060005b8181101561233f576122ae8585838181106122a2576122a161420f565b5b90506020020135611d50565b15612309578484828181106122c6576122c561420f565b5b905060200201356040517f198647a000000000000000000000000000000000000000000000000000000000815260040161230091906136c6565b60405180910390fd5b61232c838686848181106123205761231f61420f565b5b90506020020135612bbe565b80806123379061483f565b915050612284565b507f491b0ce0e7d4bdc320f31ec3c364cc3dd85c5fd10fb41e9b0509ea8129e51fe9848484604051612373939291906148f9565b60405180910390a150505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90614977565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125a69190613486565b60405180910390a3505050565b6125be848484611f5b565b6125ca84848484612bdc565b612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090614a09565b60405180910390fd5b50505050565b600080600e80549050905060005b8181101561271d576000600e828154811061263b5761263a61420f565b5b90600052602060002090600202016040518060400160405290816000820154815260200160018201805461266e90613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461269a90613d08565b80156126e75780601f106126bc576101008083540402835291602001916126e7565b820191906000526020600020905b8154815290600101906020018083116126ca57829003601f168201915b5050505050815250509050848160000151111561270957819350505050612743565b5080806127159061483f565b91505061261d565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b919050565b6060600180600181111561275f5761275e613c07565b5b600a60149054906101000a900460ff16600181111561278157612780613c07565b5b146127d457600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016127cb9291906140fc565b60405180910390fd5b600d80546127e190613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461280d90613d08565b801561285a5780601f1061282f5761010080835404028352916020019161285a565b820191906000526020600020905b81548152906001019060200180831161283d57829003601f168201915b505050505091505090565b6060600082036128ac576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129c0565b600082905060005b600082146128de5780806128c79061483f565b915050600a826128d79190614039565b91506128b4565b60008167ffffffffffffffff8111156128fa576128f96137a7565b5b6040519080825280601f01601f19166020018201604052801561292c5781602001600182028036833780820191505090505b5090505b600085146129b95760018261294591906141db565b9150600a856129549190614a29565b60306129609190614267565b60f81b8183815181106129765761297561420f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129b29190614039565b9450612930565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a9057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612aa05750612a9f82612d63565b5b9050919050565b612ab2838383612dcd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612af457612aef81612dd2565b612b33565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b3257612b318382612e1b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b7557612b7081612f88565b612bb4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612bb357612bb28282613059565b5b5b505050565b505050565b612bd88282604051806020016040528060008152506130d8565b5050565b6000612bfd8473ffffffffffffffffffffffffffffffffffffffff16613133565b15612d56578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c26611dbc565b8786866040518563ffffffff1660e01b8152600401612c489493929190614aaf565b6020604051808303816000875af1925050508015612c8457506040513d601f19601f82011682018060405250810190612c819190614b10565b60015b612d06573d8060008114612cb4576040519150601f19603f3d011682016040523d82523d6000602084013e612cb9565b606091505b506000815103612cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf590614a09565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d5b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e2884611210565b612e3291906141db565b9050600060076000848152602001908152602001600020549050818114612f17576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f9c91906141db565b9050600060096000848152602001908152602001600020549050600060088381548110612fcc57612fcb61420f565b5b906000526020600020015490508060088381548110612fee57612fed61420f565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061303d5761303c614b3d565b5b6001900381819060005260206000200160009055905550505050565b600061306483611210565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6130e28383613156565b6130ef6000848484612bdc565b61312e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312590614a09565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036131c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bc90614bb8565b60405180910390fd5b6131ce81611d50565b1561320e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320590614c24565b60405180910390fd5b61321a60008383612aa7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326a9190614267565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461332b60008383612bb9565b5050565b82805461333b90613d08565b90600052602060002090601f01602090048101928261335d57600085556133a4565b82601f1061337657805160ff19168380011785556133a4565b828001600101855582156133a4579182015b828111156133a3578251825591602001919060010190613388565b5b5090506133b191906133b5565b5090565b5b808211156133ce5760008160009055506001016133b6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61341b816133e6565b811461342657600080fd5b50565b60008135905061343881613412565b92915050565b600060208284031215613454576134536133dc565b5b600061346284828501613429565b91505092915050565b60008115159050919050565b6134808161346b565b82525050565b600060208201905061349b6000830184613477565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134db5780820151818401526020810190506134c0565b838111156134ea576000848401525b50505050565b6000601f19601f8301169050919050565b600061350c826134a1565b61351681856134ac565b93506135268185602086016134bd565b61352f816134f0565b840191505092915050565b600060208201905081810360008301526135548184613501565b905092915050565b6000819050919050565b61356f8161355c565b811461357a57600080fd5b50565b60008135905061358c81613566565b92915050565b6000602082840312156135a8576135a76133dc565b5b60006135b68482850161357d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135ea826135bf565b9050919050565b6135fa816135df565b82525050565b600060208201905061361560008301846135f1565b92915050565b613624816135df565b811461362f57600080fd5b50565b6000813590506136418161361b565b92915050565b6000806040838503121561365e5761365d6133dc565b5b600061366c85828601613632565b925050602061367d8582860161357d565b9150509250929050565b6136908161355c565b82525050565b60006040820190506136ab6000830185613687565b81810360208301526136bd8184613501565b90509392505050565b60006020820190506136db6000830184613687565b92915050565b6000806000606084860312156136fa576136f96133dc565b5b600061370886828701613632565b935050602061371986828701613632565b925050604061372a8682870161357d565b9150509250925092565b6000806040838503121561374b5761374a6133dc565b5b60006137598582860161357d565b925050602061376a8582860161357d565b9150509250929050565b600060408201905061378960008301856135f1565b6137966020830184613687565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137df826134f0565b810181811067ffffffffffffffff821117156137fe576137fd6137a7565b5b80604052505050565b60006138116133d2565b905061381d82826137d6565b919050565b600067ffffffffffffffff82111561383d5761383c6137a7565b5b613846826134f0565b9050602081019050919050565b82818337600083830152505050565b600061387561387084613822565b613807565b905082815260208101848484011115613891576138906137a2565b5b61389c848285613853565b509392505050565b600082601f8301126138b9576138b861379d565b5b81356138c9848260208601613862565b91505092915050565b6000806000606084860312156138eb576138ea6133dc565b5b60006138f98682870161357d565b935050602084013567ffffffffffffffff81111561391a576139196133e1565b5b613926868287016138a4565b92505060406139378682870161357d565b9150509250925092565b600080fd5b600080fd5b60008083601f8401126139615761396061379d565b5b8235905067ffffffffffffffff81111561397e5761397d613941565b5b60208301915083602082028301111561399a57613999613946565b5b9250929050565b6000806000604084860312156139ba576139b96133dc565b5b600084013567ffffffffffffffff8111156139d8576139d76133e1565b5b6139e48682870161394b565b935093505060206139f786828701613632565b9150509250925092565b600060208284031215613a1757613a166133dc565b5b6000613a2584828501613632565b91505092915050565b613a378161346b565b8114613a4257600080fd5b50565b600081359050613a5481613a2e565b92915050565b60008060408385031215613a7157613a706133dc565b5b6000613a7f85828601613632565b9250506020613a9085828601613a45565b9150509250929050565b600067ffffffffffffffff821115613ab557613ab46137a7565b5b613abe826134f0565b9050602081019050919050565b6000613ade613ad984613a9a565b613807565b905082815260208101848484011115613afa57613af96137a2565b5b613b05848285613853565b509392505050565b600082601f830112613b2257613b2161379d565b5b8135613b32848260208601613acb565b91505092915050565b60008060008060808587031215613b5557613b546133dc565b5b6000613b6387828801613632565b9450506020613b7487828801613632565b9350506040613b858782880161357d565b925050606085013567ffffffffffffffff811115613ba657613ba56133e1565b5b613bb287828801613b0d565b91505092959194509250565b600060208284031215613bd457613bd36133dc565b5b600082013567ffffffffffffffff811115613bf257613bf16133e1565b5b613bfe848285016138a4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110613c4757613c46613c07565b5b50565b6000819050613c5882613c36565b919050565b6000613c6882613c4a565b9050919050565b613c7881613c5d565b82525050565b6000602082019050613c936000830184613c6f565b92915050565b60008060408385031215613cb057613caf6133dc565b5b6000613cbe85828601613632565b9250506020613ccf85828601613632565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d2057607f821691505b602082108103613d3357613d32613cd9565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d95602c836134ac565b9150613da082613d39565b604082019050919050565b60006020820190508181036000830152613dc481613d88565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e276021836134ac565b9150613e3282613dcb565b604082019050919050565b60006020820190508181036000830152613e5681613e1a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613eb96038836134ac565b9150613ec482613e5d565b604082019050919050565b60006020820190508181036000830152613ee881613eac565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f4b6031836134ac565b9150613f5682613eef565b604082019050919050565b60006020820190508181036000830152613f7a81613f3e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613fbb8261355c565b9150613fc68361355c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fff57613ffe613f81565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140448261355c565b915061404f8361355c565b92508261405f5761405e61400a565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140c6602b836134ac565b91506140d18261406a565b604082019050919050565b600060208201905081810360008301526140f5816140b9565b9050919050565b60006040820190506141116000830185613c6f565b61411e6020830184613c6f565b9392505050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461415281613d08565b61415c8186614125565b945060018216600081146141775760018114614188576141bb565b60ff198316865281860193506141bb565b61419185614130565b60005b838110156141b357815481890152600182019150602081019050614194565b838801955050505b50505092915050565b60006141d08284614145565b915081905092915050565b60006141e68261355c565b91506141f18361355c565b92508282101561420457614203613f81565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506142536000830185613687565b6142606020830184613687565b9392505050565b60006142728261355c565b915061427d8361355c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b2576142b1613f81565b5b828201905092915050565b6142c68161355c565b82525050565b600082825260208201905092915050565b60006142e8826134a1565b6142f281856142cc565b93506143028185602086016134bd565b61430b816134f0565b840191505092915050565b600060408301600083015161432e60008601826142bd565b506020830151848203602086015261434682826142dd565b9150508091505092915050565b6000602082019050818103600083015261436d8184614316565b905092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143d1602c836134ac565b91506143dc82614375565b604082019050919050565b60006020820190508181036000830152614400816143c4565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006144636029836134ac565b915061446e82614407565b604082019050919050565b6000602082019050818103600083015261449281614456565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006144f5602a836134ac565b915061450082614499565b604082019050919050565b60006020820190508181036000830152614524816144e8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145616020836134ac565b915061456c8261452b565b602082019050919050565b6000602082019050818103600083015261459081614554565b9050919050565b600081905092915050565b60006145ad826134a1565b6145b78185614597565b93506145c78185602086016134bd565b80840191505092915050565b60006145df82856145a2565b91506145eb82846145a2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146536026836134ac565b915061465e826145f7565b604082019050919050565b6000602082019050818103600083015261468281614646565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006146e5602c836134ac565b91506146f082614689565b604082019050919050565b60006020820190508181036000830152614714816146d8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006147776025836134ac565b91506147828261471b565b604082019050919050565b600060208201905081810360008301526147a68161476a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148096024836134ac565b9150614814826147ad565b604082019050919050565b60006020820190508181036000830152614838816147fc565b9050919050565b600061484a8261355c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361487c5761487b613f81565b5b600182019050919050565b600082825260208201905092915050565b600080fd5b60006148a98385614887565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156148dc576148db614898565b5b6020830292506148ed838584613853565b82840190509392505050565b6000604082019050818103600083015261491481858761489d565b905061492360208301846135f1565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006149616019836134ac565b915061496c8261492b565b602082019050919050565b6000602082019050818103600083015261499081614954565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149f36032836134ac565b91506149fe82614997565b604082019050919050565b60006020820190508181036000830152614a22816149e6565b9050919050565b6000614a348261355c565b9150614a3f8361355c565b925082614a4f57614a4e61400a565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614a8182614a5a565b614a8b8185614a65565b9350614a9b8185602086016134bd565b614aa4816134f0565b840191505092915050565b6000608082019050614ac460008301876135f1565b614ad160208301866135f1565b614ade6040830185613687565b8181036060830152614af08184614a76565b905095945050505050565b600081519050614b0a81613412565b92915050565b600060208284031215614b2657614b256133dc565b5b6000614b3484828501614afb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ba26020836134ac565b9150614bad82614b6c565b602082019050919050565b60006020820190508181036000830152614bd181614b95565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c0e601c836134ac565b9150614c1982614bd8565b602082019050919050565b60006020820190508181036000830152614c3d81614c01565b905091905056fea264697066735822122084ccdce2824d135675b706da750514831a5b80fb7ee84e683f485f18009ad12b64736f6c634300080e0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80636352211e1161010f578063b88d4fde116100a2578063e985e9c511610071578063e985e9c5146105a5578063ec3e1aa9146105d5578063eff95537146105f3578063f2fde38b14610611576101f0565b8063b88d4fde1461051f578063ba0a06431461053b578063c19d93fb14610557578063c87b56dd14610575576101f0565b80638da5cb5b116100de5780638da5cb5b146104ab57806395d89b41146104c9578063a22cb465146104e7578063a3106b9514610503576101f0565b80636352211e1461042557806370a0823114610455578063715018a6146104855780638cb733041461048f576101f0565b80632f745c591161018757806342842e0e1161015657806342842e0e146103a15780634f3ae594146103bd5780634f6ccce7146103d95780635c5b69a914610409576101f0565b80632f745c591461032b57806334d722c91461035b578063356ac3f7146103795780633626519214610383576101f0565b80631253c546116101c35780631253c5461461028f57806318160ddd146102c057806323b872dd146102de5780632a55205a146102fa576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a919061343e565b61062d565b60405161021c9190613486565b60405180910390f35b61022d61070f565b60405161023a919061353a565b60405180910390f35b61025d60048036038101906102589190613592565b6107a1565b60405161026a9190613600565b60405180910390f35b61028d60048036038101906102889190613647565b610826565b005b6102a960048036038101906102a49190613592565b61093d565b6040516102b7929190613696565b60405180910390f35b6102c86109f9565b6040516102d591906136c6565b60405180910390f35b6102f860048036038101906102f391906136e1565b610a06565b005b610314600480360381019061030f9190613734565b610a66565b604051610322929190613774565b60405180910390f35b61034560048036038101906103409190613647565b610a97565b60405161035291906136c6565b60405180910390f35b610363610b3c565b6040516103709190613600565b60405180910390f35b610381610b62565b005b61038b610ce4565b60405161039891906136c6565b60405180910390f35b6103bb60048036038101906103b691906136e1565b610cea565b005b6103d760048036038101906103d291906138d2565b610d0a565b005b6103f360048036038101906103ee9190613592565b610fc1565b60405161040091906136c6565b60405180910390f35b610423600480360381019061041e91906139a1565b611032565b005b61043f600480360381019061043a9190613592565b61115f565b60405161044c9190613600565b60405180910390f35b61046f600480360381019061046a9190613a01565b611210565b60405161047c91906136c6565b60405180910390f35b61048d6112c7565b005b6104a960048036038101906104a491906139a1565b61134f565b005b6104b3611521565b6040516104c09190613600565b60405180910390f35b6104d161154b565b6040516104de919061353a565b60405180910390f35b61050160048036038101906104fc9190613a5a565b6115dd565b005b61051d60048036038101906105189190613a01565b6115f3565b005b61053960048036038101906105349190613b3b565b61173e565b005b61055560048036038101906105509190613bbe565b6117a0565b005b61055f6118c1565b60405161056c9190613c7e565b60405180910390f35b61058f600480360381019061058a9190613592565b6118d4565b60405161059c919061353a565b60405180910390f35b6105bf60048036038101906105ba9190613c99565b611ab7565b6040516105cc9190613486565b60405180910390f35b6105dd611b4b565b6040516105ea91906136c6565b60405180910390f35b6105fb611b51565b604051610608919061353a565b60405180910390f35b61062b60048036038101906106269190613a01565b611bdf565b005b60007f9fd6bf39000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f857507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610708575061070782611cd6565b5b9050919050565b60606000805461071e90613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461074a90613d08565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b5050505050905090565b60006107ac82611d50565b6107eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e290613dab565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108318261115f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089890613e3d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108c0611dbc565b73ffffffffffffffffffffffffffffffffffffffff1614806108ef57506108ee816108e9611dbc565b611ab7565b5b61092e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092590613ecf565b60405180910390fd5b6109388383611dc4565b505050565b600e818154811061094d57600080fd5b906000526020600020906002020160009150905080600001549080600101805461097690613d08565b80601f01602080910402602001604051908101604052809291908181526020018280546109a290613d08565b80156109ef5780601f106109c4576101008083540402835291602001916109ef565b820191906000526020600020905b8154815290600101906020018083116109d257829003601f168201915b5050505050905082565b6000600880549050905090565b610a17610a11611dbc565b82611e7d565b610a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4d90613f61565b60405180910390fd5b610a61838383611f5b565b505050565b600080610a71611521565b612710600b5485610a829190613fb0565b610a8c9190614039565b915091509250929050565b6000610aa283611210565b8210610ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ada906140dc565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806001811115610b7757610b76613c07565b5b600a60149054906101000a900460ff166001811115610b9957610b98613c07565b5b14610bec57600a60149054906101000a900460ff16816040517f77e5c5f2000000000000000000000000000000000000000000000000000000008152600401610be39291906140fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610c74576040517f167ccd6c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518060200160405280600081525080519060200120600d604051610c9a91906141c4565b604051809103902003610cd9576040517f60ce85aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ce16121c1565b50565b600b5481565b610d058383836040518060200160405280600081525061173e565b505050565b6001806001811115610d1f57610d1e613c07565b5b600a60149054906101000a900460ff166001811115610d4157610d40613c07565b5b14610d9457600a60149054906101000a900460ff16816040517f77e5c5f2000000000000000000000000000000000000000000000000000000008152600401610d8b9291906140fc565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e2657336040517f361c31f2000000000000000000000000000000000000000000000000000000008152600401610e1d9190613600565b60405180910390fd5b600060405180604001604052808681526020018581525090506000600e80549050118015610e8e57508060000151600e6001600e80549050610e6891906141db565b81548110610e7957610e7861420f565b5b90600052602060002090600202016000015410155b15610f0b578060000151600e6001600e80549050610eac91906141db565b81548110610ebd57610ebc61420f565b5b9060005260206000209060020201600001546040517ec1367a000000000000000000000000000000000000000000000000000000008152600401610f0292919061423e565b60405180910390fd5b6000831115610f2e5782600f6000828254610f269190614267565b925050819055505b600e819080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001019080519060200190610f8092919061332f565b5050507f9a74f844ab02dd5a30a726b8a6bf585b315738a4f6a038f73e3c4704dd50a6ea81604051610fb29190614353565b60405180910390a15050505050565b6000610fcb6109f9565b821061100c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611003906143e7565b60405180910390fd5b600882815481106110205761101f61420f565b5b90600052602060002001549050919050565b600180600181111561104757611046613c07565b5b600a60149054906101000a900460ff16600181111561106957611068613c07565b5b146110bc57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016110b39291906140fc565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461114e57336040517f361c31f20000000000000000000000000000000000000000000000000000000081526004016111459190613600565b60405180910390fd5b611159848484612279565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fe90614479565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611280576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112779061450b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112cf611dbc565b73ffffffffffffffffffffffffffffffffffffffff166112ed611521565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90614577565b60405180910390fd5b61134d6000612381565b565b600180600181111561136457611363613c07565b5b600a60149054906101000a900460ff16600181111561138657611385613c07565b5b146113d957600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016113d09291906140fc565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461146b57336040517f361c31f20000000000000000000000000000000000000000000000000000000081526004016114629190613600565b60405180910390fd5b600084849050905080600f5410156114be5780600f546040517fcce1a5610000000000000000000000000000000000000000000000000000000081526004016114b592919061423e565b60405180910390fd5b80600f60008282546114d091906141db565b925050819055506114e2858585612279565b7ed5958799b183a7b738d3ad5e711305293dd5076a37a4e3b7e6611dea6114f38382604051611512929190613774565b60405180910390a15050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461155a90613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461158690613d08565b80156115d35780601f106115a8576101008083540402835291602001916115d3565b820191906000526020600020905b8154815290600101906020018083116115b657829003601f168201915b5050505050905090565b6115ef6115e8611dbc565b8383612447565b5050565b600080600181111561160857611607613c07565b5b600a60149054906101000a900460ff16600181111561162a57611629613c07565b5b1461167d57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016116749291906140fc565b60405180910390fd5b611685611dbc565b73ffffffffffffffffffffffffffffffffffffffff166116a3611521565b73ffffffffffffffffffffffffffffffffffffffff16146116f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f090614577565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61174f611749611dbc565b83611e7d565b61178e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178590613f61565b60405180910390fd5b61179a848484846125b3565b50505050565b60008060018111156117b5576117b4613c07565b5b600a60149054906101000a900460ff1660018111156117d7576117d6613c07565b5b1461182a57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016118219291906140fc565b60405180910390fd5b611832611dbc565b73ffffffffffffffffffffffffffffffffffffffff16611850611521565b73ffffffffffffffffffffffffffffffffffffffff16146118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614577565b60405180910390fd5b81600d90805190602001906118bc92919061332f565b505050565b600a60149054906101000a900460ff1681565b606060018060018111156118eb576118ea613c07565b5b600a60149054906101000a900460ff16600181111561190d5761190c613c07565b5b1461196057600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016119579291906140fc565b60405180910390fd5b61196983611d50565b6119aa57826040517f4ab54b420000000000000000000000000000000000000000000000000000000081526004016119a191906136c6565b60405180910390fd5b60006119b58461260f565b905060008112156119d0576119c8612748565b925050611ab1565b6000600e82815481106119e6576119e561420f565b5b90600052602060002090600202016001018054611a0290613d08565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2e90613d08565b8015611a7b5780601f10611a5057610100808354040283529160200191611a7b565b820191906000526020600020905b815481529060010190602001808311611a5e57829003601f168201915b5050505050905080611a8c86612865565b604051602001611a9d9291906145d3565b604051602081830303815290604052935050505b50919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f5481565b600d8054611b5e90613d08565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8a90613d08565b8015611bd75780601f10611bac57610100808354040283529160200191611bd7565b820191906000526020600020905b815481529060010190602001808311611bba57829003601f168201915b505050505081565b611be7611dbc565b73ffffffffffffffffffffffffffffffffffffffff16611c05611521565b73ffffffffffffffffffffffffffffffffffffffff1614611c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5290614577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc190614669565b60405180910390fd5b611cd381612381565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d495750611d48826129c5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e378361115f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e8882611d50565b611ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebe906146fb565b60405180910390fd5b6000611ed28361115f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f4157508373ffffffffffffffffffffffffffffffffffffffff16611f29846107a1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f525750611f518185611ab7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f7b8261115f565b73ffffffffffffffffffffffffffffffffffffffff1614611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc89061478d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612040576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120379061481f565b60405180910390fd5b61204b838383612aa7565b612056600082611dc4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a691906141db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120fd9190614267565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121bc838383612bb9565b505050565b60008060018111156121d6576121d5613c07565b5b600a60149054906101000a900460ff1660018111156121f8576121f7613c07565b5b1461224b57600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016122429291906140fc565b60405180910390fd5b6001600a60146101000a81548160ff0219169083600181111561227157612270613c07565b5b021790555050565b600083839050905060005b8181101561233f576122ae8585838181106122a2576122a161420f565b5b90506020020135611d50565b15612309578484828181106122c6576122c561420f565b5b905060200201356040517f198647a000000000000000000000000000000000000000000000000000000000815260040161230091906136c6565b60405180910390fd5b61232c838686848181106123205761231f61420f565b5b90506020020135612bbe565b80806123379061483f565b915050612284565b507f491b0ce0e7d4bdc320f31ec3c364cc3dd85c5fd10fb41e9b0509ea8129e51fe9848484604051612373939291906148f9565b60405180910390a150505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90614977565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125a69190613486565b60405180910390a3505050565b6125be848484611f5b565b6125ca84848484612bdc565b612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090614a09565b60405180910390fd5b50505050565b600080600e80549050905060005b8181101561271d576000600e828154811061263b5761263a61420f565b5b90600052602060002090600202016040518060400160405290816000820154815260200160018201805461266e90613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461269a90613d08565b80156126e75780601f106126bc576101008083540402835291602001916126e7565b820191906000526020600020905b8154815290600101906020018083116126ca57829003601f168201915b5050505050815250509050848160000151111561270957819350505050612743565b5080806127159061483f565b91505061261d565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b919050565b6060600180600181111561275f5761275e613c07565b5b600a60149054906101000a900460ff16600181111561278157612780613c07565b5b146127d457600a60149054906101000a900460ff16816040517f77e5c5f20000000000000000000000000000000000000000000000000000000081526004016127cb9291906140fc565b60405180910390fd5b600d80546127e190613d08565b80601f016020809104026020016040519081016040528092919081815260200182805461280d90613d08565b801561285a5780601f1061282f5761010080835404028352916020019161285a565b820191906000526020600020905b81548152906001019060200180831161283d57829003601f168201915b505050505091505090565b6060600082036128ac576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129c0565b600082905060005b600082146128de5780806128c79061483f565b915050600a826128d79190614039565b91506128b4565b60008167ffffffffffffffff8111156128fa576128f96137a7565b5b6040519080825280601f01601f19166020018201604052801561292c5781602001600182028036833780820191505090505b5090505b600085146129b95760018261294591906141db565b9150600a856129549190614a29565b60306129609190614267565b60f81b8183815181106129765761297561420f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129b29190614039565b9450612930565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a9057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612aa05750612a9f82612d63565b5b9050919050565b612ab2838383612dcd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612af457612aef81612dd2565b612b33565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b3257612b318382612e1b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b7557612b7081612f88565b612bb4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612bb357612bb28282613059565b5b5b505050565b505050565b612bd88282604051806020016040528060008152506130d8565b5050565b6000612bfd8473ffffffffffffffffffffffffffffffffffffffff16613133565b15612d56578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c26611dbc565b8786866040518563ffffffff1660e01b8152600401612c489493929190614aaf565b6020604051808303816000875af1925050508015612c8457506040513d601f19601f82011682018060405250810190612c819190614b10565b60015b612d06573d8060008114612cb4576040519150601f19603f3d011682016040523d82523d6000602084013e612cb9565b606091505b506000815103612cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf590614a09565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d5b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e2884611210565b612e3291906141db565b9050600060076000848152602001908152602001600020549050818114612f17576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f9c91906141db565b9050600060096000848152602001908152602001600020549050600060088381548110612fcc57612fcb61420f565b5b906000526020600020015490508060088381548110612fee57612fed61420f565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061303d5761303c614b3d565b5b6001900381819060005260206000200160009055905550505050565b600061306483611210565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6130e28383613156565b6130ef6000848484612bdc565b61312e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312590614a09565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036131c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bc90614bb8565b60405180910390fd5b6131ce81611d50565b1561320e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320590614c24565b60405180910390fd5b61321a60008383612aa7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326a9190614267565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461332b60008383612bb9565b5050565b82805461333b90613d08565b90600052602060002090601f01602090048101928261335d57600085556133a4565b82601f1061337657805160ff19168380011785556133a4565b828001600101855582156133a4579182015b828111156133a3578251825591602001919060010190613388565b5b5090506133b191906133b5565b5090565b5b808211156133ce5760008160009055506001016133b6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61341b816133e6565b811461342657600080fd5b50565b60008135905061343881613412565b92915050565b600060208284031215613454576134536133dc565b5b600061346284828501613429565b91505092915050565b60008115159050919050565b6134808161346b565b82525050565b600060208201905061349b6000830184613477565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134db5780820151818401526020810190506134c0565b838111156134ea576000848401525b50505050565b6000601f19601f8301169050919050565b600061350c826134a1565b61351681856134ac565b93506135268185602086016134bd565b61352f816134f0565b840191505092915050565b600060208201905081810360008301526135548184613501565b905092915050565b6000819050919050565b61356f8161355c565b811461357a57600080fd5b50565b60008135905061358c81613566565b92915050565b6000602082840312156135a8576135a76133dc565b5b60006135b68482850161357d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135ea826135bf565b9050919050565b6135fa816135df565b82525050565b600060208201905061361560008301846135f1565b92915050565b613624816135df565b811461362f57600080fd5b50565b6000813590506136418161361b565b92915050565b6000806040838503121561365e5761365d6133dc565b5b600061366c85828601613632565b925050602061367d8582860161357d565b9150509250929050565b6136908161355c565b82525050565b60006040820190506136ab6000830185613687565b81810360208301526136bd8184613501565b90509392505050565b60006020820190506136db6000830184613687565b92915050565b6000806000606084860312156136fa576136f96133dc565b5b600061370886828701613632565b935050602061371986828701613632565b925050604061372a8682870161357d565b9150509250925092565b6000806040838503121561374b5761374a6133dc565b5b60006137598582860161357d565b925050602061376a8582860161357d565b9150509250929050565b600060408201905061378960008301856135f1565b6137966020830184613687565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137df826134f0565b810181811067ffffffffffffffff821117156137fe576137fd6137a7565b5b80604052505050565b60006138116133d2565b905061381d82826137d6565b919050565b600067ffffffffffffffff82111561383d5761383c6137a7565b5b613846826134f0565b9050602081019050919050565b82818337600083830152505050565b600061387561387084613822565b613807565b905082815260208101848484011115613891576138906137a2565b5b61389c848285613853565b509392505050565b600082601f8301126138b9576138b861379d565b5b81356138c9848260208601613862565b91505092915050565b6000806000606084860312156138eb576138ea6133dc565b5b60006138f98682870161357d565b935050602084013567ffffffffffffffff81111561391a576139196133e1565b5b613926868287016138a4565b92505060406139378682870161357d565b9150509250925092565b600080fd5b600080fd5b60008083601f8401126139615761396061379d565b5b8235905067ffffffffffffffff81111561397e5761397d613941565b5b60208301915083602082028301111561399a57613999613946565b5b9250929050565b6000806000604084860312156139ba576139b96133dc565b5b600084013567ffffffffffffffff8111156139d8576139d76133e1565b5b6139e48682870161394b565b935093505060206139f786828701613632565b9150509250925092565b600060208284031215613a1757613a166133dc565b5b6000613a2584828501613632565b91505092915050565b613a378161346b565b8114613a4257600080fd5b50565b600081359050613a5481613a2e565b92915050565b60008060408385031215613a7157613a706133dc565b5b6000613a7f85828601613632565b9250506020613a9085828601613a45565b9150509250929050565b600067ffffffffffffffff821115613ab557613ab46137a7565b5b613abe826134f0565b9050602081019050919050565b6000613ade613ad984613a9a565b613807565b905082815260208101848484011115613afa57613af96137a2565b5b613b05848285613853565b509392505050565b600082601f830112613b2257613b2161379d565b5b8135613b32848260208601613acb565b91505092915050565b60008060008060808587031215613b5557613b546133dc565b5b6000613b6387828801613632565b9450506020613b7487828801613632565b9350506040613b858782880161357d565b925050606085013567ffffffffffffffff811115613ba657613ba56133e1565b5b613bb287828801613b0d565b91505092959194509250565b600060208284031215613bd457613bd36133dc565b5b600082013567ffffffffffffffff811115613bf257613bf16133e1565b5b613bfe848285016138a4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110613c4757613c46613c07565b5b50565b6000819050613c5882613c36565b919050565b6000613c6882613c4a565b9050919050565b613c7881613c5d565b82525050565b6000602082019050613c936000830184613c6f565b92915050565b60008060408385031215613cb057613caf6133dc565b5b6000613cbe85828601613632565b9250506020613ccf85828601613632565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d2057607f821691505b602082108103613d3357613d32613cd9565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d95602c836134ac565b9150613da082613d39565b604082019050919050565b60006020820190508181036000830152613dc481613d88565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e276021836134ac565b9150613e3282613dcb565b604082019050919050565b60006020820190508181036000830152613e5681613e1a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613eb96038836134ac565b9150613ec482613e5d565b604082019050919050565b60006020820190508181036000830152613ee881613eac565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f4b6031836134ac565b9150613f5682613eef565b604082019050919050565b60006020820190508181036000830152613f7a81613f3e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613fbb8261355c565b9150613fc68361355c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fff57613ffe613f81565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140448261355c565b915061404f8361355c565b92508261405f5761405e61400a565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140c6602b836134ac565b91506140d18261406a565b604082019050919050565b600060208201905081810360008301526140f5816140b9565b9050919050565b60006040820190506141116000830185613c6f565b61411e6020830184613c6f565b9392505050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461415281613d08565b61415c8186614125565b945060018216600081146141775760018114614188576141bb565b60ff198316865281860193506141bb565b61419185614130565b60005b838110156141b357815481890152600182019150602081019050614194565b838801955050505b50505092915050565b60006141d08284614145565b915081905092915050565b60006141e68261355c565b91506141f18361355c565b92508282101561420457614203613f81565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506142536000830185613687565b6142606020830184613687565b9392505050565b60006142728261355c565b915061427d8361355c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b2576142b1613f81565b5b828201905092915050565b6142c68161355c565b82525050565b600082825260208201905092915050565b60006142e8826134a1565b6142f281856142cc565b93506143028185602086016134bd565b61430b816134f0565b840191505092915050565b600060408301600083015161432e60008601826142bd565b506020830151848203602086015261434682826142dd565b9150508091505092915050565b6000602082019050818103600083015261436d8184614316565b905092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143d1602c836134ac565b91506143dc82614375565b604082019050919050565b60006020820190508181036000830152614400816143c4565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006144636029836134ac565b915061446e82614407565b604082019050919050565b6000602082019050818103600083015261449281614456565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006144f5602a836134ac565b915061450082614499565b604082019050919050565b60006020820190508181036000830152614524816144e8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145616020836134ac565b915061456c8261452b565b602082019050919050565b6000602082019050818103600083015261459081614554565b9050919050565b600081905092915050565b60006145ad826134a1565b6145b78185614597565b93506145c78185602086016134bd565b80840191505092915050565b60006145df82856145a2565b91506145eb82846145a2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146536026836134ac565b915061465e826145f7565b604082019050919050565b6000602082019050818103600083015261468281614646565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006146e5602c836134ac565b91506146f082614689565b604082019050919050565b60006020820190508181036000830152614714816146d8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006147776025836134ac565b91506147828261471b565b604082019050919050565b600060208201905081810360008301526147a68161476a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148096024836134ac565b9150614814826147ad565b604082019050919050565b60006020820190508181036000830152614838816147fc565b9050919050565b600061484a8261355c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361487c5761487b613f81565b5b600182019050919050565b600082825260208201905092915050565b600080fd5b60006148a98385614887565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156148dc576148db614898565b5b6020830292506148ed838584613853565b82840190509392505050565b6000604082019050818103600083015261491481858761489d565b905061492360208301846135f1565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006149616019836134ac565b915061496c8261492b565b602082019050919050565b6000602082019050818103600083015261499081614954565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149f36032836134ac565b91506149fe82614997565b604082019050919050565b60006020820190508181036000830152614a22816149e6565b9050919050565b6000614a348261355c565b9150614a3f8361355c565b925082614a4f57614a4e61400a565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614a8182614a5a565b614a8b8185614a65565b9350614a9b8185602086016134bd565b614aa4816134f0565b840191505092915050565b6000608082019050614ac460008301876135f1565b614ad160208301866135f1565b614ade6040830185613687565b8181036060830152614af08184614a76565b905095945050505050565b600081519050614b0a81613412565b92915050565b600060208284031215614b2657614b256133dc565b5b6000614b3484828501614afb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ba26020836134ac565b9150614bad82614b6c565b602082019050919050565b60006020820190508181036000830152614bd181614b95565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c0e601c836134ac565b9150614c1982614bd8565b602082019050919050565b60006020820190508181036000830152614c3d81614c01565b905091905056fea264697066735822122084ccdce2824d135675b706da750514831a5b80fb7ee84e683f485f18009ad12b64736f6c634300080e0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.