Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
5,000 SSP
Holders
1,323
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SSPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ScabShopPass
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /** ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββ CTHDRL x Scott Campbell Contract: Shop Pass by Scab Shop Forked From: https://github.com/ourzora/nft-editions Original Creators: Zora & The Legendary Iain Nash **/ pragma solidity ^0.8.6; import {ERC721Upgradeable} from '@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol'; import {IERC2981Upgradeable, IERC165Upgradeable} from '@openzeppelin/contracts-upgradeable/interfaces/IERC2981Upgradeable.sol'; import {OwnableUpgradeable} from '@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol'; import {CountersUpgradeable} from '@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol'; import {AddressUpgradeable} from '@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol'; import {MerkleProof} from '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import {SharedNFTLogic} from './ScabShopPass/SharedNFTLogic.sol'; import {IEditionSingleMintable} from './ScabShopPass/IEditionSingleMintable.sol'; /** This is a smart contract for handling dynamic contract minting. */ contract ScabShopPass is ERC721Upgradeable, IEditionSingleMintable, IERC2981Upgradeable, OwnableUpgradeable { using CountersUpgradeable for CountersUpgradeable.Counter; event PriceChanged(uint256 amount); event AllowListChanged(bytes32 root); event StartTimeChanged(uint256 time); event EditionSold(uint256 price, address owner); // metadata string public description; // Metadata for string private _contractURI; // Media Urls // animation_url field in the metadata string private animationUrl; // Hash for the associated animation bytes32 private animationHash; // Image in the metadata string private imageUrl; // Hash for the associated image bytes32 private imageHash; // Total size of edition that can be minted uint256 public editionSize; // Current token id minted CountersUpgradeable.Counter private atEditionId; // Royalty amount in bps uint256 royaltyBPS; // Addresses that have claimed their allowlist spot mapping(address => uint16) allowlistClaimed; // Price for sale uint256 public salePrice; // Merkle root for allowlist bytes32 public alMerkleRoot; // Start time for purhcasing to be available uint256 public startTime; // NFT rendering logic contract SharedNFTLogic private immutable sharedNFTLogic; // Global constructor for factory constructor(SharedNFTLogic _sharedNFTLogic) { sharedNFTLogic = _sharedNFTLogic; } /** @param _owner User that owns and can mint the edition, gets royalty and sales payouts and can update the base url if needed. @param _name Name of edition, used in the title as "$NAME NUMBER/TOTAL" @param _symbol Symbol of the new token contract @param _description Description of edition, used in the description field of the NFT @param _imageUrl Image URL of the edition. Strongly encouraged to be used, if necessary, only animation URL can be used. One of animation and image url need to exist in a edition to render the NFT. @param _imageHash SHA256 of the given image in bytes32 format (0xHASH). If no image is included, the hash can be zero. @param _animationUrl Animation URL of the edition. Not required, but if omitted image URL needs to be included. This follows the opensea spec for NFTs @param _animationHash The associated hash of the animation in sha-256 bytes32 format. If animation is omitted the hash can be zero. @param _editionSize Number of editions that can be minted in total. If 0, unlimited editions can be minted. @param _royaltyBPS BPS of the royalty set on the contract. Can be 0 for no royalty. @param _startTime Time that purchasing will be available @dev Function to create a new edition. Can only be called by the allowed creator Sets the only allowed minter to the address that creates/owns the edition. This can be re-assigned or updated later */ function initialize( address _owner, string memory _name, string memory _symbol, string memory _description, string memory _animationUrl, bytes32 _animationHash, string memory _imageUrl, bytes32 _imageHash, uint256 _editionSize, uint256 _royaltyBPS, uint256 _startTime ) public initializer { __ERC721_init(_name, _symbol); __Ownable_init(); // Set ownership to original sender of contract call transferOwnership(_owner); description = _description; animationUrl = _animationUrl; animationHash = _animationHash; imageUrl = _imageUrl; imageHash = _imageHash; editionSize = _editionSize; royaltyBPS = _royaltyBPS; startTime = _startTime; // Set edition id start to be 1 not 0 atEditionId.increment(); } /** ADMIN */ /** Simple override for owner interface. */ function owner() public view override(OwnableUpgradeable, IEditionSingleMintable) returns (address) { return super.owner(); } /** @dev Allows for updates of edition urls by the owner of the edition. Only URLs can be updated (data-uris are supported), hashes cannot be updated. */ function updateEditionURLs( string memory _imageUrl, string memory _animationUrl ) public onlyOwner { imageUrl = _imageUrl; animationUrl = _animationUrl; } /** @param _salePrice if sale price is 0 sale is stopped, otherwise that amount of ETH is needed to start the sale. @dev This sets a simple ETH sales price Setting a sales price allows users to mint the edition until it sells out. For more granular sales, use an external sales contract. */ function setSalePrice(uint256 _salePrice) external onlyOwner { salePrice = _salePrice; emit PriceChanged(salePrice); } /** @param _merkleRoot is the precalculated merkle root for a given state of the allowlist. @dev This sets the merkle root, which controls what wallets are on the allowlist and allowed to mint during the pre-mint. */ function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { alMerkleRoot = _merkleRoot; emit AllowListChanged(alMerkleRoot); } /** @param _startTime The UNIX timestamp when purchases will be allowed to be made */ function setStartTime(uint256 _startTime) external onlyOwner { startTime = _startTime; emit StartTimeChanged(startTime); } /** @param newContractURI The URI of the new contract metadata */ function setContractURI(string memory newContractURI) external onlyOwner { _contractURI = newContractURI; } /** @dev Makes the contract URI public */ function contractURI() external view returns (string memory) { return _contractURI; } /** @dev This withdraws ETH from the contract to the contract owner. */ function withdraw() external onlyOwner { // No need for gas limit to trusted address. AddressUpgradeable.sendValue(payable(owner()), address(this).balance); } /** @param recipients list of addresses to send the newly minted editions to @dev This mints multiple editions to the given list of addresses. */ function mintEditions(address[] memory recipients) external override onlyOwner returns (uint256) { return _mintEditions(recipients); } /** @param to address to send the newly minted edition to @dev This mints a single edition to the given address. */ function mintEdition(address to) external override onlyOwner returns (uint256) { address[] memory toMint = new address[](1); toMint[0] = to; return _mintEditions(toMint); } /** USER */ /** Simple eth-based sales function More complex sales functions can be implemented through ISingleEditionMintable interface */ /** @dev This allows the user to purchase an edition at the given price in the contract. */ function purchase() external payable returns (uint256) { require(salePrice > 0, 'Not for sale'); require(msg.value == salePrice, 'Wrong price'); require(block.timestamp > startTime, 'Purchasing is not yet available'); require( balanceOf(msg.sender) < 5 || msg.sender == owner(), 'Limit three passes per wallet' ); address[] memory toMint = new address[](1); toMint[0] = msg.sender; emit EditionSold(salePrice, msg.sender); return _mintEditions(toMint); } /** @param tokenId Token ID to burn User burn function for token id */ function burn(uint256 tokenId) public { require(_isApprovedOrOwner(_msgSender(), tokenId), 'Not approved'); _burn(tokenId); } /** MINTING */ /** @param proof merkle proof that sender is on the allowlist @dev This allows the user on the allowlist to purchase an edition at the given price in the contract before the sale start time. */ function prePurchase(bytes32[] calldata proof) external payable returns (uint256) { require(salePrice > 0, 'Price not set'); require(msg.value == salePrice, 'Wrong price'); require(_isAllowedToMint(), 'Needs to be an allowed minter.'); // Check merkle proof bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(proof, alMerkleRoot, leaf), 'Needs to be on the allowlist.' ); // Increment claim of this address allowlistClaimed[msg.sender] += 1; address[] memory toMint = new address[](1); toMint[0] = msg.sender; emit EditionSold(salePrice, msg.sender); return _mintEditions(toMint); } /** @dev Private function to mint als without any access checks. Called by the public edition minting functions. */ function _mintEditions(address[] memory recipients) internal returns (uint256) { uint256 startAt = atEditionId.current(); uint256 endAt = startAt + recipients.length - 1; require(editionSize == 0 || endAt <= editionSize, 'Sold out'); while (atEditionId.current() <= endAt) { _mint( recipients[atEditionId.current() - startAt], atEditionId.current() ); atEditionId.increment(); } return atEditionId.current(); } /** @dev This helper function checks if the msg.sender is allowed to mint the given edition id. */ function _isAllowedToMint() internal view returns (bool) { if (owner() == msg.sender) { return true; } return allowlistClaimed[msg.sender] < 3; } /** INFO */ /// Returns the number of editions allowed to mint (max_uint256 when open edition) function numberCanMint() public view override returns (uint256) { // Return max int if open edition if (editionSize == 0) { return type(uint256).max; } // atEditionId is one-indexed hence the need to remove one here return editionSize + 1 - atEditionId.current(); } /// @dev returns the number of minted tokens within the edition function totalSupply() public view returns (uint256) { return atEditionId.current() - 1; } /** @dev Get URIs for edition NFT @return imageUrl, imageHash, animationUrl, animationHash */ function getURIs() public view returns ( string memory, bytes32, string memory, bytes32 ) { return (imageUrl, imageHash, animationUrl, animationHash); } /** @dev Get royalty information for token @param _salePrice Sale price for the token */ function royaltyInfo(uint256, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) { if (owner() == address(0x0)) { return (owner(), 0); } return (owner(), (_salePrice * royaltyBPS) / 10_000); } /** @dev Get URI for given token id @param tokenId token id to get uri for @return base64-encoded json metadata object */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), 'No token'); return sharedNFTLogic.createMetadataEdition( name(), description, imageUrl, animationUrl, tokenId, editionSize ); } function supportsInterface(bytes4 interfaceId) public view override(ERC721Upgradeable, IERC165Upgradeable) returns (bool) { return type(IERC2981Upgradeable).interfaceId == interfaceId || ERC721Upgradeable.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; import {StringsUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol"; import {Base64} from "base64-sol/base64.sol"; import {IPublicSharedMetadata} from "./IPublicSharedMetadata.sol"; /// Shared NFT logic for rendering metadata associated with editions /// @dev Can safely be used for generic base64Encode and numberToString functions contract SharedNFTLogic is IPublicSharedMetadata { /// @param unencoded bytes to base64-encode function base64Encode(bytes memory unencoded) public pure override returns (string memory) { return Base64.encode(unencoded); } /// Proxy to openzeppelin's toString function /// @param value number to return as a string function numberToString(uint256 value) public pure override returns (string memory) { return StringsUpgradeable.toString(value); } /// Generate edition metadata from storage information as base64-json blob /// Combines the media data and metadata /// @param name Name of NFT in metadata /// @param description Description of NFT in metadata /// @param imageUrl URL of image to render for edition /// @param animationUrl URL of animation to render for edition /// @param tokenOfEdition Token ID for specific token /// @param editionSize Size of entire edition to show function createMetadataEdition( string memory name, string memory description, string memory imageUrl, string memory animationUrl, uint256 tokenOfEdition, uint256 editionSize ) external pure returns (string memory) { string memory _tokenMediaData = tokenMediaData( imageUrl, animationUrl, tokenOfEdition ); bytes memory json = createMetadataJSON( name, description, _tokenMediaData, tokenOfEdition, editionSize ); return encodeMetadataJSON(json); } /// Function to create the metadata json string for the nft edition /// @param name Name of NFT in metadata /// @param description Description of NFT in metadata /// @param mediaData Data for media to include in json object /// @param tokenOfEdition Token ID for specific token /// @param editionSize Size of entire edition to show function createMetadataJSON( string memory name, string memory description, string memory mediaData, uint256 tokenOfEdition, uint256 editionSize ) public pure returns (bytes memory) { bytes memory editionSizeText; if (editionSize > 0) { editionSizeText = abi.encodePacked( "/", numberToString(editionSize) ); } return abi.encodePacked( '{"name": "', name, " ", numberToString(tokenOfEdition), editionSizeText, '", "', 'description": "', description, '", "', mediaData, '}' ); } /// Encodes the argument json bytes into base64-data uri format /// @param json Raw json to base64 and turn into a data-uri function encodeMetadataJSON(bytes memory json) public pure override returns (string memory) { return string( abi.encodePacked( "data:application/json;base64,", base64Encode(json) ) ); } /// Generates edition metadata from storage information as base64-json blob /// Combines the media data and metadata /// @param imageUrl URL of image to render for edition /// @param animationUrl URL of animation to render for edition function tokenMediaData( string memory imageUrl, string memory animationUrl, uint256 tokenOfEdition ) public pure returns (string memory) { bool hasImage = bytes(imageUrl).length > 0; bool hasAnimation = bytes(animationUrl).length > 0; if (hasImage && hasAnimation) { return string( abi.encodePacked( 'image": "', imageUrl, "?id=", numberToString(tokenOfEdition), '", "animation_url": "', animationUrl, "?id=", numberToString(tokenOfEdition), '"' ) ); } if (hasImage) { return string( abi.encodePacked( 'image": "', imageUrl, "?id=", numberToString(tokenOfEdition), '", "' ) ); } if (hasAnimation) { return string( abi.encodePacked( 'animation_url": "', animationUrl, "?id=", numberToString(tokenOfEdition), '", "' ) ); } return ""; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; /// Shared public library for on-chain NFT functions interface IPublicSharedMetadata { /// @param unencoded bytes to base64-encode function base64Encode(bytes memory unencoded) external pure returns (string memory); /// Encodes the argument json bytes into base64-data uri format /// @param json Raw json to base64 and turn into a data-uri function encodeMetadataJSON(bytes memory json) external pure returns (string memory); /// Proxy to openzeppelin's toString function /// @param value number to return as a string function numberToString(uint256 value) external pure returns (string memory); }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.6; interface IEditionSingleMintable { function mintEdition(address to) external returns (uint256); function mintEditions(address[] memory to) external returns (uint256); function numberCanMint() external view returns (uint256); function owner() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library CountersUpgradeable { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721Upgradeable.sol"; import "./IERC721ReceiverUpgradeable.sol"; import "./extensions/IERC721MetadataUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/StringsUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ function __ERC721_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 = ERC721Upgradeable.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721Upgradeable.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721Upgradeable.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Upgradeable.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[44] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165Upgradeable.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 IERC2981Upgradeable is IERC165Upgradeable { /** * @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 payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _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); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract SharedNFTLogic","name":"_sharedNFTLogic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"AllowListChanged","type":"event"},{"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":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"EditionSold","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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"StartTimeChanged","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":"alMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"editionSize","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":"getURIs","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"string","name":"","type":"string"},{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_description","type":"string"},{"internalType":"string","name":"_animationUrl","type":"string"},{"internalType":"bytes32","name":"_animationHash","type":"bytes32"},{"internalType":"string","name":"_imageUrl","type":"string"},{"internalType":"bytes32","name":"_imageHash","type":"bytes32"},{"internalType":"uint256","name":"_editionSize","type":"uint256"},{"internalType":"uint256","name":"_royaltyBPS","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"mintEditions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberCanMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"prePurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"purchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"string","name":"_imageUrl","type":"string"},{"internalType":"string","name":"_animationUrl","type":"string"}],"name":"updateEditionURLs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620056483803806200564883398181016040528101906200003791906200008c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250505062000125565b60008151905062000086816200010b565b92915050565b600060208284031215620000a557620000a462000106565b5b6000620000b58482850162000075565b91505092915050565b6000620000cb82620000e6565b9050919050565b6000620000df82620000be565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200011681620000d2565b81146200012257600080fd5b50565b60805160601c615504620001446000396000611e5101526155046000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063ab9a57ad116100ab578063e8a3d4851161006f578063e8a3d48514610801578063e985e9c51461082c578063f2fde38b14610869578063f4ed0f4614610892578063f51f96dd146108bd57610225565b8063ab9a57ad14610719578063b88d4fde14610749578063c21cac1e14610772578063c87b56dd1461079b578063e444bfcc146107d857610225565b80638da5cb5b116100f25780638da5cb5b14610634578063938e3d7b1461065f57806395d89b4114610688578063a22cb465146106b3578063a66ff0af146106dc57610225565b8063715018a61461059e5780637284e416146105b557806378e97925146105e05780637cb647591461060b57610225565b806328c5440f116101b157806342842e0e1161017557806342842e0e146104b457806342966c68146104dd5780636352211e1461050657806364edfbf01461054357806370a082311461056157610225565b806328c5440f146103dd5780632a55205a1461040b57806338e6025a146104495780633ccfd60b146104745780633e0a322d1461048b57610225565b80630b65b6e7116101f85780630b65b6e7146102f85780630f6a93491461032357806318160ddd146103605780631919fed71461038b57806323b872dd146103b457610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613b86565b6108e8565b60405161025e9190614376565b60405180910390f35b34801561027357600080fd5b5061027c610962565b60405161028991906143ac565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613cea565b6109f4565b6040516102c691906142e6565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613a83565b610a79565b005b34801561030457600080fd5b5061030d610b91565b60405161031a919061483e565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613ac3565b610bee565b604051610357919061483e565b60405180910390f35b34801561036c57600080fd5b50610375610c7c565b604051610382919061483e565b60405180910390f35b34801561039757600080fd5b506103b260048036038101906103ad9190613cea565b610c99565b005b3480156103c057600080fd5b506103db60048036038101906103d691906137ed565b610d58565b005b3480156103e957600080fd5b506103f2610db8565b60405161040294939291906143ce565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613d17565b610ef0565b60405161044092919061434d565b60405180910390f35b34801561045557600080fd5b5061045e610f71565b60405161046b9190614391565b60405180910390f35b34801561048057600080fd5b50610489610f77565b005b34801561049757600080fd5b506104b260048036038101906104ad9190613cea565b611006565b005b3480156104c057600080fd5b506104db60048036038101906104d691906137ed565b6110c5565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613cea565b6110e5565b005b34801561051257600080fd5b5061052d60048036038101906105289190613cea565b611141565b60405161053a91906142e6565b60405180910390f35b61054b6111f3565b604051610558919061483e565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613780565b611430565b604051610595919061483e565b60405180910390f35b3480156105aa57600080fd5b506105b36114e8565b005b3480156105c157600080fd5b506105ca611570565b6040516105d791906143ac565b60405180910390f35b3480156105ec57600080fd5b506105f56115fe565b604051610602919061483e565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d9190613b59565b611604565b005b34801561064057600080fd5b506106496116c3565b60405161065691906142e6565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613be0565b6116d2565b005b34801561069457600080fd5b5061069d611768565b6040516106aa91906143ac565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d591906138c3565b6117fa565b005b3480156106e857600080fd5b5061070360048036038101906106fe9190613780565b611810565b604051610710919061483e565b60405180910390f35b610733600480360381019061072e9190613b0c565b61193c565b604051610740919061483e565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b9190613840565b611c27565b005b34801561077e57600080fd5b5061079960048036038101906107949190613903565b611c89565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613cea565b611e05565b6040516107cf91906143ac565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613c72565b611f1a565b005b34801561080d57600080fd5b50610816611fc8565b60405161082391906143ac565b60405180910390f35b34801561083857600080fd5b50610853600480360381019061084e91906137ad565b61205a565b6040516108609190614376565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b9190613780565b6120ee565b005b34801561089e57600080fd5b506108a76121e6565b6040516108b4919061483e565b60405180910390f35b3480156108c957600080fd5b506108d26121ec565b6040516108df919061483e565b60405180910390f35b6000817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095b575061095a826121f2565b5b9050919050565b60606065805461097190614ba8565b80601f016020809104026020016040519081016040528092919081815260200182805461099d90614ba8565b80156109ea5780601f106109bf576101008083540402835291602001916109ea565b820191906000526020600020905b8154815290600101906020018083116109cd57829003601f168201915b5050505050905090565b60006109ff826122d4565b610a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a359061473e565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8482611141565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aec9061479e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b14612340565b73ffffffffffffffffffffffffffffffffffffffff161480610b435750610b4281610b3d612340565b61205a565b5b610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b799061465e565b60405180910390fd5b610b8c8383612348565b505050565b60008060cf541415610bc5577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050610beb565b610bcf60d0612401565b600160cf54610bde91906149c5565b610be89190614aa6565b90505b90565b6000610bf8612340565b73ffffffffffffffffffffffffffffffffffffffff16610c166116c3565b73ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c639061475e565b60405180910390fd5b610c758261240f565b9050919050565b60006001610c8a60d0612401565b610c949190614aa6565b905090565b610ca1612340565b73ffffffffffffffffffffffffffffffffffffffff16610cbf6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614610d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0c9061475e565b60405180910390fd5b8060d3819055507fa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d62260d354604051610d4d919061483e565b60405180910390a150565b610d69610d63612340565b82612501565b610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f906147de565b60405180910390fd5b610db38383836125df565b505050565b606060006060600060cd60ce5460cb60cc54838054610dd690614ba8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0290614ba8565b8015610e4f5780601f10610e2457610100808354040283529160200191610e4f565b820191906000526020600020905b815481529060010190602001808311610e3257829003601f168201915b50505050509350818054610e6290614ba8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8e90614ba8565b8015610edb5780601f10610eb057610100808354040283529160200191610edb565b820191906000526020600020905b815481529060010190602001808311610ebe57829003601f168201915b50505050509150935093509350935090919293565b600080600073ffffffffffffffffffffffffffffffffffffffff16610f136116c3565b73ffffffffffffffffffffffffffffffffffffffff161415610f4257610f376116c3565b600091509150610f6a565b610f4a6116c3565b61271060d15485610f5b9190614a4c565b610f659190614a1b565b915091505b9250929050565b60d45481565b610f7f612340565b73ffffffffffffffffffffffffffffffffffffffff16610f9d6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea9061475e565b60405180910390fd5b611004610ffe6116c3565b47612846565b565b61100e612340565b73ffffffffffffffffffffffffffffffffffffffff1661102c6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611082576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110799061475e565b60405180910390fd5b8060d5819055507fe1bebe43f86306f5ef8fd2a26a1397f3ed16fc225a632b04401a1dfd3a84f85b60d5546040516110ba919061483e565b60405180910390a150565b6110e083838360405180602001604052806000815250611c27565b505050565b6110f66110f0612340565b82612501565b611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c9061467e565b60405180910390fd5b61113e8161293a565b50565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e1906146be565b60405180910390fd5b80915050919050565b60008060d35411611239576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611230906146fe565b60405180910390fd5b60d354341461127d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112749061477e565b60405180910390fd5b60d55442116112c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b89061449e565b60405180910390fd5b60056112cc33611430565b108061130a57506112db6116c3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611349576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611340906144de565b60405180910390fd5b6000600167ffffffffffffffff81111561136657611365614d34565b5b6040519080825280602002602001820160405280156113945781602001602082028036833780820191505090505b50905033816000815181106113ac576113ab614d05565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f60a6c75698fadb72223808131f9f9bb9db3afa32122db6d94fb8fc985a504baa60d35433604051611419929190614859565b60405180910390a161142a8161240f565b91505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114989061469e565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114f0612340565b73ffffffffffffffffffffffffffffffffffffffff1661150e6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155b9061475e565b60405180910390fd5b61156e6000612a57565b565b60c9805461157d90614ba8565b80601f01602080910402602001604051908101604052809291908181526020018280546115a990614ba8565b80156115f65780601f106115cb576101008083540402835291602001916115f6565b820191906000526020600020905b8154815290600101906020018083116115d957829003601f168201915b505050505081565b60d55481565b61160c612340565b73ffffffffffffffffffffffffffffffffffffffff1661162a6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116779061475e565b60405180910390fd5b8060d4819055507fe5edacfd86d24e811441ae966934d3482c337b879c538564210f65c477cb8e9960d4546040516116b89190614391565b60405180910390a150565b60006116cd612b1d565b905090565b6116da612340565b73ffffffffffffffffffffffffffffffffffffffff166116f86116c3565b73ffffffffffffffffffffffffffffffffffffffff161461174e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117459061475e565b60405180910390fd5b8060ca908051906020019061176492919061341b565b5050565b60606066805461177790614ba8565b80601f01602080910402602001604051908101604052809291908181526020018280546117a390614ba8565b80156117f05780601f106117c5576101008083540402835291602001916117f0565b820191906000526020600020905b8154815290600101906020018083116117d357829003601f168201915b5050505050905090565b61180c611805612340565b8383612b47565b5050565b600061181a612340565b73ffffffffffffffffffffffffffffffffffffffff166118386116c3565b73ffffffffffffffffffffffffffffffffffffffff161461188e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118859061475e565b60405180910390fd5b6000600167ffffffffffffffff8111156118ab576118aa614d34565b5b6040519080825280602002602001820160405280156118d95781602001602082028036833780820191505090505b50905082816000815181106118f1576118f0614d05565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506119348161240f565b915050919050565b60008060d35411611982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611979906147be565b60405180910390fd5b60d35434146119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd9061477e565b60405180910390fd5b6119ce612cb4565b611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a049061455e565b60405180910390fd5b600033604051602001611a2091906142b6565b604051602081830303815290604052805190602001209050611a86848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060d45483612d55565b611ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abc9061457e565b60405180910390fd5b600160d260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16611b22919061498d565b92506101000a81548161ffff021916908361ffff1602179055506000600167ffffffffffffffff811115611b5957611b58614d34565b5b604051908082528060200260200182016040528015611b875781602001602082028036833780820191505090505b5090503381600081518110611b9f57611b9e614d05565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f60a6c75698fadb72223808131f9f9bb9db3afa32122db6d94fb8fc985a504baa60d35433604051611c0c929190614859565b60405180910390a1611c1d8161240f565b9250505092915050565b611c38611c32612340565b83612501565b611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e906147de565b60405180910390fd5b611c8384848484612d6c565b50505050565b600060019054906101000a900460ff16611cb15760008054906101000a900460ff1615611cba565b611cb9612dc8565b5b611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf0906146de565b60405180910390fd5b60008060019054906101000a900460ff161590508015611d49576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611d538b8b612dd9565b611d5b612e36565b611d648c6120ee565b8860c99080519060200190611d7a92919061341b565b508760cb9080519060200190611d9192919061341b565b508660cc819055508560cd9080519060200190611daf92919061341b565b508460ce819055508360cf819055508260d1819055508160d581905550611dd660d0612e8f565b8015611df75760008060016101000a81548160ff0219169083151502179055505b505050505050505050505050565b6060611e10826122d4565b611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e469061463e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df30dba0611e93610962565b60c960cd60cb8760cf546040518763ffffffff1660e01b8152600401611ebe96959493929190614421565b60006040518083038186803b158015611ed657600080fd5b505afa158015611eea573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f139190613c29565b9050919050565b611f22612340565b73ffffffffffffffffffffffffffffffffffffffff16611f406116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8d9061475e565b60405180910390fd5b8160cd9080519060200190611fac92919061341b565b508060cb9080519060200190611fc392919061341b565b505050565b606060ca8054611fd790614ba8565b80601f016020809104026020016040519081016040528092919081815260200182805461200390614ba8565b80156120505780601f1061202557610100808354040283529160200191612050565b820191906000526020600020905b81548152906001019060200180831161203357829003601f168201915b5050505050905090565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120f6612340565b73ffffffffffffffffffffffffffffffffffffffff166121146116c3565b73ffffffffffffffffffffffffffffffffffffffff161461216a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121619061475e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d1906144fe565b60405180910390fd5b6121e381612a57565b50565b60cf5481565b60d35481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122cd57506122cc82612ea5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123bb83611141565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60008061241c60d0612401565b90506000600184518361242f91906149c5565b6124399190614aa6565b9050600060cf54148061244e575060cf548111155b61248d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612484906147fe565b60405180910390fd5b5b8061249960d0612401565b116124ee576124df84836124ad60d0612401565b6124b79190614aa6565b815181106124c8576124c7614d05565b5b60200260200101516124da60d0612401565b612f0f565b6124e960d0612e8f565b61248e565b6124f860d0612401565b92505050919050565b600061250c826122d4565b61254b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125429061461e565b60405180910390fd5b600061255683611141565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125c557508373ffffffffffffffffffffffffffffffffffffffff166125ad846109f4565b73ffffffffffffffffffffffffffffffffffffffff16145b806125d657506125d5818561205a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125ff82611141565b73ffffffffffffffffffffffffffffffffffffffff1614612655576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264c9061451e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061459e565b60405180910390fd5b6126d08383836130e9565b6126db600082612348565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272b9190614aa6565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461278291906149c5565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128418383836130ee565b505050565b80471015612889576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612880906145fe565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128af906142d1565b60006040518083038185875af1925050503d80600081146128ec576040519150601f19603f3d011682016040523d82523d6000602084013e6128f1565b606091505b5050905080612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292c906145de565b60405180910390fd5b505050565b600061294582611141565b9050612953816000846130e9565b61295e600083612348565b6001606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129ae9190614aa6565b925050819055506067600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a53816000846130ee565b5050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bad906145be565b60405180910390fd5b80606a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ca79190614376565b60405180910390a3505050565b60003373ffffffffffffffffffffffffffffffffffffffff16612cd56116c3565b73ffffffffffffffffffffffffffffffffffffffff161415612cfa5760019050612d52565b600360d260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff161090505b90565b600082612d6285846130f3565b1490509392505050565b612d778484846125df565b612d8384848484613168565b612dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db9906144be565b60405180910390fd5b50505050565b6000612dd3306132ff565b15905090565b600060019054906101000a900460ff16612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f9061481e565b60405180910390fd5b612e328282613322565b5050565b600060019054906101000a900460ff16612e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7c9061481e565b60405180910390fd5b612e8d6133a3565b565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f769061471e565b60405180910390fd5b612f88816122d4565b15612fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbf9061453e565b60405180910390fd5b612fd4600083836130e9565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461302491906149c5565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130e5600083836130ee565b5050565b505050565b505050565b60008082905060005b845181101561315d57600085828151811061311a57613119614d05565b5b6020026020010151905080831161313c576131358382613404565b9250613149565b6131468184613404565b92505b50808061315590614c0b565b9150506130fc565b508091505092915050565b60006131898473ffffffffffffffffffffffffffffffffffffffff166132ff565b156132f2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131b2612340565b8786866040518563ffffffff1660e01b81526004016131d49493929190614301565b602060405180830381600087803b1580156131ee57600080fd5b505af192505050801561321f57506040513d601f19601f8201168201806040525081019061321c9190613bb3565b60015b6132a2573d806000811461324f576040519150601f19603f3d011682016040523d82523d6000602084013e613254565b606091505b5060008151141561329a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613291906144be565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132f7565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16613371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133689061481e565b60405180910390fd5b816065908051906020019061338792919061341b565b50806066908051906020019061339e92919061341b565b505050565b600060019054906101000a900460ff166133f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e99061481e565b60405180910390fd5b6134026133fd612340565b612a57565b565b600082600052816020526040600020905092915050565b82805461342790614ba8565b90600052602060002090601f0160209004810192826134495760008555613490565b82601f1061346257805160ff1916838001178555613490565b82800160010185558215613490579182015b8281111561348f578251825591602001919060010190613474565b5b50905061349d91906134a1565b5090565b5b808211156134ba5760008160009055506001016134a2565b5090565b60006134d16134cc846148a7565b614882565b905080838252602082019050828560208602820111156134f4576134f3614d6d565b5b60005b85811015613524578161350a88826135f4565b8452602084019350602083019250506001810190506134f7565b5050509392505050565b600061354161353c846148d3565b614882565b90508281526020810184848401111561355d5761355c614d72565b5b613568848285614b66565b509392505050565b600061358361357e84614904565b614882565b90508281526020810184848401111561359f5761359e614d72565b5b6135aa848285614b66565b509392505050565b60006135c56135c084614904565b614882565b9050828152602081018484840111156135e1576135e0614d72565b5b6135ec848285614b75565b509392505050565b6000813590506136038161545b565b92915050565b600082601f83011261361e5761361d614d68565b5b813561362e8482602086016134be565b91505092915050565b60008083601f84011261364d5761364c614d68565b5b8235905067ffffffffffffffff81111561366a57613669614d63565b5b60208301915083602082028301111561368657613685614d6d565b5b9250929050565b60008135905061369c81615472565b92915050565b6000813590506136b181615489565b92915050565b6000813590506136c6816154a0565b92915050565b6000815190506136db816154a0565b92915050565b600082601f8301126136f6576136f5614d68565b5b813561370684826020860161352e565b91505092915050565b600082601f83011261372457613723614d68565b5b8135613734848260208601613570565b91505092915050565b600082601f83011261375257613751614d68565b5b81516137628482602086016135b2565b91505092915050565b60008135905061377a816154b7565b92915050565b60006020828403121561379657613795614d7c565b5b60006137a4848285016135f4565b91505092915050565b600080604083850312156137c4576137c3614d7c565b5b60006137d2858286016135f4565b92505060206137e3858286016135f4565b9150509250929050565b60008060006060848603121561380657613805614d7c565b5b6000613814868287016135f4565b9350506020613825868287016135f4565b92505060406138368682870161376b565b9150509250925092565b6000806000806080858703121561385a57613859614d7c565b5b6000613868878288016135f4565b9450506020613879878288016135f4565b935050604061388a8782880161376b565b925050606085013567ffffffffffffffff8111156138ab576138aa614d77565b5b6138b7878288016136e1565b91505092959194509250565b600080604083850312156138da576138d9614d7c565b5b60006138e8858286016135f4565b92505060206138f98582860161368d565b9150509250929050565b60008060008060008060008060008060006101608c8e03121561392957613928614d7c565b5b60006139378e828f016135f4565b9b505060208c013567ffffffffffffffff81111561395857613957614d77565b5b6139648e828f0161370f565b9a505060408c013567ffffffffffffffff81111561398557613984614d77565b5b6139918e828f0161370f565b99505060608c013567ffffffffffffffff8111156139b2576139b1614d77565b5b6139be8e828f0161370f565b98505060808c013567ffffffffffffffff8111156139df576139de614d77565b5b6139eb8e828f0161370f565b97505060a06139fc8e828f016136a2565b96505060c08c013567ffffffffffffffff811115613a1d57613a1c614d77565b5b613a298e828f0161370f565b95505060e0613a3a8e828f016136a2565b945050610100613a4c8e828f0161376b565b935050610120613a5e8e828f0161376b565b925050610140613a708e828f0161376b565b9150509295989b509295989b9093969950565b60008060408385031215613a9a57613a99614d7c565b5b6000613aa8858286016135f4565b9250506020613ab98582860161376b565b9150509250929050565b600060208284031215613ad957613ad8614d7c565b5b600082013567ffffffffffffffff811115613af757613af6614d77565b5b613b0384828501613609565b91505092915050565b60008060208385031215613b2357613b22614d7c565b5b600083013567ffffffffffffffff811115613b4157613b40614d77565b5b613b4d85828601613637565b92509250509250929050565b600060208284031215613b6f57613b6e614d7c565b5b6000613b7d848285016136a2565b91505092915050565b600060208284031215613b9c57613b9b614d7c565b5b6000613baa848285016136b7565b91505092915050565b600060208284031215613bc957613bc8614d7c565b5b6000613bd7848285016136cc565b91505092915050565b600060208284031215613bf657613bf5614d7c565b5b600082013567ffffffffffffffff811115613c1457613c13614d77565b5b613c208482850161370f565b91505092915050565b600060208284031215613c3f57613c3e614d7c565b5b600082015167ffffffffffffffff811115613c5d57613c5c614d77565b5b613c698482850161373d565b91505092915050565b60008060408385031215613c8957613c88614d7c565b5b600083013567ffffffffffffffff811115613ca757613ca6614d77565b5b613cb38582860161370f565b925050602083013567ffffffffffffffff811115613cd457613cd3614d77565b5b613ce08582860161370f565b9150509250929050565b600060208284031215613d0057613cff614d7c565b5b6000613d0e8482850161376b565b91505092915050565b60008060408385031215613d2e57613d2d614d7c565b5b6000613d3c8582860161376b565b9250506020613d4d8582860161376b565b9150509250929050565b613d6081614ada565b82525050565b613d77613d7282614ada565b614c54565b82525050565b613d8681614aec565b82525050565b613d9581614af8565b82525050565b6000613da68261494a565b613db08185614960565b9350613dc0818560208601614b75565b613dc981614d81565b840191505092915050565b6000613ddf82614955565b613de9818561497c565b9350613df9818560208601614b75565b613e0281614d81565b840191505092915050565b60008154613e1a81614ba8565b613e24818661497c565b94506001821660008114613e3f5760018114613e5157613e84565b60ff1983168652602086019350613e84565b613e5a85614935565b60005b83811015613e7c57815481890152600182019150602081019050613e5d565b808801955050505b50505092915050565b6000613e9a601f8361497c565b9150613ea582614d9f565b602082019050919050565b6000613ebd60328361497c565b9150613ec882614dc8565b604082019050919050565b6000613ee0601d8361497c565b9150613eeb82614e17565b602082019050919050565b6000613f0360268361497c565b9150613f0e82614e40565b604082019050919050565b6000613f2660258361497c565b9150613f3182614e8f565b604082019050919050565b6000613f49601c8361497c565b9150613f5482614ede565b602082019050919050565b6000613f6c601e8361497c565b9150613f7782614f07565b602082019050919050565b6000613f8f601d8361497c565b9150613f9a82614f30565b602082019050919050565b6000613fb260248361497c565b9150613fbd82614f59565b604082019050919050565b6000613fd560198361497c565b9150613fe082614fa8565b602082019050919050565b6000613ff8603a8361497c565b915061400382614fd1565b604082019050919050565b600061401b601d8361497c565b915061402682615020565b602082019050919050565b600061403e602c8361497c565b915061404982615049565b604082019050919050565b600061406160088361497c565b915061406c82615098565b602082019050919050565b600061408460388361497c565b915061408f826150c1565b604082019050919050565b60006140a7600c8361497c565b91506140b282615110565b602082019050919050565b60006140ca602a8361497c565b91506140d582615139565b604082019050919050565b60006140ed60298361497c565b91506140f882615188565b604082019050919050565b6000614110602e8361497c565b915061411b826151d7565b604082019050919050565b6000614133600c8361497c565b915061413e82615226565b602082019050919050565b600061415660208361497c565b91506141618261524f565b602082019050919050565b6000614179602c8361497c565b915061418482615278565b604082019050919050565b600061419c60208361497c565b91506141a7826152c7565b602082019050919050565b60006141bf600b8361497c565b91506141ca826152f0565b602082019050919050565b60006141e260218361497c565b91506141ed82615319565b604082019050919050565b6000614205600d8361497c565b915061421082615368565b602082019050919050565b6000614228600083614971565b915061423382615391565b600082019050919050565b600061424b60318361497c565b915061425682615394565b604082019050919050565b600061426e60088361497c565b9150614279826153e3565b602082019050919050565b6000614291602b8361497c565b915061429c8261540c565b604082019050919050565b6142b081614b5c565b82525050565b60006142c28284613d66565b60148201915081905092915050565b60006142dc8261421b565b9150819050919050565b60006020820190506142fb6000830184613d57565b92915050565b60006080820190506143166000830187613d57565b6143236020830186613d57565b61433060408301856142a7565b81810360608301526143428184613d9b565b905095945050505050565b60006040820190506143626000830185613d57565b61436f60208301846142a7565b9392505050565b600060208201905061438b6000830184613d7d565b92915050565b60006020820190506143a66000830184613d8c565b92915050565b600060208201905081810360008301526143c68184613dd4565b905092915050565b600060808201905081810360008301526143e88187613dd4565b90506143f76020830186613d8c565b81810360408301526144098185613dd4565b90506144186060830184613d8c565b95945050505050565b600060c082019050818103600083015261443b8189613dd4565b9050818103602083015261444f8188613e0d565b905081810360408301526144638187613e0d565b905081810360608301526144778186613e0d565b905061448660808301856142a7565b61449360a08301846142a7565b979650505050505050565b600060208201905081810360008301526144b781613e8d565b9050919050565b600060208201905081810360008301526144d781613eb0565b9050919050565b600060208201905081810360008301526144f781613ed3565b9050919050565b6000602082019050818103600083015261451781613ef6565b9050919050565b6000602082019050818103600083015261453781613f19565b9050919050565b6000602082019050818103600083015261455781613f3c565b9050919050565b6000602082019050818103600083015261457781613f5f565b9050919050565b6000602082019050818103600083015261459781613f82565b9050919050565b600060208201905081810360008301526145b781613fa5565b9050919050565b600060208201905081810360008301526145d781613fc8565b9050919050565b600060208201905081810360008301526145f781613feb565b9050919050565b600060208201905081810360008301526146178161400e565b9050919050565b6000602082019050818103600083015261463781614031565b9050919050565b6000602082019050818103600083015261465781614054565b9050919050565b6000602082019050818103600083015261467781614077565b9050919050565b600060208201905081810360008301526146978161409a565b9050919050565b600060208201905081810360008301526146b7816140bd565b9050919050565b600060208201905081810360008301526146d7816140e0565b9050919050565b600060208201905081810360008301526146f781614103565b9050919050565b6000602082019050818103600083015261471781614126565b9050919050565b6000602082019050818103600083015261473781614149565b9050919050565b600060208201905081810360008301526147578161416c565b9050919050565b600060208201905081810360008301526147778161418f565b9050919050565b60006020820190508181036000830152614797816141b2565b9050919050565b600060208201905081810360008301526147b7816141d5565b9050919050565b600060208201905081810360008301526147d7816141f8565b9050919050565b600060208201905081810360008301526147f78161423e565b9050919050565b6000602082019050818103600083015261481781614261565b9050919050565b6000602082019050818103600083015261483781614284565b9050919050565b600060208201905061485360008301846142a7565b92915050565b600060408201905061486e60008301856142a7565b61487b6020830184613d57565b9392505050565b600061488c61489d565b90506148988282614bda565b919050565b6000604051905090565b600067ffffffffffffffff8211156148c2576148c1614d34565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156148ee576148ed614d34565b5b6148f782614d81565b9050602081019050919050565b600067ffffffffffffffff82111561491f5761491e614d34565b5b61492882614d81565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061499882614b2e565b91506149a383614b2e565b92508261ffff038211156149ba576149b9614c78565b5b828201905092915050565b60006149d082614b5c565b91506149db83614b5c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a1057614a0f614c78565b5b828201905092915050565b6000614a2682614b5c565b9150614a3183614b5c565b925082614a4157614a40614ca7565b5b828204905092915050565b6000614a5782614b5c565b9150614a6283614b5c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a9b57614a9a614c78565b5b828202905092915050565b6000614ab182614b5c565b9150614abc83614b5c565b925082821015614acf57614ace614c78565b5b828203905092915050565b6000614ae582614b3c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b93578082015181840152602081019050614b78565b83811115614ba2576000848401525b50505050565b60006002820490506001821680614bc057607f821691505b60208210811415614bd457614bd3614cd6565b5b50919050565b614be382614d81565b810181811067ffffffffffffffff82111715614c0257614c01614d34565b5b80604052505050565b6000614c1682614b5c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4957614c48614c78565b5b600182019050919050565b6000614c5f82614c66565b9050919050565b6000614c7182614d92565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f50757263686173696e67206973206e6f742079657420617661696c61626c6500600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4c696d697420746872656520706173736573207065722077616c6c6574000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6565647320746f20626520616e20616c6c6f776564206d696e7465722e0000600082015250565b7f4e6565647320746f206265206f6e2074686520616c6c6f776c6973742e000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f7420617070726f7665640000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4e6f7420666f722073616c650000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57726f6e67207072696365000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5072696365206e6f742073657400000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b61546481614ada565b811461546f57600080fd5b50565b61547b81614aec565b811461548657600080fd5b50565b61549281614af8565b811461549d57600080fd5b50565b6154a981614b02565b81146154b457600080fd5b50565b6154c081614b5c565b81146154cb57600080fd5b5056fea26469706673582212207a5e5a398e295b62a679eb681486b0c02b001b9fd31b575e63c763403dc3725b64736f6c63430008060033000000000000000000000000915eef8e1dbcbd62c9c6b498846b36eaf72124ff
Deployed Bytecode
0x6080604052600436106102255760003560e01c8063715018a611610123578063ab9a57ad116100ab578063e8a3d4851161006f578063e8a3d48514610801578063e985e9c51461082c578063f2fde38b14610869578063f4ed0f4614610892578063f51f96dd146108bd57610225565b8063ab9a57ad14610719578063b88d4fde14610749578063c21cac1e14610772578063c87b56dd1461079b578063e444bfcc146107d857610225565b80638da5cb5b116100f25780638da5cb5b14610634578063938e3d7b1461065f57806395d89b4114610688578063a22cb465146106b3578063a66ff0af146106dc57610225565b8063715018a61461059e5780637284e416146105b557806378e97925146105e05780637cb647591461060b57610225565b806328c5440f116101b157806342842e0e1161017557806342842e0e146104b457806342966c68146104dd5780636352211e1461050657806364edfbf01461054357806370a082311461056157610225565b806328c5440f146103dd5780632a55205a1461040b57806338e6025a146104495780633ccfd60b146104745780633e0a322d1461048b57610225565b80630b65b6e7116101f85780630b65b6e7146102f85780630f6a93491461032357806318160ddd146103605780631919fed71461038b57806323b872dd146103b457610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613b86565b6108e8565b60405161025e9190614376565b60405180910390f35b34801561027357600080fd5b5061027c610962565b60405161028991906143ac565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613cea565b6109f4565b6040516102c691906142e6565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613a83565b610a79565b005b34801561030457600080fd5b5061030d610b91565b60405161031a919061483e565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613ac3565b610bee565b604051610357919061483e565b60405180910390f35b34801561036c57600080fd5b50610375610c7c565b604051610382919061483e565b60405180910390f35b34801561039757600080fd5b506103b260048036038101906103ad9190613cea565b610c99565b005b3480156103c057600080fd5b506103db60048036038101906103d691906137ed565b610d58565b005b3480156103e957600080fd5b506103f2610db8565b60405161040294939291906143ce565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613d17565b610ef0565b60405161044092919061434d565b60405180910390f35b34801561045557600080fd5b5061045e610f71565b60405161046b9190614391565b60405180910390f35b34801561048057600080fd5b50610489610f77565b005b34801561049757600080fd5b506104b260048036038101906104ad9190613cea565b611006565b005b3480156104c057600080fd5b506104db60048036038101906104d691906137ed565b6110c5565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613cea565b6110e5565b005b34801561051257600080fd5b5061052d60048036038101906105289190613cea565b611141565b60405161053a91906142e6565b60405180910390f35b61054b6111f3565b604051610558919061483e565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613780565b611430565b604051610595919061483e565b60405180910390f35b3480156105aa57600080fd5b506105b36114e8565b005b3480156105c157600080fd5b506105ca611570565b6040516105d791906143ac565b60405180910390f35b3480156105ec57600080fd5b506105f56115fe565b604051610602919061483e565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d9190613b59565b611604565b005b34801561064057600080fd5b506106496116c3565b60405161065691906142e6565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613be0565b6116d2565b005b34801561069457600080fd5b5061069d611768565b6040516106aa91906143ac565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d591906138c3565b6117fa565b005b3480156106e857600080fd5b5061070360048036038101906106fe9190613780565b611810565b604051610710919061483e565b60405180910390f35b610733600480360381019061072e9190613b0c565b61193c565b604051610740919061483e565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b9190613840565b611c27565b005b34801561077e57600080fd5b5061079960048036038101906107949190613903565b611c89565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613cea565b611e05565b6040516107cf91906143ac565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613c72565b611f1a565b005b34801561080d57600080fd5b50610816611fc8565b60405161082391906143ac565b60405180910390f35b34801561083857600080fd5b50610853600480360381019061084e91906137ad565b61205a565b6040516108609190614376565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b9190613780565b6120ee565b005b34801561089e57600080fd5b506108a76121e6565b6040516108b4919061483e565b60405180910390f35b3480156108c957600080fd5b506108d26121ec565b6040516108df919061483e565b60405180910390f35b6000817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095b575061095a826121f2565b5b9050919050565b60606065805461097190614ba8565b80601f016020809104026020016040519081016040528092919081815260200182805461099d90614ba8565b80156109ea5780601f106109bf576101008083540402835291602001916109ea565b820191906000526020600020905b8154815290600101906020018083116109cd57829003601f168201915b5050505050905090565b60006109ff826122d4565b610a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a359061473e565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8482611141565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aec9061479e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b14612340565b73ffffffffffffffffffffffffffffffffffffffff161480610b435750610b4281610b3d612340565b61205a565b5b610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b799061465e565b60405180910390fd5b610b8c8383612348565b505050565b60008060cf541415610bc5577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050610beb565b610bcf60d0612401565b600160cf54610bde91906149c5565b610be89190614aa6565b90505b90565b6000610bf8612340565b73ffffffffffffffffffffffffffffffffffffffff16610c166116c3565b73ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c639061475e565b60405180910390fd5b610c758261240f565b9050919050565b60006001610c8a60d0612401565b610c949190614aa6565b905090565b610ca1612340565b73ffffffffffffffffffffffffffffffffffffffff16610cbf6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614610d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0c9061475e565b60405180910390fd5b8060d3819055507fa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d62260d354604051610d4d919061483e565b60405180910390a150565b610d69610d63612340565b82612501565b610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f906147de565b60405180910390fd5b610db38383836125df565b505050565b606060006060600060cd60ce5460cb60cc54838054610dd690614ba8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0290614ba8565b8015610e4f5780601f10610e2457610100808354040283529160200191610e4f565b820191906000526020600020905b815481529060010190602001808311610e3257829003601f168201915b50505050509350818054610e6290614ba8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8e90614ba8565b8015610edb5780601f10610eb057610100808354040283529160200191610edb565b820191906000526020600020905b815481529060010190602001808311610ebe57829003601f168201915b50505050509150935093509350935090919293565b600080600073ffffffffffffffffffffffffffffffffffffffff16610f136116c3565b73ffffffffffffffffffffffffffffffffffffffff161415610f4257610f376116c3565b600091509150610f6a565b610f4a6116c3565b61271060d15485610f5b9190614a4c565b610f659190614a1b565b915091505b9250929050565b60d45481565b610f7f612340565b73ffffffffffffffffffffffffffffffffffffffff16610f9d6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea9061475e565b60405180910390fd5b611004610ffe6116c3565b47612846565b565b61100e612340565b73ffffffffffffffffffffffffffffffffffffffff1661102c6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611082576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110799061475e565b60405180910390fd5b8060d5819055507fe1bebe43f86306f5ef8fd2a26a1397f3ed16fc225a632b04401a1dfd3a84f85b60d5546040516110ba919061483e565b60405180910390a150565b6110e083838360405180602001604052806000815250611c27565b505050565b6110f66110f0612340565b82612501565b611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c9061467e565b60405180910390fd5b61113e8161293a565b50565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e1906146be565b60405180910390fd5b80915050919050565b60008060d35411611239576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611230906146fe565b60405180910390fd5b60d354341461127d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112749061477e565b60405180910390fd5b60d55442116112c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b89061449e565b60405180910390fd5b60056112cc33611430565b108061130a57506112db6116c3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611349576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611340906144de565b60405180910390fd5b6000600167ffffffffffffffff81111561136657611365614d34565b5b6040519080825280602002602001820160405280156113945781602001602082028036833780820191505090505b50905033816000815181106113ac576113ab614d05565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f60a6c75698fadb72223808131f9f9bb9db3afa32122db6d94fb8fc985a504baa60d35433604051611419929190614859565b60405180910390a161142a8161240f565b91505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114989061469e565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114f0612340565b73ffffffffffffffffffffffffffffffffffffffff1661150e6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155b9061475e565b60405180910390fd5b61156e6000612a57565b565b60c9805461157d90614ba8565b80601f01602080910402602001604051908101604052809291908181526020018280546115a990614ba8565b80156115f65780601f106115cb576101008083540402835291602001916115f6565b820191906000526020600020905b8154815290600101906020018083116115d957829003601f168201915b505050505081565b60d55481565b61160c612340565b73ffffffffffffffffffffffffffffffffffffffff1661162a6116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116779061475e565b60405180910390fd5b8060d4819055507fe5edacfd86d24e811441ae966934d3482c337b879c538564210f65c477cb8e9960d4546040516116b89190614391565b60405180910390a150565b60006116cd612b1d565b905090565b6116da612340565b73ffffffffffffffffffffffffffffffffffffffff166116f86116c3565b73ffffffffffffffffffffffffffffffffffffffff161461174e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117459061475e565b60405180910390fd5b8060ca908051906020019061176492919061341b565b5050565b60606066805461177790614ba8565b80601f01602080910402602001604051908101604052809291908181526020018280546117a390614ba8565b80156117f05780601f106117c5576101008083540402835291602001916117f0565b820191906000526020600020905b8154815290600101906020018083116117d357829003601f168201915b5050505050905090565b61180c611805612340565b8383612b47565b5050565b600061181a612340565b73ffffffffffffffffffffffffffffffffffffffff166118386116c3565b73ffffffffffffffffffffffffffffffffffffffff161461188e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118859061475e565b60405180910390fd5b6000600167ffffffffffffffff8111156118ab576118aa614d34565b5b6040519080825280602002602001820160405280156118d95781602001602082028036833780820191505090505b50905082816000815181106118f1576118f0614d05565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506119348161240f565b915050919050565b60008060d35411611982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611979906147be565b60405180910390fd5b60d35434146119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd9061477e565b60405180910390fd5b6119ce612cb4565b611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a049061455e565b60405180910390fd5b600033604051602001611a2091906142b6565b604051602081830303815290604052805190602001209050611a86848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060d45483612d55565b611ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abc9061457e565b60405180910390fd5b600160d260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16611b22919061498d565b92506101000a81548161ffff021916908361ffff1602179055506000600167ffffffffffffffff811115611b5957611b58614d34565b5b604051908082528060200260200182016040528015611b875781602001602082028036833780820191505090505b5090503381600081518110611b9f57611b9e614d05565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f60a6c75698fadb72223808131f9f9bb9db3afa32122db6d94fb8fc985a504baa60d35433604051611c0c929190614859565b60405180910390a1611c1d8161240f565b9250505092915050565b611c38611c32612340565b83612501565b611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e906147de565b60405180910390fd5b611c8384848484612d6c565b50505050565b600060019054906101000a900460ff16611cb15760008054906101000a900460ff1615611cba565b611cb9612dc8565b5b611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf0906146de565b60405180910390fd5b60008060019054906101000a900460ff161590508015611d49576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611d538b8b612dd9565b611d5b612e36565b611d648c6120ee565b8860c99080519060200190611d7a92919061341b565b508760cb9080519060200190611d9192919061341b565b508660cc819055508560cd9080519060200190611daf92919061341b565b508460ce819055508360cf819055508260d1819055508160d581905550611dd660d0612e8f565b8015611df75760008060016101000a81548160ff0219169083151502179055505b505050505050505050505050565b6060611e10826122d4565b611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e469061463e565b60405180910390fd5b7f000000000000000000000000915eef8e1dbcbd62c9c6b498846b36eaf72124ff73ffffffffffffffffffffffffffffffffffffffff1663df30dba0611e93610962565b60c960cd60cb8760cf546040518763ffffffff1660e01b8152600401611ebe96959493929190614421565b60006040518083038186803b158015611ed657600080fd5b505afa158015611eea573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f139190613c29565b9050919050565b611f22612340565b73ffffffffffffffffffffffffffffffffffffffff16611f406116c3565b73ffffffffffffffffffffffffffffffffffffffff1614611f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8d9061475e565b60405180910390fd5b8160cd9080519060200190611fac92919061341b565b508060cb9080519060200190611fc392919061341b565b505050565b606060ca8054611fd790614ba8565b80601f016020809104026020016040519081016040528092919081815260200182805461200390614ba8565b80156120505780601f1061202557610100808354040283529160200191612050565b820191906000526020600020905b81548152906001019060200180831161203357829003601f168201915b5050505050905090565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120f6612340565b73ffffffffffffffffffffffffffffffffffffffff166121146116c3565b73ffffffffffffffffffffffffffffffffffffffff161461216a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121619061475e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d1906144fe565b60405180910390fd5b6121e381612a57565b50565b60cf5481565b60d35481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122cd57506122cc82612ea5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123bb83611141565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60008061241c60d0612401565b90506000600184518361242f91906149c5565b6124399190614aa6565b9050600060cf54148061244e575060cf548111155b61248d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612484906147fe565b60405180910390fd5b5b8061249960d0612401565b116124ee576124df84836124ad60d0612401565b6124b79190614aa6565b815181106124c8576124c7614d05565b5b60200260200101516124da60d0612401565b612f0f565b6124e960d0612e8f565b61248e565b6124f860d0612401565b92505050919050565b600061250c826122d4565b61254b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125429061461e565b60405180910390fd5b600061255683611141565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125c557508373ffffffffffffffffffffffffffffffffffffffff166125ad846109f4565b73ffffffffffffffffffffffffffffffffffffffff16145b806125d657506125d5818561205a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125ff82611141565b73ffffffffffffffffffffffffffffffffffffffff1614612655576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264c9061451e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061459e565b60405180910390fd5b6126d08383836130e9565b6126db600082612348565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272b9190614aa6565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461278291906149c5565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128418383836130ee565b505050565b80471015612889576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612880906145fe565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128af906142d1565b60006040518083038185875af1925050503d80600081146128ec576040519150601f19603f3d011682016040523d82523d6000602084013e6128f1565b606091505b5050905080612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292c906145de565b60405180910390fd5b505050565b600061294582611141565b9050612953816000846130e9565b61295e600083612348565b6001606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129ae9190614aa6565b925050819055506067600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a53816000846130ee565b5050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bad906145be565b60405180910390fd5b80606a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ca79190614376565b60405180910390a3505050565b60003373ffffffffffffffffffffffffffffffffffffffff16612cd56116c3565b73ffffffffffffffffffffffffffffffffffffffff161415612cfa5760019050612d52565b600360d260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff161090505b90565b600082612d6285846130f3565b1490509392505050565b612d778484846125df565b612d8384848484613168565b612dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db9906144be565b60405180910390fd5b50505050565b6000612dd3306132ff565b15905090565b600060019054906101000a900460ff16612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f9061481e565b60405180910390fd5b612e328282613322565b5050565b600060019054906101000a900460ff16612e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7c9061481e565b60405180910390fd5b612e8d6133a3565b565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f769061471e565b60405180910390fd5b612f88816122d4565b15612fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbf9061453e565b60405180910390fd5b612fd4600083836130e9565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461302491906149c5565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130e5600083836130ee565b5050565b505050565b505050565b60008082905060005b845181101561315d57600085828151811061311a57613119614d05565b5b6020026020010151905080831161313c576131358382613404565b9250613149565b6131468184613404565b92505b50808061315590614c0b565b9150506130fc565b508091505092915050565b60006131898473ffffffffffffffffffffffffffffffffffffffff166132ff565b156132f2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131b2612340565b8786866040518563ffffffff1660e01b81526004016131d49493929190614301565b602060405180830381600087803b1580156131ee57600080fd5b505af192505050801561321f57506040513d601f19601f8201168201806040525081019061321c9190613bb3565b60015b6132a2573d806000811461324f576040519150601f19603f3d011682016040523d82523d6000602084013e613254565b606091505b5060008151141561329a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613291906144be565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132f7565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16613371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133689061481e565b60405180910390fd5b816065908051906020019061338792919061341b565b50806066908051906020019061339e92919061341b565b505050565b600060019054906101000a900460ff166133f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e99061481e565b60405180910390fd5b6134026133fd612340565b612a57565b565b600082600052816020526040600020905092915050565b82805461342790614ba8565b90600052602060002090601f0160209004810192826134495760008555613490565b82601f1061346257805160ff1916838001178555613490565b82800160010185558215613490579182015b8281111561348f578251825591602001919060010190613474565b5b50905061349d91906134a1565b5090565b5b808211156134ba5760008160009055506001016134a2565b5090565b60006134d16134cc846148a7565b614882565b905080838252602082019050828560208602820111156134f4576134f3614d6d565b5b60005b85811015613524578161350a88826135f4565b8452602084019350602083019250506001810190506134f7565b5050509392505050565b600061354161353c846148d3565b614882565b90508281526020810184848401111561355d5761355c614d72565b5b613568848285614b66565b509392505050565b600061358361357e84614904565b614882565b90508281526020810184848401111561359f5761359e614d72565b5b6135aa848285614b66565b509392505050565b60006135c56135c084614904565b614882565b9050828152602081018484840111156135e1576135e0614d72565b5b6135ec848285614b75565b509392505050565b6000813590506136038161545b565b92915050565b600082601f83011261361e5761361d614d68565b5b813561362e8482602086016134be565b91505092915050565b60008083601f84011261364d5761364c614d68565b5b8235905067ffffffffffffffff81111561366a57613669614d63565b5b60208301915083602082028301111561368657613685614d6d565b5b9250929050565b60008135905061369c81615472565b92915050565b6000813590506136b181615489565b92915050565b6000813590506136c6816154a0565b92915050565b6000815190506136db816154a0565b92915050565b600082601f8301126136f6576136f5614d68565b5b813561370684826020860161352e565b91505092915050565b600082601f83011261372457613723614d68565b5b8135613734848260208601613570565b91505092915050565b600082601f83011261375257613751614d68565b5b81516137628482602086016135b2565b91505092915050565b60008135905061377a816154b7565b92915050565b60006020828403121561379657613795614d7c565b5b60006137a4848285016135f4565b91505092915050565b600080604083850312156137c4576137c3614d7c565b5b60006137d2858286016135f4565b92505060206137e3858286016135f4565b9150509250929050565b60008060006060848603121561380657613805614d7c565b5b6000613814868287016135f4565b9350506020613825868287016135f4565b92505060406138368682870161376b565b9150509250925092565b6000806000806080858703121561385a57613859614d7c565b5b6000613868878288016135f4565b9450506020613879878288016135f4565b935050604061388a8782880161376b565b925050606085013567ffffffffffffffff8111156138ab576138aa614d77565b5b6138b7878288016136e1565b91505092959194509250565b600080604083850312156138da576138d9614d7c565b5b60006138e8858286016135f4565b92505060206138f98582860161368d565b9150509250929050565b60008060008060008060008060008060006101608c8e03121561392957613928614d7c565b5b60006139378e828f016135f4565b9b505060208c013567ffffffffffffffff81111561395857613957614d77565b5b6139648e828f0161370f565b9a505060408c013567ffffffffffffffff81111561398557613984614d77565b5b6139918e828f0161370f565b99505060608c013567ffffffffffffffff8111156139b2576139b1614d77565b5b6139be8e828f0161370f565b98505060808c013567ffffffffffffffff8111156139df576139de614d77565b5b6139eb8e828f0161370f565b97505060a06139fc8e828f016136a2565b96505060c08c013567ffffffffffffffff811115613a1d57613a1c614d77565b5b613a298e828f0161370f565b95505060e0613a3a8e828f016136a2565b945050610100613a4c8e828f0161376b565b935050610120613a5e8e828f0161376b565b925050610140613a708e828f0161376b565b9150509295989b509295989b9093969950565b60008060408385031215613a9a57613a99614d7c565b5b6000613aa8858286016135f4565b9250506020613ab98582860161376b565b9150509250929050565b600060208284031215613ad957613ad8614d7c565b5b600082013567ffffffffffffffff811115613af757613af6614d77565b5b613b0384828501613609565b91505092915050565b60008060208385031215613b2357613b22614d7c565b5b600083013567ffffffffffffffff811115613b4157613b40614d77565b5b613b4d85828601613637565b92509250509250929050565b600060208284031215613b6f57613b6e614d7c565b5b6000613b7d848285016136a2565b91505092915050565b600060208284031215613b9c57613b9b614d7c565b5b6000613baa848285016136b7565b91505092915050565b600060208284031215613bc957613bc8614d7c565b5b6000613bd7848285016136cc565b91505092915050565b600060208284031215613bf657613bf5614d7c565b5b600082013567ffffffffffffffff811115613c1457613c13614d77565b5b613c208482850161370f565b91505092915050565b600060208284031215613c3f57613c3e614d7c565b5b600082015167ffffffffffffffff811115613c5d57613c5c614d77565b5b613c698482850161373d565b91505092915050565b60008060408385031215613c8957613c88614d7c565b5b600083013567ffffffffffffffff811115613ca757613ca6614d77565b5b613cb38582860161370f565b925050602083013567ffffffffffffffff811115613cd457613cd3614d77565b5b613ce08582860161370f565b9150509250929050565b600060208284031215613d0057613cff614d7c565b5b6000613d0e8482850161376b565b91505092915050565b60008060408385031215613d2e57613d2d614d7c565b5b6000613d3c8582860161376b565b9250506020613d4d8582860161376b565b9150509250929050565b613d6081614ada565b82525050565b613d77613d7282614ada565b614c54565b82525050565b613d8681614aec565b82525050565b613d9581614af8565b82525050565b6000613da68261494a565b613db08185614960565b9350613dc0818560208601614b75565b613dc981614d81565b840191505092915050565b6000613ddf82614955565b613de9818561497c565b9350613df9818560208601614b75565b613e0281614d81565b840191505092915050565b60008154613e1a81614ba8565b613e24818661497c565b94506001821660008114613e3f5760018114613e5157613e84565b60ff1983168652602086019350613e84565b613e5a85614935565b60005b83811015613e7c57815481890152600182019150602081019050613e5d565b808801955050505b50505092915050565b6000613e9a601f8361497c565b9150613ea582614d9f565b602082019050919050565b6000613ebd60328361497c565b9150613ec882614dc8565b604082019050919050565b6000613ee0601d8361497c565b9150613eeb82614e17565b602082019050919050565b6000613f0360268361497c565b9150613f0e82614e40565b604082019050919050565b6000613f2660258361497c565b9150613f3182614e8f565b604082019050919050565b6000613f49601c8361497c565b9150613f5482614ede565b602082019050919050565b6000613f6c601e8361497c565b9150613f7782614f07565b602082019050919050565b6000613f8f601d8361497c565b9150613f9a82614f30565b602082019050919050565b6000613fb260248361497c565b9150613fbd82614f59565b604082019050919050565b6000613fd560198361497c565b9150613fe082614fa8565b602082019050919050565b6000613ff8603a8361497c565b915061400382614fd1565b604082019050919050565b600061401b601d8361497c565b915061402682615020565b602082019050919050565b600061403e602c8361497c565b915061404982615049565b604082019050919050565b600061406160088361497c565b915061406c82615098565b602082019050919050565b600061408460388361497c565b915061408f826150c1565b604082019050919050565b60006140a7600c8361497c565b91506140b282615110565b602082019050919050565b60006140ca602a8361497c565b91506140d582615139565b604082019050919050565b60006140ed60298361497c565b91506140f882615188565b604082019050919050565b6000614110602e8361497c565b915061411b826151d7565b604082019050919050565b6000614133600c8361497c565b915061413e82615226565b602082019050919050565b600061415660208361497c565b91506141618261524f565b602082019050919050565b6000614179602c8361497c565b915061418482615278565b604082019050919050565b600061419c60208361497c565b91506141a7826152c7565b602082019050919050565b60006141bf600b8361497c565b91506141ca826152f0565b602082019050919050565b60006141e260218361497c565b91506141ed82615319565b604082019050919050565b6000614205600d8361497c565b915061421082615368565b602082019050919050565b6000614228600083614971565b915061423382615391565b600082019050919050565b600061424b60318361497c565b915061425682615394565b604082019050919050565b600061426e60088361497c565b9150614279826153e3565b602082019050919050565b6000614291602b8361497c565b915061429c8261540c565b604082019050919050565b6142b081614b5c565b82525050565b60006142c28284613d66565b60148201915081905092915050565b60006142dc8261421b565b9150819050919050565b60006020820190506142fb6000830184613d57565b92915050565b60006080820190506143166000830187613d57565b6143236020830186613d57565b61433060408301856142a7565b81810360608301526143428184613d9b565b905095945050505050565b60006040820190506143626000830185613d57565b61436f60208301846142a7565b9392505050565b600060208201905061438b6000830184613d7d565b92915050565b60006020820190506143a66000830184613d8c565b92915050565b600060208201905081810360008301526143c68184613dd4565b905092915050565b600060808201905081810360008301526143e88187613dd4565b90506143f76020830186613d8c565b81810360408301526144098185613dd4565b90506144186060830184613d8c565b95945050505050565b600060c082019050818103600083015261443b8189613dd4565b9050818103602083015261444f8188613e0d565b905081810360408301526144638187613e0d565b905081810360608301526144778186613e0d565b905061448660808301856142a7565b61449360a08301846142a7565b979650505050505050565b600060208201905081810360008301526144b781613e8d565b9050919050565b600060208201905081810360008301526144d781613eb0565b9050919050565b600060208201905081810360008301526144f781613ed3565b9050919050565b6000602082019050818103600083015261451781613ef6565b9050919050565b6000602082019050818103600083015261453781613f19565b9050919050565b6000602082019050818103600083015261455781613f3c565b9050919050565b6000602082019050818103600083015261457781613f5f565b9050919050565b6000602082019050818103600083015261459781613f82565b9050919050565b600060208201905081810360008301526145b781613fa5565b9050919050565b600060208201905081810360008301526145d781613fc8565b9050919050565b600060208201905081810360008301526145f781613feb565b9050919050565b600060208201905081810360008301526146178161400e565b9050919050565b6000602082019050818103600083015261463781614031565b9050919050565b6000602082019050818103600083015261465781614054565b9050919050565b6000602082019050818103600083015261467781614077565b9050919050565b600060208201905081810360008301526146978161409a565b9050919050565b600060208201905081810360008301526146b7816140bd565b9050919050565b600060208201905081810360008301526146d7816140e0565b9050919050565b600060208201905081810360008301526146f781614103565b9050919050565b6000602082019050818103600083015261471781614126565b9050919050565b6000602082019050818103600083015261473781614149565b9050919050565b600060208201905081810360008301526147578161416c565b9050919050565b600060208201905081810360008301526147778161418f565b9050919050565b60006020820190508181036000830152614797816141b2565b9050919050565b600060208201905081810360008301526147b7816141d5565b9050919050565b600060208201905081810360008301526147d7816141f8565b9050919050565b600060208201905081810360008301526147f78161423e565b9050919050565b6000602082019050818103600083015261481781614261565b9050919050565b6000602082019050818103600083015261483781614284565b9050919050565b600060208201905061485360008301846142a7565b92915050565b600060408201905061486e60008301856142a7565b61487b6020830184613d57565b9392505050565b600061488c61489d565b90506148988282614bda565b919050565b6000604051905090565b600067ffffffffffffffff8211156148c2576148c1614d34565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156148ee576148ed614d34565b5b6148f782614d81565b9050602081019050919050565b600067ffffffffffffffff82111561491f5761491e614d34565b5b61492882614d81565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061499882614b2e565b91506149a383614b2e565b92508261ffff038211156149ba576149b9614c78565b5b828201905092915050565b60006149d082614b5c565b91506149db83614b5c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a1057614a0f614c78565b5b828201905092915050565b6000614a2682614b5c565b9150614a3183614b5c565b925082614a4157614a40614ca7565b5b828204905092915050565b6000614a5782614b5c565b9150614a6283614b5c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a9b57614a9a614c78565b5b828202905092915050565b6000614ab182614b5c565b9150614abc83614b5c565b925082821015614acf57614ace614c78565b5b828203905092915050565b6000614ae582614b3c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b93578082015181840152602081019050614b78565b83811115614ba2576000848401525b50505050565b60006002820490506001821680614bc057607f821691505b60208210811415614bd457614bd3614cd6565b5b50919050565b614be382614d81565b810181811067ffffffffffffffff82111715614c0257614c01614d34565b5b80604052505050565b6000614c1682614b5c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4957614c48614c78565b5b600182019050919050565b6000614c5f82614c66565b9050919050565b6000614c7182614d92565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f50757263686173696e67206973206e6f742079657420617661696c61626c6500600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4c696d697420746872656520706173736573207065722077616c6c6574000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6565647320746f20626520616e20616c6c6f776564206d696e7465722e0000600082015250565b7f4e6565647320746f206265206f6e2074686520616c6c6f776c6973742e000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f7420617070726f7665640000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4e6f7420666f722073616c650000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57726f6e67207072696365000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5072696365206e6f742073657400000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b61546481614ada565b811461546f57600080fd5b50565b61547b81614aec565b811461548657600080fd5b50565b61549281614af8565b811461549d57600080fd5b50565b6154a981614b02565b81146154b457600080fd5b50565b6154c081614b5c565b81146154cb57600080fd5b5056fea26469706673582212207a5e5a398e295b62a679eb681486b0c02b001b9fd31b575e63c763403dc3725b64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000915eef8e1dbcbd62c9c6b498846b36eaf72124ff
-----Decoded View---------------
Arg [0] : _sharedNFTLogic (address): 0x915eef8e1DBcbd62c9c6b498846b36EAf72124FF
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000915eef8e1dbcbd62c9c6b498846b36eaf72124ff
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.