ERC-721
Overview
Max Total Supply
555 FLVX
Holders
214
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FLVXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Reacti0nsbyFLVX
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 Reacti0nsbyFLVX is TinyERC721, Ownable, DefaultOperatorFilterer { string public baseURI; address public lead; bool public publicPaused = true; uint256 public cost = 0.002 ether; uint256 public maxSupply = 555; uint256 public maxPerWalletPublic = 5; uint256 public maxPerTxPublic = 5; address public contractV1; uint256 supply = totalSupply(); mapping(address => uint) public addressMintedBalance; constructor( string memory _baseURI, address _lead )TinyERC721("Reacti0ns by FLVX", "FLVX", 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 reserveMint(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":"contractV1","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_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":"uint256","name":"_quanitity","type":"uint256"}],"name":"reserveMint","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
60a06040526001600860146101000a81548160ff02191690831515021790555066071afd498d000060095561022b600a556005600b556005600c556200004a620003a660201b60201c565b600e553480156200005a57600080fd5b5060405162004a8c38038062004a8c833981810160405281019062000080919062000676565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601181526020017f526561637469306e7320627920464c56580000000000000000000000000000008152506040518060400160405280600481526020017f464c5658000000000000000000000000000000000000000000000000000000008152506000826002908162000116919062000927565b50816003908162000128919062000927565b5080608081815250505050506200015462000148620003b060201b60201c565b620003b860201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003495780156200020f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001d592919062000a1f565b600060405180830381600087803b158015620001f057600080fd5b505af115801562000205573d6000803e3d6000fd5b5050505062000348565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002c9576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200028f92919062000a1f565b600060405180830381600087803b158015620002aa57600080fd5b505af1158015620002bf573d6000803e3d6000fd5b5050505062000347565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000312919062000a4c565b600060405180830381600087803b1580156200032d57600080fd5b505af115801562000342573d6000803e3d6000fd5b505050505b5b5b505081600790816200035c919062000927565b5080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000a69565b6000600154905090565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004e7826200049c565b810181811067ffffffffffffffff82111715620005095762000508620004ad565b5b80604052505050565b60006200051e6200047e565b90506200052c8282620004dc565b919050565b600067ffffffffffffffff8211156200054f576200054e620004ad565b5b6200055a826200049c565b9050602081019050919050565b60005b83811015620005875780820151818401526020810190506200056a565b60008484015250505050565b6000620005aa620005a48462000531565b62000512565b905082815260208101848484011115620005c957620005c862000497565b5b620005d684828562000567565b509392505050565b600082601f830112620005f657620005f562000492565b5b81516200060884826020860162000593565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200063e8262000611565b9050919050565b620006508162000631565b81146200065c57600080fd5b50565b600081519050620006708162000645565b92915050565b6000806040838503121562000690576200068f62000488565b5b600083015167ffffffffffffffff811115620006b157620006b06200048d565b5b620006bf85828601620005de565b9250506020620006d2858286016200065f565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072f57607f821691505b602082108103620007455762000744620006e7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000770565b620007bb868362000770565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200080862000802620007fc84620007d3565b620007dd565b620007d3565b9050919050565b6000819050919050565b6200082483620007e7565b6200083c62000833826200080f565b8484546200077d565b825550505050565b600090565b6200085362000844565b6200086081848462000819565b505050565b5b8181101562000888576200087c60008262000849565b60018101905062000866565b5050565b601f821115620008d757620008a1816200074b565b620008ac8462000760565b81016020851015620008bc578190505b620008d4620008cb8562000760565b83018262000865565b50505b505050565b600082821c905092915050565b6000620008fc60001984600802620008dc565b1980831691505092915050565b6000620009178383620008e9565b9150826002028217905092915050565b6200093282620006dc565b67ffffffffffffffff8111156200094e576200094d620004ad565b5b6200095a825462000716565b620009678282856200088c565b600060209050601f8311600181146200099f57600084156200098a578287015190505b62000996858262000909565b86555062000a06565b601f198416620009af866200074b565b60005b82811015620009d957848901518255600182019150602085019450602081019050620009b2565b86831015620009f95784890151620009f5601f891682620008e9565b8355505b6001600288020188555050505b505050505050565b62000a198162000631565b82525050565b600060408201905062000a36600083018562000a0e565b62000a45602083018462000a0e565b9392505050565b600060208201905062000a63600083018462000a0e565b92915050565b60805161400062000a8c6000396000818161298b01526129b301526140006000f3fe60806040526004361061020f5760003560e01c806355f804b3116101185780639943770d116100a0578063c3c62d381161006f578063c3c62d3814610756578063c87b56dd1461077f578063d5abeb01146107bc578063e985e9c5146107e7578063f2fde38b146108245761020f565b80639943770d146106ae578063a22cb465146106d9578063b029a51414610702578063b88d4fde1461072d5761020f565b806370a08231116100e757806370a08231146105d9578063715018a6146106165780637885ce391461062d5780638da5cb5b1461065857806395d89b41146106835761020f565b806355f804b31461051f5780636352211e146105485780636c0360eb14610585578063701ee006146105b05761020f565b806318cae2691161019b5780633ccfd60b1161016a5780633ccfd60b1461046057806341f434341461047757806342842e0e146104a257806344a0d68a146104cb57806346bb0a16146104f45761020f565b806318cae269146103b5578063228025e8146103f257806323b872dd1461041b5780632db11544146104445761020f565b80630bb12bb8116101e25780630bb12bb8146102e25780630e21f59f1461030d5780631342ff4c1461033657806313faede61461035f57806318160ddd1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612d0a565b61084d565b6040516102489190612d52565b60405180910390f35b34801561025d57600080fd5b5061026661092f565b6040516102739190612dfd565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612e55565b6109c1565b6040516102b09190612ec3565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612f0a565b610a3d565b005b3480156102ee57600080fd5b506102f7610a56565b6040516103049190612d52565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190612f76565b610a69565b005b34801561034257600080fd5b5061035d60048036038101906103589190612e55565b610b02565b005b34801561036b57600080fd5b50610374610bb2565b6040516103819190612fb2565b60405180910390f35b34801561039657600080fd5b5061039f610bb8565b6040516103ac9190612fb2565b60405180910390f35b3480156103c157600080fd5b506103dc60048036038101906103d79190612fcd565b610bc2565b6040516103e99190612fb2565b60405180910390f35b3480156103fe57600080fd5b5061041960048036038101906104149190612e55565b610bda565b005b34801561042757600080fd5b50610442600480360381019061043d9190612ffa565b610c60565b005b61045e60048036038101906104599190612e55565b610caf565b005b34801561046c57600080fd5b50610475610f45565b005b34801561048357600080fd5b5061048c611092565b60405161049991906130ac565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190612ffa565b6110a4565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190612e55565b6110f3565b005b34801561050057600080fd5b50610509611179565b6040516105169190612ec3565b60405180910390f35b34801561052b57600080fd5b50610546600480360381019061054191906131fc565b61119f565b005b34801561055457600080fd5b5061056f600480360381019061056a9190612e55565b61122e565b60405161057c9190612ec3565b60405180910390f35b34801561059157600080fd5b5061059a6112a3565b6040516105a79190612dfd565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190612e55565b611331565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190612fcd565b6113b7565b60405161060d9190612fb2565b60405180910390f35b34801561062257600080fd5b5061062b611508565b005b34801561063957600080fd5b50610642611590565b60405161064f9190612ec3565b60405180910390f35b34801561066457600080fd5b5061066d6115b6565b60405161067a9190612ec3565b60405180910390f35b34801561068f57600080fd5b506106986115e0565b6040516106a59190612dfd565b60405180910390f35b3480156106ba57600080fd5b506106c3611672565b6040516106d09190612fb2565b60405180910390f35b3480156106e557600080fd5b5061070060048036038101906106fb9190613245565b611678565b005b34801561070e57600080fd5b50610717611691565b6040516107249190612fb2565b60405180910390f35b34801561073957600080fd5b50610754600480360381019061074f9190613326565b611697565b005b34801561076257600080fd5b5061077d60048036038101906107789190612e55565b6116e8565b005b34801561078b57600080fd5b506107a660048036038101906107a19190612e55565b61176e565b6040516107b39190612dfd565b60405180910390f35b3480156107c857600080fd5b506107d16117ea565b6040516107de9190612fb2565b60405180910390f35b3480156107f357600080fd5b5061080e600480360381019061080991906133a9565b6117f0565b60405161081b9190612d52565b60405180910390f35b34801561083057600080fd5b5061084b60048036038101906108469190612fcd565b611884565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092857506109278261197b565b5b9050919050565b60606002805461093e90613418565b80601f016020809104026020016040519081016040528092919081815260200182805461096a90613418565b80156109b75780601f1061098c576101008083540402835291602001916109b7565b820191906000526020600020905b81548152906001019060200180831161099a57829003601f168201915b5050505050905090565b60006109cc826119e5565b610a02576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a47816119f3565b610a518383611af0565b505050565b600860149054906101000a900460ff1681565b610a71611caa565b73ffffffffffffffffffffffffffffffffffffffff16610a8f6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc90613495565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b610b0a611caa565b73ffffffffffffffffffffffffffffffffffffffff16610b286115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590613495565b60405180910390fd5b6000610b88610bb8565b9050600a548183610b9991906134e4565b1115610ba457600080fd5b610bae3383611cb2565b5050565b60095481565b6000600154905090565b600f6020528060005260406000206000915090505481565b610be2611caa565b73ffffffffffffffffffffffffffffffffffffffff16610c006115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d90613495565b60405180910390fd5b80600a8190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c9e57610c9d336119f3565b5b610ca9848484611cd0565b50505050565b600860149054906101000a900460ff1615610cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf690613564565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d64906135d0565b60405180910390fd5b6000610d77610bb8565b905081600954610d8791906135f0565b341015610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc09061367e565b60405180910390fd5b600c54821115610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e05906136ea565b60405180910390fd5b600a548183610e1d91906134e4565b1115610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5590613756565b60405180910390fd5b600b54600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed8906137c2565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f3091906134e4565b92505081905550610f413383611cb2565b5050565b610f4d611caa565b73ffffffffffffffffffffffffffffffffffffffff16610f6b6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890613495565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161100990613813565b60006040518083038185875af1925050503d8060008114611046576040519150601f19603f3d011682016040523d82523d6000602084013e61104b565b606091505b505090508061108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690613874565b60405180910390fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110e2576110e1336119f3565b5b6110ed848484611ddd565b50505050565b6110fb611caa565b73ffffffffffffffffffffffffffffffffffffffff166111196115b6565b73ffffffffffffffffffffffffffffffffffffffff161461116f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116690613495565b60405180910390fd5b8060098190555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111a7611caa565b73ffffffffffffffffffffffffffffffffffffffff166111c56115b6565b73ffffffffffffffffffffffffffffffffffffffff161461121b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121290613495565b60405180910390fd5b806007908161122a9190613a36565b5050565b6000611239826119e5565b61126f576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61127882611dfd565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600780546112b090613418565b80601f01602080910402602001604051908101604052809291908181526020018280546112dc90613418565b80156113295780601f106112fe57610100808354040283529160200191611329565b820191906000526020600020905b81548152906001019060200180831161130c57829003601f168201915b505050505081565b611339611caa565b73ffffffffffffffffffffffffffffffffffffffff166113576115b6565b73ffffffffffffffffffffffffffffffffffffffff16146113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a490613495565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361141e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611428610bb8565b905060008060005b838110156114fc57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114aa578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ea57836114e790613b08565b93505b50806114f590613b08565b9050611430565b50819350505050919050565b611510611caa565b73ffffffffffffffffffffffffffffffffffffffff1661152e6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90613495565b60405180910390fd5b61158e6000611edc565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115ef90613418565b80601f016020809104026020016040519081016040528092919081815260200182805461161b90613418565b80156116685780601f1061163d57610100808354040283529160200191611668565b820191906000526020600020905b81548152906001019060200180831161164b57829003601f168201915b5050505050905090565b600c5481565b81611682816119f3565b61168c8383611fa2565b505050565b600b5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d5576116d4336119f3565b5b6116e185858585612119565b5050505050565b6116f0611caa565b73ffffffffffffffffffffffffffffffffffffffff1661170e6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90613495565b60405180910390fd5b80600c8190555050565b6060611779826119e5565b6117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90613b9c565b60405180910390fd5b60076117c383612228565b6040516020016117d4929190613cc7565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61188c611caa565b73ffffffffffffffffffffffffffffffffffffffff166118aa6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790613495565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690613d68565b60405180910390fd5b61197881611edc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611aed576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a6a929190613d88565b602060405180830381865afa158015611a87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aab9190613dc6565b611aec57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611ae39190612ec3565b60405180910390fd5b5b50565b6000611afb82611dfd565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c11576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611c30611caa565b73ffffffffffffffffffffffffffffffffffffffff1614158015611c625750611c6081611c5b611caa565b6117f0565b155b15611c99576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ca4848484612388565b50505050565b600033905090565b611ccc82826040518060200160405280600081525061243e565b5050565b6000611cdb82611dfd565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611d95611d8e611caa565b83836124d6565b611dcb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dd784848484612568565b50505050565b611df883838360405180602001604052806000815250611697565b505050565b6000611e08826119e5565b611e3e576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611ed257806001900390506000808281526020019081526020016000209150611e5a565b8192505050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611faa611caa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361200e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806005600061201b611caa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120c8611caa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210d9190612d52565b60405180910390a35050565b600061212483611dfd565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506121de6121d7611caa565b84836124d6565b612214576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612221858585848661284a565b5050505050565b60606000820361226f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612383565b600082905060005b600082146122a157808061228a90613b08565b915050600a8261229a9190613e22565b9150612277565b60008167ffffffffffffffff8111156122bd576122bc6130d1565b5b6040519080825280601f01601f1916602001820160405280156122ef5781602001600182028036833780820191505090505b5090505b6000851461237c576001826123089190613e53565b9150600a856123179190613e87565b603061232391906134e4565b60f81b81838151811061233957612338613eb8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123759190613e22565b94506122f3565b8093505050505b919050565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600154905061244f84846128c8565b61246e8473ffffffffffffffffffffffffffffffffffffffff16612b15565b156124d05760005b838110156124ce5761248d60008683850186612b38565b6124c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001019050612476565b505b50505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612520575061251f81866117f0565b5b8061255e57508473ffffffffffffffffffffffffffffffffffffffff16612546856109c1565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125d1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612637576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126448484846001612c88565b61265060008383612388565b6000600183019050612661816119e5565b1561274a5760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036127485782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127b48585858560200151612c8e565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128438585856001612c98565b5050505050565b61285685858585612568565b6128758473ffffffffffffffffffffffffffffffffffffffff16612b15565b801561288a575061288885858584612b38565b155b156128c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361292e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008103612968576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600154905061297c6000848385612c88565b60005b82811015612af25760007f0000000000000000000000000000000000000000000000000000000000000000146129e85760007f000000000000000000000000000000000000000000000000000000000000000082816129e1576129e0613df3565b5b06146129ed565b600081145b15612a8957600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612a60600086848601600060a01b612c8e565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480600101905061297f565b5081600160008282540192505081905550612b106000848385612c98565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b5e611caa565b8786866040518563ffffffff1660e01b8152600401612b809493929190613f3c565b6020604051808303816000875af1925050508015612bbc57506040513d601f19601f82011682018060405250810190612bb99190613f9d565b60015b612c35573d8060008114612bec576040519150601f19603f3d011682016040523d82523d6000602084013e612bf1565b606091505b506000815103612c2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b6000949350505050565b50505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ce781612cb2565b8114612cf257600080fd5b50565b600081359050612d0481612cde565b92915050565b600060208284031215612d2057612d1f612ca8565b5b6000612d2e84828501612cf5565b91505092915050565b60008115159050919050565b612d4c81612d37565b82525050565b6000602082019050612d676000830184612d43565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612da7578082015181840152602081019050612d8c565b60008484015250505050565b6000601f19601f8301169050919050565b6000612dcf82612d6d565b612dd98185612d78565b9350612de9818560208601612d89565b612df281612db3565b840191505092915050565b60006020820190508181036000830152612e178184612dc4565b905092915050565b6000819050919050565b612e3281612e1f565b8114612e3d57600080fd5b50565b600081359050612e4f81612e29565b92915050565b600060208284031215612e6b57612e6a612ca8565b5b6000612e7984828501612e40565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ead82612e82565b9050919050565b612ebd81612ea2565b82525050565b6000602082019050612ed86000830184612eb4565b92915050565b612ee781612ea2565b8114612ef257600080fd5b50565b600081359050612f0481612ede565b92915050565b60008060408385031215612f2157612f20612ca8565b5b6000612f2f85828601612ef5565b9250506020612f4085828601612e40565b9150509250929050565b612f5381612d37565b8114612f5e57600080fd5b50565b600081359050612f7081612f4a565b92915050565b600060208284031215612f8c57612f8b612ca8565b5b6000612f9a84828501612f61565b91505092915050565b612fac81612e1f565b82525050565b6000602082019050612fc76000830184612fa3565b92915050565b600060208284031215612fe357612fe2612ca8565b5b6000612ff184828501612ef5565b91505092915050565b60008060006060848603121561301357613012612ca8565b5b600061302186828701612ef5565b935050602061303286828701612ef5565b925050604061304386828701612e40565b9150509250925092565b6000819050919050565b600061307261306d61306884612e82565b61304d565b612e82565b9050919050565b600061308482613057565b9050919050565b600061309682613079565b9050919050565b6130a68161308b565b82525050565b60006020820190506130c1600083018461309d565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61310982612db3565b810181811067ffffffffffffffff82111715613128576131276130d1565b5b80604052505050565b600061313b612c9e565b90506131478282613100565b919050565b600067ffffffffffffffff821115613167576131666130d1565b5b61317082612db3565b9050602081019050919050565b82818337600083830152505050565b600061319f61319a8461314c565b613131565b9050828152602081018484840111156131bb576131ba6130cc565b5b6131c684828561317d565b509392505050565b600082601f8301126131e3576131e26130c7565b5b81356131f384826020860161318c565b91505092915050565b60006020828403121561321257613211612ca8565b5b600082013567ffffffffffffffff8111156132305761322f612cad565b5b61323c848285016131ce565b91505092915050565b6000806040838503121561325c5761325b612ca8565b5b600061326a85828601612ef5565b925050602061327b85828601612f61565b9150509250929050565b600067ffffffffffffffff8211156132a05761329f6130d1565b5b6132a982612db3565b9050602081019050919050565b60006132c96132c484613285565b613131565b9050828152602081018484840111156132e5576132e46130cc565b5b6132f084828561317d565b509392505050565b600082601f83011261330d5761330c6130c7565b5b813561331d8482602086016132b6565b91505092915050565b600080600080608085870312156133405761333f612ca8565b5b600061334e87828801612ef5565b945050602061335f87828801612ef5565b935050604061337087828801612e40565b925050606085013567ffffffffffffffff81111561339157613390612cad565b5b61339d878288016132f8565b91505092959194509250565b600080604083850312156133c0576133bf612ca8565b5b60006133ce85828601612ef5565b92505060206133df85828601612ef5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343057607f821691505b602082108103613443576134426133e9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061347f602083612d78565b915061348a82613449565b602082019050919050565b600060208201905081810360008301526134ae81613472565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134ef82612e1f565b91506134fa83612e1f565b9250828201905080821115613512576135116134b5565b5b92915050565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b600061354e601283612d78565b915061355982613518565b602082019050919050565b6000602082019050818103600083015261357d81613541565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b60006135ba601f83612d78565b91506135c582613584565b602082019050919050565b600060208201905081810360008301526135e9816135ad565b9050919050565b60006135fb82612e1f565b915061360683612e1f565b925082820261361481612e1f565b9150828204841483151761362b5761362a6134b5565b5b5092915050565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b6000613668601083612d78565b915061367382613632565b602082019050919050565b600060208201905081810360008301526136978161365b565b9050919050565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b60006136d4600d83612d78565b91506136df8261369e565b602082019050919050565b60006020820190508181036000830152613703816136c7565b9050919050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b6000613740600783612d78565b915061374b8261370a565b602082019050919050565b6000602082019050818103600083015261376f81613733565b9050919050565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b60006137ac601183612d78565b91506137b782613776565b602082019050919050565b600060208201905081810360008301526137db8161379f565b9050919050565b600081905092915050565b50565b60006137fd6000836137e2565b9150613808826137ed565b600082019050919050565b600061381e826137f0565b9150819050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b600061385e601783612d78565b915061386982613828565b602082019050919050565b6000602082019050818103600083015261388d81613851565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138f67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826138b9565b61390086836138b9565b95508019841693508086168417925050509392505050565b600061393361392e61392984612e1f565b61304d565b612e1f565b9050919050565b6000819050919050565b61394d83613918565b6139616139598261393a565b8484546138c6565b825550505050565b600090565b613976613969565b613981818484613944565b505050565b5b818110156139a55761399a60008261396e565b600181019050613987565b5050565b601f8211156139ea576139bb81613894565b6139c4846138a9565b810160208510156139d3578190505b6139e76139df856138a9565b830182613986565b50505b505050565b600082821c905092915050565b6000613a0d600019846008026139ef565b1980831691505092915050565b6000613a2683836139fc565b9150826002028217905092915050565b613a3f82612d6d565b67ffffffffffffffff811115613a5857613a576130d1565b5b613a628254613418565b613a6d8282856139a9565b600060209050601f831160018114613aa05760008415613a8e578287015190505b613a988582613a1a565b865550613b00565b601f198416613aae86613894565b60005b82811015613ad657848901518255600182019150602085019450602081019050613ab1565b86831015613af35784890151613aef601f8916826139fc565b8355505b6001600288020188555050505b505050505050565b6000613b1382612e1f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b4557613b446134b5565b5b600182019050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000613b86601583612d78565b9150613b9182613b50565b602082019050919050565b60006020820190508181036000830152613bb581613b79565b9050919050565b600081905092915050565b60008154613bd481613418565b613bde8186613bbc565b94506001821660008114613bf95760018114613c0e57613c41565b60ff1983168652811515820286019350613c41565b613c1785613894565b60005b83811015613c3957815481890152600182019150602081019050613c1a565b838801955050505b50505092915050565b6000613c5582612d6d565b613c5f8185613bbc565b9350613c6f818560208601612d89565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613cb1600583613bbc565b9150613cbc82613c7b565b600582019050919050565b6000613cd38285613bc7565b9150613cdf8284613c4a565b9150613cea82613ca4565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d52602683612d78565b9150613d5d82613cf6565b604082019050919050565b60006020820190508181036000830152613d8181613d45565b9050919050565b6000604082019050613d9d6000830185612eb4565b613daa6020830184612eb4565b9392505050565b600081519050613dc081612f4a565b92915050565b600060208284031215613ddc57613ddb612ca8565b5b6000613dea84828501613db1565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e2d82612e1f565b9150613e3883612e1f565b925082613e4857613e47613df3565b5b828204905092915050565b6000613e5e82612e1f565b9150613e6983612e1f565b9250828203905081811115613e8157613e806134b5565b5b92915050565b6000613e9282612e1f565b9150613e9d83612e1f565b925082613ead57613eac613df3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613f0e82613ee7565b613f188185613ef2565b9350613f28818560208601612d89565b613f3181612db3565b840191505092915050565b6000608082019050613f516000830187612eb4565b613f5e6020830186612eb4565b613f6b6040830185612fa3565b8181036060830152613f7d8184613f03565b905095945050505050565b600081519050613f9781612cde565b92915050565b600060208284031215613fb357613fb2612ca8565b5b6000613fc184828501613f88565b9150509291505056fea2646970667358221220874ace6e45bdcd4be210098435f601ddbfb4b5f51a70fe98a4fe9745270a935564736f6c634300081100330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a9a1349a671d093d4ec3fd69838e63e7a89496b40000000000000000000000000000000000000000000000000000000000000008697066733a2f2f2f000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c806355f804b3116101185780639943770d116100a0578063c3c62d381161006f578063c3c62d3814610756578063c87b56dd1461077f578063d5abeb01146107bc578063e985e9c5146107e7578063f2fde38b146108245761020f565b80639943770d146106ae578063a22cb465146106d9578063b029a51414610702578063b88d4fde1461072d5761020f565b806370a08231116100e757806370a08231146105d9578063715018a6146106165780637885ce391461062d5780638da5cb5b1461065857806395d89b41146106835761020f565b806355f804b31461051f5780636352211e146105485780636c0360eb14610585578063701ee006146105b05761020f565b806318cae2691161019b5780633ccfd60b1161016a5780633ccfd60b1461046057806341f434341461047757806342842e0e146104a257806344a0d68a146104cb57806346bb0a16146104f45761020f565b806318cae269146103b5578063228025e8146103f257806323b872dd1461041b5780632db11544146104445761020f565b80630bb12bb8116101e25780630bb12bb8146102e25780630e21f59f1461030d5780631342ff4c1461033657806313faede61461035f57806318160ddd1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612d0a565b61084d565b6040516102489190612d52565b60405180910390f35b34801561025d57600080fd5b5061026661092f565b6040516102739190612dfd565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612e55565b6109c1565b6040516102b09190612ec3565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612f0a565b610a3d565b005b3480156102ee57600080fd5b506102f7610a56565b6040516103049190612d52565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190612f76565b610a69565b005b34801561034257600080fd5b5061035d60048036038101906103589190612e55565b610b02565b005b34801561036b57600080fd5b50610374610bb2565b6040516103819190612fb2565b60405180910390f35b34801561039657600080fd5b5061039f610bb8565b6040516103ac9190612fb2565b60405180910390f35b3480156103c157600080fd5b506103dc60048036038101906103d79190612fcd565b610bc2565b6040516103e99190612fb2565b60405180910390f35b3480156103fe57600080fd5b5061041960048036038101906104149190612e55565b610bda565b005b34801561042757600080fd5b50610442600480360381019061043d9190612ffa565b610c60565b005b61045e60048036038101906104599190612e55565b610caf565b005b34801561046c57600080fd5b50610475610f45565b005b34801561048357600080fd5b5061048c611092565b60405161049991906130ac565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190612ffa565b6110a4565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190612e55565b6110f3565b005b34801561050057600080fd5b50610509611179565b6040516105169190612ec3565b60405180910390f35b34801561052b57600080fd5b50610546600480360381019061054191906131fc565b61119f565b005b34801561055457600080fd5b5061056f600480360381019061056a9190612e55565b61122e565b60405161057c9190612ec3565b60405180910390f35b34801561059157600080fd5b5061059a6112a3565b6040516105a79190612dfd565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190612e55565b611331565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190612fcd565b6113b7565b60405161060d9190612fb2565b60405180910390f35b34801561062257600080fd5b5061062b611508565b005b34801561063957600080fd5b50610642611590565b60405161064f9190612ec3565b60405180910390f35b34801561066457600080fd5b5061066d6115b6565b60405161067a9190612ec3565b60405180910390f35b34801561068f57600080fd5b506106986115e0565b6040516106a59190612dfd565b60405180910390f35b3480156106ba57600080fd5b506106c3611672565b6040516106d09190612fb2565b60405180910390f35b3480156106e557600080fd5b5061070060048036038101906106fb9190613245565b611678565b005b34801561070e57600080fd5b50610717611691565b6040516107249190612fb2565b60405180910390f35b34801561073957600080fd5b50610754600480360381019061074f9190613326565b611697565b005b34801561076257600080fd5b5061077d60048036038101906107789190612e55565b6116e8565b005b34801561078b57600080fd5b506107a660048036038101906107a19190612e55565b61176e565b6040516107b39190612dfd565b60405180910390f35b3480156107c857600080fd5b506107d16117ea565b6040516107de9190612fb2565b60405180910390f35b3480156107f357600080fd5b5061080e600480360381019061080991906133a9565b6117f0565b60405161081b9190612d52565b60405180910390f35b34801561083057600080fd5b5061084b60048036038101906108469190612fcd565b611884565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092857506109278261197b565b5b9050919050565b60606002805461093e90613418565b80601f016020809104026020016040519081016040528092919081815260200182805461096a90613418565b80156109b75780601f1061098c576101008083540402835291602001916109b7565b820191906000526020600020905b81548152906001019060200180831161099a57829003601f168201915b5050505050905090565b60006109cc826119e5565b610a02576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a47816119f3565b610a518383611af0565b505050565b600860149054906101000a900460ff1681565b610a71611caa565b73ffffffffffffffffffffffffffffffffffffffff16610a8f6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc90613495565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b610b0a611caa565b73ffffffffffffffffffffffffffffffffffffffff16610b286115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590613495565b60405180910390fd5b6000610b88610bb8565b9050600a548183610b9991906134e4565b1115610ba457600080fd5b610bae3383611cb2565b5050565b60095481565b6000600154905090565b600f6020528060005260406000206000915090505481565b610be2611caa565b73ffffffffffffffffffffffffffffffffffffffff16610c006115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d90613495565b60405180910390fd5b80600a8190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c9e57610c9d336119f3565b5b610ca9848484611cd0565b50505050565b600860149054906101000a900460ff1615610cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf690613564565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d64906135d0565b60405180910390fd5b6000610d77610bb8565b905081600954610d8791906135f0565b341015610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc09061367e565b60405180910390fd5b600c54821115610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e05906136ea565b60405180910390fd5b600a548183610e1d91906134e4565b1115610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5590613756565b60405180910390fd5b600b54600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed8906137c2565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f3091906134e4565b92505081905550610f413383611cb2565b5050565b610f4d611caa565b73ffffffffffffffffffffffffffffffffffffffff16610f6b6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890613495565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161100990613813565b60006040518083038185875af1925050503d8060008114611046576040519150601f19603f3d011682016040523d82523d6000602084013e61104b565b606091505b505090508061108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690613874565b60405180910390fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110e2576110e1336119f3565b5b6110ed848484611ddd565b50505050565b6110fb611caa565b73ffffffffffffffffffffffffffffffffffffffff166111196115b6565b73ffffffffffffffffffffffffffffffffffffffff161461116f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116690613495565b60405180910390fd5b8060098190555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111a7611caa565b73ffffffffffffffffffffffffffffffffffffffff166111c56115b6565b73ffffffffffffffffffffffffffffffffffffffff161461121b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121290613495565b60405180910390fd5b806007908161122a9190613a36565b5050565b6000611239826119e5565b61126f576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61127882611dfd565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600780546112b090613418565b80601f01602080910402602001604051908101604052809291908181526020018280546112dc90613418565b80156113295780601f106112fe57610100808354040283529160200191611329565b820191906000526020600020905b81548152906001019060200180831161130c57829003601f168201915b505050505081565b611339611caa565b73ffffffffffffffffffffffffffffffffffffffff166113576115b6565b73ffffffffffffffffffffffffffffffffffffffff16146113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a490613495565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361141e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611428610bb8565b905060008060005b838110156114fc57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114aa578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ea57836114e790613b08565b93505b50806114f590613b08565b9050611430565b50819350505050919050565b611510611caa565b73ffffffffffffffffffffffffffffffffffffffff1661152e6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90613495565b60405180910390fd5b61158e6000611edc565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115ef90613418565b80601f016020809104026020016040519081016040528092919081815260200182805461161b90613418565b80156116685780601f1061163d57610100808354040283529160200191611668565b820191906000526020600020905b81548152906001019060200180831161164b57829003601f168201915b5050505050905090565b600c5481565b81611682816119f3565b61168c8383611fa2565b505050565b600b5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d5576116d4336119f3565b5b6116e185858585612119565b5050505050565b6116f0611caa565b73ffffffffffffffffffffffffffffffffffffffff1661170e6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90613495565b60405180910390fd5b80600c8190555050565b6060611779826119e5565b6117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90613b9c565b60405180910390fd5b60076117c383612228565b6040516020016117d4929190613cc7565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61188c611caa565b73ffffffffffffffffffffffffffffffffffffffff166118aa6115b6565b73ffffffffffffffffffffffffffffffffffffffff1614611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790613495565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690613d68565b60405180910390fd5b61197881611edc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611aed576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a6a929190613d88565b602060405180830381865afa158015611a87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aab9190613dc6565b611aec57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611ae39190612ec3565b60405180910390fd5b5b50565b6000611afb82611dfd565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c11576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611c30611caa565b73ffffffffffffffffffffffffffffffffffffffff1614158015611c625750611c6081611c5b611caa565b6117f0565b155b15611c99576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ca4848484612388565b50505050565b600033905090565b611ccc82826040518060200160405280600081525061243e565b5050565b6000611cdb82611dfd565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611d95611d8e611caa565b83836124d6565b611dcb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dd784848484612568565b50505050565b611df883838360405180602001604052806000815250611697565b505050565b6000611e08826119e5565b611e3e576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611ed257806001900390506000808281526020019081526020016000209150611e5a565b8192505050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611faa611caa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361200e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806005600061201b611caa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120c8611caa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210d9190612d52565b60405180910390a35050565b600061212483611dfd565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506121de6121d7611caa565b84836124d6565b612214576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612221858585848661284a565b5050505050565b60606000820361226f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612383565b600082905060005b600082146122a157808061228a90613b08565b915050600a8261229a9190613e22565b9150612277565b60008167ffffffffffffffff8111156122bd576122bc6130d1565b5b6040519080825280601f01601f1916602001820160405280156122ef5781602001600182028036833780820191505090505b5090505b6000851461237c576001826123089190613e53565b9150600a856123179190613e87565b603061232391906134e4565b60f81b81838151811061233957612338613eb8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123759190613e22565b94506122f3565b8093505050505b919050565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600154905061244f84846128c8565b61246e8473ffffffffffffffffffffffffffffffffffffffff16612b15565b156124d05760005b838110156124ce5761248d60008683850186612b38565b6124c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001019050612476565b505b50505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612520575061251f81866117f0565b5b8061255e57508473ffffffffffffffffffffffffffffffffffffffff16612546856109c1565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125d1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612637576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126448484846001612c88565b61265060008383612388565b6000600183019050612661816119e5565b1561274a5760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036127485782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127b48585858560200151612c8e565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128438585856001612c98565b5050505050565b61285685858585612568565b6128758473ffffffffffffffffffffffffffffffffffffffff16612b15565b801561288a575061288885858584612b38565b155b156128c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361292e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008103612968576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600154905061297c6000848385612c88565b60005b82811015612af25760007f0000000000000000000000000000000000000000000000000000000000000000146129e85760007f000000000000000000000000000000000000000000000000000000000000000082816129e1576129e0613df3565b5b06146129ed565b600081145b15612a8957600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612a60600086848601600060a01b612c8e565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480600101905061297f565b5081600160008282540192505081905550612b106000848385612c98565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b5e611caa565b8786866040518563ffffffff1660e01b8152600401612b809493929190613f3c565b6020604051808303816000875af1925050508015612bbc57506040513d601f19601f82011682018060405250810190612bb99190613f9d565b60015b612c35573d8060008114612bec576040519150601f19603f3d011682016040523d82523d6000602084013e612bf1565b606091505b506000815103612c2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b6000949350505050565b50505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ce781612cb2565b8114612cf257600080fd5b50565b600081359050612d0481612cde565b92915050565b600060208284031215612d2057612d1f612ca8565b5b6000612d2e84828501612cf5565b91505092915050565b60008115159050919050565b612d4c81612d37565b82525050565b6000602082019050612d676000830184612d43565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612da7578082015181840152602081019050612d8c565b60008484015250505050565b6000601f19601f8301169050919050565b6000612dcf82612d6d565b612dd98185612d78565b9350612de9818560208601612d89565b612df281612db3565b840191505092915050565b60006020820190508181036000830152612e178184612dc4565b905092915050565b6000819050919050565b612e3281612e1f565b8114612e3d57600080fd5b50565b600081359050612e4f81612e29565b92915050565b600060208284031215612e6b57612e6a612ca8565b5b6000612e7984828501612e40565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ead82612e82565b9050919050565b612ebd81612ea2565b82525050565b6000602082019050612ed86000830184612eb4565b92915050565b612ee781612ea2565b8114612ef257600080fd5b50565b600081359050612f0481612ede565b92915050565b60008060408385031215612f2157612f20612ca8565b5b6000612f2f85828601612ef5565b9250506020612f4085828601612e40565b9150509250929050565b612f5381612d37565b8114612f5e57600080fd5b50565b600081359050612f7081612f4a565b92915050565b600060208284031215612f8c57612f8b612ca8565b5b6000612f9a84828501612f61565b91505092915050565b612fac81612e1f565b82525050565b6000602082019050612fc76000830184612fa3565b92915050565b600060208284031215612fe357612fe2612ca8565b5b6000612ff184828501612ef5565b91505092915050565b60008060006060848603121561301357613012612ca8565b5b600061302186828701612ef5565b935050602061303286828701612ef5565b925050604061304386828701612e40565b9150509250925092565b6000819050919050565b600061307261306d61306884612e82565b61304d565b612e82565b9050919050565b600061308482613057565b9050919050565b600061309682613079565b9050919050565b6130a68161308b565b82525050565b60006020820190506130c1600083018461309d565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61310982612db3565b810181811067ffffffffffffffff82111715613128576131276130d1565b5b80604052505050565b600061313b612c9e565b90506131478282613100565b919050565b600067ffffffffffffffff821115613167576131666130d1565b5b61317082612db3565b9050602081019050919050565b82818337600083830152505050565b600061319f61319a8461314c565b613131565b9050828152602081018484840111156131bb576131ba6130cc565b5b6131c684828561317d565b509392505050565b600082601f8301126131e3576131e26130c7565b5b81356131f384826020860161318c565b91505092915050565b60006020828403121561321257613211612ca8565b5b600082013567ffffffffffffffff8111156132305761322f612cad565b5b61323c848285016131ce565b91505092915050565b6000806040838503121561325c5761325b612ca8565b5b600061326a85828601612ef5565b925050602061327b85828601612f61565b9150509250929050565b600067ffffffffffffffff8211156132a05761329f6130d1565b5b6132a982612db3565b9050602081019050919050565b60006132c96132c484613285565b613131565b9050828152602081018484840111156132e5576132e46130cc565b5b6132f084828561317d565b509392505050565b600082601f83011261330d5761330c6130c7565b5b813561331d8482602086016132b6565b91505092915050565b600080600080608085870312156133405761333f612ca8565b5b600061334e87828801612ef5565b945050602061335f87828801612ef5565b935050604061337087828801612e40565b925050606085013567ffffffffffffffff81111561339157613390612cad565b5b61339d878288016132f8565b91505092959194509250565b600080604083850312156133c0576133bf612ca8565b5b60006133ce85828601612ef5565b92505060206133df85828601612ef5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343057607f821691505b602082108103613443576134426133e9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061347f602083612d78565b915061348a82613449565b602082019050919050565b600060208201905081810360008301526134ae81613472565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134ef82612e1f565b91506134fa83612e1f565b9250828201905080821115613512576135116134b5565b5b92915050565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b600061354e601283612d78565b915061355982613518565b602082019050919050565b6000602082019050818103600083015261357d81613541565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b60006135ba601f83612d78565b91506135c582613584565b602082019050919050565b600060208201905081810360008301526135e9816135ad565b9050919050565b60006135fb82612e1f565b915061360683612e1f565b925082820261361481612e1f565b9150828204841483151761362b5761362a6134b5565b5b5092915050565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b6000613668601083612d78565b915061367382613632565b602082019050919050565b600060208201905081810360008301526136978161365b565b9050919050565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b60006136d4600d83612d78565b91506136df8261369e565b602082019050919050565b60006020820190508181036000830152613703816136c7565b9050919050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b6000613740600783612d78565b915061374b8261370a565b602082019050919050565b6000602082019050818103600083015261376f81613733565b9050919050565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b60006137ac601183612d78565b91506137b782613776565b602082019050919050565b600060208201905081810360008301526137db8161379f565b9050919050565b600081905092915050565b50565b60006137fd6000836137e2565b9150613808826137ed565b600082019050919050565b600061381e826137f0565b9150819050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b600061385e601783612d78565b915061386982613828565b602082019050919050565b6000602082019050818103600083015261388d81613851565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138f67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826138b9565b61390086836138b9565b95508019841693508086168417925050509392505050565b600061393361392e61392984612e1f565b61304d565b612e1f565b9050919050565b6000819050919050565b61394d83613918565b6139616139598261393a565b8484546138c6565b825550505050565b600090565b613976613969565b613981818484613944565b505050565b5b818110156139a55761399a60008261396e565b600181019050613987565b5050565b601f8211156139ea576139bb81613894565b6139c4846138a9565b810160208510156139d3578190505b6139e76139df856138a9565b830182613986565b50505b505050565b600082821c905092915050565b6000613a0d600019846008026139ef565b1980831691505092915050565b6000613a2683836139fc565b9150826002028217905092915050565b613a3f82612d6d565b67ffffffffffffffff811115613a5857613a576130d1565b5b613a628254613418565b613a6d8282856139a9565b600060209050601f831160018114613aa05760008415613a8e578287015190505b613a988582613a1a565b865550613b00565b601f198416613aae86613894565b60005b82811015613ad657848901518255600182019150602085019450602081019050613ab1565b86831015613af35784890151613aef601f8916826139fc565b8355505b6001600288020188555050505b505050505050565b6000613b1382612e1f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b4557613b446134b5565b5b600182019050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000613b86601583612d78565b9150613b9182613b50565b602082019050919050565b60006020820190508181036000830152613bb581613b79565b9050919050565b600081905092915050565b60008154613bd481613418565b613bde8186613bbc565b94506001821660008114613bf95760018114613c0e57613c41565b60ff1983168652811515820286019350613c41565b613c1785613894565b60005b83811015613c3957815481890152600182019150602081019050613c1a565b838801955050505b50505092915050565b6000613c5582612d6d565b613c5f8185613bbc565b9350613c6f818560208601612d89565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613cb1600583613bbc565b9150613cbc82613c7b565b600582019050919050565b6000613cd38285613bc7565b9150613cdf8284613c4a565b9150613cea82613ca4565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d52602683612d78565b9150613d5d82613cf6565b604082019050919050565b60006020820190508181036000830152613d8181613d45565b9050919050565b6000604082019050613d9d6000830185612eb4565b613daa6020830184612eb4565b9392505050565b600081519050613dc081612f4a565b92915050565b600060208284031215613ddc57613ddb612ca8565b5b6000613dea84828501613db1565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e2d82612e1f565b9150613e3883612e1f565b925082613e4857613e47613df3565b5b828204905092915050565b6000613e5e82612e1f565b9150613e6983612e1f565b9250828203905081811115613e8157613e806134b5565b5b92915050565b6000613e9282612e1f565b9150613e9d83612e1f565b925082613ead57613eac613df3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613f0e82613ee7565b613f188185613ef2565b9350613f28818560208601612d89565b613f3181612db3565b840191505092915050565b6000608082019050613f516000830187612eb4565b613f5e6020830186612eb4565b613f6b6040830185612fa3565b8181036060830152613f7d8184613f03565b905095945050505050565b600081519050613f9781612cde565b92915050565b600060208284031215613fb357613fb2612ca8565b5b6000613fc184828501613f88565b9150509291505056fea2646970667358221220874ace6e45bdcd4be210098435f601ddbfb4b5f51a70fe98a4fe9745270a935564736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a9a1349a671d093d4ec3fd69838e63e7a89496b40000000000000000000000000000000000000000000000000000000000000008697066733a2f2f2f000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs:///
Arg [1] : _lead (address): 0xa9a1349a671d093d4ec3FD69838E63e7a89496b4
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a9a1349a671d093d4ec3fd69838e63e7a89496b4
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 697066733a2f2f2f000000000000000000000000000000000000000000000000
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.