ETH Price: $2,888.45 (+0.51%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...153890922022-08-22 7:56:29896 days ago1661154989IN
0x6d8Ff3CD...4CB17896E
0 ETH0.000325697.04319808
Take Out Native ...146767472022-04-29 3:13:491011 days ago1651202029IN
0x6d8Ff3CD...4CB17896E
0 ETH0.0018067653.72158866
Set Approval For...140287022022-01-18 9:30:141112 days ago1642498214IN
0x6d8Ff3CD...4CB17896E
0 ETH0.0033400272.22933817
Set Base Url140285492022-01-18 9:00:271112 days ago1642496427IN
0x6d8Ff3CD...4CB17896E
0 ETH0.0037273894.08558757
Transfer From140212802022-01-17 6:05:191113 days ago1642399519IN
0x6d8Ff3CD...4CB17896E
0 ETH0.0076643988.58313694
Transfer From140212692022-01-17 6:03:571113 days ago1642399437IN
0x6d8Ff3CD...4CB17896E
0 ETH0.00893253120.34881882
Transfer From140035182022-01-14 12:03:011116 days ago1642161781IN
0x6d8Ff3CD...4CB17896E
0 ETH0.01080969129.11409514
Transfer From140030202022-01-14 10:09:291116 days ago1642154969IN
0x6d8Ff3CD...4CB17896E
0 ETH0.00997529115.2920189
Transfer From140030162022-01-14 10:08:321116 days ago1642154912IN
0x6d8Ff3CD...4CB17896E
0 ETH0.01016386108.10784079
Transfer From140030092022-01-14 10:07:141116 days ago1642154834IN
0x6d8Ff3CD...4CB17896E
0 ETH0.01010187120.65973647
Transfer From140030052022-01-14 10:06:101116 days ago1642154770IN
0x6d8Ff3CD...4CB17896E
0 ETH0.01093144112.90946721
Buy139962322022-01-13 8:58:311117 days ago1642064311IN
0x6d8Ff3CD...4CB17896E
0.08 ETH0.019966398.35858924
Buy139962322022-01-13 8:58:311117 days ago1642064311IN
0x6d8Ff3CD...4CB17896E
0.08 ETH0.0202112198.35858924
Buy139845162022-01-11 13:32:371119 days ago1641907957IN
0x6d8Ff3CD...4CB17896E
0.08 ETH0.02229535110
Buy139837352022-01-11 10:48:571119 days ago1641898137IN
0x6d8Ff3CD...4CB17896E
0.08 ETH0.0350004172.77664686
Buy139836602022-01-11 10:29:571119 days ago1641896997IN
0x6d8Ff3CD...4CB17896E
0.56 ETH0.17845651161.77507856
Buy139836442022-01-11 10:26:301119 days ago1641896790IN
0x6d8Ff3CD...4CB17896E
0.16 ETH0.06510813184.96996953
Buy139836232022-01-11 10:20:591119 days ago1641896459IN
0x6d8Ff3CD...4CB17896E
0.8 ETH0.22582146145.41601229
Buy139836222022-01-11 10:20:491119 days ago1641896449IN
0x6d8Ff3CD...4CB17896E
0.24 ETH0.07522672149.70611265
Buy139835902022-01-11 10:13:481119 days ago1641896028IN
0x6d8Ff3CD...4CB17896E
0.16 ETH0.05891961167.16110831
Transfer From139834272022-01-11 9:37:151119 days ago1641893835IN
0x6d8Ff3CD...4CB17896E
0 ETH0.01597564190.81775662
Buy139832682022-01-11 9:02:191119 days ago1641891739IN
0x6d8Ff3CD...4CB17896E
0.08 ETH0.02842834128.82507973
Transfer From139831922022-01-11 8:46:361119 days ago1641890796IN
0x6d8Ff3CD...4CB17896E
0 ETH0.01664114177.00329447
Buy139819962022-01-11 4:13:021119 days ago1641874382IN
0x6d8Ff3CD...4CB17896E
0.12 ETH0.05326885141.37169893
Buy139817132022-01-11 3:11:251119 days ago1641870685IN
0x6d8Ff3CD...4CB17896E
0.06 ETH0.03700263161.11008938
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
146767472022-04-29 3:13:491011 days ago1651202029
0x6d8Ff3CD...4CB17896E
3.94 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GoldMaskApe

Compiler Version
v0.8.10+commit.fc410830

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

//SPDX-License-Identifier: MIT
pragma solidity  ^0.8.10;
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)


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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)



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

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)


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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)



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

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

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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)


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

// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)


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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)



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

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

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

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)



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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)



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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)


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

// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)


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

// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)



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

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

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

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

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)



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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


library Randoms {
    function rnd1(uint256 salt, uint16 upperLimit)
        internal
        view
        returns (uint256 r1)
    {
        uint256 r = uint256(
            keccak256(
                abi.encodePacked(
                    block.timestamp,
                    msg.sender,
                    salt,
                    msg.sender.balance
                )
            )
        );
        r1 = uint256(r % upperLimit);
    }

    function rnd2(uint256 salt, uint16 upperLimit)
        internal
        view
        returns (uint256 r1,uint256 r2)
    {
        uint256 r = uint256(
            keccak256(
                abi.encodePacked(
                    block.timestamp,
                    msg.sender,
                    salt,
                    msg.sender.balance
                )
            )
        );
        r1 = uint256(r % upperLimit);
        r2 = uint256( (r>>16) %upperLimit);
    }


    
}




/**
Gold Mask APE
 */
contract GoldMaskApe is ERC721Enumerable, Ownable {
    event GoldMaskApeMint(address to, uint256 nftId, uint256 itemData);
    event SaleTimeChanged(
        uint256 newPresaleStart,
        uint256 newPresaleEnd,
        uint256 newPublicSaleEnd
    );

    using Counters for Counters.Counter;
    using Strings for uint256;

    //=======ERC721 BASIC SECTION ======
    Counters.Counter private _tokenIdCounter;
    string private theBaseUrl;
    //=======ADMIN ADDRESS
    address private theAdmin;

    //=======OUR LOGIC SECTION======
    mapping(uint256 => uint256) private theItemDataMapping;
    mapping(address => bool) private theOgList;
    mapping(address => bool) private theWhiteList;
    mapping(address => uint256) private theUserBoughtInPresale;

    uint256 public thePreSaleStartTime;
    uint256 public thePreSaleEndTime;
    uint256 public thePublicSaleEndTime;

    uint256 public constant MAX_SUPPLY = 8192;

    uint256 public PRESALE_MAX = 2000;
    uint256 public MARKETING_RESERVE_MAX = 150;

    uint256 public thePresaleCount;
    uint256 public theMarketingCount;
    uint256 public thePublicSaleCount;

    uint256 public theOgBuyLimit;
    uint256 public theWhiteListBuyLimit;

    uint256 public theOgBuyPrice;
    uint256 public theWhiteListBuyPrice;
    uint256 public thePublicSalePrice;

    //MODIFIERS
    modifier onlyAdminOrOwner() {
        require(
            msg.sender == owner() || msg.sender == theAdmin,
            "ONLY ADMIN OR OWNER CAN CALL THIS METHOD"
        );
        _;
    }

    //=======METHODS=============

    //base url should end with /
    constructor(
        string memory nftBaseUrl,
        address adminAddr,
        uint256 presaleStartTime,
        uint256 presaleEndTime,
        uint256 publicSaleEndTime
    ) payable ERC721("Gold Mask Ape", "GMA") {
        theBaseUrl = nftBaseUrl;
        thePreSaleStartTime = presaleStartTime;
        thePreSaleEndTime = presaleEndTime;
        thePublicSaleEndTime = publicSaleEndTime;
        theAdmin = adminAddr;
        theOgBuyPrice = 0.06 ether;
        theWhiteListBuyPrice = 0.06 ether;
        thePublicSalePrice = 0.08 ether;

        theOgBuyLimit = 4;
        theWhiteListBuyLimit = 2;
    }

    //======= MINT SECTION ==========

    function marketingMint(address[] calldata to) public onlyAdminOrOwner {
        require(
            (theMarketingCount + to.length) <= MARKETING_RESERVE_MAX,
            "MARKETING_RESERVE_MAX EXCEEDED"
        );
        theMarketingCount += to.length;
        for (uint256 i = 0; i < to.length; i++) {
            _mintOne(to[i], i);
        }
    }

    function buy(uint256 count) public payable {
        require(inSalePeriod(), "NOT IN SALE");
        require(count > 0, "CAN'T BUY 0");
        require(count <= queryLeft(), "SOLD OUT");

        if (inPresale()) {
            //IN PRESALE PERIOD
            if (theOgList[msg.sender]) {
                require(
                    theUserBoughtInPresale[msg.sender] + count <= theOgBuyLimit,
                    "EXCEEDED"
                );
            } else if (theWhiteList[msg.sender]) {
                require(
                    theUserBoughtInPresale[msg.sender] + count <=
                        theWhiteListBuyLimit,
                    "EXCEEDED"
                );
            } else {
                revert("PLEASE WAIT FOR PUBLIC SALE");
            }

            thePresaleCount += count;
            theUserBoughtInPresale[msg.sender] += count;
            _buy(count);
        }
        if (inPublicSale()) {
            thePublicSaleCount += count;
            _buy(count);
            return;
        }
    }

    function _buy(uint256 count) private {
        uint256 finalPrice = queryPrice(count);
        require(
            msg.value == finalPrice,
            "MSG.VALUE DOESN'T MATCH REQUIRED VALUE"
        );
        for (uint256 i = 0; i < count; i++) {
            _mintOne(msg.sender, i);
        }
    }

    function _mintOne(address to, uint256 seed) private {
        //avoid hash salt collision
        uint256 scaledSeed = seed * 10;
        uint256 data = genData(scaledSeed);
        _mintWithData(to, data);
    }

    function genData(uint256 seed) public view returns (uint256) {
        uint256 data = 0;
        //7 parts
        for (uint256 i = 0; i < 7; i++) {
            data |= genPart(i, seed + i);
        }
        return data;
    }

    function _mintWithData(address to, uint256 itemData) private {
        uint256 tokenIdCurrent = _tokenIdCounter.current();

        _safeMint(to, _tokenIdCounter.current());
        theItemDataMapping[_tokenIdCounter.current()] = itemData;

        _tokenIdCounter.increment();
        emit GoldMaskApeMint(to, tokenIdCurrent, itemData);
    }

    //======= MINT SECTION ENDS==========

    //=======ADMIN OP=================

    function addWhiteList(address[] calldata newWhiteList)
        public
        onlyAdminOrOwner
    {
        for (uint256 i = 0; i < newWhiteList.length; i++) {
            theWhiteList[newWhiteList[i]] = true;
        }
    }

    function addOGList(address[] calldata newOGList) public onlyAdminOrOwner {
        for (uint256 i = 0; i < newOGList.length; i++) {
            theOgList[newOGList[i]] = true;
        }
    }

    function setBaseUrl(string calldata newBaseUrl) public onlyAdminOrOwner {
        theBaseUrl = newBaseUrl;
    }

    function setOGPrice(uint256 newPrice) public onlyAdminOrOwner {
        require(newPrice >= 10**10);
        theOgBuyPrice = newPrice;
    }

    function setWhiteListPrice(uint256 newPrice) public onlyAdminOrOwner {
        require(newPrice >= 10**10);
        theWhiteListBuyPrice = newPrice;
    }

    function setPublicSalePrice(uint256 newPrice) public onlyAdminOrOwner {
        require(newPrice >= 10**10);
        thePublicSalePrice = newPrice;
    }

    function setSaleTime(
        uint256 presaleStart,
        uint256 presaleEnd,
        uint256 publicSaleEnd
    ) public onlyAdminOrOwner {
        thePreSaleStartTime = presaleStart;
        thePreSaleEndTime = presaleEnd;
        thePublicSaleEndTime = publicSaleEnd;
        emit SaleTimeChanged(presaleStart, presaleEnd, publicSaleEnd);
    }

    function setPresaleMax(uint256 newPreSaleMax) public onlyAdminOrOwner {
        require(
            newPreSaleMax >= thePresaleCount,
            "NEW PRESALE MAX SHOULD BE MORE THAN SOLD COUNT"
        );
        PRESALE_MAX = newPreSaleMax;
    }

    function takeOutNativeToken(address payable to, uint256 amount)
        public
        onlyOwner
    {
        require(amount <= address(this).balance, "INSUFFICIENT BALANCE");
        (bool sent, bytes memory data) = to.call{value: amount}("");
        require(sent, "TRANSFER OUT NATIVE TOKEN FAILED");
    }

    function setAdminAddress(address newAdmin) public onlyOwner {
        theAdmin = newAdmin;
    }

    //=======ADMIN OP ENDS=================

    //=========VIEWS==================

    function inPresale() private view returns (bool) {
        return
            block.timestamp >= thePreSaleStartTime &&
            block.timestamp < thePreSaleEndTime;
    }

    function inPublicSale() private view returns (bool) {
        return
            block.timestamp >= thePreSaleEndTime &&
            block.timestamp < thePublicSaleEndTime;
    }

    function inSalePeriod() private view returns (bool) {
        return
            block.timestamp >= thePreSaleStartTime &&
            block.timestamp < thePublicSaleEndTime;
    }

    function queryBuyableCount() public view returns (uint256) {
        if (inPresale()) {
            if (theOgList[msg.sender]) {
                return
                    theOgBuyLimit > theUserBoughtInPresale[msg.sender]
                        ? theOgBuyLimit - theUserBoughtInPresale[msg.sender]
                        : 0;
            }
            if (theWhiteList[msg.sender]) {
                return
                    theWhiteListBuyLimit > theUserBoughtInPresale[msg.sender]
                        ? theWhiteListBuyLimit -
                            theUserBoughtInPresale[msg.sender]
                        : 0;
            }
        }
        if (inPublicSale()) {
            return queryLeft();
        }
        return 0;
    }

    function queryUserTyp(address user) public view returns (uint256) {
        // 0 FOR NORMAL
        // 1 FOR OG
        // 2 FOR WHITE LIST
        if (theOgList[user]) {
            return 1;
        }

        if (theWhiteList[user]) {
            return 2;
        }

        return 0;
    }

    function queryLeft() public view returns (uint256) {
        if (block.timestamp < thePreSaleStartTime) {
            return MAX_SUPPLY;
        }
        if (inPresale()) {
            return PRESALE_MAX - thePresaleCount;
        }
        if (inPublicSale()) {
            return
                MAX_SUPPLY -
                MARKETING_RESERVE_MAX -
                thePresaleCount -
                thePublicSaleCount;
        }

        return 0;
    }

    function queryPrice(uint256 count)
        public
        view
        returns (uint256 finalPrice)
    {
        uint256 thePrice;

        if (block.timestamp <= thePreSaleEndTime) {
            //before Presale period ends
            if (theOgList[msg.sender]) {
                thePrice = theOgBuyPrice;
            } else if (theWhiteList[msg.sender]) {
                thePrice = theWhiteListBuyPrice;
            } else {
                thePrice = thePublicSalePrice;
            }
        } else {
            thePrice = thePublicSalePrice;
        }
        finalPrice = thePrice * count;
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory baseURI = _baseURI();

        return
            string(
                abi.encodePacked(
                    baseURI,
                    tokenId.toString(),
                    "/",
                    theItemDataMapping[tokenId].toString()
                )
            );
    }

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

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function getAllTokenIdAndDataByAddress(address user)
        public
        view
        returns (uint256[] memory)
    {
        uint256 userBalance = balanceOf(user);
        uint256[] memory result = new uint256[](userBalance * 2);
        for (uint256 i = 0; i < userBalance; i++) {
            result[i * 2] = tokenOfOwnerByIndex(user, i);
            result[i * 2 + 1] = theItemDataMapping[
                tokenOfOwnerByIndex(user, i)
            ];
        }
        return result;
    }

    function getDataByNftId(uint256 nftId) public view returns (uint256) {
        return theItemDataMapping[nftId];
    }

    function genPart(uint256 partPos, uint256 rndSeed)
        public
        view
        returns (uint256)
    {
        uint256 r1;
        uint256 r2;
        (r1, r2) = Randoms.rnd2(rndSeed, 100);
        uint256 partTyp = 0;
        uint256 partColor = 0;

        if (partPos == 0) {
            if (r1 >= 0 && r1 < 100) {
                partTyp = 0;
            }
            if (r2 >= 0 && r2 < 60) {
                partColor = 0;
            } else if (r2 >= 60 && r2 < 80) {
                partColor = 1;
            } else if (r2 >= 80 && r2 < 90) {
                partColor = 2;
            } else if (r2 >= 90 && r2 < 94) {
                partColor = 3;
            } else if (r2 >= 94 && r2 < 97) {
                partColor = 4;
            } else if (r2 >= 97 && r2 < 99) {
                partColor = 5;
            } else if (r2 >= 99 && r2 < 100) {
                partColor = 6;
            }
        } else if (
            partPos == 1 ||
            partPos == 2 ||
            partPos == 3 ||
            partPos == 5 ||
            partPos == 6
        ) {
            if (r1 >= 0 && r1 < 25) {
                partTyp = 0;
            } else if (r1 >= 25 && r1 < 50) {
                partTyp = 1;
            } else if (r1 >= 50 && r1 < 70) {
                partTyp = 2;
            } else if (r1 >= 70 && r1 < 85) {
                partTyp = 3;
            } else if (r1 >= 85 && r1 < 95) {
                partTyp = 4;
            } else if (r1 >= 95 && r1 < 100) {
                partTyp = 5;
            }
            if (r2 >= 0 && r2 < 25) {
                partColor = 0;
            } else if (r2 >= 25 && r2 < 50) {
                partColor = 1;
            } else if (r2 >= 50 && r2 < 70) {
                partColor = 2;
            } else if (r2 >= 70 && r2 < 85) {
                partColor = 3;
            } else if (r2 >= 85 && r2 < 95) {
                partColor = 4;
            } else if (r2 >= 95 && r2 < 99) {
                partColor = 5;
            } else if (r2 >= 99 && r2 < 100) {
                partColor = 6;
            }
        } else if (partPos == 4) {
            if (r1 >= 0 && r1 < 100) {
                partTyp = 0;
            }
            if (r2 >= 0 && r2 < 25) {
                partColor = 0;
            } else if (r2 >= 25 && r2 < 50) {
                partColor = 1;
            } else if (r2 >= 50 && r2 < 70) {
                partColor = 2;
            } else if (r2 >= 70 && r2 < 85) {
                partColor = 3;
            } else if (r2 >= 85 && r2 < 95) {
                partColor = 4;
            } else if (r2 >= 95 && r2 < 99) {
                partColor = 5;
            } else if (r2 >= 99 && r2 < 100) {
                partColor = 6;
            }
        } else {
            revert("UNKNOW BODY PART");
        }

        return (partTyp << (partPos * 8 + 4)) | (partColor << (partPos * 8));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"nftBaseUrl","type":"string"},{"internalType":"address","name":"adminAddr","type":"address"},{"internalType":"uint256","name":"presaleStartTime","type":"uint256"},{"internalType":"uint256","name":"presaleEndTime","type":"uint256"},{"internalType":"uint256","name":"publicSaleEndTime","type":"uint256"}],"stateMutability":"payable","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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"itemData","type":"uint256"}],"name":"GoldMaskApeMint","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":"uint256","name":"newPresaleStart","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPresaleEnd","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPublicSaleEnd","type":"uint256"}],"name":"SaleTimeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MARKETING_RESERVE_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"newOGList","type":"address[]"}],"name":"addOGList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newWhiteList","type":"address[]"}],"name":"addWhiteList","outputs":[],"stateMutability":"nonpayable","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":"count","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"genData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"partPos","type":"uint256"},{"internalType":"uint256","name":"rndSeed","type":"uint256"}],"name":"genPart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getAllTokenIdAndDataByAddress","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":"uint256","name":"nftId","type":"uint256"}],"name":"getDataByNftId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"marketingMint","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":"queryBuyableCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"queryLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"queryPrice","outputs":[{"internalType":"uint256","name":"finalPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"queryUserTyp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"newAdmin","type":"address"}],"name":"setAdminAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUrl","type":"string"}],"name":"setBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setOGPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPreSaleMax","type":"uint256"}],"name":"setPresaleMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presaleStart","type":"uint256"},{"internalType":"uint256","name":"presaleEnd","type":"uint256"},{"internalType":"uint256","name":"publicSaleEnd","type":"uint256"}],"name":"setSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWhiteListPrice","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":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"takeOutNativeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"theMarketingCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"theOgBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"theOgBuyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thePreSaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thePreSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thePresaleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thePublicSaleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thePublicSaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thePublicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"theWhiteListBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"theWhiteListBuyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526107d060155560966016556040516200379138038062003791833981016040819052620000319162000252565b604080518082018252600d81526c476f6c64204d61736b2041706560981b602080830191825283518085019094526003845262474d4160e81b908401528151919291620000819160009162000179565b5080516200009790600190602084019062000179565b505050620000b4620000ae6200012360201b60201c565b62000127565b8451620000c990600c90602088019062000179565b50601292909255601355601455600d80546001600160a01b0319166001600160a01b03929092169190911790555066d529ae9e860000601c819055601d5567011c37937e080000601e556004601a556002601b556200039b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000187906200035e565b90600052602060002090601f016020900481019282620001ab5760008555620001f6565b82601f10620001c657805160ff1916838001178555620001f6565b82800160010185558215620001f6579182015b82811115620001f6578251825591602001919060010190620001d9565b506200020492915062000208565b5090565b5b8082111562000204576000815560010162000209565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200024d57600080fd5b919050565b600080600080600060a086880312156200026b57600080fd5b85516001600160401b03808211156200028357600080fd5b818801915088601f8301126200029857600080fd5b815181811115620002ad57620002ad6200021f565b604051601f8201601f19908116603f01168101908382118183101715620002d857620002d86200021f565b81604052828152602093508b84848701011115620002f557600080fd5b600091505b82821015620003195784820184015181830185015290830190620002fa565b828211156200032b5760008484830101525b98506200033d91505088820162000235565b604089015160608a01516080909a0151989b919a5098979650945050505050565b600181811c908216806200037357607f821691505b602082108114156200039557634e487b7160e01b600052602260045260246000fd5b50919050565b6133e680620003ab6000396000f3fe60806040526004361061031a5760003560e01c806382ef9613116101ab578063c87b56dd116100f7578063de98f09c11610095578063f2fde38b1161006f578063f2fde38b146108fa578063fc98183c1461091a578063fd778aa61461092f578063fe8155661461094f57600080fd5b8063de98f09c14610864578063e59104aa14610891578063e985e9c5146108b157600080fd5b8063d357f8f2116100d1578063d357f8f214610805578063d4a9f46c14610825578063d598135e1461083b578063d96a094a1461085157600080fd5b8063c87b56dd146107a5578063cb2bbdd6146107c5578063d1c126c4146107e557600080fd5b8063a1b4861011610164578063b64cb8111161013e578063b64cb8111461072f578063b88d4fde14610745578063beafc89b14610765578063c7c3268b1461078557600080fd5b8063a1b48610146106d9578063a22cb465146106f9578063a68d4d151461071957600080fd5b806382ef9613146106385780638d66e5d21461064d5780638da5cb5b1461066357806395056334146106815780639524791d146106ae57806395d89b41146106c457600080fd5b80632f745c591161026a5780635e1045ec116102235780637138e4b3116101fd5780637138e4b3146105cd578063715018a6146105ed578063791a2519146106025780637ffd8c911461062257600080fd5b80635e1045ec1461056d5780636352211e1461058d57806370a08231146105ad57600080fd5b80632f745c59146104cb57806332cb6b0c146104eb57806332e4b8a6146105015780633d21a2ae1461051757806342842e0e1461052d5780634f6ccce71461054d57600080fd5b806313b97851116102d757806323b872dd116102b157806323b872dd1461045f5780632b347d5d1461047f5780632c1e816d146104955780632dc84845146104b557600080fd5b806313b978511461041e57806318160ddd146104345780631d7a2ac81461044957600080fd5b80630113dfc21461031f57806301ffc9a71461034157806306fdde0314610376578063081812fc14610398578063095ea7b3146103d05780630d5dad5e146103f0575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612ca3565b61096f565b005b34801561034d57600080fd5b5061036161035c366004612cd2565b610a25565b60405190151581526020015b60405180910390f35b34801561038257600080fd5b5061038b610a36565b60405161036d9190612d47565b3480156103a457600080fd5b506103b86103b3366004612ca3565b610ac8565b6040516001600160a01b03909116815260200161036d565b3480156103dc57600080fd5b5061033f6103eb366004612d6f565b610b5d565b3480156103fc57600080fd5b5061041061040b366004612d9b565b610c73565b60405190815260200161036d565b34801561042a57600080fd5b5061041060175481565b34801561044057600080fd5b50600854610410565b34801561045557600080fd5b50610410601e5481565b34801561046b57600080fd5b5061033f61047a366004612dbd565b610f7e565b34801561048b57600080fd5b5061041060185481565b3480156104a157600080fd5b5061033f6104b0366004612dfe565b610faf565b3480156104c157600080fd5b5061041060145481565b3480156104d757600080fd5b506104106104e6366004612d6f565b610ffb565b3480156104f757600080fd5b5061041061200081565b34801561050d57600080fd5b50610410601a5481565b34801561052357600080fd5b50610410601b5481565b34801561053957600080fd5b5061033f610548366004612dbd565b611091565b34801561055957600080fd5b50610410610568366004612ca3565b6110ac565b34801561057957600080fd5b5061033f610588366004612e1b565b61113f565b34801561059957600080fd5b506103b86105a8366004612ca3565b6111f0565b3480156105b957600080fd5b506104106105c8366004612dfe565b611267565b3480156105d957600080fd5b5061033f6105e8366004612e90565b6112ee565b3480156105f957600080fd5b5061033f611383565b34801561060e57600080fd5b5061033f61061d366004612ca3565b6113b9565b34801561062e57600080fd5b5061041060195481565b34801561064457600080fd5b5061041061140f565b34801561065957600080fd5b5061041060165481565b34801561066f57600080fd5b50600a546001600160a01b03166103b8565b34801561068d57600080fd5b506106a161069c366004612dfe565b611480565b60405161036d9190612ebc565b3480156106ba57600080fd5b5061041060135481565b3480156106d057600080fd5b5061038b611588565b3480156106e557600080fd5b506104106106f4366004612ca3565b611597565b34801561070557600080fd5b5061033f610714366004612f00565b611604565b34801561072557600080fd5b50610410601c5481565b34801561073b57600080fd5b50610410601d5481565b34801561075157600080fd5b5061033f610760366004612f54565b611613565b34801561077157600080fd5b5061033f610780366004612ca3565b61164b565b34801561079157600080fd5b5061033f6107a0366004613034565b6116a1565b3480156107b157600080fd5b5061038b6107c0366004612ca3565b6116ec565b3480156107d157600080fd5b5061033f6107e0366004612ca3565b6117c2565b3480156107f157600080fd5b50610410610800366004612ca3565b611818565b34801561081157600080fd5b5061033f610820366004612d6f565b611851565b34801561083157600080fd5b5061041060125481565b34801561084757600080fd5b5061041060155481565b61033f61085f366004612ca3565b611967565b34801561087057600080fd5b5061041061087f366004612ca3565b6000908152600e602052604090205490565b34801561089d57600080fd5b5061033f6108ac366004612e1b565b611b9e565b3480156108bd57600080fd5b506103616108cc366004613094565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561090657600080fd5b5061033f610915366004612dfe565b611ca4565b34801561092657600080fd5b50610410611d3c565b34801561093b57600080fd5b5061041061094a366004612dfe565b611e06565b34801561095b57600080fd5b5061033f61096a366004612e1b565b611e60565b600a546001600160a01b03163314806109925750600d546001600160a01b031633145b6109b75760405162461bcd60e51b81526004016109ae906130c2565b60405180910390fd5b601754811015610a205760405162461bcd60e51b815260206004820152602e60248201527f4e45572050524553414c45204d41582053484f554c44204245204d4f5245205460448201526d1210538814d3d3110810d3d5539560921b60648201526084016109ae565b601555565b6000610a3082611f11565b92915050565b606060008054610a459061310a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a719061310a565b8015610abe5780601f10610a9357610100808354040283529160200191610abe565b820191906000526020600020905b815481529060010190602001808311610aa157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610b415760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ae565b506000908152600460205260409020546001600160a01b031690565b6000610b68826111f0565b9050806001600160a01b0316836001600160a01b03161415610bd65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109ae565b336001600160a01b0382161480610bf25750610bf281336108cc565b610c645760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109ae565b610c6e8383611f36565b505050565b6000806000610c83846064611fa4565b909250905060008086610d64576064841015610c9e57600091505b603c831015610caf57506000610f4a565b603c8310158015610cc05750605083105b15610ccd57506001610f4a565b60508310158015610cde5750605a83105b15610ceb57506002610f4a565b605a8310158015610cfc5750605e83105b15610d0957506003610f4a565b605e8310158015610d1a5750606183105b15610d2757506004610f4a565b60618310158015610d385750606383105b15610d4557506005610f4a565b60638310158015610d565750606483105b15610d5f575060065b610f4a565b8660011480610d735750866002145b80610d7e5750866003145b80610d895750866005145b80610d945750866006145b15610ee8576019841015610dab5760009150610e42565b60198410158015610dbc5750603284105b15610dca5760019150610e42565b60328410158015610ddb5750604684105b15610de95760029150610e42565b60468410158015610dfa5750605584105b15610e085760039150610e42565b60558410158015610e195750605f84105b15610e275760049150610e42565b605f8410158015610e385750606484105b15610e4257600591505b6019831015610e5357506000610f4a565b60198310158015610e645750603283105b15610e7157506001610f4a565b60328310158015610e825750604683105b15610e8f57506002610f4a565b60468310158015610ea05750605583105b15610ead57506003610f4a565b60558310158015610ebe5750605f83105b15610ecb57506004610f4a565b605f8310158015610d3857506063831015610d4557506005610f4a565b8660041415610f0f576064841015610e4257600091506019831015610e5357506000610f4a565b60405162461bcd60e51b815260206004820152601060248201526f155392d393d5c81093d116481410549560821b60448201526064016109ae565b610f5587600861315b565b81901b610f6388600861315b565b610f6e90600461317a565b83901b1794505050505092915050565b610f883382612038565b610fa45760405162461bcd60e51b81526004016109ae90613192565b610c6e83838361212f565b600a546001600160a01b03163314610fd95760405162461bcd60e51b81526004016109ae906131e3565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600061100683611267565b82106110685760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109ae565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610c6e83838360405180602001604052806000815250611613565b60006110b760085490565b821061111a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109ae565b6008828154811061112d5761112d613218565b90600052602060002001549050919050565b600a546001600160a01b03163314806111625750600d546001600160a01b031633145b61117e5760405162461bcd60e51b81526004016109ae906130c2565b60005b81811015610c6e576001601060008585858181106111a1576111a1613218565b90506020020160208101906111b69190612dfe565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806111e88161322e565b915050611181565b6000818152600260205260408120546001600160a01b031680610a305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109ae565b60006001600160a01b0382166112d25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109ae565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314806113115750600d546001600160a01b031633145b61132d5760405162461bcd60e51b81526004016109ae906130c2565b60128390556013829055601481905560408051848152602081018490529081018290527f59a63fde6eb5fad9d430c6aec399af9649d6d6591dbf40d5784bb6e859c81615906060015b60405180910390a1505050565b600a546001600160a01b031633146113ad5760405162461bcd60e51b81526004016109ae906131e3565b6113b760006122da565b565b600a546001600160a01b03163314806113dc5750600d546001600160a01b031633145b6113f85760405162461bcd60e51b81526004016109ae906130c2565b6402540be40081101561140a57600080fd5b601e55565b6000601254421015611422575061200090565b61142a61232c565b156114445760175460155461143f9190613249565b905090565b61144c612344565b1561147a5760195460175460165461146690612000613249565b6114709190613249565b61143f9190613249565b50600090565b6060600061148d83611267565b9050600061149c82600261315b565b67ffffffffffffffff8111156114b4576114b4612f3e565b6040519080825280602002602001820160405280156114dd578160200160208202803683370190505b50905060005b82811015611580576114f58582610ffb565b8261150183600261315b565b8151811061151157611511613218565b602002602001018181525050600e600061152b8784610ffb565b81526020019081526020016000205482826002611548919061315b565b61155390600161317a565b8151811061156357611563613218565b6020908102919091010152806115788161322e565b9150506114e3565b509392505050565b606060018054610a459061310a565b60008060135442116115ee57336000908152600f602052604090205460ff16156115c45750601c546115f3565b3360009081526010602052604090205460ff16156115e55750601d546115f3565b50601e546115f3565b50601e545b6115fd838261315b565b9392505050565b61160f33838361235c565b5050565b61161d3383612038565b6116395760405162461bcd60e51b81526004016109ae90613192565b6116458484848461242b565b50505050565b600a546001600160a01b031633148061166e5750600d546001600160a01b031633145b61168a5760405162461bcd60e51b81526004016109ae906130c2565b6402540be40081101561169c57600080fd5b601d55565b600a546001600160a01b03163314806116c45750600d546001600160a01b031633145b6116e05760405162461bcd60e51b81526004016109ae906130c2565b610c6e600c8383612c0a565b6000818152600260205260409020546060906001600160a01b031661176b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109ae565b600061177561245e565b9050806117818461246d565b6000858152600e60205260409020546117999061246d565b6040516020016117ab93929190613260565b604051602081830303815290604052915050919050565b600a546001600160a01b03163314806117e55750600d546001600160a01b031633145b6118015760405162461bcd60e51b81526004016109ae906130c2565b6402540be40081101561181357600080fd5b601c55565b600080805b600781101561184a576118348161040b818761317a565b90911790806118428161322e565b91505061181d565b5092915050565b600a546001600160a01b0316331461187b5760405162461bcd60e51b81526004016109ae906131e3565b478111156118c25760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e542042414c414e434560601b60448201526064016109ae565b600080836001600160a01b03168360405160006040518083038185875af1925050503d8060008114611910576040519150601f19603f3d011682016040523d82523d6000602084013e611915565b606091505b5091509150816116455760405162461bcd60e51b815260206004820181905260248201527f5452414e53464552204f5554204e415449564520544f4b454e204641494c454460448201526064016109ae565b61196f61256b565b6119a95760405162461bcd60e51b815260206004820152600b60248201526a4e4f5420494e2053414c4560a81b60448201526064016109ae565b600081116119e75760405162461bcd60e51b815260206004820152600b60248201526a043414e27542042555920360ac1b60448201526064016109ae565b6119ef61140f565b811115611a295760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016109ae565b611a3161232c565b15611b6d57336000908152600f602052604090205460ff1615611aaa57601a5433600090815260116020526040902054611a6c90839061317a565b1115611aa55760405162461bcd60e51b8152602060048201526008602482015267115610d15151115160c21b60448201526064016109ae565b611b28565b3360009081526010602052604090205460ff1615611ae057601b5433600090815260116020526040902054611a6c90839061317a565b60405162461bcd60e51b815260206004820152601b60248201527f504c45415345205741495420464f52205055424c49432053414c45000000000060448201526064016109ae565b8060176000828254611b3a919061317a565b90915550503360009081526011602052604081208054839290611b5e90849061317a565b90915550611b6d905081612583565b611b75612344565b15611b9b578060196000828254611b8c919061317a565b90915550611b9b905081612583565b50565b600a546001600160a01b0316331480611bc15750600d546001600160a01b031633145b611bdd5760405162461bcd60e51b81526004016109ae906130c2565b601654601854611bee90839061317a565b1115611c3c5760405162461bcd60e51b815260206004820152601e60248201527f4d41524b4554494e475f524553455256455f4d4158204558434545444544000060448201526064016109ae565b8181905060186000828254611c51919061317a565b90915550600090505b81811015610c6e57611c92838383818110611c7757611c77613218565b9050602002016020810190611c8c9190612dfe565b82612615565b80611c9c8161322e565b915050611c5a565b600a546001600160a01b03163314611cce5760405162461bcd60e51b81526004016109ae906131e3565b6001600160a01b038116611d335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ae565b611b9b816122da565b6000611d4661232c565b15611df157336000908152600f602052604090205460ff1615611d9e5733600090815260116020526040902054601a5411611d815750600090565b33600090815260116020526040902054601a5461143f9190613249565b3360009081526010602052604090205460ff1615611df15733600090815260116020526040902054601b5411611dd45750600090565b33600090815260116020526040902054601b5461143f9190613249565b611df9612344565b1561147a5761143f61140f565b6001600160a01b0381166000908152600f602052604081205460ff1615611e2f57506001919050565b6001600160a01b03821660009081526010602052604090205460ff1615611e5857506002919050565b506000919050565b600a546001600160a01b0316331480611e835750600d546001600160a01b031633145b611e9f5760405162461bcd60e51b81526004016109ae906130c2565b60005b81811015610c6e576001600f6000858585818110611ec257611ec2613218565b9050602002016020810190611ed79190612dfe565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611f098161322e565b915050611ea2565b60006001600160e01b0319821663780e9d6360e01b1480610a305750610a308261263b565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f6b826111f0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806000423386336001600160a01b031631604051602001611ff2949392919093845260609290921b6bffffffffffffffffffffffff191660208401526034830152605482015260740190565b60408051601f198184030181529190528051602090910120905061201a61ffff8516826132c6565b925061202e61ffff8516601083901c6132c6565b9150509250929050565b6000818152600260205260408120546001600160a01b03166120b15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ae565b60006120bc836111f0565b9050806001600160a01b0316846001600160a01b031614806120f75750836001600160a01b03166120ec84610ac8565b6001600160a01b0316145b8061212757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612142826111f0565b6001600160a01b0316146121aa5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109ae565b6001600160a01b03821661220c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109ae565b61221783838361268b565b612222600082611f36565b6001600160a01b038316600090815260036020526040812080546001929061224b908490613249565b90915550506001600160a01b038216600090815260036020526040812080546001929061227990849061317a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000601254421015801561143f575050601354421090565b6000601354421015801561143f575050601454421090565b816001600160a01b0316836001600160a01b031614156123be5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109ae565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61243684848461212f565b61244284848484612696565b6116455760405162461bcd60e51b81526004016109ae906132da565b6060600c8054610a459061310a565b6060816124915750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124bb57806124a58161322e565b91506124b49050600a8361332c565b9150612495565b60008167ffffffffffffffff8111156124d6576124d6612f3e565b6040519080825280601f01601f191660200182016040528015612500576020820181803683370190505b5090505b841561212757612515600183613249565b9150612522600a866132c6565b61252d90603061317a565b60f81b81838151811061254257612542613218565b60200101906001600160f81b031916908160001a905350612564600a8661332c565b9450612504565b6000601254421015801561143f575050601454421090565b600061258e82611597565b90508034146125ee5760405162461bcd60e51b815260206004820152602660248201527f4d53472e56414c554520444f45534e2754204d415443482052455155495245446044820152652056414c554560d01b60648201526084016109ae565b60005b82811015610c6e576126033382612615565b8061260d8161322e565b9150506125f1565b600061262282600a61315b565b9050600061262f82611818565b90506116458482612794565b60006001600160e01b031982166380ac58cd60e01b148061266c57506001600160e01b03198216635b5e139f60e01b145b80610a3057506301ffc9a760e01b6001600160e01b0319831614610a30565b610c6e838383612827565b60006001600160a01b0384163b1561278957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126da903390899088908890600401613340565b6020604051808303816000875af1925050508015612715575060408051601f3d908101601f191682019092526127129181019061337d565b60015b61276f573d808015612743576040519150601f19603f3d011682016040523d82523d6000602084013e612748565b606091505b5080516127675760405162461bcd60e51b81526004016109ae906132da565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612127565b506001949350505050565b600061279f600b5490565b90506127b3836127ae600b5490565b6128df565b81600e60006127c1600b5490565b81526020810191909152604001600020556127e0600b80546001019055565b604080516001600160a01b0385168152602081018390529081018390527f375d2f509a46eeac9f1b5a6e083f69f16adc84f4297ddf1c3c8d2b73dc266d3390606001611376565b6001600160a01b0383166128825761287d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6128a5565b816001600160a01b0316836001600160a01b0316146128a5576128a583826128f9565b6001600160a01b0382166128bc57610c6e81612996565b826001600160a01b0316826001600160a01b031614610c6e57610c6e8282612a45565b61160f828260405180602001604052806000815250612a89565b6000600161290684611267565b6129109190613249565b600083815260076020526040902054909150808214612963576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906129a890600190613249565b600083815260096020526040812054600880549394509092849081106129d0576129d0613218565b9060005260206000200154905080600883815481106129f1576129f1613218565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a2957612a2961339a565b6001900381819060005260206000200160009055905550505050565b6000612a5083611267565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612a938383612abc565b612aa06000848484612696565b610c6e5760405162461bcd60e51b81526004016109ae906132da565b6001600160a01b038216612b125760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109ae565b6000818152600260205260409020546001600160a01b031615612b775760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109ae565b612b836000838361268b565b6001600160a01b0382166000908152600360205260408120805460019290612bac90849061317a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612c169061310a565b90600052602060002090601f016020900481019282612c385760008555612c7e565b82601f10612c515782800160ff19823516178555612c7e565b82800160010185558215612c7e579182015b82811115612c7e578235825591602001919060010190612c63565b50612c8a929150612c8e565b5090565b5b80821115612c8a5760008155600101612c8f565b600060208284031215612cb557600080fd5b5035919050565b6001600160e01b031981168114611b9b57600080fd5b600060208284031215612ce457600080fd5b81356115fd81612cbc565b60005b83811015612d0a578181015183820152602001612cf2565b838111156116455750506000910152565b60008151808452612d33816020860160208601612cef565b601f01601f19169290920160200192915050565b6020815260006115fd6020830184612d1b565b6001600160a01b0381168114611b9b57600080fd5b60008060408385031215612d8257600080fd5b8235612d8d81612d5a565b946020939093013593505050565b60008060408385031215612dae57600080fd5b50508035926020909101359150565b600080600060608486031215612dd257600080fd5b8335612ddd81612d5a565b92506020840135612ded81612d5a565b929592945050506040919091013590565b600060208284031215612e1057600080fd5b81356115fd81612d5a565b60008060208385031215612e2e57600080fd5b823567ffffffffffffffff80821115612e4657600080fd5b818501915085601f830112612e5a57600080fd5b813581811115612e6957600080fd5b8660208260051b8501011115612e7e57600080fd5b60209290920196919550909350505050565b600080600060608486031215612ea557600080fd5b505081359360208301359350604090920135919050565b6020808252825182820181905260009190848201906040850190845b81811015612ef457835183529284019291840191600101612ed8565b50909695505050505050565b60008060408385031215612f1357600080fd5b8235612f1e81612d5a565b915060208301358015158114612f3357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612f6a57600080fd5b8435612f7581612d5a565b93506020850135612f8581612d5a565b925060408501359150606085013567ffffffffffffffff80821115612fa957600080fd5b818701915087601f830112612fbd57600080fd5b813581811115612fcf57612fcf612f3e565b604051601f8201601f19908116603f01168101908382118183101715612ff757612ff7612f3e565b816040528281528a602084870101111561301057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806020838503121561304757600080fd5b823567ffffffffffffffff8082111561305f57600080fd5b818501915085601f83011261307357600080fd5b81358181111561308257600080fd5b866020828501011115612e7e57600080fd5b600080604083850312156130a757600080fd5b82356130b281612d5a565b91506020830135612f3381612d5a565b60208082526028908201527f4f4e4c592041444d494e204f52204f574e45522043414e2043414c4c2054484960408201526714c81351551213d160c21b606082015260800190565b600181811c9082168061311e57607f821691505b6020821081141561313f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561317557613175613145565b500290565b6000821982111561318d5761318d613145565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561324257613242613145565b5060010190565b60008282101561325b5761325b613145565b500390565b60008451613272818460208901612cef565b845190830190613286818360208901612cef565b602f60f81b910190815283516132a3816001840160208801612cef565b0160010195945050505050565b634e487b7160e01b600052601260045260246000fd5b6000826132d5576132d56132b0565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261333b5761333b6132b0565b500490565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061337390830184612d1b565b9695505050505050565b60006020828403121561338f57600080fd5b81516115fd81612cbc565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220f89509d96a07fb7ce5cfd1c7f52d4fb9cc2ca79df26b5fd5023ab0aa9dec23fd64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008a0da9316fbea015f436c2ffd19ca04d9fa823920000000000000000000000000000000000000000000000000000000061dbf5900000000000000000000000000000000000000000000000000000000061dd47100000000000000000000000000000000000000000000000000000000061dfea10000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e676f6c646d61736b6170652e636f6d2f6d657461646174612f626f782f0000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061031a5760003560e01c806382ef9613116101ab578063c87b56dd116100f7578063de98f09c11610095578063f2fde38b1161006f578063f2fde38b146108fa578063fc98183c1461091a578063fd778aa61461092f578063fe8155661461094f57600080fd5b8063de98f09c14610864578063e59104aa14610891578063e985e9c5146108b157600080fd5b8063d357f8f2116100d1578063d357f8f214610805578063d4a9f46c14610825578063d598135e1461083b578063d96a094a1461085157600080fd5b8063c87b56dd146107a5578063cb2bbdd6146107c5578063d1c126c4146107e557600080fd5b8063a1b4861011610164578063b64cb8111161013e578063b64cb8111461072f578063b88d4fde14610745578063beafc89b14610765578063c7c3268b1461078557600080fd5b8063a1b48610146106d9578063a22cb465146106f9578063a68d4d151461071957600080fd5b806382ef9613146106385780638d66e5d21461064d5780638da5cb5b1461066357806395056334146106815780639524791d146106ae57806395d89b41146106c457600080fd5b80632f745c591161026a5780635e1045ec116102235780637138e4b3116101fd5780637138e4b3146105cd578063715018a6146105ed578063791a2519146106025780637ffd8c911461062257600080fd5b80635e1045ec1461056d5780636352211e1461058d57806370a08231146105ad57600080fd5b80632f745c59146104cb57806332cb6b0c146104eb57806332e4b8a6146105015780633d21a2ae1461051757806342842e0e1461052d5780634f6ccce71461054d57600080fd5b806313b97851116102d757806323b872dd116102b157806323b872dd1461045f5780632b347d5d1461047f5780632c1e816d146104955780632dc84845146104b557600080fd5b806313b978511461041e57806318160ddd146104345780631d7a2ac81461044957600080fd5b80630113dfc21461031f57806301ffc9a71461034157806306fdde0314610376578063081812fc14610398578063095ea7b3146103d05780630d5dad5e146103f0575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612ca3565b61096f565b005b34801561034d57600080fd5b5061036161035c366004612cd2565b610a25565b60405190151581526020015b60405180910390f35b34801561038257600080fd5b5061038b610a36565b60405161036d9190612d47565b3480156103a457600080fd5b506103b86103b3366004612ca3565b610ac8565b6040516001600160a01b03909116815260200161036d565b3480156103dc57600080fd5b5061033f6103eb366004612d6f565b610b5d565b3480156103fc57600080fd5b5061041061040b366004612d9b565b610c73565b60405190815260200161036d565b34801561042a57600080fd5b5061041060175481565b34801561044057600080fd5b50600854610410565b34801561045557600080fd5b50610410601e5481565b34801561046b57600080fd5b5061033f61047a366004612dbd565b610f7e565b34801561048b57600080fd5b5061041060185481565b3480156104a157600080fd5b5061033f6104b0366004612dfe565b610faf565b3480156104c157600080fd5b5061041060145481565b3480156104d757600080fd5b506104106104e6366004612d6f565b610ffb565b3480156104f757600080fd5b5061041061200081565b34801561050d57600080fd5b50610410601a5481565b34801561052357600080fd5b50610410601b5481565b34801561053957600080fd5b5061033f610548366004612dbd565b611091565b34801561055957600080fd5b50610410610568366004612ca3565b6110ac565b34801561057957600080fd5b5061033f610588366004612e1b565b61113f565b34801561059957600080fd5b506103b86105a8366004612ca3565b6111f0565b3480156105b957600080fd5b506104106105c8366004612dfe565b611267565b3480156105d957600080fd5b5061033f6105e8366004612e90565b6112ee565b3480156105f957600080fd5b5061033f611383565b34801561060e57600080fd5b5061033f61061d366004612ca3565b6113b9565b34801561062e57600080fd5b5061041060195481565b34801561064457600080fd5b5061041061140f565b34801561065957600080fd5b5061041060165481565b34801561066f57600080fd5b50600a546001600160a01b03166103b8565b34801561068d57600080fd5b506106a161069c366004612dfe565b611480565b60405161036d9190612ebc565b3480156106ba57600080fd5b5061041060135481565b3480156106d057600080fd5b5061038b611588565b3480156106e557600080fd5b506104106106f4366004612ca3565b611597565b34801561070557600080fd5b5061033f610714366004612f00565b611604565b34801561072557600080fd5b50610410601c5481565b34801561073b57600080fd5b50610410601d5481565b34801561075157600080fd5b5061033f610760366004612f54565b611613565b34801561077157600080fd5b5061033f610780366004612ca3565b61164b565b34801561079157600080fd5b5061033f6107a0366004613034565b6116a1565b3480156107b157600080fd5b5061038b6107c0366004612ca3565b6116ec565b3480156107d157600080fd5b5061033f6107e0366004612ca3565b6117c2565b3480156107f157600080fd5b50610410610800366004612ca3565b611818565b34801561081157600080fd5b5061033f610820366004612d6f565b611851565b34801561083157600080fd5b5061041060125481565b34801561084757600080fd5b5061041060155481565b61033f61085f366004612ca3565b611967565b34801561087057600080fd5b5061041061087f366004612ca3565b6000908152600e602052604090205490565b34801561089d57600080fd5b5061033f6108ac366004612e1b565b611b9e565b3480156108bd57600080fd5b506103616108cc366004613094565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561090657600080fd5b5061033f610915366004612dfe565b611ca4565b34801561092657600080fd5b50610410611d3c565b34801561093b57600080fd5b5061041061094a366004612dfe565b611e06565b34801561095b57600080fd5b5061033f61096a366004612e1b565b611e60565b600a546001600160a01b03163314806109925750600d546001600160a01b031633145b6109b75760405162461bcd60e51b81526004016109ae906130c2565b60405180910390fd5b601754811015610a205760405162461bcd60e51b815260206004820152602e60248201527f4e45572050524553414c45204d41582053484f554c44204245204d4f5245205460448201526d1210538814d3d3110810d3d5539560921b60648201526084016109ae565b601555565b6000610a3082611f11565b92915050565b606060008054610a459061310a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a719061310a565b8015610abe5780601f10610a9357610100808354040283529160200191610abe565b820191906000526020600020905b815481529060010190602001808311610aa157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610b415760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ae565b506000908152600460205260409020546001600160a01b031690565b6000610b68826111f0565b9050806001600160a01b0316836001600160a01b03161415610bd65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109ae565b336001600160a01b0382161480610bf25750610bf281336108cc565b610c645760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109ae565b610c6e8383611f36565b505050565b6000806000610c83846064611fa4565b909250905060008086610d64576064841015610c9e57600091505b603c831015610caf57506000610f4a565b603c8310158015610cc05750605083105b15610ccd57506001610f4a565b60508310158015610cde5750605a83105b15610ceb57506002610f4a565b605a8310158015610cfc5750605e83105b15610d0957506003610f4a565b605e8310158015610d1a5750606183105b15610d2757506004610f4a565b60618310158015610d385750606383105b15610d4557506005610f4a565b60638310158015610d565750606483105b15610d5f575060065b610f4a565b8660011480610d735750866002145b80610d7e5750866003145b80610d895750866005145b80610d945750866006145b15610ee8576019841015610dab5760009150610e42565b60198410158015610dbc5750603284105b15610dca5760019150610e42565b60328410158015610ddb5750604684105b15610de95760029150610e42565b60468410158015610dfa5750605584105b15610e085760039150610e42565b60558410158015610e195750605f84105b15610e275760049150610e42565b605f8410158015610e385750606484105b15610e4257600591505b6019831015610e5357506000610f4a565b60198310158015610e645750603283105b15610e7157506001610f4a565b60328310158015610e825750604683105b15610e8f57506002610f4a565b60468310158015610ea05750605583105b15610ead57506003610f4a565b60558310158015610ebe5750605f83105b15610ecb57506004610f4a565b605f8310158015610d3857506063831015610d4557506005610f4a565b8660041415610f0f576064841015610e4257600091506019831015610e5357506000610f4a565b60405162461bcd60e51b815260206004820152601060248201526f155392d393d5c81093d116481410549560821b60448201526064016109ae565b610f5587600861315b565b81901b610f6388600861315b565b610f6e90600461317a565b83901b1794505050505092915050565b610f883382612038565b610fa45760405162461bcd60e51b81526004016109ae90613192565b610c6e83838361212f565b600a546001600160a01b03163314610fd95760405162461bcd60e51b81526004016109ae906131e3565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600061100683611267565b82106110685760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109ae565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610c6e83838360405180602001604052806000815250611613565b60006110b760085490565b821061111a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109ae565b6008828154811061112d5761112d613218565b90600052602060002001549050919050565b600a546001600160a01b03163314806111625750600d546001600160a01b031633145b61117e5760405162461bcd60e51b81526004016109ae906130c2565b60005b81811015610c6e576001601060008585858181106111a1576111a1613218565b90506020020160208101906111b69190612dfe565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806111e88161322e565b915050611181565b6000818152600260205260408120546001600160a01b031680610a305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109ae565b60006001600160a01b0382166112d25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109ae565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314806113115750600d546001600160a01b031633145b61132d5760405162461bcd60e51b81526004016109ae906130c2565b60128390556013829055601481905560408051848152602081018490529081018290527f59a63fde6eb5fad9d430c6aec399af9649d6d6591dbf40d5784bb6e859c81615906060015b60405180910390a1505050565b600a546001600160a01b031633146113ad5760405162461bcd60e51b81526004016109ae906131e3565b6113b760006122da565b565b600a546001600160a01b03163314806113dc5750600d546001600160a01b031633145b6113f85760405162461bcd60e51b81526004016109ae906130c2565b6402540be40081101561140a57600080fd5b601e55565b6000601254421015611422575061200090565b61142a61232c565b156114445760175460155461143f9190613249565b905090565b61144c612344565b1561147a5760195460175460165461146690612000613249565b6114709190613249565b61143f9190613249565b50600090565b6060600061148d83611267565b9050600061149c82600261315b565b67ffffffffffffffff8111156114b4576114b4612f3e565b6040519080825280602002602001820160405280156114dd578160200160208202803683370190505b50905060005b82811015611580576114f58582610ffb565b8261150183600261315b565b8151811061151157611511613218565b602002602001018181525050600e600061152b8784610ffb565b81526020019081526020016000205482826002611548919061315b565b61155390600161317a565b8151811061156357611563613218565b6020908102919091010152806115788161322e565b9150506114e3565b509392505050565b606060018054610a459061310a565b60008060135442116115ee57336000908152600f602052604090205460ff16156115c45750601c546115f3565b3360009081526010602052604090205460ff16156115e55750601d546115f3565b50601e546115f3565b50601e545b6115fd838261315b565b9392505050565b61160f33838361235c565b5050565b61161d3383612038565b6116395760405162461bcd60e51b81526004016109ae90613192565b6116458484848461242b565b50505050565b600a546001600160a01b031633148061166e5750600d546001600160a01b031633145b61168a5760405162461bcd60e51b81526004016109ae906130c2565b6402540be40081101561169c57600080fd5b601d55565b600a546001600160a01b03163314806116c45750600d546001600160a01b031633145b6116e05760405162461bcd60e51b81526004016109ae906130c2565b610c6e600c8383612c0a565b6000818152600260205260409020546060906001600160a01b031661176b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109ae565b600061177561245e565b9050806117818461246d565b6000858152600e60205260409020546117999061246d565b6040516020016117ab93929190613260565b604051602081830303815290604052915050919050565b600a546001600160a01b03163314806117e55750600d546001600160a01b031633145b6118015760405162461bcd60e51b81526004016109ae906130c2565b6402540be40081101561181357600080fd5b601c55565b600080805b600781101561184a576118348161040b818761317a565b90911790806118428161322e565b91505061181d565b5092915050565b600a546001600160a01b0316331461187b5760405162461bcd60e51b81526004016109ae906131e3565b478111156118c25760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e542042414c414e434560601b60448201526064016109ae565b600080836001600160a01b03168360405160006040518083038185875af1925050503d8060008114611910576040519150601f19603f3d011682016040523d82523d6000602084013e611915565b606091505b5091509150816116455760405162461bcd60e51b815260206004820181905260248201527f5452414e53464552204f5554204e415449564520544f4b454e204641494c454460448201526064016109ae565b61196f61256b565b6119a95760405162461bcd60e51b815260206004820152600b60248201526a4e4f5420494e2053414c4560a81b60448201526064016109ae565b600081116119e75760405162461bcd60e51b815260206004820152600b60248201526a043414e27542042555920360ac1b60448201526064016109ae565b6119ef61140f565b811115611a295760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016109ae565b611a3161232c565b15611b6d57336000908152600f602052604090205460ff1615611aaa57601a5433600090815260116020526040902054611a6c90839061317a565b1115611aa55760405162461bcd60e51b8152602060048201526008602482015267115610d15151115160c21b60448201526064016109ae565b611b28565b3360009081526010602052604090205460ff1615611ae057601b5433600090815260116020526040902054611a6c90839061317a565b60405162461bcd60e51b815260206004820152601b60248201527f504c45415345205741495420464f52205055424c49432053414c45000000000060448201526064016109ae565b8060176000828254611b3a919061317a565b90915550503360009081526011602052604081208054839290611b5e90849061317a565b90915550611b6d905081612583565b611b75612344565b15611b9b578060196000828254611b8c919061317a565b90915550611b9b905081612583565b50565b600a546001600160a01b0316331480611bc15750600d546001600160a01b031633145b611bdd5760405162461bcd60e51b81526004016109ae906130c2565b601654601854611bee90839061317a565b1115611c3c5760405162461bcd60e51b815260206004820152601e60248201527f4d41524b4554494e475f524553455256455f4d4158204558434545444544000060448201526064016109ae565b8181905060186000828254611c51919061317a565b90915550600090505b81811015610c6e57611c92838383818110611c7757611c77613218565b9050602002016020810190611c8c9190612dfe565b82612615565b80611c9c8161322e565b915050611c5a565b600a546001600160a01b03163314611cce5760405162461bcd60e51b81526004016109ae906131e3565b6001600160a01b038116611d335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ae565b611b9b816122da565b6000611d4661232c565b15611df157336000908152600f602052604090205460ff1615611d9e5733600090815260116020526040902054601a5411611d815750600090565b33600090815260116020526040902054601a5461143f9190613249565b3360009081526010602052604090205460ff1615611df15733600090815260116020526040902054601b5411611dd45750600090565b33600090815260116020526040902054601b5461143f9190613249565b611df9612344565b1561147a5761143f61140f565b6001600160a01b0381166000908152600f602052604081205460ff1615611e2f57506001919050565b6001600160a01b03821660009081526010602052604090205460ff1615611e5857506002919050565b506000919050565b600a546001600160a01b0316331480611e835750600d546001600160a01b031633145b611e9f5760405162461bcd60e51b81526004016109ae906130c2565b60005b81811015610c6e576001600f6000858585818110611ec257611ec2613218565b9050602002016020810190611ed79190612dfe565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611f098161322e565b915050611ea2565b60006001600160e01b0319821663780e9d6360e01b1480610a305750610a308261263b565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f6b826111f0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806000423386336001600160a01b031631604051602001611ff2949392919093845260609290921b6bffffffffffffffffffffffff191660208401526034830152605482015260740190565b60408051601f198184030181529190528051602090910120905061201a61ffff8516826132c6565b925061202e61ffff8516601083901c6132c6565b9150509250929050565b6000818152600260205260408120546001600160a01b03166120b15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ae565b60006120bc836111f0565b9050806001600160a01b0316846001600160a01b031614806120f75750836001600160a01b03166120ec84610ac8565b6001600160a01b0316145b8061212757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612142826111f0565b6001600160a01b0316146121aa5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109ae565b6001600160a01b03821661220c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109ae565b61221783838361268b565b612222600082611f36565b6001600160a01b038316600090815260036020526040812080546001929061224b908490613249565b90915550506001600160a01b038216600090815260036020526040812080546001929061227990849061317a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000601254421015801561143f575050601354421090565b6000601354421015801561143f575050601454421090565b816001600160a01b0316836001600160a01b031614156123be5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109ae565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61243684848461212f565b61244284848484612696565b6116455760405162461bcd60e51b81526004016109ae906132da565b6060600c8054610a459061310a565b6060816124915750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124bb57806124a58161322e565b91506124b49050600a8361332c565b9150612495565b60008167ffffffffffffffff8111156124d6576124d6612f3e565b6040519080825280601f01601f191660200182016040528015612500576020820181803683370190505b5090505b841561212757612515600183613249565b9150612522600a866132c6565b61252d90603061317a565b60f81b81838151811061254257612542613218565b60200101906001600160f81b031916908160001a905350612564600a8661332c565b9450612504565b6000601254421015801561143f575050601454421090565b600061258e82611597565b90508034146125ee5760405162461bcd60e51b815260206004820152602660248201527f4d53472e56414c554520444f45534e2754204d415443482052455155495245446044820152652056414c554560d01b60648201526084016109ae565b60005b82811015610c6e576126033382612615565b8061260d8161322e565b9150506125f1565b600061262282600a61315b565b9050600061262f82611818565b90506116458482612794565b60006001600160e01b031982166380ac58cd60e01b148061266c57506001600160e01b03198216635b5e139f60e01b145b80610a3057506301ffc9a760e01b6001600160e01b0319831614610a30565b610c6e838383612827565b60006001600160a01b0384163b1561278957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126da903390899088908890600401613340565b6020604051808303816000875af1925050508015612715575060408051601f3d908101601f191682019092526127129181019061337d565b60015b61276f573d808015612743576040519150601f19603f3d011682016040523d82523d6000602084013e612748565b606091505b5080516127675760405162461bcd60e51b81526004016109ae906132da565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612127565b506001949350505050565b600061279f600b5490565b90506127b3836127ae600b5490565b6128df565b81600e60006127c1600b5490565b81526020810191909152604001600020556127e0600b80546001019055565b604080516001600160a01b0385168152602081018390529081018390527f375d2f509a46eeac9f1b5a6e083f69f16adc84f4297ddf1c3c8d2b73dc266d3390606001611376565b6001600160a01b0383166128825761287d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6128a5565b816001600160a01b0316836001600160a01b0316146128a5576128a583826128f9565b6001600160a01b0382166128bc57610c6e81612996565b826001600160a01b0316826001600160a01b031614610c6e57610c6e8282612a45565b61160f828260405180602001604052806000815250612a89565b6000600161290684611267565b6129109190613249565b600083815260076020526040902054909150808214612963576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906129a890600190613249565b600083815260096020526040812054600880549394509092849081106129d0576129d0613218565b9060005260206000200154905080600883815481106129f1576129f1613218565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a2957612a2961339a565b6001900381819060005260206000200160009055905550505050565b6000612a5083611267565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612a938383612abc565b612aa06000848484612696565b610c6e5760405162461bcd60e51b81526004016109ae906132da565b6001600160a01b038216612b125760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109ae565b6000818152600260205260409020546001600160a01b031615612b775760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109ae565b612b836000838361268b565b6001600160a01b0382166000908152600360205260408120805460019290612bac90849061317a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612c169061310a565b90600052602060002090601f016020900481019282612c385760008555612c7e565b82601f10612c515782800160ff19823516178555612c7e565b82800160010185558215612c7e579182015b82811115612c7e578235825591602001919060010190612c63565b50612c8a929150612c8e565b5090565b5b80821115612c8a5760008155600101612c8f565b600060208284031215612cb557600080fd5b5035919050565b6001600160e01b031981168114611b9b57600080fd5b600060208284031215612ce457600080fd5b81356115fd81612cbc565b60005b83811015612d0a578181015183820152602001612cf2565b838111156116455750506000910152565b60008151808452612d33816020860160208601612cef565b601f01601f19169290920160200192915050565b6020815260006115fd6020830184612d1b565b6001600160a01b0381168114611b9b57600080fd5b60008060408385031215612d8257600080fd5b8235612d8d81612d5a565b946020939093013593505050565b60008060408385031215612dae57600080fd5b50508035926020909101359150565b600080600060608486031215612dd257600080fd5b8335612ddd81612d5a565b92506020840135612ded81612d5a565b929592945050506040919091013590565b600060208284031215612e1057600080fd5b81356115fd81612d5a565b60008060208385031215612e2e57600080fd5b823567ffffffffffffffff80821115612e4657600080fd5b818501915085601f830112612e5a57600080fd5b813581811115612e6957600080fd5b8660208260051b8501011115612e7e57600080fd5b60209290920196919550909350505050565b600080600060608486031215612ea557600080fd5b505081359360208301359350604090920135919050565b6020808252825182820181905260009190848201906040850190845b81811015612ef457835183529284019291840191600101612ed8565b50909695505050505050565b60008060408385031215612f1357600080fd5b8235612f1e81612d5a565b915060208301358015158114612f3357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612f6a57600080fd5b8435612f7581612d5a565b93506020850135612f8581612d5a565b925060408501359150606085013567ffffffffffffffff80821115612fa957600080fd5b818701915087601f830112612fbd57600080fd5b813581811115612fcf57612fcf612f3e565b604051601f8201601f19908116603f01168101908382118183101715612ff757612ff7612f3e565b816040528281528a602084870101111561301057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806020838503121561304757600080fd5b823567ffffffffffffffff8082111561305f57600080fd5b818501915085601f83011261307357600080fd5b81358181111561308257600080fd5b866020828501011115612e7e57600080fd5b600080604083850312156130a757600080fd5b82356130b281612d5a565b91506020830135612f3381612d5a565b60208082526028908201527f4f4e4c592041444d494e204f52204f574e45522043414e2043414c4c2054484960408201526714c81351551213d160c21b606082015260800190565b600181811c9082168061311e57607f821691505b6020821081141561313f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561317557613175613145565b500290565b6000821982111561318d5761318d613145565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561324257613242613145565b5060010190565b60008282101561325b5761325b613145565b500390565b60008451613272818460208901612cef565b845190830190613286818360208901612cef565b602f60f81b910190815283516132a3816001840160208801612cef565b0160010195945050505050565b634e487b7160e01b600052601260045260246000fd5b6000826132d5576132d56132b0565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261333b5761333b6132b0565b500490565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061337390830184612d1b565b9695505050505050565b60006020828403121561338f57600080fd5b81516115fd81612cbc565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220f89509d96a07fb7ce5cfd1c7f52d4fb9cc2ca79df26b5fd5023ab0aa9dec23fd64736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008a0da9316fbea015f436c2ffd19ca04d9fa823920000000000000000000000000000000000000000000000000000000061dbf5900000000000000000000000000000000000000000000000000000000061dd47100000000000000000000000000000000000000000000000000000000061dfea10000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e676f6c646d61736b6170652e636f6d2f6d657461646174612f626f782f0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : nftBaseUrl (string): https://api.goldmaskape.com/metadata/box/
Arg [1] : adminAddr (address): 0x8A0da9316fBeA015F436C2ffd19ca04d9Fa82392
Arg [2] : presaleStartTime (uint256): 1641805200
Arg [3] : presaleEndTime (uint256): 1641891600
Arg [4] : publicSaleEndTime (uint256): 1642064400

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000008a0da9316fbea015f436c2ffd19ca04d9fa82392
Arg [2] : 0000000000000000000000000000000000000000000000000000000061dbf590
Arg [3] : 0000000000000000000000000000000000000000000000000000000061dd4710
Arg [4] : 0000000000000000000000000000000000000000000000000000000061dfea10
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [6] : 68747470733a2f2f6170692e676f6c646d61736b6170652e636f6d2f6d657461
Arg [7] : 646174612f626f782f0000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

46418:14737:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52850:255;;;;;;;;;;-1:-1:-1;52850:255:0;;;;;:::i;:::-;;:::i;:::-;;57305:204;;;;;;;;;;-1:-1:-1;57305:204:0;;;;;:::i;:::-;;:::i;:::-;;;750:14:1;;743:22;725:41;;713:2;698:18;57305:204:0;;;;;;;;14288:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;15847:221::-;;;;;;;;;;-1:-1:-1;15847:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;15847:221:0;1528:203:1;15370:411:0;;;;;;;;;;-1:-1:-1;15370:411:0;;;;;:::i;:::-;;:::i;58162:2990::-;;;;;;;;;;-1:-1:-1;58162:2990:0;;;;;:::i;:::-;;:::i;:::-;;;2591:25:1;;;2579:2;2564:18;58162:2990:0;2445:177:1;47476:30:0;;;;;;;;;;;;;;;;39905:113;;;;;;;;;;-1:-1:-1;39993:10:0;:17;39905:113;;47750:33;;;;;;;;;;;;;;;;16597:339;;;;;;;;;;-1:-1:-1;16597:339:0;;;;;:::i;:::-;;:::i;47513:32::-;;;;;;;;;;;;;;;;53438:98;;;;;;;;;;-1:-1:-1;53438:98:0;;;;;:::i;:::-;;:::i;47291:35::-;;;;;;;;;;;;;;;;39573:256;;;;;;;;;;-1:-1:-1;39573:256:0;;;;;:::i;:::-;;:::i;47335:41::-;;;;;;;;;;;;47372:4;47335:41;;47594:28;;;;;;;;;;;;;;;;47629:35;;;;;;;;;;;;;;;;17007:185;;;;;;;;;;-1:-1:-1;17007:185:0;;;;;:::i;:::-;;:::i;40095:233::-;;;;;;;;;;-1:-1:-1;40095:233:0;;;;;:::i;:::-;;:::i;51439:::-;;;;;;;;;;-1:-1:-1;51439:233:0;;;;;:::i;:::-;;:::i;13982:239::-;;;;;;;;;;-1:-1:-1;13982:239:0;;;;;:::i;:::-;;:::i;13712:208::-;;;;;;;;;;-1:-1:-1;13712:208:0;;;;;:::i;:::-;;:::i;52485:357::-;;;;;;;;;;-1:-1:-1;52485:357:0;;;;;:::i;:::-;;:::i;36867:103::-;;;;;;;;;;;;;:::i;52321:156::-;;;;;;;;;;-1:-1:-1;52321:156:0;;;;;:::i;:::-;;:::i;47552:33::-;;;;;;;;;;;;;;;;55292:472;;;;;;;;;;;;;:::i;47425:42::-;;;;;;;;;;;;;;;;36216:87;;;;;;;;;;-1:-1:-1;36289:6:0;;-1:-1:-1;;;;;36289:6:0;36216:87;;57517:509;;;;;;;;;;-1:-1:-1;57517:509:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;47252:32::-;;;;;;;;;;;;;;;;14457:104;;;;;;;;;;;;;:::i;55772:625::-;;;;;;;;;;-1:-1:-1;55772:625:0;;;;;:::i;:::-;;:::i;16140:155::-;;;;;;;;;;-1:-1:-1;16140:155:0;;;;;:::i;:::-;;:::i;47673:28::-;;;;;;;;;;;;;;;;47708:35;;;;;;;;;;;;;;;;17263:328;;;;;;;;;;-1:-1:-1;17263:328:0;;;;;:::i;:::-;;:::i;52156:157::-;;;;;;;;;;-1:-1:-1;52156:157:0;;;;;:::i;:::-;;:::i;51883:114::-;;;;;;;;;;-1:-1:-1;51883:114:0;;;;;:::i;:::-;;:::i;56516:566::-;;;;;;;;;;-1:-1:-1;56516:566:0;;;;;:::i;:::-;;:::i;52005:143::-;;;;;;;;;;-1:-1:-1;52005:143:0;;;;;:::i;:::-;;:::i;50751:234::-;;;;;;;;;;-1:-1:-1;50751:234:0;;;;;:::i;:::-;;:::i;53113:317::-;;;;;;;;;;-1:-1:-1;53113:317:0;;;;;:::i;:::-;;:::i;47211:34::-;;;;;;;;;;;;;;;;47385:33;;;;;;;;;;;;;;;;49133:1065;;;;;;:::i;:::-;;:::i;58034:120::-;;;;;;;;;;-1:-1:-1;58034:120:0;;;;;:::i;:::-;58094:7;58121:25;;;:18;:25;;;;;;;58034:120;48764:361;;;;;;;;;;-1:-1:-1;48764:361:0;;;;;:::i;:::-;;:::i;16366:164::-;;;;;;;;;;-1:-1:-1;16366:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;16487:25:0;;;16463:4;16487:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;16366:164;37125:201;;;;;;;;;;-1:-1:-1;37125:201:0;;;;;:::i;:::-;;:::i;54201:768::-;;;;;;;;;;;;;:::i;54977:307::-;;;;;;;;;;-1:-1:-1;54977:307:0;;;;;:::i;:::-;;:::i;51680:195::-;;;;;;;;;;-1:-1:-1;51680:195:0;;;;;:::i;:::-;;:::i;52850:255::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;;;;;;;;;52970:15:::1;;52953:13;:32;;52931:128;;;::::0;-1:-1:-1;;;52931:128:0;;8671:2:1;52931:128:0::1;::::0;::::1;8653:21:1::0;8710:2;8690:18;;;8683:30;8749:34;8729:18;;;8722:62;-1:-1:-1;;;8800:18:1;;;8793:44;8854:19;;52931:128:0::1;8469:410:1::0;52931:128:0::1;53070:11;:27:::0;52850:255::o;57305:204::-;57436:4;57465:36;57489:11;57465:23;:36::i;:::-;57458:43;57305:204;-1:-1:-1;;57305:204:0:o;14288:100::-;14342:13;14375:5;14368:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14288:100;:::o;15847:221::-;15923:7;19190:16;;;:7;:16;;;;;;-1:-1:-1;;;;;19190:16:0;15943:73;;;;-1:-1:-1;;;15943:73:0;;9471:2:1;15943:73:0;;;9453:21:1;9510:2;9490:18;;;9483:30;9549:34;9529:18;;;9522:62;-1:-1:-1;;;9600:18:1;;;9593:42;9652:19;;15943:73:0;9269:408:1;15943:73:0;-1:-1:-1;16036:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;16036:24:0;;15847:221::o;15370:411::-;15451:13;15467:23;15482:7;15467:14;:23::i;:::-;15451:39;;15515:5;-1:-1:-1;;;;;15509:11:0;:2;-1:-1:-1;;;;;15509:11:0;;;15501:57;;;;-1:-1:-1;;;15501:57:0;;9884:2:1;15501:57:0;;;9866:21:1;9923:2;9903:18;;;9896:30;9962:34;9942:18;;;9935:62;-1:-1:-1;;;10013:18:1;;;10006:31;10054:19;;15501:57:0;9682:397:1;15501:57:0;6333:10;-1:-1:-1;;;;;15593:21:0;;;;:62;;-1:-1:-1;15618:37:0;15635:5;6333:10;16366:164;:::i;15618:37::-;15571:168;;;;-1:-1:-1;;;15571:168:0;;10286:2:1;15571:168:0;;;10268:21:1;10325:2;10305:18;;;10298:30;10364:34;10344:18;;;10337:62;10435:26;10415:18;;;10408:54;10479:19;;15571:168:0;10084:420:1;15571:168:0;15752:21;15761:2;15765:7;15752:8;:21::i;:::-;15440:341;15370:411;;:::o;58162:2990::-;58261:7;58286:10;58307;58339:26;58352:7;58361:3;58339:12;:26::i;:::-;58328:37;;-1:-1:-1;58328:37:0;-1:-1:-1;58376:15:0;;58444:12;58440:2624;;58493:3;58488:2;:8;58473:71;;;58527:1;58517:11;;58473:71;58578:2;58573;:7;58558:547;;;-1:-1:-1;58613:1:0;58440:2624;;58558:547;58646:2;58640;:8;;:19;;;;;58657:2;58652;:7;58640:19;58636:469;;;-1:-1:-1;58692:1:0;58440:2624;;58636:469;58725:2;58719;:8;;:19;;;;;58736:2;58731;:7;58719:19;58715:390;;;-1:-1:-1;58771:1:0;58440:2624;;58715:390;58804:2;58798;:8;;:19;;;;;58815:2;58810;:7;58798:19;58794:311;;;-1:-1:-1;58850:1:0;58440:2624;;58794:311;58883:2;58877;:8;;:19;;;;;58894:2;58889;:7;58877:19;58873:232;;;-1:-1:-1;58929:1:0;58440:2624;;58873:232;58962:2;58956;:8;;:19;;;;;58973:2;58968;:7;58956:19;58952:153;;;-1:-1:-1;59008:1:0;58440:2624;;58952:153;59041:2;59035;:8;;:20;;;;;59052:3;59047:2;:8;59035:20;59031:74;;;-1:-1:-1;59088:1:0;59031:74;58440:2624;;;59140:7;59151:1;59140:12;:41;;;;59169:7;59180:1;59169:12;59140:41;:70;;;;59198:7;59209:1;59198:12;59140:70;:99;;;;59227:7;59238:1;59227:12;59140:99;:128;;;;59256:7;59267:1;59256:12;59140:128;59122:1942;;;59315:2;59310;:7;59295:456;;;59348:1;59338:11;;59295:456;;;59381:2;59375;:8;;:19;;;;;59392:2;59387;:7;59375:19;59371:380;;;59425:1;59415:11;;59371:380;;;59458:2;59452;:8;;:19;;;;;59469:2;59464;:7;59452:19;59448:303;;;59502:1;59492:11;;59448:303;;;59535:2;59529;:8;;:19;;;;;59546:2;59541;:7;59529:19;59525:226;;;59579:1;59569:11;;59525:226;;;59612:2;59606;:8;;:19;;;;;59623:2;59618;:7;59606:19;59602:149;;;59656:1;59646:11;;59602:149;;;59689:2;59683;:8;;:20;;;;;59700:3;59695:2;:8;59683:20;59679:72;;;59734:1;59724:11;;59679:72;59785:2;59780;:7;59765:547;;;-1:-1:-1;59820:1:0;59122:1942;;59765:547;59853:2;59847;:8;;:19;;;;;59864:2;59859;:7;59847:19;59843:469;;;-1:-1:-1;59899:1:0;58440:2624;;59843:469;59932:2;59926;:8;;:19;;;;;59943:2;59938;:7;59926:19;59922:390;;;-1:-1:-1;59978:1:0;58440:2624;;59922:390;60011:2;60005;:8;;:19;;;;;60022:2;60017;:7;60005:19;60001:311;;;-1:-1:-1;60057:1:0;58440:2624;;60001:311;60090:2;60084;:8;;:19;;;;;60101:2;60096;:7;60084:19;60080:232;;;-1:-1:-1;60136:1:0;58440:2624;;60080:232;60169:2;60163;:8;;:19;;;;;60180:2;60175;:7;60159:153;;;-1:-1:-1;60215:1:0;58440:2624;;59122:1942;60333:7;60344:1;60333:12;60329:735;;;60382:3;60377:2;:8;60362:71;;;60416:1;60406:11;;60467:2;60462;:7;60447:547;;;-1:-1:-1;60502:1:0;60329:735;;;61026:26;;-1:-1:-1;;;61026:26:0;;10711:2:1;61026:26:0;;;10693:21:1;10750:2;10730:18;;;10723:30;-1:-1:-1;;;10769:18:1;;;10762:46;10825:18;;61026:26:0;10509:340:1;60329:735:0;61131:11;:7;61141:1;61131:11;:::i;:::-;61117:26;;;61096:11;:7;61106:1;61096:11;:::i;:::-;:15;;61110:1;61096:15;:::i;:::-;61084:7;:28;;61083:61;61076:68;;;;;;58162:2990;;;;:::o;16597:339::-;16792:41;6333:10;16825:7;16792:18;:41::i;:::-;16784:103;;;;-1:-1:-1;;;16784:103:0;;;;;;;:::i;:::-;16900:28;16910:4;16916:2;16920:7;16900:9;:28::i;53438:98::-;36289:6;;-1:-1:-1;;;;;36289:6:0;6333:10;36436:23;36428:68;;;;-1:-1:-1;;;36428:68:0;;;;;;;:::i;:::-;53509:8:::1;:19:::0;;-1:-1:-1;;;;;;53509:19:0::1;-1:-1:-1::0;;;;;53509:19:0;;;::::1;::::0;;;::::1;::::0;;53438:98::o;39573:256::-;39670:7;39706:23;39723:5;39706:16;:23::i;:::-;39698:5;:31;39690:87;;;;-1:-1:-1;;;39690:87:0;;12273:2:1;39690:87:0;;;12255:21:1;12312:2;12292:18;;;12285:30;12351:34;12331:18;;;12324:62;-1:-1:-1;;;12402:18:1;;;12395:41;12453:19;;39690:87:0;12071:407:1;39690:87:0;-1:-1:-1;;;;;;39795:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;39573:256::o;17007:185::-;17145:39;17162:4;17168:2;17172:7;17145:39;;;;;;;;;;;;:16;:39::i;40095:233::-;40170:7;40206:30;39993:10;:17;;39905:113;40206:30;40198:5;:38;40190:95;;;;-1:-1:-1;;;40190:95:0;;12685:2:1;40190:95:0;;;12667:21:1;12724:2;12704:18;;;12697:30;12763:34;12743:18;;;12736:62;-1:-1:-1;;;12814:18:1;;;12807:42;12866:19;;40190:95:0;12483:408:1;40190:95:0;40303:10;40314:5;40303:17;;;;;;;;:::i;:::-;;;;;;;;;40296:24;;40095:233;;;:::o;51439:::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;51557:9:::1;51552:113;51572:23:::0;;::::1;51552:113;;;51649:4;51617:12;:29;51630:12;;51643:1;51630:15;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;51617:29:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;51617:29:0;:36;;-1:-1:-1;;51617:36:0::1;::::0;::::1;;::::0;;;::::1;::::0;;51597:3;::::1;::::0;::::1;:::i;:::-;;;;51552:113;;13982:239:::0;14054:7;14090:16;;;:7;:16;;;;;;-1:-1:-1;;;;;14090:16:0;14125:19;14117:73;;;;-1:-1:-1;;;14117:73:0;;13370:2:1;14117:73:0;;;13352:21:1;13409:2;13389:18;;;13382:30;13448:34;13428:18;;;13421:62;-1:-1:-1;;;13499:18:1;;;13492:39;13548:19;;14117:73:0;13168:405:1;13712:208:0;13784:7;-1:-1:-1;;;;;13812:19:0;;13804:74;;;;-1:-1:-1;;;13804:74:0;;13780:2:1;13804:74:0;;;13762:21:1;13819:2;13799:18;;;13792:30;13858:34;13838:18;;;13831:62;-1:-1:-1;;;13909:18:1;;;13902:40;13959:19;;13804:74:0;13578:406:1;13804:74:0;-1:-1:-1;;;;;;13896:16:0;;;;;:9;:16;;;;;;;13712:208::o;52485:357::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;52640:19:::1;:34:::0;;;52685:17:::1;:30:::0;;;52726:20:::1;:36:::0;;;52778:56:::1;::::0;;14191:25:1;;;14247:2;14232:18;;14225:34;;;14275:18;;;14268:34;;;52778:56:0::1;::::0;14179:2:1;14164:18;52778:56:0::1;;;;;;;;52485:357:::0;;;:::o;36867:103::-;36289:6;;-1:-1:-1;;;;;36289:6:0;6333:10;36436:23;36428:68;;;;-1:-1:-1;;;36428:68:0;;;;;;;:::i;:::-;36932:30:::1;36959:1;36932:18;:30::i;:::-;36867:103::o:0;52321:156::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;52422:6:::1;52410:8;:18;;52402:27;;;::::0;::::1;;52440:18;:29:::0;52321:156::o;55292:472::-;55334:7;55376:19;;55358:15;:37;55354:87;;;-1:-1:-1;47372:4:0;;55292:472::o;55354:87::-;55455:11;:9;:11::i;:::-;55451:80;;;55504:15;;55490:11;;:29;;;;:::i;:::-;55483:36;;55292:472;:::o;55451:80::-;55545:14;:12;:14::i;:::-;55541:195;;;55706:18;;55671:15;;55630:21;;55600:51;;47372:4;55600:51;:::i;:::-;:86;;;;:::i;:::-;:124;;;;:::i;55541:195::-;-1:-1:-1;55755:1:0;;55292:472::o;57517:509::-;57618:16;57652:19;57674:15;57684:4;57674:9;:15::i;:::-;57652:37;-1:-1:-1;57700:23:0;57740:15;57652:37;57754:1;57740:15;:::i;:::-;57726:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57726:30:0;;57700:56;;57772:9;57767:228;57791:11;57787:1;:15;57767:228;;;57840:28;57860:4;57866:1;57840:19;:28::i;:::-;57824:6;57831:5;:1;57835;57831:5;:::i;:::-;57824:13;;;;;;;;:::i;:::-;;;;;;:44;;;;;57903:18;:80;57940:28;57960:4;57966:1;57940:19;:28::i;:::-;57903:80;;;;;;;;;;;;57883:6;57890:1;57894;57890:5;;;;:::i;:::-;:9;;57898:1;57890:9;:::i;:::-;57883:17;;;;;;;;:::i;:::-;;;;;;;;;;:100;57804:3;;;;:::i;:::-;;;;57767:228;;;-1:-1:-1;58012:6:0;57517:509;-1:-1:-1;;;57517:509:0:o;14457:104::-;14513:13;14546:7;14539:14;;;;;:::i;55772:625::-;55855:18;55891:16;55943:17;;55924:15;:36;55920:430;;56033:10;56023:21;;;;:9;:21;;;;;;;;56019:258;;;-1:-1:-1;56076:13:0;;55920:430;;56019:258;56128:10;56115:24;;;;:12;:24;;;;;;;;56111:166;;;-1:-1:-1;56171:20:0;;55920:430;;56111:166;-1:-1:-1;56243:18:0;;55920:430;;;-1:-1:-1;56320:18:0;;55920:430;56373:16;56384:5;56373:8;:16;:::i;:::-;56360:29;55772:625;-1:-1:-1;;;55772:625:0:o;16140:155::-;16235:52;6333:10;16268:8;16278;16235:18;:52::i;:::-;16140:155;;:::o;17263:328::-;17438:41;6333:10;17471:7;17438:18;:41::i;:::-;17430:103;;;;-1:-1:-1;;;17430:103:0;;;;;;;:::i;:::-;17544:39;17558:4;17564:2;17568:7;17577:5;17544:13;:39::i;:::-;17263:328;;;;:::o;52156:157::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;52256:6:::1;52244:8;:18;;52236:27;;;::::0;::::1;;52274:20;:31:::0;52156:157::o;51883:114::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;51966:23:::1;:10;51979::::0;;51966:23:::1;:::i;56516:566::-:0;19166:4;19190:16;;;:7;:16;;;;;;56617:13;;-1:-1:-1;;;;;19190:16:0;56648:113;;;;-1:-1:-1;;;56648:113:0;;14645:2:1;56648:113:0;;;14627:21:1;14684:2;14664:18;;;14657:30;14723:34;14703:18;;;14696:62;-1:-1:-1;;;14774:18:1;;;14767:45;14829:19;;56648:113:0;14443:411:1;56648:113:0;56774:21;56798:10;:8;:10::i;:::-;56774:34;;56905:7;56935:18;:7;:16;:18::i;:::-;57002:27;;;;:18;:27;;;;;;:38;;:36;:38::i;:::-;56866:193;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56821:253;;;56516:566;;;:::o;52005:143::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;52098:6:::1;52086:8;:18;;52078:27;;;::::0;::::1;;52116:13;:24:::0;52005:143::o;50751:234::-;50803:7;;;50869:87;50893:1;50889;:5;50869:87;;;50924:20;50932:1;50935:8;50932:1;50935:4;:8;:::i;50924:20::-;50916:28;;;;50896:3;;;;:::i;:::-;;;;50869:87;;;-1:-1:-1;50973:4:0;50751:234;-1:-1:-1;;50751:234:0:o;53113:317::-;36289:6;;-1:-1:-1;;;;;36289:6:0;6333:10;36436:23;36428:68;;;;-1:-1:-1;;;36428:68:0;;;;;;;:::i;:::-;53246:21:::1;53236:6;:31;;53228:64;;;::::0;-1:-1:-1;;;53228:64:0;;15874:2:1;53228:64:0::1;::::0;::::1;15856:21:1::0;15913:2;15893:18;;;15886:30;-1:-1:-1;;;15932:18:1;;;15925:50;15992:18;;53228:64:0::1;15672:344:1::0;53228:64:0::1;53304:9;53315:17:::0;53336:2:::1;-1:-1:-1::0;;;;;53336:7:0::1;53351:6;53336:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53303:59;;;;53381:4;53373:49;;;::::0;-1:-1:-1;;;53373:49:0;;16433:2:1;53373:49:0::1;::::0;::::1;16415:21:1::0;;;16452:18;;;16445:30;16511:34;16491:18;;;16484:62;16563:18;;53373:49:0::1;16231:356:1::0;49133:1065:0;49195:14;:12;:14::i;:::-;49187:38;;;;-1:-1:-1;;;49187:38:0;;16794:2:1;49187:38:0;;;16776:21:1;16833:2;16813:18;;;16806:30;-1:-1:-1;;;16852:18:1;;;16845:41;16903:18;;49187:38:0;16592:335:1;49187:38:0;49252:1;49244:5;:9;49236:33;;;;-1:-1:-1;;;49236:33:0;;17134:2:1;49236:33:0;;;17116:21:1;17173:2;17153:18;;;17146:30;-1:-1:-1;;;17192:18:1;;;17185:41;17243:18;;49236:33:0;16932:335:1;49236:33:0;49297:11;:9;:11::i;:::-;49288:5;:20;;49280:41;;;;-1:-1:-1;;;49280:41:0;;17474:2:1;49280:41:0;;;17456:21:1;17513:1;17493:18;;;17486:29;-1:-1:-1;;;17531:18:1;;;17524:38;17579:18;;49280:41:0;17272:331:1;49280:41:0;49338:11;:9;:11::i;:::-;49334:726;;;49413:10;49403:21;;;;:9;:21;;;;;;;;49399:525;;;49521:13;;49498:10;49475:34;;;;:22;:34;;;;;;:42;;49512:5;;49475:42;:::i;:::-;:59;;49445:141;;;;-1:-1:-1;;;49445:141:0;;17810:2:1;49445:141:0;;;17792:21:1;17849:1;17829:18;;;17822:29;-1:-1:-1;;;17867:18:1;;;17860:38;17915:18;;49445:141:0;17608:331:1;49445:141:0;49399:525;;;49625:10;49612:24;;;;:12;:24;;;;;;;;49608:316;;;49758:20;;49710:10;49687:34;;;;:22;:34;;;;;;:42;;49724:5;;49687:42;:::i;49608:316::-;49871:37;;-1:-1:-1;;;49871:37:0;;18146:2:1;49871:37:0;;;18128:21:1;18185:2;18165:18;;;18158:30;18224:29;18204:18;;;18197:57;18271:18;;49871:37:0;17944:351:1;49608:316:0;49959:5;49940:15;;:24;;;;;;;:::i;:::-;;;;-1:-1:-1;;50002:10:0;49979:34;;;;:22;:34;;;;;:43;;50017:5;;49979:34;:43;;50017:5;;49979:43;:::i;:::-;;;;-1:-1:-1;50037:11:0;;-1:-1:-1;50042:5:0;50037:4;:11::i;:::-;50074:14;:12;:14::i;:::-;50070:121;;;50127:5;50105:18;;:27;;;;;;;:::i;:::-;;;;-1:-1:-1;50147:11:0;;-1:-1:-1;50152:5:0;50147:4;:11::i;:::-;49133:1065;:::o;48764:361::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;48902:21:::1;::::0;48868:17:::1;::::0;:29:::1;::::0;48888:2;;48868:29:::1;:::i;:::-;48867:56;;48845:136;;;::::0;-1:-1:-1;;;48845:136:0;;18502:2:1;48845:136:0::1;::::0;::::1;18484:21:1::0;18541:2;18521:18;;;18514:30;18580:32;18560:18;;;18553:60;18630:18;;48845:136:0::1;18300:354:1::0;48845:136:0::1;49013:2;;:9;;48992:17;;:30;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;49038:9:0::1;::::0;-1:-1:-1;49033:85:0::1;49053:13:::0;;::::1;49033:85;;;49088:18;49097:2;;49100:1;49097:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;49104:1;49088:8;:18::i;:::-;49068:3:::0;::::1;::::0;::::1;:::i;:::-;;;;49033:85;;37125:201:::0;36289:6;;-1:-1:-1;;;;;36289:6:0;6333:10;36436:23;36428:68;;;;-1:-1:-1;;;36428:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;37214:22:0;::::1;37206:73;;;::::0;-1:-1:-1;;;37206:73:0;;18861:2:1;37206:73:0::1;::::0;::::1;18843:21:1::0;18900:2;18880:18;;;18873:30;18939:34;18919:18;;;18912:62;-1:-1:-1;;;18990:18:1;;;18983:36;19036:19;;37206:73:0::1;18659:402:1::0;37206:73:0::1;37290:28;37309:8;37290:18;:28::i;54201:768::-:0;54251:7;54275:11;:9;:11::i;:::-;54271:597;;;54317:10;54307:21;;;;:9;:21;;;;;;;;54303:247;;;54416:10;54393:34;;;;:22;:34;;;;;;54377:13;;:50;:157;;-1:-1:-1;54533:1:0;;55292:472::o;54377:157::-;54494:10;54471:34;;;;:22;:34;;;;;;54455:13;;:50;;54471:34;54455:50;:::i;54303:247::-;54581:10;54568:24;;;;:12;:24;;;;;;;;54564:293;;;54687:10;54664:34;;;;:22;:34;;;;;;54641:20;;:57;:200;;-1:-1:-1;54840:1:0;;55292:472::o;54641:200::-;54801:10;54778:34;;;;:22;:34;;;;;;54726:20;;:86;;54778:34;54726:86;:::i;54564:293::-;54882:14;:12;:14::i;:::-;54878:65;;;54920:11;:9;:11::i;54977:307::-;-1:-1:-1;;;;;55133:15:0;;55034:7;55133:15;;;:9;:15;;;;;;;;55129:56;;;-1:-1:-1;55172:1:0;;54977:307;-1:-1:-1;54977:307:0:o;55129:56::-;-1:-1:-1;;;;;55201:18:0;;;;;;:12;:18;;;;;;;;55197:59;;;-1:-1:-1;55243:1:0;;54977:307;-1:-1:-1;54977:307:0:o;55197:59::-;-1:-1:-1;55275:1:0;;54977:307;-1:-1:-1;54977:307:0:o;51680:195::-;36289:6;;-1:-1:-1;;;;;36289:6:0;47870:10;:21;;:47;;-1:-1:-1;47909:8:0;;-1:-1:-1;;;;;47909:8:0;47895:10;:22;47870:47;47848:137;;;;-1:-1:-1;;;47848:137:0;;;;;;;:::i;:::-;51769:9:::1;51764:104;51784:20:::0;;::::1;51764:104;;;51852:4;51826:9;:23;51836:9;;51846:1;51836:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;51826:23:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;51826:23:0;:30;;-1:-1:-1;;51826:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;51806:3;::::1;::::0;::::1;:::i;:::-;;;;51764:104;;39265:224:::0;39367:4;-1:-1:-1;;;;;;39391:50:0;;-1:-1:-1;;;39391:50:0;;:90;;;39445:36;39469:11;39445:23;:36::i;23083:174::-;23158:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;23158:29:0;-1:-1:-1;;;;;23158:29:0;;;;;;;;:24;;23212:23;23158:24;23212:14;:23::i;:::-;-1:-1:-1;;;;;23203:46:0;;;;;;;;;;;23083:174;;:::o;45880:490::-;45977:10;45988;46016:9;46117:15;46155:10;46188:4;46215:10;-1:-1:-1;;;;;46215:18:0;;46078:174;;;;;;;;;;19279:19:1;;;19336:2;19332:15;;;;-1:-1:-1;;19328:53:1;19323:2;19314:12;;19307:75;19407:2;19398:12;;19391:28;19444:2;19435:12;;19428:28;19481:3;19472:13;;19066:425;46078:174:0;;;;-1:-1:-1;;46078:174:0;;;;;;;;;46050:217;;46078:174;46050:217;;;;;-1:-1:-1;46302:14:0;;;;46050:217;46302:14;:::i;:::-;46289:28;-1:-1:-1;46342:19:0;;;;46346:2;46343:5;;;46342:19;:::i;:::-;46328:34;;46005:365;45880:490;;;;;:::o;19395:348::-;19488:4;19190:16;;;:7;:16;;;;;;-1:-1:-1;;;;;19190:16:0;19505:73;;;;-1:-1:-1;;;19505:73:0;;19947:2:1;19505:73:0;;;19929:21:1;19986:2;19966:18;;;19959:30;20025:34;20005:18;;;19998:62;-1:-1:-1;;;20076:18:1;;;20069:42;20128:19;;19505:73:0;19745:408:1;19505:73:0;19589:13;19605:23;19620:7;19605:14;:23::i;:::-;19589:39;;19658:5;-1:-1:-1;;;;;19647:16:0;:7;-1:-1:-1;;;;;19647:16:0;;:51;;;;19691:7;-1:-1:-1;;;;;19667:31:0;:20;19679:7;19667:11;:20::i;:::-;-1:-1:-1;;;;;19667:31:0;;19647:51;:87;;;-1:-1:-1;;;;;;16487:25:0;;;16463:4;16487:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;19702:32;19639:96;19395:348;-1:-1:-1;;;;19395:348:0:o;22387:578::-;22546:4;-1:-1:-1;;;;;22519:31:0;:23;22534:7;22519:14;:23::i;:::-;-1:-1:-1;;;;;22519:31:0;;22511:85;;;;-1:-1:-1;;;22511:85:0;;20360:2:1;22511:85:0;;;20342:21:1;20399:2;20379:18;;;20372:30;20438:34;20418:18;;;20411:62;-1:-1:-1;;;20489:18:1;;;20482:39;20538:19;;22511:85:0;20158:405:1;22511:85:0;-1:-1:-1;;;;;22615:16:0;;22607:65;;;;-1:-1:-1;;;22607:65:0;;20770:2:1;22607:65:0;;;20752:21:1;20809:2;20789:18;;;20782:30;20848:34;20828:18;;;20821:62;-1:-1:-1;;;20899:18:1;;;20892:34;20943:19;;22607:65:0;20568:400:1;22607:65:0;22685:39;22706:4;22712:2;22716:7;22685:20;:39::i;:::-;22789:29;22806:1;22810:7;22789:8;:29::i;:::-;-1:-1:-1;;;;;22831:15:0;;;;;;:9;:15;;;;;:20;;22850:1;;22831:15;:20;;22850:1;;22831:20;:::i;:::-;;;;-1:-1:-1;;;;;;;22862:13:0;;;;;;:9;:13;;;;;:18;;22879:1;;22862:13;:18;;22879:1;;22862:18;:::i;:::-;;;;-1:-1:-1;;22891:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;22891:21:0;-1:-1:-1;;;;;22891:21:0;;;;;;;;;22930:27;;22891:16;;22930:27;;;;;;;22387:578;;;:::o;37486:191::-;37579:6;;;-1:-1:-1;;;;;37596:17:0;;;-1:-1:-1;;;;;;37596:17:0;;;;;;;37629:40;;37579:6;;;37596:17;37579:6;;37629:40;;37560:16;;37629:40;37549:128;37486:191;:::o;53633:178::-;53676:4;53732:19;;53713:15;:38;;:90;;;;-1:-1:-1;;53786:17:0;;53768:15;:35;;53633:178::o;53819:182::-;53865:4;53921:17;;53902:15;:36;;:91;;;;-1:-1:-1;;53973:20:0;;53955:15;:38;;53819:182::o;23399:315::-;23554:8;-1:-1:-1;;;;;23545:17:0;:5;-1:-1:-1;;;;;23545:17:0;;;23537:55;;;;-1:-1:-1;;;23537:55:0;;21175:2:1;23537:55:0;;;21157:21:1;21214:2;21194:18;;;21187:30;21253:27;21233:18;;;21226:55;21298:18;;23537:55:0;20973:349:1;23537:55:0;-1:-1:-1;;;;;23603:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;23603:46:0;;;;;;;;;;23665:41;;725::1;;;23665::0;;698:18:1;23665:41:0;;;;;;;23399:315;;;:::o;18473:::-;18630:28;18640:4;18646:2;18650:7;18630:9;:28::i;:::-;18677:48;18700:4;18706:2;18710:7;18719:5;18677:22;:48::i;:::-;18669:111;;;;-1:-1:-1;;;18669:111:0;;;;;;;:::i;56405:103::-;56457:13;56490:10;56483:17;;;;;:::i;8392:723::-;8448:13;8669:10;8665:53;;-1:-1:-1;;8696:10:0;;;;;;;;;;;;-1:-1:-1;;;8696:10:0;;;;;8392:723::o;8665:53::-;8743:5;8728:12;8784:78;8791:9;;8784:78;;8817:8;;;;:::i;:::-;;-1:-1:-1;8840:10:0;;-1:-1:-1;8848:2:0;8840:10;;:::i;:::-;;;8784:78;;;8872:19;8904:6;8894:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8894:17:0;;8872:39;;8922:154;8929:10;;8922:154;;8956:11;8966:1;8956:11;;:::i;:::-;;-1:-1:-1;9025:10:0;9033:2;9025:5;:10;:::i;:::-;9012:24;;:2;:24;:::i;:::-;8999:39;;8982:6;8989;8982:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;8982:56:0;;;;;;;;-1:-1:-1;9053:11:0;9062:2;9053:11;;:::i;:::-;;;8922:154;;54009:184;54055:4;54111:19;;54092:15;:38;;:93;;;;-1:-1:-1;;54165:20:0;;54147:15;:38;;54009:184::o;50206:312::-;50254:18;50275:17;50286:5;50275:10;:17::i;:::-;50254:38;;50338:10;50325:9;:23;50303:111;;;;-1:-1:-1;;;50303:111:0;;22073:2:1;50303:111:0;;;22055:21:1;22112:2;22092:18;;;22085:30;22151:34;22131:18;;;22124:62;-1:-1:-1;;;22202:18:1;;;22195:36;22248:19;;50303:111:0;21871:402:1;50303:111:0;50430:9;50425:86;50449:5;50445:1;:9;50425:86;;;50476:23;50485:10;50497:1;50476:8;:23::i;:::-;50456:3;;;;:::i;:::-;;;;50425:86;;50526:217;50626:18;50647:9;:4;50654:2;50647:9;:::i;:::-;50626:30;;50667:12;50682:19;50690:10;50682:7;:19::i;:::-;50667:34;;50712:23;50726:2;50730:4;50712:13;:23::i;13343:305::-;13445:4;-1:-1:-1;;;;;;13482:40:0;;-1:-1:-1;;;13482:40:0;;:105;;-1:-1:-1;;;;;;;13539:48:0;;-1:-1:-1;;;13539:48:0;13482:105;:158;;;-1:-1:-1;;;;;;;;;;11995:40:0;;;13604:36;11886:157;57090:207;57244:45;57271:4;57277:2;57281:7;57244:26;:45::i;24279:799::-;24434:4;-1:-1:-1;;;;;24455:13:0;;26845:20;26893:8;24451:620;;24491:72;;-1:-1:-1;;;24491:72:0;;-1:-1:-1;;;;;24491:36:0;;;;;:72;;6333:10;;24542:4;;24548:7;;24557:5;;24491:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24491:72:0;;;;;;;;-1:-1:-1;;24491:72:0;;;;;;;;;;;;:::i;:::-;;;24487:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24733:13:0;;24729:272;;24776:60;;-1:-1:-1;;;24776:60:0;;;;;;;:::i;24729:272::-;24951:6;24945:13;24936:6;24932:2;24928:15;24921:38;24487:529;-1:-1:-1;;;;;;24614:51:0;-1:-1:-1;;;24614:51:0;;-1:-1:-1;24607:58:0;;24451:620;-1:-1:-1;25055:4:0;24279:799;;;;;;:::o;50993:351::-;51065:22;51090:25;:15;34735:14;;34643:114;51090:25;51065:50;;51128:40;51138:2;51142:25;:15;34735:14;;34643:114;51142:25;51128:9;:40::i;:::-;51227:8;51179:18;:45;51198:25;:15;34735:14;;34643:114;51198:25;51179:45;;;;;;;;;;;-1:-1:-1;51179:45:0;:56;51248:27;:15;34854:19;;34872:1;34854:19;;;34765:127;51248:27;51291:45;;;-1:-1:-1;;;;;23246:32:1;;23228:51;;23310:2;23295:18;;23288:34;;;23338:18;;;23331:34;;;51291:45:0;;23216:2:1;23201:18;51291:45:0;23026:345:1;40941:589:0;-1:-1:-1;;;;;41147:18:0;;41143:187;;41182:40;41214:7;42357:10;:17;;42330:24;;;;:15;:24;;;;;:44;;;42385:24;;;;;;;;;;;;42253:164;41182:40;41143:187;;;41252:2;-1:-1:-1;;;;;41244:10:0;:4;-1:-1:-1;;;;;41244:10:0;;41240:90;;41271:47;41304:4;41310:7;41271:32;:47::i;:::-;-1:-1:-1;;;;;41344:16:0;;41340:183;;41377:45;41414:7;41377:36;:45::i;41340:183::-;41450:4;-1:-1:-1;;;;;41444:10:0;:2;-1:-1:-1;;;;;41444:10:0;;41440:83;;41471:40;41499:2;41503:7;41471:27;:40::i;20085:110::-;20161:26;20171:2;20175:7;20161:26;;;;;;;;;;;;:9;:26::i;43044:988::-;43310:22;43360:1;43335:22;43352:4;43335:16;:22::i;:::-;:26;;;;:::i;:::-;43372:18;43393:26;;;:17;:26;;;;;;43310:51;;-1:-1:-1;43526:28:0;;;43522:328;;-1:-1:-1;;;;;43593:18:0;;43571:19;43593:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43644:30;;;;;;:44;;;43761:30;;:17;:30;;;;;:43;;;43522:328;-1:-1:-1;43946:26:0;;;;:17;:26;;;;;;;;43939:33;;;-1:-1:-1;;;;;43990:18:0;;;;;:12;:18;;;;;:34;;;;;;;43983:41;43044:988::o;44327:1079::-;44605:10;:17;44580:22;;44605:21;;44625:1;;44605:21;:::i;:::-;44637:18;44658:24;;;:15;:24;;;;;;45031:10;:26;;44580:46;;-1:-1:-1;44658:24:0;;44580:46;;45031:26;;;;;;:::i;:::-;;;;;;;;;45009:48;;45095:11;45070:10;45081;45070:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;45175:28;;;:15;:28;;;;;;;:41;;;45347:24;;;;;45340:31;45382:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;44398:1008;;;44327:1079;:::o;41831:221::-;41916:14;41933:20;41950:2;41933:16;:20::i;:::-;-1:-1:-1;;;;;41964:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;42009:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41831:221:0:o;20422:321::-;20552:18;20558:2;20562:7;20552:5;:18::i;:::-;20603:54;20634:1;20638:2;20642:7;20651:5;20603:22;:54::i;:::-;20581:154;;;;-1:-1:-1;;;20581:154:0;;;;;;;:::i;21079:382::-;-1:-1:-1;;;;;21159:16:0;;21151:61;;;;-1:-1:-1;;;21151:61:0;;23710:2:1;21151:61:0;;;23692:21:1;;;23729:18;;;23722:30;23788:34;23768:18;;;23761:62;23840:18;;21151:61:0;23508:356:1;21151:61:0;19166:4;19190:16;;;:7;:16;;;;;;-1:-1:-1;;;;;19190:16:0;:30;21223:58;;;;-1:-1:-1;;;21223:58:0;;24071:2:1;21223:58:0;;;24053:21:1;24110:2;24090:18;;;24083:30;24149;24129:18;;;24122:58;24197:18;;21223:58:0;23869:352:1;21223:58:0;21294:45;21323:1;21327:2;21331:7;21294:20;:45::i;:::-;-1:-1:-1;;;;;21352:13:0;;;;;;:9;:13;;;;;:18;;21369:1;;21352:13;:18;;21369:1;;21352:18;:::i;:::-;;;;-1:-1:-1;;21381:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;21381:21:0;-1:-1:-1;;;;;21381:21:0;;;;;;;;21420:33;;21381:16;;;21420:33;;21381:16;;21420:33;21079:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:180:1;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:131::-;-1:-1:-1;;;;;;273:32:1;;263:43;;253:71;;320:1;317;310:12;335:245;393:6;446:2;434:9;425:7;421:23;417:32;414:52;;;462:1;459;452:12;414:52;501:9;488:23;520:30;544:5;520:30;:::i;777:258::-;849:1;859:113;873:6;870:1;867:13;859:113;;;949:11;;;943:18;930:11;;;923:39;895:2;888:10;859:113;;;990:6;987:1;984:13;981:48;;;-1:-1:-1;;1025:1:1;1007:16;;1000:27;777:258::o;1040:::-;1082:3;1120:5;1114:12;1147:6;1142:3;1135:19;1163:63;1219:6;1212:4;1207:3;1203:14;1196:4;1189:5;1185:16;1163:63;:::i;:::-;1280:2;1259:15;-1:-1:-1;;1255:29:1;1246:39;;;;1287:4;1242:50;;1040:258;-1:-1:-1;;1040:258:1:o;1303:220::-;1452:2;1441:9;1434:21;1415:4;1472:45;1513:2;1502:9;1498:18;1490:6;1472:45;:::i;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2192:248::-;2260:6;2268;2321:2;2309:9;2300:7;2296:23;2292:32;2289:52;;;2337:1;2334;2327:12;2289:52;-1:-1:-1;;2360:23:1;;;2430:2;2415:18;;;2402:32;;-1:-1:-1;2192:248:1:o;2627:456::-;2704:6;2712;2720;2773:2;2761:9;2752:7;2748:23;2744:32;2741:52;;;2789:1;2786;2779:12;2741:52;2828:9;2815:23;2847:31;2872:5;2847:31;:::i;:::-;2897:5;-1:-1:-1;2954:2:1;2939:18;;2926:32;2967:33;2926:32;2967:33;:::i;:::-;2627:456;;3019:7;;-1:-1:-1;;;3073:2:1;3058:18;;;;3045:32;;2627:456::o;3088:247::-;3147:6;3200:2;3188:9;3179:7;3175:23;3171:32;3168:52;;;3216:1;3213;3206:12;3168:52;3255:9;3242:23;3274:31;3299:5;3274:31;:::i;3340:615::-;3426:6;3434;3487:2;3475:9;3466:7;3462:23;3458:32;3455:52;;;3503:1;3500;3493:12;3455:52;3543:9;3530:23;3572:18;3613:2;3605:6;3602:14;3599:34;;;3629:1;3626;3619:12;3599:34;3667:6;3656:9;3652:22;3642:32;;3712:7;3705:4;3701:2;3697:13;3693:27;3683:55;;3734:1;3731;3724:12;3683:55;3774:2;3761:16;3800:2;3792:6;3789:14;3786:34;;;3816:1;3813;3806:12;3786:34;3869:7;3864:2;3854:6;3851:1;3847:14;3843:2;3839:23;3835:32;3832:45;3829:65;;;3890:1;3887;3880:12;3829:65;3921:2;3913:11;;;;;3943:6;;-1:-1:-1;3340:615:1;;-1:-1:-1;;;;3340:615:1:o;3960:316::-;4037:6;4045;4053;4106:2;4094:9;4085:7;4081:23;4077:32;4074:52;;;4122:1;4119;4112:12;4074:52;-1:-1:-1;;4145:23:1;;;4215:2;4200:18;;4187:32;;-1:-1:-1;4266:2:1;4251:18;;;4238:32;;3960:316;-1:-1:-1;3960:316:1:o;4281:632::-;4452:2;4504:21;;;4574:13;;4477:18;;;4596:22;;;4423:4;;4452:2;4675:15;;;;4649:2;4634:18;;;4423:4;4718:169;4732:6;4729:1;4726:13;4718:169;;;4793:13;;4781:26;;4862:15;;;;4827:12;;;;4754:1;4747:9;4718:169;;;-1:-1:-1;4904:3:1;;4281:632;-1:-1:-1;;;;;;4281:632:1:o;4918:416::-;4983:6;4991;5044:2;5032:9;5023:7;5019:23;5015:32;5012:52;;;5060:1;5057;5050:12;5012:52;5099:9;5086:23;5118:31;5143:5;5118:31;:::i;:::-;5168:5;-1:-1:-1;5225:2:1;5210:18;;5197:32;5267:15;;5260:23;5248:36;;5238:64;;5298:1;5295;5288:12;5238:64;5321:7;5311:17;;;4918:416;;;;;:::o;5339:127::-;5400:10;5395:3;5391:20;5388:1;5381:31;5431:4;5428:1;5421:15;5455:4;5452:1;5445:15;5471:1266;5566:6;5574;5582;5590;5643:3;5631:9;5622:7;5618:23;5614:33;5611:53;;;5660:1;5657;5650:12;5611:53;5699:9;5686:23;5718:31;5743:5;5718:31;:::i;:::-;5768:5;-1:-1:-1;5825:2:1;5810:18;;5797:32;5838:33;5797:32;5838:33;:::i;:::-;5890:7;-1:-1:-1;5944:2:1;5929:18;;5916:32;;-1:-1:-1;5999:2:1;5984:18;;5971:32;6022:18;6052:14;;;6049:34;;;6079:1;6076;6069:12;6049:34;6117:6;6106:9;6102:22;6092:32;;6162:7;6155:4;6151:2;6147:13;6143:27;6133:55;;6184:1;6181;6174:12;6133:55;6220:2;6207:16;6242:2;6238;6235:10;6232:36;;;6248:18;;:::i;:::-;6323:2;6317:9;6291:2;6377:13;;-1:-1:-1;;6373:22:1;;;6397:2;6369:31;6365:40;6353:53;;;6421:18;;;6441:22;;;6418:46;6415:72;;;6467:18;;:::i;:::-;6507:10;6503:2;6496:22;6542:2;6534:6;6527:18;6582:7;6577:2;6572;6568;6564:11;6560:20;6557:33;6554:53;;;6603:1;6600;6593:12;6554:53;6659:2;6654;6650;6646:11;6641:2;6633:6;6629:15;6616:46;6704:1;6699:2;6694;6686:6;6682:15;6678:24;6671:35;6725:6;6715:16;;;;;;;5471:1266;;;;;;;:::o;6742:592::-;6813:6;6821;6874:2;6862:9;6853:7;6849:23;6845:32;6842:52;;;6890:1;6887;6880:12;6842:52;6930:9;6917:23;6959:18;7000:2;6992:6;6989:14;6986:34;;;7016:1;7013;7006:12;6986:34;7054:6;7043:9;7039:22;7029:32;;7099:7;7092:4;7088:2;7084:13;7080:27;7070:55;;7121:1;7118;7111:12;7070:55;7161:2;7148:16;7187:2;7179:6;7176:14;7173:34;;;7203:1;7200;7193:12;7173:34;7248:7;7243:2;7234:6;7230:2;7226:15;7222:24;7219:37;7216:57;;;7269:1;7266;7259:12;7667:388;7735:6;7743;7796:2;7784:9;7775:7;7771:23;7767:32;7764:52;;;7812:1;7809;7802:12;7764:52;7851:9;7838:23;7870:31;7895:5;7870:31;:::i;:::-;7920:5;-1:-1:-1;7977:2:1;7962:18;;7949:32;7990:33;7949:32;7990:33;:::i;8060:404::-;8262:2;8244:21;;;8301:2;8281:18;;;8274:30;8340:34;8335:2;8320:18;;8313:62;-1:-1:-1;;;8406:2:1;8391:18;;8384:38;8454:3;8439:19;;8060:404::o;8884:380::-;8963:1;8959:12;;;;9006;;;9027:61;;9081:4;9073:6;9069:17;9059:27;;9027:61;9134:2;9126:6;9123:14;9103:18;9100:38;9097:161;;;9180:10;9175:3;9171:20;9168:1;9161:31;9215:4;9212:1;9205:15;9243:4;9240:1;9233:15;9097:161;;8884:380;;;:::o;10854:127::-;10915:10;10910:3;10906:20;10903:1;10896:31;10946:4;10943:1;10936:15;10970:4;10967:1;10960:15;10986:168;11026:7;11092:1;11088;11084:6;11080:14;11077:1;11074:21;11069:1;11062:9;11055:17;11051:45;11048:71;;;11099:18;;:::i;:::-;-1:-1:-1;11139:9:1;;10986:168::o;11159:128::-;11199:3;11230:1;11226:6;11223:1;11220:13;11217:39;;;11236:18;;:::i;:::-;-1:-1:-1;11272:9:1;;11159:128::o;11292:413::-;11494:2;11476:21;;;11533:2;11513:18;;;11506:30;11572:34;11567:2;11552:18;;11545:62;-1:-1:-1;;;11638:2:1;11623:18;;11616:47;11695:3;11680:19;;11292:413::o;11710:356::-;11912:2;11894:21;;;11931:18;;;11924:30;11990:34;11985:2;11970:18;;11963:62;12057:2;12042:18;;11710:356::o;12896:127::-;12957:10;12952:3;12948:20;12945:1;12938:31;12988:4;12985:1;12978:15;13012:4;13009:1;13002:15;13028:135;13067:3;-1:-1:-1;;13088:17:1;;13085:43;;;13108:18;;:::i;:::-;-1:-1:-1;13155:1:1;13144:13;;13028:135::o;14313:125::-;14353:4;14381:1;14378;14375:8;14372:34;;;14386:18;;:::i;:::-;-1:-1:-1;14423:9:1;;14313:125::o;14859:808::-;15187:3;15225:6;15219:13;15241:53;15287:6;15282:3;15275:4;15267:6;15263:17;15241:53;:::i;:::-;15357:13;;15316:16;;;;15379:57;15357:13;15316:16;15413:4;15401:17;;15379:57;:::i;:::-;-1:-1:-1;;;15458:20:1;;15487:18;;;15530:13;;15552:65;15530:13;15604:1;15593:13;;15586:4;15574:17;;15552:65;:::i;:::-;15637:20;15659:1;15633:28;;14859:808;-1:-1:-1;;;;;14859:808:1:o;19496:127::-;19557:10;19552:3;19548:20;19545:1;19538:31;19588:4;19585:1;19578:15;19612:4;19609:1;19602:15;19628:112;19660:1;19686;19676:35;;19691:18;;:::i;:::-;-1:-1:-1;19725:9:1;;19628:112::o;21327:414::-;21529:2;21511:21;;;21568:2;21548:18;;;21541:30;21607:34;21602:2;21587:18;;21580:62;-1:-1:-1;;;21673:2:1;21658:18;;21651:48;21731:3;21716:19;;21327:414::o;21746:120::-;21786:1;21812;21802:35;;21817:18;;:::i;:::-;-1:-1:-1;21851:9:1;;21746:120::o;22278:489::-;-1:-1:-1;;;;;22547:15:1;;;22529:34;;22599:15;;22594:2;22579:18;;22572:43;22646:2;22631:18;;22624:34;;;22694:3;22689:2;22674:18;;22667:31;;;22472:4;;22715:46;;22741:19;;22733:6;22715:46;:::i;:::-;22707:54;22278:489;-1:-1:-1;;;;;;22278:489:1:o;22772:249::-;22841:6;22894:2;22882:9;22873:7;22869:23;22865:32;22862:52;;;22910:1;22907;22900:12;22862:52;22942:9;22936:16;22961:30;22985:5;22961:30;:::i;23376:127::-;23437:10;23432:3;23428:20;23425:1;23418:31;23468:4;23465:1;23458:15;23492:4;23489:1;23482:15

Swarm Source

ipfs://f89509d96a07fb7ce5cfd1c7f52d4fb9cc2ca79df26b5fd5023ab0aa9dec23fd

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.