ETH Price: $3,409.35 (+2.32%)

Token

PharaGods (PG)
 

Overview

Max Total Supply

2,003 PG

Holders

815

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

We are building the world’s first ancient museum in the Metaverse, and you’re part of the family! PharaGods is a project composed of 2000 NFTs hand crafted by Matt Millard in collaboration with David Masson.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PharaGods

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: GPL-3.0
// File: @openzeppelin/contracts/utils/Strings.sol

pragma solidity ^0.8.9;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity ^0.8.9;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.9;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity ^0.8.9;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

pragma solidity ^0.8.9;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.9;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.9;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol



pragma solidity ^0.8.9;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol



pragma solidity ^0.8.9;


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


pragma solidity >=0.8.9;
// to enable certain compiler features



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;
    
    //Mapping para atribuirle un URI para cada token
    mapping(uint256 => string) internal id_to_URI;

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

pragma solidity ^0.8.9;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}


pragma solidity ^0.8.9;

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

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

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


// Creator: Chiru Labs

pragma solidity ^0.8.9;

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)


contract PharaGods is ERC721A, Ownable {
    
    using Strings for uint256;
    
    //declares the maximum amount of tokens that can be minted, total and in presale
    uint256 private maxTotalTokens;
    
    //initial part of the URI for the metadata
    string private _currentBaseURI;
        
    //cost of mints depending on state of sale    
    uint private mintCostPresale = 1 ether;
    uint private mintCostPublicSale = 1 ether;
    
    //maximum amount of mints allowed per person
    uint256 public maxMintPresale = 100;
    uint256 public maxMintPublicSale = 100;

    //the amount of reserved mints that have currently been executed by creator and giveaways
    uint private _reservedMints;
    
    //the maximum amount of reserved mints allowed for creator and giveaways
    uint private maxReservedMints = 33;
    
    //dummy address that we use to sign the mint transaction to make sure it is valid
    address private dummy = 0x80E4929c869102140E69550BBECC20bEd61B080c;
    
    //marks the timestamp of when the respective sales open
    uint256 internal presaleLaunchTime;
    uint256 internal publicSaleLaunchTime;
    uint256 internal revealTime;

    //dictates if sale is paused or not
    bool private paused_;

    //amount of mints that each address has executed
    mapping(address => uint256) public mintsPerAddress;
    
    //current state os sale
    enum State {NoSale, Presale, PublicSale}

    //defines the uri for when the NFTs have not been yet revealed
    string public unrevealedURI;

    //stores the amount of nfts that have recieved there payout
    uint public amountOfTokensGotPayout;
    
    //declaring initial values for variables
    constructor() ERC721A('PharaGods', 'PG') {
        maxTotalTokens = 3333;

        //unrevealedURI = "ipfs://.../";
        _currentBaseURI = "ipfs://QmcanEc6XwfaAmASeJbfaWrZskg2nFEXYKvRAuhhn6u6AX/";

        //minting 2 legendaries for the opensea sale
        reservedMint(2, msg.sender);
        mintsPerAddress[msg.sender] += 2;
        _reservedMints += 2;


    }
    
    //in case somebody accidentaly sends funds or transaction to contract
    receive() payable external {}
    fallback() payable external {
        revert();
    }
    
    //visualize baseURI
    function _baseURI() internal view virtual override returns (string memory) {
        return _currentBaseURI;
    }
    
    //change baseURI in case needed for IPFS
    function changeBaseURI(string memory baseURI_) public onlyOwner {
        _currentBaseURI = baseURI_;
    }

    function changeUnrevealedURI(string memory unrevealedURI_) public onlyOwner {
        unrevealedURI = unrevealedURI_;
    }

    function switchToPresale() public onlyOwner {
        require(saleState() == State.NoSale, 'Sale is already Open!');
        presaleLaunchTime = block.timestamp;
    }

    function switchToPublicSale() public onlyOwner {
        require(saleState() == State.Presale, 'Sale must be in Presale!');
        publicSaleLaunchTime = block.timestamp;
    }
    
    modifier onlyValidAccess(uint8 _v, bytes32 _r, bytes32 _s) {
        require( isValidAccessMessage(msg.sender,_v,_r,_s), 'Invalid Signature' );
        _;
    }
 
    /* 
    * @dev Verifies if message was signed by owner to give access to _add for this contract.
    *      Assumes Geth signature prefix.
    * @param _add Address of agent with access
    * @param _v ECDSA signature parameter v.
    * @param _r ECDSA signature parameters r.
    * @param _s ECDSA signature parameters s.
    * @return Validity of access message for a given address.
    */
    function isValidAccessMessage(address _add, uint8 _v, bytes32 _r, bytes32 _s) view public returns (bool) {
        bytes32 hash = keccak256(abi.encodePacked(address(this), _add));
        return dummy == ecrecover(keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)), _v, _r, _s);
    }
    
    //mint a @param number of NFTs in presale
    function presaleMint(uint256 number, uint8 _v, bytes32 _r, bytes32 _s) onlyValidAccess(_v,  _r, _s) public payable {
        require(!paused_, "Sale is paused!");
        State saleState_ = saleState();
        require(saleState_ != State.NoSale, "Sale in not open yet!");
        require(saleState_ != State.PublicSale, "Presale has closed, Check out Public Sale!");
        require(totalSupply() + number <= maxTotalTokens - (maxReservedMints  - _reservedMints), "Not enough NFTs left to mint..");
        require(mintsPerAddress[msg.sender] + number <= maxMintPresale, "Maximum Mints per Address exceeded!");
        require(msg.value >= mintCost() * number, "Not sufficient Ether to mint this amount of NFTs");
        
        _safeMint(msg.sender, number);
        mintsPerAddress[msg.sender] += number;

    }

    //mint a @param number of NFTs in public sale
    function publicSaleMint(uint256 number) public payable {
        require(!paused_, "Sale is paused!");
        State saleState_ = saleState();
        require(saleState_ == State.PublicSale, "Public Sale in not open yet!");
        require(totalSupply() + number <= maxTotalTokens - (maxReservedMints - _reservedMints), "Not enough NFTs left to mint..");
        require(mintsPerAddress[msg.sender] + number <= maxMintPublicSale, "Maximum Mints per Address exceeded!");
        require(msg.value >= mintCost() * number, "Not sufficient Ether to mint this amount of NFTs");

        _safeMint(msg.sender, number);
        mintsPerAddress[msg.sender] += number;
    }
    
    function tokenURI(uint256 tokenId_) public view virtual override returns (string memory) {
        require(_exists(tokenId_), "ERC721Metadata: URI query for nonexistent token");
        
        //check to see that 24 hours have passed since beginning of publicsale launch
        if (revealTime == 0 && tokenId_ > 1) {
            return unrevealedURI;
        }
        
        else {
            string memory baseURI = _baseURI();
            return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId_.toString(), '.json')) : "";
        }    
    }
    
    //reserved NFTs for creator
    function reservedMint(uint number, address recipient) public onlyOwner {
        require(_reservedMints + number <= maxReservedMints, "Not enough Reserved NFTs left to mint..");

        _safeMint(recipient, number);
        mintsPerAddress[recipient] += number;
        _reservedMints += number; 
        
    }
    
    //burn the tokens that have not been sold yet
    function burnTokens() public onlyOwner {
        maxTotalTokens = totalSupply();
    }
    
    //se the current account balance
    function accountBalance() public onlyOwner view returns(uint) {
        return address(this).balance;
    }
    
    //retrieve all funds recieved from minting
    function withdraw() public onlyOwner {
        uint256 balance = accountBalance();
        require(balance > 0, 'No Funds to withdraw, Balance is 0');

        _withdraw(payable(0xd7DDfE7233D872d3600549b570b3631604aA5ffF), balance); 
    }
    
    //send the percentage of funds to a shareholder´s wallet
    function _withdraw(address payable account, uint256 amount) internal {
        (bool sent, ) = account.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }
    
    //change the dummy account used for signing transactions
    function changeDummy(address _dummy) public onlyOwner {
        dummy = _dummy;
    }
    
    //to see the total amount of reserved mints left 
    function reservedMintsLeft() public onlyOwner view returns(uint) {
        return maxReservedMints - _reservedMints;
    }
    
    //see current state of sale
    //see the current state of the sale
    function saleState() public view returns(State){
        if (presaleLaunchTime == 0) {
            return State.NoSale;
        }
        else if (publicSaleLaunchTime == 0) {
            return State.Presale;
        }
        else {
            return State.PublicSale;
        }
    }
    
    //gets the cost of current mint
    function mintCost() public view returns(uint) {
        State saleState_ = saleState();
        if (saleState_ == State.NoSale || saleState_ == State.Presale) {
            return mintCostPresale;
        }
        else {
            return mintCostPublicSale;
        }
    }

    function calculatePayout() public view returns(uint256) {
        return accountBalance() / totalSupply();
    }

    function royaltyPayout(uint number, uint256 payout) public onlyOwner {
        uint256 balance = accountBalance();
        require(balance > number * payout, "Insufficient Funds to pay out Royalties!");
        require(amountOfTokensGotPayout + number <= totalSupply());
        for (uint i; i < number; i++) {
            (bool success, ) = payable(ownerOf(amountOfTokensGotPayout + i)).call{value: payout}("");
            require(success, "Address: unable to send value, recipient may have reverted");
        }
        if (totalSupply() == amountOfTokensGotPayout + number) {
            amountOfTokensGotPayout = 0;
        }
        else {
            amountOfTokensGotPayout += number;
        }
        
    }

    //see when NFTs will be revealed
    function timeOfReveal() public view returns(uint256) {
        require(revealTime != 0, 'NFT Reveal Time has not been determined yet!');
        return revealTime;
    }

    function reveal() public onlyOwner {
        require(revealTime == 0, "Collection has already been revealed!");
        revealTime = block.timestamp;
    }

    function isPaused() public view returns(bool) {
        return paused_;
    }

    //turn the pause on and off
    function togglePause() public onlyOwner {
        paused_ = !paused_;
    }

    //setting new prices to mint

    function changeMintCostPresale(uint256 newCost) public onlyOwner {
        mintCostPresale = newCost;
    }
    
    function changeMintCostPublicSale(uint256 newCost) public onlyOwner {
        mintCostPublicSale = newCost;
    }

    //setting the maxes for mint

    function changeMaxMintPresale(uint newMax) public onlyOwner {
        maxMintPresale = newMax;
    }

    function changeMaxMintPublicSale(uint newMax) public onlyOwner {
        maxMintPublicSale = newMax;
    }

   
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"accountBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountOfTokensGotPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"calculatePayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dummy","type":"address"}],"name":"changeDummy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"changeMaxMintPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"changeMaxMintPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"changeMintCostPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"changeMintCostPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"unrevealedURI_","type":"string"}],"name":"changeUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_add","type":"address"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"isValidAccessMessage","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"reservedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedMintsLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"uint256","name":"payout","type":"uint256"}],"name":"royaltyPayout","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":[],"name":"saleState","outputs":[{"internalType":"enum PharaGods.State","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"switchToPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchToPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeOfReveal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052670de0b6b3a7640000600a819055600b556064600c819055600d556021600f55601080546001600160a01b0319167380e4929c869102140e69550bbecc20bed61b080c1790553480156200005757600080fd5b5060408051808201825260098152685068617261476f647360b81b602080830191825283518085019094526002845261504760f01b908401528151919291620000a3916001916200069a565b508051620000b99060029060208401906200069a565b505050620000d6620000d06200016360201b60201c565b62000167565b610d0560085560408051606081019091526036808252620038b1602083013980516200010b916009916020909101906200069a565b5062000119600233620001b9565b3360009081526015602052604081208054600292906200013b90849062000740565b925050819055506002600e600082825462000157919062000740565b90915550620008529050565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546001600160a01b03163314620002195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600f5482600e546200022c919062000740565b11156200028c5760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f6044820152661036b4b73a171760c91b606482015260840162000210565b620002988183620002e6565b6001600160a01b03811660009081526015602052604081208054849290620002c290849062000740565b9250508190555081600e6000828254620002dd919062000740565b90915550505050565b620003088282604051806020016040528060008152506200030c60201b60201c565b5050565b6200031b838383600162000320565b505050565b6000546001600160a01b038516620003855760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840162000210565b83620003e55760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b606482015260840162000210565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b858110156200051f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156200051257620004b960008884886200052a565b620005125760405162461bcd60e51b815260206004820152603360248201526000805160206200389183398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606482015260840162000210565b6001918201910162000462565b506000555050505050565b60006200054b846001600160a01b03166200069460201b62001f961760201c565b156200068857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200058590339089908890889060040162000767565b602060405180830381600087803b158015620005a057600080fd5b505af1925050508015620005d3575060408051601f3d908101601f19168201909252620005d091810190620007e2565b60015b6200066d573d80801562000604576040519150601f19603f3d011682016040523d82523d6000602084013e62000609565b606091505b508051620006655760405162461bcd60e51b815260206004820152603360248201526000805160206200389183398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606482015260840162000210565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200068c565b5060015b949350505050565b3b151590565b828054620006a89062000815565b90600052602060002090601f016020900481019282620006cc576000855562000717565b82601f10620006e757805160ff191683800117855562000717565b8280016001018555821562000717579182015b8281111562000717578251825591602001919060010190620006fa565b506200072592915062000729565b5090565b5b808211156200072557600081556001016200072a565b600082198211156200076257634e487b7160e01b600052601160045260246000fd5b500190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620007b65785810182015185820160a00152810162000798565b82811115620007c957600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600060208284031215620007f557600080fd5b81516001600160e01b0319811681146200080e57600080fd5b9392505050565b600181811c908216806200082a57607f821691505b602082108114156200084c57634e487b7160e01b600052602260045260246000fd5b50919050565b61302f80620008626000396000f3fe6080604052600436106102b25760003560e01c806382cdc73f11610175578063bdb4b848116100dc578063de57067811610095578063eab417821161006f578063eab417821461080a578063f2fde38b1461081f578063ff9849941461083f578063ffcd55a81461085457600080fd5b8063de57067814610781578063e4ecdd68146107a1578063e985e9c5146107c157600080fd5b8063bdb4b848146106e4578063c28bc5a9146106f9578063c4ae316814610719578063c4d8b9df1461072e578063c87b56dd1461074e578063dcd4e7321461076e57600080fd5b8063a4a6d57b1161012e578063a4a6d57b1461064e578063b0a1c1c41461066e578063b187bd2614610683578063b3ab66b01461069b578063b3ee44c6146106ae578063b88d4fde146106c457600080fd5b806382cdc73f146105b157806383c64ec4146105d15780638da5cb5b146105e657806395d89b4114610604578063a22cb46514610619578063a475b5dd1461063957600080fd5b80633262411411610219578063603f4d52116101d2578063603f4d52146105105780636352211e146105325780637035bf181461055257806370a0823114610567578063715018a6146105875780637c76f6981461059c57600080fd5b8063326241141461046657806339a0c6f9146104865780633ccfd60b146104a657806342842e0e146104bb5780634520e916146104db5780634f6ccce7146104f057600080fd5b806318160ddd1161026b57806318160ddd146103a457806318df6403146103c357806319734c8b146103e357806323b872dd146103f95780632f745c59146104195780633023eba61461043957600080fd5b80630191a657146102be57806301ffc9a7146102e057806306fdde031461031557806308003f7814610337578063081812fc1461034c578063095ea7b31461038457600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d9366004612943565b61086a565b005b3480156102ec57600080fd5b506103006102fb366004612974565b6108bf565b60405190151581526020015b60405180910390f35b34801561032157600080fd5b5061032a61092c565b60405161030c91906129e9565b34801561034357600080fd5b506102de6109be565b34801561035857600080fd5b5061036c6103673660046129fc565b6109f0565b6040516001600160a01b03909116815260200161030c565b34801561039057600080fd5b506102de61039f366004612a15565b610a7b565b3480156103b057600080fd5b506000545b60405190815260200161030c565b3480156103cf57600080fd5b506102de6103de366004612a3f565b610b93565b3480156103ef57600080fd5b506103b5600d5481565b34801561040557600080fd5b506102de610414366004612a6b565b610c80565b34801561042557600080fd5b506103b5610434366004612a15565b610c8b565b34801561044557600080fd5b506103b5610454366004612943565b60156020526000908152604090205481565b34801561047257600080fd5b50610300610481366004612ab8565b610de8565b34801561049257600080fd5b506102de6104a1366004612b86565b610ef4565b3480156104b257600080fd5b506102de610f35565b3480156104c757600080fd5b506102de6104d6366004612a6b565b610fe7565b3480156104e757600080fd5b506103b5611002565b3480156104fc57600080fd5b506103b561050b3660046129fc565b611044565b34801561051c57600080fd5b506105256110a6565b60405161030c9190612be5565b34801561053e57600080fd5b5061036c61054d3660046129fc565b6110cc565b34801561055e57600080fd5b5061032a6110de565b34801561057357600080fd5b506103b5610582366004612943565b61116c565b34801561059357600080fd5b506102de6111fd565b3480156105a857600080fd5b506103b5611233565b3480156105bd57600080fd5b506102de6105cc366004612c0d565b6112a4565b3480156105dd57600080fd5b506103b5611494565b3480156105f257600080fd5b506007546001600160a01b031661036c565b34801561061057600080fd5b5061032a6114aa565b34801561062557600080fd5b506102de610634366004612c2f565b6114b9565b34801561064557600080fd5b506102de61157e565b34801561065a57600080fd5b506102de6106693660046129fc565b61160c565b34801561067a57600080fd5b506103b561163b565b34801561068f57600080fd5b5060145460ff16610300565b6102de6106a93660046129fc565b61166d565b3480156106ba57600080fd5b506103b560175481565b3480156106d057600080fd5b506102de6106df366004612c6b565b611835565b3480156106f057600080fd5b506103b561186e565b34801561070557600080fd5b506102de6107143660046129fc565b6118c1565b34801561072557600080fd5b506102de6118f0565b34801561073a57600080fd5b506102de610749366004612b86565b61192e565b34801561075a57600080fd5b5061032a6107693660046129fc565b61196b565b6102de61077c366004612ce7565b611ae4565b34801561078d57600080fd5b506102de61079c3660046129fc565b611d78565b3480156107ad57600080fd5b506102de6107bc3660046129fc565b611da7565b3480156107cd57600080fd5b506103006107dc366004612d0d565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081657600080fd5b506102de611dd6565b34801561082b57600080fd5b506102de61083a366004612943565b611e66565b34801561084b57600080fd5b506102de611efe565b34801561086057600080fd5b506103b5600c5481565b6007546001600160a01b0316331461089d5760405162461bcd60e51b815260040161089490612d37565b60405180910390fd5b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b14806108f057506001600160e01b03198216635b5e139f60e01b145b8061090b57506001600160e01b0319821663780e9d6360e01b145b8061092657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461093b90612d6c565b80601f016020809104026020016040519081016040528092919081815260200182805461096790612d6c565b80156109b45780601f10610989576101008083540402835291602001916109b4565b820191906000526020600020905b81548152906001019060200180831161099757829003601f168201915b5050505050905090565b6007546001600160a01b031633146109e85760405162461bcd60e51b815260040161089490612d37565b600054600855565b60006109fd826000541190565b610a5f5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610894565b506000908152600560205260409020546001600160a01b031690565b6000610a86826110cc565b9050806001600160a01b0316836001600160a01b03161415610af55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610894565b336001600160a01b0382161480610b115750610b1181336107dc565b610b835760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610894565b610b8e838383611f9c565b505050565b6007546001600160a01b03163314610bbd5760405162461bcd60e51b815260040161089490612d37565b600f5482600e54610bce9190612dbd565b1115610c2c5760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f6044820152661036b4b73a171760c91b6064820152608401610894565b610c368183611ff8565b6001600160a01b03811660009081526015602052604081208054849290610c5e908490612dbd565b9250508190555081600e6000828254610c779190612dbd565b90915550505050565b610b8e838383612012565b6000610c968361116c565b8210610cef5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610894565b600080549080805b83811015610d88576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d4a57805192505b876001600160a01b0316836001600160a01b03161415610d7f5786841415610d785750935061092692505050565b6001909301925b50600101610cf7565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610894565b6040516bffffffffffffffffffffffff1930606090811b8216602084015286901b1660348201526000908190604801604051602081830303815290604052805190602001209050600181604051602001610e6e91907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60408051601f198184030181528282528051602091820120600084529083018083525260ff881690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015610ecc573d6000803e3d6000fd5b5050604051601f1901516010546001600160a01b03908116911614925050505b949350505050565b6007546001600160a01b03163314610f1e5760405162461bcd60e51b815260040161089490612d37565b8051610f3190600990602084019061289c565b5050565b6007546001600160a01b03163314610f5f5760405162461bcd60e51b815260040161089490612d37565b6000610f6961163b565b905060008111610fc65760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610894565b610fe473d7ddfe7233d872d3600549b570b3631604aa5fff826122f7565b50565b610b8e83838360405180602001604052806000815250611835565b6007546000906001600160a01b0316331461102f5760405162461bcd60e51b815260040161089490612d37565b600e54600f5461103f9190612dd5565b905090565b6000805482106110a25760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610894565b5090565b6000601154600014156110b95750600090565b6012546110c65750600190565b50600290565b60006110d782612391565b5192915050565b601680546110eb90612d6c565b80601f016020809104026020016040519081016040528092919081815260200182805461111790612d6c565b80156111645780601f1061113957610100808354040283529160200191611164565b820191906000526020600020905b81548152906001019060200180831161114757829003601f168201915b505050505081565b60006001600160a01b0382166111d85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610894565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b031633146112275760405162461bcd60e51b815260040161089490612d37565b6112316000612468565b565b60006013546000141561129d5760405162461bcd60e51b815260206004820152602c60248201527f4e46542052657665616c2054696d6520686173206e6f74206265656e2064657460448201526b65726d696e6564207965742160a01b6064820152608401610894565b5060135490565b6007546001600160a01b031633146112ce5760405162461bcd60e51b815260040161089490612d37565b60006112d861163b565b90506112e48284612dec565b81116113435760405162461bcd60e51b815260206004820152602860248201527f496e73756666696369656e742046756e647320746f20706179206f757420526f60448201526779616c746965732160c01b6064820152608401610894565b600054836017546113549190612dbd565b111561135f57600080fd5b60005b8381101561145657600061137d8260175461054d9190612dbd565b6001600160a01b03168460405160006040518083038185875af1925050503d80600081146113c7576040519150601f19603f3d011682016040523d82523d6000602084013e6113cc565b606091505b50509050806114435760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610894565b508061144e81612e0b565b915050611362565b50826017546114659190612dbd565b6000541415611478576000601755505050565b826017600082825461148a9190612dbd565b9091555050505050565b600080546114a061163b565b61103f9190612e3c565b60606002805461093b90612d6c565b6001600160a01b0382163314156115125760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610894565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146115a85760405162461bcd60e51b815260040161089490612d37565b601354156116065760405162461bcd60e51b815260206004820152602560248201527f436f6c6c656374696f6e2068617320616c7265616479206265656e2072657665604482015264616c65642160d81b6064820152608401610894565b42601355565b6007546001600160a01b031633146116365760405162461bcd60e51b815260040161089490612d37565b600c55565b6007546000906001600160a01b031633146116685760405162461bcd60e51b815260040161089490612d37565b504790565b60145460ff16156116b25760405162461bcd60e51b815260206004820152600f60248201526e53616c65206973207061757365642160881b6044820152606401610894565b60006116bc6110a6565b905060028160028111156116d2576116d2612bcf565b1461171f5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632053616c6520696e206e6f74206f70656e2079657421000000006044820152606401610894565b600e54600f5461172f9190612dd5565b60085461173c9190612dd5565b8261174660005490565b6117509190612dbd565b111561179e5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e00006044820152606401610894565b600d54336000908152601560205260409020546117bc908490612dbd565b11156117da5760405162461bcd60e51b815260040161089490612e50565b816117e361186e565b6117ed9190612dec565b34101561180c5760405162461bcd60e51b815260040161089490612e93565b6118163383611ff8565b3360009081526015602052604081208054849290610c77908490612dbd565b611840848484612012565b61184c848484846124ba565b6118685760405162461bcd60e51b815260040161089490612ee3565b50505050565b6000806118796110a6565b9050600081600281111561188f5761188f612bcf565b14806118ac575060018160028111156118aa576118aa612bcf565b145b156118b9575050600a5490565b5050600b5490565b6007546001600160a01b031633146118eb5760405162461bcd60e51b815260040161089490612d37565b600b55565b6007546001600160a01b0316331461191a5760405162461bcd60e51b815260040161089490612d37565b6014805460ff19811660ff90911615179055565b6007546001600160a01b031633146119585760405162461bcd60e51b815260040161089490612d37565b8051610f3190601690602084019061289c565b6060611978826000541190565b6119dc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610894565b6013541580156119ec5750600182115b15611a8357601680546119fe90612d6c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2a90612d6c565b8015611a775780601f10611a4c57610100808354040283529160200191611a77565b820191906000526020600020905b815481529060010190602001808311611a5a57829003601f168201915b50505050509050919050565b6000611a8d6125c4565b90506000815111611aad5760405180602001604052806000815250611ad8565b80611ab7846125d3565b604051602001611ac8929190612f36565b6040516020818303038152906040525b9392505050565b919050565b828282611af333848484610de8565b611b335760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205369676e617475726560781b6044820152606401610894565b60145460ff1615611b785760405162461bcd60e51b815260206004820152600f60248201526e53616c65206973207061757365642160881b6044820152606401610894565b6000611b826110a6565b90506000816002811115611b9857611b98612bcf565b1415611bde5760405162461bcd60e51b815260206004820152601560248201527453616c6520696e206e6f74206f70656e207965742160581b6044820152606401610894565b6002816002811115611bf257611bf2612bcf565b1415611c535760405162461bcd60e51b815260206004820152602a60248201527f50726573616c652068617320636c6f7365642c20436865636b206f7574205075604482015269626c69632053616c652160b01b6064820152608401610894565b600e54600f54611c639190612dd5565b600854611c709190612dd5565b88611c7a60005490565b611c849190612dbd565b1115611cd25760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e00006044820152606401610894565b600c5433600090815260156020526040902054611cf0908a90612dbd565b1115611d0e5760405162461bcd60e51b815260040161089490612e50565b87611d1761186e565b611d219190612dec565b341015611d405760405162461bcd60e51b815260040161089490612e93565b611d4a3389611ff8565b33600090815260156020526040812080548a9290611d69908490612dbd565b90915550505050505050505050565b6007546001600160a01b03163314611da25760405162461bcd60e51b815260040161089490612d37565b600a55565b6007546001600160a01b03163314611dd15760405162461bcd60e51b815260040161089490612d37565b600d55565b6007546001600160a01b03163314611e005760405162461bcd60e51b815260040161089490612d37565b6000611e0a6110a6565b6002811115611e1b57611e1b612bcf565b14611e605760405162461bcd60e51b815260206004820152601560248201527453616c6520697320616c7265616479204f70656e2160581b6044820152606401610894565b42601155565b6007546001600160a01b03163314611e905760405162461bcd60e51b815260040161089490612d37565b6001600160a01b038116611ef55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610894565b610fe481612468565b6007546001600160a01b03163314611f285760405162461bcd60e51b815260040161089490612d37565b6001611f326110a6565b6002811115611f4357611f43612bcf565b14611f905760405162461bcd60e51b815260206004820152601860248201527f53616c65206d75737420626520696e2050726573616c652100000000000000006044820152606401610894565b42601255565b3b151590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610f318282604051806020016040528060008152506126d1565b600061201d82612391565b80519091506000906001600160a01b0316336001600160a01b03161480612054575033612049846109f0565b6001600160a01b0316145b806120665750815161206690336107dc565b9050806120d05760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610894565b846001600160a01b031682600001516001600160a01b0316146121445760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610894565b6001600160a01b0384166121a85760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610894565b6121b86000848460000151611f9c565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166122ad57612260816000541190565b156122ad578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612344576040519150601f19603f3d011682016040523d82523d6000602084013e612349565b606091505b5050905080610b8e5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610894565b60408051808201909152600080825260208201526123b0826000541190565b61240f5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610894565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561245e579392505050565b5060001901612411565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b156125bc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124fe903390899088908890600401612f75565b602060405180830381600087803b15801561251857600080fd5b505af1925050508015612548575060408051601f3d908101601f1916820190925261254591810190612fb2565b60015b6125a2573d808015612576576040519150601f19603f3d011682016040523d82523d6000602084013e61257b565b606091505b50805161259a5760405162461bcd60e51b815260040161089490612ee3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610eec565b506001610eec565b60606009805461093b90612d6c565b6060816125f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612621578061260b81612e0b565b915061261a9050600a83612e3c565b91506125fb565b60008167ffffffffffffffff81111561263c5761263c612afa565b6040519080825280601f01601f191660200182016040528015612666576020820181803683370190505b5090505b8415610eec5761267b600183612dd5565b9150612688600a86612fcf565b612693906030612dbd565b60f81b8183815181106126a8576126a8612fe3565b60200101906001600160f81b031916908160001a9053506126ca600a86612e3c565b945061266a565b610b8e83838360016000546001600160a01b03851661273c5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610894565b8361279a5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610894565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b858110156128935760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156128875761286b60008884886124ba565b6128875760405162461bcd60e51b815260040161089490612ee3565b60019182019101612818565b506000556122f0565b8280546128a890612d6c565b90600052602060002090601f0160209004810192826128ca5760008555612910565b82601f106128e357805160ff1916838001178555612910565b82800160010185558215612910579182015b828111156129105782518255916020019190600101906128f5565b506110a29291505b808211156110a25760008155600101612918565b80356001600160a01b0381168114611adf57600080fd5b60006020828403121561295557600080fd5b611ad88261292c565b6001600160e01b031981168114610fe457600080fd5b60006020828403121561298657600080fd5b8135611ad88161295e565b60005b838110156129ac578181015183820152602001612994565b838111156118685750506000910152565b600081518084526129d5816020860160208601612991565b601f01601f19169290920160200192915050565b602081526000611ad860208301846129bd565b600060208284031215612a0e57600080fd5b5035919050565b60008060408385031215612a2857600080fd5b612a318361292c565b946020939093013593505050565b60008060408385031215612a5257600080fd5b82359150612a626020840161292c565b90509250929050565b600080600060608486031215612a8057600080fd5b612a898461292c565b9250612a976020850161292c565b9150604084013590509250925092565b803560ff81168114611adf57600080fd5b60008060008060808587031215612ace57600080fd5b612ad78561292c565b9350612ae560208601612aa7565b93969395505050506040820135916060013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612b2b57612b2b612afa565b604051601f8501601f19908116603f01168101908282118183101715612b5357612b53612afa565b81604052809350858152868686011115612b6c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612b9857600080fd5b813567ffffffffffffffff811115612baf57600080fd5b8201601f81018413612bc057600080fd5b610eec84823560208401612b10565b634e487b7160e01b600052602160045260246000fd5b6020810160038310612c0757634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215612c2057600080fd5b50508035926020909101359150565b60008060408385031215612c4257600080fd5b612c4b8361292c565b915060208301358015158114612c6057600080fd5b809150509250929050565b60008060008060808587031215612c8157600080fd5b612c8a8561292c565b9350612c986020860161292c565b925060408501359150606085013567ffffffffffffffff811115612cbb57600080fd5b8501601f81018713612ccc57600080fd5b612cdb87823560208401612b10565b91505092959194509250565b60008060008060808587031215612cfd57600080fd5b84359350612ae560208601612aa7565b60008060408385031215612d2057600080fd5b612d298361292c565b9150612a626020840161292c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612d8057607f821691505b60208210811415612da157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612dd057612dd0612da7565b500190565b600082821015612de757612de7612da7565b500390565b6000816000190483118215151615612e0657612e06612da7565b500290565b6000600019821415612e1f57612e1f612da7565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612e4b57612e4b612e26565b500490565b60208082526023908201527f4d6178696d756d204d696e74732070657220416464726573732065786365656460408201526265642160e81b606082015260800190565b60208082526030908201527f4e6f742073756666696369656e7420457468657220746f206d696e742074686960408201526f7320616d6f756e74206f66204e46547360801b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612f48818460208801612991565b835190830190612f5c818360208801612991565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612fa8908301846129bd565b9695505050505050565b600060208284031215612fc457600080fd5b8151611ad88161295e565b600082612fde57612fde612e26565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212209674017f651099e2fda980d632510b6e8dc948d49de71c36062e02f2427d8a8564736f6c63430008090033455243373231413a207472616e7366657220746f206e6f6e2045524337323152697066733a2f2f516d63616e45633658776661416d4153654a62666157725a736b67326e464558594b7652417568686e36753641582f

Deployed Bytecode

0x6080604052600436106102b25760003560e01c806382cdc73f11610175578063bdb4b848116100dc578063de57067811610095578063eab417821161006f578063eab417821461080a578063f2fde38b1461081f578063ff9849941461083f578063ffcd55a81461085457600080fd5b8063de57067814610781578063e4ecdd68146107a1578063e985e9c5146107c157600080fd5b8063bdb4b848146106e4578063c28bc5a9146106f9578063c4ae316814610719578063c4d8b9df1461072e578063c87b56dd1461074e578063dcd4e7321461076e57600080fd5b8063a4a6d57b1161012e578063a4a6d57b1461064e578063b0a1c1c41461066e578063b187bd2614610683578063b3ab66b01461069b578063b3ee44c6146106ae578063b88d4fde146106c457600080fd5b806382cdc73f146105b157806383c64ec4146105d15780638da5cb5b146105e657806395d89b4114610604578063a22cb46514610619578063a475b5dd1461063957600080fd5b80633262411411610219578063603f4d52116101d2578063603f4d52146105105780636352211e146105325780637035bf181461055257806370a0823114610567578063715018a6146105875780637c76f6981461059c57600080fd5b8063326241141461046657806339a0c6f9146104865780633ccfd60b146104a657806342842e0e146104bb5780634520e916146104db5780634f6ccce7146104f057600080fd5b806318160ddd1161026b57806318160ddd146103a457806318df6403146103c357806319734c8b146103e357806323b872dd146103f95780632f745c59146104195780633023eba61461043957600080fd5b80630191a657146102be57806301ffc9a7146102e057806306fdde031461031557806308003f7814610337578063081812fc1461034c578063095ea7b31461038457600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d9366004612943565b61086a565b005b3480156102ec57600080fd5b506103006102fb366004612974565b6108bf565b60405190151581526020015b60405180910390f35b34801561032157600080fd5b5061032a61092c565b60405161030c91906129e9565b34801561034357600080fd5b506102de6109be565b34801561035857600080fd5b5061036c6103673660046129fc565b6109f0565b6040516001600160a01b03909116815260200161030c565b34801561039057600080fd5b506102de61039f366004612a15565b610a7b565b3480156103b057600080fd5b506000545b60405190815260200161030c565b3480156103cf57600080fd5b506102de6103de366004612a3f565b610b93565b3480156103ef57600080fd5b506103b5600d5481565b34801561040557600080fd5b506102de610414366004612a6b565b610c80565b34801561042557600080fd5b506103b5610434366004612a15565b610c8b565b34801561044557600080fd5b506103b5610454366004612943565b60156020526000908152604090205481565b34801561047257600080fd5b50610300610481366004612ab8565b610de8565b34801561049257600080fd5b506102de6104a1366004612b86565b610ef4565b3480156104b257600080fd5b506102de610f35565b3480156104c757600080fd5b506102de6104d6366004612a6b565b610fe7565b3480156104e757600080fd5b506103b5611002565b3480156104fc57600080fd5b506103b561050b3660046129fc565b611044565b34801561051c57600080fd5b506105256110a6565b60405161030c9190612be5565b34801561053e57600080fd5b5061036c61054d3660046129fc565b6110cc565b34801561055e57600080fd5b5061032a6110de565b34801561057357600080fd5b506103b5610582366004612943565b61116c565b34801561059357600080fd5b506102de6111fd565b3480156105a857600080fd5b506103b5611233565b3480156105bd57600080fd5b506102de6105cc366004612c0d565b6112a4565b3480156105dd57600080fd5b506103b5611494565b3480156105f257600080fd5b506007546001600160a01b031661036c565b34801561061057600080fd5b5061032a6114aa565b34801561062557600080fd5b506102de610634366004612c2f565b6114b9565b34801561064557600080fd5b506102de61157e565b34801561065a57600080fd5b506102de6106693660046129fc565b61160c565b34801561067a57600080fd5b506103b561163b565b34801561068f57600080fd5b5060145460ff16610300565b6102de6106a93660046129fc565b61166d565b3480156106ba57600080fd5b506103b560175481565b3480156106d057600080fd5b506102de6106df366004612c6b565b611835565b3480156106f057600080fd5b506103b561186e565b34801561070557600080fd5b506102de6107143660046129fc565b6118c1565b34801561072557600080fd5b506102de6118f0565b34801561073a57600080fd5b506102de610749366004612b86565b61192e565b34801561075a57600080fd5b5061032a6107693660046129fc565b61196b565b6102de61077c366004612ce7565b611ae4565b34801561078d57600080fd5b506102de61079c3660046129fc565b611d78565b3480156107ad57600080fd5b506102de6107bc3660046129fc565b611da7565b3480156107cd57600080fd5b506103006107dc366004612d0d565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081657600080fd5b506102de611dd6565b34801561082b57600080fd5b506102de61083a366004612943565b611e66565b34801561084b57600080fd5b506102de611efe565b34801561086057600080fd5b506103b5600c5481565b6007546001600160a01b0316331461089d5760405162461bcd60e51b815260040161089490612d37565b60405180910390fd5b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b14806108f057506001600160e01b03198216635b5e139f60e01b145b8061090b57506001600160e01b0319821663780e9d6360e01b145b8061092657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461093b90612d6c565b80601f016020809104026020016040519081016040528092919081815260200182805461096790612d6c565b80156109b45780601f10610989576101008083540402835291602001916109b4565b820191906000526020600020905b81548152906001019060200180831161099757829003601f168201915b5050505050905090565b6007546001600160a01b031633146109e85760405162461bcd60e51b815260040161089490612d37565b600054600855565b60006109fd826000541190565b610a5f5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610894565b506000908152600560205260409020546001600160a01b031690565b6000610a86826110cc565b9050806001600160a01b0316836001600160a01b03161415610af55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610894565b336001600160a01b0382161480610b115750610b1181336107dc565b610b835760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610894565b610b8e838383611f9c565b505050565b6007546001600160a01b03163314610bbd5760405162461bcd60e51b815260040161089490612d37565b600f5482600e54610bce9190612dbd565b1115610c2c5760405162461bcd60e51b815260206004820152602760248201527f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f6044820152661036b4b73a171760c91b6064820152608401610894565b610c368183611ff8565b6001600160a01b03811660009081526015602052604081208054849290610c5e908490612dbd565b9250508190555081600e6000828254610c779190612dbd565b90915550505050565b610b8e838383612012565b6000610c968361116c565b8210610cef5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610894565b600080549080805b83811015610d88576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d4a57805192505b876001600160a01b0316836001600160a01b03161415610d7f5786841415610d785750935061092692505050565b6001909301925b50600101610cf7565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610894565b6040516bffffffffffffffffffffffff1930606090811b8216602084015286901b1660348201526000908190604801604051602081830303815290604052805190602001209050600181604051602001610e6e91907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60408051601f198184030181528282528051602091820120600084529083018083525260ff881690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015610ecc573d6000803e3d6000fd5b5050604051601f1901516010546001600160a01b03908116911614925050505b949350505050565b6007546001600160a01b03163314610f1e5760405162461bcd60e51b815260040161089490612d37565b8051610f3190600990602084019061289c565b5050565b6007546001600160a01b03163314610f5f5760405162461bcd60e51b815260040161089490612d37565b6000610f6961163b565b905060008111610fc65760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610894565b610fe473d7ddfe7233d872d3600549b570b3631604aa5fff826122f7565b50565b610b8e83838360405180602001604052806000815250611835565b6007546000906001600160a01b0316331461102f5760405162461bcd60e51b815260040161089490612d37565b600e54600f5461103f9190612dd5565b905090565b6000805482106110a25760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610894565b5090565b6000601154600014156110b95750600090565b6012546110c65750600190565b50600290565b60006110d782612391565b5192915050565b601680546110eb90612d6c565b80601f016020809104026020016040519081016040528092919081815260200182805461111790612d6c565b80156111645780601f1061113957610100808354040283529160200191611164565b820191906000526020600020905b81548152906001019060200180831161114757829003601f168201915b505050505081565b60006001600160a01b0382166111d85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610894565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b031633146112275760405162461bcd60e51b815260040161089490612d37565b6112316000612468565b565b60006013546000141561129d5760405162461bcd60e51b815260206004820152602c60248201527f4e46542052657665616c2054696d6520686173206e6f74206265656e2064657460448201526b65726d696e6564207965742160a01b6064820152608401610894565b5060135490565b6007546001600160a01b031633146112ce5760405162461bcd60e51b815260040161089490612d37565b60006112d861163b565b90506112e48284612dec565b81116113435760405162461bcd60e51b815260206004820152602860248201527f496e73756666696369656e742046756e647320746f20706179206f757420526f60448201526779616c746965732160c01b6064820152608401610894565b600054836017546113549190612dbd565b111561135f57600080fd5b60005b8381101561145657600061137d8260175461054d9190612dbd565b6001600160a01b03168460405160006040518083038185875af1925050503d80600081146113c7576040519150601f19603f3d011682016040523d82523d6000602084013e6113cc565b606091505b50509050806114435760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610894565b508061144e81612e0b565b915050611362565b50826017546114659190612dbd565b6000541415611478576000601755505050565b826017600082825461148a9190612dbd565b9091555050505050565b600080546114a061163b565b61103f9190612e3c565b60606002805461093b90612d6c565b6001600160a01b0382163314156115125760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610894565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146115a85760405162461bcd60e51b815260040161089490612d37565b601354156116065760405162461bcd60e51b815260206004820152602560248201527f436f6c6c656374696f6e2068617320616c7265616479206265656e2072657665604482015264616c65642160d81b6064820152608401610894565b42601355565b6007546001600160a01b031633146116365760405162461bcd60e51b815260040161089490612d37565b600c55565b6007546000906001600160a01b031633146116685760405162461bcd60e51b815260040161089490612d37565b504790565b60145460ff16156116b25760405162461bcd60e51b815260206004820152600f60248201526e53616c65206973207061757365642160881b6044820152606401610894565b60006116bc6110a6565b905060028160028111156116d2576116d2612bcf565b1461171f5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632053616c6520696e206e6f74206f70656e2079657421000000006044820152606401610894565b600e54600f5461172f9190612dd5565b60085461173c9190612dd5565b8261174660005490565b6117509190612dbd565b111561179e5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e00006044820152606401610894565b600d54336000908152601560205260409020546117bc908490612dbd565b11156117da5760405162461bcd60e51b815260040161089490612e50565b816117e361186e565b6117ed9190612dec565b34101561180c5760405162461bcd60e51b815260040161089490612e93565b6118163383611ff8565b3360009081526015602052604081208054849290610c77908490612dbd565b611840848484612012565b61184c848484846124ba565b6118685760405162461bcd60e51b815260040161089490612ee3565b50505050565b6000806118796110a6565b9050600081600281111561188f5761188f612bcf565b14806118ac575060018160028111156118aa576118aa612bcf565b145b156118b9575050600a5490565b5050600b5490565b6007546001600160a01b031633146118eb5760405162461bcd60e51b815260040161089490612d37565b600b55565b6007546001600160a01b0316331461191a5760405162461bcd60e51b815260040161089490612d37565b6014805460ff19811660ff90911615179055565b6007546001600160a01b031633146119585760405162461bcd60e51b815260040161089490612d37565b8051610f3190601690602084019061289c565b6060611978826000541190565b6119dc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610894565b6013541580156119ec5750600182115b15611a8357601680546119fe90612d6c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2a90612d6c565b8015611a775780601f10611a4c57610100808354040283529160200191611a77565b820191906000526020600020905b815481529060010190602001808311611a5a57829003601f168201915b50505050509050919050565b6000611a8d6125c4565b90506000815111611aad5760405180602001604052806000815250611ad8565b80611ab7846125d3565b604051602001611ac8929190612f36565b6040516020818303038152906040525b9392505050565b919050565b828282611af333848484610de8565b611b335760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205369676e617475726560781b6044820152606401610894565b60145460ff1615611b785760405162461bcd60e51b815260206004820152600f60248201526e53616c65206973207061757365642160881b6044820152606401610894565b6000611b826110a6565b90506000816002811115611b9857611b98612bcf565b1415611bde5760405162461bcd60e51b815260206004820152601560248201527453616c6520696e206e6f74206f70656e207965742160581b6044820152606401610894565b6002816002811115611bf257611bf2612bcf565b1415611c535760405162461bcd60e51b815260206004820152602a60248201527f50726573616c652068617320636c6f7365642c20436865636b206f7574205075604482015269626c69632053616c652160b01b6064820152608401610894565b600e54600f54611c639190612dd5565b600854611c709190612dd5565b88611c7a60005490565b611c849190612dbd565b1115611cd25760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e00006044820152606401610894565b600c5433600090815260156020526040902054611cf0908a90612dbd565b1115611d0e5760405162461bcd60e51b815260040161089490612e50565b87611d1761186e565b611d219190612dec565b341015611d405760405162461bcd60e51b815260040161089490612e93565b611d4a3389611ff8565b33600090815260156020526040812080548a9290611d69908490612dbd565b90915550505050505050505050565b6007546001600160a01b03163314611da25760405162461bcd60e51b815260040161089490612d37565b600a55565b6007546001600160a01b03163314611dd15760405162461bcd60e51b815260040161089490612d37565b600d55565b6007546001600160a01b03163314611e005760405162461bcd60e51b815260040161089490612d37565b6000611e0a6110a6565b6002811115611e1b57611e1b612bcf565b14611e605760405162461bcd60e51b815260206004820152601560248201527453616c6520697320616c7265616479204f70656e2160581b6044820152606401610894565b42601155565b6007546001600160a01b03163314611e905760405162461bcd60e51b815260040161089490612d37565b6001600160a01b038116611ef55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610894565b610fe481612468565b6007546001600160a01b03163314611f285760405162461bcd60e51b815260040161089490612d37565b6001611f326110a6565b6002811115611f4357611f43612bcf565b14611f905760405162461bcd60e51b815260206004820152601860248201527f53616c65206d75737420626520696e2050726573616c652100000000000000006044820152606401610894565b42601255565b3b151590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610f318282604051806020016040528060008152506126d1565b600061201d82612391565b80519091506000906001600160a01b0316336001600160a01b03161480612054575033612049846109f0565b6001600160a01b0316145b806120665750815161206690336107dc565b9050806120d05760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610894565b846001600160a01b031682600001516001600160a01b0316146121445760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610894565b6001600160a01b0384166121a85760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610894565b6121b86000848460000151611f9c565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166122ad57612260816000541190565b156122ad578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612344576040519150601f19603f3d011682016040523d82523d6000602084013e612349565b606091505b5050905080610b8e5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610894565b60408051808201909152600080825260208201526123b0826000541190565b61240f5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610894565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561245e579392505050565b5060001901612411565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b156125bc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124fe903390899088908890600401612f75565b602060405180830381600087803b15801561251857600080fd5b505af1925050508015612548575060408051601f3d908101601f1916820190925261254591810190612fb2565b60015b6125a2573d808015612576576040519150601f19603f3d011682016040523d82523d6000602084013e61257b565b606091505b50805161259a5760405162461bcd60e51b815260040161089490612ee3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610eec565b506001610eec565b60606009805461093b90612d6c565b6060816125f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612621578061260b81612e0b565b915061261a9050600a83612e3c565b91506125fb565b60008167ffffffffffffffff81111561263c5761263c612afa565b6040519080825280601f01601f191660200182016040528015612666576020820181803683370190505b5090505b8415610eec5761267b600183612dd5565b9150612688600a86612fcf565b612693906030612dbd565b60f81b8183815181106126a8576126a8612fe3565b60200101906001600160f81b031916908160001a9053506126ca600a86612e3c565b945061266a565b610b8e83838360016000546001600160a01b03851661273c5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610894565b8361279a5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610894565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b858110156128935760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156128875761286b60008884886124ba565b6128875760405162461bcd60e51b815260040161089490612ee3565b60019182019101612818565b506000556122f0565b8280546128a890612d6c565b90600052602060002090601f0160209004810192826128ca5760008555612910565b82601f106128e357805160ff1916838001178555612910565b82800160010185558215612910579182015b828111156129105782518255916020019190600101906128f5565b506110a29291505b808211156110a25760008155600101612918565b80356001600160a01b0381168114611adf57600080fd5b60006020828403121561295557600080fd5b611ad88261292c565b6001600160e01b031981168114610fe457600080fd5b60006020828403121561298657600080fd5b8135611ad88161295e565b60005b838110156129ac578181015183820152602001612994565b838111156118685750506000910152565b600081518084526129d5816020860160208601612991565b601f01601f19169290920160200192915050565b602081526000611ad860208301846129bd565b600060208284031215612a0e57600080fd5b5035919050565b60008060408385031215612a2857600080fd5b612a318361292c565b946020939093013593505050565b60008060408385031215612a5257600080fd5b82359150612a626020840161292c565b90509250929050565b600080600060608486031215612a8057600080fd5b612a898461292c565b9250612a976020850161292c565b9150604084013590509250925092565b803560ff81168114611adf57600080fd5b60008060008060808587031215612ace57600080fd5b612ad78561292c565b9350612ae560208601612aa7565b93969395505050506040820135916060013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612b2b57612b2b612afa565b604051601f8501601f19908116603f01168101908282118183101715612b5357612b53612afa565b81604052809350858152868686011115612b6c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612b9857600080fd5b813567ffffffffffffffff811115612baf57600080fd5b8201601f81018413612bc057600080fd5b610eec84823560208401612b10565b634e487b7160e01b600052602160045260246000fd5b6020810160038310612c0757634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215612c2057600080fd5b50508035926020909101359150565b60008060408385031215612c4257600080fd5b612c4b8361292c565b915060208301358015158114612c6057600080fd5b809150509250929050565b60008060008060808587031215612c8157600080fd5b612c8a8561292c565b9350612c986020860161292c565b925060408501359150606085013567ffffffffffffffff811115612cbb57600080fd5b8501601f81018713612ccc57600080fd5b612cdb87823560208401612b10565b91505092959194509250565b60008060008060808587031215612cfd57600080fd5b84359350612ae560208601612aa7565b60008060408385031215612d2057600080fd5b612d298361292c565b9150612a626020840161292c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612d8057607f821691505b60208210811415612da157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612dd057612dd0612da7565b500190565b600082821015612de757612de7612da7565b500390565b6000816000190483118215151615612e0657612e06612da7565b500290565b6000600019821415612e1f57612e1f612da7565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612e4b57612e4b612e26565b500490565b60208082526023908201527f4d6178696d756d204d696e74732070657220416464726573732065786365656460408201526265642160e81b606082015260800190565b60208082526030908201527f4e6f742073756666696369656e7420457468657220746f206d696e742074686960408201526f7320616d6f756e74206f66204e46547360801b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612f48818460208801612991565b835190830190612f5c818360208801612991565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612fa8908301846129bd565b9695505050505050565b600060208284031215612fc457600080fd5b8151611ad88161295e565b600082612fde57612fde612e26565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212209674017f651099e2fda980d632510b6e8dc948d49de71c36062e02f2427d8a8564736f6c63430008090033

Deployed Bytecode Sourcemap

54949:10535:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:8;;;54949:10535;;;;;;57230:8;;;62487:87;;;;;;;;;;-1:-1:-1;62487:87:0;;;;;:::i;:::-;;:::i;:::-;;41710:372;;;;;;;;;;-1:-1:-1;41710:372:0;;;;;:::i;:::-;;:::i;:::-;;;934:14:1;;927:22;909:41;;897:2;882:18;41710:372:0;;;;;;;;43596:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;61604:88::-;;;;;;;;;;;;;:::i;45158:214::-;;;;;;;;;;-1:-1:-1;45158:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2061:32:1;;;2043:51;;2031:2;2016:18;45158:214:0;1897:203:1;44679:413:0;;;;;;;;;;-1:-1:-1;44679:413:0;;;;;:::i;:::-;;:::i;39959:108::-;;;;;;;;;;-1:-1:-1;40020:7:0;40047:12;39959:108;;;2510:25:1;;;2498:2;2483:18;39959:108:0;2364:177:1;61222:319:0;;;;;;;;;;-1:-1:-1;61222:319:0;;;;;:::i;:::-;;:::i;55506:38::-;;;;;;;;;;;;;;;;46034:170;;;;;;;;;;-1:-1:-1;46034:170:0;;;;;:::i;:::-;;:::i;40631:1007::-;;;;;;;;;;-1:-1:-1;40631:1007:0;;;;;:::i;:::-;;:::i;56285:50::-;;;;;;;;;;-1:-1:-1;56285:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;58654:306;;;;;;;;;;-1:-1:-1;58654:306:0;;;;;:::i;:::-;;:::i;57457:109::-;;;;;;;;;;-1:-1:-1;57457:109:0;;;;;:::i;:::-;;:::i;61911:244::-;;;;;;;;;;;;;:::i;46275:185::-;;;;;;;;;;-1:-1:-1;46275:185:0;;;;;:::i;:::-;;:::i;62641:124::-;;;;;;;;;;;;;:::i;40144:187::-;;;;;;;;;;-1:-1:-1;40144:187:0;;;;;:::i;:::-;;:::i;62851:297::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43405:124::-;;;;;;;;;;-1:-1:-1;43405:124:0;;;;;:::i;:::-;;:::i;56493:27::-;;;;;;;;;;;;;:::i;42146:221::-;;;;;;;;;;-1:-1:-1;42146:221:0;;;;;:::i;:::-;;:::i;4591:94::-;;;;;;;;;;;;;:::i;64389:172::-;;;;;;;;;;;;;:::i;63611:732::-;;;;;;;;;;-1:-1:-1;63611:732:0;;;;;:::i;:::-;;:::i;63489:114::-;;;;;;;;;;;;;:::i;3940:87::-;;;;;;;;;;-1:-1:-1;4013:6:0;;-1:-1:-1;;;;;4013:6:0;3940:87;;43765:104;;;;;;;;;;;;;:::i;45444:288::-;;;;;;;;;;-1:-1:-1;45444:288:0;;;;;:::i;:::-;;:::i;64569:158::-;;;;;;;;;;;;;:::i;65256:102::-;;;;;;;;;;-1:-1:-1;65256:102:0;;;;;:::i;:::-;;:::i;61742:109::-;;;;;;;;;;;;;:::i;64735:79::-;;;;;;;;;;-1:-1:-1;64799:7:0;;;;64735:79;;59906:675;;;;;;:::i;:::-;;:::i;56594:35::-;;;;;;;;;;;;;;;;46531:355;;;;;;;;;;-1:-1:-1;46531:355:0;;;;;:::i;:::-;;:::i;63197:284::-;;;;;;;;;;;;;:::i;65097:115::-;;;;;;;;;;-1:-1:-1;65097:115:0;;;;;:::i;:::-;;:::i;64855:77::-;;;;;;;;;;;;;:::i;57574:125::-;;;;;;;;;;-1:-1:-1;57574:125:0;;;;;:::i;:::-;;:::i;60593:584::-;;;;;;;;;;-1:-1:-1;60593:584:0;;;;;:::i;:::-;;:::i;59019:828::-;;;;;;:::i;:::-;;:::i;64976:109::-;;;;;;;;;;-1:-1:-1;64976:109:0;;;;;:::i;:::-;;:::i;65366:108::-;;;;;;;;;;-1:-1:-1;65366:108:0;;;;;:::i;:::-;;:::i;45803:164::-;;;;;;;;;;-1:-1:-1;45803:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45924:25:0;;;45900:4;45924:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45803:164;57707:170;;;;;;;;;;;;;:::i;4840:192::-;;;;;;;;;;-1:-1:-1;4840:192:0;;;;;:::i;:::-;;:::i;57885:180::-;;;;;;;;;;;;;:::i;55464:35::-;;;;;;;;;;;;;;;;62487:87;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;;;;;;;;;62552:5:::1;:14:::0;;-1:-1:-1;;;;;;62552:14:0::1;-1:-1:-1::0;;;;;62552:14:0;;;::::1;::::0;;;::::1;::::0;;62487:87::o;41710:372::-;41812:4;-1:-1:-1;;;;;;41849:40:0;;-1:-1:-1;;;41849:40:0;;:105;;-1:-1:-1;;;;;;;41906:48:0;;-1:-1:-1;;;41906:48:0;41849:105;:172;;;-1:-1:-1;;;;;;;41971:50:0;;-1:-1:-1;;;41971:50:0;41849:172;:225;;;-1:-1:-1;;;;;;;;;;16031:40:0;;;42038:36;41829:245;41710:372;-1:-1:-1;;41710:372:0:o;43596:100::-;43650:13;43683:5;43676:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43596:100;:::o;61604:88::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;40020:7;40047:12;61654:14:::1;:30:::0;61604:88::o;45158:214::-;45226:7;45254:16;45262:7;47198:4;47232:12;-1:-1:-1;47222:22:0;47141:111;45254:16;45246:74;;;;-1:-1:-1;;;45246:74:0;;8279:2:1;45246:74:0;;;8261:21:1;8318:2;8298:18;;;8291:30;8357:34;8337:18;;;8330:62;-1:-1:-1;;;8408:18:1;;;8401:43;8461:19;;45246:74:0;8077:409:1;45246:74:0;-1:-1:-1;45340:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45340:24:0;;45158:214::o;44679:413::-;44752:13;44768:24;44784:7;44768:15;:24::i;:::-;44752:40;;44817:5;-1:-1:-1;;;;;44811:11:0;:2;-1:-1:-1;;;;;44811:11:0;;;44803:58;;;;-1:-1:-1;;;44803:58:0;;8693:2:1;44803:58:0;;;8675:21:1;8732:2;8712:18;;;8705:30;8771:34;8751:18;;;8744:62;-1:-1:-1;;;8822:18:1;;;8815:32;8864:19;;44803:58:0;8491:398:1;44803:58:0;2808:10;-1:-1:-1;;;;;44896:21:0;;;;:62;;-1:-1:-1;44921:37:0;44938:5;2808:10;45803:164;:::i;44921:37::-;44874:169;;;;-1:-1:-1;;;44874:169:0;;9096:2:1;44874:169:0;;;9078:21:1;9135:2;9115:18;;;9108:30;9174:34;9154:18;;;9147:62;9245:27;9225:18;;;9218:55;9290:19;;44874:169:0;8894:421:1;44874:169:0;45056:28;45065:2;45069:7;45078:5;45056:8;:28::i;:::-;44741:351;44679:413;;:::o;61222:319::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;61339:16:::1;;61329:6;61312:14;;:23;;;;:::i;:::-;:43;;61304:95;;;::::0;-1:-1:-1;;;61304:95:0;;9787:2:1;61304:95:0::1;::::0;::::1;9769:21:1::0;9826:2;9806:18;;;9799:30;9865:34;9845:18;;;9838:62;-1:-1:-1;;;9916:18:1;;;9909:37;9963:19;;61304:95:0::1;9585:403:1::0;61304:95:0::1;61412:28;61422:9;61433:6;61412:9;:28::i;:::-;-1:-1:-1::0;;;;;61451:26:0;::::1;;::::0;;;:15:::1;:26;::::0;;;;:36;;61481:6;;61451:26;:36:::1;::::0;61481:6;;61451:36:::1;:::i;:::-;;;;;;;;61516:6;61498:14;;:24;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;61222:319:0:o;46034:170::-;46168:28;46178:4;46184:2;46188:7;46168:9;:28::i;40631:1007::-;40720:7;40756:16;40766:5;40756:9;:16::i;:::-;40748:5;:24;40740:71;;;;-1:-1:-1;;;40740:71:0;;10195:2:1;40740:71:0;;;10177:21:1;10234:2;10214:18;;;10207:30;10273:34;10253:18;;;10246:62;-1:-1:-1;;;10324:18:1;;;10317:32;10366:19;;40740:71:0;9993:398:1;40740:71:0;40822:22;40047:12;;;40822:22;;41085:466;41105:14;41101:1;:18;41085:466;;;41145:31;41179:14;;;:11;:14;;;;;;;;;41145:48;;;;;;;;;-1:-1:-1;;;;;41145:48:0;;;;;-1:-1:-1;;;41145:48:0;;;;;;;;;;;;41216:28;41212:111;;41289:14;;;-1:-1:-1;41212:111:0;41366:5;-1:-1:-1;;;;;41345:26:0;:17;-1:-1:-1;;;;;41345:26:0;;41341:195;;;41415:5;41400:11;:20;41396:85;;;-1:-1:-1;41456:1:0;-1:-1:-1;41449:8:0;;-1:-1:-1;;;41449:8:0;41396:85;41503:13;;;;;41341:195;-1:-1:-1;41121:3:0;;41085:466;;;-1:-1:-1;41574:56:0;;-1:-1:-1;;;41574:56:0;;10598:2:1;41574:56:0;;;10580:21:1;10637:2;10617:18;;;10610:30;10676:34;10656:18;;;10649:62;-1:-1:-1;;;10727:18:1;;;10720:44;10781:19;;41574:56:0;10396:410:1;58654:306:0;58795:37;;-1:-1:-1;;58820:4:0;11038:2:1;11034:15;;;11030:24;;58795:37:0;;;11018::1;11089:15;;;11085:24;11071:12;;;11064:46;58753:4:0;;;;11126:12:1;;58795:37:0;;;;;;;;;;;;58785:48;;;;;;58770:63;;58860:92;58933:4;58880:58;;;;;;;11391:66:1;11379:79;;11483:2;11474:12;;11467:28;;;;11520:2;11511:12;;11149:380;58880:58:0;;;;-1:-1:-1;;58880:58:0;;;;;;;;;58870:69;;58880:58;58870:69;;;;58860:92;;;;;;;;;11761:25:1;11834:4;11822:17;;11802:18;;;11795:45;11856:18;;;11849:34;;;11899:18;;;11892:34;;;11733:19;;58860:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;58860:92:0;;-1:-1:-1;;58860:92:0;;58851:5;;-1:-1:-1;;;;;58851:5:0;;;:101;;;;-1:-1:-1;;;58654:306:0;;;;;;;:::o;57457:109::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;57532:26;;::::1;::::0;:15:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57457:109:::0;:::o;61911:244::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;61959:15:::1;61977:16;:14;:16::i;:::-;61959:34;;62022:1;62012:7;:11;62004:58;;;::::0;-1:-1:-1;;;62004:58:0;;12139:2:1;62004:58:0::1;::::0;::::1;12121:21:1::0;12178:2;12158:18;;;12151:30;12217:34;12197:18;;;12190:62;-1:-1:-1;;;12268:18:1;;;12261:32;12310:19;;62004:58:0::1;11937:398:1::0;62004:58:0::1;62075:71;62093:42;62138:7;62075:9;:71::i;:::-;61948:207;61911:244::o:0;46275:185::-;46413:39;46430:4;46436:2;46440:7;46413:39;;;;;;;;;;;;:16;:39::i;62641:124::-;4013:6;;62700:4;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;62743:14:::1;;62724:16;;:33;;;;:::i;:::-;62717:40;;62641:124:::0;:::o;40144:187::-;40211:7;40047:12;;40239:5;:21;40231:69;;;;-1:-1:-1;;;40231:69:0;;12672:2:1;40231:69:0;;;12654:21:1;12711:2;12691:18;;;12684:30;12750:34;12730:18;;;12723:62;-1:-1:-1;;;12801:18:1;;;12794:33;12844:19;;40231:69:0;12470:399:1;40231:69:0;-1:-1:-1;40318:5:0;40144:187::o;62851:297::-;62892:5;62913:17;;62934:1;62913:22;62909:232;;;-1:-1:-1;62959:12:0;;62851:297::o;62909:232::-;63002:20;;62998:143;;-1:-1:-1;63051:13:0;;62851:297::o;62998:143::-;-1:-1:-1;63113:16:0;;62851:297::o;43405:124::-;43469:7;43496:20;43508:7;43496:11;:20::i;:::-;:25;;43405:124;-1:-1:-1;;43405:124:0:o;56493:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42146:221::-;42210:7;-1:-1:-1;;;;;42238:19:0;;42230:75;;;;-1:-1:-1;;;42230:75:0;;13076:2:1;42230:75:0;;;13058:21:1;13115:2;13095:18;;;13088:30;13154:34;13134:18;;;13127:62;-1:-1:-1;;;13205:18:1;;;13198:41;13256:19;;42230:75:0;12874:407:1;42230:75:0;-1:-1:-1;;;;;;42331:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42331:27:0;;42146:221::o;4591:94::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;4656:21:::1;4674:1;4656:9;:21::i;:::-;4591:94::o:0;64389:172::-;64433:7;64461:10;;64475:1;64461:15;;64453:72;;;;-1:-1:-1;;;64453:72:0;;13488:2:1;64453:72:0;;;13470:21:1;13527:2;13507:18;;;13500:30;13566:34;13546:18;;;13539:62;-1:-1:-1;;;13617:18:1;;;13610:42;13669:19;;64453:72:0;13286:408:1;64453:72:0;-1:-1:-1;64543:10:0;;;64389:172::o;63611:732::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;63691:15:::1;63709:16;:14;:16::i;:::-;63691:34:::0;-1:-1:-1;63754:15:0::1;63763:6:::0;63754;:15:::1;:::i;:::-;63744:7;:25;63736:78;;;::::0;-1:-1:-1;;;63736:78:0;;14074:2:1;63736:78:0::1;::::0;::::1;14056:21:1::0;14113:2;14093:18;;;14086:30;14152:34;14132:18;;;14125:62;-1:-1:-1;;;14203:18:1;;;14196:38;14251:19;;63736:78:0::1;13872:404:1::0;63736:78:0::1;40020:7:::0;40047:12;63859:6:::1;63833:23;;:32;;;;:::i;:::-;:49;;63825:58;;;::::0;::::1;;63899:6;63894:238;63911:6;63907:1;:10;63894:238;;;63940:12;63966:36;64000:1;63974:23;;:27;;;;:::i;63966:36::-;-1:-1:-1::0;;;;;63958:50:0::1;64016:6;63958:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63939:88;;;64050:7;64042:78;;;::::0;-1:-1:-1;;;64042:78:0;;14693:2:1;64042:78:0::1;::::0;::::1;14675:21:1::0;14732:2;14712:18;;;14705:30;14771:34;14751:18;;;14744:62;14842:28;14822:18;;;14815:56;14888:19;;64042:78:0::1;14491:422:1::0;64042:78:0::1;-1:-1:-1::0;63919:3:0;::::1;::::0;::::1;:::i;:::-;;;;63894:238;;;;64189:6;64163:23;;:32;;;;:::i;:::-;40020:7:::0;40047:12;64146:49:::1;64142:184;;;64238:1;64212:23;:27:::0;44741:351;44679:413;;:::o;64142:184::-:1;64308:6;64281:23;;:33;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;63680:663:0::1;63611:732:::0;;:::o;63489:114::-;63536:7;40047:12;;63563:16;:14;:16::i;:::-;:32;;;;:::i;43765:104::-;43821:13;43854:7;43847:14;;;;;:::i;45444:288::-;-1:-1:-1;;;;;45539:24:0;;2808:10;45539:24;;45531:63;;;;-1:-1:-1;;;45531:63:0;;15517:2:1;45531:63:0;;;15499:21:1;15556:2;15536:18;;;15529:30;15595:28;15575:18;;;15568:56;15641:18;;45531:63:0;15315:350:1;45531:63:0;2808:10;45607:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45607:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;45607:53:0;;;;;;;;;;45676:48;;909:41:1;;;45607:42:0;;2808:10;45676:48;;882:18:1;45676:48:0;;;;;;;45444:288;;:::o;64569:158::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;64623:10:::1;::::0;:15;64615:65:::1;;;::::0;-1:-1:-1;;;64615:65:0;;15872:2:1;64615:65:0::1;::::0;::::1;15854:21:1::0;15911:2;15891:18;;;15884:30;15950:34;15930:18;;;15923:62;-1:-1:-1;;;16001:18:1;;;15994:35;16046:19;;64615:65:0::1;15670:401:1::0;64615:65:0::1;64704:15;64691:10;:28:::0;64569:158::o;65256:102::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;65327:14:::1;:23:::0;65256:102::o;61742:109::-;4013:6;;61798:4;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;-1:-1:-1;61822:21:0::1;61742:109:::0;:::o;59906:675::-;59981:7;;;;59980:8;59972:36;;;;-1:-1:-1;;;59972:36:0;;16278:2:1;59972:36:0;;;16260:21:1;16317:2;16297:18;;;16290:30;-1:-1:-1;;;16336:18:1;;;16329:45;16391:18;;59972:36:0;16076:339:1;59972:36:0;60019:16;60038:11;:9;:11::i;:::-;60019:30;-1:-1:-1;60082:16:0;60068:10;:30;;;;;;;;:::i;:::-;;60060:71;;;;-1:-1:-1;;;60060:71:0;;16622:2:1;60060:71:0;;;16604:21:1;16661:2;16641:18;;;16634:30;16700;16680:18;;;16673:58;16748:18;;60060:71:0;16420:352:1;60060:71:0;60213:14;;60194:16;;:33;;;;:::i;:::-;60176:14;;:52;;;;:::i;:::-;60166:6;60150:13;40020:7;40047:12;;39959:108;60150:13;:22;;;;:::i;:::-;:78;;60142:121;;;;-1:-1:-1;;;60142:121:0;;16979:2:1;60142:121:0;;;16961:21:1;17018:2;16998:18;;;16991:30;17057:32;17037:18;;;17030:60;17107:18;;60142:121:0;16777:354:1;60142:121:0;60322:17;;60298:10;60282:27;;;;:15;:27;;;;;;:36;;60312:6;;60282:36;:::i;:::-;:57;;60274:105;;;;-1:-1:-1;;;60274:105:0;;;;;;;:::i;:::-;60424:6;60411:10;:8;:10::i;:::-;:19;;;;:::i;:::-;60398:9;:32;;60390:93;;;;-1:-1:-1;;;60390:93:0;;;;;;;:::i;:::-;60496:29;60506:10;60518:6;60496:9;:29::i;:::-;60552:10;60536:27;;;;:15;:27;;;;;:37;;60567:6;;60536:27;:37;;60567:6;;60536:37;:::i;46531:355::-;46690:28;46700:4;46706:2;46710:7;46690:9;:28::i;:::-;46751:48;46774:4;46780:2;46784:7;46793:5;46751:22;:48::i;:::-;46729:149;;;;-1:-1:-1;;;46729:149:0;;;;;;;:::i;:::-;46531:355;;;;:::o;63197:284::-;63237:4;63254:16;63273:11;:9;:11::i;:::-;63254:30;-1:-1:-1;63313:12:0;63299:10;:26;;;;;;;;:::i;:::-;;:57;;;-1:-1:-1;63343:13:0;63329:10;:27;;;;;;;;:::i;:::-;;63299:57;63295:179;;;-1:-1:-1;;63380:15:0;;;63197:284::o;63295:179::-;-1:-1:-1;;63444:18:0;;;63197:284::o;65097:115::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;65176:18:::1;:28:::0;65097:115::o;64855:77::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;64917:7:::1;::::0;;-1:-1:-1;;64906:18:0;::::1;64917:7;::::0;;::::1;64916:8;64906:18;::::0;;64855:77::o;57574:125::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;57661:30;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;60593:584::-:0;60667:13;60701:17;60709:8;47198:4;47232:12;-1:-1:-1;47222:22:0;47141:111;60701:17;60693:77;;;;-1:-1:-1;;;60693:77:0;;18579:2:1;60693:77:0;;;18561:21:1;18618:2;18598:18;;;18591:30;18657:34;18637:18;;;18630:62;-1:-1:-1;;;18708:18:1;;;18701:45;18763:19;;60693:77:0;18377:411:1;60693:77:0;60882:10;;:15;:31;;;;;60912:1;60901:8;:12;60882:31;60878:288;;;60937:13;60930:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60593:584;;;:::o;60878:288::-;61002:21;61026:10;:8;:10::i;:::-;61002:34;;61082:1;61064:7;61058:21;:25;:96;;;;;;;;;;;;;;;;;61110:7;61119:19;:8;:17;:19::i;:::-;61093:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61058:96;61051:103;60593:584;-1:-1:-1;;;60593:584:0:o;60878:288::-;60593:584;;;:::o;59019:828::-;59106:2;59111;59115;58156:41;58177:10;58188:2;58191;58194;58156:20;:41::i;:::-;58147:73;;;;-1:-1:-1;;;58147:73:0;;19637:2:1;58147:73:0;;;19619:21:1;19676:2;19656:18;;;19649:30;-1:-1:-1;;;19695:18:1;;;19688:47;19752:18;;58147:73:0;19435:341:1;58147:73:0;59154:7:::1;::::0;::::1;;59153:8;59145:36;;;::::0;-1:-1:-1;;;59145:36:0;;16278:2:1;59145:36:0::1;::::0;::::1;16260:21:1::0;16317:2;16297:18;;;16290:30;-1:-1:-1;;;16336:18:1;;;16329:45;16391:18;;59145:36:0::1;16076:339:1::0;59145:36:0::1;59192:16;59211:11;:9;:11::i;:::-;59192:30:::0;-1:-1:-1;59255:12:0::1;59241:10;:26;;;;;;;;:::i;:::-;;;59233:60;;;::::0;-1:-1:-1;;;59233:60:0;;19983:2:1;59233:60:0::1;::::0;::::1;19965:21:1::0;20022:2;20002:18;;;19995:30;-1:-1:-1;;;20041:18:1;;;20034:51;20102:18;;59233:60:0::1;19781:345:1::0;59233:60:0::1;59326:16;59312:10;:30;;;;;;;;:::i;:::-;;;59304:85;;;::::0;-1:-1:-1;;;59304:85:0;;20333:2:1;59304:85:0::1;::::0;::::1;20315:21:1::0;20372:2;20352:18;;;20345:30;20411:34;20391:18;;;20384:62;-1:-1:-1;;;20462:18:1;;;20455:40;20512:19;;59304:85:0::1;20131:406:1::0;59304:85:0::1;59472:14;;59452:16;;:34;;;;:::i;:::-;59434:14;;:53;;;;:::i;:::-;59424:6;59408:13;40020:7:::0;40047:12;;39959:108;59408:13:::1;:22;;;;:::i;:::-;:79;;59400:122;;;::::0;-1:-1:-1;;;59400:122:0;;16979:2:1;59400:122:0::1;::::0;::::1;16961:21:1::0;17018:2;16998:18;;;16991:30;17057:32;17037:18;;;17030:60;17107:18;;59400:122:0::1;16777:354:1::0;59400:122:0::1;59581:14;::::0;59557:10:::1;59541:27;::::0;;;:15:::1;:27;::::0;;;;;:36:::1;::::0;59571:6;;59541:36:::1;:::i;:::-;:54;;59533:102;;;;-1:-1:-1::0;;;59533:102:0::1;;;;;;;:::i;:::-;59680:6;59667:10;:8;:10::i;:::-;:19;;;;:::i;:::-;59654:9;:32;;59646:93;;;;-1:-1:-1::0;;;59646:93:0::1;;;;;;;:::i;:::-;59760:29;59770:10;59782:6;59760:9;:29::i;:::-;59816:10;59800:27;::::0;;;:15:::1;:27;::::0;;;;:37;;59831:6;;59800:27;:37:::1;::::0;59831:6;;59800:37:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;;;;59019:828:0:o;64976:109::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;65052:15:::1;:25:::0;64976:109::o;65366:108::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;65440:17:::1;:26:::0;65366:108::o;57707:170::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;57785:12:::1;57770:11;:9;:11::i;:::-;:27;;;;;;;;:::i;:::-;;57762:61;;;::::0;-1:-1:-1;;;57762:61:0;;20744:2:1;57762:61:0::1;::::0;::::1;20726:21:1::0;20783:2;20763:18;;;20756:30;-1:-1:-1;;;20802:18:1;;;20795:51;20863:18;;57762:61:0::1;20542:345:1::0;57762:61:0::1;57854:15;57834:17;:35:::0;57707:170::o;4840:192::-;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4929:22:0;::::1;4921:73;;;::::0;-1:-1:-1;;;4921:73:0;;21094:2:1;4921:73:0::1;::::0;::::1;21076:21:1::0;21133:2;21113:18;;;21106:30;21172:34;21152:18;;;21145:62;-1:-1:-1;;;21223:18:1;;;21216:36;21269:19;;4921:73:0::1;20892:402:1::0;4921:73:0::1;5005:19;5015:8;5005:9;:19::i;57885:180::-:0;4013:6;;-1:-1:-1;;;;;4013:6:0;2808:10;4160:23;4152:68;;;;-1:-1:-1;;;4152:68:0;;;;;;;:::i;:::-;57966:13:::1;57951:11;:9;:11::i;:::-;:28;;;;;;;;:::i;:::-;;57943:65;;;::::0;-1:-1:-1;;;57943:65:0;;21501:2:1;57943:65:0::1;::::0;::::1;21483:21:1::0;21540:2;21520:18;;;21513:30;21579:26;21559:18;;;21552:54;21623:18;;57943:65:0::1;21299:348:1::0;57943:65:0::1;58042:15;58019:20;:38:::0;57885:180::o;5986:387::-;6309:20;6357:8;;;5986:387::o;52061:196::-;52176:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;52176:29:0;-1:-1:-1;;;;;52176:29:0;;;;;;;;;52221:28;;52176:24;;52221:28;;;;;;;52061:196;;;:::o;47260:104::-;47329:27;47339:2;47343:8;47329:27;;;;;;;;;;;;:9;:27::i;49941:2002::-;50056:35;50094:20;50106:7;50094:11;:20::i;:::-;50169:18;;50056:58;;-1:-1:-1;50127:22:0;;-1:-1:-1;;;;;50153:34:0;2808:10;-1:-1:-1;;;;;50153:34:0;;:87;;;-1:-1:-1;2808:10:0;50204:20;50216:7;50204:11;:20::i;:::-;-1:-1:-1;;;;;50204:36:0;;50153:87;:154;;;-1:-1:-1;50274:18:0;;50257:50;;2808:10;45803:164;:::i;50257:50::-;50127:181;;50329:17;50321:80;;;;-1:-1:-1;;;50321:80:0;;21854:2:1;50321:80:0;;;21836:21:1;21893:2;21873:18;;;21866:30;21932:34;21912:18;;;21905:62;-1:-1:-1;;;21983:18:1;;;21976:48;22041:19;;50321:80:0;21652:414:1;50321:80:0;50444:4;-1:-1:-1;;;;;50422:26:0;:13;:18;;;-1:-1:-1;;;;;50422:26:0;;50414:77;;;;-1:-1:-1;;;50414:77:0;;22273:2:1;50414:77:0;;;22255:21:1;22312:2;22292:18;;;22285:30;22351:34;22331:18;;;22324:62;-1:-1:-1;;;22402:18:1;;;22395:36;22448:19;;50414:77:0;22071:402:1;50414:77:0;-1:-1:-1;;;;;50510:16:0;;50502:66;;;;-1:-1:-1;;;50502:66:0;;22680:2:1;50502:66:0;;;22662:21:1;22719:2;22699:18;;;22692:30;22758:34;22738:18;;;22731:62;-1:-1:-1;;;22809:18:1;;;22802:35;22854:19;;50502:66:0;22478:401:1;50502:66:0;50689:49;50706:1;50710:7;50719:13;:18;;;50689:8;:49::i;:::-;-1:-1:-1;;;;;51034:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;51034:31:0;;;-1:-1:-1;;;;;51034:31:0;;;-1:-1:-1;;51034:31:0;;;;;;;51080:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;51080:29:0;;;;;;;;;;;;;51126:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;51171:61:0;;;;-1:-1:-1;;;51216:15:0;51171:61;;;;;;51506:11;;;51536:24;;;;;:29;51506:11;;51536:29;51532:295;;51604:20;51612:11;47198:4;47232:12;-1:-1:-1;47222:22:0;47141:111;51604:20;51600:212;;;51681:18;;;51649:24;;;:11;:24;;;;;;;;:50;;51764:28;;;;51722:70;;-1:-1:-1;;;51722:70:0;-1:-1:-1;;;;;;51722:70:0;;;-1:-1:-1;;;;;51649:50:0;;;51722:70;;;;;;;51600:212;51009:829;51874:7;51870:2;-1:-1:-1;;;;;51855:27:0;51864:4;-1:-1:-1;;;;;51855:27:0;;;;;;;;;;;51893:42;50045:1898;;49941:2002;;;:::o;62230:183::-;62311:9;62326:7;-1:-1:-1;;;;;62326:12:0;62346:6;62326:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62310:47;;;62376:4;62368:37;;;;-1:-1:-1;;;62368:37:0;;23086:2:1;62368:37:0;;;23068:21:1;23125:2;23105:18;;;23098:30;-1:-1:-1;;;23144:18:1;;;23137:50;23204:18;;62368:37:0;22884:344:1;42806:537:0;-1:-1:-1;;;;;;;;;;;;;;;;;42909:16:0;42917:7;47198:4;47232:12;-1:-1:-1;47222:22:0;47141:111;42909:16;42901:71;;;;-1:-1:-1;;;42901:71:0;;23435:2:1;42901:71:0;;;23417:21:1;23474:2;23454:18;;;23447:30;23513:34;23493:18;;;23486:62;-1:-1:-1;;;23564:18:1;;;23557:40;23614:19;;42901:71:0;23233:406:1;42901:71:0;43030:7;43010:245;43077:31;43111:17;;;:11;:17;;;;;;;;;43077:51;;;;;;;;;-1:-1:-1;;;;;43077:51:0;;;;;-1:-1:-1;;;43077:51:0;;;;;;;;;;;;43151:28;43147:93;;43211:9;42806:537;-1:-1:-1;;;42806:537:0:o;43147:93::-;-1:-1:-1;;;43050:6:0;43010:245;;5040:173;5115:6;;;-1:-1:-1;;;;;5132:17:0;;;-1:-1:-1;;;;;;5132:17:0;;;;;;;5165:40;;5115:6;;;5132:17;5115:6;;5165:40;;5096:16;;5165:40;5085:128;5040:173;:::o;52822:804::-;52977:4;-1:-1:-1;;;;;52998:13:0;;6309:20;6357:8;52994:625;;53034:72;;-1:-1:-1;;;53034:72:0;;-1:-1:-1;;;;;53034:36:0;;;;;:72;;2808:10;;53085:4;;53091:7;;53100:5;;53034:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53034:72:0;;;;;;;;-1:-1:-1;;53034:72:0;;;;;;;;;;;;:::i;:::-;;;53030:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53280:13:0;;53276:273;;53323:61;;-1:-1:-1;;;53323:61:0;;;;;;;:::i;53276:273::-;53499:6;53493:13;53484:6;53480:2;53476:15;53469:38;53030:534;-1:-1:-1;;;;;;53157:55:0;-1:-1:-1;;;53157:55:0;;-1:-1:-1;53150:62:0;;52994:625;-1:-1:-1;53603:4:0;53596:11;;57283:116;57343:13;57376:15;57369:22;;;;;:::i;344:723::-;400:13;621:10;617:53;;-1:-1:-1;;648:10:0;;;;;;;;;;;;-1:-1:-1;;;648:10:0;;;;;344:723::o;617:53::-;695:5;680:12;736:78;743:9;;736:78;;769:8;;;;:::i;:::-;;-1:-1:-1;792:10:0;;-1:-1:-1;800:2:0;792:10;;:::i;:::-;;;736:78;;;824:19;856:6;846:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;846:17:0;;824:39;;874:154;881:10;;874:154;;908:11;918:1;908:11;;:::i;:::-;;-1:-1:-1;977:10:0;985:2;977:5;:10;:::i;:::-;964:24;;:2;:24;:::i;:::-;951:39;;934:6;941;934:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;934:56:0;;;;;;;;-1:-1:-1;1005:11:0;1014:2;1005:11;;:::i;:::-;;;874:154;;47727:163;47850:32;47856:2;47860:8;47870:5;47877:4;48288:20;48311:12;-1:-1:-1;;;;;48342:16:0;;48334:62;;;;-1:-1:-1;;;48334:62:0;;25259:2:1;48334:62:0;;;25241:21:1;25298:2;25278:18;;;25271:30;25337:34;25317:18;;;25310:62;-1:-1:-1;;;25388:18:1;;;25381:31;25429:19;;48334:62:0;25057:397:1;48334:62:0;48415:13;48407:66;;;;-1:-1:-1;;;48407:66:0;;25661:2:1;48407:66:0;;;25643:21:1;25700:2;25680:18;;;25673:30;25739:34;25719:18;;;25712:62;-1:-1:-1;;;25790:18:1;;;25783:38;25838:19;;48407:66:0;25459:404:1;48407:66:0;-1:-1:-1;;;;;48825:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;48825:45:0;;-1:-1:-1;;;;;48825:45:0;;;;;;;;;;48885:50;;;;;;;;;;;;;;48952:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;49002:66:0;;;;-1:-1:-1;;;49052:15:0;49002:66;;;;;;;48952:25;;49137:415;49157:8;49153:1;:12;49137:415;;;49196:38;;49221:12;;-1:-1:-1;;;;;49196:38:0;;;49213:1;;49196:38;;49213:1;;49196:38;49257:4;49253:249;;;49320:59;49351:1;49355:2;49359:12;49373:5;49320:22;:59::i;:::-;49286:196;;;;-1:-1:-1;;;49286:196:0;;;;;;;:::i;:::-;49522:14;;;;;49167:3;49137:415;;;-1:-1:-1;49568:12:0;:27;49619:60;46531:355;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:131::-;-1:-1:-1;;;;;;457:32:1;;447:43;;437:71;;504:1;501;494:12;519:245;577:6;630:2;618:9;609:7;605:23;601:32;598:52;;;646:1;643;636:12;598:52;685:9;672:23;704:30;728:5;704:30;:::i;961:258::-;1033:1;1043:113;1057:6;1054:1;1051:13;1043:113;;;1133:11;;;1127:18;1114:11;;;1107:39;1079:2;1072:10;1043:113;;;1174:6;1171:1;1168:13;1165:48;;;-1:-1:-1;;1209:1:1;1191:16;;1184:27;961:258::o;1224:::-;1266:3;1304:5;1298:12;1331:6;1326:3;1319:19;1347:63;1403:6;1396:4;1391:3;1387:14;1380:4;1373:5;1369:16;1347:63;:::i;:::-;1464:2;1443:15;-1:-1:-1;;1439:29:1;1430:39;;;;1471:4;1426:50;;1224:258;-1:-1:-1;;1224:258:1:o;1487:220::-;1636:2;1625:9;1618:21;1599:4;1656:45;1697:2;1686:9;1682:18;1674:6;1656:45;:::i;1712:180::-;1771:6;1824:2;1812:9;1803:7;1799:23;1795:32;1792:52;;;1840:1;1837;1830:12;1792:52;-1:-1:-1;1863:23:1;;1712:180;-1:-1:-1;1712:180:1:o;2105:254::-;2173:6;2181;2234:2;2222:9;2213:7;2209:23;2205:32;2202:52;;;2250:1;2247;2240:12;2202:52;2273:29;2292:9;2273:29;:::i;:::-;2263:39;2349:2;2334:18;;;;2321:32;;-1:-1:-1;;;2105:254:1:o;2546:::-;2614:6;2622;2675:2;2663:9;2654:7;2650:23;2646:32;2643:52;;;2691:1;2688;2681:12;2643:52;2727:9;2714:23;2704:33;;2756:38;2790:2;2779:9;2775:18;2756:38;:::i;:::-;2746:48;;2546:254;;;;;:::o;2805:328::-;2882:6;2890;2898;2951:2;2939:9;2930:7;2926:23;2922:32;2919:52;;;2967:1;2964;2957:12;2919:52;2990:29;3009:9;2990:29;:::i;:::-;2980:39;;3038:38;3072:2;3061:9;3057:18;3038:38;:::i;:::-;3028:48;;3123:2;3112:9;3108:18;3095:32;3085:42;;2805:328;;;;;:::o;3138:156::-;3204:20;;3264:4;3253:16;;3243:27;;3233:55;;3284:1;3281;3274:12;3299:393;3383:6;3391;3399;3407;3460:3;3448:9;3439:7;3435:23;3431:33;3428:53;;;3477:1;3474;3467:12;3428:53;3500:29;3519:9;3500:29;:::i;:::-;3490:39;;3548:36;3580:2;3569:9;3565:18;3548:36;:::i;:::-;3299:393;;3538:46;;-1:-1:-1;;;;3631:2:1;3616:18;;3603:32;;3682:2;3667:18;3654:32;;3299:393::o;3697:127::-;3758:10;3753:3;3749:20;3746:1;3739:31;3789:4;3786:1;3779:15;3813:4;3810:1;3803:15;3829:632;3894:5;3924:18;3965:2;3957:6;3954:14;3951:40;;;3971:18;;:::i;:::-;4046:2;4040:9;4014:2;4100:15;;-1:-1:-1;;4096:24:1;;;4122:2;4092:33;4088:42;4076:55;;;4146:18;;;4166:22;;;4143:46;4140:72;;;4192:18;;:::i;:::-;4232:10;4228:2;4221:22;4261:6;4252:15;;4291:6;4283;4276:22;4331:3;4322:6;4317:3;4313:16;4310:25;4307:45;;;4348:1;4345;4338:12;4307:45;4398:6;4393:3;4386:4;4378:6;4374:17;4361:44;4453:1;4446:4;4437:6;4429;4425:19;4421:30;4414:41;;;;3829:632;;;;;:::o;4466:451::-;4535:6;4588:2;4576:9;4567:7;4563:23;4559:32;4556:52;;;4604:1;4601;4594:12;4556:52;4644:9;4631:23;4677:18;4669:6;4666:30;4663:50;;;4709:1;4706;4699:12;4663:50;4732:22;;4785:4;4777:13;;4773:27;-1:-1:-1;4763:55:1;;4814:1;4811;4804:12;4763:55;4837:74;4903:7;4898:2;4885:16;4880:2;4876;4872:11;4837:74;:::i;4922:127::-;4983:10;4978:3;4974:20;4971:1;4964:31;5014:4;5011:1;5004:15;5038:4;5035:1;5028:15;5054:338;5196:2;5181:18;;5229:1;5218:13;;5208:144;;5274:10;5269:3;5265:20;5262:1;5255:31;5309:4;5306:1;5299:15;5337:4;5334:1;5327:15;5208:144;5361:25;;;5054:338;:::o;5397:248::-;5465:6;5473;5526:2;5514:9;5505:7;5501:23;5497:32;5494:52;;;5542:1;5539;5532:12;5494:52;-1:-1:-1;;5565:23:1;;;5635:2;5620:18;;;5607:32;;-1:-1:-1;5397:248:1:o;5650:347::-;5715:6;5723;5776:2;5764:9;5755:7;5751:23;5747:32;5744:52;;;5792:1;5789;5782:12;5744:52;5815:29;5834:9;5815:29;:::i;:::-;5805:39;;5894:2;5883:9;5879:18;5866:32;5941:5;5934:13;5927:21;5920:5;5917:32;5907:60;;5963:1;5960;5953:12;5907:60;5986:5;5976:15;;;5650:347;;;;;:::o;6002:667::-;6097:6;6105;6113;6121;6174:3;6162:9;6153:7;6149:23;6145:33;6142:53;;;6191:1;6188;6181:12;6142:53;6214:29;6233:9;6214:29;:::i;:::-;6204:39;;6262:38;6296:2;6285:9;6281:18;6262:38;:::i;:::-;6252:48;;6347:2;6336:9;6332:18;6319:32;6309:42;;6402:2;6391:9;6387:18;6374:32;6429:18;6421:6;6418:30;6415:50;;;6461:1;6458;6451:12;6415:50;6484:22;;6537:4;6529:13;;6525:27;-1:-1:-1;6515:55:1;;6566:1;6563;6556:12;6515:55;6589:74;6655:7;6650:2;6637:16;6632:2;6628;6624:11;6589:74;:::i;:::-;6579:84;;;6002:667;;;;;;;:::o;6674:387::-;6758:6;6766;6774;6782;6835:3;6823:9;6814:7;6810:23;6806:33;6803:53;;;6852:1;6849;6842:12;6803:53;6888:9;6875:23;6865:33;;6917:36;6949:2;6938:9;6934:18;6917:36;:::i;7066:260::-;7134:6;7142;7195:2;7183:9;7174:7;7170:23;7166:32;7163:52;;;7211:1;7208;7201:12;7163:52;7234:29;7253:9;7234:29;:::i;:::-;7224:39;;7282:38;7316:2;7305:9;7301:18;7282:38;:::i;7331:356::-;7533:2;7515:21;;;7552:18;;;7545:30;7611:34;7606:2;7591:18;;7584:62;7678:2;7663:18;;7331:356::o;7692:380::-;7771:1;7767:12;;;;7814;;;7835:61;;7889:4;7881:6;7877:17;7867:27;;7835:61;7942:2;7934:6;7931:14;7911:18;7908:38;7905:161;;;7988:10;7983:3;7979:20;7976:1;7969:31;8023:4;8020:1;8013:15;8051:4;8048:1;8041:15;7905:161;;7692:380;;;:::o;9320:127::-;9381:10;9376:3;9372:20;9369:1;9362:31;9412:4;9409:1;9402:15;9436:4;9433:1;9426:15;9452:128;9492:3;9523:1;9519:6;9516:1;9513:13;9510:39;;;9529:18;;:::i;:::-;-1:-1:-1;9565:9:1;;9452:128::o;12340:125::-;12380:4;12408:1;12405;12402:8;12399:34;;;12413:18;;:::i;:::-;-1:-1:-1;12450:9:1;;12340:125::o;13699:168::-;13739:7;13805:1;13801;13797:6;13793:14;13790:1;13787:21;13782:1;13775:9;13768:17;13764:45;13761:71;;;13812:18;;:::i;:::-;-1:-1:-1;13852:9:1;;13699:168::o;14918:135::-;14957:3;-1:-1:-1;;14978:17:1;;14975:43;;;14998:18;;:::i;:::-;-1:-1:-1;15045:1:1;15034:13;;14918:135::o;15058:127::-;15119:10;15114:3;15110:20;15107:1;15100:31;15150:4;15147:1;15140:15;15174:4;15171:1;15164:15;15190:120;15230:1;15256;15246:35;;15261:18;;:::i;:::-;-1:-1:-1;15295:9:1;;15190:120::o;17136:399::-;17338:2;17320:21;;;17377:2;17357:18;;;17350:30;17416:34;17411:2;17396:18;;17389:62;-1:-1:-1;;;17482:2:1;17467:18;;17460:33;17525:3;17510:19;;17136:399::o;17540:412::-;17742:2;17724:21;;;17781:2;17761:18;;;17754:30;17820:34;17815:2;17800:18;;17793:62;-1:-1:-1;;;17886:2:1;17871:18;;17864:46;17942:3;17927:19;;17540:412::o;17957:415::-;18159:2;18141:21;;;18198:2;18178:18;;;18171:30;18237:34;18232:2;18217:18;;18210:62;-1:-1:-1;;;18303:2:1;18288:18;;18281:49;18362:3;18347:19;;17957:415::o;18793:637::-;19073:3;19111:6;19105:13;19127:53;19173:6;19168:3;19161:4;19153:6;19149:17;19127:53;:::i;:::-;19243:13;;19202:16;;;;19265:57;19243:13;19202:16;19299:4;19287:17;;19265:57;:::i;:::-;-1:-1:-1;;;19344:20:1;;19373:22;;;19422:1;19411:13;;18793:637;-1:-1:-1;;;;18793:637:1:o;24060:489::-;-1:-1:-1;;;;;24329:15:1;;;24311:34;;24381:15;;24376:2;24361:18;;24354:43;24428:2;24413:18;;24406:34;;;24476:3;24471:2;24456:18;;24449:31;;;24254:4;;24497:46;;24523:19;;24515:6;24497:46;:::i;:::-;24489:54;24060:489;-1:-1:-1;;;;;;24060:489:1:o;24554:249::-;24623:6;24676:2;24664:9;24655:7;24651:23;24647:32;24644:52;;;24692:1;24689;24682:12;24644:52;24724:9;24718:16;24743:30;24767:5;24743:30;:::i;24808:112::-;24840:1;24866;24856:35;;24871:18;;:::i;:::-;-1:-1:-1;24905:9:1;;24808:112::o;24925:127::-;24986:10;24981:3;24977:20;24974:1;24967:31;25017:4;25014:1;25007:15;25041:4;25038:1;25031:15

Swarm Source

ipfs://9674017f651099e2fda980d632510b6e8dc948d49de71c36062e02f2427d8a85
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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