ETH Price: $3,511.67 (+0.35%)
Gas: 6 Gwei

Token

OG T-Shirt (OGT)
 

Overview

Max Total Supply

19 OGT

Holders

19

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 OGT
0xd53f0b61f6C4725ac2F8dd9568b89d63B1523C36
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
OGShirtNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-29
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

///////////////////////////////////////////////////////////////////////////
//     __/|      MOVER OG SHIRT NFT
//  __/ //  /|   This smart contract is part of Mover
// |/  //_///    https://viamover.com
//    |_/ //
//       |/
///////////////////////////////////////////////////////////////////////////

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


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


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


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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


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


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


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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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


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

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

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


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


/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}


/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}


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

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

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

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

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

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

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

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


/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}


/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

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

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}


/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}


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

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

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

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

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


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        //unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        //}
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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


contract OGShirtNFT is Context, Ownable, AccessControlEnumerable, ERC721Enumerable, ERC721Burnable, ERC721Pausable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Counters for Counters.Counter;
    using Address for address payable;

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(string memory name, string memory symbol, string memory baseTokenURI, address _feeAddress, uint256 _feeAmount)
        ERC721(name, symbol) 
    {
        _baseTokenURI = baseTokenURI;
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());

        totalClaimed = 0;
        claimEnabled = false;
        claimFeeAddress = _feeAddress;
        feeAmount = _feeAmount;

        __bytecodechange = "OG Shirt NFT"; // this is to provide bytecode uniqueness (otherwise ES shows first deployed version with constructor parameters)
    }

    ////////////////////////////////////////////////////////////
    // ERC721 MintablePausable Preset from OpenZeppelin
    ////////////////////////////////////////////////////////////
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    Counters.Counter private _tokenIdTracker;

    string private _baseTokenURI;

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

    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have minter role to mint");
        require(totalClaimed < CLAIM_LIMIT, "claim limit was reached");

        // We cannot just use balanceOf to create the new tokenId because tokens
        // can be burned (destroyed), so we need a separate counter.
        _mint(to, _tokenIdTracker.current());
        _tokenIdTracker.increment();
        totalClaimed = totalClaimed + 1;
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

    uint256[48] private __gap;
    string private __bytecodechange;

    ////////////////////////////////////////////////////////////
    // TOKEN METADATA
    ////////////////////////////////////////////////////////////

    /**
     * @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
            ? baseURI //we have same metadata for all tokens minted by this contract string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    ////////////////////////////////////////////////////////////
    // CLAIM WITH MINTING, REDEEM WITH BURNING
    ////////////////////////////////////////////////////////////
    uint256 constant CLAIM_LIMIT = 42;

    uint256 public totalClaimed;
    uint256 public totalRedeemed;
    bool public claimEnabled;
    address public claimFeeAddress;
    uint256 public feeAmount;
    mapping(address => bytes32) public redeemData;

    // sig is to prove the address received as stated by the account
    event Redeem(address indexed customer, uint256 tokenId, bytes32 sig);

    fallback() external payable {}
    receive() external payable {}

    function setFeeAmount(uint256 _fee) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        feeAmount = _fee;
    }

    function setFeeAddress(address _feeAddress) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        claimFeeAddress = _feeAddress;
    }

    // just in case, role could be dropped after claims for immutability
    function setClaimEnabled(bool _claimEnabled) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        claimEnabled = _claimEnabled;
    }

    function claimNFT() public payable {
        require(claimEnabled, "claim not enabled");
        require(msg.value >= feeAmount, "need to send ETH");
        require(totalClaimed < CLAIM_LIMIT, "claim limit was reached");

        _mint(msg.sender, _tokenIdTracker.current());
        if (feeAmount > 0) {
            payable(claimFeeAddress).sendValue(feeAmount);
        }

        _tokenIdTracker.increment();
        totalClaimed = totalClaimed + 1;
    }

    function redeem(uint256 _tokenId, bytes32 _sig) public {
        burn(_tokenId);
        totalRedeemed = totalRedeemed + 1;
        redeemData[msg.sender] = _sig;

        emit Redeem(msg.sender, _tokenId, _sig);
    }

    /////////////////////////////////////////////////////////////
    // EMERGENCY FUNCTIONS
    /////////////////////////////////////////////////////////////
    event EmergencyTransfer(
        address indexed token,
        address indexed destination,
        uint256 amount
    );

    address private constant ETH_TOKEN_ADDRESS =
        0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    function emergencyTransfer(
        address _token,
        address _destination,
        uint256 _amount
    ) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        if (_token != ETH_TOKEN_ADDRESS) {
            IERC20(_token).safeTransfer(_destination, _amount);
        } else {
            payable(_destination).sendValue(_amount);
        }
        emit EmergencyTransfer(_token, _destination, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_feeAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"customer","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"sig","type":"bytes32"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"account","type":"address"}],"name":"Unpaused","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimFeeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32","name":"_sig","type":"bytes32"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"redeemData","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimEnabled","type":"bool"}],"name":"setClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFeeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRedeemed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162003960380380620039608339810160408190526200003491620004ab565b84846200004a6200004462000174565b62000178565b81516200005f9060039060208501906200035a565b508051620000759060049060208401906200035a565b5050600d805460ff191690555082516200009790600f9060208601906200035a565b50620000ae6000620000a862000174565b620001c8565b620000dd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620000a862000174565b6200010c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a620000a862000174565b6000604155604380546001600160a81b0319166101006001600160a01b038516021790556044819055604080518082018252600c8082526b13d1c814da1a5c9d0813919560a21b6020909201918252620001689291906200035a565b505050505050620005b8565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001df82826200020b60201b620012971760201c565b600082815260026020908152604090912062000206918390620012a56200021b821b17901c565b505050565b6200021782826200023b565b5050565b600062000232836001600160a01b038416620002c8565b90505b92915050565b62000247828262000317565b620002175760008281526001602081815260408084206001600160a01b0386168552909152909120805460ff191690911790556200028462000174565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620002d6838362000342565b6200030e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000235565b50600062000235565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60009081526001919091016020526040902054151590565b828054620003689062000565565b90600052602060002090601f0160209004810192826200038c5760008555620003d7565b82601f10620003a757805160ff1916838001178555620003d7565b82800160010185558215620003d7579182015b82811115620003d7578251825591602001919060010190620003ba565b50620003e5929150620003e9565b5090565b5b80821115620003e55760008155600101620003ea565b600082601f83011262000411578081fd5b81516001600160401b03808211156200042e576200042e620005a2565b6040516020601f8401601f1916820181018381118382101715620004565762000456620005a2565b60405283825285840181018710156200046d578485fd5b8492505b8383101562000490578583018101518284018201529182019162000471565b83831115620004a157848185840101525b5095945050505050565b600080600080600060a08688031215620004c3578081fd5b85516001600160401b0380821115620004da578283fd5b620004e889838a0162000400565b96506020880151915080821115620004fe578283fd5b6200050c89838a0162000400565b9550604088015191508082111562000522578283fd5b50620005318882890162000400565b606088015190945090506001600160a01b038116811462000550578182fd5b80925050608086015190509295509295909350565b6002810460018216806200057a57607f821691505b602082108114156200059c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61339880620005c86000396000f3fe6080604052600436106102815760003560e01c80636b3926801161014f578063a217fddf116100c1578063d547741f1161007a578063d547741f14610720578063d54ad2a114610740578063e63ab1e914610755578063e985e9c51461076a578063f2fde38b1461078a578063f35dad40146107aa57610288565b8063a217fddf14610676578063a22cb4651461068b578063b88d4fde146106ab578063c87b56dd146106cb578063ca15c873146106eb578063d53913931461070b57610288565b80638705fcd4116101135780638705fcd4146105cc5780638da5cb5b146105ec5780639010d07c1461060157806391d148541461062157806392929a091461064157806395d89b411461066157610288565b80636b3926801461054257806370a0823114610562578063715018a6146105825780637330aa87146105975780638456cb59146105b757610288565b80632f2ff15d116101f35780634f6ccce7116101ac5780634f6ccce7146104b05780635c975abb146104d05780636352211e146104e5578063672756ad1461050557806369e154041461050d5780636a6278421461052257610288565b80632f2ff15d146103fb5780632f745c591461041b57806336568abe1461043b5780633f4ba83a1461045b57806342842e0e1461047057806342966c681461049057610288565b80631e84c725116102455780631e84c725146103515780631f59b6851461037157806322e4e61d1461038657806323b872dd146103a6578063248a9ca3146103c65780632866ed21146103e657610288565b806301ffc9a71461028a57806306fdde03146102c0578063081812fc146102e2578063095ea7b31461030f57806318160ddd1461032f57610288565b3661028857005b005b34801561029657600080fd5b506102aa6102a5366004612718565b6107bf565b6040516102b7919061287a565b60405180910390f35b3480156102cc57600080fd5b506102d56107d2565b6040516102b7919061288e565b3480156102ee57600080fd5b506103026102fd3660046126bd565b610864565b6040516102b79190612810565b34801561031b57600080fd5b5061028861032a36600461265c565b6108b0565b34801561033b57600080fd5b50610344610948565b6040516102b79190612885565b34801561035d57600080fd5b5061028861036c36600461251f565b61094e565b34801561037d57600080fd5b50610302610a15565b34801561039257600080fd5b506102886103a13660046126f7565b610a29565b3480156103b257600080fd5b506102886103c136600461251f565b610a93565b3480156103d257600080fd5b506103446103e13660046126bd565b610acb565b3480156103f257600080fd5b506102aa610ae1565b34801561040757600080fd5b506102886104163660046126d5565b610aea565b34801561042757600080fd5b5061034461043636600461265c565b610b0c565b34801561044757600080fd5b506102886104563660046126d5565b610b61565b34801561046757600080fd5b50610288610b83565b34801561047c57600080fd5b5061028861048b36600461251f565b610bd5565b34801561049c57600080fd5b506102886104ab3660046126bd565b610bf0565b3480156104bc57600080fd5b506103446104cb3660046126bd565b610c23565b3480156104dc57600080fd5b506102aa610c7e565b3480156104f157600080fd5b506103026105003660046126bd565b610c87565b610288610cbc565b34801561051957600080fd5b50610344610d79565b34801561052e57600080fd5b5061028861053d3660046124d3565b610d7f565b34801561054e57600080fd5b5061028861055d3660046126bd565b610e15565b34801561056e57600080fd5b5061034461057d3660046124d3565b610e41565b34801561058e57600080fd5b50610288610e85565b3480156105a357600080fd5b506103446105b23660046124d3565b610ece565b3480156105c357600080fd5b50610288610ee0565b3480156105d857600080fd5b506102886105e73660046124d3565b610f30565b3480156105f857600080fd5b50610302610f7f565b34801561060d57600080fd5b5061030261061c3660046126f7565b610f8e565b34801561062d57600080fd5b506102aa61063c3660046126d5565b610fad565b34801561064d57600080fd5b5061028861065c366004612685565b610fd8565b34801561066d57600080fd5b506102d5611012565b34801561068257600080fd5b50610344611021565b34801561069757600080fd5b506102886106a6366004612626565b611026565b3480156106b757600080fd5b506102886106c636600461255a565b6110f4565b3480156106d757600080fd5b506102d56106e63660046126bd565b611133565b3480156106f757600080fd5b506103446107063660046126bd565b611186565b34801561071757600080fd5b5061034461119d565b34801561072c57600080fd5b5061028861073b3660046126d5565b6111c1565b34801561074c57600080fd5b506103446111cb565b34801561076157600080fd5b506103446111d1565b34801561077657600080fd5b506102aa6107853660046124ed565b6111f5565b34801561079657600080fd5b506102886107a53660046124d3565b611223565b3480156107b657600080fd5b50610344611291565b60006107ca826112ba565b90505b919050565b6060600380546107e1906132d7565b80601f016020809104026020016040519081016040528092919081815260200182805461080d906132d7565b801561085a5780601f1061082f5761010080835404028352916020019161085a565b820191906000526020600020905b81548152906001019060200180831161083d57829003601f168201915b5050505050905090565b600061086f826112df565b6108945760405162461bcd60e51b815260040161088b90612dda565b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006108bb82610c87565b9050806001600160a01b0316836001600160a01b031614156108ef5760405162461bcd60e51b815260040161088b90612f2a565b806001600160a01b03166109016112fc565b6001600160a01b0316148061091d575061091d816107856112fc565b6109395760405162461bcd60e51b815260040161088b90612cb5565b6109438383611300565b505050565b600b5490565b610959600033610fad565b6109755760405162461bcd60e51b815260040161088b90612a69565b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146109b2576109ad6001600160a01b038416838361136e565b6109c5565b6109c56001600160a01b038316826113c4565b816001600160a01b0316836001600160a01b03167fe73b77795c13bee9883a40de3973381a54190f3bc777dcab3a8206d302afc78483604051610a089190612885565b60405180910390a3505050565b60435461010090046001600160a01b031681565b610a3282610bf0565b604254610a40906001613246565b6042553360008181526045602052604090819020839055517f36d78f0415e619ffc94d3836b595b59d53bf174e3478abbe8bc20bb27ce6227490610a879085908590613238565b60405180910390a25050565b610aa4610a9e6112fc565b82611460565b610ac05760405162461bcd60e51b815260040161088b90612f95565b6109438383836114e5565b6000908152600160208190526040909120015490565b60435460ff1681565b610af48282611612565b600082815260026020526040902061094390826112a5565b6000610b1783610e41565b8210610b355760405162461bcd60e51b815260040161088b9061294f565b506001600160a01b03821660009081526009602090815260408083208484529091529020545b92915050565b610b6b8282611636565b60008281526002602052604090206109439082611678565b610baf7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61063c6112fc565b610bcb5760405162461bcd60e51b815260040161088b9061318b565b610bd361168d565b565b610943838383604051806020016040528060008152506110f4565b610bfb610a9e6112fc565b610c175760405162461bcd60e51b815260040161088b9061313b565b610c20816116fb565b50565b6000610c2d610948565b8210610c4b5760405162461bcd60e51b815260040161088b9061301d565b600b8281548110610c6c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600d5460ff1690565b6000818152600560205260408120546001600160a01b0316806107ca5760405162461bcd60e51b815260040161088b90612d5c565b60435460ff16610cde5760405162461bcd60e51b815260040161088b906130b3565b604454341015610d005760405162461bcd60e51b815260040161088b90612f6b565b602a60415410610d225760405162461bcd60e51b815260040161088b90612e5b565b610d3533610d30600e6117a2565b6117a6565b60445415610d5c57604454604354610d5c916101009091046001600160a01b0316906113c4565b610d66600e611885565b604154610d74906001613246565b604155565b60445481565b610dab7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661063c6112fc565b610dc75760405162461bcd60e51b815260040161088b906130de565b602a60415410610de95760405162461bcd60e51b815260040161088b90612e5b565b610df781610d30600e6117a2565b610e01600e611885565b604154610e0f906001613246565b60415550565b610e20600033610fad565b610e3c5760405162461bcd60e51b815260040161088b90612a69565b604455565b60006001600160a01b038216610e695760405162461bcd60e51b815260040161088b90612d12565b506001600160a01b031660009081526006602052604090205490565b610e8d6112fc565b6001600160a01b0316610e9e610f7f565b6001600160a01b031614610ec45760405162461bcd60e51b815260040161088b90612e26565b610bd360006118a2565b60456020526000908152604090205481565b610f0c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61063c6112fc565b610f285760405162461bcd60e51b815260040161088b90612a8d565b610bd36118f2565b610f3b600033610fad565b610f575760405162461bcd60e51b815260040161088b90612a69565b604380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000546001600160a01b031690565b6000828152600260205260408120610fa6908361194d565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610fe3600033610fad565b610fff5760405162461bcd60e51b815260040161088b90612a69565b6043805460ff1916911515919091179055565b6060600480546107e1906132d7565b600081565b61102e6112fc565b6001600160a01b0316826001600160a01b0316141561105f5760405162461bcd60e51b815260040161088b90612b2e565b806008600061106c6112fc565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556110b06112fc565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110e8919061287a565b60405180910390a35050565b6111056110ff6112fc565b83611460565b6111215760405162461bcd60e51b815260040161088b90612f95565b61112d84848484611959565b50505050565b606061113e826112df565b61115a5760405162461bcd60e51b815260040161088b90612edb565b600061116461198c565b905060008151116107ca57604051806020016040528060008152509392505050565b60008181526002602052604081206107ca9061199b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610b6b82826119a6565b60415481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61122b6112fc565b6001600160a01b031661123c610f7f565b6001600160a01b0316146112625760405162461bcd60e51b815260040161088b90612e26565b6001600160a01b0381166112885760405162461bcd60e51b815260040161088b906129ec565b610c20816118a2565b60425481565b6112a182826119c5565b5050565b6000610fa6836001600160a01b038416611a4d565b60006001600160e01b0319821663780e9d6360e01b14806107ca57506107ca82611a97565b6000908152600560205260409020546001600160a01b0316151590565b3390565b600081815260076020526040902080546001600160a01b0319166001600160a01b038416908117909155819061133582610c87565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6109438363a9059cbb60e01b848460405160240161138d929190612861565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ad7565b804710156113e45760405162461bcd60e51b815260040161088b90612bc2565b6000826001600160a01b0316826040516113fd90612798565b60006040518083038185875af1925050503d806000811461143a576040519150601f19603f3d011682016040523d82523d6000602084013e61143f565b606091505b50509050806109435760405162461bcd60e51b815260040161088b90612b65565b600061146b826112df565b6114875760405162461bcd60e51b815260040161088b90612c3f565b600061149283610c87565b9050806001600160a01b0316846001600160a01b031614806114cd5750836001600160a01b03166114c284610864565b6001600160a01b0316145b806114dd57506114dd81856111f5565b949350505050565b826001600160a01b03166114f882610c87565b6001600160a01b03161461151e5760405162461bcd60e51b815260040161088b90612e92565b6001600160a01b0382166115445760405162461bcd60e51b815260040161088b90612aea565b61154f838383611b66565b61155a600082611300565b6001600160a01b038316600090815260066020526040812080546001929061158390849061327d565b90915550506001600160a01b03821660009081526006602052604081208054600192906115b1908490613246565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61161b82610acb565b61162c816116276112fc565b611b71565b61094383836119c5565b61163e6112fc565b6001600160a01b0316816001600160a01b03161461166e5760405162461bcd60e51b815260040161088b906131e9565b6112a18282611bd5565b6000610fa6836001600160a01b038416611c5a565b611695610c7e565b6116b15760405162461bcd60e51b815260040161088b90612921565b600d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116e46112fc565b6040516116f19190612810565b60405180910390a1565b600061170682610c87565b905061171481600084611b66565b61171f600083611300565b6001600160a01b038116600090815260066020526040812080546001929061174890849061327d565b909155505060008281526005602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b5490565b6001600160a01b0382166117cc5760405162461bcd60e51b815260040161088b90612da5565b6117d5816112df565b156117f25760405162461bcd60e51b815260040161088b90612a32565b6117fe60008383611b66565b6001600160a01b0382166000908152600660205260408120805460019290611827908490613246565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600181600001600082825461189a9190613246565b909155505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6118fa610c7e565b156119175760405162461bcd60e51b815260040161088b90612c8b565b600d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116e46112fc565b6000610fa68383611d77565b6119648484846114e5565b61197084848484611daf565b61112d5760405162461bcd60e51b815260040161088b9061299a565b6060600f80546107e1906132d7565b60006107ca826117a2565b6119af82610acb565b6119bb816116276112fc565b6109438383611bd5565b6119cf8282610fad565b6112a15760008281526001602081815260408084206001600160a01b0386168552909152909120805460ff19169091179055611a096112fc565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611a598383611eca565b611a8f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b5b565b506000610b5b565b60006001600160e01b031982166380ac58cd60e01b1480611ac857506001600160e01b03198216635b5e139f60e01b145b806107ca57506107ca82611ee2565b6000611b2c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f079092919063ffffffff16565b8051909150156109435780806020019051810190611b4a91906126a1565b6109435760405162461bcd60e51b815260040161088b90613069565b610943838383611f16565b611b7b8282610fad565b6112a157611b93816001600160a01b03166014611f46565b611b9e836020611f46565b604051602001611baf92919061279b565b60408051601f198184030181529082905262461bcd60e51b825261088b9160040161288e565b611bdf8282610fad565b156112a15760008281526001602090815260408083206001600160a01b03851684529091529020805460ff19169055611c166112fc565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60008181526001830160205260408120548015611d6d576000611c7e60018361327d565b8554909150600090611c929060019061327d565b9050818114611d13576000866000018281548110611cc057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611cf157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611d3257634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b5b565b6000915050610b5b565b6000826000018281548110611d9c57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6000611dc3846001600160a01b03166120f8565b15611ebf57836001600160a01b031663150b7a02611ddf6112fc565b8786866040518563ffffffff1660e01b8152600401611e019493929190612824565b602060405180830381600087803b158015611e1b57600080fd5b505af1925050508015611e4b575060408051601f3d908101601f19168201909252611e4891810190612734565b60015b611ea5573d808015611e79576040519150601f19603f3d011682016040523d82523d6000602084013e611e7e565b606091505b508051611e9d5760405162461bcd60e51b815260040161088b9061299a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114dd565b506001949350505050565b60009081526001919091016020526040902054151590565b60006001600160e01b03198216635a05180f60e01b14806107ca57506107ca826120fe565b60606114dd8484600085612123565b611f218383836121e3565b611f29610c7e565b156109435760405162461bcd60e51b815260040161088b906128d6565b60606000611f5583600261325e565b611f60906002613246565b67ffffffffffffffff811115611f8657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611fb0576020820181803683370190505b509050600360fc1b81600081518110611fd957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061201657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061203a84600261325e565b612045906001613246565b90505b60018111156120d9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061208757634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106120ab57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936120d2816132c0565b9050612048565b508315610fa65760405162461bcd60e51b815260040161088b906128a1565b3b151590565b60006001600160e01b03198216637965db0b60e01b14806107ca57506107ca8261226c565b6060824710156121455760405162461bcd60e51b815260040161088b90612bf9565b61214e856120f8565b61216a5760405162461bcd60e51b815260040161088b90612fe6565b600080866001600160a01b03168587604051612186919061277c565b60006040518083038185875af1925050503d80600081146121c3576040519150601f19603f3d011682016040523d82523d6000602084013e6121c8565b606091505b50915091506121d8828286612285565b979650505050505050565b6121ee838383610943565b6001600160a01b03831661220a57612205816122be565b61222d565b816001600160a01b0316836001600160a01b03161461222d5761222d8382612302565b6001600160a01b038216612249576122448161239f565b610943565b826001600160a01b0316826001600160a01b031614610943576109438282612478565b6001600160e01b031981166301ffc9a760e01b14919050565b60608315612294575081610fa6565b8251156122a45782518084602001fd5b8160405162461bcd60e51b815260040161088b919061288e565b600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b6000600161230f84610e41565b612319919061327d565b6000838152600a602052604090205490915080821461236c576001600160a01b03841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600981528383209183525290812055565b600b546000906123b19060019061327d565b6000838152600c6020526040812054600b80549394509092849081106123e757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600b838154811061241657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b80548061245c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061248383610e41565b6001600160a01b0390931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b80356001600160a01b03811681146107cd57600080fd5b6000602082840312156124e4578081fd5b610fa6826124bc565b600080604083850312156124ff578081fd5b612508836124bc565b9150612516602084016124bc565b90509250929050565b600080600060608486031215612533578081fd5b61253c846124bc565b925061254a602085016124bc565b9150604084013590509250925092565b6000806000806080858703121561256f578081fd5b612578856124bc565b935060206125878187016124bc565b935060408601359250606086013567ffffffffffffffff808211156125aa578384fd5b818801915088601f8301126125bd578384fd5b8135818111156125cf576125cf613328565b604051601f8201601f19168101850183811182821017156125f2576125f2613328565b60405281815283820185018b1015612608578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215612638578182fd5b612641836124bc565b915060208301356126518161333e565b809150509250929050565b6000806040838503121561266e578182fd5b612677836124bc565b946020939093013593505050565b600060208284031215612696578081fd5b8135610fa68161333e565b6000602082840312156126b2578081fd5b8151610fa68161333e565b6000602082840312156126ce578081fd5b5035919050565b600080604083850312156126e7578182fd5b82359150612516602084016124bc565b60008060408385031215612709578182fd5b50508035926020909101359150565b600060208284031215612729578081fd5b8135610fa68161334c565b600060208284031215612745578081fd5b8151610fa68161334c565b60008151808452612768816020860160208601613294565b601f01601f19169290920160200192915050565b6000825161278e818460208701613294565b9190910192915050565b90565b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516127d3816017850160208801613294565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612804816028840160208801613294565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061285790830184612750565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b600060208252610fa66020830184612750565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252600a908201526961646d696e206f6e6c7960b01b604082015260600190565b6020808252603e908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d75737420686176652070617573657220726f6c6520746f2070617573650000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f636c61696d206c696d6974207761732072656163686564000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526010908201526f0dccacac840e8de40e6cadcc8408aa8960831b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526011908201527018db185a5b481b9bdd08195b98589b1959607a1b604082015260600190565b6020808252603d908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e74000000606082015260800190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b602080825260409082018190527f4552433732315072657365744d696e7465725061757365724175746f49643a20908201527f6d75737420686176652070617573657220726f6c6520746f20756e7061757365606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b918252602082015260400190565b6000821982111561325957613259613312565b500190565b600081600019048311821515161561327857613278613312565b500290565b60008282101561328f5761328f613312565b500390565b60005b838110156132af578181015183820152602001613297565b8381111561112d5750506000910152565b6000816132cf576132cf613312565b506000190190565b6002810460018216806132eb57607f821691505b6020821081141561330c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610c2057600080fd5b6001600160e01b031981168114610c2057600080fdfea2646970667358221220fddff9178521f8b3d7d25170503f5ba846ac08e811d19a6dd4a4fc9a8e44abea64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000f6a0307cb6aa05d7c19d080a0da9b14eab1050b7000000000000000000000000000000000000000000000000009536c708910000000000000000000000000000000000000000000000000000000000000000000a4f4720542d53686972740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f47540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d636b3946707a54664371327065317834396565425433774435507159747a6f774655596e3735777a433567670000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102815760003560e01c80636b3926801161014f578063a217fddf116100c1578063d547741f1161007a578063d547741f14610720578063d54ad2a114610740578063e63ab1e914610755578063e985e9c51461076a578063f2fde38b1461078a578063f35dad40146107aa57610288565b8063a217fddf14610676578063a22cb4651461068b578063b88d4fde146106ab578063c87b56dd146106cb578063ca15c873146106eb578063d53913931461070b57610288565b80638705fcd4116101135780638705fcd4146105cc5780638da5cb5b146105ec5780639010d07c1461060157806391d148541461062157806392929a091461064157806395d89b411461066157610288565b80636b3926801461054257806370a0823114610562578063715018a6146105825780637330aa87146105975780638456cb59146105b757610288565b80632f2ff15d116101f35780634f6ccce7116101ac5780634f6ccce7146104b05780635c975abb146104d05780636352211e146104e5578063672756ad1461050557806369e154041461050d5780636a6278421461052257610288565b80632f2ff15d146103fb5780632f745c591461041b57806336568abe1461043b5780633f4ba83a1461045b57806342842e0e1461047057806342966c681461049057610288565b80631e84c725116102455780631e84c725146103515780631f59b6851461037157806322e4e61d1461038657806323b872dd146103a6578063248a9ca3146103c65780632866ed21146103e657610288565b806301ffc9a71461028a57806306fdde03146102c0578063081812fc146102e2578063095ea7b31461030f57806318160ddd1461032f57610288565b3661028857005b005b34801561029657600080fd5b506102aa6102a5366004612718565b6107bf565b6040516102b7919061287a565b60405180910390f35b3480156102cc57600080fd5b506102d56107d2565b6040516102b7919061288e565b3480156102ee57600080fd5b506103026102fd3660046126bd565b610864565b6040516102b79190612810565b34801561031b57600080fd5b5061028861032a36600461265c565b6108b0565b34801561033b57600080fd5b50610344610948565b6040516102b79190612885565b34801561035d57600080fd5b5061028861036c36600461251f565b61094e565b34801561037d57600080fd5b50610302610a15565b34801561039257600080fd5b506102886103a13660046126f7565b610a29565b3480156103b257600080fd5b506102886103c136600461251f565b610a93565b3480156103d257600080fd5b506103446103e13660046126bd565b610acb565b3480156103f257600080fd5b506102aa610ae1565b34801561040757600080fd5b506102886104163660046126d5565b610aea565b34801561042757600080fd5b5061034461043636600461265c565b610b0c565b34801561044757600080fd5b506102886104563660046126d5565b610b61565b34801561046757600080fd5b50610288610b83565b34801561047c57600080fd5b5061028861048b36600461251f565b610bd5565b34801561049c57600080fd5b506102886104ab3660046126bd565b610bf0565b3480156104bc57600080fd5b506103446104cb3660046126bd565b610c23565b3480156104dc57600080fd5b506102aa610c7e565b3480156104f157600080fd5b506103026105003660046126bd565b610c87565b610288610cbc565b34801561051957600080fd5b50610344610d79565b34801561052e57600080fd5b5061028861053d3660046124d3565b610d7f565b34801561054e57600080fd5b5061028861055d3660046126bd565b610e15565b34801561056e57600080fd5b5061034461057d3660046124d3565b610e41565b34801561058e57600080fd5b50610288610e85565b3480156105a357600080fd5b506103446105b23660046124d3565b610ece565b3480156105c357600080fd5b50610288610ee0565b3480156105d857600080fd5b506102886105e73660046124d3565b610f30565b3480156105f857600080fd5b50610302610f7f565b34801561060d57600080fd5b5061030261061c3660046126f7565b610f8e565b34801561062d57600080fd5b506102aa61063c3660046126d5565b610fad565b34801561064d57600080fd5b5061028861065c366004612685565b610fd8565b34801561066d57600080fd5b506102d5611012565b34801561068257600080fd5b50610344611021565b34801561069757600080fd5b506102886106a6366004612626565b611026565b3480156106b757600080fd5b506102886106c636600461255a565b6110f4565b3480156106d757600080fd5b506102d56106e63660046126bd565b611133565b3480156106f757600080fd5b506103446107063660046126bd565b611186565b34801561071757600080fd5b5061034461119d565b34801561072c57600080fd5b5061028861073b3660046126d5565b6111c1565b34801561074c57600080fd5b506103446111cb565b34801561076157600080fd5b506103446111d1565b34801561077657600080fd5b506102aa6107853660046124ed565b6111f5565b34801561079657600080fd5b506102886107a53660046124d3565b611223565b3480156107b657600080fd5b50610344611291565b60006107ca826112ba565b90505b919050565b6060600380546107e1906132d7565b80601f016020809104026020016040519081016040528092919081815260200182805461080d906132d7565b801561085a5780601f1061082f5761010080835404028352916020019161085a565b820191906000526020600020905b81548152906001019060200180831161083d57829003601f168201915b5050505050905090565b600061086f826112df565b6108945760405162461bcd60e51b815260040161088b90612dda565b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006108bb82610c87565b9050806001600160a01b0316836001600160a01b031614156108ef5760405162461bcd60e51b815260040161088b90612f2a565b806001600160a01b03166109016112fc565b6001600160a01b0316148061091d575061091d816107856112fc565b6109395760405162461bcd60e51b815260040161088b90612cb5565b6109438383611300565b505050565b600b5490565b610959600033610fad565b6109755760405162461bcd60e51b815260040161088b90612a69565b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146109b2576109ad6001600160a01b038416838361136e565b6109c5565b6109c56001600160a01b038316826113c4565b816001600160a01b0316836001600160a01b03167fe73b77795c13bee9883a40de3973381a54190f3bc777dcab3a8206d302afc78483604051610a089190612885565b60405180910390a3505050565b60435461010090046001600160a01b031681565b610a3282610bf0565b604254610a40906001613246565b6042553360008181526045602052604090819020839055517f36d78f0415e619ffc94d3836b595b59d53bf174e3478abbe8bc20bb27ce6227490610a879085908590613238565b60405180910390a25050565b610aa4610a9e6112fc565b82611460565b610ac05760405162461bcd60e51b815260040161088b90612f95565b6109438383836114e5565b6000908152600160208190526040909120015490565b60435460ff1681565b610af48282611612565b600082815260026020526040902061094390826112a5565b6000610b1783610e41565b8210610b355760405162461bcd60e51b815260040161088b9061294f565b506001600160a01b03821660009081526009602090815260408083208484529091529020545b92915050565b610b6b8282611636565b60008281526002602052604090206109439082611678565b610baf7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61063c6112fc565b610bcb5760405162461bcd60e51b815260040161088b9061318b565b610bd361168d565b565b610943838383604051806020016040528060008152506110f4565b610bfb610a9e6112fc565b610c175760405162461bcd60e51b815260040161088b9061313b565b610c20816116fb565b50565b6000610c2d610948565b8210610c4b5760405162461bcd60e51b815260040161088b9061301d565b600b8281548110610c6c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600d5460ff1690565b6000818152600560205260408120546001600160a01b0316806107ca5760405162461bcd60e51b815260040161088b90612d5c565b60435460ff16610cde5760405162461bcd60e51b815260040161088b906130b3565b604454341015610d005760405162461bcd60e51b815260040161088b90612f6b565b602a60415410610d225760405162461bcd60e51b815260040161088b90612e5b565b610d3533610d30600e6117a2565b6117a6565b60445415610d5c57604454604354610d5c916101009091046001600160a01b0316906113c4565b610d66600e611885565b604154610d74906001613246565b604155565b60445481565b610dab7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661063c6112fc565b610dc75760405162461bcd60e51b815260040161088b906130de565b602a60415410610de95760405162461bcd60e51b815260040161088b90612e5b565b610df781610d30600e6117a2565b610e01600e611885565b604154610e0f906001613246565b60415550565b610e20600033610fad565b610e3c5760405162461bcd60e51b815260040161088b90612a69565b604455565b60006001600160a01b038216610e695760405162461bcd60e51b815260040161088b90612d12565b506001600160a01b031660009081526006602052604090205490565b610e8d6112fc565b6001600160a01b0316610e9e610f7f565b6001600160a01b031614610ec45760405162461bcd60e51b815260040161088b90612e26565b610bd360006118a2565b60456020526000908152604090205481565b610f0c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61063c6112fc565b610f285760405162461bcd60e51b815260040161088b90612a8d565b610bd36118f2565b610f3b600033610fad565b610f575760405162461bcd60e51b815260040161088b90612a69565b604380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000546001600160a01b031690565b6000828152600260205260408120610fa6908361194d565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610fe3600033610fad565b610fff5760405162461bcd60e51b815260040161088b90612a69565b6043805460ff1916911515919091179055565b6060600480546107e1906132d7565b600081565b61102e6112fc565b6001600160a01b0316826001600160a01b0316141561105f5760405162461bcd60e51b815260040161088b90612b2e565b806008600061106c6112fc565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556110b06112fc565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110e8919061287a565b60405180910390a35050565b6111056110ff6112fc565b83611460565b6111215760405162461bcd60e51b815260040161088b90612f95565b61112d84848484611959565b50505050565b606061113e826112df565b61115a5760405162461bcd60e51b815260040161088b90612edb565b600061116461198c565b905060008151116107ca57604051806020016040528060008152509392505050565b60008181526002602052604081206107ca9061199b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610b6b82826119a6565b60415481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61122b6112fc565b6001600160a01b031661123c610f7f565b6001600160a01b0316146112625760405162461bcd60e51b815260040161088b90612e26565b6001600160a01b0381166112885760405162461bcd60e51b815260040161088b906129ec565b610c20816118a2565b60425481565b6112a182826119c5565b5050565b6000610fa6836001600160a01b038416611a4d565b60006001600160e01b0319821663780e9d6360e01b14806107ca57506107ca82611a97565b6000908152600560205260409020546001600160a01b0316151590565b3390565b600081815260076020526040902080546001600160a01b0319166001600160a01b038416908117909155819061133582610c87565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6109438363a9059cbb60e01b848460405160240161138d929190612861565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ad7565b804710156113e45760405162461bcd60e51b815260040161088b90612bc2565b6000826001600160a01b0316826040516113fd90612798565b60006040518083038185875af1925050503d806000811461143a576040519150601f19603f3d011682016040523d82523d6000602084013e61143f565b606091505b50509050806109435760405162461bcd60e51b815260040161088b90612b65565b600061146b826112df565b6114875760405162461bcd60e51b815260040161088b90612c3f565b600061149283610c87565b9050806001600160a01b0316846001600160a01b031614806114cd5750836001600160a01b03166114c284610864565b6001600160a01b0316145b806114dd57506114dd81856111f5565b949350505050565b826001600160a01b03166114f882610c87565b6001600160a01b03161461151e5760405162461bcd60e51b815260040161088b90612e92565b6001600160a01b0382166115445760405162461bcd60e51b815260040161088b90612aea565b61154f838383611b66565b61155a600082611300565b6001600160a01b038316600090815260066020526040812080546001929061158390849061327d565b90915550506001600160a01b03821660009081526006602052604081208054600192906115b1908490613246565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61161b82610acb565b61162c816116276112fc565b611b71565b61094383836119c5565b61163e6112fc565b6001600160a01b0316816001600160a01b03161461166e5760405162461bcd60e51b815260040161088b906131e9565b6112a18282611bd5565b6000610fa6836001600160a01b038416611c5a565b611695610c7e565b6116b15760405162461bcd60e51b815260040161088b90612921565b600d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116e46112fc565b6040516116f19190612810565b60405180910390a1565b600061170682610c87565b905061171481600084611b66565b61171f600083611300565b6001600160a01b038116600090815260066020526040812080546001929061174890849061327d565b909155505060008281526005602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b5490565b6001600160a01b0382166117cc5760405162461bcd60e51b815260040161088b90612da5565b6117d5816112df565b156117f25760405162461bcd60e51b815260040161088b90612a32565b6117fe60008383611b66565b6001600160a01b0382166000908152600660205260408120805460019290611827908490613246565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600181600001600082825461189a9190613246565b909155505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6118fa610c7e565b156119175760405162461bcd60e51b815260040161088b90612c8b565b600d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116e46112fc565b6000610fa68383611d77565b6119648484846114e5565b61197084848484611daf565b61112d5760405162461bcd60e51b815260040161088b9061299a565b6060600f80546107e1906132d7565b60006107ca826117a2565b6119af82610acb565b6119bb816116276112fc565b6109438383611bd5565b6119cf8282610fad565b6112a15760008281526001602081815260408084206001600160a01b0386168552909152909120805460ff19169091179055611a096112fc565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611a598383611eca565b611a8f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b5b565b506000610b5b565b60006001600160e01b031982166380ac58cd60e01b1480611ac857506001600160e01b03198216635b5e139f60e01b145b806107ca57506107ca82611ee2565b6000611b2c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f079092919063ffffffff16565b8051909150156109435780806020019051810190611b4a91906126a1565b6109435760405162461bcd60e51b815260040161088b90613069565b610943838383611f16565b611b7b8282610fad565b6112a157611b93816001600160a01b03166014611f46565b611b9e836020611f46565b604051602001611baf92919061279b565b60408051601f198184030181529082905262461bcd60e51b825261088b9160040161288e565b611bdf8282610fad565b156112a15760008281526001602090815260408083206001600160a01b03851684529091529020805460ff19169055611c166112fc565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60008181526001830160205260408120548015611d6d576000611c7e60018361327d565b8554909150600090611c929060019061327d565b9050818114611d13576000866000018281548110611cc057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611cf157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611d3257634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b5b565b6000915050610b5b565b6000826000018281548110611d9c57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6000611dc3846001600160a01b03166120f8565b15611ebf57836001600160a01b031663150b7a02611ddf6112fc565b8786866040518563ffffffff1660e01b8152600401611e019493929190612824565b602060405180830381600087803b158015611e1b57600080fd5b505af1925050508015611e4b575060408051601f3d908101601f19168201909252611e4891810190612734565b60015b611ea5573d808015611e79576040519150601f19603f3d011682016040523d82523d6000602084013e611e7e565b606091505b508051611e9d5760405162461bcd60e51b815260040161088b9061299a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114dd565b506001949350505050565b60009081526001919091016020526040902054151590565b60006001600160e01b03198216635a05180f60e01b14806107ca57506107ca826120fe565b60606114dd8484600085612123565b611f218383836121e3565b611f29610c7e565b156109435760405162461bcd60e51b815260040161088b906128d6565b60606000611f5583600261325e565b611f60906002613246565b67ffffffffffffffff811115611f8657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611fb0576020820181803683370190505b509050600360fc1b81600081518110611fd957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061201657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061203a84600261325e565b612045906001613246565b90505b60018111156120d9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061208757634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106120ab57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936120d2816132c0565b9050612048565b508315610fa65760405162461bcd60e51b815260040161088b906128a1565b3b151590565b60006001600160e01b03198216637965db0b60e01b14806107ca57506107ca8261226c565b6060824710156121455760405162461bcd60e51b815260040161088b90612bf9565b61214e856120f8565b61216a5760405162461bcd60e51b815260040161088b90612fe6565b600080866001600160a01b03168587604051612186919061277c565b60006040518083038185875af1925050503d80600081146121c3576040519150601f19603f3d011682016040523d82523d6000602084013e6121c8565b606091505b50915091506121d8828286612285565b979650505050505050565b6121ee838383610943565b6001600160a01b03831661220a57612205816122be565b61222d565b816001600160a01b0316836001600160a01b03161461222d5761222d8382612302565b6001600160a01b038216612249576122448161239f565b610943565b826001600160a01b0316826001600160a01b031614610943576109438282612478565b6001600160e01b031981166301ffc9a760e01b14919050565b60608315612294575081610fa6565b8251156122a45782518084602001fd5b8160405162461bcd60e51b815260040161088b919061288e565b600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b6000600161230f84610e41565b612319919061327d565b6000838152600a602052604090205490915080821461236c576001600160a01b03841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600981528383209183525290812055565b600b546000906123b19060019061327d565b6000838152600c6020526040812054600b80549394509092849081106123e757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600b838154811061241657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b80548061245c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061248383610e41565b6001600160a01b0390931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b80356001600160a01b03811681146107cd57600080fd5b6000602082840312156124e4578081fd5b610fa6826124bc565b600080604083850312156124ff578081fd5b612508836124bc565b9150612516602084016124bc565b90509250929050565b600080600060608486031215612533578081fd5b61253c846124bc565b925061254a602085016124bc565b9150604084013590509250925092565b6000806000806080858703121561256f578081fd5b612578856124bc565b935060206125878187016124bc565b935060408601359250606086013567ffffffffffffffff808211156125aa578384fd5b818801915088601f8301126125bd578384fd5b8135818111156125cf576125cf613328565b604051601f8201601f19168101850183811182821017156125f2576125f2613328565b60405281815283820185018b1015612608578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215612638578182fd5b612641836124bc565b915060208301356126518161333e565b809150509250929050565b6000806040838503121561266e578182fd5b612677836124bc565b946020939093013593505050565b600060208284031215612696578081fd5b8135610fa68161333e565b6000602082840312156126b2578081fd5b8151610fa68161333e565b6000602082840312156126ce578081fd5b5035919050565b600080604083850312156126e7578182fd5b82359150612516602084016124bc565b60008060408385031215612709578182fd5b50508035926020909101359150565b600060208284031215612729578081fd5b8135610fa68161334c565b600060208284031215612745578081fd5b8151610fa68161334c565b60008151808452612768816020860160208601613294565b601f01601f19169290920160200192915050565b6000825161278e818460208701613294565b9190910192915050565b90565b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516127d3816017850160208801613294565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612804816028840160208801613294565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061285790830184612750565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b600060208252610fa66020830184612750565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252600a908201526961646d696e206f6e6c7960b01b604082015260600190565b6020808252603e908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d75737420686176652070617573657220726f6c6520746f2070617573650000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f636c61696d206c696d6974207761732072656163686564000000000000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526010908201526f0dccacac840e8de40e6cadcc8408aa8960831b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526011908201527018db185a5b481b9bdd08195b98589b1959607a1b604082015260600190565b6020808252603d908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e74000000606082015260800190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b602080825260409082018190527f4552433732315072657365744d696e7465725061757365724175746f49643a20908201527f6d75737420686176652070617573657220726f6c6520746f20756e7061757365606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b918252602082015260400190565b6000821982111561325957613259613312565b500190565b600081600019048311821515161561327857613278613312565b500290565b60008282101561328f5761328f613312565b500390565b60005b838110156132af578181015183820152602001613297565b8381111561112d5750506000910152565b6000816132cf576132cf613312565b506000190190565b6002810460018216806132eb57607f821691505b6020821081141561330c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610c2057600080fd5b6001600160e01b031981168114610c2057600080fdfea2646970667358221220fddff9178521f8b3d7d25170503f5ba846ac08e811d19a6dd4a4fc9a8e44abea64736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000f6a0307cb6aa05d7c19d080a0da9b14eab1050b7000000000000000000000000000000000000000000000000009536c708910000000000000000000000000000000000000000000000000000000000000000000a4f4720542d53686972740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f47540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d636b3946707a54664371327065317834396565425433774435507159747a6f774655596e3735777a433567670000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): OG T-Shirt
Arg [1] : symbol (string): OGT
Arg [2] : baseTokenURI (string): https://ipfs.io/ipfs/Qmck9FpzTfCq2pe1x49eeBT3wD5PqYtzowFUYn75wzC5gg
Arg [3] : _feeAddress (address): 0xf6A0307cb6aA05D7C19d080A0DA9B14eAB1050b7
Arg [4] : _feeAmount (uint256): 42000000000000000

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000f6a0307cb6aa05d7c19d080a0da9b14eab1050b7
Arg [4] : 000000000000000000000000000000000000000000000000009536c708910000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 4f4720542d536869727400000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 4f47540000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [10] : 68747470733a2f2f697066732e696f2f697066732f516d636b3946707a546643
Arg [11] : 71327065317834396565425433774435507159747a6f774655596e3735777a43
Arg [12] : 3567670000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

86916:7492:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90632:204;;;;;;;;;;-1:-1:-1;90632:204:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21116:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22675:221::-;;;;;;;;;;-1:-1:-1;22675:221:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;22198:411::-;;;;;;;;;;-1:-1:-1;22198:411:0;;;;;:::i;:::-;;:::i;34628:113::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;93944:461::-;;;;;;;;;;-1:-1:-1;93944:461:0;;;;;:::i;:::-;;:::i;91897:30::-;;;;;;;;;;;;;:::i;93311:224::-;;;;;;;;;;-1:-1:-1;93311:224:0;;;;;:::i;:::-;;:::i;23565:339::-;;;;;;;;;;-1:-1:-1;23565:339:0;;;;;:::i;:::-;;:::i;53676:123::-;;;;;;;;;;-1:-1:-1;53676:123:0;;;;;:::i;:::-;;:::i;91866:24::-;;;;;;;;;;;;;:::i;71044:196::-;;;;;;;;;;-1:-1:-1;71044:196:0;;;;;:::i;:::-;;:::i;34296:256::-;;;;;;;;;;-1:-1:-1;34296:256:0;;;;;:::i;:::-;;:::i;71629:205::-;;;;;;;;;;-1:-1:-1;71629:205:0;;;;;:::i;:::-;;:::i;90162:185::-;;;;;;;;;;;;;:::i;23975:::-;;;;;;;;;;-1:-1:-1;23975:185:0;;;;;:::i;:::-;;:::i;40481:245::-;;;;;;;;;;-1:-1:-1;40481:245:0;;;;;:::i;:::-;;:::i;34818:233::-;;;;;;;;;;-1:-1:-1;34818:233:0;;;;;:::i;:::-;;:::i;41718:86::-;;;;;;;;;;;;;:::i;20810:239::-;;;;;;;;;;-1:-1:-1;20810:239:0;;;;;:::i;:::-;;:::i;92832:471::-;;;:::i;91934:24::-;;;;;;;;;;;;;:::i;89027:522::-;;;;;;;;;;-1:-1:-1;89027:522:0;;;;;:::i;:::-;;:::i;92239:151::-;;;;;;;;;;-1:-1:-1;92239:151:0;;;;;:::i;:::-;;:::i;20540:208::-;;;;;;;;;;-1:-1:-1;20540:208:0;;;;;:::i;:::-;;:::i;45236:94::-;;;;;;;;;;;;;:::i;91965:45::-;;;;;;;;;;-1:-1:-1;91965:45:0;;;;;:::i;:::-;;:::i;89764:179::-;;;;;;;;;;;;;:::i;92398:172::-;;;;;;;;;;-1:-1:-1;92398:172:0;;;;;:::i;:::-;;:::i;44585:87::-;;;;;;;;;;;;;:::i;70499:145::-;;;;;;;;;;-1:-1:-1;70499:145:0;;;;;:::i;:::-;;:::i;52561:139::-;;;;;;;;;;-1:-1:-1;52561:139:0;;;;;:::i;:::-;;:::i;92652:172::-;;;;;;;;;;-1:-1:-1;92652:172:0;;;;;:::i;:::-;;:::i;21285:104::-;;;;;;;;;;;;;:::i;51652:49::-;;;;;;;;;;;;;:::i;22968:295::-;;;;;;;;;;-1:-1:-1;22968:295:0;;;;;:::i;:::-;;:::i;24231:328::-;;;;;;;;;;-1:-1:-1;24231:328:0;;;;;:::i;:::-;;:::i;91136:431::-;;;;;;;;;;-1:-1:-1;91136:431:0;;;;;:::i;:::-;;:::i;70818:134::-;;;;;;;;;;-1:-1:-1;70818:134:0;;;;;:::i;:::-;;:::i;88299:62::-;;;;;;;;;;;;;:::i;71333:201::-;;;;;;;;;;-1:-1:-1;71333:201:0;;;;;:::i;:::-;;:::i;91797:27::-;;;;;;;;;;;;;:::i;88368:62::-;;;;;;;;;;;;;:::i;23334:164::-;;;;;;;;;;-1:-1:-1;23334:164:0;;;;;:::i;:::-;;:::i;45485:192::-;;;;;;;;;;-1:-1:-1;45485:192:0;;;;;:::i;:::-;;:::i;91831:28::-;;;;;;;;;;;;;:::i;90632:204::-;90768:4;90792:36;90816:11;90792:23;:36::i;:::-;90785:43;;90632:204;;;;:::o;21116:100::-;21170:13;21203:5;21196:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21116:100;:::o;22675:221::-;22751:7;22779:16;22787:7;22779;:16::i;:::-;22771:73;;;;-1:-1:-1;;;22771:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;22864:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22864:24:0;;22675:221::o;22198:411::-;22279:13;22295:23;22310:7;22295:14;:23::i;:::-;22279:39;;22343:5;-1:-1:-1;;;;;22337:11:0;:2;-1:-1:-1;;;;;22337:11:0;;;22329:57;;;;-1:-1:-1;;;22329:57:0;;;;;;;:::i;:::-;22437:5;-1:-1:-1;;;;;22421:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;22421:21:0;;:62;;;;22446:37;22463:5;22470:12;:10;:12::i;22446:37::-;22399:168;;;;-1:-1:-1;;;22399:168:0;;;;;;;:::i;:::-;22580:21;22589:2;22593:7;22580:8;:21::i;:::-;22198:411;;;:::o;34628:113::-;34716:10;:17;34628:113;:::o;93944:461::-;94086:39;51697:4;94114:10;94086:7;:39::i;:::-;94078:62;;;;-1:-1:-1;;;94078:62:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;94155:27:0;;93893:42;94155:27;94151:183;;94199:50;-1:-1:-1;;;;;94199:27:0;;94227:12;94241:7;94199:27;:50::i;:::-;94151:183;;;94282:40;-1:-1:-1;;;;;94282:31:0;;94314:7;94282:31;:40::i;:::-;94375:12;-1:-1:-1;;;;;94349:48:0;94367:6;-1:-1:-1;;;;;94349:48:0;;94389:7;94349:48;;;;;;:::i;:::-;;;;;;;;93944:461;;;:::o;91897:30::-;;;;;;-1:-1:-1;;;;;91897:30:0;;:::o;93311:224::-;93377:14;93382:8;93377:4;:14::i;:::-;93418:13;;:17;;93434:1;93418:17;:::i;:::-;93402:13;:33;93457:10;93446:22;;;;:10;:22;;;;;;;:29;;;93493:34;;;;;93512:8;;93471:4;;93493:34;:::i;:::-;;;;;;;;93311:224;;:::o;23565:339::-;23760:41;23779:12;:10;:12::i;:::-;23793:7;23760:18;:41::i;:::-;23752:103;;;;-1:-1:-1;;;23752:103:0;;;;;;;:::i;:::-;23868:28;23878:4;23884:2;23888:7;23868:9;:28::i;53676:123::-;53742:7;53769:12;;;:6;:12;;;;;;;;:22;;;53676:123::o;91866:24::-;;;;;;:::o;71044:196::-;71160:30;71176:4;71182:7;71160:15;:30::i;:::-;71201:18;;;;:12;:18;;;;;:31;;71224:7;71201:22;:31::i;34296:256::-;34393:7;34429:23;34446:5;34429:16;:23::i;:::-;34421:5;:31;34413:87;;;;-1:-1:-1;;;34413:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;34518:19:0;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34296:256;;;;;:::o;71629:205::-;71748:33;71767:4;71773:7;71748:18;:33::i;:::-;71792:18;;;;:12;:18;;;;;:34;;71818:7;71792:25;:34::i;90162:185::-;90215:34;88406:24;90236:12;:10;:12::i;90215:34::-;90207:111;;;;-1:-1:-1;;;90207:111:0;;;;;;;:::i;:::-;90329:10;:8;:10::i;:::-;90162:185::o;23975:::-;24113:39;24130:4;24136:2;24140:7;24113:39;;;;;;;;;;;;:16;:39::i;40481:245::-;40599:41;40618:12;:10;:12::i;40599:41::-;40591:102;;;;-1:-1:-1;;;40591:102:0;;;;;;;:::i;:::-;40704:14;40710:7;40704:5;:14::i;:::-;40481:245;:::o;34818:233::-;34893:7;34929:30;:28;:30::i;:::-;34921:5;:38;34913:95;;;;-1:-1:-1;;;34913:95:0;;;;;;;:::i;:::-;35026:10;35037:5;35026:17;;;;;;-1:-1:-1;;;35026:17:0;;;;;;;;;;;;;;;;;35019:24;;34818:233;;;:::o;41718:86::-;41789:7;;;;41718:86;:::o;20810:239::-;20882:7;20918:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20918:16:0;20953:19;20945:73;;;;-1:-1:-1;;;20945:73:0;;;;;;;:::i;92832:471::-;92886:12;;;;92878:42;;;;-1:-1:-1;;;92878:42:0;;;;;;;:::i;:::-;92952:9;;92939;:22;;92931:51;;;;-1:-1:-1;;;92931:51:0;;;;;;;:::i;:::-;91786:2;93001:12;;:26;92993:62;;;;-1:-1:-1;;;92993:62:0;;;;;;;:::i;:::-;93068:44;93074:10;93086:25;:15;:23;:25::i;:::-;93068:5;:44::i;:::-;93127:9;;:13;93123:91;;93192:9;;93165:15;;93157:45;;93165:15;;;;-1:-1:-1;;;;;93165:15:0;;93157:34;:45::i;:::-;93226:27;:15;:25;:27::i;:::-;93279:12;;:16;;93294:1;93279:16;:::i;:::-;93264:12;:31;92832:471::o;91934:24::-;;;;:::o;89027:522::-;89087:34;88337:24;89108:12;:10;:12::i;89087:34::-;89079:108;;;;-1:-1:-1;;;89079:108:0;;;;;;;:::i;:::-;91786:2;89206:12;;:26;89198:62;;;;-1:-1:-1;;;89198:62:0;;;;;;;:::i;:::-;89425:36;89431:2;89435:25;:15;:23;:25::i;89425:36::-;89472:27;:15;:25;:27::i;:::-;89525:12;;:16;;89540:1;89525:16;:::i;:::-;89510:12;:31;-1:-1:-1;89027:522:0:o;92239:151::-;92301:39;51697:4;92329:10;92301:7;:39::i;:::-;92293:62;;;;-1:-1:-1;;;92293:62:0;;;;;;;:::i;:::-;92366:9;:16;92239:151::o;20540:208::-;20612:7;-1:-1:-1;;;;;20640:19:0;;20632:74;;;;-1:-1:-1;;;20632:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;20724:16:0;;;;;:9;:16;;;;;;;20540:208::o;45236:94::-;44816:12;:10;:12::i;:::-;-1:-1:-1;;;;;44805:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;44805:23:0;;44797:68;;;;-1:-1:-1;;;44797:68:0;;;;;;;:::i;:::-;45301:21:::1;45319:1;45301:9;:21::i;91965:45::-:0;;;;;;;;;;;;;:::o;89764:179::-;89815:34;88406:24;89836:12;:10;:12::i;89815:34::-;89807:109;;;;-1:-1:-1;;;89807:109:0;;;;;;;:::i;:::-;89927:8;:6;:8::i;92398:172::-;92468:39;51697:4;92496:10;92468:7;:39::i;:::-;92460:62;;;;-1:-1:-1;;;92460:62:0;;;;;;;:::i;:::-;92533:15;:29;;-1:-1:-1;;;;;92533:29:0;;;;;-1:-1:-1;;;;;;92533:29:0;;;;;;;;;92398:172::o;44585:87::-;44631:7;44658:6;-1:-1:-1;;;;;44658:6:0;44585:87;:::o;70499:145::-;70581:7;70608:18;;;:12;:18;;;;;:28;;70630:5;70608:21;:28::i;:::-;70601:35;70499:145;-1:-1:-1;;;70499:145:0:o;52561:139::-;52639:4;52663:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;52663:29:0;;;;;;;;;;;;;;;52561:139::o;92652:172::-;92723:39;51697:4;92751:10;92723:7;:39::i;:::-;92715:62;;;;-1:-1:-1;;;92715:62:0;;;;;;;:::i;:::-;92788:12;:28;;-1:-1:-1;;92788:28:0;;;;;;;;;;92652:172::o;21285:104::-;21341:13;21374:7;21367:14;;;;;:::i;51652:49::-;51697:4;51652:49;:::o;22968:295::-;23083:12;:10;:12::i;:::-;-1:-1:-1;;;;;23071:24:0;:8;-1:-1:-1;;;;;23071:24:0;;;23063:62;;;;-1:-1:-1;;;23063:62:0;;;;;;;:::i;:::-;23183:8;23138:18;:32;23157:12;:10;:12::i;:::-;-1:-1:-1;;;;;23138:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;23138:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;23138:53:0;;;;;;;;;;;23222:12;:10;:12::i;:::-;-1:-1:-1;;;;;23207:48:0;;23246:8;23207:48;;;;;;:::i;:::-;;;;;;;;22968:295;;:::o;24231:328::-;24406:41;24425:12;:10;:12::i;:::-;24439:7;24406:18;:41::i;:::-;24398:103;;;;-1:-1:-1;;;24398:103:0;;;;;;;:::i;:::-;24512:39;24526:4;24532:2;24536:7;24545:5;24512:13;:39::i;:::-;24231:328;;;;:::o;91136:431::-;91209:13;91243:16;91251:7;91243;:16::i;:::-;91235:76;;;;-1:-1:-1;;;91235:76:0;;;;;;;:::i;:::-;91324:21;91348:10;:8;:10::i;:::-;91324:34;;91400:1;91382:7;91376:21;:25;:183;;;;;;;;;;;;;;91369:190;91136:431;-1:-1:-1;;;91136:431:0:o;70818:134::-;70890:7;70917:18;;;:12;:18;;;;;:27;;:25;:27::i;88299:62::-;88337:24;88299:62;:::o;71333:201::-;71450:31;71467:4;71473:7;71450:16;:31::i;91797:27::-;;;;:::o;88368:62::-;88406:24;88368:62;:::o;23334:164::-;-1:-1:-1;;;;;23455:25:0;;;23431:4;23455:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23334:164::o;45485:192::-;44816:12;:10;:12::i;:::-;-1:-1:-1;;;;;44805:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;44805:23:0;;44797:68;;;;-1:-1:-1;;;44797:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45574:22:0;::::1;45566:73;;;;-1:-1:-1::0;;;45566:73:0::1;;;;;;;:::i;:::-;45650:19;45660:8;45650:9;:19::i;91831:28::-:0;;;;:::o;55910:112::-;55989:25;56000:4;56006:7;55989:10;:25::i;:::-;55910:112;;:::o;64594:152::-;64664:4;64688:50;64693:3;-1:-1:-1;;;;;64713:23:0;;64688:4;:50::i;33988:224::-;34090:4;-1:-1:-1;;;;;;34114:50:0;;-1:-1:-1;;;34114:50:0;;:90;;;34168:36;34192:11;34168:23;:36::i;26069:127::-;26134:4;26158:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26158:16:0;:30;;;26069:127::o;15877:98::-;15957:10;15877:98;:::o;30051:174::-;30126:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30126:29:0;-1:-1:-1;;;;;30126:29:0;;;;;;;;:24;;30180:23;30126:24;30180:14;:23::i;:::-;-1:-1:-1;;;;;30171:46:0;;;;;;;;;;;30051:174;;:::o;76714:211::-;76831:86;76851:5;76881:23;;;76906:2;76910:5;76858:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;76858:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;76858:58:0;-1:-1:-1;;;;;;76858:58:0;;;;;;;;;;76831:19;:86::i;9326:317::-;9441:6;9416:21;:31;;9408:73;;;;-1:-1:-1;;;9408:73:0;;;;;;;:::i;:::-;9495:12;9513:9;-1:-1:-1;;;;;9513:14:0;9535:6;9513:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9494:52;;;9565:7;9557:78;;;;-1:-1:-1;;;9557:78:0;;;;;;;:::i;26363:348::-;26456:4;26481:16;26489:7;26481;:16::i;:::-;26473:73;;;;-1:-1:-1;;;26473:73:0;;;;;;;:::i;:::-;26557:13;26573:23;26588:7;26573:14;:23::i;:::-;26557:39;;26626:5;-1:-1:-1;;;;;26615:16:0;:7;-1:-1:-1;;;;;26615:16:0;;:51;;;;26659:7;-1:-1:-1;;;;;26635:31:0;:20;26647:7;26635:11;:20::i;:::-;-1:-1:-1;;;;;26635:31:0;;26615:51;:87;;;;26670:32;26687:5;26694:7;26670:16;:32::i;:::-;26607:96;26363:348;-1:-1:-1;;;;26363:348:0:o;29355:578::-;29514:4;-1:-1:-1;;;;;29487:31:0;:23;29502:7;29487:14;:23::i;:::-;-1:-1:-1;;;;;29487:31:0;;29479:85;;;;-1:-1:-1;;;29479:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29583:16:0;;29575:65;;;;-1:-1:-1;;;29575:65:0;;;;;;;:::i;:::-;29653:39;29674:4;29680:2;29684:7;29653:20;:39::i;:::-;29757:29;29774:1;29778:7;29757:8;:29::i;:::-;-1:-1:-1;;;;;29799:15:0;;;;;;:9;:15;;;;;:20;;29818:1;;29799:15;:20;;29818:1;;29799:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29830:13:0;;;;;;:9;:13;;;;;:18;;29847:1;;29830:13;:18;;29847:1;;29830:18;:::i;:::-;;;;-1:-1:-1;;29859:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29859:21:0;-1:-1:-1;;;;;29859:21:0;;;;;;;;;29898:27;;29859:16;;29898:27;;;;;;;29355:578;;;:::o;54061:147::-;54144:18;54157:4;54144:12;:18::i;:::-;52143:30;52154:4;52160:12;:10;:12::i;:::-;52143:10;:30::i;:::-;54175:25:::1;54186:4;54192:7;54175:10;:25::i;55109:218::-:0;55216:12;:10;:12::i;:::-;-1:-1:-1;;;;;55205:23:0;:7;-1:-1:-1;;;;;55205:23:0;;55197:83;;;;-1:-1:-1;;;55197:83:0;;;;;;;:::i;:::-;55293:26;55305:4;55311:7;55293:11;:26::i;64922:158::-;64995:4;65019:53;65027:3;-1:-1:-1;;;;;65047:23:0;;65019:7;:53::i;42777:120::-;42321:8;:6;:8::i;:::-;42313:41;;;;-1:-1:-1;;;42313:41:0;;;;;;;:::i;:::-;42836:7:::1;:15:::0;;-1:-1:-1;;42836:15:0::1;::::0;;42867:22:::1;42876:12;:10;:12::i;:::-;42867:22;;;;;;:::i;:::-;;;;;;;;42777:120::o:0;28658:360::-;28718:13;28734:23;28749:7;28734:14;:23::i;:::-;28718:39;;28770:48;28791:5;28806:1;28810:7;28770:20;:48::i;:::-;28859:29;28876:1;28880:7;28859:8;:29::i;:::-;-1:-1:-1;;;;;28901:16:0;;;;;;:9;:16;;;;;:21;;28921:1;;28901:16;:21;;28921:1;;28901:21;:::i;:::-;;;;-1:-1:-1;;28940:16:0;;;;:7;:16;;;;;;28933:23;;-1:-1:-1;;;;;;28933:23:0;;;28974:36;28948:7;;28940:16;-1:-1:-1;;;;;28974:36:0;;;;;28940:16;;28974:36;28658:360;;:::o;72836:114::-;72928:14;;72836:114::o;28047:382::-;-1:-1:-1;;;;;28127:16:0;;28119:61;;;;-1:-1:-1;;;28119:61:0;;;;;;;:::i;:::-;28200:16;28208:7;28200;:16::i;:::-;28199:17;28191:58;;;;-1:-1:-1;;;28191:58:0;;;;;;;:::i;:::-;28262:45;28291:1;28295:2;28299:7;28262:20;:45::i;:::-;-1:-1:-1;;;;;28320:13:0;;;;;;:9;:13;;;;;:18;;28337:1;;28320:13;:18;;28337:1;;28320:18;:::i;:::-;;;;-1:-1:-1;;28349:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28349:21:0;-1:-1:-1;;;;;28349:21:0;;;;;;;;28388:33;;28349:16;;;28388:33;;28349:16;;28388:33;28047:382;;:::o;72958:131::-;73067:1;73049:7;:14;;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;;72958:131:0:o;45685:173::-;45741:16;45760:6;;-1:-1:-1;;;;;45777:17:0;;;-1:-1:-1;;;;;;45777:17:0;;;;;;45810:40;;45760:6;;;;;;;45810:40;;45741:16;45810:40;45685:173;;:::o;42518:118::-;42044:8;:6;:8::i;:::-;42043:9;42035:38;;;;-1:-1:-1;;;42035:38:0;;;;;;;:::i;:::-;42578:7:::1;:14:::0;;-1:-1:-1;;42578:14:0::1;42588:4;42578:14;::::0;;42608:20:::1;42615:12;:10;:12::i;65890:158::-:0;65964:7;66015:22;66019:3;66031:5;66015:3;:22::i;25441:315::-;25598:28;25608:4;25614:2;25618:7;25598:9;:28::i;:::-;25645:48;25668:4;25674:2;25678:7;25687:5;25645:22;:48::i;:::-;25637:111;;;;-1:-1:-1;;;25637:111:0;;;;;;;:::i;88525:114::-;88585:13;88618;88611:20;;;;;:::i;65419:117::-;65482:7;65509:19;65517:3;65509:7;:19::i;54453:149::-;54537:18;54550:4;54537:12;:18::i;:::-;52143:30;52154:4;52160:12;:10;:12::i;52143:30::-;54568:26:::1;54580:4;54586:7;54568:11;:26::i;56413:229::-:0;56488:22;56496:4;56502:7;56488;:22::i;:::-;56483:152;;56527:12;;;;56559:4;56527:12;;;;;;;;-1:-1:-1;;;;;56527:29:0;;;;;;;;;;:36;;-1:-1:-1;;56527:36:0;;;;;;56610:12;:10;:12::i;:::-;-1:-1:-1;;;;;56583:40:0;56601:7;-1:-1:-1;;;;;56583:40:0;56595:4;56583:40;;;;;;;;;;56413:229;;:::o;58509:414::-;58572:4;58594:21;58604:3;58609:5;58594:9;:21::i;:::-;58589:327;;-1:-1:-1;58632:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;58815:18;;58793:19;;;:12;;;:19;;;;;;:40;;;;58848:11;;58589:327;-1:-1:-1;58899:5:0;58892:12;;20171:305;20273:4;-1:-1:-1;;;;;;20310:40:0;;-1:-1:-1;;;20310:40:0;;:105;;-1:-1:-1;;;;;;;20367:48:0;;-1:-1:-1;;;20367:48:0;20310:105;:158;;;;20432:36;20456:11;20432:23;:36::i;79291:716::-;79715:23;79741:69;79769:4;79741:69;;;;;;;;;;;;;;;;;79749:5;-1:-1:-1;;;;;79741:27:0;;;:69;;;;;:::i;:::-;79825:17;;79715:95;;-1:-1:-1;79825:21:0;79821:179;;79922:10;79911:30;;;;;;;;;;;;:::i;:::-;79903:85;;;;-1:-1:-1;;;79903:85:0;;;;;;;:::i;90355:205::-;90507:45;90534:4;90540:2;90544:7;90507:26;:45::i;52990:497::-;53071:22;53079:4;53085:7;53071;:22::i;:::-;53066:414;;53259:41;53287:7;-1:-1:-1;;;;;53259:41:0;53297:2;53259:19;:41::i;:::-;53373:38;53401:4;53408:2;53373:19;:38::i;:::-;53164:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;53164:270:0;;;;;;;;;;-1:-1:-1;;;53110:358:0;;;;;;;:::i;56650:230::-;56725:22;56733:4;56739:7;56725;:22::i;:::-;56721:152;;;56796:5;56764:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;56764:29:0;;;;;;;;;:37;;-1:-1:-1;;56764:37:0;;;56848:12;:10;:12::i;:::-;-1:-1:-1;;;;;56821:40:0;56839:7;-1:-1:-1;;;;;56821:40:0;56833:4;56821:40;;;;;;;;;;56650:230;;:::o;59099:1420::-;59165:4;59304:19;;;:12;;;:19;;;;;;59340:15;;59336:1176;;59715:21;59739:14;59752:1;59739:10;:14;:::i;:::-;59788:18;;59715:38;;-1:-1:-1;59768:17:0;;59788:22;;59809:1;;59788:22;:::i;:::-;59768:42;;59844:13;59831:9;:26;59827:405;;59878:17;59898:3;:11;;59910:9;59898:22;;;;;;-1:-1:-1;;;59898:22:0;;;;;;;;;;;;;;;;;59878:42;;60052:9;60023:3;:11;;60035:13;60023:26;;;;;;-1:-1:-1;;;60023:26:0;;;;;;;;;;;;;;;;;;;;:38;;;;60137:23;;;:12;;;:23;;;;;:36;;;59827:405;60313:17;;:3;;:17;;;-1:-1:-1;;;60313:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;60408:3;:12;;:19;60421:5;60408:19;;;;;;;;;;;60401:26;;;60451:4;60444:11;;;;;;;59336:1176;60495:5;60488:12;;;;;61283:120;61350:7;61377:3;:11;;61389:5;61377:18;;;;;;-1:-1:-1;;;61377:18:0;;;;;;;;;;;;;;;;;61370:25;;61283:120;;;;:::o;30790:799::-;30945:4;30966:15;:2;-1:-1:-1;;;;;30966:13:0;;:15::i;:::-;30962:620;;;31018:2;-1:-1:-1;;;;;31002:36:0;;31039:12;:10;:12::i;:::-;31053:4;31059:7;31068:5;31002:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31002:72:0;;;;;;;;-1:-1:-1;;31002:72:0;;;;;;;;;;;;:::i;:::-;;;30998:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31244:13:0;;31240:272;;31287:60;;-1:-1:-1;;;31287:60:0;;;;;;;:::i;31240:272::-;31462:6;31456:13;31447:6;31443:2;31439:15;31432:38;30998:529;-1:-1:-1;;;;;;31125:51:0;-1:-1:-1;;;31125:51:0;;-1:-1:-1;31118:58:0;;30962:620;-1:-1:-1;31566:4:0;30790:799;;;;;;:::o;60605:129::-;60678:4;60702:19;;;:12;;;;;:19;;;;;;:24;;;60605:129::o;69686:214::-;69771:4;-1:-1:-1;;;;;;69795:57:0;;-1:-1:-1;;;69795:57:0;;:97;;;69856:36;69880:11;69856:23;:36::i;10810:229::-;10947:12;10979:52;11001:6;11009:4;11015:1;11018:12;10979:21;:52::i;43391:275::-;43535:45;43562:4;43568:2;43572:7;43535:26;:45::i;:::-;43602:8;:6;:8::i;:::-;43601:9;43593:65;;;;-1:-1:-1;;;43593:65:0;;;;;;;:::i;17620:451::-;17695:13;17721:19;17753:10;17757:6;17753:1;:10;:::i;:::-;:14;;17766:1;17753:14;:::i;:::-;17743:25;;;;;;-1:-1:-1;;;17743:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17743:25:0;;17721:47;;-1:-1:-1;;;17779:6:0;17786:1;17779:9;;;;;;-1:-1:-1;;;17779:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;17779:15:0;;;;;;;;;-1:-1:-1;;;17805:6:0;17812:1;17805:9;;;;;;-1:-1:-1;;;17805:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;17805:15:0;;;;;;;;-1:-1:-1;17836:9:0;17848:10;17852:6;17848:1;:10;:::i;:::-;:14;;17861:1;17848:14;:::i;:::-;17836:26;;17831:135;17868:1;17864;:5;17831:135;;;-1:-1:-1;;;17916:5:0;17924:3;17916:11;17903:25;;;;;-1:-1:-1;;;17903:25:0;;;;;;;;;;;;17891:6;17898:1;17891:9;;;;;;-1:-1:-1;;;17891:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;17891:37:0;;;;;;;;-1:-1:-1;17953:1:0;17943:11;;;;;17871:3;;;:::i;:::-;;;17831:135;;;-1:-1:-1;17984:10:0;;17976:55;;;;-1:-1:-1;;;17976:55:0;;;;;;;:::i;8004:387::-;8327:20;8375:8;;;8004:387::o;52265:204::-;52350:4;-1:-1:-1;;;;;;52374:47:0;;-1:-1:-1;;;52374:47:0;;:87;;;52425:36;52449:11;52425:23;:36::i;11930:510::-;12100:12;12158:5;12133:21;:30;;12125:81;;;;-1:-1:-1;;;12125:81:0;;;;;;;:::i;:::-;12225:18;12236:6;12225:10;:18::i;:::-;12217:60;;;;-1:-1:-1;;;12217:60:0;;;;;;;:::i;:::-;12291:12;12305:23;12332:6;-1:-1:-1;;;;;12332:11:0;12351:5;12358:4;12332:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12290:73;;;;12381:51;12398:7;12407:10;12419:12;12381:16;:51::i;:::-;12374:58;11930:510;-1:-1:-1;;;;;;;11930:510:0:o;35664:589::-;35808:45;35835:4;35841:2;35845:7;35808:26;:45::i;:::-;-1:-1:-1;;;;;35870:18:0;;35866:187;;35905:40;35937:7;35905:31;:40::i;:::-;35866:187;;;35975:2;-1:-1:-1;;;;;35967:10:0;:4;-1:-1:-1;;;;;35967:10:0;;35963:90;;35994:47;36027:4;36033:7;35994:32;:47::i;:::-;-1:-1:-1;;;;;36067:16:0;;36063:183;;36100:45;36137:7;36100:36;:45::i;:::-;36063:183;;;36173:4;-1:-1:-1;;;;;36167:10:0;:2;-1:-1:-1;;;;;36167:10:0;;36163:83;;36194:40;36222:2;36226:7;36194:27;:40::i;18778:157::-;-1:-1:-1;;;;;;18887:40:0;;-1:-1:-1;;;18887:40:0;18778:157;;;:::o;14616:712::-;14766:12;14795:7;14791:530;;;-1:-1:-1;14826:10:0;14819:17;;14791:530;14940:17;;:21;14936:374;;15138:10;15132:17;15199:15;15186:10;15182:2;15178:19;15171:44;15086:148;15281:12;15274:20;;-1:-1:-1;;;15274:20:0;;;;;;;;:::i;36976:164::-;37080:10;:17;;37053:24;;;;:15;:24;;;;;:44;;;37108:24;;;;;;;;;;;;36976:164::o;37767:988::-;38033:22;38083:1;38058:22;38075:4;38058:16;:22::i;:::-;:26;;;;:::i;:::-;38095:18;38116:26;;;:17;:26;;;;;;38033:51;;-1:-1:-1;38249:28:0;;;38245:328;;-1:-1:-1;;;;;38316:18:0;;38294:19;38316:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38367:30;;;;;;:44;;;38484:30;;:17;:30;;;;;:43;;;38245:328;-1:-1:-1;38669:26:0;;;;:17;:26;;;;;;;;38662:33;;;-1:-1:-1;;;;;38713:18:0;;;;;:12;:18;;;;;:34;;;;;;;38706:41;37767:988::o;39050:1079::-;39328:10;:17;39303:22;;39328:21;;39348:1;;39328:21;:::i;:::-;39360:18;39381:24;;;:15;:24;;;;;;39754:10;:26;;39303:46;;-1:-1:-1;39381:24:0;;39303:46;;39754:26;;;;-1:-1:-1;;;39754:26:0;;;;;;;;;;;;;;;;;39732:48;;39818:11;39793:10;39804;39793:22;;;;;;-1:-1:-1;;;39793:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;39898:28;;;:15;:28;;;;;;;:41;;;40070:24;;;;;40063:31;40105:10;:16;;;;;-1:-1:-1;;;40105:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;39050:1079;;;;:::o;36554:221::-;36639:14;36656:20;36673:2;36656:16;:20::i;:::-;-1:-1:-1;;;;;36687:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36732:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36554:221:0:o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;397:274::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;;625:40;661:2;650:9;646:18;625:40;:::i;:::-;615:50;;484:187;;;;;:::o;676:342::-;;;;822:2;810:9;801:7;797:23;793:32;790:2;;;843:6;835;828:22;790:2;871:31;892:9;871:31;:::i;:::-;861:41;;921:40;957:2;946:9;942:18;921:40;:::i;:::-;911:50;;1008:2;997:9;993:18;980:32;970:42;;780:238;;;;;:::o;1023:1178::-;;;;;1195:3;1183:9;1174:7;1170:23;1166:33;1163:2;;;1217:6;1209;1202:22;1163:2;1245:31;1266:9;1245:31;:::i;:::-;1235:41;;1295:2;1316:40;1352:2;1341:9;1337:18;1316:40;:::i;:::-;1306:50;;1403:2;1392:9;1388:18;1375:32;1365:42;;1458:2;1447:9;1443:18;1430:32;1481:18;1522:2;1514:6;1511:14;1508:2;;;1543:6;1535;1528:22;1508:2;1586:6;1575:9;1571:22;1561:32;;1631:7;1624:4;1620:2;1616:13;1612:27;1602:2;;1658:6;1650;1643:22;1602:2;1699;1686:16;1721:2;1717;1714:10;1711:2;;;1727:18;;:::i;:::-;1776:2;1770:9;1845:2;1826:13;;-1:-1:-1;;1822:27:1;1810:40;;1806:49;;1870:18;;;1890:22;;;1867:46;1864:2;;;1916:18;;:::i;:::-;1952:2;1945:22;1976:18;;;2013:11;;;2009:20;;2006:33;-1:-1:-1;2003:2:1;;;2057:6;2049;2042:22;2003:2;2118;2113;2109;2105:11;2100:2;2092:6;2088:15;2075:46;2141:15;;;2137:24;;;2130:40;;;;-1:-1:-1;1153:1048:1;;;;-1:-1:-1;1153:1048:1;;-1:-1:-1;;1153:1048:1:o;2206:329::-;;;2332:2;2320:9;2311:7;2307:23;2303:32;2300:2;;;2353:6;2345;2338:22;2300:2;2381:31;2402:9;2381:31;:::i;:::-;2371:41;;2462:2;2451:9;2447:18;2434:32;2475:30;2499:5;2475:30;:::i;:::-;2524:5;2514:15;;;2290:245;;;;;:::o;2540:266::-;;;2669:2;2657:9;2648:7;2644:23;2640:32;2637:2;;;2690:6;2682;2675:22;2637:2;2718:31;2739:9;2718:31;:::i;:::-;2708:41;2796:2;2781:18;;;;2768:32;;-1:-1:-1;;;2627:179:1:o;2811:253::-;;2920:2;2908:9;2899:7;2895:23;2891:32;2888:2;;;2941:6;2933;2926:22;2888:2;2985:9;2972:23;3004:30;3028:5;3004:30;:::i;3069:257::-;;3189:2;3177:9;3168:7;3164:23;3160:32;3157:2;;;3210:6;3202;3195:22;3157:2;3247:9;3241:16;3266:30;3290:5;3266:30;:::i;3331:190::-;;3443:2;3431:9;3422:7;3418:23;3414:32;3411:2;;;3464:6;3456;3449:22;3411:2;-1:-1:-1;3492:23:1;;3401:120;-1:-1:-1;3401:120:1:o;3526:266::-;;;3655:2;3643:9;3634:7;3630:23;3626:32;3623:2;;;3676:6;3668;3661:22;3623:2;3717:9;3704:23;3694:33;;3746:40;3782:2;3771:9;3767:18;3746:40;:::i;3797:258::-;;;3926:2;3914:9;3905:7;3901:23;3897:32;3894:2;;;3947:6;3939;3932:22;3894:2;-1:-1:-1;;3975:23:1;;;4045:2;4030:18;;;4017:32;;-1:-1:-1;3884:171:1:o;4060:257::-;;4171:2;4159:9;4150:7;4146:23;4142:32;4139:2;;;4192:6;4184;4177:22;4139:2;4236:9;4223:23;4255:32;4281:5;4255:32;:::i;4322:261::-;;4444:2;4432:9;4423:7;4419:23;4415:32;4412:2;;;4465:6;4457;4450:22;4412:2;4502:9;4496:16;4521:32;4547:5;4521:32;:::i;5046:259::-;;5127:5;5121:12;5154:6;5149:3;5142:19;5170:63;5226:6;5219:4;5214:3;5210:14;5203:4;5196:5;5192:16;5170:63;:::i;:::-;5287:2;5266:15;-1:-1:-1;;5262:29:1;5253:39;;;;5294:4;5249:50;;5097:208;-1:-1:-1;;5097:208:1:o;5310:274::-;;5477:6;5471:13;5493:53;5539:6;5534:3;5527:4;5519:6;5515:17;5493:53;:::i;:::-;5562:16;;;;;5447:137;-1:-1:-1;;5447:137:1:o;5589:205::-;5789:3;5780:14::o;5799:786::-;;6210:25;6205:3;6198:38;6265:6;6259:13;6281:62;6336:6;6331:2;6326:3;6322:12;6315:4;6307:6;6303:17;6281:62;:::i;:::-;-1:-1:-1;;;6402:2:1;6362:16;;;6394:11;;;6387:40;6452:13;;6474:63;6452:13;6523:2;6515:11;;6508:4;6496:17;;6474:63;:::i;:::-;6557:17;6576:2;6553:26;;6188:397;-1:-1:-1;;;;6188:397:1:o;6590:203::-;-1:-1:-1;;;;;6754:32:1;;;;6736:51;;6724:2;6709:18;;6691:102::o;6798:490::-;-1:-1:-1;;;;;7067:15:1;;;7049:34;;7119:15;;7114:2;7099:18;;7092:43;7166:2;7151:18;;7144:34;;;7214:3;7209:2;7194:18;;7187:31;;;6798:490;;7235:47;;7262:19;;7254:6;7235:47;:::i;:::-;7227:55;7001:287;-1:-1:-1;;;;;;7001:287:1:o;7293:274::-;-1:-1:-1;;;;;7485:32:1;;;;7467:51;;7549:2;7534:18;;7527:34;7455:2;7440:18;;7422:145::o;7572:187::-;7737:14;;7730:22;7712:41;;7700:2;7685:18;;7667:92::o;7764:177::-;7910:25;;;7898:2;7883:18;;7865:76::o;7946:221::-;;8095:2;8084:9;8077:21;8115:46;8157:2;8146:9;8142:18;8134:6;8115:46;:::i;8172:356::-;8374:2;8356:21;;;8393:18;;;8386:30;8452:34;8447:2;8432:18;;8425:62;8519:2;8504:18;;8346:182::o;8533:407::-;8735:2;8717:21;;;8774:2;8754:18;;;8747:30;8813:34;8808:2;8793:18;;8786:62;-1:-1:-1;;;8879:2:1;8864:18;;8857:41;8930:3;8915:19;;8707:233::o;8945:344::-;9147:2;9129:21;;;9186:2;9166:18;;;9159:30;-1:-1:-1;;;9220:2:1;9205:18;;9198:50;9280:2;9265:18;;9119:170::o;9294:407::-;9496:2;9478:21;;;9535:2;9515:18;;;9508:30;9574:34;9569:2;9554:18;;9547:62;-1:-1:-1;;;9640:2:1;9625:18;;9618:41;9691:3;9676:19;;9468:233::o;9706:414::-;9908:2;9890:21;;;9947:2;9927:18;;;9920:30;9986:34;9981:2;9966:18;;9959:62;-1:-1:-1;;;10052:2:1;10037:18;;10030:48;10110:3;10095:19;;9880:240::o;10125:402::-;10327:2;10309:21;;;10366:2;10346:18;;;10339:30;10405:34;10400:2;10385:18;;10378:62;-1:-1:-1;;;10471:2:1;10456:18;;10449:36;10517:3;10502:19;;10299:228::o;10532:352::-;10734:2;10716:21;;;10773:2;10753:18;;;10746:30;10812;10807:2;10792:18;;10785:58;10875:2;10860:18;;10706:178::o;10889:334::-;11091:2;11073:21;;;11130:2;11110:18;;;11103:30;-1:-1:-1;;;11164:2:1;11149:18;;11142:40;11214:2;11199:18;;11063:160::o;11228:426::-;11430:2;11412:21;;;11469:2;11449:18;;;11442:30;11508:34;11503:2;11488:18;;11481:62;11579:32;11574:2;11559:18;;11552:60;11644:3;11629:19;;11402:252::o;11659:400::-;11861:2;11843:21;;;11900:2;11880:18;;;11873:30;11939:34;11934:2;11919:18;;11912:62;-1:-1:-1;;;12005:2:1;11990:18;;11983:34;12049:3;12034:19;;11833:226::o;12064:349::-;12266:2;12248:21;;;12305:2;12285:18;;;12278:30;12344:27;12339:2;12324:18;;12317:55;12404:2;12389:18;;12238:175::o;12418:422::-;12620:2;12602:21;;;12659:2;12639:18;;;12632:30;12698:34;12693:2;12678:18;;12671:62;12769:28;12764:2;12749:18;;12742:56;12830:3;12815:19;;12592:248::o;12845:353::-;13047:2;13029:21;;;13086:2;13066:18;;;13059:30;13125:31;13120:2;13105:18;;13098:59;13189:2;13174:18;;13019:179::o;13203:402::-;13405:2;13387:21;;;13444:2;13424:18;;;13417:30;13483:34;13478:2;13463:18;;13456:62;-1:-1:-1;;;13549:2:1;13534:18;;13527:36;13595:3;13580:19;;13377:228::o;13610:408::-;13812:2;13794:21;;;13851:2;13831:18;;;13824:30;13890:34;13885:2;13870:18;;13863:62;-1:-1:-1;;;13956:2:1;13941:18;;13934:42;14008:3;13993:19;;13784:234::o;14023:340::-;14225:2;14207:21;;;14264:2;14244:18;;;14237:30;-1:-1:-1;;;14298:2:1;14283:18;;14276:46;14354:2;14339:18;;14197:166::o;14368:420::-;14570:2;14552:21;;;14609:2;14589:18;;;14582:30;14648:34;14643:2;14628:18;;14621:62;14719:26;14714:2;14699:18;;14692:54;14778:3;14763:19;;14542:246::o;14793:406::-;14995:2;14977:21;;;15034:2;15014:18;;;15007:30;15073:34;15068:2;15053:18;;15046:62;-1:-1:-1;;;15139:2:1;15124:18;;15117:40;15189:3;15174:19;;14967:232::o;15204:405::-;15406:2;15388:21;;;15445:2;15425:18;;;15418:30;15484:34;15479:2;15464:18;;15457:62;-1:-1:-1;;;15550:2:1;15535:18;;15528:39;15599:3;15584:19;;15378:231::o;15614:356::-;15816:2;15798:21;;;15835:18;;;15828:30;15894:34;15889:2;15874:18;;15867:62;15961:2;15946:18;;15788:182::o;15975:408::-;16177:2;16159:21;;;16216:2;16196:18;;;16189:30;16255:34;16250:2;16235:18;;16228:62;-1:-1:-1;;;16321:2:1;16306:18;;16299:42;16373:3;16358:19;;16149:234::o;16388:356::-;16590:2;16572:21;;;16609:18;;;16602:30;16668:34;16663:2;16648:18;;16641:62;16735:2;16720:18;;16562:182::o;16749:347::-;16951:2;16933:21;;;16990:2;16970:18;;;16963:30;17029:25;17024:2;17009:18;;17002:53;17087:2;17072:18;;16923:173::o;17101:405::-;17303:2;17285:21;;;17342:2;17322:18;;;17315:30;17381:34;17376:2;17361:18;;17354:62;-1:-1:-1;;;17447:2:1;17432:18;;17425:39;17496:3;17481:19;;17275:231::o;17511:411::-;17713:2;17695:21;;;17752:2;17732:18;;;17725:30;17791:34;17786:2;17771:18;;17764:62;-1:-1:-1;;;17857:2:1;17842:18;;17835:45;17912:3;17897:19;;17685:237::o;17927:397::-;18129:2;18111:21;;;18168:2;18148:18;;;18141:30;18207:34;18202:2;18187:18;;18180:62;-1:-1:-1;;;18273:2:1;18258:18;;18251:31;18314:3;18299:19;;18101:223::o;18329:340::-;18531:2;18513:21;;;18570:2;18550:18;;;18543:30;-1:-1:-1;;;18604:2:1;18589:18;;18582:46;18660:2;18645:18;;18503:166::o;18674:413::-;18876:2;18858:21;;;18915:2;18895:18;;;18888:30;18954:34;18949:2;18934:18;;18927:62;-1:-1:-1;;;19020:2:1;19005:18;;18998:47;19077:3;19062:19;;18848:239::o;19092:353::-;19294:2;19276:21;;;19333:2;19313:18;;;19306:30;19372:31;19367:2;19352:18;;19345:59;19436:2;19421:18;;19266:179::o;19450:408::-;19652:2;19634:21;;;19691:2;19671:18;;;19664:30;19730:34;19725:2;19710:18;;19703:62;-1:-1:-1;;;19796:2:1;19781:18;;19774:42;19848:3;19833:19;;19624:234::o;19863:406::-;20065:2;20047:21;;;20104:2;20084:18;;;20077:30;20143:34;20138:2;20123:18;;20116:62;-1:-1:-1;;;20209:2:1;20194:18;;20187:40;20259:3;20244:19;;20037:232::o;20274:341::-;20476:2;20458:21;;;20515:2;20495:18;;;20488:30;-1:-1:-1;;;20549:2:1;20534:18;;20527:47;20606:2;20591:18;;20448:167::o;20620:425::-;20822:2;20804:21;;;20861:2;20841:18;;;20834:30;20900:34;20895:2;20880:18;;20873:62;20971:31;20966:2;20951:18;;20944:59;21035:3;21020:19;;20794:251::o;21050:412::-;21252:2;21234:21;;;21291:2;21271:18;;;21264:30;21330:34;21325:2;21310:18;;21303:62;-1:-1:-1;;;21396:2:1;21381:18;;21374:46;21452:3;21437:19;;21224:238::o;21467:428::-;21669:2;21651:21;;;21708:2;21688:18;;;21681:30;;;21747:34;21727:18;;;21720:62;21818:34;21813:2;21798:18;;21791:62;21885:3;21870:19;;21641:254::o;21900:411::-;22102:2;22084:21;;;22141:2;22121:18;;;22114:30;22180:34;22175:2;22160:18;;22153:62;-1:-1:-1;;;22246:2:1;22231:18;;22224:45;22301:3;22286:19;;22074:237::o;22498:248::-;22672:25;;;22728:2;22713:18;;22706:34;22660:2;22645:18;;22627:119::o;22751:128::-;;22822:1;22818:6;22815:1;22812:13;22809:2;;;22828:18;;:::i;:::-;-1:-1:-1;22864:9:1;;22799:80::o;22884:168::-;;22990:1;22986;22982:6;22978:14;22975:1;22972:21;22967:1;22960:9;22953:17;22949:45;22946:2;;;22997:18;;:::i;:::-;-1:-1:-1;23037:9:1;;22936:116::o;23057:125::-;;23125:1;23122;23119:8;23116:2;;;23130:18;;:::i;:::-;-1:-1:-1;23167:9:1;;23106:76::o;23187:258::-;23259:1;23269:113;23283:6;23280:1;23277:13;23269:113;;;23359:11;;;23353:18;23340:11;;;23333:39;23305:2;23298:10;23269:113;;;23400:6;23397:1;23394:13;23391:2;;;-1:-1:-1;;23435:1:1;23417:16;;23410:27;23240:205::o;23450:136::-;;23517:5;23507:2;;23526:18;;:::i;:::-;-1:-1:-1;;;23562:18:1;;23497:89::o;23591:380::-;23676:1;23666:12;;23723:1;23713:12;;;23734:2;;23788:4;23780:6;23776:17;23766:27;;23734:2;23841;23833:6;23830:14;23810:18;23807:38;23804:2;;;23887:10;23882:3;23878:20;23875:1;23868:31;23922:4;23919:1;23912:15;23950:4;23947:1;23940:15;23804:2;;23646:325;;;:::o;23976:127::-;24037:10;24032:3;24028:20;24025:1;24018:31;24068:4;24065:1;24058:15;24092:4;24089:1;24082:15;24108:127;24169:10;24164:3;24160:20;24157:1;24150:31;24200:4;24197:1;24190:15;24224:4;24221:1;24214:15;24240:120;24328:5;24321:13;24314:21;24307:5;24304:32;24294:2;;24350:1;24347;24340:12;24365:133;-1:-1:-1;;;;;;24441:32:1;;24431:43;;24421:2;;24488:1;24485;24478:12

Swarm Source

ipfs://fddff9178521f8b3d7d25170503f5ba846ac08e811d19a6dd4a4fc9a8e44abea
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.