ETH Price: $2,330.22 (+1.81%)

Paper Apes (PAPES)
 

Overview

TokenID

4

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
PaperApes

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : PaperApes.sol
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/access/Ownable.sol";
import "tiny-erc721/contracts/TinyERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";

contract PaperApes is TinyERC721, Ownable, DefaultOperatorFilterer {

    string public baseURI;

    address public lead;

    bool public publicPaused = true;
    
    uint256 public cost = 0.002 ether;
    uint256 public maxSupply = 444;
    uint256 public maxPerWallet = 4;
    uint256 public maxPerTx = 4;
    uint256 supply = totalSupply();

    mapping(address => uint) public addressMintedBalance;


 constructor(
    string memory _baseURI,
    address _lead
  )TinyERC721("Paper Apes", "PAPES", 0) {
    baseURI = _baseURI;
    lead = _lead;
  }

  modifier publicnotPaused() {
    require(!publicPaused, "Contract is Paused");
     _;
  }

  modifier callerIsUser() {
    require(tx.origin == msg.sender, 'The caller is another contract.');
    _;
  }

  function tokenURI(uint256 _tokenId) public view override returns (string memory) {
    require(_exists(_tokenId), "Token does not exist.");
    return string(abi.encodePacked(baseURI, Strings.toString(_tokenId),".json"));
  }

  function togglePublic(bool _state) external onlyOwner {
    publicPaused = _state;
  }

  function privateMint(uint256 _quanitity) public onlyOwner {        
    uint256 supply = totalSupply();
    require(_quanitity + supply <= maxSupply);
    _safeMint(msg.sender, _quanitity);
  }

  function setBaseURI(string memory _baseURI) public onlyOwner {
    baseURI = _baseURI;
  }

  function setmaxSupply(uint256 _maxSupply) public onlyOwner {
    maxSupply = _maxSupply;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setmaxPerWallet(uint256 _MPWPublic) public onlyOwner {
    maxPerWallet = _MPWPublic;
  }

  function setmaxPerTx(uint256 _MPTxPublic) public onlyOwner {
    maxPerTx = _MPTxPublic;
  }

  function Mint(uint256 _quantity)
    public 
    payable 
    publicnotPaused() 
    callerIsUser() 
  {
    uint256 supply = totalSupply();
    require(msg.value >= cost * _quantity, "Not Enough Ether");
    require(_quantity <= maxPerTx, "Over Tx Limit");
    require(_quantity + supply <= maxSupply, "SoldOut");
    require(addressMintedBalance[msg.sender] < maxPerWallet, "Over MaxPerWallet");
    addressMintedBalance[msg.sender] += _quantity;
    
    _safeMint(msg.sender, _quantity);
  }

  function withdraw() public onlyOwner {
    (bool success, ) = lead.call{value: address(this).balance}("");
    require(success, "Failed to send to lead.");
  }

}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 3 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 4 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 5 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 6 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 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 8 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 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 10 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 11 of 14 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 12 of 14 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 13 of 14 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 14 of 14 : TinyERC721.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

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

contract TinyERC721 is Context, ERC165, IERC721, IERC721Metadata {
  using Address for address;
  using Strings for uint256;

  struct TokenData {
    address owner;
    bytes12 aux;
  }

  uint256 private immutable _maxBatchSize;

  mapping(uint256 => TokenData) private _tokens;
  uint256 private _mintCounter;

  string private _name;
  string private _symbol;

  mapping(uint256 => address) private _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

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

  function totalSupply() public view virtual returns (uint256) {
    return _mintCounter;
  }

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

  function name() public view virtual override returns (string memory) {
    return _name;
  }

  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

  function _baseURI() internal view virtual returns (string memory) {
    return '';
  }

  function balanceOf(address owner) public view virtual override returns (uint256) {
    if (owner == address(0)) revert BalanceQueryForZeroAddress();

    uint256 total = totalSupply();
    uint256 count;
    address lastOwner;
    for (uint256 i; i < total; ++i) {
      address tokenOwner = _tokens[i].owner;
      if (tokenOwner != address(0)) lastOwner = tokenOwner;
      if (lastOwner == owner) ++count;
    }

    return count;
  }

  function _tokenData(uint256 tokenId) internal view returns (TokenData storage) {
    if (!_exists(tokenId)) revert TokenDataQueryForNonexistentToken();

    TokenData storage token = _tokens[tokenId];
    uint256 currentIndex = tokenId;
    while (token.owner == address(0)) {
      unchecked {
        --currentIndex;
      }
      token = _tokens[currentIndex];
    }

    return token;
  }

  function ownerOf(uint256 tokenId) public view virtual override returns (address) {
    if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken();
    return _tokenData(tokenId).owner;
  }

  function approve(address to, uint256 tokenId) public virtual override {
    TokenData memory token = _tokenData(tokenId);
    address owner = token.owner;
    if (to == owner) revert ApprovalToCurrentOwner();

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

    _approve(to, tokenId, token);
  }

  function getApproved(uint256 tokenId) public view virtual override returns (address) {
    if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

    return _tokenApprovals[tokenId];
  }

  function setApprovalForAll(address operator, bool approved) public virtual override {
    if (operator == _msgSender()) revert ApproveToCaller();

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

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

  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    TokenData memory token = _tokenData(tokenId);
    if (!_isApprovedOrOwner(_msgSender(), tokenId, token)) revert TransferCallerNotOwnerNorApproved();

    _transfer(from, to, tokenId, token);
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    safeTransferFrom(from, to, tokenId, '');
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public virtual override {
    TokenData memory token = _tokenData(tokenId);
    if (!_isApprovedOrOwner(_msgSender(), tokenId, token)) revert TransferCallerNotOwnerNorApproved();

    _safeTransfer(from, to, tokenId, token, _data);
  }

  function _safeTransfer(
    address from,
    address to,
    uint256 tokenId,
    TokenData memory token,
    bytes memory _data
  ) internal virtual {
    _transfer(from, to, tokenId, token);

    if (to.isContract() && !_checkOnERC721Received(from, to, tokenId, _data))
      revert TransferToNonERC721ReceiverImplementer();
  }

  function _exists(uint256 tokenId) internal view virtual returns (bool) {
    return tokenId < _mintCounter;
  }

  function _isApprovedOrOwner(
    address spender,
    uint256 tokenId,
    TokenData memory token
  ) internal view virtual returns (bool) {
    address owner = token.owner;
    return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
  }

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

  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal virtual {
    uint256 startTokenId = _mintCounter;
    _mint(to, quantity);

    if (to.isContract()) {
      unchecked {
        for (uint256 i; i < quantity; ++i) {
          if (!_checkOnERC721Received(address(0), to, startTokenId + i, _data))
            revert TransferToNonERC721ReceiverImplementer();
        }
      }
    }
  }

  function _mint(address to, uint256 quantity) internal virtual {
    if (to == address(0)) revert MintToZeroAddress();
    if (quantity == 0) revert MintZeroQuantity();

    uint256 startTokenId = _mintCounter;
    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    unchecked {
      for (uint256 i; i < quantity; ++i) {
        if (_maxBatchSize == 0 ? i == 0 : i % _maxBatchSize == 0) {
          TokenData storage token = _tokens[startTokenId + i];
          token.owner = to;
          token.aux = _calculateAux(address(0), to, startTokenId + i, 0);
        }

        emit Transfer(address(0), to, startTokenId + i);
      }
      _mintCounter += quantity;
    }

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

  function _transfer(
    address from,
    address to,
    uint256 tokenId,
    TokenData memory token
  ) internal virtual {
    if (token.owner != from) revert TransferFromIncorrectOwner();
    if (to == address(0)) revert TransferToZeroAddress();

    _beforeTokenTransfers(from, to, tokenId, 1);

    _approve(address(0), tokenId, token);

    unchecked {
      uint256 nextTokenId = tokenId + 1;
      if (_exists(nextTokenId)) {
        TokenData storage nextToken = _tokens[nextTokenId];
        if (nextToken.owner == address(0)) {
          nextToken.owner = token.owner;
          nextToken.aux = token.aux;
        }
      }
    }

    TokenData storage newToken = _tokens[tokenId];
    newToken.owner = to;
    newToken.aux = _calculateAux(from, to, tokenId, token.aux);

    emit Transfer(from, to, tokenId);

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

  function _calculateAux(
    address from,
    address to,
    uint256 tokenId,
    bytes12 current
  ) internal view virtual returns (bytes12) {}

  function _approve(
    address to,
    uint256 tokenId,
    TokenData memory token
  ) internal virtual {
    _tokenApprovals[tokenId] = to;
    emit Approval(token.owner, to, tokenId);
  }

  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
      return retval == IERC721Receiver.onERC721Received.selector;
    } catch (bytes memory reason) {
      if (reason.length == 0) {
        revert TransferToNonERC721ReceiverImplementer();
      } else {
        assembly {
          revert(add(32, reason), mload(reason))
        }
      }
    }
  }

  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_lead","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenDataQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lead","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quanitity","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPTxPublic","type":"uint256"}],"name":"setmaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPWPublic","type":"uint256"}],"name":"setmaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526001600860146101000a81548160ff02191690831515021790555066071afd498d00006009556101bc600a556004600b556004600c556200004a620003a660201b60201c565b600d553480156200005a57600080fd5b50604051620047a7380380620047a7833981810160405281019062000080919062000676565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a81526020017f50617065722041706573000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f50415045530000000000000000000000000000000000000000000000000000008152506000826002908162000116919062000927565b50816003908162000128919062000927565b5080608081815250505050506200015462000148620003b060201b60201c565b620003b860201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003495780156200020f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001d592919062000a1f565b600060405180830381600087803b158015620001f057600080fd5b505af115801562000205573d6000803e3d6000fd5b5050505062000348565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002c9576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200028f92919062000a1f565b600060405180830381600087803b158015620002aa57600080fd5b505af1158015620002bf573d6000803e3d6000fd5b5050505062000347565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000312919062000a4c565b600060405180830381600087803b1580156200032d57600080fd5b505af115801562000342573d6000803e3d6000fd5b505050505b5b5b505081600790816200035c919062000927565b5080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000a69565b6000600154905090565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004e7826200049c565b810181811067ffffffffffffffff82111715620005095762000508620004ad565b5b80604052505050565b60006200051e6200047e565b90506200052c8282620004dc565b919050565b600067ffffffffffffffff8211156200054f576200054e620004ad565b5b6200055a826200049c565b9050602081019050919050565b60005b83811015620005875780820151818401526020810190506200056a565b60008484015250505050565b6000620005aa620005a48462000531565b62000512565b905082815260208101848484011115620005c957620005c862000497565b5b620005d684828562000567565b509392505050565b600082601f830112620005f657620005f562000492565b5b81516200060884826020860162000593565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200063e8262000611565b9050919050565b620006508162000631565b81146200065c57600080fd5b50565b600081519050620006708162000645565b92915050565b6000806040838503121562000690576200068f62000488565b5b600083015167ffffffffffffffff811115620006b157620006b06200048d565b5b620006bf85828601620005de565b9250506020620006d2858286016200065f565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072f57607f821691505b602082108103620007455762000744620006e7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000770565b620007bb868362000770565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200080862000802620007fc84620007d3565b620007dd565b620007d3565b9050919050565b6000819050919050565b6200082483620007e7565b6200083c62000833826200080f565b8484546200077d565b825550505050565b600090565b6200085362000844565b6200086081848462000819565b505050565b5b8181101562000888576200087c60008262000849565b60018101905062000866565b5050565b601f821115620008d757620008a1816200074b565b620008ac8462000760565b81016020851015620008bc578190505b620008d4620008cb8562000760565b83018262000865565b50505b505050565b600082821c905092915050565b6000620008fc60001984600802620008dc565b1980831691505092915050565b6000620009178383620008e9565b9150826002028217905092915050565b6200093282620006dc565b67ffffffffffffffff8111156200094e576200094d620004ad565b5b6200095a825462000716565b620009678282856200088c565b600060209050601f8311600181146200099f57600084156200098a578287015190505b62000996858262000909565b86555062000a06565b601f198416620009af866200074b565b60005b82811015620009d957848901518255600182019150602085019450602081019050620009b2565b86831015620009f95784890151620009f5601f891682620008e9565b8355505b6001600288020188555050505b505050505050565b62000a198162000631565b82525050565b600060408201905062000a36600083018562000a0e565b62000a45602083018462000a0e565b9392505050565b600060208201905062000a63600083018462000a0e565b92915050565b608051613d1b62000a8c6000396000818161289a01526128c20152613d1b6000f3fe6080604052600436106102045760003560e01c806346bb0a161161011857806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd1461071e578063d5abeb011461075b578063e985e9c514610786578063f2fde38b146107c3578063f968adbe146107ec57610204565b806395d89b4114610678578063a22cb465146106a3578063abfe40a8146106cc578063b88d4fde146106f557610204565b80636c0360eb116100e75780636c0360eb146105a557806370a08231146105d0578063715018a61461060d578063805dcae5146106245780638da5cb5b1461064d57610204565b806346bb0a16146104eb57806355f804b31461051657806360d3e1ae1461053f5780636352211e1461056857610204565b806318160ddd1161019b5780633ccfd60b1161016a5780633ccfd60b1461042c57806341f434341461044357806342842e0e1461046e57806344a0d68a14610497578063453c2310146104c057610204565b806318160ddd1461037257806318cae2691461039d578063228025e8146103da57806323b872dd1461040357610204565b8063095ea7b3116101d7578063095ea7b3146102ca5780630bb12bb8146102f35780630e21f59f1461031e57806313faede61461034757610204565b806301ffc9a71461020957806306fdde03146102465780630788370314610271578063081812fc1461028d575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612a90565b610817565b60405161023d9190612ad8565b60405180910390f35b34801561025257600080fd5b5061025b6108f9565b6040516102689190612b83565b60405180910390f35b61028b60048036038101906102869190612bdb565b61098b565b005b34801561029957600080fd5b506102b460048036038101906102af9190612bdb565b610c21565b6040516102c19190612c49565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190612c90565b610c9d565b005b3480156102ff57600080fd5b50610308610e57565b6040516103159190612ad8565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190612cfc565b610e6a565b005b34801561035357600080fd5b5061035c610f03565b6040516103699190612d38565b60405180910390f35b34801561037e57600080fd5b50610387610f09565b6040516103949190612d38565b60405180910390f35b3480156103a957600080fd5b506103c460048036038101906103bf9190612d53565b610f13565b6040516103d19190612d38565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc9190612bdb565b610f2b565b005b34801561040f57600080fd5b5061042a60048036038101906104259190612d80565b610fb1565b005b34801561043857600080fd5b506104416110be565b005b34801561044f57600080fd5b5061045861120b565b6040516104659190612e32565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190612d80565b61121d565b005b3480156104a357600080fd5b506104be60048036038101906104b99190612bdb565b61123d565b005b3480156104cc57600080fd5b506104d56112c3565b6040516104e29190612d38565b60405180910390f35b3480156104f757600080fd5b506105006112c9565b60405161050d9190612c49565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190612f82565b6112ef565b005b34801561054b57600080fd5b5061056660048036038101906105619190612bdb565b61137e565b005b34801561057457600080fd5b5061058f600480360381019061058a9190612bdb565b611404565b60405161059c9190612c49565b60405180910390f35b3480156105b157600080fd5b506105ba611479565b6040516105c79190612b83565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190612d53565b611507565b6040516106049190612d38565b60405180910390f35b34801561061957600080fd5b50610622611658565b005b34801561063057600080fd5b5061064b60048036038101906106469190612bdb565b6116e0565b005b34801561065957600080fd5b50610662611766565b60405161066f9190612c49565b60405180910390f35b34801561068457600080fd5b5061068d611790565b60405161069a9190612b83565b60405180910390f35b3480156106af57600080fd5b506106ca60048036038101906106c59190612fcb565b611822565b005b3480156106d857600080fd5b506106f360048036038101906106ee9190612bdb565b611999565b005b34801561070157600080fd5b5061071c600480360381019061071791906130ac565b611a49565b005b34801561072a57600080fd5b5061074560048036038101906107409190612bdb565b611b58565b6040516107529190612b83565b60405180910390f35b34801561076757600080fd5b50610770611bd4565b60405161077d9190612d38565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a8919061312f565b611bda565b6040516107ba9190612ad8565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e59190612d53565b611c6e565b005b3480156107f857600080fd5b50610801611d65565b60405161080e9190612d38565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f257506108f182611d6b565b5b9050919050565b6060600280546109089061319e565b80601f01602080910402602001604051908101604052809291908181526020018280546109349061319e565b80156109815780601f1061095657610100808354040283529160200191610981565b820191906000526020600020905b81548152906001019060200180831161096457829003601f168201915b5050505050905090565b600860149054906101000a900460ff16156109db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d29061321b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4090613287565b60405180910390fd5b6000610a53610f09565b905081600954610a6391906132d6565b341015610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613364565b60405180910390fd5b600c54821115610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae1906133d0565b60405180910390fd5b600a548183610af991906133f0565b1115610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3190613470565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb4906134dc565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c0c91906133f0565b92505081905550610c1d3383611dd5565b5050565b6000610c2c82611df3565b610c62576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ca882611e01565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610dbe576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ddd611ee0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e0f5750610e0d81610e08611ee0565b611bda565b155b15610e46576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e51848484611ee8565b50505050565b600860149054906101000a900460ff1681565b610e72611ee0565b73ffffffffffffffffffffffffffffffffffffffff16610e90611766565b73ffffffffffffffffffffffffffffffffffffffff1614610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90613548565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b60095481565b6000600154905090565b600e6020528060005260406000206000915090505481565b610f33611ee0565b73ffffffffffffffffffffffffffffffffffffffff16610f51611766565b73ffffffffffffffffffffffffffffffffffffffff1614610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90613548565b60405180910390fd5b80600a8190555050565b6000610fbc82611e01565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681525050905061107661106f611ee0565b8383611f9e565b6110ac576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110b884848484612030565b50505050565b6110c6611ee0565b73ffffffffffffffffffffffffffffffffffffffff166110e4611766565b73ffffffffffffffffffffffffffffffffffffffff161461113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190613548565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161118290613599565b60006040518083038185875af1925050503d80600081146111bf576040519150601f19603f3d011682016040523d82523d6000602084013e6111c4565b606091505b5050905080611208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ff906135fa565b60405180910390fd5b50565b6daaeb6d7670e522a718067333cd4e81565b61123883838360405180602001604052806000815250611a49565b505050565b611245611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611263611766565b73ffffffffffffffffffffffffffffffffffffffff16146112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b090613548565b60405180910390fd5b8060098190555050565b600b5481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112f7611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611315611766565b73ffffffffffffffffffffffffffffffffffffffff161461136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290613548565b60405180910390fd5b806007908161137a91906137bc565b5050565b611386611ee0565b73ffffffffffffffffffffffffffffffffffffffff166113a4611766565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f190613548565b60405180910390fd5b80600b8190555050565b600061140f82611df3565b611445576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61144e82611e01565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600780546114869061319e565b80601f01602080910402602001604051908101604052809291908181526020018280546114b29061319e565b80156114ff5780601f106114d4576101008083540402835291602001916114ff565b820191906000526020600020905b8154815290600101906020018083116114e257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361156e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611578610f09565b905060008060005b8381101561164c57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146115fa578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361163a57836116379061388e565b93505b50806116459061388e565b9050611580565b50819350505050919050565b611660611ee0565b73ffffffffffffffffffffffffffffffffffffffff1661167e611766565b73ffffffffffffffffffffffffffffffffffffffff16146116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb90613548565b60405180910390fd5b6116de6000612312565b565b6116e8611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611706611766565b73ffffffffffffffffffffffffffffffffffffffff161461175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390613548565b60405180910390fd5b80600c8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461179f9061319e565b80601f01602080910402602001604051908101604052809291908181526020018280546117cb9061319e565b80156118185780601f106117ed57610100808354040283529160200191611818565b820191906000526020600020905b8154815290600101906020018083116117fb57829003601f168201915b5050505050905090565b61182a611ee0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361188e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806005600061189b611ee0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611948611ee0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161198d9190612ad8565b60405180910390a35050565b6119a1611ee0565b73ffffffffffffffffffffffffffffffffffffffff166119bf611766565b73ffffffffffffffffffffffffffffffffffffffff1614611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c90613548565b60405180910390fd5b6000611a1f610f09565b9050600a548183611a3091906133f0565b1115611a3b57600080fd5b611a453383611dd5565b5050565b6000611a5483611e01565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611b0e611b07611ee0565b8483611f9e565b611b44576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b5185858584866123d8565b5050505050565b6060611b6382611df3565b611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990613922565b60405180910390fd5b6007611bad83612456565b604051602001611bbe929190613a4d565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c76611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611c94611766565b73ffffffffffffffffffffffffffffffffffffffff1614611cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce190613548565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090613aee565b60405180910390fd5b611d6281612312565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611def8282604051806020016040528060008152506125b6565b5050565b600060015482109050919050565b6000611e0c82611df3565b611e42576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611ed657806001900390506000808281526020019081526020016000209150611e5e565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611fe85750611fe78186611bda565b5b8061202657508473ffffffffffffffffffffffffffffffffffffffff1661200e85610c21565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612099576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120ff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61210c848484600161264e565b61211860008383611ee8565b600060018301905061212981611df3565b156122125760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036122105782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061227c8585858560200151612654565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461230b858585600161265e565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123e485858585612030565b6124038473ffffffffffffffffffffffffffffffffffffffff16612664565b8015612418575061241685858584612687565b155b1561244f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000820361249d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125b1565b600082905060005b600082146124cf5780806124b89061388e565b915050600a826124c89190613b3d565b91506124a5565b60008167ffffffffffffffff8111156124eb576124ea612e57565b5b6040519080825280601f01601f19166020018201604052801561251d5781602001600182028036833780820191505090505b5090505b600085146125aa576001826125369190613b6e565b9150600a856125459190613ba2565b603061255191906133f0565b60f81b81838151811061256757612566613bd3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125a39190613b3d565b9450612521565b8093505050505b919050565b600060015490506125c784846127d7565b6125e68473ffffffffffffffffffffffffffffffffffffffff16612664565b156126485760005b838110156126465761260560008683850186612687565b61263b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010190506125ee565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126ad611ee0565b8786866040518563ffffffff1660e01b81526004016126cf9493929190613c57565b6020604051808303816000875af192505050801561270b57506040513d601f19601f820116820180604052508101906127089190613cb8565b60015b612784573d806000811461273b576040519150601f19603f3d011682016040523d82523d6000602084013e612740565b606091505b50600081510361277c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361283d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008103612877576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600154905061288b600084838561264e565b60005b82811015612a015760007f0000000000000000000000000000000000000000000000000000000000000000146128f75760007f000000000000000000000000000000000000000000000000000000000000000082816128f0576128ef613b0e565b5b06146128fc565b600081145b1561299857600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061296f600086848601600060a01b612654565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480600101905061288e565b5081600160008282540192505081905550612a1f600084838561265e565b505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a6d81612a38565b8114612a7857600080fd5b50565b600081359050612a8a81612a64565b92915050565b600060208284031215612aa657612aa5612a2e565b5b6000612ab484828501612a7b565b91505092915050565b60008115159050919050565b612ad281612abd565b82525050565b6000602082019050612aed6000830184612ac9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b2d578082015181840152602081019050612b12565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b5582612af3565b612b5f8185612afe565b9350612b6f818560208601612b0f565b612b7881612b39565b840191505092915050565b60006020820190508181036000830152612b9d8184612b4a565b905092915050565b6000819050919050565b612bb881612ba5565b8114612bc357600080fd5b50565b600081359050612bd581612baf565b92915050565b600060208284031215612bf157612bf0612a2e565b5b6000612bff84828501612bc6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3382612c08565b9050919050565b612c4381612c28565b82525050565b6000602082019050612c5e6000830184612c3a565b92915050565b612c6d81612c28565b8114612c7857600080fd5b50565b600081359050612c8a81612c64565b92915050565b60008060408385031215612ca757612ca6612a2e565b5b6000612cb585828601612c7b565b9250506020612cc685828601612bc6565b9150509250929050565b612cd981612abd565b8114612ce457600080fd5b50565b600081359050612cf681612cd0565b92915050565b600060208284031215612d1257612d11612a2e565b5b6000612d2084828501612ce7565b91505092915050565b612d3281612ba5565b82525050565b6000602082019050612d4d6000830184612d29565b92915050565b600060208284031215612d6957612d68612a2e565b5b6000612d7784828501612c7b565b91505092915050565b600080600060608486031215612d9957612d98612a2e565b5b6000612da786828701612c7b565b9350506020612db886828701612c7b565b9250506040612dc986828701612bc6565b9150509250925092565b6000819050919050565b6000612df8612df3612dee84612c08565b612dd3565b612c08565b9050919050565b6000612e0a82612ddd565b9050919050565b6000612e1c82612dff565b9050919050565b612e2c81612e11565b82525050565b6000602082019050612e476000830184612e23565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e8f82612b39565b810181811067ffffffffffffffff82111715612eae57612ead612e57565b5b80604052505050565b6000612ec1612a24565b9050612ecd8282612e86565b919050565b600067ffffffffffffffff821115612eed57612eec612e57565b5b612ef682612b39565b9050602081019050919050565b82818337600083830152505050565b6000612f25612f2084612ed2565b612eb7565b905082815260208101848484011115612f4157612f40612e52565b5b612f4c848285612f03565b509392505050565b600082601f830112612f6957612f68612e4d565b5b8135612f79848260208601612f12565b91505092915050565b600060208284031215612f9857612f97612a2e565b5b600082013567ffffffffffffffff811115612fb657612fb5612a33565b5b612fc284828501612f54565b91505092915050565b60008060408385031215612fe257612fe1612a2e565b5b6000612ff085828601612c7b565b925050602061300185828601612ce7565b9150509250929050565b600067ffffffffffffffff82111561302657613025612e57565b5b61302f82612b39565b9050602081019050919050565b600061304f61304a8461300b565b612eb7565b90508281526020810184848401111561306b5761306a612e52565b5b613076848285612f03565b509392505050565b600082601f83011261309357613092612e4d565b5b81356130a384826020860161303c565b91505092915050565b600080600080608085870312156130c6576130c5612a2e565b5b60006130d487828801612c7b565b94505060206130e587828801612c7b565b93505060406130f687828801612bc6565b925050606085013567ffffffffffffffff81111561311757613116612a33565b5b6131238782880161307e565b91505092959194509250565b6000806040838503121561314657613145612a2e565b5b600061315485828601612c7b565b925050602061316585828601612c7b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131b657607f821691505b6020821081036131c9576131c861316f565b5b50919050565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b6000613205601283612afe565b9150613210826131cf565b602082019050919050565b60006020820190508181036000830152613234816131f8565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b6000613271601f83612afe565b915061327c8261323b565b602082019050919050565b600060208201905081810360008301526132a081613264565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132e182612ba5565b91506132ec83612ba5565b92508282026132fa81612ba5565b91508282048414831517613311576133106132a7565b5b5092915050565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b600061334e601083612afe565b915061335982613318565b602082019050919050565b6000602082019050818103600083015261337d81613341565b9050919050565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b60006133ba600d83612afe565b91506133c582613384565b602082019050919050565b600060208201905081810360008301526133e9816133ad565b9050919050565b60006133fb82612ba5565b915061340683612ba5565b925082820190508082111561341e5761341d6132a7565b5b92915050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b600061345a600783612afe565b915061346582613424565b602082019050919050565b600060208201905081810360008301526134898161344d565b9050919050565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b60006134c6601183612afe565b91506134d182613490565b602082019050919050565b600060208201905081810360008301526134f5816134b9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613532602083612afe565b915061353d826134fc565b602082019050919050565b6000602082019050818103600083015261356181613525565b9050919050565b600081905092915050565b50565b6000613583600083613568565b915061358e82613573565b600082019050919050565b60006135a482613576565b9150819050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b60006135e4601783612afe565b91506135ef826135ae565b602082019050919050565b60006020820190508181036000830152613613816135d7565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261367c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261363f565b613686868361363f565b95508019841693508086168417925050509392505050565b60006136b96136b46136af84612ba5565b612dd3565b612ba5565b9050919050565b6000819050919050565b6136d38361369e565b6136e76136df826136c0565b84845461364c565b825550505050565b600090565b6136fc6136ef565b6137078184846136ca565b505050565b5b8181101561372b576137206000826136f4565b60018101905061370d565b5050565b601f821115613770576137418161361a565b61374a8461362f565b81016020851015613759578190505b61376d6137658561362f565b83018261370c565b50505b505050565b600082821c905092915050565b600061379360001984600802613775565b1980831691505092915050565b60006137ac8383613782565b9150826002028217905092915050565b6137c582612af3565b67ffffffffffffffff8111156137de576137dd612e57565b5b6137e8825461319e565b6137f382828561372f565b600060209050601f8311600181146138265760008415613814578287015190505b61381e85826137a0565b865550613886565b601f1984166138348661361a565b60005b8281101561385c57848901518255600182019150602085019450602081019050613837565b868310156138795784890151613875601f891682613782565b8355505b6001600288020188555050505b505050505050565b600061389982612ba5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138cb576138ca6132a7565b5b600182019050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b600061390c601583612afe565b9150613917826138d6565b602082019050919050565b6000602082019050818103600083015261393b816138ff565b9050919050565b600081905092915050565b6000815461395a8161319e565b6139648186613942565b9450600182166000811461397f5760018114613994576139c7565b60ff19831686528115158202860193506139c7565b61399d8561361a565b60005b838110156139bf578154818901526001820191506020810190506139a0565b838801955050505b50505092915050565b60006139db82612af3565b6139e58185613942565b93506139f5818560208601612b0f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613a37600583613942565b9150613a4282613a01565b600582019050919050565b6000613a59828561394d565b9150613a6582846139d0565b9150613a7082613a2a565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ad8602683612afe565b9150613ae382613a7c565b604082019050919050565b60006020820190508181036000830152613b0781613acb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b4882612ba5565b9150613b5383612ba5565b925082613b6357613b62613b0e565b5b828204905092915050565b6000613b7982612ba5565b9150613b8483612ba5565b9250828203905081811115613b9c57613b9b6132a7565b5b92915050565b6000613bad82612ba5565b9150613bb883612ba5565b925082613bc857613bc7613b0e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613c2982613c02565b613c338185613c0d565b9350613c43818560208601612b0f565b613c4c81612b39565b840191505092915050565b6000608082019050613c6c6000830187612c3a565b613c796020830186612c3a565b613c866040830185612d29565b8181036060830152613c988184613c1e565b905095945050505050565b600081519050613cb281612a64565b92915050565b600060208284031215613cce57613ccd612a2e565b5b6000613cdc84828501613ca3565b9150509291505056fea2646970667358221220a9229f2898be34ca8b7bafd77a712f25d20cf11f97fd2470f9467e5f6c6b462d64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000021ca68caf30ef60882cccf840c57aec700f94e440000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d544c68436b59394164646b4a58794b706d6531346d31754e505555515861506d736b52374b4e764c656479782f00000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c806346bb0a161161011857806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd1461071e578063d5abeb011461075b578063e985e9c514610786578063f2fde38b146107c3578063f968adbe146107ec57610204565b806395d89b4114610678578063a22cb465146106a3578063abfe40a8146106cc578063b88d4fde146106f557610204565b80636c0360eb116100e75780636c0360eb146105a557806370a08231146105d0578063715018a61461060d578063805dcae5146106245780638da5cb5b1461064d57610204565b806346bb0a16146104eb57806355f804b31461051657806360d3e1ae1461053f5780636352211e1461056857610204565b806318160ddd1161019b5780633ccfd60b1161016a5780633ccfd60b1461042c57806341f434341461044357806342842e0e1461046e57806344a0d68a14610497578063453c2310146104c057610204565b806318160ddd1461037257806318cae2691461039d578063228025e8146103da57806323b872dd1461040357610204565b8063095ea7b3116101d7578063095ea7b3146102ca5780630bb12bb8146102f35780630e21f59f1461031e57806313faede61461034757610204565b806301ffc9a71461020957806306fdde03146102465780630788370314610271578063081812fc1461028d575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612a90565b610817565b60405161023d9190612ad8565b60405180910390f35b34801561025257600080fd5b5061025b6108f9565b6040516102689190612b83565b60405180910390f35b61028b60048036038101906102869190612bdb565b61098b565b005b34801561029957600080fd5b506102b460048036038101906102af9190612bdb565b610c21565b6040516102c19190612c49565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190612c90565b610c9d565b005b3480156102ff57600080fd5b50610308610e57565b6040516103159190612ad8565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190612cfc565b610e6a565b005b34801561035357600080fd5b5061035c610f03565b6040516103699190612d38565b60405180910390f35b34801561037e57600080fd5b50610387610f09565b6040516103949190612d38565b60405180910390f35b3480156103a957600080fd5b506103c460048036038101906103bf9190612d53565b610f13565b6040516103d19190612d38565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc9190612bdb565b610f2b565b005b34801561040f57600080fd5b5061042a60048036038101906104259190612d80565b610fb1565b005b34801561043857600080fd5b506104416110be565b005b34801561044f57600080fd5b5061045861120b565b6040516104659190612e32565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190612d80565b61121d565b005b3480156104a357600080fd5b506104be60048036038101906104b99190612bdb565b61123d565b005b3480156104cc57600080fd5b506104d56112c3565b6040516104e29190612d38565b60405180910390f35b3480156104f757600080fd5b506105006112c9565b60405161050d9190612c49565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190612f82565b6112ef565b005b34801561054b57600080fd5b5061056660048036038101906105619190612bdb565b61137e565b005b34801561057457600080fd5b5061058f600480360381019061058a9190612bdb565b611404565b60405161059c9190612c49565b60405180910390f35b3480156105b157600080fd5b506105ba611479565b6040516105c79190612b83565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190612d53565b611507565b6040516106049190612d38565b60405180910390f35b34801561061957600080fd5b50610622611658565b005b34801561063057600080fd5b5061064b60048036038101906106469190612bdb565b6116e0565b005b34801561065957600080fd5b50610662611766565b60405161066f9190612c49565b60405180910390f35b34801561068457600080fd5b5061068d611790565b60405161069a9190612b83565b60405180910390f35b3480156106af57600080fd5b506106ca60048036038101906106c59190612fcb565b611822565b005b3480156106d857600080fd5b506106f360048036038101906106ee9190612bdb565b611999565b005b34801561070157600080fd5b5061071c600480360381019061071791906130ac565b611a49565b005b34801561072a57600080fd5b5061074560048036038101906107409190612bdb565b611b58565b6040516107529190612b83565b60405180910390f35b34801561076757600080fd5b50610770611bd4565b60405161077d9190612d38565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a8919061312f565b611bda565b6040516107ba9190612ad8565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e59190612d53565b611c6e565b005b3480156107f857600080fd5b50610801611d65565b60405161080e9190612d38565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f257506108f182611d6b565b5b9050919050565b6060600280546109089061319e565b80601f01602080910402602001604051908101604052809291908181526020018280546109349061319e565b80156109815780601f1061095657610100808354040283529160200191610981565b820191906000526020600020905b81548152906001019060200180831161096457829003601f168201915b5050505050905090565b600860149054906101000a900460ff16156109db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d29061321b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4090613287565b60405180910390fd5b6000610a53610f09565b905081600954610a6391906132d6565b341015610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613364565b60405180910390fd5b600c54821115610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae1906133d0565b60405180910390fd5b600a548183610af991906133f0565b1115610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3190613470565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb4906134dc565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c0c91906133f0565b92505081905550610c1d3383611dd5565b5050565b6000610c2c82611df3565b610c62576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ca882611e01565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610dbe576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ddd611ee0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e0f5750610e0d81610e08611ee0565b611bda565b155b15610e46576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e51848484611ee8565b50505050565b600860149054906101000a900460ff1681565b610e72611ee0565b73ffffffffffffffffffffffffffffffffffffffff16610e90611766565b73ffffffffffffffffffffffffffffffffffffffff1614610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90613548565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b60095481565b6000600154905090565b600e6020528060005260406000206000915090505481565b610f33611ee0565b73ffffffffffffffffffffffffffffffffffffffff16610f51611766565b73ffffffffffffffffffffffffffffffffffffffff1614610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90613548565b60405180910390fd5b80600a8190555050565b6000610fbc82611e01565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681525050905061107661106f611ee0565b8383611f9e565b6110ac576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110b884848484612030565b50505050565b6110c6611ee0565b73ffffffffffffffffffffffffffffffffffffffff166110e4611766565b73ffffffffffffffffffffffffffffffffffffffff161461113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190613548565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161118290613599565b60006040518083038185875af1925050503d80600081146111bf576040519150601f19603f3d011682016040523d82523d6000602084013e6111c4565b606091505b5050905080611208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ff906135fa565b60405180910390fd5b50565b6daaeb6d7670e522a718067333cd4e81565b61123883838360405180602001604052806000815250611a49565b505050565b611245611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611263611766565b73ffffffffffffffffffffffffffffffffffffffff16146112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b090613548565b60405180910390fd5b8060098190555050565b600b5481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112f7611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611315611766565b73ffffffffffffffffffffffffffffffffffffffff161461136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290613548565b60405180910390fd5b806007908161137a91906137bc565b5050565b611386611ee0565b73ffffffffffffffffffffffffffffffffffffffff166113a4611766565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f190613548565b60405180910390fd5b80600b8190555050565b600061140f82611df3565b611445576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61144e82611e01565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600780546114869061319e565b80601f01602080910402602001604051908101604052809291908181526020018280546114b29061319e565b80156114ff5780601f106114d4576101008083540402835291602001916114ff565b820191906000526020600020905b8154815290600101906020018083116114e257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361156e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611578610f09565b905060008060005b8381101561164c57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146115fa578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361163a57836116379061388e565b93505b50806116459061388e565b9050611580565b50819350505050919050565b611660611ee0565b73ffffffffffffffffffffffffffffffffffffffff1661167e611766565b73ffffffffffffffffffffffffffffffffffffffff16146116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb90613548565b60405180910390fd5b6116de6000612312565b565b6116e8611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611706611766565b73ffffffffffffffffffffffffffffffffffffffff161461175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390613548565b60405180910390fd5b80600c8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461179f9061319e565b80601f01602080910402602001604051908101604052809291908181526020018280546117cb9061319e565b80156118185780601f106117ed57610100808354040283529160200191611818565b820191906000526020600020905b8154815290600101906020018083116117fb57829003601f168201915b5050505050905090565b61182a611ee0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361188e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806005600061189b611ee0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611948611ee0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161198d9190612ad8565b60405180910390a35050565b6119a1611ee0565b73ffffffffffffffffffffffffffffffffffffffff166119bf611766565b73ffffffffffffffffffffffffffffffffffffffff1614611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c90613548565b60405180910390fd5b6000611a1f610f09565b9050600a548183611a3091906133f0565b1115611a3b57600080fd5b611a453383611dd5565b5050565b6000611a5483611e01565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611b0e611b07611ee0565b8483611f9e565b611b44576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b5185858584866123d8565b5050505050565b6060611b6382611df3565b611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990613922565b60405180910390fd5b6007611bad83612456565b604051602001611bbe929190613a4d565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c76611ee0565b73ffffffffffffffffffffffffffffffffffffffff16611c94611766565b73ffffffffffffffffffffffffffffffffffffffff1614611cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce190613548565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090613aee565b60405180910390fd5b611d6281612312565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611def8282604051806020016040528060008152506125b6565b5050565b600060015482109050919050565b6000611e0c82611df3565b611e42576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611ed657806001900390506000808281526020019081526020016000209150611e5e565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611fe85750611fe78186611bda565b5b8061202657508473ffffffffffffffffffffffffffffffffffffffff1661200e85610c21565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612099576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120ff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61210c848484600161264e565b61211860008383611ee8565b600060018301905061212981611df3565b156122125760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036122105782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061227c8585858560200151612654565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461230b858585600161265e565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123e485858585612030565b6124038473ffffffffffffffffffffffffffffffffffffffff16612664565b8015612418575061241685858584612687565b155b1561244f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000820361249d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125b1565b600082905060005b600082146124cf5780806124b89061388e565b915050600a826124c89190613b3d565b91506124a5565b60008167ffffffffffffffff8111156124eb576124ea612e57565b5b6040519080825280601f01601f19166020018201604052801561251d5781602001600182028036833780820191505090505b5090505b600085146125aa576001826125369190613b6e565b9150600a856125459190613ba2565b603061255191906133f0565b60f81b81838151811061256757612566613bd3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125a39190613b3d565b9450612521565b8093505050505b919050565b600060015490506125c784846127d7565b6125e68473ffffffffffffffffffffffffffffffffffffffff16612664565b156126485760005b838110156126465761260560008683850186612687565b61263b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010190506125ee565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126ad611ee0565b8786866040518563ffffffff1660e01b81526004016126cf9493929190613c57565b6020604051808303816000875af192505050801561270b57506040513d601f19601f820116820180604052508101906127089190613cb8565b60015b612784573d806000811461273b576040519150601f19603f3d011682016040523d82523d6000602084013e612740565b606091505b50600081510361277c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361283d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008103612877576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600154905061288b600084838561264e565b60005b82811015612a015760007f0000000000000000000000000000000000000000000000000000000000000000146128f75760007f000000000000000000000000000000000000000000000000000000000000000082816128f0576128ef613b0e565b5b06146128fc565b600081145b1561299857600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061296f600086848601600060a01b612654565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480600101905061288e565b5081600160008282540192505081905550612a1f600084838561265e565b505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a6d81612a38565b8114612a7857600080fd5b50565b600081359050612a8a81612a64565b92915050565b600060208284031215612aa657612aa5612a2e565b5b6000612ab484828501612a7b565b91505092915050565b60008115159050919050565b612ad281612abd565b82525050565b6000602082019050612aed6000830184612ac9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b2d578082015181840152602081019050612b12565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b5582612af3565b612b5f8185612afe565b9350612b6f818560208601612b0f565b612b7881612b39565b840191505092915050565b60006020820190508181036000830152612b9d8184612b4a565b905092915050565b6000819050919050565b612bb881612ba5565b8114612bc357600080fd5b50565b600081359050612bd581612baf565b92915050565b600060208284031215612bf157612bf0612a2e565b5b6000612bff84828501612bc6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3382612c08565b9050919050565b612c4381612c28565b82525050565b6000602082019050612c5e6000830184612c3a565b92915050565b612c6d81612c28565b8114612c7857600080fd5b50565b600081359050612c8a81612c64565b92915050565b60008060408385031215612ca757612ca6612a2e565b5b6000612cb585828601612c7b565b9250506020612cc685828601612bc6565b9150509250929050565b612cd981612abd565b8114612ce457600080fd5b50565b600081359050612cf681612cd0565b92915050565b600060208284031215612d1257612d11612a2e565b5b6000612d2084828501612ce7565b91505092915050565b612d3281612ba5565b82525050565b6000602082019050612d4d6000830184612d29565b92915050565b600060208284031215612d6957612d68612a2e565b5b6000612d7784828501612c7b565b91505092915050565b600080600060608486031215612d9957612d98612a2e565b5b6000612da786828701612c7b565b9350506020612db886828701612c7b565b9250506040612dc986828701612bc6565b9150509250925092565b6000819050919050565b6000612df8612df3612dee84612c08565b612dd3565b612c08565b9050919050565b6000612e0a82612ddd565b9050919050565b6000612e1c82612dff565b9050919050565b612e2c81612e11565b82525050565b6000602082019050612e476000830184612e23565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e8f82612b39565b810181811067ffffffffffffffff82111715612eae57612ead612e57565b5b80604052505050565b6000612ec1612a24565b9050612ecd8282612e86565b919050565b600067ffffffffffffffff821115612eed57612eec612e57565b5b612ef682612b39565b9050602081019050919050565b82818337600083830152505050565b6000612f25612f2084612ed2565b612eb7565b905082815260208101848484011115612f4157612f40612e52565b5b612f4c848285612f03565b509392505050565b600082601f830112612f6957612f68612e4d565b5b8135612f79848260208601612f12565b91505092915050565b600060208284031215612f9857612f97612a2e565b5b600082013567ffffffffffffffff811115612fb657612fb5612a33565b5b612fc284828501612f54565b91505092915050565b60008060408385031215612fe257612fe1612a2e565b5b6000612ff085828601612c7b565b925050602061300185828601612ce7565b9150509250929050565b600067ffffffffffffffff82111561302657613025612e57565b5b61302f82612b39565b9050602081019050919050565b600061304f61304a8461300b565b612eb7565b90508281526020810184848401111561306b5761306a612e52565b5b613076848285612f03565b509392505050565b600082601f83011261309357613092612e4d565b5b81356130a384826020860161303c565b91505092915050565b600080600080608085870312156130c6576130c5612a2e565b5b60006130d487828801612c7b565b94505060206130e587828801612c7b565b93505060406130f687828801612bc6565b925050606085013567ffffffffffffffff81111561311757613116612a33565b5b6131238782880161307e565b91505092959194509250565b6000806040838503121561314657613145612a2e565b5b600061315485828601612c7b565b925050602061316585828601612c7b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131b657607f821691505b6020821081036131c9576131c861316f565b5b50919050565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b6000613205601283612afe565b9150613210826131cf565b602082019050919050565b60006020820190508181036000830152613234816131f8565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b6000613271601f83612afe565b915061327c8261323b565b602082019050919050565b600060208201905081810360008301526132a081613264565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132e182612ba5565b91506132ec83612ba5565b92508282026132fa81612ba5565b91508282048414831517613311576133106132a7565b5b5092915050565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b600061334e601083612afe565b915061335982613318565b602082019050919050565b6000602082019050818103600083015261337d81613341565b9050919050565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b60006133ba600d83612afe565b91506133c582613384565b602082019050919050565b600060208201905081810360008301526133e9816133ad565b9050919050565b60006133fb82612ba5565b915061340683612ba5565b925082820190508082111561341e5761341d6132a7565b5b92915050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b600061345a600783612afe565b915061346582613424565b602082019050919050565b600060208201905081810360008301526134898161344d565b9050919050565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b60006134c6601183612afe565b91506134d182613490565b602082019050919050565b600060208201905081810360008301526134f5816134b9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613532602083612afe565b915061353d826134fc565b602082019050919050565b6000602082019050818103600083015261356181613525565b9050919050565b600081905092915050565b50565b6000613583600083613568565b915061358e82613573565b600082019050919050565b60006135a482613576565b9150819050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b60006135e4601783612afe565b91506135ef826135ae565b602082019050919050565b60006020820190508181036000830152613613816135d7565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261367c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261363f565b613686868361363f565b95508019841693508086168417925050509392505050565b60006136b96136b46136af84612ba5565b612dd3565b612ba5565b9050919050565b6000819050919050565b6136d38361369e565b6136e76136df826136c0565b84845461364c565b825550505050565b600090565b6136fc6136ef565b6137078184846136ca565b505050565b5b8181101561372b576137206000826136f4565b60018101905061370d565b5050565b601f821115613770576137418161361a565b61374a8461362f565b81016020851015613759578190505b61376d6137658561362f565b83018261370c565b50505b505050565b600082821c905092915050565b600061379360001984600802613775565b1980831691505092915050565b60006137ac8383613782565b9150826002028217905092915050565b6137c582612af3565b67ffffffffffffffff8111156137de576137dd612e57565b5b6137e8825461319e565b6137f382828561372f565b600060209050601f8311600181146138265760008415613814578287015190505b61381e85826137a0565b865550613886565b601f1984166138348661361a565b60005b8281101561385c57848901518255600182019150602085019450602081019050613837565b868310156138795784890151613875601f891682613782565b8355505b6001600288020188555050505b505050505050565b600061389982612ba5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138cb576138ca6132a7565b5b600182019050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b600061390c601583612afe565b9150613917826138d6565b602082019050919050565b6000602082019050818103600083015261393b816138ff565b9050919050565b600081905092915050565b6000815461395a8161319e565b6139648186613942565b9450600182166000811461397f5760018114613994576139c7565b60ff19831686528115158202860193506139c7565b61399d8561361a565b60005b838110156139bf578154818901526001820191506020810190506139a0565b838801955050505b50505092915050565b60006139db82612af3565b6139e58185613942565b93506139f5818560208601612b0f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613a37600583613942565b9150613a4282613a01565b600582019050919050565b6000613a59828561394d565b9150613a6582846139d0565b9150613a7082613a2a565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ad8602683612afe565b9150613ae382613a7c565b604082019050919050565b60006020820190508181036000830152613b0781613acb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b4882612ba5565b9150613b5383612ba5565b925082613b6357613b62613b0e565b5b828204905092915050565b6000613b7982612ba5565b9150613b8483612ba5565b9250828203905081811115613b9c57613b9b6132a7565b5b92915050565b6000613bad82612ba5565b9150613bb883612ba5565b925082613bc857613bc7613b0e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613c2982613c02565b613c338185613c0d565b9350613c43818560208601612b0f565b613c4c81612b39565b840191505092915050565b6000608082019050613c6c6000830187612c3a565b613c796020830186612c3a565b613c866040830185612d29565b8181036060830152613c988184613c1e565b905095945050505050565b600081519050613cb281612a64565b92915050565b600060208284031215613cce57613ccd612a2e565b5b6000613cdc84828501613ca3565b9150509291505056fea2646970667358221220a9229f2898be34ca8b7bafd77a712f25d20cf11f97fd2470f9467e5f6c6b462d64736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000021ca68caf30ef60882cccf840c57aec700f94e440000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d544c68436b59394164646b4a58794b706d6531346d31754e505555515861506d736b52374b4e764c656479782f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmTLhCkY9AddkJXyKpme14m1uNPUUQXaPmskR7KNvLedyx/
Arg [1] : _lead (address): 0x21cA68CAF30ef60882cCcf840c57AeC700f94e44

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000021ca68caf30ef60882cccf840c57aec700f94e44
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d544c68436b59394164646b4a58794b706d6531346d3175
Arg [4] : 4e505555515861506d736b52374b4e764c656479782f00000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.