ETH Price: $3,310.05 (-3.20%)
Gas: 15 Gwei

Token

The Worm x minimizer (WxM)
 

Overview

Max Total Supply

1,000 WxM

Holders

862

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
praetor.eth
Balance
1 WxM
0xa256b4153b7e9293a5de88ffe5da81da689f9624
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:
WormXMinimizer

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev 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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

File 2 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 3 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/extensions/IERC721Enumerable.sol";

File 4 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Receiver.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721Receiver.sol";

File 5 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 6 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// 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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return 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 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// 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 11 of 14 : 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 12 of 14 : IERC721Payable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/introspection/IERC165.sol';

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Payable 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 payable;

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

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

	/**
	 * @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 13 of 14 : IWorm1000Artwork.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/* 
 * @title IWorm1000Artwork
 * @author minimizer <[email protected]>; https://minimizer.art/ 
 * 
 * Interface for the Worm1000Artwork, to be used by the Token Contract
 */

interface IWorm1000Artwork {
    
    function tokenURI(uint mainDiscipleNumber, uint[4] memory numberOfLightsByLumenLevel, bool animationView) external view returns (string memory);
    
    function royaltyRecipient() external view returns (address);
}

File 14 of 14 : WormXMinimizer.sol
// SPDX-License-Identifier: CC0
pragma solidity ^0.8.9;

import './Worm1000/IWorm1000Artwork.sol';
import './IERC721Payable.sol';

import '@openzeppelin/contracts/interfaces/IERC20.sol';
import '@openzeppelin/contracts/interfaces/IERC721Receiver.sol';
import '@openzeppelin/contracts/interfaces/IERC721Enumerable.sol';

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Address.sol';

contract WormXMinimizer is IERC721Payable, Ownable {
	using Address for address;

	// ============================================================
	// STORAGE
	// ============================================================

	// Address of the Original Worm contract
	IERC721Enumerable edwormContract;
	// Address of the Resurrected Worm contract
	IERC721Enumerable edwoneContract;
	// Address of the Worm Vigils contract
	IWormVigils vigilsContract;
	// Address of the Worm 1000 Artwork contract
	IWorm1000Artwork artContract;

	// The next token ID to be minted
	uint private _currentIndex;

	// Mapping from token ID to frozen lights
	mapping(uint => uint[4]) private _lights;

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

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

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

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

	// ============================================================
	// CONSTRUCTOR
	// ============================================================

	constructor(
		IERC721Enumerable _edwormContract,
		IERC721Enumerable _edwoneContract,
		IWormVigils _vigilsContract,
		IWorm1000Artwork _artContract
	) {
		edwormContract = _edwormContract;
		edwoneContract = _edwoneContract;
		vigilsContract = _vigilsContract;
		artContract = _artContract;
	}

	// ============================================================
	// ERC721 - NFT
	// ============================================================

	// In the interest of saving gas and being responsible stewards
	// of the Ethereum environment, we have chosen not to duplicate
	// data stored in other contracts. Because the Blessing is only
	// being sent to Disciples, we can reference those contracts to
	// get the addresses of Disciples and skip storing balances and
	// owners. Only when a token is transferred is the data stored.
	// This reduces the cost of minting by ~93% and further enables
	// all 1000 Blessings to be airdropped in a single transaction.
	function bless(uint quantity) external onlyOwner {
		require(
			_currentIndex + quantity <= 1000,
			'All 1000 blessings have been minted.'
		);

		unchecked {
			for (uint i = 0; i < quantity; i++) {
				// Increment FIRST so it starts at 1
				_currentIndex++;

				// Get the address to mint to (from Edworm or Edwone contracts)
				address to = discipleAddress(_currentIndex);

				// NOTE: we are NOT storing balances OR owners to save gas
				// _balances[to] += 1;
				// _owners[_currentIndex] = to;

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

	function totalSupply() public view returns (uint) {
		return _currentIndex;
	}

	// This function is different because of the optimizations
	function balanceOf(address owner) public view returns (uint) {
		// If they're a disciple under 1000, then we add 1 to their balance
		// because we're not storing their balance when we mint to save gas
		bool isSubKilo = isSubKiloDisciple(owner);
		uint balance = _balances[owner];

		// Unchecked to allow overflows to offset the balance
		unchecked {
			if (isSubKilo) {
				balance += 1;
			}
		}

		return balance;
	}

	function isSubKiloDisciple(address owner) public view returns (bool) {
		// First we check to see if they're an Edworm disciple
		bool isEdwormDisciple = IERC721Enumerable(edwormContract).balanceOf(
			owner
		) == 1;

		// If they are, then they're under a 1000
		if (isEdwormDisciple) {
			return true;
		}

		// If not, we check to see if they're an Edwone disciple
		bool isEdwoneDisciple = IERC721Enumerable(edwoneContract).balanceOf(
			owner
		) == 1;

		// If they are, then we check to see if they're under 1000
		if (isEdwoneDisciple) {
			uint discipleId = IERC721Enumerable(edwoneContract).tokenOfOwnerByIndex(
				owner,
				0
			);

			return discipleId < 1001;
		}

		// Otherwise, they're not
		return false;
	}

	// This function is different because of the optimizations
	function ownerOf(uint tokenId) public view returns (address) {
		_requireMinted(tokenId);

		address owner = _owners[tokenId];

		// If the owner is 0 that means the disciple still owns the
		// the blessing so then we return the disciple as the owner
		if (owner == address(0)) {
			return discipleAddress(tokenId);
		}
		// However, if the owner is NOT 0- meaning the owner has been
		// stored on transfer then return the owner as normal
		else {
			return owner;
		}
	}

	// Given a token ID, returns the address of the disciple
	function discipleAddress(uint tokenId) public view returns (address) {
		// If the token ID is less than 273 then we lookup using Edworm
		if (tokenId < 273) {
			return IERC721Enumerable(edwormContract).ownerOf(tokenId);
		}
		// Otherwise we lookup using Edwone
		else {
			return IERC721Enumerable(edwoneContract).ownerOf(tokenId);
		}
	}

	// Given a token ID, returns the lights owned by the disciple
	function discipleLights(
		uint tokenId
	) public view returns (uint[4] memory lightsByLumenLevel) {
		// Check to see if the lights are frozen
		// (They are frozen if there is an owner)
		if (_owners[tokenId] != address(0)) {
			return _lights[tokenId];
		}

		// Prepare the array to return
		uint[4] memory lights;

		// Get the disciple address
		address disciple = discipleAddress(tokenId);

		// Get the disciple light balance
		uint lightsOwned = vigilsContract.balanceOf(disciple);

		// Return early if no lights are owned
		if (lightsOwned == 0) {
			return lights;
		}

		// Loop through the lights
		for (uint i; i < lightsOwned; i++) {
			// Get the light ID
			uint lightId = vigilsContract.tokenOfOwnerByIndex(disciple, i);

			// Get the light data
			(, uint64 lumenLevel, ) = vigilsContract.getCandleData(lightId);

			// Tabulate the light according to brightness
			if (lumenLevel == 3) {
				lights[3] += 1;
			} else if (lumenLevel == 2) {
				lights[2] += 1;
			} else if (lumenLevel == 1) {
				lights[1] += 1;
			} else {
				lights[0] += 1;
			}
		}

		return lights;
	}

	// ============================================================
	// ERC721 - Metadata
	// ============================================================

	function name() public pure returns (string memory) {
		return 'The Worm x minimizer';
	}

	function symbol() public pure returns (string memory) {
		return 'WxM';
	}

	// Get the JSON & SVG from minimizer's brilliant contract
	function tokenURI(uint discipleId) public view returns (string memory) {
		uint[4] memory lightsByLumenLevel = discipleLights(discipleId);

		return artContract.tokenURI(discipleId, lightsByLumenLevel, false);
	}

	// ============================================================
	// ERC721 - Management
	// ============================================================

	// Split all revenue between theworm.eth & minimizer.eth
	receive() external payable {
		uint half = msg.value / 2;

		payable(owner()).transfer(half);
		payable(IWorm1000Artwork(artContract).royaltyRecipient()).transfer(
			msg.value - half
		);
	}

	// Split all revenue between theworm.eth & minimizer.eth
	function withdrawTokens(IERC20 token) external {
		uint balance = token.balanceOf(address(this));
		uint half = balance / 2;

		token.transfer(owner(), half);
		token.transfer(
			IWorm1000Artwork(artContract).royaltyRecipient(),
			balance - half
		);
	}

	// ============================================================
	// ERC721 - Approvals
	// ============================================================

	function approve(address to, uint tokenId) external {
		address owner = ownerOf(tokenId);
		require(to != owner, 'ERC721: approval to current owner');

		require(
			msg.sender == owner || isApprovedForAll(owner, msg.sender),
			'ERC721: approve caller is not token owner or approved for all'
		);

		_tokenApprovals[tokenId] = to;
		emit Approval(owner, to, tokenId);
	}

	function getApproved(uint tokenId) public view returns (address operator) {
		_requireMinted(tokenId);

		return _tokenApprovals[tokenId];
	}

	function isApprovedForAll(
		address owner,
		address operator
	) public view returns (bool) {
		return _operatorApprovals[owner][operator];
	}

	function setApprovalForAll(address operator, bool approved) external {
		require(msg.sender != operator, 'ERC721: approve to caller');
		_operatorApprovals[msg.sender][operator] = approved;
		emit ApprovalForAll(msg.sender, operator, approved);
	}

	function _requireMinted(uint tokenId) internal view virtual {
		require(
			tokenId > 0 && tokenId <= _currentIndex,
			'ERC721: invalid token ID'
		);
	}

	// ============================================================
	// ERC721 - Transfers
	// ============================================================

	function safeTransferFrom(
		address from,
		address to,
		uint tokenId
	) public payable override {
		safeTransferFrom(from, to, tokenId, '');
	}

	function safeTransferFrom(
		address from,
		address to,
		uint tokenId,
		bytes memory data
	) public payable override {
		transferFrom(from, to, tokenId);

		require(
			_checkOnERC721Received(from, to, tokenId, data),
			'ERC721: transfer to non ERC721Receiver implementer'
		);
	}

	function transferFrom(
		address from,
		address to,
		uint tokenId
	) public payable override {
		require(to != address(0), 'ERC721: transfer to the zero address');
		require(ownerOf(tokenId) == from, 'ERC721: transfer from incorrect owner');
		require(
			_isApprovedOrOwner(msg.sender, tokenId),
			'ERC721: caller is not token owner or approved'
		);

		// Check if transferring away from disciple
		// If so, freeze the lights, store the owner
		if (to != discipleAddress(tokenId)) {
			_lights[tokenId] = discipleLights(tokenId);
			_owners[tokenId] = to;
		}
		// Otherwise returning back to the disciple
		// So delete the lights and owner
		else {
			delete _lights[tokenId];
			delete _owners[tokenId];
		}

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

		unchecked {
			// `_balances[from]` WILL underflow for disciples
			// but then we add 1 when checking their balance
			_balances[from] -= 1;
			// `_balances[to]` won't overflow since we're limiting supply to 1000
			_balances[to] += 1;
		}

		emit Transfer(from, to, tokenId);
	}

	function _isApprovedOrOwner(
		address spender,
		uint tokenId
	) internal view virtual returns (bool) {
		address owner = ownerOf(tokenId);
		return (spender == owner ||
			isApprovedForAll(owner, spender) ||
			getApproved(tokenId) == spender);
	}

	// Copied from OpenZeppelin ERC721.sol
	function _checkOnERC721Received(
		address from,
		address to,
		uint tokenId,
		bytes memory data
	) private returns (bool) {
		if (to.isContract()) {
			try
				IERC721Receiver(to).onERC721Received(msg.sender, 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;
		}
	}

	// ============================================================
	// ERC2981 - Royalty
	// ============================================================

	function royaltyInfo(
		uint,
		uint _salePrice
	) external view returns (address receiver, uint royaltyAmount) {
		// It's 10%
		uint royalty = (_salePrice * 1000) / 10000;
		return (address(this), royalty);
	}

	// ============================================================
	// ERC165 - Interfaces
	// ============================================================

	function supportsInterface(bytes4 interfaceId) public pure returns (bool) {
		return
			// ERC165 interface ID for ERC165.
			interfaceId == 0x01ffc9a7 ||
			// ERC165 interface ID for ERC721.
			interfaceId == 0x80ac58cd ||
			// ERC165 interface ID for ERC721Metadata.
			interfaceId == 0x5b5e139f ||
			// ERC2981 interface ID for royalties.
			interfaceId == 0x2a55205a;
	}
}

interface IWormVigils is IERC721Enumerable {
	function getCandleData(
		uint _tokenId
	) external view returns (uint128 _discipleId, uint64 _level, uint64 _vigil);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC721Enumerable","name":"_edwormContract","type":"address"},{"internalType":"contract IERC721Enumerable","name":"_edwoneContract","type":"address"},{"internalType":"contract IWormVigils","name":"_vigilsContract","type":"address"},{"internalType":"contract IWorm1000Artwork","name":"_artContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"bless","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"discipleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"discipleLights","outputs":[{"internalType":"uint256[4]","name":"lightsByLumenLevel","type":"uint256[4]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"isSubKiloDisciple","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"discipleId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200388738038062003887833981810160405281019062000037919062000339565b620000576200004b6200016560201b60201c565b6200016d60201b60201c565b83600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620003ab565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002638262000236565b9050919050565b6000620002778262000256565b9050919050565b62000289816200026a565b81146200029557600080fd5b50565b600081519050620002a9816200027e565b92915050565b6000620002bc8262000256565b9050919050565b620002ce81620002af565b8114620002da57600080fd5b50565b600081519050620002ee81620002c3565b92915050565b6000620003018262000256565b9050919050565b6200031381620002f4565b81146200031f57600080fd5b50565b600081519050620003338162000308565b92915050565b6000806000806080858703121562000356576200035562000231565b5b6000620003668782880162000298565b9450506020620003798782880162000298565b93505060406200038c87828801620002dd565b92505060606200039f8782880162000322565b91505092959194509250565b6134cc80620003bb6000396000f3fe6080604052600436106101445760003560e01c806370a08231116100b6578063b88d4fde1161006f578063b88d4fde146105b2578063c21ef0df146105ce578063c87b56dd1461060b578063e985e9c514610648578063f2fde38b14610685578063f3d34188146106ae5761028b565b806370a08231146104a2578063715018a6146104df57806382ed91de146104f65780638da5cb5b1461053357806395d89b411461055e578063a22cb465146105895761028b565b806318160ddd1161010857806318160ddd1461039b57806323b872dd146103c65780632a55205a146103e257806342842e0e1461042057806349df728c1461043c5780636352211e146104655761028b565b806301ffc9a71461029057806302a7a8f6146102cd57806306fdde031461030a578063081812fc14610335578063095ea7b3146103725761028b565b3661028b5760006002346101589190612213565b90506101626106d7565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156101a7573d6000803e3d6000fd5b50600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c00de826040518163ffffffff1660e01b8152600401602060405180830381865afa158015610215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023991906122b6565b73ffffffffffffffffffffffffffffffffffffffff166108fc823461025e91906122e3565b9081150290604051600060405180830381858888f19350505050158015610289573d6000803e3d6000fd5b005b600080fd5b34801561029c57600080fd5b506102b760048036038101906102b2919061236f565b610700565b6040516102c491906123b7565b60405180910390f35b3480156102d957600080fd5b506102f460048036038101906102ef91906123fe565b6107c2565b604051610301919061243a565b60405180910390f35b34801561031657600080fd5b5061031f610915565b60405161032c91906124e5565b60405180910390f35b34801561034157600080fd5b5061035c600480360381019061035791906123fe565b610952565b604051610369919061243a565b60405180910390f35b34801561037e57600080fd5b506103996004803603810190610394919061251c565b610998565b005b3480156103a757600080fd5b506103b0610b44565b6040516103bd919061256b565b60405180910390f35b6103e060048036038101906103db9190612586565b610b4e565b005b3480156103ee57600080fd5b50610409600480360381019061040491906125d9565b610ec1565b604051610417929190612619565b60405180910390f35b61043a60048036038101906104359190612586565b610ef1565b005b34801561044857600080fd5b50610463600480360381019061045e9190612680565b610f11565b005b34801561047157600080fd5b5061048c600480360381019061048791906123fe565b611145565b604051610499919061243a565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906126ad565b6111d7565b6040516104d6919061256b565b60405180910390f35b3480156104eb57600080fd5b506104f4611240565b005b34801561050257600080fd5b5061051d600480360381019061051891906126ad565b611254565b60405161052a91906123b7565b60405180910390f35b34801561053f57600080fd5b506105486106d7565b604051610555919061243a565b60405180910390f35b34801561056a57600080fd5b5061057361146e565b60405161058091906124e5565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab9190612706565b6114ab565b005b6105cc60048036038101906105c7919061287b565b611616565b005b3480156105da57600080fd5b506105f560048036038101906105f091906123fe565b611672565b60405161060291906129a9565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d91906123fe565b611a70565b60405161063f91906124e5565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a91906129c4565b611b2d565b60405161067c91906123b7565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a791906126ad565b611bc1565b005b3480156106ba57600080fd5b506106d560048036038101906106d091906123fe565b611c44565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061078b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107bb5750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600061011182101561087157600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610829919061256b565b602060405180830381865afa158015610846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086a91906122b6565b9050610910565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016108cc919061256b565b602060405180830381865afa1580156108e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090d91906122b6565b90505b919050565b60606040518060400160405280601481526020017f54686520576f726d2078206d696e696d697a6572000000000000000000000000815250905090565b600061095d82611d3a565b6009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a382611145565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a90612a76565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610a535750610a528133611b2d565b5b610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8990612b08565b60405180910390fd5b826009600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600554905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb490612b9a565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16610bdd82611145565b73ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90612c2c565b60405180910390fd5b610c3d3382611d8e565b610c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7390612cbe565b60405180910390fd5b610c85816107c2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610d3957610cc081611672565b60066000838152602001908152602001600020906004610ce1929190612110565b50816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610d8f565b600660008281526020019081526020016000206000610d589190612150565b6007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b6009600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060006127106103e885610ed79190612cde565b610ee19190612213565b9050308192509250509250929050565b610f0c83838360405180602001604052806000815250611616565b505050565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f4c919061243a565b602060405180830381865afa158015610f69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8d9190612d35565b90506000600282610f9e9190612213565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610fc46106d7565b836040518363ffffffff1660e01b8152600401610fe2929190612619565b6020604051808303816000875af1158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110259190612d77565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c00de826040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d391906122b6565b83856110df91906122e3565b6040518363ffffffff1660e01b81526004016110fc929190612619565b6020604051808303816000875af115801561111b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113f9190612d77565b50505050565b600061115082611d3a565b60006007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111cd576111c5836107c2565b9150506111d2565b809150505b919050565b6000806111e383611254565b90506000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508115611236576001810190505b8092505050919050565b611248611e23565b6112526000611ea1565b565b60008060018060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016112b3919061243a565b602060405180830381865afa1580156112d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f49190612d35565b1490508015611307576001915050611469565b60006001600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401611366919061243a565b602060405180830381865afa158015611383573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a79190612d35565b1490508015611462576000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c598660006040518363ffffffff1660e01b8152600401611410929190612de9565b602060405180830381865afa15801561142d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114519190612d35565b90506103e981109350505050611469565b6000925050505b919050565b60606040518060400160405280600381526020017f57784d0000000000000000000000000000000000000000000000000000000000815250905090565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603611519576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151090612e5e565b60405180910390fd5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161160a91906123b7565b60405180910390a35050565b611621848484610b4e565b61162d84848484611f65565b61166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390612ef0565b60405180910390fd5b50505050565b61167a61216c565b600073ffffffffffffffffffffffffffffffffffffffff166007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611737576006600083815260200190815260200160002060048060200260405190810160405280929190826004801561172b576020028201915b815481526020019060010190808311611717575b50505050509050611a6b565b61173f61216c565b600061174a846107c2565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016117a9919061243a565b602060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ea9190612d35565b9050600081036117ff57829350505050611a6b565b60005b81811015611a63576000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5985846040518363ffffffff1660e01b8152600401611869929190612619565b602060405180830381865afa158015611886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118aa9190612d35565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ca1d6cee836040518263ffffffff1660e01b8152600401611909919061256b565b606060405180830381865afa158015611926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194a9190612f98565b5091505060038167ffffffffffffffff16036119935760018660036004811061197657611975612feb565b5b60200201818151611987919061301a565b91508181525050611a4e565b60028167ffffffffffffffff16036119d8576001866002600481106119bb576119ba612feb565b5b602002018181516119cc919061301a565b91508181525050611a4d565b60018167ffffffffffffffff1603611a1d57600186600160048110611a00576119ff612feb565b5b60200201818151611a11919061301a565b91508181525050611a4c565b600186600060048110611a3357611a32612feb565b5b60200201818151611a44919061301a565b915081815250505b5b5b50508080611a5b9061304e565b915050611802565b508293505050505b919050565b60606000611a7d83611672565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637f63a722848360006040518463ffffffff1660e01b8152600401611adf93929190613096565b600060405180830381865afa158015611afc573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611b25919061316e565b915050919050565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bc9611e23565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90613229565b60405180910390fd5b611c4181611ea1565b50565b611c4c611e23565b6103e881600554611c5d919061301a565b1115611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c95906132bb565b60405180910390fd5b60005b81811015611d36576005600081548092919060010191905055506000611cc86005546107c2565b90506005548173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4508080600101915050611ca1565b5050565b600081118015611d4c57506005548111155b611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8290613327565b60405180910390fd5b50565b600080611d9a83611145565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ddc5750611ddb8185611b2d565b5b80611e1a57508373ffffffffffffffffffffffffffffffffffffffff16611e0284610952565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b611e2b6120e5565b73ffffffffffffffffffffffffffffffffffffffff16611e496106d7565b73ffffffffffffffffffffffffffffffffffffffff1614611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690613393565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611f868473ffffffffffffffffffffffffffffffffffffffff166120ed565b156120d8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b8152600401611fca9493929190613408565b6020604051808303816000875af192505050801561200657506040513d601f19601f820116820180604052508101906120039190613469565b60015b612088573d8060008114612036576040519150601f19603f3d011682016040523d82523d6000602084013e61203b565b606091505b506000815103612080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207790612ef0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120dd565b600190505b949350505050565b600033905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b826004810192821561213f579160200282015b8281111561213e578251825591602001919060010190612123565b5b50905061214c919061218e565b5090565b5060008155600101600081556001016000815560010160009055565b6040518060800160405280600490602082028036833780820191505090505090565b5b808211156121a757600081600090555060010161218f565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061221e826121ab565b9150612229836121ab565b925082612239576122386121b5565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061228382612258565b9050919050565b61229381612278565b811461229e57600080fd5b50565b6000815190506122b08161228a565b92915050565b6000602082840312156122cc576122cb61224e565b5b60006122da848285016122a1565b91505092915050565b60006122ee826121ab565b91506122f9836121ab565b9250828203905081811115612311576123106121e4565b5b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61234c81612317565b811461235757600080fd5b50565b60008135905061236981612343565b92915050565b6000602082840312156123855761238461224e565b5b60006123938482850161235a565b91505092915050565b60008115159050919050565b6123b18161239c565b82525050565b60006020820190506123cc60008301846123a8565b92915050565b6123db816121ab565b81146123e657600080fd5b50565b6000813590506123f8816123d2565b92915050565b6000602082840312156124145761241361224e565b5b6000612422848285016123e9565b91505092915050565b61243481612278565b82525050565b600060208201905061244f600083018461242b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561248f578082015181840152602081019050612474565b60008484015250505050565b6000601f19601f8301169050919050565b60006124b782612455565b6124c18185612460565b93506124d1818560208601612471565b6124da8161249b565b840191505092915050565b600060208201905081810360008301526124ff81846124ac565b905092915050565b6000813590506125168161228a565b92915050565b600080604083850312156125335761253261224e565b5b600061254185828601612507565b9250506020612552858286016123e9565b9150509250929050565b612565816121ab565b82525050565b6000602082019050612580600083018461255c565b92915050565b60008060006060848603121561259f5761259e61224e565b5b60006125ad86828701612507565b93505060206125be86828701612507565b92505060406125cf868287016123e9565b9150509250925092565b600080604083850312156125f0576125ef61224e565b5b60006125fe858286016123e9565b925050602061260f858286016123e9565b9150509250929050565b600060408201905061262e600083018561242b565b61263b602083018461255c565b9392505050565b600061264d82612278565b9050919050565b61265d81612642565b811461266857600080fd5b50565b60008135905061267a81612654565b92915050565b6000602082840312156126965761269561224e565b5b60006126a48482850161266b565b91505092915050565b6000602082840312156126c3576126c261224e565b5b60006126d184828501612507565b91505092915050565b6126e38161239c565b81146126ee57600080fd5b50565b600081359050612700816126da565b92915050565b6000806040838503121561271d5761271c61224e565b5b600061272b85828601612507565b925050602061273c858286016126f1565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127888261249b565b810181811067ffffffffffffffff821117156127a7576127a6612750565b5b80604052505050565b60006127ba612244565b90506127c6828261277f565b919050565b600067ffffffffffffffff8211156127e6576127e5612750565b5b6127ef8261249b565b9050602081019050919050565b82818337600083830152505050565b600061281e612819846127cb565b6127b0565b90508281526020810184848401111561283a5761283961274b565b5b6128458482856127fc565b509392505050565b600082601f83011261286257612861612746565b5b813561287284826020860161280b565b91505092915050565b600080600080608085870312156128955761289461224e565b5b60006128a387828801612507565b94505060206128b487828801612507565b93505060406128c5878288016123e9565b925050606085013567ffffffffffffffff8111156128e6576128e5612253565b5b6128f28782880161284d565b91505092959194509250565b600060049050919050565b600081905092915050565b6000819050919050565b612927816121ab565b82525050565b6000612939838361291e565b60208301905092915050565b6000602082019050919050565b61295b816128fe565b6129658184612909565b925061297082612914565b8060005b838110156129a1578151612988878261292d565b965061299383612945565b925050600181019050612974565b505050505050565b60006080820190506129be6000830184612952565b92915050565b600080604083850312156129db576129da61224e565b5b60006129e985828601612507565b92505060206129fa85828601612507565b9150509250929050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a60602183612460565b9150612a6b82612a04565b604082019050919050565b60006020820190508181036000830152612a8f81612a53565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000612af2603d83612460565b9150612afd82612a96565b604082019050919050565b60006020820190508181036000830152612b2181612ae5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612b84602483612460565b9150612b8f82612b28565b604082019050919050565b60006020820190508181036000830152612bb381612b77565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612c16602583612460565b9150612c2182612bba565b604082019050919050565b60006020820190508181036000830152612c4581612c09565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000612ca8602d83612460565b9150612cb382612c4c565b604082019050919050565b60006020820190508181036000830152612cd781612c9b565b9050919050565b6000612ce9826121ab565b9150612cf4836121ab565b9250828202612d02816121ab565b91508282048414831517612d1957612d186121e4565b5b5092915050565b600081519050612d2f816123d2565b92915050565b600060208284031215612d4b57612d4a61224e565b5b6000612d5984828501612d20565b91505092915050565b600081519050612d71816126da565b92915050565b600060208284031215612d8d57612d8c61224e565b5b6000612d9b84828501612d62565b91505092915050565b6000819050919050565b6000819050919050565b6000612dd3612dce612dc984612da4565b612dae565b6121ab565b9050919050565b612de381612db8565b82525050565b6000604082019050612dfe600083018561242b565b612e0b6020830184612dda565b9392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612e48601983612460565b9150612e5382612e12565b602082019050919050565b60006020820190508181036000830152612e7781612e3b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612eda603283612460565b9150612ee582612e7e565b604082019050919050565b60006020820190508181036000830152612f0981612ecd565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b612f3581612f10565b8114612f4057600080fd5b50565b600081519050612f5281612f2c565b92915050565b600067ffffffffffffffff82169050919050565b612f7581612f58565b8114612f8057600080fd5b50565b600081519050612f9281612f6c565b92915050565b600080600060608486031215612fb157612fb061224e565b5b6000612fbf86828701612f43565b9350506020612fd086828701612f83565b9250506040612fe186828701612f83565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613025826121ab565b9150613030836121ab565b9250828201905080821115613048576130476121e4565b5b92915050565b6000613059826121ab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361308b5761308a6121e4565b5b600182019050919050565b600060c0820190506130ab600083018661255c565b6130b86020830185612952565b6130c560a08301846123a8565b949350505050565b600067ffffffffffffffff8211156130e8576130e7612750565b5b6130f18261249b565b9050602081019050919050565b600061311161310c846130cd565b6127b0565b90508281526020810184848401111561312d5761312c61274b565b5b613138848285612471565b509392505050565b600082601f83011261315557613154612746565b5b81516131658482602086016130fe565b91505092915050565b6000602082840312156131845761318361224e565b5b600082015167ffffffffffffffff8111156131a2576131a1612253565b5b6131ae84828501613140565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613213602683612460565b915061321e826131b7565b604082019050919050565b6000602082019050818103600083015261324281613206565b9050919050565b7f416c6c203130303020626c657373696e67732068617665206265656e206d696e60008201527f7465642e00000000000000000000000000000000000000000000000000000000602082015250565b60006132a5602483612460565b91506132b082613249565b604082019050919050565b600060208201905081810360008301526132d481613298565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613311601883612460565b915061331c826132db565b602082019050919050565b6000602082019050818103600083015261334081613304565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061337d602083612460565b915061338882613347565b602082019050919050565b600060208201905081810360008301526133ac81613370565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006133da826133b3565b6133e481856133be565b93506133f4818560208601612471565b6133fd8161249b565b840191505092915050565b600060808201905061341d600083018761242b565b61342a602083018661242b565b613437604083018561255c565b818103606083015261344981846133cf565b905095945050505050565b60008151905061346381612343565b92915050565b60006020828403121561347f5761347e61224e565b5b600061348d84828501613454565b9150509291505056fea2646970667358221220751ad43ce1252f1173d285a7d9950945580aa21fc3651dd3edcf206513cba63c64736f6c63430008130033000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3000000000000000000000000f65d6475869f61c6dce6ac194b6a7dbe45a91c63000000000000000000000000463d56ffd4d463e22444a03072ec0b75e1e49af20000000000000000000000000408faa1721e8cec99cd5f5b26a439256ba8f43f

Deployed Bytecode

0x6080604052600436106101445760003560e01c806370a08231116100b6578063b88d4fde1161006f578063b88d4fde146105b2578063c21ef0df146105ce578063c87b56dd1461060b578063e985e9c514610648578063f2fde38b14610685578063f3d34188146106ae5761028b565b806370a08231146104a2578063715018a6146104df57806382ed91de146104f65780638da5cb5b1461053357806395d89b411461055e578063a22cb465146105895761028b565b806318160ddd1161010857806318160ddd1461039b57806323b872dd146103c65780632a55205a146103e257806342842e0e1461042057806349df728c1461043c5780636352211e146104655761028b565b806301ffc9a71461029057806302a7a8f6146102cd57806306fdde031461030a578063081812fc14610335578063095ea7b3146103725761028b565b3661028b5760006002346101589190612213565b90506101626106d7565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156101a7573d6000803e3d6000fd5b50600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c00de826040518163ffffffff1660e01b8152600401602060405180830381865afa158015610215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023991906122b6565b73ffffffffffffffffffffffffffffffffffffffff166108fc823461025e91906122e3565b9081150290604051600060405180830381858888f19350505050158015610289573d6000803e3d6000fd5b005b600080fd5b34801561029c57600080fd5b506102b760048036038101906102b2919061236f565b610700565b6040516102c491906123b7565b60405180910390f35b3480156102d957600080fd5b506102f460048036038101906102ef91906123fe565b6107c2565b604051610301919061243a565b60405180910390f35b34801561031657600080fd5b5061031f610915565b60405161032c91906124e5565b60405180910390f35b34801561034157600080fd5b5061035c600480360381019061035791906123fe565b610952565b604051610369919061243a565b60405180910390f35b34801561037e57600080fd5b506103996004803603810190610394919061251c565b610998565b005b3480156103a757600080fd5b506103b0610b44565b6040516103bd919061256b565b60405180910390f35b6103e060048036038101906103db9190612586565b610b4e565b005b3480156103ee57600080fd5b50610409600480360381019061040491906125d9565b610ec1565b604051610417929190612619565b60405180910390f35b61043a60048036038101906104359190612586565b610ef1565b005b34801561044857600080fd5b50610463600480360381019061045e9190612680565b610f11565b005b34801561047157600080fd5b5061048c600480360381019061048791906123fe565b611145565b604051610499919061243a565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906126ad565b6111d7565b6040516104d6919061256b565b60405180910390f35b3480156104eb57600080fd5b506104f4611240565b005b34801561050257600080fd5b5061051d600480360381019061051891906126ad565b611254565b60405161052a91906123b7565b60405180910390f35b34801561053f57600080fd5b506105486106d7565b604051610555919061243a565b60405180910390f35b34801561056a57600080fd5b5061057361146e565b60405161058091906124e5565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab9190612706565b6114ab565b005b6105cc60048036038101906105c7919061287b565b611616565b005b3480156105da57600080fd5b506105f560048036038101906105f091906123fe565b611672565b60405161060291906129a9565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d91906123fe565b611a70565b60405161063f91906124e5565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a91906129c4565b611b2d565b60405161067c91906123b7565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a791906126ad565b611bc1565b005b3480156106ba57600080fd5b506106d560048036038101906106d091906123fe565b611c44565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061078b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107bb5750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600061011182101561087157600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610829919061256b565b602060405180830381865afa158015610846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086a91906122b6565b9050610910565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016108cc919061256b565b602060405180830381865afa1580156108e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090d91906122b6565b90505b919050565b60606040518060400160405280601481526020017f54686520576f726d2078206d696e696d697a6572000000000000000000000000815250905090565b600061095d82611d3a565b6009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a382611145565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a90612a76565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610a535750610a528133611b2d565b5b610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8990612b08565b60405180910390fd5b826009600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600554905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb490612b9a565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16610bdd82611145565b73ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90612c2c565b60405180910390fd5b610c3d3382611d8e565b610c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7390612cbe565b60405180910390fd5b610c85816107c2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610d3957610cc081611672565b60066000838152602001908152602001600020906004610ce1929190612110565b50816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610d8f565b600660008281526020019081526020016000206000610d589190612150565b6007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b6009600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060006127106103e885610ed79190612cde565b610ee19190612213565b9050308192509250509250929050565b610f0c83838360405180602001604052806000815250611616565b505050565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f4c919061243a565b602060405180830381865afa158015610f69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8d9190612d35565b90506000600282610f9e9190612213565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610fc46106d7565b836040518363ffffffff1660e01b8152600401610fe2929190612619565b6020604051808303816000875af1158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110259190612d77565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c00de826040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d391906122b6565b83856110df91906122e3565b6040518363ffffffff1660e01b81526004016110fc929190612619565b6020604051808303816000875af115801561111b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113f9190612d77565b50505050565b600061115082611d3a565b60006007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111cd576111c5836107c2565b9150506111d2565b809150505b919050565b6000806111e383611254565b90506000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508115611236576001810190505b8092505050919050565b611248611e23565b6112526000611ea1565b565b60008060018060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016112b3919061243a565b602060405180830381865afa1580156112d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f49190612d35565b1490508015611307576001915050611469565b60006001600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401611366919061243a565b602060405180830381865afa158015611383573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a79190612d35565b1490508015611462576000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c598660006040518363ffffffff1660e01b8152600401611410929190612de9565b602060405180830381865afa15801561142d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114519190612d35565b90506103e981109350505050611469565b6000925050505b919050565b60606040518060400160405280600381526020017f57784d0000000000000000000000000000000000000000000000000000000000815250905090565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603611519576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151090612e5e565b60405180910390fd5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161160a91906123b7565b60405180910390a35050565b611621848484610b4e565b61162d84848484611f65565b61166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390612ef0565b60405180910390fd5b50505050565b61167a61216c565b600073ffffffffffffffffffffffffffffffffffffffff166007600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611737576006600083815260200190815260200160002060048060200260405190810160405280929190826004801561172b576020028201915b815481526020019060010190808311611717575b50505050509050611a6b565b61173f61216c565b600061174a846107c2565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016117a9919061243a565b602060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ea9190612d35565b9050600081036117ff57829350505050611a6b565b60005b81811015611a63576000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5985846040518363ffffffff1660e01b8152600401611869929190612619565b602060405180830381865afa158015611886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118aa9190612d35565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ca1d6cee836040518263ffffffff1660e01b8152600401611909919061256b565b606060405180830381865afa158015611926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194a9190612f98565b5091505060038167ffffffffffffffff16036119935760018660036004811061197657611975612feb565b5b60200201818151611987919061301a565b91508181525050611a4e565b60028167ffffffffffffffff16036119d8576001866002600481106119bb576119ba612feb565b5b602002018181516119cc919061301a565b91508181525050611a4d565b60018167ffffffffffffffff1603611a1d57600186600160048110611a00576119ff612feb565b5b60200201818151611a11919061301a565b91508181525050611a4c565b600186600060048110611a3357611a32612feb565b5b60200201818151611a44919061301a565b915081815250505b5b5b50508080611a5b9061304e565b915050611802565b508293505050505b919050565b60606000611a7d83611672565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637f63a722848360006040518463ffffffff1660e01b8152600401611adf93929190613096565b600060405180830381865afa158015611afc573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611b25919061316e565b915050919050565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bc9611e23565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90613229565b60405180910390fd5b611c4181611ea1565b50565b611c4c611e23565b6103e881600554611c5d919061301a565b1115611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c95906132bb565b60405180910390fd5b60005b81811015611d36576005600081548092919060010191905055506000611cc86005546107c2565b90506005548173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4508080600101915050611ca1565b5050565b600081118015611d4c57506005548111155b611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8290613327565b60405180910390fd5b50565b600080611d9a83611145565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ddc5750611ddb8185611b2d565b5b80611e1a57508373ffffffffffffffffffffffffffffffffffffffff16611e0284610952565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b611e2b6120e5565b73ffffffffffffffffffffffffffffffffffffffff16611e496106d7565b73ffffffffffffffffffffffffffffffffffffffff1614611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690613393565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611f868473ffffffffffffffffffffffffffffffffffffffff166120ed565b156120d8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b8152600401611fca9493929190613408565b6020604051808303816000875af192505050801561200657506040513d601f19601f820116820180604052508101906120039190613469565b60015b612088573d8060008114612036576040519150601f19603f3d011682016040523d82523d6000602084013e61203b565b606091505b506000815103612080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207790612ef0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120dd565b600190505b949350505050565b600033905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b826004810192821561213f579160200282015b8281111561213e578251825591602001919060010190612123565b5b50905061214c919061218e565b5090565b5060008155600101600081556001016000815560010160009055565b6040518060800160405280600490602082028036833780820191505090505090565b5b808211156121a757600081600090555060010161218f565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061221e826121ab565b9150612229836121ab565b925082612239576122386121b5565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061228382612258565b9050919050565b61229381612278565b811461229e57600080fd5b50565b6000815190506122b08161228a565b92915050565b6000602082840312156122cc576122cb61224e565b5b60006122da848285016122a1565b91505092915050565b60006122ee826121ab565b91506122f9836121ab565b9250828203905081811115612311576123106121e4565b5b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61234c81612317565b811461235757600080fd5b50565b60008135905061236981612343565b92915050565b6000602082840312156123855761238461224e565b5b60006123938482850161235a565b91505092915050565b60008115159050919050565b6123b18161239c565b82525050565b60006020820190506123cc60008301846123a8565b92915050565b6123db816121ab565b81146123e657600080fd5b50565b6000813590506123f8816123d2565b92915050565b6000602082840312156124145761241361224e565b5b6000612422848285016123e9565b91505092915050565b61243481612278565b82525050565b600060208201905061244f600083018461242b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561248f578082015181840152602081019050612474565b60008484015250505050565b6000601f19601f8301169050919050565b60006124b782612455565b6124c18185612460565b93506124d1818560208601612471565b6124da8161249b565b840191505092915050565b600060208201905081810360008301526124ff81846124ac565b905092915050565b6000813590506125168161228a565b92915050565b600080604083850312156125335761253261224e565b5b600061254185828601612507565b9250506020612552858286016123e9565b9150509250929050565b612565816121ab565b82525050565b6000602082019050612580600083018461255c565b92915050565b60008060006060848603121561259f5761259e61224e565b5b60006125ad86828701612507565b93505060206125be86828701612507565b92505060406125cf868287016123e9565b9150509250925092565b600080604083850312156125f0576125ef61224e565b5b60006125fe858286016123e9565b925050602061260f858286016123e9565b9150509250929050565b600060408201905061262e600083018561242b565b61263b602083018461255c565b9392505050565b600061264d82612278565b9050919050565b61265d81612642565b811461266857600080fd5b50565b60008135905061267a81612654565b92915050565b6000602082840312156126965761269561224e565b5b60006126a48482850161266b565b91505092915050565b6000602082840312156126c3576126c261224e565b5b60006126d184828501612507565b91505092915050565b6126e38161239c565b81146126ee57600080fd5b50565b600081359050612700816126da565b92915050565b6000806040838503121561271d5761271c61224e565b5b600061272b85828601612507565b925050602061273c858286016126f1565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127888261249b565b810181811067ffffffffffffffff821117156127a7576127a6612750565b5b80604052505050565b60006127ba612244565b90506127c6828261277f565b919050565b600067ffffffffffffffff8211156127e6576127e5612750565b5b6127ef8261249b565b9050602081019050919050565b82818337600083830152505050565b600061281e612819846127cb565b6127b0565b90508281526020810184848401111561283a5761283961274b565b5b6128458482856127fc565b509392505050565b600082601f83011261286257612861612746565b5b813561287284826020860161280b565b91505092915050565b600080600080608085870312156128955761289461224e565b5b60006128a387828801612507565b94505060206128b487828801612507565b93505060406128c5878288016123e9565b925050606085013567ffffffffffffffff8111156128e6576128e5612253565b5b6128f28782880161284d565b91505092959194509250565b600060049050919050565b600081905092915050565b6000819050919050565b612927816121ab565b82525050565b6000612939838361291e565b60208301905092915050565b6000602082019050919050565b61295b816128fe565b6129658184612909565b925061297082612914565b8060005b838110156129a1578151612988878261292d565b965061299383612945565b925050600181019050612974565b505050505050565b60006080820190506129be6000830184612952565b92915050565b600080604083850312156129db576129da61224e565b5b60006129e985828601612507565b92505060206129fa85828601612507565b9150509250929050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a60602183612460565b9150612a6b82612a04565b604082019050919050565b60006020820190508181036000830152612a8f81612a53565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000612af2603d83612460565b9150612afd82612a96565b604082019050919050565b60006020820190508181036000830152612b2181612ae5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612b84602483612460565b9150612b8f82612b28565b604082019050919050565b60006020820190508181036000830152612bb381612b77565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612c16602583612460565b9150612c2182612bba565b604082019050919050565b60006020820190508181036000830152612c4581612c09565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000612ca8602d83612460565b9150612cb382612c4c565b604082019050919050565b60006020820190508181036000830152612cd781612c9b565b9050919050565b6000612ce9826121ab565b9150612cf4836121ab565b9250828202612d02816121ab565b91508282048414831517612d1957612d186121e4565b5b5092915050565b600081519050612d2f816123d2565b92915050565b600060208284031215612d4b57612d4a61224e565b5b6000612d5984828501612d20565b91505092915050565b600081519050612d71816126da565b92915050565b600060208284031215612d8d57612d8c61224e565b5b6000612d9b84828501612d62565b91505092915050565b6000819050919050565b6000819050919050565b6000612dd3612dce612dc984612da4565b612dae565b6121ab565b9050919050565b612de381612db8565b82525050565b6000604082019050612dfe600083018561242b565b612e0b6020830184612dda565b9392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612e48601983612460565b9150612e5382612e12565b602082019050919050565b60006020820190508181036000830152612e7781612e3b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612eda603283612460565b9150612ee582612e7e565b604082019050919050565b60006020820190508181036000830152612f0981612ecd565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b612f3581612f10565b8114612f4057600080fd5b50565b600081519050612f5281612f2c565b92915050565b600067ffffffffffffffff82169050919050565b612f7581612f58565b8114612f8057600080fd5b50565b600081519050612f9281612f6c565b92915050565b600080600060608486031215612fb157612fb061224e565b5b6000612fbf86828701612f43565b9350506020612fd086828701612f83565b9250506040612fe186828701612f83565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613025826121ab565b9150613030836121ab565b9250828201905080821115613048576130476121e4565b5b92915050565b6000613059826121ab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361308b5761308a6121e4565b5b600182019050919050565b600060c0820190506130ab600083018661255c565b6130b86020830185612952565b6130c560a08301846123a8565b949350505050565b600067ffffffffffffffff8211156130e8576130e7612750565b5b6130f18261249b565b9050602081019050919050565b600061311161310c846130cd565b6127b0565b90508281526020810184848401111561312d5761312c61274b565b5b613138848285612471565b509392505050565b600082601f83011261315557613154612746565b5b81516131658482602086016130fe565b91505092915050565b6000602082840312156131845761318361224e565b5b600082015167ffffffffffffffff8111156131a2576131a1612253565b5b6131ae84828501613140565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613213602683612460565b915061321e826131b7565b604082019050919050565b6000602082019050818103600083015261324281613206565b9050919050565b7f416c6c203130303020626c657373696e67732068617665206265656e206d696e60008201527f7465642e00000000000000000000000000000000000000000000000000000000602082015250565b60006132a5602483612460565b91506132b082613249565b604082019050919050565b600060208201905081810360008301526132d481613298565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613311601883612460565b915061331c826132db565b602082019050919050565b6000602082019050818103600083015261334081613304565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061337d602083612460565b915061338882613347565b602082019050919050565b600060208201905081810360008301526133ac81613370565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006133da826133b3565b6133e481856133be565b93506133f4818560208601612471565b6133fd8161249b565b840191505092915050565b600060808201905061341d600083018761242b565b61342a602083018661242b565b613437604083018561255c565b818103606083015261344981846133cf565b905095945050505050565b60008151905061346381612343565b92915050565b60006020828403121561347f5761347e61224e565b5b600061348d84828501613454565b9150509291505056fea2646970667358221220751ad43ce1252f1173d285a7d9950945580aa21fc3651dd3edcf206513cba63c64736f6c63430008130033

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

000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3000000000000000000000000f65d6475869f61c6dce6ac194b6a7dbe45a91c63000000000000000000000000463d56ffd4d463e22444a03072ec0b75e1e49af20000000000000000000000000408faa1721e8cec99cd5f5b26a439256ba8f43f

-----Decoded View---------------
Arg [0] : _edwormContract (address): 0xACd3CF818EFe8ddce84C585ddCB147c4C844D3b3
Arg [1] : _edwoneContract (address): 0xf65D6475869F61c6dce6aC194B6a7dbE45a91c63
Arg [2] : _vigilsContract (address): 0x463d56ffd4D463e22444A03072eC0b75e1e49af2
Arg [3] : _artContract (address): 0x0408fAa1721e8CeC99Cd5f5b26a439256Ba8F43F

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3
Arg [1] : 000000000000000000000000f65d6475869f61c6dce6ac194b6a7dbe45a91c63
Arg [2] : 000000000000000000000000463d56ffd4d463e22444a03072ec0b75e1e49af2
Arg [3] : 0000000000000000000000000408faa1721e8cec99cd5f5b26a439256ba8f43f


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.