ETH Price: $3,671.66 (+1.46%)

Token

ERC-20: Aorist Art (AORIST)
 

Overview

Max Total Supply

500 AORIST

Holders

236

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

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

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

Contract Source Code Verified (Exact Match)

Contract Name:
AoristArt

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-01-25
*/

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts (last updated v4.9.0) (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`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

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

// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/utils/math/Math.sol

// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

// File: @openzeppelin/contracts/utils/math/SignedMath.sol

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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

// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// 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/ERC721.sol

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;







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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

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

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

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

// File: @openzeppelin/contracts/metatx/ERC2771Context.sol

// OpenZeppelin Contracts (last updated v4.7.0) (metatx/ERC2771Context.sol)

pragma solidity ^0.8.9;

/**
 * @dev Context variant with ERC2771 support.
 */
abstract contract ERC2771Context is Context {
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable
    address private immutable _trustedForwarder;

    /// @custom:oz-upgrades-unsafe-allow constructor
    constructor(address trustedForwarder) {
        _trustedForwarder = trustedForwarder;
    }

    function isTrustedForwarder(address forwarder) public view virtual returns (bool) {
        return forwarder == _trustedForwarder;
    }

    function _msgSender() internal view virtual override returns (address sender) {
        if (isTrustedForwarder(msg.sender)) {
            // The assembly code is more direct than the Solidity version using `abi.decode`.
            /// @solidity memory-safe-assembly
            assembly {
                sender := shr(96, calldataload(sub(calldatasize(), 20)))
            }
        } else {
            return super._msgSender();
        }
    }

    function _msgData() internal view virtual override returns (bytes calldata) {
        if (isTrustedForwarder(msg.sender)) {
            return msg.data[:msg.data.length - 20];
        } else {
            return super._msgData();
        }
    }
}

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

// OpenZeppelin Contracts (last updated v4.9.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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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: contracts/Authorizable.sol

pragma solidity ^0.8.0;

contract Authorizable is Ownable {
    mapping(address => bool) public trustees;

    constructor() {}

    modifier onlyAuthorized() {
        require(trustees[_msgSender()] || _msgSender() == owner());
        _;
    }

    function addTrustee(address _trustee) public onlyOwner {
        trustees[_trustee] = true;
    }

    function removeTrustee(address _trustee) public onlyOwner {
        delete trustees[_trustee];
    }
}

// File: contracts/AoristArt.sol

pragma solidity ^0.8.0;



contract AoristArt is ERC721, Authorizable {
    using Strings for uint256;

    struct Edition {
        uint256 artworkId;
        uint256 tokenId;
    }

    struct MintData {
        uint256 artworkId;
        uint256 tokenId;
        address owner;
    }

    // token base URI
    string public tokenBaseURI;

    // contract URI
    string public contractURI;

    // total supply
    uint256 public totalSupply;

    // burnable
    bool public burnable;

    // all editions
    mapping(uint256 => Edition) internal _allEditions;

    // artwork max supplies
    mapping(uint256 => uint256) internal _artworkMaxSupplies; // artworkId => maxSupply

    // artwork total supplies
    mapping(uint256 => uint256) internal _artworkTotalSupplies; // artworkId => totalSupply

    // Mapping from owner to list of owned token IDs
    mapping(address => uint256[]) private _ownedTokens;

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

    constructor(
        string memory name_,
        string memory symbol_,
        bool burnable_,
        string memory contractURI_,
        uint256[] memory artworkIds_,
        uint256[] memory artworkMaxSupplies_
    ) ERC721(name_, symbol_) {
        require(artworkIds_.length > 0, "Aorist: artworkIds_ is empty");
        require(
            artworkMaxSupplies_.length > 0,
            "Aorist: artworkMaxSupplies_ is empty"
        );
        require(
            artworkIds_.length == artworkMaxSupplies_.length,
            "Aorist: artworkMaxSupplies_ and artworkIds_ lengths are not the same"
        );

        contractURI = contractURI_;
        burnable = burnable_;
        // initialize max supply map
        for (uint256 i = 0; i < artworkIds_.length; i++) {
            require(
                _artworkMaxSupplies[artworkIds_[i]] == 0,
                "Aorist: duplicate artwork id"
            );

            require(artworkMaxSupplies_[i] > 0, "Aorist: zero max supply");

            _artworkMaxSupplies[artworkIds_[i]] = artworkMaxSupplies_[i];
        }
    }

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

    /// @notice Get token ID from owner
    function tokensOfOwner(
        address owner
    ) external view returns (uint256[] memory) {
        return _ownedTokens[owner];
    }

    /// @notice Get artwork max supply
    /// @param artworkId a artwork ID
    /// @return uint256 the max supply
    function artworkMaxSupply(
        uint256 artworkId
    ) external view virtual returns (uint256) {
        return _artworkMaxSupplies[artworkId];
    }

    /// @notice Get artwork total supply
    /// @param artworkId an artwork ID
    /// @return uint256 the total supply
    function artworkTotalSupply(
        uint256 artworkId
    ) external view virtual returns (uint256) {
        return _artworkTotalSupplies[artworkId];
    }

    /// @notice Get edition data
    /// @param tokenId a token ID representing the edition
    /// @return Edition the Edition object
    function getToken(
        uint256 tokenId
    ) external view virtual returns (Edition memory) {
        require(_exists(tokenId), "ERC721: invalid token ID");
        return _allEditions[tokenId];
    }

    /// @dev Modify from ERC721Enumerable
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;
        if (from != address(0) && from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to != address(0) && to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /// @dev Modify from ERC721Enumerable
    function _removeTokenFromOwnerEnumeration(
        address from,
        uint256 tokenId
    ) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).
        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

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

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

        delete _ownedTokensIndex[tokenId];
        _ownedTokens[from].pop();
    }

    /// @dev Modify from ERC721Enumerable
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256[] storage tokens = _ownedTokens[to];
        uint256 length = tokens.length;
        tokens.push(tokenId);
        _ownedTokensIndex[tokenId] = length;
    }

    /// @notice Mint new collection of editions
    /// @dev the function iterates over the array of MintData to call function mint
    /// @param data an array of MintData
    function batchMint(
        MintData[] calldata data
    ) external virtual onlyAuthorized {
        for (uint256 i = 0; i < data.length; i++) {
            mint(data[i]);
        }
    }

    /// @notice Mint new edition
    /// @dev the function mints a new edition
    /// @param data a MintData object
    function mint(MintData calldata data) public onlyAuthorized {
        uint256 artworkId = data.artworkId;
        uint256 tokenId = data.tokenId;
        address owner = data.owner;

        require(
            _artworkExists(artworkId),
            string(
                abi.encodePacked(
                    "Aorist: artworkId doesn't exist: ",
                    Strings.toString(artworkId)
                )
            )
        );
        require(
            _artworkTotalSupplies[artworkId] < _artworkMaxSupplies[artworkId],
            "Aorist: no slots available"
        );

        require(owner != address(0), "invalid owner address");

        totalSupply += 1;
        _artworkTotalSupplies[artworkId] += 1;
        _allEditions[tokenId] = Edition(artworkId, tokenId);
        _mint(owner, tokenId);

        emit NewEdition(owner, artworkId, tokenId);
    }

    /// @notice utility function for checking the artwork exists
    function _artworkExists(uint256 artworkId) private view returns (bool) {
        return _artworkMaxSupplies[artworkId] > 0;
    }

    // @notice burn editions
    /// @param tokenIds - the list of token id will be burned
    function burnEditions(uint256[] calldata tokenIds) external {
        require(burnable, "Aorist: token is not burnable");
        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                _isApprovedOrOwner(_msgSender(), tokenIds[i]),
                "ERC721: caller is not token owner nor approved"
            );

            _burnEdition(tokenIds[i]);
        }
    }

    function _burnEdition(uint256 tokenId) internal {
        require(_exists(tokenId), "ERC721: invalid token ID");

        // burn edition
        Edition memory edition = _allEditions[tokenId];
        _artworkTotalSupplies[edition.artworkId] -= 1;
        totalSupply -= 1;
        delete _allEditions[tokenId];
        _burn(tokenId);

        // emit event
        emit BurnEdition(tokenId);
    }

    /// @notice A distinct Uniform Resource Identifier (URI) for a given asset.
    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(
            bytes(tokenBaseURI).length > 0,
            "ERC721Metadata: _tokenBaseURI is empty"
        );
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        return string(abi.encodePacked(tokenBaseURI, "/", tokenId.toString()));
    }

    /// @notice Update the base URI for all tokens
    function setTokenBaseURI(string calldata baseURI_) external onlyOwner {
        require(
            bytes(baseURI_).length > 0,
            "ERC721Metadata: baseURI_ is empty"
        );
        tokenBaseURI = baseURI_;
    }

    /// @notice Update the contract URI
    function setContractURI(string calldata contractURI_) external onlyOwner {
        require(
            bytes(contractURI_).length > 0,
            "ERC721Metadata: contractURI_ is empty"
        );
        contractURI = contractURI_;
        emit ContractURIUpdated();
    }

    event NewEdition(
        address indexed owner,
        uint256 indexed artworkId,
        uint256 indexed tokenId
    );

    event BurnEdition(uint256 indexed tokenId);

    event ContractURIUpdated();
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"bool","name":"burnable_","type":"bool"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"uint256[]","name":"artworkIds_","type":"uint256[]"},{"internalType":"uint256[]","name":"artworkMaxSupplies_","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BurnEdition","type":"event"},{"anonymous":false,"inputs":[],"name":"ContractURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"artworkId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NewEdition","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":[{"internalType":"address","name":"_trustee","type":"address"}],"name":"addTrustee","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":"uint256","name":"artworkId","type":"uint256"}],"name":"artworkMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artworkId","type":"uint256"}],"name":"artworkTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"artworkId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct AoristArt.MintData[]","name":"data","type":"tuple[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnEditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getToken","outputs":[{"components":[{"internalType":"uint256","name":"artworkId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct AoristArt.Edition","name":"","type":"tuple"}],"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":[{"components":[{"internalType":"uint256","name":"artworkId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct AoristArt.MintData","name":"data","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_trustee","type":"address"}],"name":"removeTrustee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setTokenBaseURI","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":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"trustees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162002d1c38038062002d1c833981016040819052620000349162000503565b8585600062000044838262000684565b50600162000053828262000684565b505050620000706200006a6200033960201b60201c565b6200033d565b6000825111620000c75760405162461bcd60e51b815260206004820152601c60248201527f416f726973743a20617274776f726b4964735f20697320656d7074790000000060448201526064015b60405180910390fd5b6000815111620001265760405162461bcd60e51b8152602060048201526024808201527f416f726973743a20617274776f726b4d6178537570706c6965735f20697320656044820152636d70747960e01b6064820152608401620000be565b8051825114620001ad5760405162461bcd60e51b8152602060048201526044602482018190527f416f726973743a20617274776f726b4d6178537570706c6965735f20616e6420908201527f617274776f726b4964735f206c656e6774687320617265206e6f74207468652060648201526373616d6560e01b608482015260a401620000be565b6009620001bb848262000684565b50600b805460ff191685151517905560005b82518110156200032c57600d6000848381518110620001f057620001f062000750565b6020026020010151815260200190815260200160002054600014620002585760405162461bcd60e51b815260206004820152601c60248201527f416f726973743a206475706c696361746520617274776f726b206964000000006044820152606401620000be565b60008282815181106200026f576200026f62000750565b602002602001015111620002c65760405162461bcd60e51b815260206004820152601760248201527f416f726973743a207a65726f206d617820737570706c790000000000000000006044820152606401620000be565b818181518110620002db57620002db62000750565b6020026020010151600d6000858481518110620002fc57620002fc62000750565b60200260200101518152602001908152602001600020819055508080620003239062000766565b915050620001cd565b505050505050506200078e565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620003d057620003d06200038f565b604052919050565b600082601f830112620003ea57600080fd5b81516001600160401b038111156200040657620004066200038f565b60206200041c601f8301601f19168201620003a5565b82815285828487010111156200043157600080fd5b60005b838110156200045157858101830151828201840152820162000434565b506000928101909101919091529392505050565b805180151581146200047657600080fd5b919050565b600082601f8301126200048d57600080fd5b815160206001600160401b03821115620004ab57620004ab6200038f565b8160051b620004bc828201620003a5565b9283528481018201928281019087851115620004d757600080fd5b83870192505b84831015620004f857825182529183019190830190620004dd565b979650505050505050565b60008060008060008060c087890312156200051d57600080fd5b86516001600160401b03808211156200053557600080fd5b620005438a838b01620003d8565b975060208901519150808211156200055a57600080fd5b620005688a838b01620003d8565b96506200057860408a0162000465565b955060608901519150808211156200058f57600080fd5b6200059d8a838b01620003d8565b94506080890151915080821115620005b457600080fd5b620005c28a838b016200047b565b935060a0890151915080821115620005d957600080fd5b50620005e889828a016200047b565b9150509295509295509295565b600181811c908216806200060a57607f821691505b6020821081036200062b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200067f57600081815260208120601f850160051c810160208610156200065a5750805b601f850160051c820191505b818110156200067b5782815560010162000666565b5050505b505050565b81516001600160401b03811115620006a057620006a06200038f565b620006b881620006b18454620005f5565b8462000631565b602080601f831160018114620006f05760008415620006d75750858301515b600019600386901b1c1916600185901b1785556200067b565b600085815260208120601f198616915b82811015620007215788860151825594840194600190910190840162000700565b5085821015620007405787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000600182016200078757634e487b7160e01b600052601160045260246000fd5b5060010190565b61257e806200079e6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80638da5cb5b1161011a578063b88d4fde116100ad578063e8a3d4851161007c578063e8a3d48514610462578063e985e9c51461046a578063eee608a4146104a6578063f2fde38b146104c9578063fc05ea68146104dc57600080fd5b8063b88d4fde146103fb578063c87b56dd1461040e578063dc78ac1c14610421578063e4b50cb81461043457600080fd5b806395d89b41116100e957806395d89b41146103c0578063a07c7ce4146103c8578063a22cb465146103d5578063b2e0c9a0146103e857600080fd5b80638da5cb5b146103695780638ef79e911461037a578063908fed9c1461038d578063938e3d7b146103ad57600080fd5b80632f745c59116101925780636352211e116101615780636352211e1461031b57806370a082311461032e578063715018a6146103415780638462151c1461034957600080fd5b80632f745c59146102cd57806342842e0e146102e057806349267014146102f35780634e99b8001461031357600080fd5b8063095ea7b3116101ce578063095ea7b31461027d57806318160ddd146102905780631e619085146102a757806323b872dd146102ba57600080fd5b806301ffc9a714610200578063031205061461022857806306fdde031461023d578063081812fc14610252575b600080fd5b61021361020e366004611cfb565b6104ef565b60405190151581526020015b60405180910390f35b61023b610236366004611d3b565b610541565b005b61024561056a565b60405161021f9190611da6565b610265610260366004611db9565b6105fc565b6040516001600160a01b03909116815260200161021f565b61023b61028b366004611dd2565b610623565b610299600a5481565b60405190815260200161021f565b61023b6102b5366004611dfc565b61073d565b61023b6102c8366004611e71565b6107ab565b6102996102db366004611dd2565b6107dc565b61023b6102ee366004611e71565b610886565b610299610301366004611db9565b6000908152600d602052604090205490565b6102456108a1565b610265610329366004611db9565b61092f565b61029961033c366004611d3b565b610964565b61023b6109ea565b61035c610357366004611d3b565b6109fe565b60405161021f9190611ead565b6006546001600160a01b0316610265565b61023b610388366004611ef1565b610a6a565b61029961039b366004611db9565b6000908152600e602052604090205490565b61023b6103bb366004611ef1565b610ad6565b610245610b74565b600b546102139060ff1681565b61023b6103e3366004611f51565b610b83565b61023b6103f6366004611f8d565b610b92565b61023b610409366004611fbb565b610d9e565b61024561041c366004611db9565b610dd6565b61023b61042f366004611d3b565b610ee4565b610447610442366004611db9565b610f10565b6040805182518152602092830151928101929092520161021f565b610245610f73565b610213610478366004612097565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102136104b4366004611d3b565b60076020526000908152604090205460ff1681565b61023b6104d7366004611d3b565b610f80565b61023b6104ea3660046120ca565b610ff9565b60006001600160e01b031982166380ac58cd60e01b148061052057506001600160e01b03198216635b5e139f60e01b145b8061053b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b61054961110e565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6060600080546105799061212d565b80601f01602080910402602001604051908101604052809291908181526020018280546105a59061212d565b80156105f25780601f106105c7576101008083540402835291602001916105f2565b820191906000526020600020905b8154815290600101906020018083116105d557829003601f168201915b5050505050905090565b600061060782611168565b506000908152600460205260409020546001600160a01b031690565b600061062e8261092f565b9050806001600160a01b0316836001600160a01b0316036106a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106bc57506106bc8133610478565b61072e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610697565b610738838361118d565b505050565b3360009081526007602052604090205460ff168061076557506006546001600160a01b031633145b61076e57600080fd5b60005b818110156107385761079983838381811061078e5761078e612161565b905060600201610b92565b806107a38161218d565b915050610771565b6107b533826111fb565b6107d15760405162461bcd60e51b8152600401610697906121a6565b61073883838361127a565b60006107e783610964565b82106108495760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610697565b6001600160a01b0383166000908152600f6020526040902080548390811061087357610873612161565b9060005260206000200154905092915050565b61073883838360405180602001604052806000815250610d9e565b600880546108ae9061212d565b80601f01602080910402602001604051908101604052809291908181526020018280546108da9061212d565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b505050505081565b6000818152600260205260408120546001600160a01b03168061053b5760405162461bcd60e51b8152600401610697906121f3565b60006001600160a01b0382166109ce5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610697565b506001600160a01b031660009081526003602052604090205490565b6109f261110e565b6109fc60006113eb565b565b6001600160a01b0381166000908152600f6020908152604091829020805483518184028101840190945280845260609392830182828015610a5e57602002820191906000526020600020905b815481526020019060010190808311610a4a575b50505050509050919050565b610a7261110e565b80610ac95760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a20626173655552495f20697320656d70746044820152607960f81b6064820152608401610697565b6008610738828483612278565b610ade61110e565b80610b395760405162461bcd60e51b815260206004820152602560248201527f4552433732314d657461646174613a20636f6e74726163745552495f20697320604482015264656d70747960d81b6064820152608401610697565b6009610b46828483612278565b506040517fa5d4097edda6d87cb9329af83fb3712ef77eeb13738ffe43cc35a4ce305ad96290600090a15050565b6060600180546105799061212d565b610b8e33838361143d565b5050565b3360009081526007602052604090205460ff1680610bba57506006546001600160a01b031633145b610bc357600080fd5b803560208201356000610bdc6060850160408601611d3b565b6000848152600d60205260409020549091501515610bf98461150b565b604051602001610c099190612338565b60405160208183030381529060405290610c365760405162461bcd60e51b81526004016106979190611da6565b506000838152600d6020908152604080832054600e9092529091205410610c9f5760405162461bcd60e51b815260206004820152601a60248201527f416f726973743a206e6f20736c6f747320617661696c61626c650000000000006044820152606401610697565b6001600160a01b038116610ced5760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206f776e6572206164647265737360581b6044820152606401610697565b6001600a6000828254610d009190612387565b90915550506000838152600e60205260408120805460019290610d24908490612387565b909155505060408051808201825284815260208082018581526000868152600c909252929020905181559051600190910155610d60818361159e565b8183826001600160a01b03167f876a02a3a508719e24c9d5e7c990547da63e73400bdb38331c267d2395b201ed60405160405180910390a450505050565b610da833836111fb565b610dc45760405162461bcd60e51b8152600401610697906121a6565b610dd084848484611719565b50505050565b6060600060088054610de79061212d565b905011610e455760405162461bcd60e51b815260206004820152602660248201527f4552433732314d657461646174613a205f746f6b656e4261736555524920697360448201526520656d70747960d01b6064820152608401610697565b610e4e8261174c565b610eb25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610697565b6008610ebd8361150b565b604051602001610ece92919061239a565b6040516020818303038152906040529050919050565b610eec61110e565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6040805180820190915260008082526020820152610f2d8261174c565b610f495760405162461bcd60e51b8152600401610697906121f3565b506000908152600c6020908152604091829020825180840190935280548352600101549082015290565b600980546108ae9061212d565b610f8861110e565b6001600160a01b038116610fed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b610ff6816113eb565b50565b600b5460ff1661104b5760405162461bcd60e51b815260206004820152601d60248201527f416f726973743a20746f6b656e206973206e6f74206275726e61626c650000006044820152606401610697565b60005b81811015610738576110783384848481811061106c5761106c612161565b905060200201356111fb565b6110db5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610697565b6110fc8383838181106110f0576110f0612161565b90506020020135611769565b806111068161218d565b91505061104e565b6006546001600160a01b031633146109fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610697565b6111718161174c565b610ff65760405162461bcd60e51b8152600401610697906121f3565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111c28261092f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112078361092f565b9050806001600160a01b0316846001600160a01b0316148061124e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806112725750836001600160a01b0316611267846105fc565b6001600160a01b0316145b949350505050565b826001600160a01b031661128d8261092f565b6001600160a01b0316146112b35760405162461bcd60e51b81526004016106979061242e565b6001600160a01b0382166113155760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610697565b611322838383600161183f565b826001600160a01b03166113358261092f565b6001600160a01b03161461135b5760405162461bcd60e51b81526004016106979061242e565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03160361149e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610697565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060600061151883611959565b600101905060008167ffffffffffffffff81111561153857611538611fa5565b6040519080825280601f01601f191660200182016040528015611562576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461156c57509392505050565b6001600160a01b0382166115f45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610697565b6115fd8161174c565b1561164a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b61165860008383600161183f565b6116618161174c565b156116ae5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61172484848461127a565b61173084848484611a31565b610dd05760405162461bcd60e51b815260040161069790612473565b6000908152600260205260409020546001600160a01b0316151590565b6117728161174c565b61178e5760405162461bcd60e51b8152600401610697906121f3565b6000818152600c60209081526040808320815180830183528154808252600192830154828601528552600e9093529083208054929391929091906117d39084906124c5565b925050819055506001600a60008282546117ed91906124c5565b90915550506000828152600c602052604081208181556001015561181082611b32565b60405182907f63b0170c51b735e5700704ca421bef19b7190bf1d8fbf09181d7e60a3764f07e90600090a25050565b60018111156118ae5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610697565b816001600160a01b038516158015906118d95750836001600160a01b0316856001600160a01b031614155b156118e8576118e88582611bd5565b6001600160a01b038416158015906119125750846001600160a01b0316846001600160a01b031614155b15611952576001600160a01b0384166000908152600f60209081526040808320805460018101825590845282842081018590558484526010909252909120555b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119985772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106119c4576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106119e257662386f26fc10000830492506010015b6305f5e10083106119fa576305f5e100830492506008015b6127108310611a0e57612710830492506004015b60648310611a20576064830492506002015b600a831061053b5760010192915050565b60006001600160a01b0384163b15611b2757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a759033908990889088906004016124d8565b6020604051808303816000875af1925050508015611ab0575060408051601f3d908101601f19168201909252611aad91810190612515565b60015b611b0d573d808015611ade576040519150601f19603f3d011682016040523d82523d6000602084013e611ae3565b606091505b508051600003611b055760405162461bcd60e51b815260040161069790612473565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611272565b506001949350505050565b6000611b3d8261092f565b9050611b4d81600084600161183f565b611b568261092f565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001611be284610964565b611bec91906124c5565b600083815260106020526040902054909150808214611c93576001600160a01b0384166000908152600f60205260408120805484908110611c2f57611c2f612161565b9060005260206000200154905080600f6000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110611c7357611c73612161565b600091825260208083209091019290925591825260109052604090208190555b60008381526010602090815260408083208390556001600160a01b0387168352600f9091529020805480611cc957611cc9612532565b6001900381819060005260206000200160009055905550505050565b6001600160e01b031981168114610ff657600080fd5b600060208284031215611d0d57600080fd5b8135611d1881611ce5565b9392505050565b80356001600160a01b0381168114611d3657600080fd5b919050565b600060208284031215611d4d57600080fd5b611d1882611d1f565b60005b83811015611d71578181015183820152602001611d59565b50506000910152565b60008151808452611d92816020860160208601611d56565b601f01601f19169290920160200192915050565b602081526000611d186020830184611d7a565b600060208284031215611dcb57600080fd5b5035919050565b60008060408385031215611de557600080fd5b611dee83611d1f565b946020939093013593505050565b60008060208385031215611e0f57600080fd5b823567ffffffffffffffff80821115611e2757600080fd5b818501915085601f830112611e3b57600080fd5b813581811115611e4a57600080fd5b866020606083028501011115611e5f57600080fd5b60209290920196919550909350505050565b600080600060608486031215611e8657600080fd5b611e8f84611d1f565b9250611e9d60208501611d1f565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015611ee557835183529284019291840191600101611ec9565b50909695505050505050565b60008060208385031215611f0457600080fd5b823567ffffffffffffffff80821115611f1c57600080fd5b818501915085601f830112611f3057600080fd5b813581811115611f3f57600080fd5b866020828501011115611e5f57600080fd5b60008060408385031215611f6457600080fd5b611f6d83611d1f565b915060208301358015158114611f8257600080fd5b809150509250929050565b600060608284031215611f9f57600080fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611fd157600080fd5b611fda85611d1f565b9350611fe860208601611d1f565b925060408501359150606085013567ffffffffffffffff8082111561200c57600080fd5b818701915087601f83011261202057600080fd5b81358181111561203257612032611fa5565b604051601f8201601f19908116603f0116810190838211818310171561205a5761205a611fa5565b816040528281528a602084870101111561207357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120aa57600080fd5b6120b383611d1f565b91506120c160208401611d1f565b90509250929050565b600080602083850312156120dd57600080fd5b823567ffffffffffffffff808211156120f557600080fd5b818501915085601f83011261210957600080fd5b81358181111561211857600080fd5b8660208260051b8501011115611e5f57600080fd5b600181811c9082168061214157607f821691505b602082108103611f9f57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161219f5761219f612177565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526018908201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604082015260600190565b601f82111561073857600081815260208120601f850160051c810160208610156122515750805b601f850160051c820191505b818110156122705782815560010161225d565b505050505050565b67ffffffffffffffff83111561229057612290611fa5565b6122a48361229e835461212d565b8361222a565b6000601f8411600181146122d857600085156122c05750838201355b600019600387901b1c1916600186901b178355611952565b600083815260209020601f19861690835b8281101561230957868501358255602094850194600190920191016122e9565b50868210156123265760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b7f416f726973743a20617274776f726b496420646f65736e27742065786973743a8152600160fd1b60208201526000825161237a816021850160208701611d56565b9190910160210192915050565b8082018082111561053b5761053b612177565b60008084546123a88161212d565b600182811680156123c057600181146123d557612404565b60ff1984168752821515830287019450612404565b8860005260208060002060005b858110156123fb5781548a8201529084019082016123e2565b50505082870194505b50602f60f81b8452865192506124208382860160208a01611d56565b919092010195945050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8181038181111561053b5761053b612177565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061250b90830184611d7a565b9695505050505050565b60006020828403121561252757600080fd5b8151611d1881611ce5565b634e487b7160e01b600052603160045260246000fdfea26469706673582212204256d282d4b8f04a007faf06bab50264cbf0aa528fc344bfac62e216b675e01a64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000a416f7269737420417274000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006414f5249535400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d544442755363367a666850416867756d4c6331685a4d587231325358486e6742595743726a66726e4170535300000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000004b000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001f4

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80638da5cb5b1161011a578063b88d4fde116100ad578063e8a3d4851161007c578063e8a3d48514610462578063e985e9c51461046a578063eee608a4146104a6578063f2fde38b146104c9578063fc05ea68146104dc57600080fd5b8063b88d4fde146103fb578063c87b56dd1461040e578063dc78ac1c14610421578063e4b50cb81461043457600080fd5b806395d89b41116100e957806395d89b41146103c0578063a07c7ce4146103c8578063a22cb465146103d5578063b2e0c9a0146103e857600080fd5b80638da5cb5b146103695780638ef79e911461037a578063908fed9c1461038d578063938e3d7b146103ad57600080fd5b80632f745c59116101925780636352211e116101615780636352211e1461031b57806370a082311461032e578063715018a6146103415780638462151c1461034957600080fd5b80632f745c59146102cd57806342842e0e146102e057806349267014146102f35780634e99b8001461031357600080fd5b8063095ea7b3116101ce578063095ea7b31461027d57806318160ddd146102905780631e619085146102a757806323b872dd146102ba57600080fd5b806301ffc9a714610200578063031205061461022857806306fdde031461023d578063081812fc14610252575b600080fd5b61021361020e366004611cfb565b6104ef565b60405190151581526020015b60405180910390f35b61023b610236366004611d3b565b610541565b005b61024561056a565b60405161021f9190611da6565b610265610260366004611db9565b6105fc565b6040516001600160a01b03909116815260200161021f565b61023b61028b366004611dd2565b610623565b610299600a5481565b60405190815260200161021f565b61023b6102b5366004611dfc565b61073d565b61023b6102c8366004611e71565b6107ab565b6102996102db366004611dd2565b6107dc565b61023b6102ee366004611e71565b610886565b610299610301366004611db9565b6000908152600d602052604090205490565b6102456108a1565b610265610329366004611db9565b61092f565b61029961033c366004611d3b565b610964565b61023b6109ea565b61035c610357366004611d3b565b6109fe565b60405161021f9190611ead565b6006546001600160a01b0316610265565b61023b610388366004611ef1565b610a6a565b61029961039b366004611db9565b6000908152600e602052604090205490565b61023b6103bb366004611ef1565b610ad6565b610245610b74565b600b546102139060ff1681565b61023b6103e3366004611f51565b610b83565b61023b6103f6366004611f8d565b610b92565b61023b610409366004611fbb565b610d9e565b61024561041c366004611db9565b610dd6565b61023b61042f366004611d3b565b610ee4565b610447610442366004611db9565b610f10565b6040805182518152602092830151928101929092520161021f565b610245610f73565b610213610478366004612097565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102136104b4366004611d3b565b60076020526000908152604090205460ff1681565b61023b6104d7366004611d3b565b610f80565b61023b6104ea3660046120ca565b610ff9565b60006001600160e01b031982166380ac58cd60e01b148061052057506001600160e01b03198216635b5e139f60e01b145b8061053b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b61054961110e565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6060600080546105799061212d565b80601f01602080910402602001604051908101604052809291908181526020018280546105a59061212d565b80156105f25780601f106105c7576101008083540402835291602001916105f2565b820191906000526020600020905b8154815290600101906020018083116105d557829003601f168201915b5050505050905090565b600061060782611168565b506000908152600460205260409020546001600160a01b031690565b600061062e8261092f565b9050806001600160a01b0316836001600160a01b0316036106a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106bc57506106bc8133610478565b61072e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610697565b610738838361118d565b505050565b3360009081526007602052604090205460ff168061076557506006546001600160a01b031633145b61076e57600080fd5b60005b818110156107385761079983838381811061078e5761078e612161565b905060600201610b92565b806107a38161218d565b915050610771565b6107b533826111fb565b6107d15760405162461bcd60e51b8152600401610697906121a6565b61073883838361127a565b60006107e783610964565b82106108495760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610697565b6001600160a01b0383166000908152600f6020526040902080548390811061087357610873612161565b9060005260206000200154905092915050565b61073883838360405180602001604052806000815250610d9e565b600880546108ae9061212d565b80601f01602080910402602001604051908101604052809291908181526020018280546108da9061212d565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b505050505081565b6000818152600260205260408120546001600160a01b03168061053b5760405162461bcd60e51b8152600401610697906121f3565b60006001600160a01b0382166109ce5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610697565b506001600160a01b031660009081526003602052604090205490565b6109f261110e565b6109fc60006113eb565b565b6001600160a01b0381166000908152600f6020908152604091829020805483518184028101840190945280845260609392830182828015610a5e57602002820191906000526020600020905b815481526020019060010190808311610a4a575b50505050509050919050565b610a7261110e565b80610ac95760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a20626173655552495f20697320656d70746044820152607960f81b6064820152608401610697565b6008610738828483612278565b610ade61110e565b80610b395760405162461bcd60e51b815260206004820152602560248201527f4552433732314d657461646174613a20636f6e74726163745552495f20697320604482015264656d70747960d81b6064820152608401610697565b6009610b46828483612278565b506040517fa5d4097edda6d87cb9329af83fb3712ef77eeb13738ffe43cc35a4ce305ad96290600090a15050565b6060600180546105799061212d565b610b8e33838361143d565b5050565b3360009081526007602052604090205460ff1680610bba57506006546001600160a01b031633145b610bc357600080fd5b803560208201356000610bdc6060850160408601611d3b565b6000848152600d60205260409020549091501515610bf98461150b565b604051602001610c099190612338565b60405160208183030381529060405290610c365760405162461bcd60e51b81526004016106979190611da6565b506000838152600d6020908152604080832054600e9092529091205410610c9f5760405162461bcd60e51b815260206004820152601a60248201527f416f726973743a206e6f20736c6f747320617661696c61626c650000000000006044820152606401610697565b6001600160a01b038116610ced5760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206f776e6572206164647265737360581b6044820152606401610697565b6001600a6000828254610d009190612387565b90915550506000838152600e60205260408120805460019290610d24908490612387565b909155505060408051808201825284815260208082018581526000868152600c909252929020905181559051600190910155610d60818361159e565b8183826001600160a01b03167f876a02a3a508719e24c9d5e7c990547da63e73400bdb38331c267d2395b201ed60405160405180910390a450505050565b610da833836111fb565b610dc45760405162461bcd60e51b8152600401610697906121a6565b610dd084848484611719565b50505050565b6060600060088054610de79061212d565b905011610e455760405162461bcd60e51b815260206004820152602660248201527f4552433732314d657461646174613a205f746f6b656e4261736555524920697360448201526520656d70747960d01b6064820152608401610697565b610e4e8261174c565b610eb25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610697565b6008610ebd8361150b565b604051602001610ece92919061239a565b6040516020818303038152906040529050919050565b610eec61110e565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6040805180820190915260008082526020820152610f2d8261174c565b610f495760405162461bcd60e51b8152600401610697906121f3565b506000908152600c6020908152604091829020825180840190935280548352600101549082015290565b600980546108ae9061212d565b610f8861110e565b6001600160a01b038116610fed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b610ff6816113eb565b50565b600b5460ff1661104b5760405162461bcd60e51b815260206004820152601d60248201527f416f726973743a20746f6b656e206973206e6f74206275726e61626c650000006044820152606401610697565b60005b81811015610738576110783384848481811061106c5761106c612161565b905060200201356111fb565b6110db5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610697565b6110fc8383838181106110f0576110f0612161565b90506020020135611769565b806111068161218d565b91505061104e565b6006546001600160a01b031633146109fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610697565b6111718161174c565b610ff65760405162461bcd60e51b8152600401610697906121f3565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111c28261092f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112078361092f565b9050806001600160a01b0316846001600160a01b0316148061124e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806112725750836001600160a01b0316611267846105fc565b6001600160a01b0316145b949350505050565b826001600160a01b031661128d8261092f565b6001600160a01b0316146112b35760405162461bcd60e51b81526004016106979061242e565b6001600160a01b0382166113155760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610697565b611322838383600161183f565b826001600160a01b03166113358261092f565b6001600160a01b03161461135b5760405162461bcd60e51b81526004016106979061242e565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03160361149e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610697565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060600061151883611959565b600101905060008167ffffffffffffffff81111561153857611538611fa5565b6040519080825280601f01601f191660200182016040528015611562576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461156c57509392505050565b6001600160a01b0382166115f45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610697565b6115fd8161174c565b1561164a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b61165860008383600161183f565b6116618161174c565b156116ae5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61172484848461127a565b61173084848484611a31565b610dd05760405162461bcd60e51b815260040161069790612473565b6000908152600260205260409020546001600160a01b0316151590565b6117728161174c565b61178e5760405162461bcd60e51b8152600401610697906121f3565b6000818152600c60209081526040808320815180830183528154808252600192830154828601528552600e9093529083208054929391929091906117d39084906124c5565b925050819055506001600a60008282546117ed91906124c5565b90915550506000828152600c602052604081208181556001015561181082611b32565b60405182907f63b0170c51b735e5700704ca421bef19b7190bf1d8fbf09181d7e60a3764f07e90600090a25050565b60018111156118ae5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610697565b816001600160a01b038516158015906118d95750836001600160a01b0316856001600160a01b031614155b156118e8576118e88582611bd5565b6001600160a01b038416158015906119125750846001600160a01b0316846001600160a01b031614155b15611952576001600160a01b0384166000908152600f60209081526040808320805460018101825590845282842081018590558484526010909252909120555b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119985772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106119c4576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106119e257662386f26fc10000830492506010015b6305f5e10083106119fa576305f5e100830492506008015b6127108310611a0e57612710830492506004015b60648310611a20576064830492506002015b600a831061053b5760010192915050565b60006001600160a01b0384163b15611b2757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a759033908990889088906004016124d8565b6020604051808303816000875af1925050508015611ab0575060408051601f3d908101601f19168201909252611aad91810190612515565b60015b611b0d573d808015611ade576040519150601f19603f3d011682016040523d82523d6000602084013e611ae3565b606091505b508051600003611b055760405162461bcd60e51b815260040161069790612473565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611272565b506001949350505050565b6000611b3d8261092f565b9050611b4d81600084600161183f565b611b568261092f565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001611be284610964565b611bec91906124c5565b600083815260106020526040902054909150808214611c93576001600160a01b0384166000908152600f60205260408120805484908110611c2f57611c2f612161565b9060005260206000200154905080600f6000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110611c7357611c73612161565b600091825260208083209091019290925591825260109052604090208190555b60008381526010602090815260408083208390556001600160a01b0387168352600f9091529020805480611cc957611cc9612532565b6001900381819060005260206000200160009055905550505050565b6001600160e01b031981168114610ff657600080fd5b600060208284031215611d0d57600080fd5b8135611d1881611ce5565b9392505050565b80356001600160a01b0381168114611d3657600080fd5b919050565b600060208284031215611d4d57600080fd5b611d1882611d1f565b60005b83811015611d71578181015183820152602001611d59565b50506000910152565b60008151808452611d92816020860160208601611d56565b601f01601f19169290920160200192915050565b602081526000611d186020830184611d7a565b600060208284031215611dcb57600080fd5b5035919050565b60008060408385031215611de557600080fd5b611dee83611d1f565b946020939093013593505050565b60008060208385031215611e0f57600080fd5b823567ffffffffffffffff80821115611e2757600080fd5b818501915085601f830112611e3b57600080fd5b813581811115611e4a57600080fd5b866020606083028501011115611e5f57600080fd5b60209290920196919550909350505050565b600080600060608486031215611e8657600080fd5b611e8f84611d1f565b9250611e9d60208501611d1f565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015611ee557835183529284019291840191600101611ec9565b50909695505050505050565b60008060208385031215611f0457600080fd5b823567ffffffffffffffff80821115611f1c57600080fd5b818501915085601f830112611f3057600080fd5b813581811115611f3f57600080fd5b866020828501011115611e5f57600080fd5b60008060408385031215611f6457600080fd5b611f6d83611d1f565b915060208301358015158114611f8257600080fd5b809150509250929050565b600060608284031215611f9f57600080fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611fd157600080fd5b611fda85611d1f565b9350611fe860208601611d1f565b925060408501359150606085013567ffffffffffffffff8082111561200c57600080fd5b818701915087601f83011261202057600080fd5b81358181111561203257612032611fa5565b604051601f8201601f19908116603f0116810190838211818310171561205a5761205a611fa5565b816040528281528a602084870101111561207357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120aa57600080fd5b6120b383611d1f565b91506120c160208401611d1f565b90509250929050565b600080602083850312156120dd57600080fd5b823567ffffffffffffffff808211156120f557600080fd5b818501915085601f83011261210957600080fd5b81358181111561211857600080fd5b8660208260051b8501011115611e5f57600080fd5b600181811c9082168061214157607f821691505b602082108103611f9f57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161219f5761219f612177565b5060010190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526018908201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604082015260600190565b601f82111561073857600081815260208120601f850160051c810160208610156122515750805b601f850160051c820191505b818110156122705782815560010161225d565b505050505050565b67ffffffffffffffff83111561229057612290611fa5565b6122a48361229e835461212d565b8361222a565b6000601f8411600181146122d857600085156122c05750838201355b600019600387901b1c1916600186901b178355611952565b600083815260209020601f19861690835b8281101561230957868501358255602094850194600190920191016122e9565b50868210156123265760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b7f416f726973743a20617274776f726b496420646f65736e27742065786973743a8152600160fd1b60208201526000825161237a816021850160208701611d56565b9190910160210192915050565b8082018082111561053b5761053b612177565b60008084546123a88161212d565b600182811680156123c057600181146123d557612404565b60ff1984168752821515830287019450612404565b8860005260208060002060005b858110156123fb5781548a8201529084019082016123e2565b50505082870194505b50602f60f81b8452865192506124208382860160208a01611d56565b919092010195945050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8181038181111561053b5761053b612177565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061250b90830184611d7a565b9695505050505050565b60006020828403121561252757600080fd5b8151611d1881611ce5565b634e487b7160e01b600052603160045260246000fdfea26469706673582212204256d282d4b8f04a007faf06bab50264cbf0aa528fc344bfac62e216b675e01a64736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000a416f7269737420417274000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006414f5249535400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d544442755363367a666850416867756d4c6331685a4d587231325358486e6742595743726a66726e4170535300000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000004b000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001f4

-----Decoded View---------------
Arg [0] : name_ (string): Aorist Art
Arg [1] : symbol_ (string): AORIST
Arg [2] : burnable_ (bool): True
Arg [3] : contractURI_ (string): ipfs://QmTDBuSc6zfhPAhgumLc1hZMXr12SXHngBYWCrjfrnApSS
Arg [4] : artworkIds_ (uint256[]): 75
Arg [5] : artworkMaxSupplies_ (uint256[]): 500

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 416f726973742041727400000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 414f524953540000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [11] : 697066733a2f2f516d544442755363367a666850416867756d4c6331685a4d58
Arg [12] : 7231325358486e6742595743726a66726e417053530000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [14] : 000000000000000000000000000000000000000000000000000000000000004b
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [16] : 00000000000000000000000000000000000000000000000000000000000001f4


Deployed Bytecode Sourcemap

58608:9691:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38061:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;38061:305:0;;;;;;;;58432:102;;;;;;:::i;:::-;;:::i;:::-;;38989:100;;;:::i;:::-;;;;;;;:::i;40501:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;40501:171:0;1902:203:1;40019:416:0;;;;;;:::i;:::-;;:::i;59021:26::-;;;;;;;;;2515:25:1;;;2503:2;2488:18;59021:26:0;2369:177:1;64558:193:0;;;;;;:::i;:::-;;:::i;41201:301::-;;;;;;:::i;:::-;;:::i;60868:303::-;;;;;;:::i;:::-;;:::i;41573:151::-;;;;;;:::i;:::-;;:::i;61487:157::-;;;;;;:::i;:::-;61579:7;61606:30;;;:19;:30;;;;;;;61487:157;58910:26;;;:::i;38699:223::-;;;;;;:::i;:::-;;:::i;38430:207::-;;;;;;:::i;:::-;;:::i;57206:103::-;;;:::i;61220:140::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;56565:87::-;56638:6;;-1:-1:-1;;;;;56638:6:0;56565:87;;67513:232;;;;;;:::i;:::-;;:::i;61776:161::-;;;;;;:::i;:::-;61870:7;61897:32;;;:21;:32;;;;;;;61776:161;67794:282;;;;;;:::i;:::-;;:::i;39158:104::-;;;:::i;59073:20::-;;;;;;;;;40744:155;;;;;;:::i;:::-;;:::i;64879:904::-;;;;;;:::i;:::-;;:::i;41795:279::-;;;;;;:::i;:::-;;:::i;67005:448::-;;;;;;:::i;:::-;;:::i;58325:99::-;;;;;;:::i;:::-;;:::i;62083:209::-;;;;;;:::i;:::-;;:::i;:::-;;;;6809:13:1;;6791:32;;6879:4;6867:17;;;6861:24;6839:20;;;6832:54;;;;6764:18;62083:209:0;6595:297:1;58966:25:0;;;:::i;40970:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;41091:25:0;;;41067:4;41091:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40970:164;58129:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;57464:201;;;;;;:::i;:::-;;:::i;66089:407::-;;;;;;:::i;:::-;;:::i;38061:305::-;38163:4;-1:-1:-1;;;;;;38200:40:0;;-1:-1:-1;;;38200:40:0;;:105;;-1:-1:-1;;;;;;;38257:48:0;;-1:-1:-1;;;38257:48:0;38200:105;:158;;;-1:-1:-1;;;;;;;;;;36603:40:0;;;38322:36;38180:178;38061:305;-1:-1:-1;;38061:305:0:o;58432:102::-;56451:13;:11;:13::i;:::-;-1:-1:-1;;;;;58508:18:0::1;;::::0;;;:8:::1;:18;::::0;;;;58501:25;;-1:-1:-1;;58501:25:0::1;::::0;;58432:102::o;38989:100::-;39043:13;39076:5;39069:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38989:100;:::o;40501:171::-;40577:7;40597:23;40612:7;40597:14;:23::i;:::-;-1:-1:-1;40640:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;40640:24:0;;40501:171::o;40019:416::-;40100:13;40116:23;40131:7;40116:14;:23::i;:::-;40100:39;;40164:5;-1:-1:-1;;;;;40158:11:0;:2;-1:-1:-1;;;;;40158:11:0;;40150:57;;;;-1:-1:-1;;;40150:57:0;;8369:2:1;40150:57:0;;;8351:21:1;8408:2;8388:18;;;8381:30;8447:34;8427:18;;;8420:62;-1:-1:-1;;;8498:18:1;;;8491:31;8539:19;;40150:57:0;;;;;;;;;18185:10;-1:-1:-1;;;;;40242:21:0;;;;:62;;-1:-1:-1;40267:37:0;40284:5;18185:10;40970:164;:::i;40267:37::-;40220:173;;;;-1:-1:-1;;;40220:173:0;;8771:2:1;40220:173:0;;;8753:21:1;8810:2;8790:18;;;8783:30;8849:34;8829:18;;;8822:62;8920:31;8900:18;;;8893:59;8969:19;;40220:173:0;8569:425:1;40220:173:0;40406:21;40415:2;40419:7;40406:8;:21::i;:::-;40089:346;40019:416;;:::o;64558:193::-;18185:10;58247:22;;;;:8;:22;;;;;;;;;:49;;-1:-1:-1;56638:6:0;;-1:-1:-1;;;;;56638:6:0;18185:10;58273:23;58247:49;58239:58;;;;;;64667:9:::1;64662:82;64682:15:::0;;::::1;64662:82;;;64719:13;64724:4;;64729:1;64724:7;;;;;;;:::i;:::-;;;;;;64719:4;:13::i;:::-;64699:3:::0;::::1;::::0;::::1;:::i;:::-;;;;64662:82;;41201:301:::0;41362:41;18185:10;41395:7;41362:18;:41::i;:::-;41354:99;;;;-1:-1:-1;;;41354:99:0;;;;;;;:::i;:::-;41466:28;41476:4;41482:2;41486:7;41466:9;:28::i;60868:303::-;60975:7;61025:23;61042:5;61025:16;:23::i;:::-;61017:5;:31;60995:124;;;;-1:-1:-1;;;60995:124:0;;10019:2:1;60995:124:0;;;10001:21:1;10058:2;10038:18;;;10031:30;10097:34;10077:18;;;10070:62;-1:-1:-1;;;10148:18:1;;;10141:41;10199:19;;60995:124:0;9817:407:1;60995:124:0;-1:-1:-1;;;;;61137:19:0;;;;;;:12;:19;;;;;:26;;61157:5;;61137:26;;;;;;:::i;:::-;;;;;;;;;61130:33;;60868:303;;;;:::o;41573:151::-;41677:39;41694:4;41700:2;41704:7;41677:39;;;;;;;;;;;;:16;:39::i;58910:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38699:223::-;38771:7;43432:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43432:16:0;;38835:56;;;;-1:-1:-1;;;38835:56:0;;;;;;;:::i;38430:207::-;38502:7;-1:-1:-1;;;;;38530:19:0;;38522:73;;;;-1:-1:-1;;;38522:73:0;;10784:2:1;38522:73:0;;;10766:21:1;10823:2;10803:18;;;10796:30;10862:34;10842:18;;;10835:62;-1:-1:-1;;;10913:18:1;;;10906:39;10962:19;;38522:73:0;10582:405:1;38522:73:0;-1:-1:-1;;;;;;38613:16:0;;;;;:9;:16;;;;;;;38430:207::o;57206:103::-;56451:13;:11;:13::i;:::-;57271:30:::1;57298:1;57271:18;:30::i;:::-;57206:103::o:0;61220:140::-;-1:-1:-1;;;;;61333:19:0;;;;;;:12;:19;;;;;;;;;61326:26;;;;;;;;;;;;;;;;;61297:16;;61326:26;;;61333:19;61326:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61220:140;;;:::o;67513:232::-;56451:13;:11;:13::i;:::-;67616:26;67594:109:::1;;;::::0;-1:-1:-1;;;67594:109:0;;11194:2:1;67594:109:0::1;::::0;::::1;11176:21:1::0;11233:2;11213:18;;;11206:30;11272:34;11252:18;;;11245:62;-1:-1:-1;;;11323:18:1;;;11316:31;11364:19;;67594:109:0::1;10992:397:1::0;67594:109:0::1;67714:12;:23;67729:8:::0;;67714:12;:23:::1;:::i;67794:282::-:0;56451:13;:11;:13::i;:::-;67900:30;67878:117:::1;;;::::0;-1:-1:-1;;;67878:117:0;;13654:2:1;67878:117:0::1;::::0;::::1;13636:21:1::0;13693:2;13673:18;;;13666:30;13732:34;13712:18;;;13705:62;-1:-1:-1;;;13783:18:1;;;13776:35;13828:19;;67878:117:0::1;13452:401:1::0;67878:117:0::1;68006:11;:26;68020:12:::0;;68006:11;:26:::1;:::i;:::-;-1:-1:-1::0;68048:20:0::1;::::0;::::1;::::0;;;::::1;67794:282:::0;;:::o;39158:104::-;39214:13;39247:7;39240:14;;;;;:::i;40744:155::-;40839:52;18185:10;40872:8;40882;40839:18;:52::i;:::-;40744:155;;:::o;64879:904::-;18185:10;58247:22;;;;:8;:22;;;;;;;;;:49;;-1:-1:-1;56638:6:0;;-1:-1:-1;;;;;56638:6:0;18185:10;58273:23;58247:49;58239:58;;;;;;64970:14;::::1;65013:12;::::0;::::1;;64950:17;65052:10;::::0;;;::::1;::::0;::::1;;:::i;:::-;65922:4:::0;65946:30;;;:19;:30;;;;;;65036:26;;-1:-1:-1;65946:34:0;;65259:27:::1;65276:9;65259:16;:27::i;:::-;65162:143;;;;;;;;:::i;:::-;;;;;;;;;;;;;65075:256;;;;;-1:-1:-1::0;;;65075:256:0::1;;;;;;;;:::i;:::-;-1:-1:-1::0;65399:30:0::1;::::0;;;:19:::1;:30;::::0;;;;;;;;65364:21:::1;:32:::0;;;;;;;:65:::1;65342:141;;;::::0;-1:-1:-1;;;65342:141:0;;14561:2:1;65342:141:0::1;::::0;::::1;14543:21:1::0;14600:2;14580:18;;;14573:30;14639:28;14619:18;;;14612:56;14685:18;;65342:141:0::1;14359:350:1::0;65342:141:0::1;-1:-1:-1::0;;;;;65504:19:0;::::1;65496:53;;;::::0;-1:-1:-1;;;65496:53:0;;14916:2:1;65496:53:0::1;::::0;::::1;14898:21:1::0;14955:2;14935:18;;;14928:30;-1:-1:-1;;;14974:18:1;;;14967:51;15035:18;;65496:53:0::1;14714:345:1::0;65496:53:0::1;65577:1;65562:11;;:16;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;65589:32:0::1;::::0;;;:21:::1;:32;::::0;;;;:37;;65625:1:::1;::::0;65589:32;:37:::1;::::0;65625:1;;65589:37:::1;:::i;:::-;::::0;;;-1:-1:-1;;65661:27:0::1;::::0;;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;65637:21:0;;;:12:::1;:21:::0;;;;;;:51;;;;;;::::1;::::0;;::::1;::::0;65699:21:::1;65705:5:::0;65680:7;65699:5:::1;:21::i;:::-;65767:7;65756:9;65749:5;-1:-1:-1::0;;;;;65738:37:0::1;;;;;;;;;;;64939:844;;;64879:904:::0;:::o;41795:279::-;41926:41;18185:10;41959:7;41926:18;:41::i;:::-;41918:99;;;;-1:-1:-1;;;41918:99:0;;;;;;;:::i;:::-;42028:38;42042:4;42048:2;42052:7;42061:4;42028:13;:38::i;:::-;41795:279;;;;:::o;67005:448::-;67094:13;67171:1;67148:12;67142:26;;;;;:::i;:::-;;;:30;67120:118;;;;-1:-1:-1;;;67120:118:0;;15396:2:1;67120:118:0;;;15378:21:1;15435:2;15415:18;;;15408:30;15474:34;15454:18;;;15447:62;-1:-1:-1;;;15525:18:1;;;15518:36;15571:19;;67120:118:0;15194:402:1;67120:118:0;67271:16;67279:7;67271;:16::i;:::-;67249:113;;;;-1:-1:-1;;;67249:113:0;;15803:2:1;67249:113:0;;;15785:21:1;15842:2;15822:18;;;15815:30;15881:34;15861:18;;;15854:62;-1:-1:-1;;;15932:18:1;;;15925:45;15987:19;;67249:113:0;15601:411:1;67249:113:0;67406:12;67425:18;:7;:16;:18::i;:::-;67389:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67375:70;;67005:448;;;:::o;58325:99::-;56451:13;:11;:13::i;:::-;-1:-1:-1;;;;;58391:18:0::1;;::::0;;;:8:::1;:18;::::0;;;;:25;;-1:-1:-1;;58391:25:0::1;58412:4;58391:25;::::0;;58325:99::o;62083:209::-;-1:-1:-1;;;;;;;;;;;;;;;;;62200:16:0;62208:7;62200;:16::i;:::-;62192:53;;;;-1:-1:-1;;;62192:53:0;;;;;;;:::i;:::-;-1:-1:-1;62263:21:0;;;;:12;:21;;;;;;;;;62256:28;;;;;;;;;;;;;;;;;;;;62083:209::o;58966:25::-;;;;;;;:::i;57464:201::-;56451:13;:11;:13::i;:::-;-1:-1:-1;;;;;57553:22:0;::::1;57545:73;;;::::0;-1:-1:-1;;;57545:73:0;;17388:2:1;57545:73:0::1;::::0;::::1;17370:21:1::0;17427:2;17407:18;;;17400:30;17466:34;17446:18;;;17439:62;-1:-1:-1;;;17517:18:1;;;17510:36;17563:19;;57545:73:0::1;17186:402:1::0;57545:73:0::1;57629:28;57648:8;57629:18;:28::i;:::-;57464:201:::0;:::o;66089:407::-;66168:8;;;;66160:50;;;;-1:-1:-1;;;66160:50:0;;17795:2:1;66160:50:0;;;17777:21:1;17834:2;17814:18;;;17807:30;17873:31;17853:18;;;17846:59;17922:18;;66160:50:0;17593:353:1;66160:50:0;66226:9;66221:268;66241:19;;;66221:268;;;66308:45;18185:10;66341:8;;66350:1;66341:11;;;;;;;:::i;:::-;;;;;;;66308:18;:45::i;:::-;66282:153;;;;-1:-1:-1;;;66282:153:0;;18153:2:1;66282:153:0;;;18135:21:1;18192:2;18172:18;;;18165:30;18231:34;18211:18;;;18204:62;-1:-1:-1;;;18282:18:1;;;18275:44;18336:19;;66282:153:0;17951:410:1;66282:153:0;66452:25;66465:8;;66474:1;66465:11;;;;;;;:::i;:::-;;;;;;;66452:12;:25::i;:::-;66262:3;;;;:::i;:::-;;;;66221:268;;56730:132;56638:6;;-1:-1:-1;;;;;56638:6:0;18185:10;56794:23;56786:68;;;;-1:-1:-1;;;56786:68:0;;18568:2:1;56786:68:0;;;18550:21:1;;;18587:18;;;18580:30;18646:34;18626:18;;;18619:62;18698:18;;56786:68:0;18366:356:1;50064:135:0;50146:16;50154:7;50146;:16::i;:::-;50138:53;;;;-1:-1:-1;;;50138:53:0;;;;;;;:::i;49377:174::-;49452:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;49452:29:0;-1:-1:-1;;;;;49452:29:0;;;;;;;;:24;;49506:23;49452:24;49506:14;:23::i;:::-;-1:-1:-1;;;;;49497:46:0;;;;;;;;;;;49377:174;;:::o;44064:264::-;44157:4;44174:13;44190:23;44205:7;44190:14;:23::i;:::-;44174:39;;44243:5;-1:-1:-1;;;;;44232:16:0;:7;-1:-1:-1;;;;;44232:16:0;;:52;;;-1:-1:-1;;;;;;41091:25:0;;;41067:4;41091:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;44252:32;44232:87;;;;44312:7;-1:-1:-1;;;;;44288:31:0;:20;44300:7;44288:11;:20::i;:::-;-1:-1:-1;;;;;44288:31:0;;44232:87;44224:96;44064:264;-1:-1:-1;;;;44064:264:0:o;48029:1229::-;48154:4;-1:-1:-1;;;;;48127:31:0;:23;48142:7;48127:14;:23::i;:::-;-1:-1:-1;;;;;48127:31:0;;48119:81;;;;-1:-1:-1;;;48119:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48219:16:0;;48211:65;;;;-1:-1:-1;;;48211:65:0;;19335:2:1;48211:65:0;;;19317:21:1;19374:2;19354:18;;;19347:30;19413:34;19393:18;;;19386:62;-1:-1:-1;;;19464:18:1;;;19457:34;19508:19;;48211:65:0;19133:400:1;48211:65:0;48289:42;48310:4;48316:2;48320:7;48329:1;48289:20;:42::i;:::-;48461:4;-1:-1:-1;;;;;48434:31:0;:23;48449:7;48434:14;:23::i;:::-;-1:-1:-1;;;;;48434:31:0;;48426:81;;;;-1:-1:-1;;;48426:81:0;;;;;;;:::i;:::-;48579:24;;;;:15;:24;;;;;;;;48572:31;;-1:-1:-1;;;;;;48572:31:0;;;;;;-1:-1:-1;;;;;49055:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;49055:20:0;;;49090:13;;;;;;;;;:18;;48572:31;49090:18;;;49130:16;;;:7;:16;;;;;;:21;;;;;;;;;;49169:27;;48595:7;;49169:27;;;40089:346;40019:416;;:::o;57825:191::-;57918:6;;;-1:-1:-1;;;;;57935:17:0;;;-1:-1:-1;;;;;;57935:17:0;;;;;;;57968:40;;57918:6;;;57935:17;57918:6;;57968:40;;57899:16;;57968:40;57888:128;57825:191;:::o;49694:281::-;49815:8;-1:-1:-1;;;;;49806:17:0;:5;-1:-1:-1;;;;;49806:17:0;;49798:55;;;;-1:-1:-1;;;49798:55:0;;19740:2:1;49798:55:0;;;19722:21:1;19779:2;19759:18;;;19752:30;19818:27;19798:18;;;19791:55;19863:18;;49798:55:0;19538:349:1;49798:55:0;-1:-1:-1;;;;;49864:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;49864:46:0;;;;;;;;;;49926:41;;540::1;;;49926::0;;513:18:1;49926:41:0;;;;;;;49694:281;;;:::o;33231:716::-;33287:13;33338:14;33355:17;33366:5;33355:10;:17::i;:::-;33375:1;33355:21;33338:38;;33391:20;33425:6;33414:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33414:18:0;-1:-1:-1;33391:41:0;-1:-1:-1;33556:28:0;;;33572:2;33556:28;33613:288;-1:-1:-1;;33645:5:0;-1:-1:-1;;;33782:2:0;33771:14;;33766:30;33645:5;33753:44;33843:2;33834:11;;;-1:-1:-1;33864:21:0;33613:288;33864:21;-1:-1:-1;33922:6:0;33231:716;-1:-1:-1;;;33231:716:0:o;45628:942::-;-1:-1:-1;;;;;45708:16:0;;45700:61;;;;-1:-1:-1;;;45700:61:0;;20226:2:1;45700:61:0;;;20208:21:1;;;20245:18;;;20238:30;20304:34;20284:18;;;20277:62;20356:18;;45700:61:0;20024:356:1;45700:61:0;45781:16;45789:7;45781;:16::i;:::-;45780:17;45772:58;;;;-1:-1:-1;;;45772:58:0;;20587:2:1;45772:58:0;;;20569:21:1;20626:2;20606:18;;;20599:30;20665;20645:18;;;20638:58;20713:18;;45772:58:0;20385:352:1;45772:58:0;45843:48;45872:1;45876:2;45880:7;45889:1;45843:20;:48::i;:::-;45990:16;45998:7;45990;:16::i;:::-;45989:17;45981:58;;;;-1:-1:-1;;;45981:58:0;;20587:2:1;45981:58:0;;;20569:21:1;20626:2;20606:18;;;20599:30;20665;20645:18;;;20638:58;20713:18;;45981:58:0;20385:352:1;45981:58:0;-1:-1:-1;;;;;46388:13:0;;;;;;:9;:13;;;;;;;;:18;;46405:1;46388:18;;;46430:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;46430:21:0;;;;;46469:33;46438:7;;46388:13;;46469:33;;46388:13;;46469:33;40744:155;;:::o;42955:270::-;43068:28;43078:4;43084:2;43088:7;43068:9;:28::i;:::-;43115:47;43138:4;43144:2;43148:7;43157:4;43115:22;:47::i;:::-;43107:110;;;;-1:-1:-1;;;43107:110:0;;;;;;;:::i;43769:128::-;43834:4;43432:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43432:16:0;43858:31;;;43769:128::o;66504:412::-;66571:16;66579:7;66571;:16::i;:::-;66563:53;;;;-1:-1:-1;;;66563:53:0;;;;;;;:::i;:::-;66654:22;66679:21;;;:12;:21;;;;;;;;66654:46;;;;;;;;;;;;;;;;;;;;;66711:40;;:21;:40;;;;;;:45;;66654:46;;;;66711:40;;66654:22;66711:45;;66654:46;;66711:45;:::i;:::-;;;;;;;;66782:1;66767:11;;:16;;;;;;;:::i;:::-;;;;-1:-1:-1;;66801:21:0;;;;:12;:21;;;;;66794:28;;;;;;66833:14;66814:7;66833:5;:14::i;:::-;66888:20;;66900:7;;66888:20;;;;;66552:364;66504:412;:::o;62343:758::-;62610:1;62598:9;:13;62594:222;;;62741:63;;-1:-1:-1;;;62741:63:0;;21496:2:1;62741:63:0;;;21478:21:1;21535:2;21515:18;;;21508:30;21574:34;21554:18;;;21547:62;-1:-1:-1;;;21625:18:1;;;21618:51;21686:19;;62741:63:0;21294:417:1;62594:222:0;62846:12;-1:-1:-1;;;;;62873:18:0;;;;;;:32;;;62903:2;-1:-1:-1;;;;;62895:10:0;:4;-1:-1:-1;;;;;62895:10:0;;;62873:32;62869:112;;;62922:47;62955:4;62961:7;62922:32;:47::i;:::-;-1:-1:-1;;;;;62995:16:0;;;;;;:30;;;63021:4;-1:-1:-1;;;;;63015:10:0;:2;-1:-1:-1;;;;;63015:10:0;;;62995:30;62991:103;;;-1:-1:-1;;;;;64232:16:0;;64205:24;64232:16;;;:12;:16;;;;;;;;64276:13;;64300:20;;;;;;;;;;;;;;;;64331:26;;;:17;:26;;;;;;:35;63042:40;62509:592;62343:758;;;;:::o;28732:948::-;28785:7;;-1:-1:-1;;;28863:17:0;;28859:106;;-1:-1:-1;;;28901:17:0;;;-1:-1:-1;28947:2:0;28937:12;28859:106;28992:8;28983:5;:17;28979:106;;29030:8;29021:17;;;-1:-1:-1;29067:2:0;29057:12;28979:106;29112:8;29103:5;:17;29099:106;;29150:8;29141:17;;;-1:-1:-1;29187:2:0;29177:12;29099:106;29232:7;29223:5;:16;29219:103;;29269:7;29260:16;;;-1:-1:-1;29305:1:0;29295:11;29219:103;29349:7;29340:5;:16;29336:103;;29386:7;29377:16;;;-1:-1:-1;29422:1:0;29412:11;29336:103;29466:7;29457:5;:16;29453:103;;29503:7;29494:16;;;-1:-1:-1;29539:1:0;29529:11;29453:103;29583:7;29574:5;:16;29570:68;;29621:1;29611:11;29666:6;28732:948;-1:-1:-1;;28732:948:0:o;50763:853::-;50917:4;-1:-1:-1;;;;;50938:13:0;;9564:19;:23;50934:675;;50974:71;;-1:-1:-1;;;50974:71:0;;-1:-1:-1;;;;;50974:36:0;;;;;:71;;18185:10;;51025:4;;51031:7;;51040:4;;50974:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50974:71:0;;;;;;;;-1:-1:-1;;50974:71:0;;;;;;;;;;;;:::i;:::-;;;50970:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51215:6;:13;51232:1;51215:18;51211:328;;51258:60;;-1:-1:-1;;;51258:60:0;;;;;;;:::i;51211:328::-;51489:6;51483:13;51474:6;51470:2;51466:15;51459:38;50970:584;-1:-1:-1;;;;;;51096:51:0;-1:-1:-1;;;51096:51:0;;-1:-1:-1;51089:58:0;;50934:675;-1:-1:-1;51593:4:0;50763:853;;;;;;:::o;46909:783::-;46969:13;46985:23;47000:7;46985:14;:23::i;:::-;46969:39;;47021:51;47042:5;47057:1;47061:7;47070:1;47021:20;:51::i;:::-;47185:23;47200:7;47185:14;:23::i;:::-;47256:24;;;;:15;:24;;;;;;;;47249:31;;-1:-1:-1;;;;;;47249:31:0;;;;;;-1:-1:-1;;;;;47501:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;47501:21:0;;;47551:16;;;:7;:16;;;;;;47544:23;;;;;;;47585:36;47177:31;;-1:-1:-1;47272:7:0;;47585:36;;47256:24;;47585:36;40744:155;;:::o;63152:917::-;63441:22;63491:1;63466:22;63483:4;63466:16;:22::i;:::-;:26;;;;:::i;:::-;63503:18;63524:26;;;:17;:26;;;;;;63441:51;;-1:-1:-1;63657:28:0;;;63653:328;;-1:-1:-1;;;;;63724:18:0;;63702:19;63724:18;;;:12;:18;;;;;:34;;63743:14;;63724:34;;;;;;:::i;:::-;;;;;;;;;63702:56;;63808:11;63775:12;:18;63788:4;-1:-1:-1;;;;;63775:18:0;-1:-1:-1;;;;;63775:18:0;;;;;;;;;;;;63794:10;63775:30;;;;;;;;:::i;:::-;;;;;;;;;;;;:44;;;;63892:30;;;:17;:30;;;;;:43;;;63653:328;64000:26;;;;:17;:26;;;;;;;;63993:33;;;-1:-1:-1;;;;;64037:18:0;;;;:12;:18;;;;;:24;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;63258:811;;63152:917;;:::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:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:186::-;829:6;882:2;870:9;861:7;857:23;853:32;850:52;;;898:1;895;888:12;850:52;921:29;940:9;921:29;:::i;961:250::-;1046:1;1056:113;1070:6;1067:1;1064:13;1056:113;;;1146:11;;;1140:18;1127:11;;;1120:39;1092:2;1085:10;1056:113;;;-1:-1:-1;;1203:1:1;1185:16;;1178:27;961:250::o;1216:271::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:76;1408:6;1401:4;1396:3;1392:14;1385:4;1378:5;1374:16;1339:76;:::i;:::-;1469:2;1448:15;-1:-1:-1;;1444:29:1;1435:39;;;;1476:4;1431:50;;1216:271;-1:-1:-1;;1216:271:1:o;1492:220::-;1641:2;1630:9;1623:21;1604:4;1661:45;1702:2;1691:9;1687:18;1679:6;1661:45;:::i;1717:180::-;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;-1:-1:-1;1868:23:1;;1717:180;-1:-1:-1;1717:180:1:o;2110:254::-;2178:6;2186;2239:2;2227:9;2218:7;2214:23;2210:32;2207:52;;;2255:1;2252;2245:12;2207:52;2278:29;2297:9;2278:29;:::i;:::-;2268:39;2354:2;2339:18;;;;2326:32;;-1:-1:-1;;;2110:254:1:o;2551:646::-;2665:6;2673;2726:2;2714:9;2705:7;2701:23;2697:32;2694:52;;;2742:1;2739;2732:12;2694:52;2782:9;2769:23;2811:18;2852:2;2844:6;2841:14;2838:34;;;2868:1;2865;2858:12;2838:34;2906:6;2895:9;2891:22;2881:32;;2951:7;2944:4;2940:2;2936:13;2932:27;2922:55;;2973:1;2970;2963:12;2922:55;3013:2;3000:16;3039:2;3031:6;3028:14;3025:34;;;3055:1;3052;3045:12;3025:34;3111:7;3106:2;3098:4;3090:6;3086:17;3082:2;3078:26;3074:35;3071:48;3068:68;;;3132:1;3129;3122:12;3068:68;3163:2;3155:11;;;;;3185:6;;-1:-1:-1;2551:646:1;;-1:-1:-1;;;;2551:646:1:o;3202:328::-;3279:6;3287;3295;3348:2;3336:9;3327:7;3323:23;3319:32;3316:52;;;3364:1;3361;3354:12;3316:52;3387:29;3406:9;3387:29;:::i;:::-;3377:39;;3435:38;3469:2;3458:9;3454:18;3435:38;:::i;:::-;3425:48;;3520:2;3509:9;3505:18;3492:32;3482:42;;3202:328;;;;;:::o;3535:632::-;3706:2;3758:21;;;3828:13;;3731:18;;;3850:22;;;3677:4;;3706:2;3929:15;;;;3903:2;3888:18;;;3677:4;3972:169;3986:6;3983:1;3980:13;3972:169;;;4047:13;;4035:26;;4116:15;;;;4081:12;;;;4008:1;4001:9;3972:169;;;-1:-1:-1;4158:3:1;;3535:632;-1:-1:-1;;;;;;3535:632:1:o;4172:592::-;4243:6;4251;4304:2;4292:9;4283:7;4279:23;4275:32;4272:52;;;4320:1;4317;4310:12;4272:52;4360:9;4347:23;4389:18;4430:2;4422:6;4419:14;4416:34;;;4446:1;4443;4436:12;4416:34;4484:6;4473:9;4469:22;4459:32;;4529:7;4522:4;4518:2;4514:13;4510:27;4500:55;;4551:1;4548;4541:12;4500:55;4591:2;4578:16;4617:2;4609:6;4606:14;4603:34;;;4633:1;4630;4623:12;4603:34;4678:7;4673:2;4664:6;4660:2;4656:15;4652:24;4649:37;4646:57;;;4699:1;4696;4689:12;4769:347;4834:6;4842;4895:2;4883:9;4874:7;4870:23;4866:32;4863:52;;;4911:1;4908;4901:12;4863:52;4934:29;4953:9;4934:29;:::i;:::-;4924:39;;5013:2;5002:9;4998:18;4985:32;5060:5;5053:13;5046:21;5039:5;5036:32;5026:60;;5082:1;5079;5072:12;5026:60;5105:5;5095:15;;;4769:347;;;;;:::o;5121:194::-;5208:6;5261:2;5249:9;5240:7;5236:23;5232:32;5229:52;;;5277:1;5274;5267:12;5229:52;-1:-1:-1;5300:9:1;5121:194;-1:-1:-1;5121:194:1:o;5320:127::-;5381:10;5376:3;5372:20;5369:1;5362:31;5412:4;5409:1;5402:15;5436:4;5433:1;5426:15;5452:1138;5547:6;5555;5563;5571;5624:3;5612:9;5603:7;5599:23;5595:33;5592:53;;;5641:1;5638;5631:12;5592:53;5664:29;5683:9;5664:29;:::i;:::-;5654:39;;5712:38;5746:2;5735:9;5731:18;5712:38;:::i;:::-;5702:48;;5797:2;5786:9;5782:18;5769:32;5759:42;;5852:2;5841:9;5837:18;5824:32;5875:18;5916:2;5908:6;5905:14;5902:34;;;5932:1;5929;5922:12;5902:34;5970:6;5959:9;5955:22;5945:32;;6015:7;6008:4;6004:2;6000:13;5996:27;5986:55;;6037:1;6034;6027:12;5986:55;6073:2;6060:16;6095:2;6091;6088:10;6085:36;;;6101:18;;:::i;:::-;6176:2;6170:9;6144:2;6230:13;;-1:-1:-1;;6226:22:1;;;6250:2;6222:31;6218:40;6206:53;;;6274:18;;;6294:22;;;6271:46;6268:72;;;6320:18;;:::i;:::-;6360:10;6356:2;6349:22;6395:2;6387:6;6380:18;6435:7;6430:2;6425;6421;6417:11;6413:20;6410:33;6407:53;;;6456:1;6453;6446:12;6407:53;6512:2;6507;6503;6499:11;6494:2;6486:6;6482:15;6469:46;6557:1;6552:2;6547;6539:6;6535:15;6531:24;6524:35;6578:6;6568:16;;;;;;;5452:1138;;;;;;;:::o;6897:260::-;6965:6;6973;7026:2;7014:9;7005:7;7001:23;6997:32;6994:52;;;7042:1;7039;7032:12;6994:52;7065:29;7084:9;7065:29;:::i;:::-;7055:39;;7113:38;7147:2;7136:9;7132:18;7113:38;:::i;:::-;7103:48;;6897:260;;;;;:::o;7162:615::-;7248:6;7256;7309:2;7297:9;7288:7;7284:23;7280:32;7277:52;;;7325:1;7322;7315:12;7277:52;7365:9;7352:23;7394:18;7435:2;7427:6;7424:14;7421:34;;;7451:1;7448;7441:12;7421:34;7489:6;7478:9;7474:22;7464:32;;7534:7;7527:4;7523:2;7519:13;7515:27;7505:55;;7556:1;7553;7546:12;7505:55;7596:2;7583:16;7622:2;7614:6;7611:14;7608:34;;;7638:1;7635;7628:12;7608:34;7691:7;7686:2;7676:6;7673:1;7669:14;7665:2;7661:23;7657:32;7654:45;7651:65;;;7712:1;7709;7702:12;7782:380;7861:1;7857:12;;;;7904;;;7925:61;;7979:4;7971:6;7967:17;7957:27;;7925:61;8032:2;8024:6;8021:14;8001:18;7998:38;7995:161;;8078:10;8073:3;8069:20;8066:1;8059:31;8113:4;8110:1;8103:15;8141:4;8138:1;8131:15;8999:127;9060:10;9055:3;9051:20;9048:1;9041:31;9091:4;9088:1;9081:15;9115:4;9112:1;9105:15;9131:127;9192:10;9187:3;9183:20;9180:1;9173:31;9223:4;9220:1;9213:15;9247:4;9244:1;9237:15;9263:135;9302:3;9323:17;;;9320:43;;9343:18;;:::i;:::-;-1:-1:-1;9390:1:1;9379:13;;9263:135::o;9403:409::-;9605:2;9587:21;;;9644:2;9624:18;;;9617:30;9683:34;9678:2;9663:18;;9656:62;-1:-1:-1;;;9749:2:1;9734:18;;9727:43;9802:3;9787:19;;9403:409::o;10229:348::-;10431:2;10413:21;;;10470:2;10450:18;;;10443:30;10509:26;10504:2;10489:18;;10482:54;10568:2;10553:18;;10229:348::o;11520:545::-;11622:2;11617:3;11614:11;11611:448;;;11658:1;11683:5;11679:2;11672:17;11728:4;11724:2;11714:19;11798:2;11786:10;11782:19;11779:1;11775:27;11769:4;11765:38;11834:4;11822:10;11819:20;11816:47;;;-1:-1:-1;11857:4:1;11816:47;11912:2;11907:3;11903:12;11900:1;11896:20;11890:4;11886:31;11876:41;;11967:82;11985:2;11978:5;11975:13;11967:82;;;12030:17;;;12011:1;12000:13;11967:82;;;11971:3;;;11520:545;;;:::o;12241:1206::-;12365:18;12360:3;12357:27;12354:53;;;12387:18;;:::i;:::-;12416:94;12506:3;12466:38;12498:4;12492:11;12466:38;:::i;:::-;12460:4;12416:94;:::i;:::-;12536:1;12561:2;12556:3;12553:11;12578:1;12573:616;;;;13233:1;13250:3;13247:93;;;-1:-1:-1;13306:19:1;;;13293:33;13247:93;-1:-1:-1;;12198:1:1;12194:11;;;12190:24;12186:29;12176:40;12222:1;12218:11;;;12173:57;13353:78;;12546:895;;12573:616;11467:1;11460:14;;;11504:4;11491:18;;-1:-1:-1;;12609:17:1;;;12710:9;12732:229;12746:7;12743:1;12740:14;12732:229;;;12835:19;;;12822:33;12807:49;;12942:4;12927:20;;;;12895:1;12883:14;;;;12762:12;12732:229;;;12736:3;12989;12980:7;12977:16;12974:159;;;13113:1;13109:6;13103:3;13097;13094:1;13090:11;13086:21;13082:34;13078:39;13065:9;13060:3;13056:19;13043:33;13039:79;13031:6;13024:95;12974:159;;;13176:1;13170:3;13167:1;13163:11;13159:19;13153:4;13146:33;12546:895;;12241:1206;;;:::o;13858:496::-;14120:34;14115:3;14108:47;-1:-1:-1;;;14180:2:1;14175:3;14171:12;14164:25;14090:3;14218:6;14212:13;14234:73;14300:6;14295:2;14290:3;14286:12;14281:2;14273:6;14269:15;14234:73;:::i;:::-;14327:16;;;;14345:2;14323:25;;13858:496;-1:-1:-1;;13858:496:1:o;15064:125::-;15129:9;;;15150:10;;;15147:36;;;15163:18;;:::i;16017:1164::-;16294:3;16323:1;16356:6;16350:13;16386:36;16412:9;16386:36;:::i;:::-;16441:1;16458:18;;;16485:133;;;;16632:1;16627:356;;;;16451:532;;16485:133;-1:-1:-1;;16518:24:1;;16506:37;;16591:14;;16584:22;16572:35;;16563:45;;;-1:-1:-1;16485:133:1;;16627:356;16658:6;16655:1;16648:17;16688:4;16733:2;16730:1;16720:16;16758:1;16772:165;16786:6;16783:1;16780:13;16772:165;;;16864:14;;16851:11;;;16844:35;16907:16;;;;16801:10;;16772:165;;;16776:3;;;16966:6;16961:3;16957:16;16950:23;;16451:532;;-1:-1:-1;;;16999:3:1;16992:16;17039:6;17033:13;17017:29;;17055:77;17123:8;17118:2;17113:3;17109:12;17102:4;17094:6;17090:17;17055:77;:::i;:::-;17152:18;;;;17148:27;;;-1:-1:-1;;;;;16017:1164:1:o;18727:401::-;18929:2;18911:21;;;18968:2;18948:18;;;18941:30;19007:34;19002:2;18987:18;;18980:62;-1:-1:-1;;;19073:2:1;19058:18;;19051:35;19118:3;19103:19;;18727:401::o;20742:414::-;20944:2;20926:21;;;20983:2;20963:18;;;20956:30;21022:34;21017:2;21002:18;;20995:62;-1:-1:-1;;;21088:2:1;21073:18;;21066:48;21146:3;21131:19;;20742:414::o;21161:128::-;21228:9;;;21249:11;;;21246:37;;;21263:18;;:::i;21716:489::-;-1:-1:-1;;;;;21985:15:1;;;21967:34;;22037:15;;22032:2;22017:18;;22010:43;22084:2;22069:18;;22062:34;;;22132:3;22127:2;22112:18;;22105:31;;;21910:4;;22153:46;;22179:19;;22171:6;22153:46;:::i;:::-;22145:54;21716:489;-1:-1:-1;;;;;;21716:489:1:o;22210:249::-;22279:6;22332:2;22320:9;22311:7;22307:23;22303:32;22300:52;;;22348:1;22345;22338:12;22300:52;22380:9;22374:16;22399:30;22423:5;22399:30;:::i;22464:127::-;22525:10;22520:3;22516:20;22513:1;22506:31;22556:4;22553:1;22546:15;22580:4;22577:1;22570:15

Swarm Source

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