Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,001 EVOLUTION
Holders
961
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 EVOLUTIONLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EvolutionBadge
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** _______ ___ ___ ________ ___ ___ ___ _________ ___ ________ ________ |\ ___ \ |\ \ / /|\ __ \|\ \ |\ \|\ \|\___ ___\\ \|\ __ \|\ ___ \ \ \ __/|\ \ \ / / | \ \|\ \ \ \ \ \ \\\ \|___ \ \_\ \ \ \ \|\ \ \ \\ \ \ \ \ \_|/_\ \ \/ / / \ \ \\\ \ \ \ \ \ \\\ \ \ \ \ \ \ \ \ \\\ \ \ \ \ \ \ \ \ \_|\ \ \ / / \ \ \\\ \ \ \____\ \ \\\ \ \ \ \ \ \ \ \ \\\ \ \ \ \ \ \ \ \_______ \ \__/ / \ \_______\ \_______\ \_______\ \ \__\ \ \__\ \_______\ \__\ \ \__\ \|_______| \|__|/ \|_______|\|_______|\|_______| \|__| \|__|\|_______|\|__| \|__| */ /** *Submitted for verification at Etherscan.io on 2023-03-08 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success,) = recipient.call{value : amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value : value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; // import "openzeppelin-contracts\contracts\token\common\ERC2981.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: erc721a/contracts/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: contracts/GitcoinPunks.sol pragma solidity >=0.8.0 <0.9.0; contract EvolutionBadge is ERC721A, Ownable, ReentrancyGuard, ERC2981, DefaultOperatorFilterer { using Strings for uint256; string public _baseTokenURI; string public hiddenMetadataUri; uint256 public cost = 0.002 ether; uint256 public maxSupply = 3001; uint256 public freeSupply = 500; uint256 public maxMintAmountPerTx = 5; uint256 public maxFreeAmountPerTx = 1; uint256 public freemintCount = 0; bool public paused; bool public revealed = true; bool public mintEnabled = false; constructor() ERC721A("EvolutionBadge", "EVOLUTION") { setBaseURI("ipfs://bafybeifj4inuweuoy7fo42l32d32dc63k3xcpp4ahop3o2sczdgd363hv4/"); // _safeMint(_msgSender(), 1); _setDefaultRoyalty(msg.sender, 300); } function mint(uint256 _mintAmount) public payable nonReentrant { require(mintEnabled, "Mint is not live yet."); bool isFree = false; if (cost > 0) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); } else { isFree = true; require(_mintAmount > 0 && _mintAmount <= maxFreeAmountPerTx, "Invalid mint amount!"); require(freemintCount + _mintAmount <= freeSupply, "Max FreeSupply exceeded!"); } require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); require(!paused, "The contract is paused!"); require(msg.value >= cost * _mintAmount, "Insufficient funds!"); if (isFree) { freemintCount++; } _safeMint(_msgSender(), _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner { _safeMint(_receiver, _mintAmount); } function _startTokenId() internal view virtual override returns (uint256) { return 0; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setMaxFreeAmountPerTx(uint256 _maxFreeAmountPerTx) public onlyOwner { maxFreeAmountPerTx = _maxFreeAmountPerTx; } // function setMaxSupply(uint256 _maxSupply) public onlyOwner { // maxSupply = _maxSupply; // } function setFreeSupply(uint256 _freeSupply) public onlyOwner { freeSupply = _freeSupply; } function setPaused(bool _state) public onlyOwner { paused = _state; } function withdraw() public onlyOwner nonReentrant { (bool os,) = payable(owner()).call{value : address(this).balance}(''); require(os); } // METADATA HANDLING function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function flipMint() external onlyOwner { mintEnabled = !mintEnabled; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI does not exist!"); if (revealed) { return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")); } else { return hiddenMetadataUri; } } /** * @dev See {IERC721-setApprovalForAll}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } // /** // * @dev See {IERC721-approve}. // * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. // */ function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } /** * @dev See {IERC721-transferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"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":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freemintCount","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxFreeAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"_freeSupply","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeAmountPerTx","type":"uint256"}],"name":"setMaxFreeAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","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":"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
608060405266071afd498d0000600e55610bb9600f556101f46010556005601155600160125560006013556001601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff0219169083151502179055503480156200006d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600e81526020017f45766f6c7574696f6e42616467650000000000000000000000000000000000008152506040518060400160405280600981526020017f45564f4c5554494f4e0000000000000000000000000000000000000000000000815250816002908162000102919062000958565b50806003908162000114919062000958565b50620001256200039060201b60201c565b60008190555050506200014d620001416200039560201b60201c565b6200039d60201b60201c565b600160098190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200034a57801562000210576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001d692919062000a84565b600060405180830381600087803b158015620001f157600080fd5b505af115801562000206573d6000803e3d6000fd5b5050505062000349565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002ca576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200029092919062000a84565b600060405180830381600087803b158015620002ab57600080fd5b505af1158015620002c0573d6000803e3d6000fd5b5050505062000348565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000313919062000ab1565b600060405180830381600087803b1580156200032e57600080fd5b505af115801562000343573d6000803e3d6000fd5b505050505b5b5b5050620003766040518060800160405280604381526020016200549a604391396200046360201b60201c565b6200038a3361012c6200050760201b60201c565b62000c5b565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004736200039560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000499620006aa60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e99062000b2f565b60405180910390fd5b80600c908162000503919062000958565b5050565b62000517620006d460201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000578576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200056f9062000bc7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005e19062000c39565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200076057607f821691505b60208210810362000776576200077562000718565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007a1565b620007ec8683620007a1565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000839620008336200082d8462000804565b6200080e565b62000804565b9050919050565b6000819050919050565b620008558362000818565b6200086d620008648262000840565b848454620007ae565b825550505050565b600090565b6200088462000875565b620008918184846200084a565b505050565b5b81811015620008b957620008ad6000826200087a565b60018101905062000897565b5050565b601f8211156200090857620008d2816200077c565b620008dd8462000791565b81016020851015620008ed578190505b62000905620008fc8562000791565b83018262000896565b50505b505050565b600082821c905092915050565b60006200092d600019846008026200090d565b1980831691505092915050565b60006200094883836200091a565b9150826002028217905092915050565b6200096382620006de565b67ffffffffffffffff8111156200097f576200097e620006e9565b5b6200098b825462000747565b62000998828285620008bd565b600060209050601f831160018114620009d05760008415620009bb578287015190505b620009c785826200093a565b86555062000a37565b601f198416620009e0866200077c565b60005b8281101562000a0a57848901518255600182019150602085019450602081019050620009e3565b8683101562000a2a578489015162000a26601f8916826200091a565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000a6c8262000a3f565b9050919050565b62000a7e8162000a5f565b82525050565b600060408201905062000a9b600083018562000a73565b62000aaa602083018462000a73565b9392505050565b600060208201905062000ac8600083018462000a73565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000b1760208362000ace565b915062000b248262000adf565b602082019050919050565b6000602082019050818103600083015262000b4a8162000b08565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000baf602a8362000ace565b915062000bbc8262000b51565b604082019050919050565b6000602082019050818103600083015262000be28162000ba0565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000c2160198362000ace565b915062000c2e8262000be9565b602082019050919050565b6000602082019050818103600083015262000c548162000c12565b9050919050565b61482f8062000c6b6000396000f3fe6080604052600436106102515760003560e01c806370a0823111610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb011461086e578063e0a8085314610899578063e985e9c5146108c2578063efbd73f4146108ff578063f2fde38b14610928578063f676308a1461095157610251565b8063b88d4fde1461079b578063c87b56dd146107c4578063cfc86f7b14610801578063d12397301461082c578063d2ed5c591461085757610251565b806395d89b41116100fd57806395d89b41146106d7578063a0712d6814610702578063a22cb4651461071e578063a45ba8e714610747578063b071401b1461077257610251565b806370a0823114610604578063715018a6146106415780637b2f1595146106585780638da5cb5b1461068157806394354fd0146106ac57610251565b80632a55205a116101d25780634fdd43cb116101965780634fdd43cb146104f4578063518302271461051d57806355f804b3146105485780635c975abb146105715780636352211e1461059c57806366e98261146105d957610251565b80632a55205a146104225780633ccfd60b1461046057806341f434341461047757806342842e0e146104a257806344a0d68a146104cb57610251565b806313faede61161021957806313faede61461034f57806316c38b3c1461037a57806318160ddd146103a357806323b872dd146103ce57806324a6ab0c146103f757610251565b80630156347e1461025657806301ffc9a71461028157806306fdde03146102be578063081812fc146102e9578063095ea7b314610326575b600080fd5b34801561026257600080fd5b5061026b61097a565b60405161027891906134c0565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190613547565b610980565b6040516102b5919061358f565b60405180910390f35b3480156102ca57600080fd5b506102d3610992565b6040516102e0919061363a565b60405180910390f35b3480156102f557600080fd5b50610310600480360381019061030b9190613688565b610a24565b60405161031d91906136f6565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061373d565b610aa0565b005b34801561035b57600080fd5b50610364610ab9565b60405161037191906134c0565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c91906137a9565b610abf565b005b3480156103af57600080fd5b506103b8610b58565b6040516103c591906134c0565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f091906137d6565b610b6f565b005b34801561040357600080fd5b5061040c610bbe565b60405161041991906134c0565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613829565b610bc4565b604051610457929190613869565b60405180910390f35b34801561046c57600080fd5b50610475610dae565b005b34801561048357600080fd5b5061048c610eff565b60405161049991906138f1565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906137d6565b610f11565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613688565b610f60565b005b34801561050057600080fd5b5061051b60048036038101906105169190613a41565b610fe6565b005b34801561052957600080fd5b50610532611075565b60405161053f919061358f565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a9190613a41565b611088565b005b34801561057d57600080fd5b50610586611117565b604051610593919061358f565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be9190613688565b61112a565b6040516105d091906136f6565b60405180910390f35b3480156105e557600080fd5b506105ee611140565b6040516105fb91906134c0565b60405180910390f35b34801561061057600080fd5b5061062b60048036038101906106269190613a8a565b611146565b60405161063891906134c0565b60405180910390f35b34801561064d57600080fd5b50610656611215565b005b34801561066457600080fd5b5061067f600480360381019061067a9190613688565b61129d565b005b34801561068d57600080fd5b50610696611323565b6040516106a391906136f6565b60405180910390f35b3480156106b857600080fd5b506106c161134d565b6040516106ce91906134c0565b60405180910390f35b3480156106e357600080fd5b506106ec611353565b6040516106f9919061363a565b60405180910390f35b61071c60048036038101906107179190613688565b6113e5565b005b34801561072a57600080fd5b5061074560048036038101906107409190613ab7565b6116be565b005b34801561075357600080fd5b5061075c6116d7565b604051610769919061363a565b60405180910390f35b34801561077e57600080fd5b5061079960048036038101906107949190613688565b611765565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613b98565b6117eb565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190613688565b61183c565b6040516107f8919061363a565b60405180910390f35b34801561080d57600080fd5b50610816611966565b604051610823919061363a565b60405180910390f35b34801561083857600080fd5b506108416119f4565b60405161084e919061358f565b60405180910390f35b34801561086357600080fd5b5061086c611a07565b005b34801561087a57600080fd5b50610883611aaf565b60405161089091906134c0565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb91906137a9565b611ab5565b005b3480156108ce57600080fd5b506108e960048036038101906108e49190613c1b565b611b4e565b6040516108f6919061358f565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190613c5b565b611be2565b005b34801561093457600080fd5b5061094f600480360381019061094a9190613a8a565b611c6c565b005b34801561095d57600080fd5b5061097860048036038101906109739190613688565b611d63565b005b60135481565b600061098b82611de9565b9050919050565b6060600280546109a190613cca565b80601f01602080910402602001604051908101604052809291908181526020018280546109cd90613cca565b8015610a1a5780601f106109ef57610100808354040283529160200191610a1a565b820191906000526020600020905b8154815290600101906020018083116109fd57829003601f168201915b5050505050905090565b6000610a2f82611e63565b610a65576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610aaa81611eb1565b610ab48383611fae565b505050565b600e5481565b610ac76120b8565b73ffffffffffffffffffffffffffffffffffffffff16610ae5611323565b73ffffffffffffffffffffffffffffffffffffffff1614610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290613d47565b60405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b6000610b626120c0565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bad57610bac33611eb1565b5b610bb88484846120c5565b50505050565b60105481565b6000806000600b60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d5957600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d636120d5565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d8f9190613d96565b610d999190613e07565b90508160000151819350935050509250929050565b610db66120b8565b73ffffffffffffffffffffffffffffffffffffffff16610dd4611323565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190613d47565b60405180910390fd5b600260095403610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690613e84565b60405180910390fd5b60026009819055506000610e81611323565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ea490613ed5565b60006040518083038185875af1925050503d8060008114610ee1576040519150601f19603f3d011682016040523d82523d6000602084013e610ee6565b606091505b5050905080610ef457600080fd5b506001600981905550565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f4f57610f4e33611eb1565b5b610f5a8484846120df565b50505050565b610f686120b8565b73ffffffffffffffffffffffffffffffffffffffff16610f86611323565b73ffffffffffffffffffffffffffffffffffffffff1614610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390613d47565b60405180910390fd5b80600e8190555050565b610fee6120b8565b73ffffffffffffffffffffffffffffffffffffffff1661100c611323565b73ffffffffffffffffffffffffffffffffffffffff1614611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990613d47565b60405180910390fd5b80600d9081611071919061408c565b5050565b601460019054906101000a900460ff1681565b6110906120b8565b73ffffffffffffffffffffffffffffffffffffffff166110ae611323565b73ffffffffffffffffffffffffffffffffffffffff1614611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fb90613d47565b60405180910390fd5b80600c9081611113919061408c565b5050565b601460009054906101000a900460ff1681565b6000611135826120ff565b600001519050919050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ad576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61121d6120b8565b73ffffffffffffffffffffffffffffffffffffffff1661123b611323565b73ffffffffffffffffffffffffffffffffffffffff1614611291576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128890613d47565b60405180910390fd5b61129b600061238e565b565b6112a56120b8565b73ffffffffffffffffffffffffffffffffffffffff166112c3611323565b73ffffffffffffffffffffffffffffffffffffffff1614611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090613d47565b60405180910390fd5b8060128190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60606003805461136290613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461138e90613cca565b80156113db5780601f106113b0576101008083540402835291602001916113db565b820191906000526020600020905b8154815290600101906020018083116113be57829003601f168201915b5050505050905090565b60026009540361142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190613e84565b60405180910390fd5b6002600981905550601460029054906101000a900460ff16611481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611478906141aa565b60405180910390fd5b600080600e5411156114e35760008211801561149f57506011548211155b6114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590614216565b60405180910390fd5b61158b565b600190506000821180156114f957506012548211155b611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f90614216565b60405180910390fd5b601054826013546115499190614236565b111561158a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611581906142b6565b60405180910390fd5b5b600f5482611597610b58565b6115a19190614236565b11156115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990614322565b60405180910390fd5b601460009054906101000a900460ff1615611632576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116299061438e565b60405180910390fd5b81600e546116409190613d96565b341015611682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611679906143fa565b60405180910390fd5b80156116a1576013600081548092919061169b9061441a565b91905055505b6116b26116ac6120b8565b83612454565b50600160098190555050565b816116c881611eb1565b6116d28383612472565b505050565b600d80546116e490613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461171090613cca565b801561175d5780601f106117325761010080835404028352916020019161175d565b820191906000526020600020905b81548152906001019060200180831161174057829003601f168201915b505050505081565b61176d6120b8565b73ffffffffffffffffffffffffffffffffffffffff1661178b611323565b73ffffffffffffffffffffffffffffffffffffffff16146117e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d890613d47565b60405180910390fd5b8060118190555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118295761182833611eb1565b5b611835858585856125e9565b5050505050565b606061184782611e63565b611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d906144ae565b60405180910390fd5b601460019054906101000a900460ff16156118d3576118a3612665565b6118ac836126f7565b6040516020016118bd929190614556565b6040516020818303038152906040529050611961565b600d80546118e090613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461190c90613cca565b80156119595780601f1061192e57610100808354040283529160200191611959565b820191906000526020600020905b81548152906001019060200180831161193c57829003601f168201915b505050505090505b919050565b600c805461197390613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461199f90613cca565b80156119ec5780601f106119c1576101008083540402835291602001916119ec565b820191906000526020600020905b8154815290600101906020018083116119cf57829003601f168201915b505050505081565b601460029054906101000a900460ff1681565b611a0f6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611a2d611323565b73ffffffffffffffffffffffffffffffffffffffff1614611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a90613d47565b60405180910390fd5b601460029054906101000a900460ff1615601460026101000a81548160ff021916908315150217905550565b600f5481565b611abd6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611adb611323565b73ffffffffffffffffffffffffffffffffffffffff1614611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890613d47565b60405180910390fd5b80601460016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bea6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611c08611323565b73ffffffffffffffffffffffffffffffffffffffff1614611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5590613d47565b60405180910390fd5b611c688183612454565b5050565b611c746120b8565b73ffffffffffffffffffffffffffffffffffffffff16611c92611323565b73ffffffffffffffffffffffffffffffffffffffff1614611ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdf90613d47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e906145f7565b60405180910390fd5b611d608161238e565b50565b611d6b6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611d89611323565b73ffffffffffffffffffffffffffffffffffffffff1614611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd690613d47565b60405180910390fd5b8060108190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e5c5750611e5b82612857565b5b9050919050565b600081611e6e6120c0565b11158015611e7d575060005482105b8015611eaa575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611fab576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611f28929190614617565b602060405180830381865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f699190614655565b611faa57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611fa191906136f6565b60405180910390fd5b5b50565b6000611fb98261112a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612020576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661203f6120b8565b73ffffffffffffffffffffffffffffffffffffffff1614158015612071575061206f8161206a6120b8565b611b4e565b155b156120a8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120b3838383612939565b505050565b600033905090565b600090565b6120d08383836129eb565b505050565b6000612710905090565b6120fa838383604051806020016040528060008152506117eb565b505050565b612107613464565b6000829050806121156120c0565b11158015612124575060005481105b15612357576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161235557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612239578092505050612389565b5b60011561235457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461234f578092505050612389565b61223a565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61246e828260405180602001604052806000815250612e9f565b5050565b61247a6120b8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124de576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006124eb6120b8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166125986120b8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125dd919061358f565b60405180910390a35050565b6125f48484846129eb565b6126138373ffffffffffffffffffffffffffffffffffffffff16612eb1565b8015612628575061262684848484612ed4565b155b1561265f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060600c805461267490613cca565b80601f01602080910402602001604051908101604052809291908181526020018280546126a090613cca565b80156126ed5780601f106126c2576101008083540402835291602001916126ed565b820191906000526020600020905b8154815290600101906020018083116126d057829003601f168201915b5050505050905090565b60606000820361273e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612852565b600082905060005b600082146127705780806127599061441a565b915050600a826127699190613e07565b9150612746565b60008167ffffffffffffffff81111561278c5761278b613916565b5b6040519080825280601f01601f1916602001820160405280156127be5781602001600182028036833780820191505090505b5090505b6000851461284b576001826127d79190614682565b9150600a856127e691906146b6565b60306127f29190614236565b60f81b818381518110612808576128076146e7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128449190613e07565b94506127c2565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612932575061293182613024565b5b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006129f6826120ff565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a61576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612a826120b8565b73ffffffffffffffffffffffffffffffffffffffff161480612ab15750612ab085612aab6120b8565b611b4e565b5b80612af65750612abf6120b8565b73ffffffffffffffffffffffffffffffffffffffff16612ade84610a24565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612b2f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612b95576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ba2858585600161308e565b612bae60008487612939565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612e2d576000548214612e2c57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e988585856001613094565b5050505050565b612eac838383600161309a565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612efa6120b8565b8786866040518563ffffffff1660e01b8152600401612f1c949392919061476b565b6020604051808303816000875af1925050508015612f5857506040513d601f19601f82011682018060405250810190612f5591906147cc565b60015b612fd1573d8060008114612f88576040519150601f19603f3d011682016040523d82523d6000602084013e612f8d565b606091505b506000815103612fc9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613106576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613140576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61314d600086838761308e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561331757506133168773ffffffffffffffffffffffffffffffffffffffff16612eb1565b5b156133dc575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461338c6000888480600101955088612ed4565b6133c2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361331d5782600054146133d757600080fd5b613447565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036133dd575b81600081905550505061345d6000868387613094565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000819050919050565b6134ba816134a7565b82525050565b60006020820190506134d560008301846134b1565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613524816134ef565b811461352f57600080fd5b50565b6000813590506135418161351b565b92915050565b60006020828403121561355d5761355c6134e5565b5b600061356b84828501613532565b91505092915050565b60008115159050919050565b61358981613574565b82525050565b60006020820190506135a46000830184613580565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135e45780820151818401526020810190506135c9565b60008484015250505050565b6000601f19601f8301169050919050565b600061360c826135aa565b61361681856135b5565b93506136268185602086016135c6565b61362f816135f0565b840191505092915050565b600060208201905081810360008301526136548184613601565b905092915050565b613665816134a7565b811461367057600080fd5b50565b6000813590506136828161365c565b92915050565b60006020828403121561369e5761369d6134e5565b5b60006136ac84828501613673565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136e0826136b5565b9050919050565b6136f0816136d5565b82525050565b600060208201905061370b60008301846136e7565b92915050565b61371a816136d5565b811461372557600080fd5b50565b60008135905061373781613711565b92915050565b60008060408385031215613754576137536134e5565b5b600061376285828601613728565b925050602061377385828601613673565b9150509250929050565b61378681613574565b811461379157600080fd5b50565b6000813590506137a38161377d565b92915050565b6000602082840312156137bf576137be6134e5565b5b60006137cd84828501613794565b91505092915050565b6000806000606084860312156137ef576137ee6134e5565b5b60006137fd86828701613728565b935050602061380e86828701613728565b925050604061381f86828701613673565b9150509250925092565b600080604083850312156138405761383f6134e5565b5b600061384e85828601613673565b925050602061385f85828601613673565b9150509250929050565b600060408201905061387e60008301856136e7565b61388b60208301846134b1565b9392505050565b6000819050919050565b60006138b76138b26138ad846136b5565b613892565b6136b5565b9050919050565b60006138c98261389c565b9050919050565b60006138db826138be565b9050919050565b6138eb816138d0565b82525050565b600060208201905061390660008301846138e2565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61394e826135f0565b810181811067ffffffffffffffff8211171561396d5761396c613916565b5b80604052505050565b60006139806134db565b905061398c8282613945565b919050565b600067ffffffffffffffff8211156139ac576139ab613916565b5b6139b5826135f0565b9050602081019050919050565b82818337600083830152505050565b60006139e46139df84613991565b613976565b905082815260208101848484011115613a00576139ff613911565b5b613a0b8482856139c2565b509392505050565b600082601f830112613a2857613a2761390c565b5b8135613a388482602086016139d1565b91505092915050565b600060208284031215613a5757613a566134e5565b5b600082013567ffffffffffffffff811115613a7557613a746134ea565b5b613a8184828501613a13565b91505092915050565b600060208284031215613aa057613a9f6134e5565b5b6000613aae84828501613728565b91505092915050565b60008060408385031215613ace57613acd6134e5565b5b6000613adc85828601613728565b9250506020613aed85828601613794565b9150509250929050565b600067ffffffffffffffff821115613b1257613b11613916565b5b613b1b826135f0565b9050602081019050919050565b6000613b3b613b3684613af7565b613976565b905082815260208101848484011115613b5757613b56613911565b5b613b628482856139c2565b509392505050565b600082601f830112613b7f57613b7e61390c565b5b8135613b8f848260208601613b28565b91505092915050565b60008060008060808587031215613bb257613bb16134e5565b5b6000613bc087828801613728565b9450506020613bd187828801613728565b9350506040613be287828801613673565b925050606085013567ffffffffffffffff811115613c0357613c026134ea565b5b613c0f87828801613b6a565b91505092959194509250565b60008060408385031215613c3257613c316134e5565b5b6000613c4085828601613728565b9250506020613c5185828601613728565b9150509250929050565b60008060408385031215613c7257613c716134e5565b5b6000613c8085828601613673565b9250506020613c9185828601613728565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ce257607f821691505b602082108103613cf557613cf4613c9b565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d316020836135b5565b9150613d3c82613cfb565b602082019050919050565b60006020820190508181036000830152613d6081613d24565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613da1826134a7565b9150613dac836134a7565b9250828202613dba816134a7565b91508282048414831517613dd157613dd0613d67565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e12826134a7565b9150613e1d836134a7565b925082613e2d57613e2c613dd8565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613e6e601f836135b5565b9150613e7982613e38565b602082019050919050565b60006020820190508181036000830152613e9d81613e61565b9050919050565b600081905092915050565b50565b6000613ebf600083613ea4565b9150613eca82613eaf565b600082019050919050565b6000613ee082613eb2565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f4c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f0f565b613f568683613f0f565b95508019841693508086168417925050509392505050565b6000613f89613f84613f7f846134a7565b613892565b6134a7565b9050919050565b6000819050919050565b613fa383613f6e565b613fb7613faf82613f90565b848454613f1c565b825550505050565b600090565b613fcc613fbf565b613fd7818484613f9a565b505050565b5b81811015613ffb57613ff0600082613fc4565b600181019050613fdd565b5050565b601f8211156140405761401181613eea565b61401a84613eff565b81016020851015614029578190505b61403d61403585613eff565b830182613fdc565b50505b505050565b600082821c905092915050565b600061406360001984600802614045565b1980831691505092915050565b600061407c8383614052565b9150826002028217905092915050565b614095826135aa565b67ffffffffffffffff8111156140ae576140ad613916565b5b6140b88254613cca565b6140c3828285613fff565b600060209050601f8311600181146140f657600084156140e4578287015190505b6140ee8582614070565b865550614156565b601f19841661410486613eea565b60005b8281101561412c57848901518255600182019150602085019450602081019050614107565b868310156141495784890151614145601f891682614052565b8355505b6001600288020188555050505b505050505050565b7f4d696e74206973206e6f74206c697665207965742e0000000000000000000000600082015250565b60006141946015836135b5565b915061419f8261415e565b602082019050919050565b600060208201905081810360008301526141c381614187565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006142006014836135b5565b915061420b826141ca565b602082019050919050565b6000602082019050818103600083015261422f816141f3565b9050919050565b6000614241826134a7565b915061424c836134a7565b925082820190508082111561426457614263613d67565b5b92915050565b7f4d61782046726565537570706c79206578636565646564210000000000000000600082015250565b60006142a06018836135b5565b91506142ab8261426a565b602082019050919050565b600060208201905081810360008301526142cf81614293565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061430c6014836135b5565b9150614317826142d6565b602082019050919050565b6000602082019050818103600083015261433b816142ff565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006143786017836135b5565b915061438382614342565b602082019050919050565b600060208201905081810360008301526143a78161436b565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006143e46013836135b5565b91506143ef826143ae565b602082019050919050565b60006020820190508181036000830152614413816143d7565b9050919050565b6000614425826134a7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361445757614456613d67565b5b600182019050919050565b7f55524920646f6573206e6f742065786973742100000000000000000000000000600082015250565b60006144986013836135b5565b91506144a382614462565b602082019050919050565b600060208201905081810360008301526144c78161448b565b9050919050565b600081905092915050565b60006144e4826135aa565b6144ee81856144ce565b93506144fe8185602086016135c6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006145406005836144ce565b915061454b8261450a565b600582019050919050565b600061456282856144d9565b915061456e82846144d9565b915061457982614533565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145e16026836135b5565b91506145ec82614585565b604082019050919050565b60006020820190508181036000830152614610816145d4565b9050919050565b600060408201905061462c60008301856136e7565b61463960208301846136e7565b9392505050565b60008151905061464f8161377d565b92915050565b60006020828403121561466b5761466a6134e5565b5b600061467984828501614640565b91505092915050565b600061468d826134a7565b9150614698836134a7565b92508282039050818111156146b0576146af613d67565b5b92915050565b60006146c1826134a7565b91506146cc836134a7565b9250826146dc576146db613dd8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061473d82614716565b6147478185614721565b93506147578185602086016135c6565b614760816135f0565b840191505092915050565b600060808201905061478060008301876136e7565b61478d60208301866136e7565b61479a60408301856134b1565b81810360608301526147ac8184614732565b905095945050505050565b6000815190506147c68161351b565b92915050565b6000602082840312156147e2576147e16134e5565b5b60006147f0848285016147b7565b9150509291505056fea26469706673582212204649f9b3a88bb05f7650ab22b3b0490ef7520f61cce6d42ca2a3a549b61339dd64736f6c63430008120033697066733a2f2f62616679626569666a34696e757765756f7937666f34326c3332643332646336336b33786370703461686f70336f3273637a6467643336336876342f
Deployed Bytecode
0x6080604052600436106102515760003560e01c806370a0823111610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb011461086e578063e0a8085314610899578063e985e9c5146108c2578063efbd73f4146108ff578063f2fde38b14610928578063f676308a1461095157610251565b8063b88d4fde1461079b578063c87b56dd146107c4578063cfc86f7b14610801578063d12397301461082c578063d2ed5c591461085757610251565b806395d89b41116100fd57806395d89b41146106d7578063a0712d6814610702578063a22cb4651461071e578063a45ba8e714610747578063b071401b1461077257610251565b806370a0823114610604578063715018a6146106415780637b2f1595146106585780638da5cb5b1461068157806394354fd0146106ac57610251565b80632a55205a116101d25780634fdd43cb116101965780634fdd43cb146104f4578063518302271461051d57806355f804b3146105485780635c975abb146105715780636352211e1461059c57806366e98261146105d957610251565b80632a55205a146104225780633ccfd60b1461046057806341f434341461047757806342842e0e146104a257806344a0d68a146104cb57610251565b806313faede61161021957806313faede61461034f57806316c38b3c1461037a57806318160ddd146103a357806323b872dd146103ce57806324a6ab0c146103f757610251565b80630156347e1461025657806301ffc9a71461028157806306fdde03146102be578063081812fc146102e9578063095ea7b314610326575b600080fd5b34801561026257600080fd5b5061026b61097a565b60405161027891906134c0565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190613547565b610980565b6040516102b5919061358f565b60405180910390f35b3480156102ca57600080fd5b506102d3610992565b6040516102e0919061363a565b60405180910390f35b3480156102f557600080fd5b50610310600480360381019061030b9190613688565b610a24565b60405161031d91906136f6565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061373d565b610aa0565b005b34801561035b57600080fd5b50610364610ab9565b60405161037191906134c0565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c91906137a9565b610abf565b005b3480156103af57600080fd5b506103b8610b58565b6040516103c591906134c0565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f091906137d6565b610b6f565b005b34801561040357600080fd5b5061040c610bbe565b60405161041991906134c0565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613829565b610bc4565b604051610457929190613869565b60405180910390f35b34801561046c57600080fd5b50610475610dae565b005b34801561048357600080fd5b5061048c610eff565b60405161049991906138f1565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906137d6565b610f11565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613688565b610f60565b005b34801561050057600080fd5b5061051b60048036038101906105169190613a41565b610fe6565b005b34801561052957600080fd5b50610532611075565b60405161053f919061358f565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a9190613a41565b611088565b005b34801561057d57600080fd5b50610586611117565b604051610593919061358f565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be9190613688565b61112a565b6040516105d091906136f6565b60405180910390f35b3480156105e557600080fd5b506105ee611140565b6040516105fb91906134c0565b60405180910390f35b34801561061057600080fd5b5061062b60048036038101906106269190613a8a565b611146565b60405161063891906134c0565b60405180910390f35b34801561064d57600080fd5b50610656611215565b005b34801561066457600080fd5b5061067f600480360381019061067a9190613688565b61129d565b005b34801561068d57600080fd5b50610696611323565b6040516106a391906136f6565b60405180910390f35b3480156106b857600080fd5b506106c161134d565b6040516106ce91906134c0565b60405180910390f35b3480156106e357600080fd5b506106ec611353565b6040516106f9919061363a565b60405180910390f35b61071c60048036038101906107179190613688565b6113e5565b005b34801561072a57600080fd5b5061074560048036038101906107409190613ab7565b6116be565b005b34801561075357600080fd5b5061075c6116d7565b604051610769919061363a565b60405180910390f35b34801561077e57600080fd5b5061079960048036038101906107949190613688565b611765565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613b98565b6117eb565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190613688565b61183c565b6040516107f8919061363a565b60405180910390f35b34801561080d57600080fd5b50610816611966565b604051610823919061363a565b60405180910390f35b34801561083857600080fd5b506108416119f4565b60405161084e919061358f565b60405180910390f35b34801561086357600080fd5b5061086c611a07565b005b34801561087a57600080fd5b50610883611aaf565b60405161089091906134c0565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb91906137a9565b611ab5565b005b3480156108ce57600080fd5b506108e960048036038101906108e49190613c1b565b611b4e565b6040516108f6919061358f565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190613c5b565b611be2565b005b34801561093457600080fd5b5061094f600480360381019061094a9190613a8a565b611c6c565b005b34801561095d57600080fd5b5061097860048036038101906109739190613688565b611d63565b005b60135481565b600061098b82611de9565b9050919050565b6060600280546109a190613cca565b80601f01602080910402602001604051908101604052809291908181526020018280546109cd90613cca565b8015610a1a5780601f106109ef57610100808354040283529160200191610a1a565b820191906000526020600020905b8154815290600101906020018083116109fd57829003601f168201915b5050505050905090565b6000610a2f82611e63565b610a65576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610aaa81611eb1565b610ab48383611fae565b505050565b600e5481565b610ac76120b8565b73ffffffffffffffffffffffffffffffffffffffff16610ae5611323565b73ffffffffffffffffffffffffffffffffffffffff1614610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290613d47565b60405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b6000610b626120c0565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bad57610bac33611eb1565b5b610bb88484846120c5565b50505050565b60105481565b6000806000600b60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d5957600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d636120d5565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d8f9190613d96565b610d999190613e07565b90508160000151819350935050509250929050565b610db66120b8565b73ffffffffffffffffffffffffffffffffffffffff16610dd4611323565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190613d47565b60405180910390fd5b600260095403610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690613e84565b60405180910390fd5b60026009819055506000610e81611323565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ea490613ed5565b60006040518083038185875af1925050503d8060008114610ee1576040519150601f19603f3d011682016040523d82523d6000602084013e610ee6565b606091505b5050905080610ef457600080fd5b506001600981905550565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f4f57610f4e33611eb1565b5b610f5a8484846120df565b50505050565b610f686120b8565b73ffffffffffffffffffffffffffffffffffffffff16610f86611323565b73ffffffffffffffffffffffffffffffffffffffff1614610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390613d47565b60405180910390fd5b80600e8190555050565b610fee6120b8565b73ffffffffffffffffffffffffffffffffffffffff1661100c611323565b73ffffffffffffffffffffffffffffffffffffffff1614611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990613d47565b60405180910390fd5b80600d9081611071919061408c565b5050565b601460019054906101000a900460ff1681565b6110906120b8565b73ffffffffffffffffffffffffffffffffffffffff166110ae611323565b73ffffffffffffffffffffffffffffffffffffffff1614611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fb90613d47565b60405180910390fd5b80600c9081611113919061408c565b5050565b601460009054906101000a900460ff1681565b6000611135826120ff565b600001519050919050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ad576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61121d6120b8565b73ffffffffffffffffffffffffffffffffffffffff1661123b611323565b73ffffffffffffffffffffffffffffffffffffffff1614611291576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128890613d47565b60405180910390fd5b61129b600061238e565b565b6112a56120b8565b73ffffffffffffffffffffffffffffffffffffffff166112c3611323565b73ffffffffffffffffffffffffffffffffffffffff1614611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090613d47565b60405180910390fd5b8060128190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60606003805461136290613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461138e90613cca565b80156113db5780601f106113b0576101008083540402835291602001916113db565b820191906000526020600020905b8154815290600101906020018083116113be57829003601f168201915b5050505050905090565b60026009540361142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190613e84565b60405180910390fd5b6002600981905550601460029054906101000a900460ff16611481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611478906141aa565b60405180910390fd5b600080600e5411156114e35760008211801561149f57506011548211155b6114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590614216565b60405180910390fd5b61158b565b600190506000821180156114f957506012548211155b611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f90614216565b60405180910390fd5b601054826013546115499190614236565b111561158a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611581906142b6565b60405180910390fd5b5b600f5482611597610b58565b6115a19190614236565b11156115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990614322565b60405180910390fd5b601460009054906101000a900460ff1615611632576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116299061438e565b60405180910390fd5b81600e546116409190613d96565b341015611682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611679906143fa565b60405180910390fd5b80156116a1576013600081548092919061169b9061441a565b91905055505b6116b26116ac6120b8565b83612454565b50600160098190555050565b816116c881611eb1565b6116d28383612472565b505050565b600d80546116e490613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461171090613cca565b801561175d5780601f106117325761010080835404028352916020019161175d565b820191906000526020600020905b81548152906001019060200180831161174057829003601f168201915b505050505081565b61176d6120b8565b73ffffffffffffffffffffffffffffffffffffffff1661178b611323565b73ffffffffffffffffffffffffffffffffffffffff16146117e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d890613d47565b60405180910390fd5b8060118190555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118295761182833611eb1565b5b611835858585856125e9565b5050505050565b606061184782611e63565b611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d906144ae565b60405180910390fd5b601460019054906101000a900460ff16156118d3576118a3612665565b6118ac836126f7565b6040516020016118bd929190614556565b6040516020818303038152906040529050611961565b600d80546118e090613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461190c90613cca565b80156119595780601f1061192e57610100808354040283529160200191611959565b820191906000526020600020905b81548152906001019060200180831161193c57829003601f168201915b505050505090505b919050565b600c805461197390613cca565b80601f016020809104026020016040519081016040528092919081815260200182805461199f90613cca565b80156119ec5780601f106119c1576101008083540402835291602001916119ec565b820191906000526020600020905b8154815290600101906020018083116119cf57829003601f168201915b505050505081565b601460029054906101000a900460ff1681565b611a0f6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611a2d611323565b73ffffffffffffffffffffffffffffffffffffffff1614611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a90613d47565b60405180910390fd5b601460029054906101000a900460ff1615601460026101000a81548160ff021916908315150217905550565b600f5481565b611abd6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611adb611323565b73ffffffffffffffffffffffffffffffffffffffff1614611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890613d47565b60405180910390fd5b80601460016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bea6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611c08611323565b73ffffffffffffffffffffffffffffffffffffffff1614611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5590613d47565b60405180910390fd5b611c688183612454565b5050565b611c746120b8565b73ffffffffffffffffffffffffffffffffffffffff16611c92611323565b73ffffffffffffffffffffffffffffffffffffffff1614611ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdf90613d47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e906145f7565b60405180910390fd5b611d608161238e565b50565b611d6b6120b8565b73ffffffffffffffffffffffffffffffffffffffff16611d89611323565b73ffffffffffffffffffffffffffffffffffffffff1614611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd690613d47565b60405180910390fd5b8060108190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e5c5750611e5b82612857565b5b9050919050565b600081611e6e6120c0565b11158015611e7d575060005482105b8015611eaa575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611fab576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611f28929190614617565b602060405180830381865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f699190614655565b611faa57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611fa191906136f6565b60405180910390fd5b5b50565b6000611fb98261112a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612020576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661203f6120b8565b73ffffffffffffffffffffffffffffffffffffffff1614158015612071575061206f8161206a6120b8565b611b4e565b155b156120a8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120b3838383612939565b505050565b600033905090565b600090565b6120d08383836129eb565b505050565b6000612710905090565b6120fa838383604051806020016040528060008152506117eb565b505050565b612107613464565b6000829050806121156120c0565b11158015612124575060005481105b15612357576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161235557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612239578092505050612389565b5b60011561235457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461234f578092505050612389565b61223a565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61246e828260405180602001604052806000815250612e9f565b5050565b61247a6120b8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124de576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006124eb6120b8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166125986120b8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125dd919061358f565b60405180910390a35050565b6125f48484846129eb565b6126138373ffffffffffffffffffffffffffffffffffffffff16612eb1565b8015612628575061262684848484612ed4565b155b1561265f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060600c805461267490613cca565b80601f01602080910402602001604051908101604052809291908181526020018280546126a090613cca565b80156126ed5780601f106126c2576101008083540402835291602001916126ed565b820191906000526020600020905b8154815290600101906020018083116126d057829003601f168201915b5050505050905090565b60606000820361273e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612852565b600082905060005b600082146127705780806127599061441a565b915050600a826127699190613e07565b9150612746565b60008167ffffffffffffffff81111561278c5761278b613916565b5b6040519080825280601f01601f1916602001820160405280156127be5781602001600182028036833780820191505090505b5090505b6000851461284b576001826127d79190614682565b9150600a856127e691906146b6565b60306127f29190614236565b60f81b818381518110612808576128076146e7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128449190613e07565b94506127c2565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612932575061293182613024565b5b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006129f6826120ff565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a61576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612a826120b8565b73ffffffffffffffffffffffffffffffffffffffff161480612ab15750612ab085612aab6120b8565b611b4e565b5b80612af65750612abf6120b8565b73ffffffffffffffffffffffffffffffffffffffff16612ade84610a24565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612b2f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612b95576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ba2858585600161308e565b612bae60008487612939565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612e2d576000548214612e2c57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e988585856001613094565b5050505050565b612eac838383600161309a565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612efa6120b8565b8786866040518563ffffffff1660e01b8152600401612f1c949392919061476b565b6020604051808303816000875af1925050508015612f5857506040513d601f19601f82011682018060405250810190612f5591906147cc565b60015b612fd1573d8060008114612f88576040519150601f19603f3d011682016040523d82523d6000602084013e612f8d565b606091505b506000815103612fc9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613106576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613140576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61314d600086838761308e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561331757506133168773ffffffffffffffffffffffffffffffffffffffff16612eb1565b5b156133dc575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461338c6000888480600101955088612ed4565b6133c2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361331d5782600054146133d757600080fd5b613447565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036133dd575b81600081905550505061345d6000868387613094565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000819050919050565b6134ba816134a7565b82525050565b60006020820190506134d560008301846134b1565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613524816134ef565b811461352f57600080fd5b50565b6000813590506135418161351b565b92915050565b60006020828403121561355d5761355c6134e5565b5b600061356b84828501613532565b91505092915050565b60008115159050919050565b61358981613574565b82525050565b60006020820190506135a46000830184613580565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135e45780820151818401526020810190506135c9565b60008484015250505050565b6000601f19601f8301169050919050565b600061360c826135aa565b61361681856135b5565b93506136268185602086016135c6565b61362f816135f0565b840191505092915050565b600060208201905081810360008301526136548184613601565b905092915050565b613665816134a7565b811461367057600080fd5b50565b6000813590506136828161365c565b92915050565b60006020828403121561369e5761369d6134e5565b5b60006136ac84828501613673565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136e0826136b5565b9050919050565b6136f0816136d5565b82525050565b600060208201905061370b60008301846136e7565b92915050565b61371a816136d5565b811461372557600080fd5b50565b60008135905061373781613711565b92915050565b60008060408385031215613754576137536134e5565b5b600061376285828601613728565b925050602061377385828601613673565b9150509250929050565b61378681613574565b811461379157600080fd5b50565b6000813590506137a38161377d565b92915050565b6000602082840312156137bf576137be6134e5565b5b60006137cd84828501613794565b91505092915050565b6000806000606084860312156137ef576137ee6134e5565b5b60006137fd86828701613728565b935050602061380e86828701613728565b925050604061381f86828701613673565b9150509250925092565b600080604083850312156138405761383f6134e5565b5b600061384e85828601613673565b925050602061385f85828601613673565b9150509250929050565b600060408201905061387e60008301856136e7565b61388b60208301846134b1565b9392505050565b6000819050919050565b60006138b76138b26138ad846136b5565b613892565b6136b5565b9050919050565b60006138c98261389c565b9050919050565b60006138db826138be565b9050919050565b6138eb816138d0565b82525050565b600060208201905061390660008301846138e2565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61394e826135f0565b810181811067ffffffffffffffff8211171561396d5761396c613916565b5b80604052505050565b60006139806134db565b905061398c8282613945565b919050565b600067ffffffffffffffff8211156139ac576139ab613916565b5b6139b5826135f0565b9050602081019050919050565b82818337600083830152505050565b60006139e46139df84613991565b613976565b905082815260208101848484011115613a00576139ff613911565b5b613a0b8482856139c2565b509392505050565b600082601f830112613a2857613a2761390c565b5b8135613a388482602086016139d1565b91505092915050565b600060208284031215613a5757613a566134e5565b5b600082013567ffffffffffffffff811115613a7557613a746134ea565b5b613a8184828501613a13565b91505092915050565b600060208284031215613aa057613a9f6134e5565b5b6000613aae84828501613728565b91505092915050565b60008060408385031215613ace57613acd6134e5565b5b6000613adc85828601613728565b9250506020613aed85828601613794565b9150509250929050565b600067ffffffffffffffff821115613b1257613b11613916565b5b613b1b826135f0565b9050602081019050919050565b6000613b3b613b3684613af7565b613976565b905082815260208101848484011115613b5757613b56613911565b5b613b628482856139c2565b509392505050565b600082601f830112613b7f57613b7e61390c565b5b8135613b8f848260208601613b28565b91505092915050565b60008060008060808587031215613bb257613bb16134e5565b5b6000613bc087828801613728565b9450506020613bd187828801613728565b9350506040613be287828801613673565b925050606085013567ffffffffffffffff811115613c0357613c026134ea565b5b613c0f87828801613b6a565b91505092959194509250565b60008060408385031215613c3257613c316134e5565b5b6000613c4085828601613728565b9250506020613c5185828601613728565b9150509250929050565b60008060408385031215613c7257613c716134e5565b5b6000613c8085828601613673565b9250506020613c9185828601613728565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ce257607f821691505b602082108103613cf557613cf4613c9b565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d316020836135b5565b9150613d3c82613cfb565b602082019050919050565b60006020820190508181036000830152613d6081613d24565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613da1826134a7565b9150613dac836134a7565b9250828202613dba816134a7565b91508282048414831517613dd157613dd0613d67565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e12826134a7565b9150613e1d836134a7565b925082613e2d57613e2c613dd8565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613e6e601f836135b5565b9150613e7982613e38565b602082019050919050565b60006020820190508181036000830152613e9d81613e61565b9050919050565b600081905092915050565b50565b6000613ebf600083613ea4565b9150613eca82613eaf565b600082019050919050565b6000613ee082613eb2565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f4c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f0f565b613f568683613f0f565b95508019841693508086168417925050509392505050565b6000613f89613f84613f7f846134a7565b613892565b6134a7565b9050919050565b6000819050919050565b613fa383613f6e565b613fb7613faf82613f90565b848454613f1c565b825550505050565b600090565b613fcc613fbf565b613fd7818484613f9a565b505050565b5b81811015613ffb57613ff0600082613fc4565b600181019050613fdd565b5050565b601f8211156140405761401181613eea565b61401a84613eff565b81016020851015614029578190505b61403d61403585613eff565b830182613fdc565b50505b505050565b600082821c905092915050565b600061406360001984600802614045565b1980831691505092915050565b600061407c8383614052565b9150826002028217905092915050565b614095826135aa565b67ffffffffffffffff8111156140ae576140ad613916565b5b6140b88254613cca565b6140c3828285613fff565b600060209050601f8311600181146140f657600084156140e4578287015190505b6140ee8582614070565b865550614156565b601f19841661410486613eea565b60005b8281101561412c57848901518255600182019150602085019450602081019050614107565b868310156141495784890151614145601f891682614052565b8355505b6001600288020188555050505b505050505050565b7f4d696e74206973206e6f74206c697665207965742e0000000000000000000000600082015250565b60006141946015836135b5565b915061419f8261415e565b602082019050919050565b600060208201905081810360008301526141c381614187565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006142006014836135b5565b915061420b826141ca565b602082019050919050565b6000602082019050818103600083015261422f816141f3565b9050919050565b6000614241826134a7565b915061424c836134a7565b925082820190508082111561426457614263613d67565b5b92915050565b7f4d61782046726565537570706c79206578636565646564210000000000000000600082015250565b60006142a06018836135b5565b91506142ab8261426a565b602082019050919050565b600060208201905081810360008301526142cf81614293565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061430c6014836135b5565b9150614317826142d6565b602082019050919050565b6000602082019050818103600083015261433b816142ff565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006143786017836135b5565b915061438382614342565b602082019050919050565b600060208201905081810360008301526143a78161436b565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006143e46013836135b5565b91506143ef826143ae565b602082019050919050565b60006020820190508181036000830152614413816143d7565b9050919050565b6000614425826134a7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361445757614456613d67565b5b600182019050919050565b7f55524920646f6573206e6f742065786973742100000000000000000000000000600082015250565b60006144986013836135b5565b91506144a382614462565b602082019050919050565b600060208201905081810360008301526144c78161448b565b9050919050565b600081905092915050565b60006144e4826135aa565b6144ee81856144ce565b93506144fe8185602086016135c6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006145406005836144ce565b915061454b8261450a565b600582019050919050565b600061456282856144d9565b915061456e82846144d9565b915061457982614533565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145e16026836135b5565b91506145ec82614585565b604082019050919050565b60006020820190508181036000830152614610816145d4565b9050919050565b600060408201905061462c60008301856136e7565b61463960208301846136e7565b9392505050565b60008151905061464f8161377d565b92915050565b60006020828403121561466b5761466a6134e5565b5b600061467984828501614640565b91505092915050565b600061468d826134a7565b9150614698836134a7565b92508282039050818111156146b0576146af613d67565b5b92915050565b60006146c1826134a7565b91506146cc836134a7565b9250826146dc576146db613dd8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061473d82614716565b6147478185614721565b93506147578185602086016135c6565b614760816135f0565b840191505092915050565b600060808201905061478060008301876136e7565b61478d60208301866136e7565b61479a60408301856134b1565b81810360608301526147ac8184614732565b905095945050505050565b6000815190506147c68161351b565b92915050565b6000602082840312156147e2576147e16134e5565b5b60006147f0848285016147b7565b9150509291505056fea26469706673582212204649f9b3a88bb05f7650ab22b3b0490ef7520f61cce6d42ca2a3a549b61339dd64736f6c63430008120033
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.