ERC-721
Overview
Max Total Supply
387 IAC
Holders
99
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 IACLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ITSACOOK
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
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 ITSACOOK 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 maxPerWalletPublic = 4; uint256 public maxPerTxPublic = 4; uint256 supply = totalSupply(); mapping(address => uint) public addressMintedBalance; constructor( string memory _baseURI, address _lead )TinyERC721("ITS A COOK", "IAC", 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 setmaxPerWalletPublic(uint256 _MPWPublic) public onlyOwner { maxPerWalletPublic = _MPWPublic; } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function setmaxPerTxPublic(uint256 _MPTxPublic) public onlyOwner { maxPerTxPublic = _MPTxPublic; } function publicMint(uint256 _quantity) public payable publicnotPaused() callerIsUser() { uint256 supply = totalSupply(); require(msg.value >= cost * _quantity, "Not Enough Ether"); require(_quantity <= maxPerTxPublic, "Over Tx Limit"); require(_quantity + supply <= maxSupply, "SoldOut"); require(addressMintedBalance[msg.sender] < maxPerWalletPublic, "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."); } }
// 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); } }
// 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); }
// 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; }
// 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); }
// 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); } } } }
// 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; } }
// 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; } }
// 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); }
// 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); } }
// 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) {} }
// 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); }
// 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); } } } }
// 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 {} }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":[],"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":"operator","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":"maxPerTxPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPublic","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":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","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":"setmaxPerTxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPWPublic","type":"uint256"}],"name":"setmaxPerWalletPublic","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"}]
Contract Creation Code
60a06040526001600860146101000a81548160ff02191690831515021790555066071afd498d00006009556101bc600a556004600b556004600c556200004a620003a660201b60201c565b600d553480156200005a57600080fd5b5060405162004a3038038062004a30833981810160405281019062000080919062000676565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a81526020017f495453204120434f4f4b000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f49414300000000000000000000000000000000000000000000000000000000008152506000826002908162000116919062000927565b50816003908162000128919062000927565b5080608081815250505050506200015462000148620003b060201b60201c565b620003b860201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003495780156200020f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001d592919062000a1f565b600060405180830381600087803b158015620001f057600080fd5b505af115801562000205573d6000803e3d6000fd5b5050505062000348565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002c9576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200028f92919062000a1f565b600060405180830381600087803b158015620002aa57600080fd5b505af1158015620002bf573d6000803e3d6000fd5b5050505062000347565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000312919062000a4c565b600060405180830381600087803b1580156200032d57600080fd5b505af115801562000342573d6000803e3d6000fd5b505050505b5b5b505081600790816200035c919062000927565b5080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000a69565b6000600154905090565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004e7826200049c565b810181811067ffffffffffffffff82111715620005095762000508620004ad565b5b80604052505050565b60006200051e6200047e565b90506200052c8282620004dc565b919050565b600067ffffffffffffffff8211156200054f576200054e620004ad565b5b6200055a826200049c565b9050602081019050919050565b60005b83811015620005875780820151818401526020810190506200056a565b60008484015250505050565b6000620005aa620005a48462000531565b62000512565b905082815260208101848484011115620005c957620005c862000497565b5b620005d684828562000567565b509392505050565b600082601f830112620005f657620005f562000492565b5b81516200060884826020860162000593565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200063e8262000611565b9050919050565b620006508162000631565b81146200065c57600080fd5b50565b600081519050620006708162000645565b92915050565b6000806040838503121562000690576200068f62000488565b5b600083015167ffffffffffffffff811115620006b157620006b06200048d565b5b620006bf85828601620005de565b9250506020620006d2858286016200065f565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072f57607f821691505b602082108103620007455762000744620006e7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000770565b620007bb868362000770565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200080862000802620007fc84620007d3565b620007dd565b620007d3565b9050919050565b6000819050919050565b6200082483620007e7565b6200083c62000833826200080f565b8484546200077d565b825550505050565b600090565b6200085362000844565b6200086081848462000819565b505050565b5b8181101562000888576200087c60008262000849565b60018101905062000866565b5050565b601f821115620008d757620008a1816200074b565b620008ac8462000760565b81016020851015620008bc578190505b620008d4620008cb8562000760565b83018262000865565b50505b505050565b600082821c905092915050565b6000620008fc60001984600802620008dc565b1980831691505092915050565b6000620009178383620008e9565b9150826002028217905092915050565b6200093282620006dc565b67ffffffffffffffff8111156200094e576200094d620004ad565b5b6200095a825462000716565b620009678282856200088c565b600060209050601f8311600181146200099f57600084156200098a578287015190505b62000996858262000909565b86555062000a06565b601f198416620009af866200074b565b60005b82811015620009d957848901518255600182019150602085019450602081019050620009b2565b86831015620009f95784890151620009f5601f891682620008e9565b8355505b6001600288020188555050505b505050505050565b62000a198162000631565b82525050565b600060408201905062000a36600083018562000a0e565b62000a45602083018462000a0e565b9392505050565b600060208201905062000a63600083018462000a0e565b92915050565b608051613fa462000a8c60003960008181612945015261296d0152613fa46000f3fe6080604052600436106102045760003560e01c806355f804b311610118578063a22cb465116100a0578063c3c62d381161006f578063c3c62d3814610720578063c87b56dd14610749578063d5abeb0114610786578063e985e9c5146107b1578063f2fde38b146107ee57610204565b8063a22cb4651461067a578063abfe40a8146106a3578063b029a514146106cc578063b88d4fde146106f757610204565b806370a08231116100e757806370a08231146105a5578063715018a6146105e25780638da5cb5b146105f957806395d89b41146106245780639943770d1461064f57610204565b806355f804b3146104eb5780636352211e146105145780636c0360eb14610551578063701ee0061461057c57610204565b806318cae2691161019b5780633ccfd60b1161016a5780633ccfd60b1461042c57806341f434341461044357806342842e0e1461046e57806344a0d68a1461049757806346bb0a16146104c057610204565b806318cae26914610381578063228025e8146103be57806323b872dd146103e75780632db115441461041057610204565b80630bb12bb8116101d75780630bb12bb8146102d75780630e21f59f1461030257806313faede61461032b57806318160ddd1461035657610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612cae565b610817565b60405161023d9190612cf6565b60405180910390f35b34801561025257600080fd5b5061025b6108f9565b6040516102689190612da1565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612df9565b61098b565b6040516102a59190612e67565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612eae565b610a07565b005b3480156102e357600080fd5b506102ec610a20565b6040516102f99190612cf6565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190612f1a565b610a33565b005b34801561033757600080fd5b50610340610acc565b60405161034d9190612f56565b60405180910390f35b34801561036257600080fd5b5061036b610ad2565b6040516103789190612f56565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190612f71565b610adc565b6040516103b59190612f56565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e09190612df9565b610af4565b005b3480156103f357600080fd5b5061040e60048036038101906104099190612f9e565b610b7a565b005b61042a60048036038101906104259190612df9565b610bc9565b005b34801561043857600080fd5b50610441610e5f565b005b34801561044f57600080fd5b50610458610fac565b6040516104659190613050565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190612f9e565b610fbe565b005b3480156104a357600080fd5b506104be60048036038101906104b99190612df9565b61100d565b005b3480156104cc57600080fd5b506104d5611093565b6040516104e29190612e67565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906131a0565b6110b9565b005b34801561052057600080fd5b5061053b60048036038101906105369190612df9565b611148565b6040516105489190612e67565b60405180910390f35b34801561055d57600080fd5b506105666111bd565b6040516105739190612da1565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190612df9565b61124b565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190612f71565b6112d1565b6040516105d99190612f56565b60405180910390f35b3480156105ee57600080fd5b506105f7611422565b005b34801561060557600080fd5b5061060e6114aa565b60405161061b9190612e67565b60405180910390f35b34801561063057600080fd5b506106396114d4565b6040516106469190612da1565b60405180910390f35b34801561065b57600080fd5b50610664611566565b6040516106719190612f56565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c91906131e9565b61156c565b005b3480156106af57600080fd5b506106ca60048036038101906106c59190612df9565b611585565b005b3480156106d857600080fd5b506106e1611635565b6040516106ee9190612f56565b60405180910390f35b34801561070357600080fd5b5061071e600480360381019061071991906132ca565b61163b565b005b34801561072c57600080fd5b5061074760048036038101906107429190612df9565b61168c565b005b34801561075557600080fd5b50610770600480360381019061076b9190612df9565b611712565b60405161077d9190612da1565b60405180910390f35b34801561079257600080fd5b5061079b61178e565b6040516107a89190612f56565b60405180910390f35b3480156107bd57600080fd5b506107d860048036038101906107d3919061334d565b611794565b6040516107e59190612cf6565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190612f71565b611828565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f257506108f18261191f565b5b9050919050565b606060028054610908906133bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610934906133bc565b80156109815780601f1061095657610100808354040283529160200191610981565b820191906000526020600020905b81548152906001019060200180831161096457829003601f168201915b5050505050905090565b600061099682611989565b6109cc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a1181611997565b610a1b8383611a94565b505050565b600860149054906101000a900460ff1681565b610a3b611c4e565b73ffffffffffffffffffffffffffffffffffffffff16610a596114aa565b73ffffffffffffffffffffffffffffffffffffffff1614610aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa690613439565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b60095481565b6000600154905090565b600e6020528060005260406000206000915090505481565b610afc611c4e565b73ffffffffffffffffffffffffffffffffffffffff16610b1a6114aa565b73ffffffffffffffffffffffffffffffffffffffff1614610b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6790613439565b60405180910390fd5b80600a8190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bb857610bb733611997565b5b610bc3848484611c56565b50505050565b600860149054906101000a900460ff1615610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c10906134a5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7e90613511565b60405180910390fd5b6000610c91610ad2565b905081600954610ca19190613560565b341015610ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cda906135ee565b60405180910390fd5b600c54821115610d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1f9061365a565b60405180910390fd5b600a548183610d37919061367a565b1115610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f906136fa565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df290613766565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e4a919061367a565b92505081905550610e5b3383611d63565b5050565b610e67611c4e565b73ffffffffffffffffffffffffffffffffffffffff16610e856114aa565b73ffffffffffffffffffffffffffffffffffffffff1614610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613439565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610f23906137b7565b60006040518083038185875af1925050503d8060008114610f60576040519150601f19603f3d011682016040523d82523d6000602084013e610f65565b606091505b5050905080610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090613818565b60405180910390fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ffc57610ffb33611997565b5b611007848484611d81565b50505050565b611015611c4e565b73ffffffffffffffffffffffffffffffffffffffff166110336114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090613439565b60405180910390fd5b8060098190555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110c1611c4e565b73ffffffffffffffffffffffffffffffffffffffff166110df6114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c90613439565b60405180910390fd5b806007908161114491906139da565b5050565b600061115382611989565b611189576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61119282611da1565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600780546111ca906133bc565b80601f01602080910402602001604051908101604052809291908181526020018280546111f6906133bc565b80156112435780601f1061121857610100808354040283529160200191611243565b820191906000526020600020905b81548152906001019060200180831161122657829003601f168201915b505050505081565b611253611c4e565b73ffffffffffffffffffffffffffffffffffffffff166112716114aa565b73ffffffffffffffffffffffffffffffffffffffff16146112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90613439565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611338576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611342610ad2565b905060008060005b8381101561141657600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113c4578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611404578361140190613aac565b93505b508061140f90613aac565b905061134a565b50819350505050919050565b61142a611c4e565b73ffffffffffffffffffffffffffffffffffffffff166114486114aa565b73ffffffffffffffffffffffffffffffffffffffff161461149e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149590613439565b60405180910390fd5b6114a86000611e80565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114e3906133bc565b80601f016020809104026020016040519081016040528092919081815260200182805461150f906133bc565b801561155c5780601f106115315761010080835404028352916020019161155c565b820191906000526020600020905b81548152906001019060200180831161153f57829003601f168201915b5050505050905090565b600c5481565b8161157681611997565b6115808383611f46565b505050565b61158d611c4e565b73ffffffffffffffffffffffffffffffffffffffff166115ab6114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890613439565b60405180910390fd5b600061160b610ad2565b9050600a54818361161c919061367a565b111561162757600080fd5b6116313383611d63565b5050565b600b5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116795761167833611997565b5b611685858585856120bd565b5050505050565b611694611c4e565b73ffffffffffffffffffffffffffffffffffffffff166116b26114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90613439565b60405180910390fd5b80600c8190555050565b606061171d82611989565b61175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390613b40565b60405180910390fd5b6007611767836121cc565b604051602001611778929190613c6b565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611830611c4e565b73ffffffffffffffffffffffffffffffffffffffff1661184e6114aa565b73ffffffffffffffffffffffffffffffffffffffff16146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90613439565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a90613d0c565b60405180910390fd5b61191c81611e80565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a91576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a0e929190613d2c565b602060405180830381865afa158015611a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4f9190613d6a565b611a9057806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a879190612e67565b60405180910390fd5b5b50565b6000611a9f82611da1565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611bb5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611bd4611c4e565b73ffffffffffffffffffffffffffffffffffffffff1614158015611c065750611c0481611bff611c4e565b611794565b155b15611c3d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c4884848461232c565b50505050565b600033905090565b6000611c6182611da1565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611d1b611d14611c4e565b83836123e2565b611d51576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d5d84848484612474565b50505050565b611d7d828260405180602001604052806000815250612756565b5050565b611d9c8383836040518060200160405280600081525061163b565b505050565b6000611dac82611989565b611de2576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611e7657806001900390506000808281526020019081526020016000209150611dfe565b8192505050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f4e611c4e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fb2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060056000611fbf611c4e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661206c611c4e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120b19190612cf6565b60405180910390a35050565b60006120c883611da1565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681525050905061218261217b611c4e565b84836123e2565b6121b8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121c585858584866127ee565b5050505050565b606060008203612213576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612327565b600082905060005b6000821461224557808061222e90613aac565b915050600a8261223e9190613dc6565b915061221b565b60008167ffffffffffffffff81111561226157612260613075565b5b6040519080825280601f01601f1916602001820160405280156122935781602001600182028036833780820191505090505b5090505b60008514612320576001826122ac9190613df7565b9150600a856122bb9190613e2b565b60306122c7919061367a565b60f81b8183815181106122dd576122dc613e5c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123199190613dc6565b9450612297565b8093505050505b919050565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061242c575061242b8186611794565b5b8061246a57508473ffffffffffffffffffffffffffffffffffffffff166124528561098b565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124dd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612543576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612550848484600161286c565b61255c6000838361232c565b600060018301905061256d81611989565b156126565760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036126545782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126c08585858560200151612872565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274f858585600161287c565b5050505050565b600060015490506127678484612882565b6127868473ffffffffffffffffffffffffffffffffffffffff16612acf565b156127e85760005b838110156127e6576127a560008683850186612af2565b6127db576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600101905061278e565b505b50505050565b6127fa85858585612474565b6128198473ffffffffffffffffffffffffffffffffffffffff16612acf565b801561282e575061282c85858584612af2565b155b15612865576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b50505050565b6000949350505050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128e8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008103612922576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612936600084838561286c565b60005b82811015612aac5760007f0000000000000000000000000000000000000000000000000000000000000000146129a25760007f0000000000000000000000000000000000000000000000000000000000000000828161299b5761299a613d97565b5b06146129a7565b600081145b15612a4357600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612a1a600086848601600060a01b612872565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612939565b5081600160008282540192505081905550612aca600084838561287c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b18611c4e565b8786866040518563ffffffff1660e01b8152600401612b3a9493929190613ee0565b6020604051808303816000875af1925050508015612b7657506040513d601f19601f82011682018060405250810190612b739190613f41565b60015b612bef573d8060008114612ba6576040519150601f19603f3d011682016040523d82523d6000602084013e612bab565b606091505b506000815103612be7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c8b81612c56565b8114612c9657600080fd5b50565b600081359050612ca881612c82565b92915050565b600060208284031215612cc457612cc3612c4c565b5b6000612cd284828501612c99565b91505092915050565b60008115159050919050565b612cf081612cdb565b82525050565b6000602082019050612d0b6000830184612ce7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d4b578082015181840152602081019050612d30565b60008484015250505050565b6000601f19601f8301169050919050565b6000612d7382612d11565b612d7d8185612d1c565b9350612d8d818560208601612d2d565b612d9681612d57565b840191505092915050565b60006020820190508181036000830152612dbb8184612d68565b905092915050565b6000819050919050565b612dd681612dc3565b8114612de157600080fd5b50565b600081359050612df381612dcd565b92915050565b600060208284031215612e0f57612e0e612c4c565b5b6000612e1d84828501612de4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e5182612e26565b9050919050565b612e6181612e46565b82525050565b6000602082019050612e7c6000830184612e58565b92915050565b612e8b81612e46565b8114612e9657600080fd5b50565b600081359050612ea881612e82565b92915050565b60008060408385031215612ec557612ec4612c4c565b5b6000612ed385828601612e99565b9250506020612ee485828601612de4565b9150509250929050565b612ef781612cdb565b8114612f0257600080fd5b50565b600081359050612f1481612eee565b92915050565b600060208284031215612f3057612f2f612c4c565b5b6000612f3e84828501612f05565b91505092915050565b612f5081612dc3565b82525050565b6000602082019050612f6b6000830184612f47565b92915050565b600060208284031215612f8757612f86612c4c565b5b6000612f9584828501612e99565b91505092915050565b600080600060608486031215612fb757612fb6612c4c565b5b6000612fc586828701612e99565b9350506020612fd686828701612e99565b9250506040612fe786828701612de4565b9150509250925092565b6000819050919050565b600061301661301161300c84612e26565b612ff1565b612e26565b9050919050565b600061302882612ffb565b9050919050565b600061303a8261301d565b9050919050565b61304a8161302f565b82525050565b60006020820190506130656000830184613041565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6130ad82612d57565b810181811067ffffffffffffffff821117156130cc576130cb613075565b5b80604052505050565b60006130df612c42565b90506130eb82826130a4565b919050565b600067ffffffffffffffff82111561310b5761310a613075565b5b61311482612d57565b9050602081019050919050565b82818337600083830152505050565b600061314361313e846130f0565b6130d5565b90508281526020810184848401111561315f5761315e613070565b5b61316a848285613121565b509392505050565b600082601f8301126131875761318661306b565b5b8135613197848260208601613130565b91505092915050565b6000602082840312156131b6576131b5612c4c565b5b600082013567ffffffffffffffff8111156131d4576131d3612c51565b5b6131e084828501613172565b91505092915050565b60008060408385031215613200576131ff612c4c565b5b600061320e85828601612e99565b925050602061321f85828601612f05565b9150509250929050565b600067ffffffffffffffff82111561324457613243613075565b5b61324d82612d57565b9050602081019050919050565b600061326d61326884613229565b6130d5565b90508281526020810184848401111561328957613288613070565b5b613294848285613121565b509392505050565b600082601f8301126132b1576132b061306b565b5b81356132c184826020860161325a565b91505092915050565b600080600080608085870312156132e4576132e3612c4c565b5b60006132f287828801612e99565b945050602061330387828801612e99565b935050604061331487828801612de4565b925050606085013567ffffffffffffffff81111561333557613334612c51565b5b6133418782880161329c565b91505092959194509250565b6000806040838503121561336457613363612c4c565b5b600061337285828601612e99565b925050602061338385828601612e99565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133d457607f821691505b6020821081036133e7576133e661338d565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613423602083612d1c565b915061342e826133ed565b602082019050919050565b6000602082019050818103600083015261345281613416565b9050919050565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b600061348f601283612d1c565b915061349a82613459565b602082019050919050565b600060208201905081810360008301526134be81613482565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b60006134fb601f83612d1c565b9150613506826134c5565b602082019050919050565b6000602082019050818103600083015261352a816134ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061356b82612dc3565b915061357683612dc3565b925082820261358481612dc3565b9150828204841483151761359b5761359a613531565b5b5092915050565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b60006135d8601083612d1c565b91506135e3826135a2565b602082019050919050565b60006020820190508181036000830152613607816135cb565b9050919050565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b6000613644600d83612d1c565b915061364f8261360e565b602082019050919050565b6000602082019050818103600083015261367381613637565b9050919050565b600061368582612dc3565b915061369083612dc3565b92508282019050808211156136a8576136a7613531565b5b92915050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b60006136e4600783612d1c565b91506136ef826136ae565b602082019050919050565b60006020820190508181036000830152613713816136d7565b9050919050565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b6000613750601183612d1c565b915061375b8261371a565b602082019050919050565b6000602082019050818103600083015261377f81613743565b9050919050565b600081905092915050565b50565b60006137a1600083613786565b91506137ac82613791565b600082019050919050565b60006137c282613794565b9150819050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b6000613802601783612d1c565b915061380d826137cc565b602082019050919050565b60006020820190508181036000830152613831816137f5565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261389a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261385d565b6138a4868361385d565b95508019841693508086168417925050509392505050565b60006138d76138d26138cd84612dc3565b612ff1565b612dc3565b9050919050565b6000819050919050565b6138f1836138bc565b6139056138fd826138de565b84845461386a565b825550505050565b600090565b61391a61390d565b6139258184846138e8565b505050565b5b818110156139495761393e600082613912565b60018101905061392b565b5050565b601f82111561398e5761395f81613838565b6139688461384d565b81016020851015613977578190505b61398b6139838561384d565b83018261392a565b50505b505050565b600082821c905092915050565b60006139b160001984600802613993565b1980831691505092915050565b60006139ca83836139a0565b9150826002028217905092915050565b6139e382612d11565b67ffffffffffffffff8111156139fc576139fb613075565b5b613a0682546133bc565b613a1182828561394d565b600060209050601f831160018114613a445760008415613a32578287015190505b613a3c85826139be565b865550613aa4565b601f198416613a5286613838565b60005b82811015613a7a57848901518255600182019150602085019450602081019050613a55565b86831015613a975784890151613a93601f8916826139a0565b8355505b6001600288020188555050505b505050505050565b6000613ab782612dc3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ae957613ae8613531565b5b600182019050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000613b2a601583612d1c565b9150613b3582613af4565b602082019050919050565b60006020820190508181036000830152613b5981613b1d565b9050919050565b600081905092915050565b60008154613b78816133bc565b613b828186613b60565b94506001821660008114613b9d5760018114613bb257613be5565b60ff1983168652811515820286019350613be5565b613bbb85613838565b60005b83811015613bdd57815481890152600182019150602081019050613bbe565b838801955050505b50505092915050565b6000613bf982612d11565b613c038185613b60565b9350613c13818560208601612d2d565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613c55600583613b60565b9150613c6082613c1f565b600582019050919050565b6000613c778285613b6b565b9150613c838284613bee565b9150613c8e82613c48565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cf6602683612d1c565b9150613d0182613c9a565b604082019050919050565b60006020820190508181036000830152613d2581613ce9565b9050919050565b6000604082019050613d416000830185612e58565b613d4e6020830184612e58565b9392505050565b600081519050613d6481612eee565b92915050565b600060208284031215613d8057613d7f612c4c565b5b6000613d8e84828501613d55565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613dd182612dc3565b9150613ddc83612dc3565b925082613dec57613deb613d97565b5b828204905092915050565b6000613e0282612dc3565b9150613e0d83612dc3565b9250828203905081811115613e2557613e24613531565b5b92915050565b6000613e3682612dc3565b9150613e4183612dc3565b925082613e5157613e50613d97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613eb282613e8b565b613ebc8185613e96565b9350613ecc818560208601612d2d565b613ed581612d57565b840191505092915050565b6000608082019050613ef56000830187612e58565b613f026020830186612e58565b613f0f6040830185612f47565b8181036060830152613f218184613ea7565b905095945050505050565b600081519050613f3b81612c82565b92915050565b600060208284031215613f5757613f56612c4c565b5b6000613f6584828501613f2c565b9150509291505056fea2646970667358221220e6743cc759ff371590b42d3ac8b99e791c28907ad63940a56f04d819b4c6b0a264736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000005cb76d90c3f8c1e1c5563eec286d4fcaa46d76120000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e544274655633566547795a684b3254474c7678426d5372613446684366533848576b724a667637554b67322f00000000000000000000
Deployed Bytecode
0x6080604052600436106102045760003560e01c806355f804b311610118578063a22cb465116100a0578063c3c62d381161006f578063c3c62d3814610720578063c87b56dd14610749578063d5abeb0114610786578063e985e9c5146107b1578063f2fde38b146107ee57610204565b8063a22cb4651461067a578063abfe40a8146106a3578063b029a514146106cc578063b88d4fde146106f757610204565b806370a08231116100e757806370a08231146105a5578063715018a6146105e25780638da5cb5b146105f957806395d89b41146106245780639943770d1461064f57610204565b806355f804b3146104eb5780636352211e146105145780636c0360eb14610551578063701ee0061461057c57610204565b806318cae2691161019b5780633ccfd60b1161016a5780633ccfd60b1461042c57806341f434341461044357806342842e0e1461046e57806344a0d68a1461049757806346bb0a16146104c057610204565b806318cae26914610381578063228025e8146103be57806323b872dd146103e75780632db115441461041057610204565b80630bb12bb8116101d75780630bb12bb8146102d75780630e21f59f1461030257806313faede61461032b57806318160ddd1461035657610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612cae565b610817565b60405161023d9190612cf6565b60405180910390f35b34801561025257600080fd5b5061025b6108f9565b6040516102689190612da1565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612df9565b61098b565b6040516102a59190612e67565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612eae565b610a07565b005b3480156102e357600080fd5b506102ec610a20565b6040516102f99190612cf6565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190612f1a565b610a33565b005b34801561033757600080fd5b50610340610acc565b60405161034d9190612f56565b60405180910390f35b34801561036257600080fd5b5061036b610ad2565b6040516103789190612f56565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190612f71565b610adc565b6040516103b59190612f56565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e09190612df9565b610af4565b005b3480156103f357600080fd5b5061040e60048036038101906104099190612f9e565b610b7a565b005b61042a60048036038101906104259190612df9565b610bc9565b005b34801561043857600080fd5b50610441610e5f565b005b34801561044f57600080fd5b50610458610fac565b6040516104659190613050565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190612f9e565b610fbe565b005b3480156104a357600080fd5b506104be60048036038101906104b99190612df9565b61100d565b005b3480156104cc57600080fd5b506104d5611093565b6040516104e29190612e67565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906131a0565b6110b9565b005b34801561052057600080fd5b5061053b60048036038101906105369190612df9565b611148565b6040516105489190612e67565b60405180910390f35b34801561055d57600080fd5b506105666111bd565b6040516105739190612da1565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190612df9565b61124b565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190612f71565b6112d1565b6040516105d99190612f56565b60405180910390f35b3480156105ee57600080fd5b506105f7611422565b005b34801561060557600080fd5b5061060e6114aa565b60405161061b9190612e67565b60405180910390f35b34801561063057600080fd5b506106396114d4565b6040516106469190612da1565b60405180910390f35b34801561065b57600080fd5b50610664611566565b6040516106719190612f56565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c91906131e9565b61156c565b005b3480156106af57600080fd5b506106ca60048036038101906106c59190612df9565b611585565b005b3480156106d857600080fd5b506106e1611635565b6040516106ee9190612f56565b60405180910390f35b34801561070357600080fd5b5061071e600480360381019061071991906132ca565b61163b565b005b34801561072c57600080fd5b5061074760048036038101906107429190612df9565b61168c565b005b34801561075557600080fd5b50610770600480360381019061076b9190612df9565b611712565b60405161077d9190612da1565b60405180910390f35b34801561079257600080fd5b5061079b61178e565b6040516107a89190612f56565b60405180910390f35b3480156107bd57600080fd5b506107d860048036038101906107d3919061334d565b611794565b6040516107e59190612cf6565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190612f71565b611828565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f257506108f18261191f565b5b9050919050565b606060028054610908906133bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610934906133bc565b80156109815780601f1061095657610100808354040283529160200191610981565b820191906000526020600020905b81548152906001019060200180831161096457829003601f168201915b5050505050905090565b600061099682611989565b6109cc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a1181611997565b610a1b8383611a94565b505050565b600860149054906101000a900460ff1681565b610a3b611c4e565b73ffffffffffffffffffffffffffffffffffffffff16610a596114aa565b73ffffffffffffffffffffffffffffffffffffffff1614610aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa690613439565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b60095481565b6000600154905090565b600e6020528060005260406000206000915090505481565b610afc611c4e565b73ffffffffffffffffffffffffffffffffffffffff16610b1a6114aa565b73ffffffffffffffffffffffffffffffffffffffff1614610b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6790613439565b60405180910390fd5b80600a8190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bb857610bb733611997565b5b610bc3848484611c56565b50505050565b600860149054906101000a900460ff1615610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c10906134a5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7e90613511565b60405180910390fd5b6000610c91610ad2565b905081600954610ca19190613560565b341015610ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cda906135ee565b60405180910390fd5b600c54821115610d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1f9061365a565b60405180910390fd5b600a548183610d37919061367a565b1115610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f906136fa565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df290613766565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e4a919061367a565b92505081905550610e5b3383611d63565b5050565b610e67611c4e565b73ffffffffffffffffffffffffffffffffffffffff16610e856114aa565b73ffffffffffffffffffffffffffffffffffffffff1614610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613439565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610f23906137b7565b60006040518083038185875af1925050503d8060008114610f60576040519150601f19603f3d011682016040523d82523d6000602084013e610f65565b606091505b5050905080610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090613818565b60405180910390fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ffc57610ffb33611997565b5b611007848484611d81565b50505050565b611015611c4e565b73ffffffffffffffffffffffffffffffffffffffff166110336114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090613439565b60405180910390fd5b8060098190555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110c1611c4e565b73ffffffffffffffffffffffffffffffffffffffff166110df6114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c90613439565b60405180910390fd5b806007908161114491906139da565b5050565b600061115382611989565b611189576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61119282611da1565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600780546111ca906133bc565b80601f01602080910402602001604051908101604052809291908181526020018280546111f6906133bc565b80156112435780601f1061121857610100808354040283529160200191611243565b820191906000526020600020905b81548152906001019060200180831161122657829003601f168201915b505050505081565b611253611c4e565b73ffffffffffffffffffffffffffffffffffffffff166112716114aa565b73ffffffffffffffffffffffffffffffffffffffff16146112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90613439565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611338576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611342610ad2565b905060008060005b8381101561141657600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113c4578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611404578361140190613aac565b93505b508061140f90613aac565b905061134a565b50819350505050919050565b61142a611c4e565b73ffffffffffffffffffffffffffffffffffffffff166114486114aa565b73ffffffffffffffffffffffffffffffffffffffff161461149e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149590613439565b60405180910390fd5b6114a86000611e80565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114e3906133bc565b80601f016020809104026020016040519081016040528092919081815260200182805461150f906133bc565b801561155c5780601f106115315761010080835404028352916020019161155c565b820191906000526020600020905b81548152906001019060200180831161153f57829003601f168201915b5050505050905090565b600c5481565b8161157681611997565b6115808383611f46565b505050565b61158d611c4e565b73ffffffffffffffffffffffffffffffffffffffff166115ab6114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890613439565b60405180910390fd5b600061160b610ad2565b9050600a54818361161c919061367a565b111561162757600080fd5b6116313383611d63565b5050565b600b5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116795761167833611997565b5b611685858585856120bd565b5050505050565b611694611c4e565b73ffffffffffffffffffffffffffffffffffffffff166116b26114aa565b73ffffffffffffffffffffffffffffffffffffffff1614611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90613439565b60405180910390fd5b80600c8190555050565b606061171d82611989565b61175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390613b40565b60405180910390fd5b6007611767836121cc565b604051602001611778929190613c6b565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611830611c4e565b73ffffffffffffffffffffffffffffffffffffffff1661184e6114aa565b73ffffffffffffffffffffffffffffffffffffffff16146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90613439565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a90613d0c565b60405180910390fd5b61191c81611e80565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a91576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a0e929190613d2c565b602060405180830381865afa158015611a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4f9190613d6a565b611a9057806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a879190612e67565b60405180910390fd5b5b50565b6000611a9f82611da1565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611bb5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611bd4611c4e565b73ffffffffffffffffffffffffffffffffffffffff1614158015611c065750611c0481611bff611c4e565b611794565b155b15611c3d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c4884848461232c565b50505050565b600033905090565b6000611c6182611da1565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611d1b611d14611c4e565b83836123e2565b611d51576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d5d84848484612474565b50505050565b611d7d828260405180602001604052806000815250612756565b5050565b611d9c8383836040518060200160405280600081525061163b565b505050565b6000611dac82611989565b611de2576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611e7657806001900390506000808281526020019081526020016000209150611dfe565b8192505050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f4e611c4e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fb2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060056000611fbf611c4e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661206c611c4e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120b19190612cf6565b60405180910390a35050565b60006120c883611da1565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681525050905061218261217b611c4e565b84836123e2565b6121b8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121c585858584866127ee565b5050505050565b606060008203612213576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612327565b600082905060005b6000821461224557808061222e90613aac565b915050600a8261223e9190613dc6565b915061221b565b60008167ffffffffffffffff81111561226157612260613075565b5b6040519080825280601f01601f1916602001820160405280156122935781602001600182028036833780820191505090505b5090505b60008514612320576001826122ac9190613df7565b9150600a856122bb9190613e2b565b60306122c7919061367a565b60f81b8183815181106122dd576122dc613e5c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123199190613dc6565b9450612297565b8093505050505b919050565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061242c575061242b8186611794565b5b8061246a57508473ffffffffffffffffffffffffffffffffffffffff166124528561098b565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124dd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612543576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612550848484600161286c565b61255c6000838361232c565b600060018301905061256d81611989565b156126565760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036126545782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126c08585858560200151612872565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274f858585600161287c565b5050505050565b600060015490506127678484612882565b6127868473ffffffffffffffffffffffffffffffffffffffff16612acf565b156127e85760005b838110156127e6576127a560008683850186612af2565b6127db576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600101905061278e565b505b50505050565b6127fa85858585612474565b6128198473ffffffffffffffffffffffffffffffffffffffff16612acf565b801561282e575061282c85858584612af2565b155b15612865576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b50505050565b6000949350505050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128e8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008103612922576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612936600084838561286c565b60005b82811015612aac5760007f0000000000000000000000000000000000000000000000000000000000000000146129a25760007f0000000000000000000000000000000000000000000000000000000000000000828161299b5761299a613d97565b5b06146129a7565b600081145b15612a4357600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612a1a600086848601600060a01b612872565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612939565b5081600160008282540192505081905550612aca600084838561287c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b18611c4e565b8786866040518563ffffffff1660e01b8152600401612b3a9493929190613ee0565b6020604051808303816000875af1925050508015612b7657506040513d601f19601f82011682018060405250810190612b739190613f41565b60015b612bef573d8060008114612ba6576040519150601f19603f3d011682016040523d82523d6000602084013e612bab565b606091505b506000815103612be7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c8b81612c56565b8114612c9657600080fd5b50565b600081359050612ca881612c82565b92915050565b600060208284031215612cc457612cc3612c4c565b5b6000612cd284828501612c99565b91505092915050565b60008115159050919050565b612cf081612cdb565b82525050565b6000602082019050612d0b6000830184612ce7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d4b578082015181840152602081019050612d30565b60008484015250505050565b6000601f19601f8301169050919050565b6000612d7382612d11565b612d7d8185612d1c565b9350612d8d818560208601612d2d565b612d9681612d57565b840191505092915050565b60006020820190508181036000830152612dbb8184612d68565b905092915050565b6000819050919050565b612dd681612dc3565b8114612de157600080fd5b50565b600081359050612df381612dcd565b92915050565b600060208284031215612e0f57612e0e612c4c565b5b6000612e1d84828501612de4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e5182612e26565b9050919050565b612e6181612e46565b82525050565b6000602082019050612e7c6000830184612e58565b92915050565b612e8b81612e46565b8114612e9657600080fd5b50565b600081359050612ea881612e82565b92915050565b60008060408385031215612ec557612ec4612c4c565b5b6000612ed385828601612e99565b9250506020612ee485828601612de4565b9150509250929050565b612ef781612cdb565b8114612f0257600080fd5b50565b600081359050612f1481612eee565b92915050565b600060208284031215612f3057612f2f612c4c565b5b6000612f3e84828501612f05565b91505092915050565b612f5081612dc3565b82525050565b6000602082019050612f6b6000830184612f47565b92915050565b600060208284031215612f8757612f86612c4c565b5b6000612f9584828501612e99565b91505092915050565b600080600060608486031215612fb757612fb6612c4c565b5b6000612fc586828701612e99565b9350506020612fd686828701612e99565b9250506040612fe786828701612de4565b9150509250925092565b6000819050919050565b600061301661301161300c84612e26565b612ff1565b612e26565b9050919050565b600061302882612ffb565b9050919050565b600061303a8261301d565b9050919050565b61304a8161302f565b82525050565b60006020820190506130656000830184613041565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6130ad82612d57565b810181811067ffffffffffffffff821117156130cc576130cb613075565b5b80604052505050565b60006130df612c42565b90506130eb82826130a4565b919050565b600067ffffffffffffffff82111561310b5761310a613075565b5b61311482612d57565b9050602081019050919050565b82818337600083830152505050565b600061314361313e846130f0565b6130d5565b90508281526020810184848401111561315f5761315e613070565b5b61316a848285613121565b509392505050565b600082601f8301126131875761318661306b565b5b8135613197848260208601613130565b91505092915050565b6000602082840312156131b6576131b5612c4c565b5b600082013567ffffffffffffffff8111156131d4576131d3612c51565b5b6131e084828501613172565b91505092915050565b60008060408385031215613200576131ff612c4c565b5b600061320e85828601612e99565b925050602061321f85828601612f05565b9150509250929050565b600067ffffffffffffffff82111561324457613243613075565b5b61324d82612d57565b9050602081019050919050565b600061326d61326884613229565b6130d5565b90508281526020810184848401111561328957613288613070565b5b613294848285613121565b509392505050565b600082601f8301126132b1576132b061306b565b5b81356132c184826020860161325a565b91505092915050565b600080600080608085870312156132e4576132e3612c4c565b5b60006132f287828801612e99565b945050602061330387828801612e99565b935050604061331487828801612de4565b925050606085013567ffffffffffffffff81111561333557613334612c51565b5b6133418782880161329c565b91505092959194509250565b6000806040838503121561336457613363612c4c565b5b600061337285828601612e99565b925050602061338385828601612e99565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133d457607f821691505b6020821081036133e7576133e661338d565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613423602083612d1c565b915061342e826133ed565b602082019050919050565b6000602082019050818103600083015261345281613416565b9050919050565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b600061348f601283612d1c565b915061349a82613459565b602082019050919050565b600060208201905081810360008301526134be81613482565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b60006134fb601f83612d1c565b9150613506826134c5565b602082019050919050565b6000602082019050818103600083015261352a816134ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061356b82612dc3565b915061357683612dc3565b925082820261358481612dc3565b9150828204841483151761359b5761359a613531565b5b5092915050565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b60006135d8601083612d1c565b91506135e3826135a2565b602082019050919050565b60006020820190508181036000830152613607816135cb565b9050919050565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b6000613644600d83612d1c565b915061364f8261360e565b602082019050919050565b6000602082019050818103600083015261367381613637565b9050919050565b600061368582612dc3565b915061369083612dc3565b92508282019050808211156136a8576136a7613531565b5b92915050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b60006136e4600783612d1c565b91506136ef826136ae565b602082019050919050565b60006020820190508181036000830152613713816136d7565b9050919050565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b6000613750601183612d1c565b915061375b8261371a565b602082019050919050565b6000602082019050818103600083015261377f81613743565b9050919050565b600081905092915050565b50565b60006137a1600083613786565b91506137ac82613791565b600082019050919050565b60006137c282613794565b9150819050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b6000613802601783612d1c565b915061380d826137cc565b602082019050919050565b60006020820190508181036000830152613831816137f5565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261389a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261385d565b6138a4868361385d565b95508019841693508086168417925050509392505050565b60006138d76138d26138cd84612dc3565b612ff1565b612dc3565b9050919050565b6000819050919050565b6138f1836138bc565b6139056138fd826138de565b84845461386a565b825550505050565b600090565b61391a61390d565b6139258184846138e8565b505050565b5b818110156139495761393e600082613912565b60018101905061392b565b5050565b601f82111561398e5761395f81613838565b6139688461384d565b81016020851015613977578190505b61398b6139838561384d565b83018261392a565b50505b505050565b600082821c905092915050565b60006139b160001984600802613993565b1980831691505092915050565b60006139ca83836139a0565b9150826002028217905092915050565b6139e382612d11565b67ffffffffffffffff8111156139fc576139fb613075565b5b613a0682546133bc565b613a1182828561394d565b600060209050601f831160018114613a445760008415613a32578287015190505b613a3c85826139be565b865550613aa4565b601f198416613a5286613838565b60005b82811015613a7a57848901518255600182019150602085019450602081019050613a55565b86831015613a975784890151613a93601f8916826139a0565b8355505b6001600288020188555050505b505050505050565b6000613ab782612dc3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ae957613ae8613531565b5b600182019050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000613b2a601583612d1c565b9150613b3582613af4565b602082019050919050565b60006020820190508181036000830152613b5981613b1d565b9050919050565b600081905092915050565b60008154613b78816133bc565b613b828186613b60565b94506001821660008114613b9d5760018114613bb257613be5565b60ff1983168652811515820286019350613be5565b613bbb85613838565b60005b83811015613bdd57815481890152600182019150602081019050613bbe565b838801955050505b50505092915050565b6000613bf982612d11565b613c038185613b60565b9350613c13818560208601612d2d565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613c55600583613b60565b9150613c6082613c1f565b600582019050919050565b6000613c778285613b6b565b9150613c838284613bee565b9150613c8e82613c48565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cf6602683612d1c565b9150613d0182613c9a565b604082019050919050565b60006020820190508181036000830152613d2581613ce9565b9050919050565b6000604082019050613d416000830185612e58565b613d4e6020830184612e58565b9392505050565b600081519050613d6481612eee565b92915050565b600060208284031215613d8057613d7f612c4c565b5b6000613d8e84828501613d55565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613dd182612dc3565b9150613ddc83612dc3565b925082613dec57613deb613d97565b5b828204905092915050565b6000613e0282612dc3565b9150613e0d83612dc3565b9250828203905081811115613e2557613e24613531565b5b92915050565b6000613e3682612dc3565b9150613e4183612dc3565b925082613e5157613e50613d97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613eb282613e8b565b613ebc8185613e96565b9350613ecc818560208601612d2d565b613ed581612d57565b840191505092915050565b6000608082019050613ef56000830187612e58565b613f026020830186612e58565b613f0f6040830185612f47565b8181036060830152613f218184613ea7565b905095945050505050565b600081519050613f3b81612c82565b92915050565b600060208284031215613f5757613f56612c4c565b5b6000613f6584828501613f2c565b9150509291505056fea2646970667358221220e6743cc759ff371590b42d3ac8b99e791c28907ad63940a56f04d819b4c6b0a264736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000005cb76d90c3f8c1e1c5563eec286d4fcaa46d76120000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e544274655633566547795a684b3254474c7678426d5372613446684366533848576b724a667637554b67322f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmNTBteV3VeGyZhK2TGLvxBmSra4FhCfS8HWkrJfv7UKg2/
Arg [1] : _lead (address): 0x5cb76D90C3f8C1e1C5563Eec286d4fCaA46d7612
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000005cb76d90c3f8c1e1c5563eec286d4fcaa46d7612
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d4e544274655633566547795a684b3254474c7678426d53
Arg [4] : 72613446684366533848576b724a667637554b67322f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.