ETH Price: $3,076.47 (-1.19%)

Token

ZODIAC X TAS (ZDC)
 

Overview

Max Total Supply

3,600 ZDC

Holders

1,192

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ZDC
0x0000000077eda42095A5023F303d97a59dE505d7
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Zodiac

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

// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

/// @title Zodiac Project X TAS
/// @author André Costa @ Terratecc


// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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


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

pragma solidity ^0.8.0;


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


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

pragma solidity ^0.8.0;


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

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

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


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

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

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

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

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


/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}


error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // 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_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _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 virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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 _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    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;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _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);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // 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 storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @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 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        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 TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * 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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

contract Zodiac is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

    //NOTE Token values incremented for gas efficiency
    uint256 private maxSalePlusOne = 3601;

    uint256 public presaleAllowancePlusOne = 2;
    uint256 public publicSaleAllowancePlusOne = 4;

    bytes32 public merkleRoot;

    //stores wallet addresses that have been approved and the amount of reserved mints they hold
    mapping(address => uint) public reservedMints;

    enum ContractState {
        OFF,
        PRESALE,
        PUBLIC
    }
    ContractState public contractState = ContractState.OFF;

    string public placeholderURI;
    string public baseURI;

    address public recipient;

    constructor() ERC721A("ZODIAC X TAS", "ZDC") {
        placeholderURI = "ipfs://QmdBxKai7C67qKjNKeq9mteeWjvVJpPrMDoy8mwxRgCC2w/";

        //address that will recieve mint funds
        recipient = msg.sender;

        //team mints
        _safeMint(0xBEf0197c5799d44f38D7c37c11a77a73EFc405CC, 20);
        _safeMint(0xcB94aE6a21a1852aD2aE8fD04B13c66DC915b4Cc, 20);
        _safeMint(0x1804361ca4860c4f17AaBb4fb8D43EcF45090C68, 10);
        _safeMint(0x96C42b8072Dfbb12B483cF59C1fA098c16300a2A, 10);
        _safeMint(0x086EeBF1729BaCc4E4266524490079C8a9Eb0E30, 60);
        _safeMint(0xA69DB2C1Ea4093F6E7d98EB1895FB6FA5437A340, 60);
        _safeMint(0x051d3C00aDfE65D38fA23cAECF5705893fFc9DC1, 120);
        _safeMint(0x6Fe5756CDb20958192b7B1ad3303349290aEd54b, 120);
        _safeMint(0xD2b9f766D937912D4500beAA3077B64Bdf291529, 30);
        _safeMint(0x56B47d4e14Ad835D2984e1449e78889fe0CA3C79, 10);
        _safeMint(0xD42585Db037f95480228581825b7E61bad7d85c4, 10);
        _safeMint(0x7082b2CD2A0A3d8264949Aa749431Ac804ba8534, 50);

    }

    //
    // Modifiers
    //

    /**
     * Do not allow calls from other contracts.
     */
    modifier noBots() {
        require(msg.sender == tx.origin, "No bots!");
        _;
    }

    /**
     * Ensure current state is correct for this method.
     */
    modifier isContractState(ContractState contractState_) {
        require(contractState == contractState_, "Invalid state");
        _;
    }

    /**
     * Ensure amount of tokens to mint is within the limit.
     */
    modifier withinMintLimit(uint256 quantity) {
        require((_totalMinted() + quantity) < maxSalePlusOne, "Exceeds available tokens");
        _;
    }

    //
    // Mint
    //

    /**
     * Public mint.
     * @param quantity Amount of tokens to mint.
     */
    function mintPublic(uint256 quantity)
        external
        noBots
        isContractState(ContractState.PUBLIC)
        withinMintLimit(quantity)
    {
        require(_numberMinted(msg.sender) + quantity < publicSaleAllowancePlusOne, "Exceeds allowance!");
        _safeMint(msg.sender, quantity);
    }

    /**
     * Mint tokens during the presale.
     * @notice This function is only available to those on the allowlist.
     * @param quantity The number of tokens to mint.
     * @param proof The Merkle proof used to validate the leaf is in the root.
     */
    function mintPresale(uint256 quantity, bytes32[] calldata proof, bytes32 leaf)
        external
        noBots
        isContractState(ContractState.PRESALE)
        withinMintLimit(quantity)
    {
        require(_numberMinted(msg.sender) + quantity < presaleAllowancePlusOne, "Exceeds allowance!");
        require(verify(merkleRoot, leaf, proof), "Not a valid proof!");
        _safeMint(msg.sender, quantity);
    }


    /**
     * Team reserved mint.
     * @param quantity Amount of tokens to mint.
     */
    function mintReserved(uint256 quantity) external withinMintLimit(quantity) {
        require(msg.sender == owner() || reservedMints[msg.sender] - quantity > 0, "Not Approved for this amount of Reserved Mints!");
        _safeMint(msg.sender, quantity);
        reservedMints[msg.sender] = reservedMints[msg.sender] - quantity;
    }

    /**
     * Add members to reserved mints list
     * @param memberList Addresses to reserve to.
     * @param quantityList Amounts of tokens to reserve.
     */
    function addReservedMints(address[] calldata memberList, uint[] calldata quantityList) public onlyOwner {
        require(memberList.length == quantityList.length, "Lists must be the same length!");
        for (uint i; i < memberList.length; i++) {
            reservedMints[memberList[i]] += quantityList[i];
        }
    }

    /**
     * Remove reserved mints from wallets
     * @param memberList Addresses to reserve to.
     * @param quantityList Amounts of tokens to reserve.
     */
    function removeReservedMints(address[] calldata memberList, uint[] calldata quantityList) public onlyOwner {
        require(memberList.length == quantityList.length, "Lists must be the same length!");
        for (uint i; i < memberList.length; i++) {
            require(reservedMints[memberList[i]] >= quantityList[i], "Removing more reserved mints than the address posseses!");
            reservedMints[memberList[i]] = reservedMints[memberList[i]] - quantityList[i];
        }
    }

    //
    // Admin
    //

    /**
     * Set contract state.
     * @param contractState_ The new state of the contract.
     */
    function setContractState(uint contractState_) external onlyOwner {
        require(contractState_ < 3, "Invalid Contract State!");
        if (contractState_ == 0) {
            contractState = ContractState.OFF;
        }
        else if (contractState_ == 1) {
            contractState = ContractState.PRESALE;
        }
        else {
            contractState = ContractState.PUBLIC;
        }
        
    }

    /**
     * Update maximum number of tokens for sale.
     * @param maxSale The maximum number of tokens available for sale.
     */
    function setMaxSale(uint256 maxSale) external onlyOwner {
        uint256 maxSalePlusOne_ = maxSale + 1;
        require(maxSalePlusOne_ < maxSalePlusOne, "Can only reduce supply");
        maxSalePlusOne = maxSalePlusOne_;
    }

    /**
     * Update presale allowance.
     * @param presaleAllowance The new presale allowance.
     */
    function setPresaleAllowance(uint256 presaleAllowance) external onlyOwner {
        presaleAllowancePlusOne = presaleAllowance + 1;
    }

    /**
     * Set the presale Merkle root.
     * @dev The Merkle root is calculated from [address, allowance] pairs.
     * @param merkleRoot_ The new merkle roo
     */
    function setMerkleRoot(bytes32 merkleRoot_) external onlyOwner {
        merkleRoot = merkleRoot_;
    }

    /**
     * Sets base URI.
     * @param baseURI_ The base URI
     */
    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    /**
     * Sets placeholder URI.
     * @param placeholderURI_ The placeholder URI
     */
    function setPlaceholderURI(string memory placeholderURI_) external onlyOwner {
        placeholderURI = placeholderURI_;
    }

    /**
     * Update wallet that will recieve funds.
     * @param newRecipient The new address that will recieve funds
     */
    function setRecipient(address newRecipient) external onlyOwner {
        require(newRecipient != address(0), "Cannot be the 0 address!");
        recipient = newRecipient;
    }


    //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(recipient), 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");
    }

    //
    // Views
    //

    /**
     * The block.timestamp when this token was transferred to the current owner.
     * @param tokenId The token id to query
     */
    function ownedSince(uint256 tokenId) public view returns (uint256) {
        return _ownershipOf(tokenId).startTimestamp;
    }

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

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

    /// @inheritdoc IERC165
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A) returns (bool) {
        return ERC721A.supportsInterface(interfaceId);
    }

    /**
     * Verify the Merkle proof is valid.
     * @param root The Merkle root. Use the value stored in the contract
     * @param leaf The leaf. A [address, availableAmt] pair
     * @param proof The Merkle proof used to validate the leaf is in the root
     */
    function verify(
        bytes32 root,
        bytes32 leaf,
        bytes32[] memory proof
    ) public pure returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    /**
     * Get the current amount of Eth stored
     */
    function accountBalance() public view returns(uint) {
        return address(this).balance;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"accountBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"memberList","type":"address[]"},{"internalType":"uint256[]","name":"quantityList","type":"uint256[]"}],"name":"addReservedMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractState","outputs":[{"internalType":"enum Zodiac.ContractState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"mintPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownedSince","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleAllowancePlusOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleAllowancePlusOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"memberList","type":"address[]"},{"internalType":"uint256[]","name":"quantityList","type":"uint256[]"}],"name":"removeReservedMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reservedMints","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contractState_","type":"uint256"}],"name":"setContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSale","type":"uint256"}],"name":"setMaxSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI_","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presaleAllowance","type":"uint256"}],"name":"setPresaleAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRecipient","type":"address"}],"name":"setRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610e11600a556002600b556004600c55600f805460ff191690553480156200002b57600080fd5b50604080518082018252600c81526b5a4f4449414320582054415360a01b6020808301918252835180850190945260038452625a444360e81b9084015281519192916200007b91600291620005db565b50805162000091906003906020840190620005db565b50506000805550620000a3336200027c565b60016009556040805160608101909152603680825262002f7060208301398051620000d791601091602090910190620005db565b50601280546001600160a01b031916331790556200010b73bef0197c5799d44f38d7c37c11a77a73efc405cc6014620002ce565b6200012c73cb94ae6a21a1852ad2ae8fd04b13c66dc915b4cc6014620002ce565b6200014d731804361ca4860c4f17aabb4fb8d43ecf45090c68600a620002ce565b6200016e7396c42b8072dfbb12b483cf59c1fa098c16300a2a600a620002ce565b6200018f73086eebf1729bacc4e4266524490079c8a9eb0e30603c620002ce565b620001b073a69db2c1ea4093f6e7d98eb1895fb6fa5437a340603c620002ce565b620001d173051d3c00adfe65d38fa23caecf5705893ffc9dc16078620002ce565b620001f2736fe5756cdb20958192b7b1ad3303349290aed54b6078620002ce565b6200021373d2b9f766d937912d4500beaa3077b64bdf291529601e620002ce565b620002347356b47d4e14ad835d2984e1449e78889fe0ca3c79600a620002ce565b6200025573d42585db037f95480228581825b7e61bad7d85c4600a620002ce565b62000276737082b2cd2a0a3d8264949aa749431ac804ba85346032620002ce565b6200076c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002f0828260405180602001604052806000815250620002f460201b60201c565b5050565b62000303838383600162000308565b505050565b6000546001600160a01b0385166200033257604051622e076360e81b815260040160405180910390fd5b83620003515760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156200040a57506200040a876001600160a01b0316620004cb60201b620015f51760201c565b156200048a575b60405182906001600160a01b0389169060009060008051602062002fa6833981519152908290a460018201916200044e90600090899088620004da565b6200046c576040516368d2bf6b60e11b815260040160405180910390fd5b80821415620004115782600054146200048457600080fd5b620004c0565b5b6040516001830192906001600160a01b0389169060009060008051602062002fa6833981519152908290a4808214156200048b575b506000555050505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200051190339089908890889060040162000681565b602060405180830381600087803b1580156200052c57600080fd5b505af19250505080156200055f575060408051601f3d908101601f191682019092526200055c91810190620006fc565b60015b620005be573d80801562000590576040519150601f19603f3d011682016040523d82523d6000602084013e62000595565b606091505b508051620005b6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620005e9906200072f565b90600052602060002090601f0160209004810192826200060d576000855562000658565b82601f106200062857805160ff191683800117855562000658565b8280016001018555821562000658579182015b82811115620006585782518255916020019190600101906200063b565b50620006669291506200066a565b5090565b5b808211156200066657600081556001016200066b565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620006d05785810182015185820160a001528101620006b2565b82811115620006e357600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200070f57600080fd5b81516001600160e01b0319811681146200072857600080fd5b9392505050565b600181811c908216806200074457607f821691505b602082108114156200076657634e487b7160e01b600052602260045260246000fd5b50919050565b6127f4806200077c6000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c8063675968721161014657806398faca6d116100c3578063c87b56dd11610087578063c87b56dd146104d9578063dcf13a46146104ec578063e985e9c5146104ff578063efd0cbf91461053b578063f2fde38b1461054e578063fb7265ff1461056157600080fd5b806398faca6d146104875780639a5d140b1461049a578063a22cb465146104ad578063b0a1c1c4146104c0578063b88d4fde146104c657600080fd5b80637cb647591161010a5780637cb647591461043857806385209ee01461044b5780638684105b146104655780638da5cb5b1461046e57806395d89b411461047f57600080fd5b806367596872146103fa5780636c0360eb1461040d57806370a0823114610415578063715018a6146104285780637313cba91461043057600080fd5b80633423e548116101d457806355f804b31161019857806355f804b31461038e5780635a485599146103a15780636352211e146103b457806363da4ced146103c757806366d003ac146103e757600080fd5b80633423e5481461033a5780633574a2dd1461034d5780633bbed4a0146103605780633ccfd60b1461037357806342842e0e1461037b57600080fd5b80630ffccf241161021b5780630ffccf24146102e857806318160ddd146102ff57806323b872dd1461030b5780632eb4a7ab1461031e57806332e6ea481461032757600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc1461029557806308290dc5146102c0578063095ea7b3146102d5575b600080fd5b61026b61026636600461201e565b610574565b60405190151581526020015b60405180910390f35b610288610585565b604051610277919061209a565b6102a86102a33660046120ad565b610617565b6040516001600160a01b039091168152602001610277565b6102d36102ce3660046120ad565b61065b565b005b6102d36102e33660046120e2565b6106ed565b6102f1600c5481565b604051908152602001610277565b600154600054036102f1565b6102d361031936600461210c565b61077b565b6102f1600d5481565b6102d3610335366004612193565b610786565b61026b610348366004612244565b61089c565b6102d361035b366004612355565b6108b1565b6102d361036e36600461239d565b6108f2565b6102d3610994565b6102d361038936600461210c565b610a30565b6102d361039c366004612355565b610a4b565b6102f16103af3660046120ad565b610a88565b6102a86103c23660046120ad565b610aa6565b6102f16103d536600461239d565b600e6020526000908152604090205481565b6012546102a8906001600160a01b031681565b6102d36104083660046120ad565b610ab8565b610288610af3565b6102f161042336600461239d565b610b81565b6102d3610bcf565b610288610c05565b6102d36104463660046120ad565b610c12565b600f546104589060ff1681565b60405161027791906123ce565b6102f1600b5481565b6008546001600160a01b03166102a8565b610288610c41565b6102d3610495366004612193565b610c50565b6102d36104a83660046120ad565b610e73565b6102d36104bb3660046123f6565b610f76565b476102f1565b6102d36104d4366004612432565b61100c565b6102886104e73660046120ad565b61105d565b6102d36104fa3660046124ad565b61118f565b61026b61050d3660046124ff565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d36105493660046120ad565b611359565b6102d361055c36600461239d565b61149a565b6102d361056f3660046120ad565b611532565b600061057f82611604565b92915050565b60606002805461059490612532565b80601f01602080910402602001604051908101604052809291908181526020018280546105c090612532565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b5050505050905090565b600061062282611654565b61063f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331461068e5760405162461bcd60e51b81526004016106859061256d565b60405180910390fd5b600061069b8260016125b8565b9050600a5481106106e75760405162461bcd60e51b815260206004820152601660248201527543616e206f6e6c792072656475636520737570706c7960501b6044820152606401610685565b600a5550565b60006106f882610aa6565b9050806001600160a01b0316836001600160a01b0316141561072d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061074d575061074b813361050d565b155b1561076b576040516367d9dca160e11b815260040160405180910390fd5b61077683838361167f565b505050565b6107768383836116db565b6008546001600160a01b031633146107b05760405162461bcd60e51b81526004016106859061256d565b8281146107ff5760405162461bcd60e51b815260206004820152601e60248201527f4c69737473206d757374206265207468652073616d65206c656e6774682100006044820152606401610685565b60005b838110156108955782828281811061081c5761081c6125d0565b90506020020135600e6000878785818110610839576108396125d0565b905060200201602081019061084e919061239d565b6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461087d91906125b8565b9091555081905061088d816125e6565b915050610802565b5050505050565b60006108a98285856118c6565b949350505050565b6008546001600160a01b031633146108db5760405162461bcd60e51b81526004016106859061256d565b80516108ee906010906020840190611f6f565b5050565b6008546001600160a01b0316331461091c5760405162461bcd60e51b81526004016106859061256d565b6001600160a01b0381166109725760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420626520746865203020616464726573732100000000000000006044820152606401610685565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146109be5760405162461bcd60e51b81526004016106859061256d565b4780610a175760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610685565b601254610a2d906001600160a01b0316826118dc565b50565b6107768383836040518060200160405280600081525061100c565b6008546001600160a01b03163314610a755760405162461bcd60e51b81526004016106859061256d565b80516108ee906011906020840190611f6f565b6000610a9382611976565b602001516001600160401b031692915050565b6000610ab182611976565b5192915050565b6008546001600160a01b03163314610ae25760405162461bcd60e51b81526004016106859061256d565b610aed8160016125b8565b600b5550565b60118054610b0090612532565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2c90612532565b8015610b795780601f10610b4e57610100808354040283529160200191610b79565b820191906000526020600020905b815481529060010190602001808311610b5c57829003601f168201915b505050505081565b60006001600160a01b038216610baa576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610bf95760405162461bcd60e51b81526004016106859061256d565b610c036000611a90565b565b60108054610b0090612532565b6008546001600160a01b03163314610c3c5760405162461bcd60e51b81526004016106859061256d565b600d55565b60606003805461059490612532565b6008546001600160a01b03163314610c7a5760405162461bcd60e51b81526004016106859061256d565b828114610cc95760405162461bcd60e51b815260206004820152601e60248201527f4c69737473206d757374206265207468652073616d65206c656e6774682100006044820152606401610685565b60005b8381101561089557828282818110610ce657610ce66125d0565b90506020020135600e6000878785818110610d0357610d036125d0565b9050602002016020810190610d18919061239d565b6001600160a01b03166001600160a01b03168152602001908152602001600020541015610dad5760405162461bcd60e51b815260206004820152603760248201527f52656d6f76696e67206d6f7265207265736572766564206d696e74732074686160448201527f6e20746865206164647265737320706f737365736573210000000000000000006064820152608401610685565b828282818110610dbf57610dbf6125d0565b90506020020135600e6000878785818110610ddc57610ddc6125d0565b9050602002016020810190610df1919061239d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610e1c9190612601565b600e6000878785818110610e3257610e326125d0565b9050602002016020810190610e47919061239d565b6001600160a01b0316815260208101919091526040016000205580610e6b816125e6565b915050610ccc565b80600a5481610e8160005490565b610e8b91906125b8565b10610ea85760405162461bcd60e51b815260040161068590612618565b6008546001600160a01b0316331480610ed95750336000908152600e6020526040812054610ed7908490612601565b115b610f3d5760405162461bcd60e51b815260206004820152602f60248201527f4e6f7420417070726f76656420666f72207468697320616d6f756e74206f662060448201526e5265736572766564204d696e74732160881b6064820152608401610685565b610f473383611ae2565b336000908152600e6020526040902054610f62908390612601565b336000908152600e60205260409020555050565b6001600160a01b038216331415610fa05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110178484846116db565b6001600160a01b0383163b15158015611039575061103784848484611afc565b155b15611057576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061106c8261ffff16611654565b6110b85760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610685565b6000601180546110c790612532565b90501161115e57601080546110db90612532565b80601f016020809104026020016040519081016040528092919081815260200182805461110790612532565b80156111545780601f1061112957610100808354040283529160200191611154565b820191906000526020600020905b81548152906001019060200180831161113757829003601f168201915b505050505061057f565b601161116983611bf3565b60405160200161117a92919061266b565b60405160208183030381529060405292915050565b3332146111c95760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610685565b600180600f5460ff1660028111156111e3576111e36123b8565b146112205760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610685565b84600a548161122e60005490565b61123891906125b8565b106112555760405162461bcd60e51b815260040161068590612618565b600b54336000908152600560205260409020548790600160401b90046001600160401b031661128491906125b8565b106112c65760405162461bcd60e51b81526020600482015260126024820152714578636565647320616c6c6f77616e63652160701b6044820152606401610685565b611306600d548487878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061089c92505050565b6113475760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610685565b6113513387611ae2565b505050505050565b3332146113935760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610685565b600280600f5460ff1660028111156113ad576113ad6123b8565b146113ea5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610685565b81600a54816113f860005490565b61140291906125b8565b1061141f5760405162461bcd60e51b815260040161068590612618565b600c54336000908152600560205260409020548490600160401b90046001600160401b031661144e91906125b8565b106114905760405162461bcd60e51b81526020600482015260126024820152714578636565647320616c6c6f77616e63652160701b6044820152606401610685565b6107763384611ae2565b6008546001600160a01b031633146114c45760405162461bcd60e51b81526004016106859061256d565b6001600160a01b0381166115295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610685565b610a2d81611a90565b6008546001600160a01b0316331461155c5760405162461bcd60e51b81526004016106859061256d565b600381106115ac5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420436f6e7472616374205374617465210000000000000000006044820152606401610685565b806115c957600f80546000919060ff19166001835b021790555050565b80600114156115e557600f80546001919060ff191682806115c1565b50600f805460ff19166002179055565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b148061163557506001600160e01b03198216635b5e139f60e01b145b8061057f57506301ffc9a760e01b6001600160e01b031983161461057f565b600080548210801561057f575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006116e682611976565b9050836001600160a01b031681600001516001600160a01b03161461171d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061173b575061173b853361050d565b8061175657503361174b84610617565b6001600160a01b0316145b90508061177657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661179d57604051633a954ecd60e21b815260040160405180910390fd5b6117a96000848761167f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661187d57600054821461187d57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610895565b6000826118d38584611cf0565b14949350505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611929576040519150601f19603f3d011682016040523d82523d6000602084013e61192e565b606091505b50509050806107765760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610685565b604080516060810182526000808252602082018190529181019190915281600054811015611a7757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611a755780516001600160a01b031615611a0c579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611a70579392505050565b611a0c565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108ee828260405180602001604052806000815250611d9c565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b31903390899088908890600401612726565b602060405180830381600087803b158015611b4b57600080fd5b505af1925050508015611b7b575060408051601f3d908101601f19168201909252611b7891810190612763565b60015b611bd6573d808015611ba9576040519150601f19603f3d011682016040523d82523d6000602084013e611bae565b606091505b508051611bce576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081611c175750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c415780611c2b816125e6565b9150611c3a9050600a83612796565b9150611c1b565b6000816001600160401b03811115611c5b57611c5b6121fe565b6040519080825280601f01601f191660200182016040528015611c85576020820181803683370190505b5090505b84156108a957611c9a600183612601565b9150611ca7600a866127aa565b611cb29060306125b8565b60f81b818381518110611cc757611cc76125d0565b60200101906001600160f81b031916908160001a905350611ce9600a86612796565b9450611c89565b600081815b8451811015611d94576000858281518110611d1257611d126125d0565b60200260200101519050808311611d54576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d81565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d8c816125e6565b915050611cf5565b509392505050565b61077683838360016000546001600160a01b038516611dcd57604051622e076360e81b815260040160405180910390fd5b83611deb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611e9757506001600160a01b0387163b15155b15611f20575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611ee86000888480600101955088611afc565b611f05576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611e9d578260005414611f1b57600080fd5b611f66565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611f21575b50600055610895565b828054611f7b90612532565b90600052602060002090601f016020900481019282611f9d5760008555611fe3565b82601f10611fb657805160ff1916838001178555611fe3565b82800160010185558215611fe3579182015b82811115611fe3578251825591602001919060010190611fc8565b50611fef929150611ff3565b5090565b5b80821115611fef5760008155600101611ff4565b6001600160e01b031981168114610a2d57600080fd5b60006020828403121561203057600080fd5b813561203b81612008565b9392505050565b60005b8381101561205d578181015183820152602001612045565b838111156110575750506000910152565b60008151808452612086816020860160208601612042565b601f01601f19169290920160200192915050565b60208152600061203b602083018461206e565b6000602082840312156120bf57600080fd5b5035919050565b80356001600160a01b03811681146120dd57600080fd5b919050565b600080604083850312156120f557600080fd5b6120fe836120c6565b946020939093013593505050565b60008060006060848603121561212157600080fd5b61212a846120c6565b9250612138602085016120c6565b9150604084013590509250925092565b60008083601f84011261215a57600080fd5b5081356001600160401b0381111561217157600080fd5b6020830191508360208260051b850101111561218c57600080fd5b9250929050565b600080600080604085870312156121a957600080fd5b84356001600160401b03808211156121c057600080fd5b6121cc88838901612148565b909650945060208701359150808211156121e557600080fd5b506121f287828801612148565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561223c5761223c6121fe565b604052919050565b60008060006060848603121561225957600080fd5b83359250602080850135925060408501356001600160401b038082111561227f57600080fd5b818701915087601f83011261229357600080fd5b8135818111156122a5576122a56121fe565b8060051b91506122b6848301612214565b818152918301840191848101908a8411156122d057600080fd5b938501935b838510156122ee578435825293850193908501906122d5565b8096505050505050509250925092565b60006001600160401b03831115612317576123176121fe565b61232a601f8401601f1916602001612214565b905082815283838301111561233e57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561236757600080fd5b81356001600160401b0381111561237d57600080fd5b8201601f8101841361238e57600080fd5b6108a9848235602084016122fe565b6000602082840312156123af57600080fd5b61203b826120c6565b634e487b7160e01b600052602160045260246000fd5b60208101600383106123f057634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561240957600080fd5b612412836120c6565b91506020830135801515811461242757600080fd5b809150509250929050565b6000806000806080858703121561244857600080fd5b612451856120c6565b935061245f602086016120c6565b92506040850135915060608501356001600160401b0381111561248157600080fd5b8501601f8101871361249257600080fd5b6124a1878235602084016122fe565b91505092959194509250565b600080600080606085870312156124c357600080fd5b8435935060208501356001600160401b038111156124e057600080fd5b6124ec87828801612148565b9598909750949560400135949350505050565b6000806040838503121561251257600080fd5b61251b836120c6565b9150612529602084016120c6565b90509250929050565b600181811c9082168061254657607f821691505b6020821081141561256757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156125cb576125cb6125a2565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156125fa576125fa6125a2565b5060010190565b600082821015612613576126136125a2565b500390565b60208082526018908201527f4578636565647320617661696c61626c6520746f6b656e730000000000000000604082015260600190565b60008151612661818560208601612042565b9290920192915050565b600080845481600182811c91508083168061268757607f831692505b60208084108214156126a757634e487b7160e01b86526022600452602486fd5b8180156126bb57600181146126cc576126f9565b60ff198616895284890196506126f9565b60008b81526020902060005b868110156126f15781548b8201529085019083016126d8565b505084890196505b50505050505061271d61270c828661264f565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127599083018461206e565b9695505050505050565b60006020828403121561277557600080fd5b815161203b81612008565b634e487b7160e01b600052601260045260246000fd5b6000826127a5576127a5612780565b500490565b6000826127b9576127b9612780565b50069056fea26469706673582212201355af5b86d2728953dceb2fd91fdff05fa40ae718599873bad1279fe9b8dbee64736f6c63430008090033697066733a2f2f516d6442784b616937433637714b6a4e4b6571396d746565576a76564a7050724d446f79386d77785267434332772fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102535760003560e01c8063675968721161014657806398faca6d116100c3578063c87b56dd11610087578063c87b56dd146104d9578063dcf13a46146104ec578063e985e9c5146104ff578063efd0cbf91461053b578063f2fde38b1461054e578063fb7265ff1461056157600080fd5b806398faca6d146104875780639a5d140b1461049a578063a22cb465146104ad578063b0a1c1c4146104c0578063b88d4fde146104c657600080fd5b80637cb647591161010a5780637cb647591461043857806385209ee01461044b5780638684105b146104655780638da5cb5b1461046e57806395d89b411461047f57600080fd5b806367596872146103fa5780636c0360eb1461040d57806370a0823114610415578063715018a6146104285780637313cba91461043057600080fd5b80633423e548116101d457806355f804b31161019857806355f804b31461038e5780635a485599146103a15780636352211e146103b457806363da4ced146103c757806366d003ac146103e757600080fd5b80633423e5481461033a5780633574a2dd1461034d5780633bbed4a0146103605780633ccfd60b1461037357806342842e0e1461037b57600080fd5b80630ffccf241161021b5780630ffccf24146102e857806318160ddd146102ff57806323b872dd1461030b5780632eb4a7ab1461031e57806332e6ea481461032757600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc1461029557806308290dc5146102c0578063095ea7b3146102d5575b600080fd5b61026b61026636600461201e565b610574565b60405190151581526020015b60405180910390f35b610288610585565b604051610277919061209a565b6102a86102a33660046120ad565b610617565b6040516001600160a01b039091168152602001610277565b6102d36102ce3660046120ad565b61065b565b005b6102d36102e33660046120e2565b6106ed565b6102f1600c5481565b604051908152602001610277565b600154600054036102f1565b6102d361031936600461210c565b61077b565b6102f1600d5481565b6102d3610335366004612193565b610786565b61026b610348366004612244565b61089c565b6102d361035b366004612355565b6108b1565b6102d361036e36600461239d565b6108f2565b6102d3610994565b6102d361038936600461210c565b610a30565b6102d361039c366004612355565b610a4b565b6102f16103af3660046120ad565b610a88565b6102a86103c23660046120ad565b610aa6565b6102f16103d536600461239d565b600e6020526000908152604090205481565b6012546102a8906001600160a01b031681565b6102d36104083660046120ad565b610ab8565b610288610af3565b6102f161042336600461239d565b610b81565b6102d3610bcf565b610288610c05565b6102d36104463660046120ad565b610c12565b600f546104589060ff1681565b60405161027791906123ce565b6102f1600b5481565b6008546001600160a01b03166102a8565b610288610c41565b6102d3610495366004612193565b610c50565b6102d36104a83660046120ad565b610e73565b6102d36104bb3660046123f6565b610f76565b476102f1565b6102d36104d4366004612432565b61100c565b6102886104e73660046120ad565b61105d565b6102d36104fa3660046124ad565b61118f565b61026b61050d3660046124ff565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d36105493660046120ad565b611359565b6102d361055c36600461239d565b61149a565b6102d361056f3660046120ad565b611532565b600061057f82611604565b92915050565b60606002805461059490612532565b80601f01602080910402602001604051908101604052809291908181526020018280546105c090612532565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b5050505050905090565b600061062282611654565b61063f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331461068e5760405162461bcd60e51b81526004016106859061256d565b60405180910390fd5b600061069b8260016125b8565b9050600a5481106106e75760405162461bcd60e51b815260206004820152601660248201527543616e206f6e6c792072656475636520737570706c7960501b6044820152606401610685565b600a5550565b60006106f882610aa6565b9050806001600160a01b0316836001600160a01b0316141561072d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061074d575061074b813361050d565b155b1561076b576040516367d9dca160e11b815260040160405180910390fd5b61077683838361167f565b505050565b6107768383836116db565b6008546001600160a01b031633146107b05760405162461bcd60e51b81526004016106859061256d565b8281146107ff5760405162461bcd60e51b815260206004820152601e60248201527f4c69737473206d757374206265207468652073616d65206c656e6774682100006044820152606401610685565b60005b838110156108955782828281811061081c5761081c6125d0565b90506020020135600e6000878785818110610839576108396125d0565b905060200201602081019061084e919061239d565b6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461087d91906125b8565b9091555081905061088d816125e6565b915050610802565b5050505050565b60006108a98285856118c6565b949350505050565b6008546001600160a01b031633146108db5760405162461bcd60e51b81526004016106859061256d565b80516108ee906010906020840190611f6f565b5050565b6008546001600160a01b0316331461091c5760405162461bcd60e51b81526004016106859061256d565b6001600160a01b0381166109725760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420626520746865203020616464726573732100000000000000006044820152606401610685565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146109be5760405162461bcd60e51b81526004016106859061256d565b4780610a175760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610685565b601254610a2d906001600160a01b0316826118dc565b50565b6107768383836040518060200160405280600081525061100c565b6008546001600160a01b03163314610a755760405162461bcd60e51b81526004016106859061256d565b80516108ee906011906020840190611f6f565b6000610a9382611976565b602001516001600160401b031692915050565b6000610ab182611976565b5192915050565b6008546001600160a01b03163314610ae25760405162461bcd60e51b81526004016106859061256d565b610aed8160016125b8565b600b5550565b60118054610b0090612532565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2c90612532565b8015610b795780601f10610b4e57610100808354040283529160200191610b79565b820191906000526020600020905b815481529060010190602001808311610b5c57829003601f168201915b505050505081565b60006001600160a01b038216610baa576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610bf95760405162461bcd60e51b81526004016106859061256d565b610c036000611a90565b565b60108054610b0090612532565b6008546001600160a01b03163314610c3c5760405162461bcd60e51b81526004016106859061256d565b600d55565b60606003805461059490612532565b6008546001600160a01b03163314610c7a5760405162461bcd60e51b81526004016106859061256d565b828114610cc95760405162461bcd60e51b815260206004820152601e60248201527f4c69737473206d757374206265207468652073616d65206c656e6774682100006044820152606401610685565b60005b8381101561089557828282818110610ce657610ce66125d0565b90506020020135600e6000878785818110610d0357610d036125d0565b9050602002016020810190610d18919061239d565b6001600160a01b03166001600160a01b03168152602001908152602001600020541015610dad5760405162461bcd60e51b815260206004820152603760248201527f52656d6f76696e67206d6f7265207265736572766564206d696e74732074686160448201527f6e20746865206164647265737320706f737365736573210000000000000000006064820152608401610685565b828282818110610dbf57610dbf6125d0565b90506020020135600e6000878785818110610ddc57610ddc6125d0565b9050602002016020810190610df1919061239d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610e1c9190612601565b600e6000878785818110610e3257610e326125d0565b9050602002016020810190610e47919061239d565b6001600160a01b0316815260208101919091526040016000205580610e6b816125e6565b915050610ccc565b80600a5481610e8160005490565b610e8b91906125b8565b10610ea85760405162461bcd60e51b815260040161068590612618565b6008546001600160a01b0316331480610ed95750336000908152600e6020526040812054610ed7908490612601565b115b610f3d5760405162461bcd60e51b815260206004820152602f60248201527f4e6f7420417070726f76656420666f72207468697320616d6f756e74206f662060448201526e5265736572766564204d696e74732160881b6064820152608401610685565b610f473383611ae2565b336000908152600e6020526040902054610f62908390612601565b336000908152600e60205260409020555050565b6001600160a01b038216331415610fa05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110178484846116db565b6001600160a01b0383163b15158015611039575061103784848484611afc565b155b15611057576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061106c8261ffff16611654565b6110b85760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610685565b6000601180546110c790612532565b90501161115e57601080546110db90612532565b80601f016020809104026020016040519081016040528092919081815260200182805461110790612532565b80156111545780601f1061112957610100808354040283529160200191611154565b820191906000526020600020905b81548152906001019060200180831161113757829003601f168201915b505050505061057f565b601161116983611bf3565b60405160200161117a92919061266b565b60405160208183030381529060405292915050565b3332146111c95760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610685565b600180600f5460ff1660028111156111e3576111e36123b8565b146112205760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610685565b84600a548161122e60005490565b61123891906125b8565b106112555760405162461bcd60e51b815260040161068590612618565b600b54336000908152600560205260409020548790600160401b90046001600160401b031661128491906125b8565b106112c65760405162461bcd60e51b81526020600482015260126024820152714578636565647320616c6c6f77616e63652160701b6044820152606401610685565b611306600d548487878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061089c92505050565b6113475760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610685565b6113513387611ae2565b505050505050565b3332146113935760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610685565b600280600f5460ff1660028111156113ad576113ad6123b8565b146113ea5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610685565b81600a54816113f860005490565b61140291906125b8565b1061141f5760405162461bcd60e51b815260040161068590612618565b600c54336000908152600560205260409020548490600160401b90046001600160401b031661144e91906125b8565b106114905760405162461bcd60e51b81526020600482015260126024820152714578636565647320616c6c6f77616e63652160701b6044820152606401610685565b6107763384611ae2565b6008546001600160a01b031633146114c45760405162461bcd60e51b81526004016106859061256d565b6001600160a01b0381166115295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610685565b610a2d81611a90565b6008546001600160a01b0316331461155c5760405162461bcd60e51b81526004016106859061256d565b600381106115ac5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420436f6e7472616374205374617465210000000000000000006044820152606401610685565b806115c957600f80546000919060ff19166001835b021790555050565b80600114156115e557600f80546001919060ff191682806115c1565b50600f805460ff19166002179055565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b148061163557506001600160e01b03198216635b5e139f60e01b145b8061057f57506301ffc9a760e01b6001600160e01b031983161461057f565b600080548210801561057f575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006116e682611976565b9050836001600160a01b031681600001516001600160a01b03161461171d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061173b575061173b853361050d565b8061175657503361174b84610617565b6001600160a01b0316145b90508061177657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661179d57604051633a954ecd60e21b815260040160405180910390fd5b6117a96000848761167f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661187d57600054821461187d57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610895565b6000826118d38584611cf0565b14949350505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611929576040519150601f19603f3d011682016040523d82523d6000602084013e61192e565b606091505b50509050806107765760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610685565b604080516060810182526000808252602082018190529181019190915281600054811015611a7757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611a755780516001600160a01b031615611a0c579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611a70579392505050565b611a0c565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108ee828260405180602001604052806000815250611d9c565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b31903390899088908890600401612726565b602060405180830381600087803b158015611b4b57600080fd5b505af1925050508015611b7b575060408051601f3d908101601f19168201909252611b7891810190612763565b60015b611bd6573d808015611ba9576040519150601f19603f3d011682016040523d82523d6000602084013e611bae565b606091505b508051611bce576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081611c175750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c415780611c2b816125e6565b9150611c3a9050600a83612796565b9150611c1b565b6000816001600160401b03811115611c5b57611c5b6121fe565b6040519080825280601f01601f191660200182016040528015611c85576020820181803683370190505b5090505b84156108a957611c9a600183612601565b9150611ca7600a866127aa565b611cb29060306125b8565b60f81b818381518110611cc757611cc76125d0565b60200101906001600160f81b031916908160001a905350611ce9600a86612796565b9450611c89565b600081815b8451811015611d94576000858281518110611d1257611d126125d0565b60200260200101519050808311611d54576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d81565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d8c816125e6565b915050611cf5565b509392505050565b61077683838360016000546001600160a01b038516611dcd57604051622e076360e81b815260040160405180910390fd5b83611deb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611e9757506001600160a01b0387163b15155b15611f20575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611ee86000888480600101955088611afc565b611f05576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611e9d578260005414611f1b57600080fd5b611f66565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611f21575b50600055610895565b828054611f7b90612532565b90600052602060002090601f016020900481019282611f9d5760008555611fe3565b82601f10611fb657805160ff1916838001178555611fe3565b82800160010185558215611fe3579182015b82811115611fe3578251825591602001919060010190611fc8565b50611fef929150611ff3565b5090565b5b80821115611fef5760008155600101611ff4565b6001600160e01b031981168114610a2d57600080fd5b60006020828403121561203057600080fd5b813561203b81612008565b9392505050565b60005b8381101561205d578181015183820152602001612045565b838111156110575750506000910152565b60008151808452612086816020860160208601612042565b601f01601f19169290920160200192915050565b60208152600061203b602083018461206e565b6000602082840312156120bf57600080fd5b5035919050565b80356001600160a01b03811681146120dd57600080fd5b919050565b600080604083850312156120f557600080fd5b6120fe836120c6565b946020939093013593505050565b60008060006060848603121561212157600080fd5b61212a846120c6565b9250612138602085016120c6565b9150604084013590509250925092565b60008083601f84011261215a57600080fd5b5081356001600160401b0381111561217157600080fd5b6020830191508360208260051b850101111561218c57600080fd5b9250929050565b600080600080604085870312156121a957600080fd5b84356001600160401b03808211156121c057600080fd5b6121cc88838901612148565b909650945060208701359150808211156121e557600080fd5b506121f287828801612148565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561223c5761223c6121fe565b604052919050565b60008060006060848603121561225957600080fd5b83359250602080850135925060408501356001600160401b038082111561227f57600080fd5b818701915087601f83011261229357600080fd5b8135818111156122a5576122a56121fe565b8060051b91506122b6848301612214565b818152918301840191848101908a8411156122d057600080fd5b938501935b838510156122ee578435825293850193908501906122d5565b8096505050505050509250925092565b60006001600160401b03831115612317576123176121fe565b61232a601f8401601f1916602001612214565b905082815283838301111561233e57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561236757600080fd5b81356001600160401b0381111561237d57600080fd5b8201601f8101841361238e57600080fd5b6108a9848235602084016122fe565b6000602082840312156123af57600080fd5b61203b826120c6565b634e487b7160e01b600052602160045260246000fd5b60208101600383106123f057634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561240957600080fd5b612412836120c6565b91506020830135801515811461242757600080fd5b809150509250929050565b6000806000806080858703121561244857600080fd5b612451856120c6565b935061245f602086016120c6565b92506040850135915060608501356001600160401b0381111561248157600080fd5b8501601f8101871361249257600080fd5b6124a1878235602084016122fe565b91505092959194509250565b600080600080606085870312156124c357600080fd5b8435935060208501356001600160401b038111156124e057600080fd5b6124ec87828801612148565b9598909750949560400135949350505050565b6000806040838503121561251257600080fd5b61251b836120c6565b9150612529602084016120c6565b90509250929050565b600181811c9082168061254657607f821691505b6020821081141561256757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156125cb576125cb6125a2565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156125fa576125fa6125a2565b5060010190565b600082821015612613576126136125a2565b500390565b60208082526018908201527f4578636565647320617661696c61626c6520746f6b656e730000000000000000604082015260600190565b60008151612661818560208601612042565b9290920192915050565b600080845481600182811c91508083168061268757607f831692505b60208084108214156126a757634e487b7160e01b86526022600452602486fd5b8180156126bb57600181146126cc576126f9565b60ff198616895284890196506126f9565b60008b81526020902060005b868110156126f15781548b8201529085019083016126d8565b505084890196505b50505050505061271d61270c828661264f565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127599083018461206e565b9695505050505050565b60006020828403121561277557600080fd5b815161203b81612008565b634e487b7160e01b600052601260045260246000fd5b6000826127a5576127a5612780565b500490565b6000826127b9576127b9612780565b50069056fea26469706673582212201355af5b86d2728953dceb2fd91fdff05fa40ae718599873bad1279fe9b8dbee64736f6c63430008090033

Deployed Bytecode Sourcemap

49374:9553:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58116:164;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;58116:164:0;;;;;;;;34729:100;;;:::i;:::-;;;;;;;:::i;36232:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;36232:204:0;1550:203:1;55328:233:0;;;;;;:::i;:::-;;:::i;:::-;;35795:371;;;;;;:::i;:::-;;:::i;49619:45::-;;;;;;;;;2341:25:1;;;2329:2;2314:18;49619:45:0;2195:177:1;30865:303:0;31119:12;;30909:7;31103:13;:28;30865:303;;37097:170;;;;;;:::i;:::-;;:::i;49673:25::-;;;;;;53604:331;;;;;;:::i;:::-;;:::i;58562:192::-;;;;;;:::i;:::-;;:::i;56403:128::-;;;;;;:::i;:::-;;:::i;56672:180::-;;;;;;:::i;:::-;;:::i;56910:211::-;;;:::i;37338:185::-;;;;;;:::i;:::-;;:::i;56196:100::-;;;;;;:::i;:::-;;:::i;57564:129::-;;;;;;:::i;:::-;;:::i;34537:125::-;;;;;;:::i;:::-;;:::i;49805:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;50068:24;;;;;-1:-1:-1;;;;;50068:24:0;;;55680:139;;;;;;:::i;:::-;;:::i;50038:21::-;;;:::i;31985:206::-;;;;;;:::i;:::-;;:::i;5499:103::-;;;:::i;50003:28::-;;;:::i;56004:106::-;;;;;;:::i;:::-;;:::i;49940:54::-;;;;;;;;;;;;;;;;:::i;49570:42::-;;;;;;4848:87;4921:6;;-1:-1:-1;;;;;4921:6:0;4848:87;;34898:104;;;:::i;54113:494::-;;;;;;:::i;:::-;;:::i;53090:336::-;;;;;;:::i;:::-;;:::i;36508:287::-;;;;;;:::i;:::-;;:::i;58825:99::-;58895:21;58825:99;;37594:369;;;;;;:::i;:::-;;:::i;57764:315::-;;;;;;:::i;:::-;;:::i;52556:428::-;;;;;;:::i;:::-;;:::i;36866:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;36987:25:0;;;36963:4;36987:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36866:164;51965:316;;;;;;:::i;:::-;;:::i;5757:201::-;;;;;;:::i;:::-;;:::i;54754:426::-;;;;;;:::i;:::-;;:::i;58116:164::-;58210:4;58234:38;58260:11;58234:25;:38::i;:::-;58227:45;58116:164;-1:-1:-1;;58116:164:0:o;34729:100::-;34783:13;34816:5;34809:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34729:100;:::o;36232:204::-;36300:7;36325:16;36333:7;36325;:16::i;:::-;36320:64;;36350:34;;-1:-1:-1;;;36350:34:0;;;;;;;;;;;36320:64;-1:-1:-1;36404:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36404:24:0;;36232:204::o;55328:233::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;;;;;;;;;55395:23:::1;55421:11;:7:::0;55431:1:::1;55421:11;:::i;:::-;55395:37;;55469:14;;55451:15;:32;55443:67;;;::::0;-1:-1:-1;;;55443:67:0;;10348:2:1;55443:67:0::1;::::0;::::1;10330:21:1::0;10387:2;10367:18;;;10360:30;-1:-1:-1;;;10406:18:1;;;10399:52;10468:18;;55443:67:0::1;10146:346:1::0;55443:67:0::1;55521:14;:32:::0;-1:-1:-1;55328:233:0:o;35795:371::-;35868:13;35884:24;35900:7;35884:15;:24::i;:::-;35868:40;;35929:5;-1:-1:-1;;;;;35923:11:0;:2;-1:-1:-1;;;;;35923:11:0;;35919:48;;;35943:24;;-1:-1:-1;;;35943:24:0;;;;;;;;;;;35919:48;3652:10;-1:-1:-1;;;;;35984:21:0;;;;;;:63;;-1:-1:-1;36010:37:0;36027:5;3652:10;36866:164;:::i;36010:37::-;36009:38;35984:63;35980:138;;;36071:35;;-1:-1:-1;;;36071:35:0;;;;;;;;;;;35980:138;36130:28;36139:2;36143:7;36152:5;36130:8;:28::i;:::-;35857:309;35795:371;;:::o;37097:170::-;37231:28;37241:4;37247:2;37251:7;37231:9;:28::i;53604:331::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;53727:40;;::::1;53719:83;;;::::0;-1:-1:-1;;;53719:83:0;;10699:2:1;53719:83:0::1;::::0;::::1;10681:21:1::0;10738:2;10718:18;;;10711:30;10777:32;10757:18;;;10750:60;10827:18;;53719:83:0::1;10497:354:1::0;53719:83:0::1;53818:6;53813:115;53826:21:::0;;::::1;53813:115;;;53901:12;;53914:1;53901:15;;;;;;;:::i;:::-;;;;;;;53869:13;:28;53883:10;;53894:1;53883:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;53869:28:0::1;-1:-1:-1::0;;;;;53869:28:0::1;;;;;;;;;;;;;:47;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;53849:3:0;;-1:-1:-1;53849:3:0::1;::::0;::::1;:::i;:::-;;;;53813:115;;;;53604:331:::0;;;;:::o;58562:192::-;58685:4;58709:37;58728:5;58735:4;58741;58709:18;:37::i;:::-;58702:44;58562:192;-1:-1:-1;;;;58562:192:0:o;56403:128::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;56491:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;56403:128:::0;:::o;56672:180::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56754:26:0;::::1;56746:63;;;::::0;-1:-1:-1;;;56746:63:0;;11330:2:1;56746:63:0::1;::::0;::::1;11312:21:1::0;11369:2;11349:18;;;11342:30;11408:26;11388:18;;;11381:54;11452:18;;56746:63:0::1;11128:348:1::0;56746:63:0::1;56820:9;:24:::0;;-1:-1:-1;;;;;;56820:24:0::1;-1:-1:-1::0;;;;;56820:24:0;;;::::1;::::0;;;::::1;::::0;;56672:180::o;56910:211::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;58895:21;57011:11;57003:58:::1;;;::::0;-1:-1:-1;;;57003:58:0;;11683:2:1;57003:58:0::1;::::0;::::1;11665:21:1::0;11722:2;11702:18;;;11695:30;11761:34;11741:18;;;11734:62;-1:-1:-1;;;11812:18:1;;;11805:32;11854:19;;57003:58:0::1;11481:398:1::0;57003:58:0::1;57092:9;::::0;57074:38:::1;::::0;-1:-1:-1;;;;;57092:9:0::1;57104:7:::0;57074:9:::1;:38::i;:::-;56947:174;56910:211::o:0;37338:185::-;37476:39;37493:4;37499:2;37503:7;37476:39;;;;;;;;;;;;:16;:39::i;56196:100::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;56270:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;57564:129::-:0;57622:7;57649:21;57662:7;57649:12;:21::i;:::-;:36;;;-1:-1:-1;;;;;57642:43:0;;57564:129;-1:-1:-1;;57564:129:0:o;34537:125::-;34601:7;34628:21;34641:7;34628:12;:21::i;:::-;:26;;34537:125;-1:-1:-1;;34537:125:0:o;55680:139::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;55791:20:::1;:16:::0;55810:1:::1;55791:20;:::i;:::-;55765:23;:46:::0;-1:-1:-1;55680:139:0:o;50038:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31985:206::-;32049:7;-1:-1:-1;;;;;32073:19:0;;32069:60;;32101:28;;-1:-1:-1;;;32101:28:0;;;;;;;;;;;32069:60;-1:-1:-1;;;;;;32155:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;32155:27:0;;31985:206::o;5499:103::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;5564:30:::1;5591:1;5564:18;:30::i;:::-;5499:103::o:0;50003:28::-;;;;;;;:::i;56004:106::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;56078:10:::1;:24:::0;56004:106::o;34898:104::-;34954:13;34987:7;34980:14;;;;;:::i;54113:494::-;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;54239:40;;::::1;54231:83;;;::::0;-1:-1:-1;;;54231:83:0;;10699:2:1;54231:83:0::1;::::0;::::1;10681:21:1::0;10738:2;10718:18;;;10711:30;10777:32;10757:18;;;10750:60;10827:18;;54231:83:0::1;10497:354:1::0;54231:83:0::1;54330:6;54325:275;54338:21:::0;;::::1;54325:275;;;54421:12;;54434:1;54421:15;;;;;;;:::i;:::-;;;;;;;54389:13;:28;54403:10;;54414:1;54403:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;54389:28:0::1;-1:-1:-1::0;;;;;54389:28:0::1;;;;;;;;;;;;;:47;;54381:115;;;::::0;-1:-1:-1;;;54381:115:0;;12086:2:1;54381:115:0::1;::::0;::::1;12068:21:1::0;12125:2;12105:18;;;12098:30;12164:34;12144:18;;;12137:62;12235:25;12215:18;;;12208:53;12278:19;;54381:115:0::1;11884:419:1::0;54381:115:0::1;54573:12;;54586:1;54573:15;;;;;;;:::i;:::-;;;;;;;54542:13;:28;54556:10;;54567:1;54556:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;54542:28:0::1;-1:-1:-1::0;;;;;54542:28:0::1;;;;;;;;;;;;;:46;;;;:::i;:::-;54511:13;:28;54525:10;;54536:1;54525:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;54511:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;54511:28:0;:77;54361:3;::::1;::::0;::::1;:::i;:::-;;;;54325:275;;53090:336:::0;53155:8;51774:14;;51762:8;51745:14;31308:7;31494:13;;31261:283;51745:14;:25;;;;:::i;:::-;51744:44;51736:81;;;;-1:-1:-1;;;51736:81:0;;;;;;;:::i;:::-;4921:6;;-1:-1:-1;;;;;4921:6:0;53184:10:::1;:21;::::0;:65:::1;;-1:-1:-1::0;53223:10:0::1;53248:1;53209:25:::0;;;:13:::1;:25;::::0;;;;;:36:::1;::::0;53237:8;;53209:36:::1;:::i;:::-;:40;53184:65;53176:125;;;::::0;-1:-1:-1;;;53176:125:0;;12993:2:1;53176:125:0::1;::::0;::::1;12975:21:1::0;13032:2;13012:18;;;13005:30;13071:34;13051:18;;;13044:62;-1:-1:-1;;;13122:18:1;;;13115:45;13177:19;;53176:125:0::1;12791:411:1::0;53176:125:0::1;53312:31;53322:10;53334:8;53312:9;:31::i;:::-;53396:10;53382:25;::::0;;;:13:::1;:25;::::0;;;;;:36:::1;::::0;53410:8;;53382:36:::1;:::i;:::-;53368:10;53354:25;::::0;;;:13:::1;:25;::::0;;;;:64;-1:-1:-1;;53090:336:0:o;36508:287::-;-1:-1:-1;;;;;36607:24:0;;3652:10;36607:24;36603:54;;;36640:17;;-1:-1:-1;;;36640:17:0;;;;;;;;;;;36603:54;3652:10;36670:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36670:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36670:53:0;;;;;;;;;;36739:48;;540:41:1;;;36670:42:0;;3652:10;36739:48;;513:18:1;36739:48:0;;;;;;;36508:287;;:::o;37594:369::-;37761:28;37771:4;37777:2;37781:7;37761:9;:28::i;:::-;-1:-1:-1;;;;;37804:13:0;;7844:19;:23;;37804:76;;;;;37824:56;37855:4;37861:2;37865:7;37874:5;37824:30;:56::i;:::-;37823:57;37804:76;37800:156;;;37904:40;;-1:-1:-1;;;37904:40:0;;;;;;;;;;;37800:156;37594:369;;;;:::o;57764:315::-;57837:13;57871:24;57886:7;57871:24;;:7;:24::i;:::-;57863:68;;;;-1:-1:-1;;;57863:68:0;;13409:2:1;57863:68:0;;;13391:21:1;13448:2;13428:18;;;13421:30;13487:33;13467:18;;;13460:61;13538:18;;57863:68:0;13207:355:1;57863:68:0;57988:1;57970:7;57964:21;;;;;:::i;:::-;;;:25;:107;;58057:14;57964:107;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58016:7;58025:18;:7;:16;:18::i;:::-;57999:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57944:127;57764:315;-1:-1:-1;;57764:315:0:o;52556:428::-;51313:10;51327:9;51313:23;51305:44;;;;-1:-1:-1;;;51305:44:0;;15509:2:1;51305:44:0;;;15491:21:1;15548:1;15528:18;;;15521:29;-1:-1:-1;;;15566:18:1;;;15559:38;15614:18;;51305:44:0;15307:331:1;51305:44:0;52694:21:::1;::::0;51526:13:::1;::::0;::::1;;:31;::::0;::::1;;;;;;:::i;:::-;;51518:57;;;::::0;-1:-1:-1;;;51518:57:0;;15845:2:1;51518:57:0::1;::::0;::::1;15827:21:1::0;15884:2;15864:18;;;15857:30;-1:-1:-1;;;15903:18:1;;;15896:43;15956:18;;51518:57:0::1;15643:337:1::0;51518:57:0::1;52742:8:::2;51774:14;;51762:8;51745:14;31308:7:::0;31494:13;;31261:283;51745:14:::2;:25;;;;:::i;:::-;51744:44;51736:81;;;;-1:-1:-1::0;;;51736:81:0::2;;;;;;;:::i;:::-;52815:23:::3;::::0;52790:10:::3;32334:7:::0;32369:19;;;:12;:19;;;;;:32;52804:8;;-1:-1:-1;;;32369:32:0;;-1:-1:-1;;;;;32369:32:0;52776:36:::3;;;;:::i;:::-;:62;52768:93;;;::::0;-1:-1:-1;;;52768:93:0;;16187:2:1;52768:93:0::3;::::0;::::3;16169:21:1::0;16226:2;16206:18;;;16199:30;-1:-1:-1;;;16245:18:1;;;16238:48;16303:18;;52768:93:0::3;15985:342:1::0;52768:93:0::3;52880:31;52887:10;;52899:4;52905:5;;52880:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;::::0;;;;-1:-1:-1;52880:6:0::3;::::0;-1:-1:-1;;;52880:31:0:i:3;:::-;52872:62;;;::::0;-1:-1:-1;;;52872:62:0;;16534:2:1;52872:62:0::3;::::0;::::3;16516:21:1::0;16573:2;16553:18;;;16546:30;-1:-1:-1;;;16592:18:1;;;16585:48;16650:18;;52872:62:0::3;16332:342:1::0;52872:62:0::3;52945:31;52955:10;52967:8;52945:9;:31::i;:::-;51586:1:::2;51360::::1;52556:428:::0;;;;:::o;51965:316::-;51313:10;51327:9;51313:23;51305:44;;;;-1:-1:-1;;;51305:44:0;;15509:2:1;51305:44:0;;;15491:21:1;15548:1;15528:18;;;15521:29;-1:-1:-1;;;15566:18:1;;;15559:38;15614:18;;51305:44:0;15307:331:1;51305:44:0;52062:20:::1;::::0;51526:13:::1;::::0;::::1;;:31;::::0;::::1;;;;;;:::i;:::-;;51518:57;;;::::0;-1:-1:-1;;;51518:57:0;;15845:2:1;51518:57:0::1;::::0;::::1;15827:21:1::0;15884:2;15864:18;;;15857:30;-1:-1:-1;;;15903:18:1;;;15896:43;15956:18;;51518:57:0::1;15643:337:1::0;51518:57:0::1;52109:8:::2;51774:14;;51762:8;51745:14;31308:7:::0;31494:13;;31261:283;51745:14:::2;:25;;;;:::i;:::-;51744:44;51736:81;;;;-1:-1:-1::0;;;51736:81:0::2;;;;;;;:::i;:::-;52182:26:::3;::::0;52157:10:::3;32334:7:::0;32369:19;;;:12;:19;;;;;:32;52171:8;;-1:-1:-1;;;32369:32:0;;-1:-1:-1;;;;;32369:32:0;52143:36:::3;;;;:::i;:::-;:65;52135:96;;;::::0;-1:-1:-1;;;52135:96:0;;16187:2:1;52135:96:0::3;::::0;::::3;16169:21:1::0;16226:2;16206:18;;;16199:30;-1:-1:-1;;;16245:18:1;;;16238:48;16303:18;;52135:96:0::3;15985:342:1::0;52135:96:0::3;52242:31;52252:10;52264:8;52242:9;:31::i;5757:201::-:0;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5846:22:0;::::1;5838:73;;;::::0;-1:-1:-1;;;5838:73:0;;16881:2:1;5838:73:0::1;::::0;::::1;16863:21:1::0;16920:2;16900:18;;;16893:30;16959:34;16939:18;;;16932:62;-1:-1:-1;;;17010:18:1;;;17003:36;17056:19;;5838:73:0::1;16679:402:1::0;5838:73:0::1;5922:28;5941:8;5922:18;:28::i;54754:426::-:0;4921:6;;-1:-1:-1;;;;;4921:6:0;3652:10;5068:23;5060:68;;;;-1:-1:-1;;;5060:68:0;;;;;;;:::i;:::-;54856:1:::1;54839:14;:18;54831:54;;;::::0;-1:-1:-1;;;54831:54:0;;17288:2:1;54831:54:0::1;::::0;::::1;17270:21:1::0;17327:2;17307:18;;;17300:30;17366:25;17346:18;;;17339:53;17409:18;;54831:54:0::1;17086:347:1::0;54831:54:0::1;54900:19:::0;54896:267:::1;;54936:13;:33:::0;;54952:17:::1;::::0;54936:13;-1:-1:-1;;54936:33:0::1;::::0;54952:17;54936:33:::1;;;;;;56947:174;56910:211::o:0;54896:267::-:1;55000:14;55018:1;55000:19;54996:167;;;55036:13;:37:::0;;55052:21:::1;::::0;55036:13;-1:-1:-1;;55036:37:0::1;55052:21:::0;;55036:37:::1;::::0;54996:167:::1;-1:-1:-1::0;55115:13:0::1;:36:::0;;-1:-1:-1;;55115:36:0::1;55131:20;55115:36;::::0;;54754:426::o;7549:326::-;-1:-1:-1;;;;;7844:19:0;;:23;;;7549:326::o;31616:305::-;31718:4;-1:-1:-1;;;;;;31755:40:0;;-1:-1:-1;;;31755:40:0;;:105;;-1:-1:-1;;;;;;;31812:48:0;;-1:-1:-1;;;31812:48:0;31755:105;:158;;;-1:-1:-1;;;;;;;;;;17741:40:0;;;31877:36;17632:157;38218:187;38275:4;38339:13;;38329:7;:23;38299:98;;;;-1:-1:-1;;38370:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;38370:27:0;;;;38369:28;;38218:187::o;46388:196::-;46503:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;46503:29:0;-1:-1:-1;;;;;46503:29:0;;;;;;;;;46548:28;;46503:24;;46548:28;;;;;;;46388:196;;;:::o;41331:2130::-;41446:35;41484:21;41497:7;41484:12;:21::i;:::-;41446:59;;41544:4;-1:-1:-1;;;;;41522:26:0;:13;:18;;;-1:-1:-1;;;;;41522:26:0;;41518:67;;41557:28;;-1:-1:-1;;;41557:28:0;;;;;;;;;;;41518:67;41598:22;3652:10;-1:-1:-1;;;;;41624:20:0;;;;:73;;-1:-1:-1;41661:36:0;41678:4;3652:10;36866:164;:::i;41661:36::-;41624:126;;;-1:-1:-1;3652:10:0;41714:20;41726:7;41714:11;:20::i;:::-;-1:-1:-1;;;;;41714:36:0;;41624:126;41598:153;;41769:17;41764:66;;41795:35;;-1:-1:-1;;;41795:35:0;;;;;;;;;;;41764:66;-1:-1:-1;;;;;41845:16:0;;41841:52;;41870:23;;-1:-1:-1;;;41870:23:0;;;;;;;;;;;41841:52;42014:35;42031:1;42035:7;42044:4;42014:8;:35::i;:::-;-1:-1:-1;;;;;42345:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;42345:31:0;;;-1:-1:-1;;;;;42345:31:0;;;-1:-1:-1;;42345:31:0;;;;;;;42391:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;42391:29:0;;;;;;;;;;;42471:20;;;:11;:20;;;;;;42506:18;;-1:-1:-1;;;;;;42539:49:0;;;;-1:-1:-1;;;42572:15:0;42539:49;;;;;;;;;;42862:11;;42922:24;;;;;42965:13;;42471:20;;42922:24;;42965:13;42961:384;;43175:13;;43160:11;:28;43156:174;;43213:20;;43282:28;;;;-1:-1:-1;;;;;43256:54:0;-1:-1:-1;;;43256:54:0;-1:-1:-1;;;;;;43256:54:0;;;-1:-1:-1;;;;;43213:20:0;;43256:54;;;;43156:174;42320:1036;;;43392:7;43388:2;-1:-1:-1;;;;;43373:27:0;43382:4;-1:-1:-1;;;;;43373:27:0;;;;;;;;;;;43411:42;37594:369;26195:190;26320:4;26373;26344:25;26357:5;26364:4;26344:12;:25::i;:::-;:33;;26195:190;-1:-1:-1;;;;26195:190:0:o;57196:183::-;57277:9;57292:7;-1:-1:-1;;;;;57292:12:0;57312:6;57292:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57276:47;;;57342:4;57334:37;;;;-1:-1:-1;;;57334:37:0;;17850:2:1;57334:37:0;;;17832:21:1;17889:2;17869:18;;;17862:30;-1:-1:-1;;;17908:18:1;;;17901:50;17968:18;;57334:37:0;17648:344:1;33366:1109:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;33477:7:0;33560:13;;33553:4;:20;33522:886;;;33594:31;33628:17;;;:11;:17;;;;;;;;;33594:51;;;;;;;;;-1:-1:-1;;;;;33594:51:0;;;;-1:-1:-1;;;33594:51:0;;-1:-1:-1;;;;;33594:51:0;;;;;;;;-1:-1:-1;;;33594:51:0;;;;;;;;;;;;;;33664:729;;33714:14;;-1:-1:-1;;;;;33714:28:0;;33710:101;;33778:9;33366:1109;-1:-1:-1;;;33366:1109:0:o;33710:101::-;-1:-1:-1;;;34153:6:0;34198:17;;;;:11;:17;;;;;;;;;34186:29;;;;;;;;;-1:-1:-1;;;;;34186:29:0;;;;;-1:-1:-1;;;34186:29:0;;-1:-1:-1;;;;;34186:29:0;;;;;;;;-1:-1:-1;;;34186:29:0;;;;;;;;;;;;;34246:28;34242:109;;34314:9;33366:1109;-1:-1:-1;;;33366:1109:0:o;34242:109::-;34113:261;;;33575:833;33522:886;34436:31;;-1:-1:-1;;;34436:31:0;;;;;;;;;;;6118:191;6211:6;;;-1:-1:-1;;;;;6228:17:0;;;-1:-1:-1;;;;;;6228:17:0;;;;;;;6261:40;;6211:6;;;6228:17;6211:6;;6261:40;;6192:16;;6261:40;6181:128;6118:191;:::o;38413:104::-;38482:27;38492:2;38496:8;38482:27;;;;;;;;;;;;:9;:27::i;47076:667::-;47260:72;;-1:-1:-1;;;47260:72:0;;47239:4;;-1:-1:-1;;;;;47260:36:0;;;;;:72;;3652:10;;47311:4;;47317:7;;47326:5;;47260:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47260:72:0;;;;;;;;-1:-1:-1;;47260:72:0;;;;;;;;;;;;:::i;:::-;;;47256:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47494:13:0;;47490:235;;47540:40;;-1:-1:-1;;;47540:40:0;;;;;;;;;;;47490:235;47683:6;47677:13;47668:6;47664:2;47660:15;47653:38;47256:480;-1:-1:-1;;;;;;47379:55:0;-1:-1:-1;;;47379:55:0;;-1:-1:-1;47076:667:0;;;;;;:::o;23699:723::-;23755:13;23976:10;23972:53;;-1:-1:-1;;24003:10:0;;;;;;;;;;;;-1:-1:-1;;;24003:10:0;;;;;23699:723::o;23972:53::-;24050:5;24035:12;24091:78;24098:9;;24091:78;;24124:8;;;;:::i;:::-;;-1:-1:-1;24147:10:0;;-1:-1:-1;24155:2:0;24147:10;;:::i;:::-;;;24091:78;;;24179:19;24211:6;-1:-1:-1;;;;;24201:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24201:17:0;;24179:39;;24229:154;24236:10;;24229:154;;24263:11;24273:1;24263:11;;:::i;:::-;;-1:-1:-1;24332:10:0;24340:2;24332:5;:10;:::i;:::-;24319:24;;:2;:24;:::i;:::-;24306:39;;24289:6;24296;24289:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;24289:56:0;;;;;;;;-1:-1:-1;24360:11:0;24369:2;24360:11;;:::i;:::-;;;24229:154;;26747:701;26830:7;26873:4;26830:7;26888:523;26912:5;:12;26908:1;:16;26888:523;;;26946:20;26969:5;26975:1;26969:8;;;;;;;;:::i;:::-;;;;;;;26946:31;;27012:12;26996;:28;26992:408;;27149:44;;;;;;19287:19:1;;;19322:12;;;19315:28;;;19359:12;;27149:44:0;;;;;;;;;;;;27139:55;;;;;;27124:70;;26992:408;;;27339:44;;;;;;19287:19:1;;;19322:12;;;19315:28;;;19359:12;;27339:44:0;;;;;;;;;;;;27329:55;;;;;;27314:70;;26992:408;-1:-1:-1;26926:3:0;;;;:::i;:::-;;;;26888:523;;;-1:-1:-1;27428:12:0;26747:701;-1:-1:-1;;;26747:701:0:o;38880:163::-;39003:32;39009:2;39013:8;39023:5;39030:4;39441:20;39464:13;-1:-1:-1;;;;;39492:16:0;;39488:48;;39517:19;;-1:-1:-1;;;39517:19:0;;;;;;;;;;;39488:48;39551:13;39547:44;;39573:18;;-1:-1:-1;;;39573:18:0;;;;;;;;;;;39547:44;-1:-1:-1;;;;;39942:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;40001:49:0;;-1:-1:-1;;;;;39942:44:0;;;;;;;40001:49;;;-1:-1:-1;;;;;39942:44:0;;;;;;40001:49;;;;;;;;;;;;;;;;40067:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;40117:66:0;;;;-1:-1:-1;;;40167:15:0;40117:66;;;;;;;;;;40067:25;40264:23;;;40308:4;:23;;;;-1:-1:-1;;;;;;40316:13:0;;7844:19;:23;;40316:15;40304:641;;;40352:314;40383:38;;40408:12;;-1:-1:-1;;;;;40383:38:0;;;40400:1;;40383:38;;40400:1;;40383:38;40449:69;40488:1;40492:2;40496:14;;;;;;40512:5;40449:30;:69::i;:::-;40444:174;;40554:40;;-1:-1:-1;;;40554:40:0;;;;;;;;;;;40444:174;40661:3;40645:12;:19;;40352:314;;40747:12;40730:13;;:29;40726:43;;40761:8;;;40726:43;40304:641;;;40810:120;40841:40;;40866:14;;;;;-1:-1:-1;;;;;40841:40:0;;;40858:1;;40841:40;;40858:1;;40841:40;40925:3;40909:12;:19;;40810:120;;40304:641;-1:-1:-1;40959:13:0;:28;41009:60;37594:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:1;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:1:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;2892:367::-;2955:8;2965:6;3019:3;3012:4;3004:6;3000:17;2996:27;2986:55;;3037:1;3034;3027:12;2986:55;-1:-1:-1;3060:20:1;;-1:-1:-1;;;;;3092:30:1;;3089:50;;;3135:1;3132;3125:12;3089:50;3172:4;3164:6;3160:17;3148:29;;3232:3;3225:4;3215:6;3212:1;3208:14;3200:6;3196:27;3192:38;3189:47;3186:67;;;3249:1;3246;3239:12;3186:67;2892:367;;;;;:::o;3264:773::-;3386:6;3394;3402;3410;3463:2;3451:9;3442:7;3438:23;3434:32;3431:52;;;3479:1;3476;3469:12;3431:52;3519:9;3506:23;-1:-1:-1;;;;;3589:2:1;3581:6;3578:14;3575:34;;;3605:1;3602;3595:12;3575:34;3644:70;3706:7;3697:6;3686:9;3682:22;3644:70;:::i;:::-;3733:8;;-1:-1:-1;3618:96:1;-1:-1:-1;3821:2:1;3806:18;;3793:32;;-1:-1:-1;3837:16:1;;;3834:36;;;3866:1;3863;3856:12;3834:36;;3905:72;3969:7;3958:8;3947:9;3943:24;3905:72;:::i;:::-;3264:773;;;;-1:-1:-1;3996:8:1;-1:-1:-1;;;;3264:773:1:o;4042:127::-;4103:10;4098:3;4094:20;4091:1;4084:31;4134:4;4131:1;4124:15;4158:4;4155:1;4148:15;4174:275;4245:2;4239:9;4310:2;4291:13;;-1:-1:-1;;4287:27:1;4275:40;;-1:-1:-1;;;;;4330:34:1;;4366:22;;;4327:62;4324:88;;;4392:18;;:::i;:::-;4428:2;4421:22;4174:275;;-1:-1:-1;4174:275:1:o;4454:1082::-;4556:6;4564;4572;4625:2;4613:9;4604:7;4600:23;4596:32;4593:52;;;4641:1;4638;4631:12;4593:52;4677:9;4664:23;4654:33;;4706:2;4755;4744:9;4740:18;4727:32;4717:42;;4810:2;4799:9;4795:18;4782:32;-1:-1:-1;;;;;4874:2:1;4866:6;4863:14;4860:34;;;4890:1;4887;4880:12;4860:34;4928:6;4917:9;4913:22;4903:32;;4973:7;4966:4;4962:2;4958:13;4954:27;4944:55;;4995:1;4992;4985:12;4944:55;5031:2;5018:16;5053:2;5049;5046:10;5043:36;;;5059:18;;:::i;:::-;5105:2;5102:1;5098:10;5088:20;;5128:28;5152:2;5148;5144:11;5128:28;:::i;:::-;5190:15;;;5260:11;;;5256:20;;;5221:12;;;;5288:19;;;5285:39;;;5320:1;5317;5310:12;5285:39;5344:11;;;;5364:142;5380:6;5375:3;5372:15;5364:142;;;5446:17;;5434:30;;5397:12;;;;5484;;;;5364:142;;;5525:5;5515:15;;;;;;;;4454:1082;;;;;:::o;5541:407::-;5606:5;-1:-1:-1;;;;;5632:6:1;5629:30;5626:56;;;5662:18;;:::i;:::-;5700:57;5745:2;5724:15;;-1:-1:-1;;5720:29:1;5751:4;5716:40;5700:57;:::i;:::-;5691:66;;5780:6;5773:5;5766:21;5820:3;5811:6;5806:3;5802:16;5799:25;5796:45;;;5837:1;5834;5827:12;5796:45;5886:6;5881:3;5874:4;5867:5;5863:16;5850:43;5940:1;5933:4;5924:6;5917:5;5913:18;5909:29;5902:40;5541:407;;;;;:::o;5953:451::-;6022:6;6075:2;6063:9;6054:7;6050:23;6046:32;6043:52;;;6091:1;6088;6081:12;6043:52;6131:9;6118:23;-1:-1:-1;;;;;6156:6:1;6153:30;6150:50;;;6196:1;6193;6186:12;6150:50;6219:22;;6272:4;6264:13;;6260:27;-1:-1:-1;6250:55:1;;6301:1;6298;6291:12;6250:55;6324:74;6390:7;6385:2;6372:16;6367:2;6363;6359:11;6324:74;:::i;6409:186::-;6468:6;6521:2;6509:9;6500:7;6496:23;6492:32;6489:52;;;6537:1;6534;6527:12;6489:52;6560:29;6579:9;6560:29;:::i;6785:127::-;6846:10;6841:3;6837:20;6834:1;6827:31;6877:4;6874:1;6867:15;6901:4;6898:1;6891:15;6917:346;7067:2;7052:18;;7100:1;7089:13;;7079:144;;7145:10;7140:3;7136:20;7133:1;7126:31;7180:4;7177:1;7170:15;7208:4;7205:1;7198:15;7079:144;7232:25;;;6917:346;:::o;7268:347::-;7333:6;7341;7394:2;7382:9;7373:7;7369:23;7365:32;7362:52;;;7410:1;7407;7400:12;7362:52;7433:29;7452:9;7433:29;:::i;:::-;7423:39;;7512:2;7501:9;7497:18;7484:32;7559:5;7552:13;7545:21;7538:5;7535:32;7525:60;;7581:1;7578;7571:12;7525:60;7604:5;7594:15;;;7268:347;;;;;:::o;7620:667::-;7715:6;7723;7731;7739;7792:3;7780:9;7771:7;7767:23;7763:33;7760:53;;;7809:1;7806;7799:12;7760:53;7832:29;7851:9;7832:29;:::i;:::-;7822:39;;7880:38;7914:2;7903:9;7899:18;7880:38;:::i;:::-;7870:48;;7965:2;7954:9;7950:18;7937:32;7927:42;;8020:2;8009:9;8005:18;7992:32;-1:-1:-1;;;;;8039:6:1;8036:30;8033:50;;;8079:1;8076;8069:12;8033:50;8102:22;;8155:4;8147:13;;8143:27;-1:-1:-1;8133:55:1;;8184:1;8181;8174:12;8133:55;8207:74;8273:7;8268:2;8255:16;8250:2;8246;8242:11;8207:74;:::i;:::-;8197:84;;;7620:667;;;;;;;:::o;8292:573::-;8396:6;8404;8412;8420;8473:2;8461:9;8452:7;8448:23;8444:32;8441:52;;;8489:1;8486;8479:12;8441:52;8525:9;8512:23;8502:33;;8586:2;8575:9;8571:18;8558:32;-1:-1:-1;;;;;8605:6:1;8602:30;8599:50;;;8645:1;8642;8635:12;8599:50;8684:70;8746:7;8737:6;8726:9;8722:22;8684:70;:::i;:::-;8292:573;;8773:8;;-1:-1:-1;8658:96:1;;8855:2;8840:18;8827:32;;8292:573;-1:-1:-1;;;;8292:573:1:o;8870:260::-;8938:6;8946;8999:2;8987:9;8978:7;8974:23;8970:32;8967:52;;;9015:1;9012;9005:12;8967:52;9038:29;9057:9;9038:29;:::i;:::-;9028:39;;9086:38;9120:2;9109:9;9105:18;9086:38;:::i;:::-;9076:48;;8870:260;;;;;:::o;9135:380::-;9214:1;9210:12;;;;9257;;;9278:61;;9332:4;9324:6;9320:17;9310:27;;9278:61;9385:2;9377:6;9374:14;9354:18;9351:38;9348:161;;;9431:10;9426:3;9422:20;9419:1;9412:31;9466:4;9463:1;9456:15;9494:4;9491:1;9484:15;9348:161;;9135:380;;;:::o;9520:356::-;9722:2;9704:21;;;9741:18;;;9734:30;9800:34;9795:2;9780:18;;9773:62;9867:2;9852:18;;9520:356::o;9881:127::-;9942:10;9937:3;9933:20;9930:1;9923:31;9973:4;9970:1;9963:15;9997:4;9994:1;9987:15;10013:128;10053:3;10084:1;10080:6;10077:1;10074:13;10071:39;;;10090:18;;:::i;:::-;-1:-1:-1;10126:9:1;;10013:128::o;10856:127::-;10917:10;10912:3;10908:20;10905:1;10898:31;10948:4;10945:1;10938:15;10972:4;10969:1;10962:15;10988:135;11027:3;-1:-1:-1;;11048:17:1;;11045:43;;;11068:18;;:::i;:::-;-1:-1:-1;11115:1:1;11104:13;;10988:135::o;12308:125::-;12348:4;12376:1;12373;12370:8;12367:34;;;12381:18;;:::i;:::-;-1:-1:-1;12418:9:1;;12308:125::o;12438:348::-;12640:2;12622:21;;;12679:2;12659:18;;;12652:30;12718:26;12713:2;12698:18;;12691:54;12777:2;12762:18;;12438:348::o;13693:185::-;13735:3;13773:5;13767:12;13788:52;13833:6;13828:3;13821:4;13814:5;13810:16;13788:52;:::i;:::-;13856:16;;;;;13693:185;-1:-1:-1;;13693:185:1:o;14001:1301::-;14278:3;14307:1;14340:6;14334:13;14370:3;14392:1;14420:9;14416:2;14412:18;14402:28;;14480:2;14469:9;14465:18;14502;14492:61;;14546:4;14538:6;14534:17;14524:27;;14492:61;14572:2;14620;14612:6;14609:14;14589:18;14586:38;14583:165;;;-1:-1:-1;;;14647:33:1;;14703:4;14700:1;14693:15;14733:4;14654:3;14721:17;14583:165;14764:18;14791:104;;;;14909:1;14904:320;;;;14757:467;;14791:104;-1:-1:-1;;14824:24:1;;14812:37;;14869:16;;;;-1:-1:-1;14791:104:1;;14904:320;13640:1;13633:14;;;13677:4;13664:18;;14999:1;15013:165;15027:6;15024:1;15021:13;15013:165;;;15105:14;;15092:11;;;15085:35;15148:16;;;;15042:10;;15013:165;;;15017:3;;15207:6;15202:3;15198:16;15191:23;;14757:467;;;;;;;15240:56;15265:30;15291:3;15283:6;15265:30;:::i;:::-;-1:-1:-1;;;13943:20:1;;13988:1;13979:11;;13883:113;15240:56;15233:63;14001:1301;-1:-1:-1;;;;;14001:1301:1:o;17997:500::-;-1:-1:-1;;;;;18266:15:1;;;18248:34;;18318:15;;18313:2;18298:18;;18291:43;18365:2;18350:18;;18343:34;;;18413:3;18408:2;18393:18;;18386:31;;;18191:4;;18434:57;;18471:19;;18463:6;18434:57;:::i;:::-;18426:65;17997:500;-1:-1:-1;;;;;;17997:500:1:o;18502:249::-;18571:6;18624:2;18612:9;18603:7;18599:23;18595:32;18592:52;;;18640:1;18637;18630:12;18592:52;18672:9;18666:16;18691:30;18715:5;18691:30;:::i;18756:127::-;18817:10;18812:3;18808:20;18805:1;18798:31;18848:4;18845:1;18838:15;18872:4;18869:1;18862:15;18888:120;18928:1;18954;18944:35;;18959:18;;:::i;:::-;-1:-1:-1;18993:9:1;;18888:120::o;19013:112::-;19045:1;19071;19061:35;;19076:18;;:::i;:::-;-1:-1:-1;19110:9:1;;19013:112::o

Swarm Source

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