ERC-721
Overview
Max Total Supply
5,555 LOOMI
Holders
2,735
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 LOOMILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LoomiHeads
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* ██╗░░░░░░█████╗░░█████╗░███╗░░░███╗██╗ ██╗░░██╗███████╗░█████╗░██████╗░░██████╗ ██║░░░░░██╔══██╗██╔══██╗████╗░████║██║ ██║░░██║██╔════╝██╔══██╗██╔══██╗██╔════╝ ██║░░░░░██║░░██║██║░░██║██╔████╔██║██║ ███████║█████╗░░███████║██║░░██║╚█████╗░ ██║░░░░░██║░░██║██║░░██║██║╚██╔╝██║██║ ██╔══██║██╔══╝░░██╔══██║██║░░██║░╚═══██╗ ███████╗╚█████╔╝╚█████╔╝██║░╚═╝░██║██║ ██║░░██║███████╗██║░░██║██████╔╝██████╔╝ ╚══════╝░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚═╝ ╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝╚═════╝░╚═════╝░ */ import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract LoomiHeads is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; using ECDSA for bytes32; uint256 public maxSupply = 5555; uint256 public maxWL = 4300; uint256 public publicPrice = 0.088 ether; uint256 public presalePrice = 0.066 ether; uint256 public reservedForTeam = 100; uint256 public teamMints; uint256 public maxPublicMints = 3; bool public publicSaleStarted = false; bool public presaleStarted = false; bool public revealed = false; /* @dev Reference Address to Compare ECDSA Signature Fill this in with your own WL Address To learn more about signatures check out https://docs.ethers.io/v5/api/signer/#:~:text=A%20Signer%20in%20ethers%20is,on%20the%20sub%2Dclass%20used. */ address private whitelistAddress = 0xC95DBB35c338F05e35EF45B014b2EaB8cfbea78B; /*@dev holds the address for the LoomiHeads multiSig wallet ***multiSig wallet must be deployed before the main collection to avoid constructor arguments */ address private multiSigAddress = 0xf5b9fb36AEC4B49dE062F700d8eC6c791590A226; string public baseURI; string public notRevealedUri; string public uriSuffix = ".json"; // @dev these mappings track how many one has minted on public and WL respectively mapping(address =>uint256) public presaleMints; mapping(address =>uint256) public publicMints; constructor() ERC721A("Loomi Heads", "LOOMI") { // @dev make sure to keep baseUri as empty string to avoid your metadata being sniped setBaseURI(""); setNotRevealedURI("ipfs://QmfCjj2LMS91xVtMM9rqkKrCkfJRFnMwPdBnK1ptgmcBLQ/hidden.json"); } //START SIGNATURE VERIFICATION /* @dev helper function for WL sale returns true if reference address and signature match false otherwise Read more about ECDSA @openzeppelin https://docs.openzeppelin.com/contracts/2.x/utilities */ function verifyAddressSigner( address referenceAddress, bytes32 messageHash, bytes memory signature ) internal pure returns (bool) { return referenceAddress == messageHash.toEthSignedMessageHash().recover(signature); } //@dev, helper hash function for WL Mint function hashMessage(uint256 number, address sender) private pure returns (bytes32) { return keccak256(abi.encodePacked(number, sender)); } //END SIGNATURE VERIFICATION /* MINTING */ modifier onlyManic() { require(_msgSender() == 0x8De5224E60107a399f717d17e40eAF517c696402,"Not Manic"); _; } function teamMint(address to ,uint256 amount) external onlyManic nonReentrant{ uint256 supply = totalSupply(); require(teamMints + amount <= reservedForTeam); require(supply + amount <= maxSupply,"Sold Out"); teamMints+=amount; _safeMint(to,amount); } function publicMint(uint256 amount) external payable nonReentrant{ uint256 supply = totalSupply(); require(publicSaleStarted,"Public Sale Is Not Active"); require(supply + amount <= maxSupply,"Public Sold Out!"); require(msg.value >= amount * publicPrice,"Not Enough ETH Sent"); require(publicMints[msg.sender] + amount <=maxPublicMints,"You've Maxed Out Your Mints"); publicMints[msg.sender]+=amount; _safeMint(msg.sender,amount); } //@dev The Max Someone Can Mint is Encoded In The Signature. function presaleMint(uint256 amount, uint256 max, bytes memory signature) external payable nonReentrant { uint256 supply = totalSupply(); require(presaleStarted,"Pre-Sale Is Not Active"); require(!publicSaleStarted,"Public is Active"); require(supply + amount <= maxWL,"WL Sold Out!"); require(verifyAddressSigner(whitelistAddress,hashMessage(max, msg.sender),signature),"Not Authorized for WL"); require(msg.value >= amount * presalePrice,"Not Enough ETH Sent"); require(amount + presaleMints[msg.sender] <= max,"You've Maxed Out Your Mints"); presaleMints[msg.sender]+=amount; _safeMint(msg.sender,amount); } /* END MINT */ //END GETTERS //SETTERS function setMaxSupply(uint256 newSupply) external onlyOwner { require(newSupply <= maxSupply,"Can't Increase Supply"); maxSupply = newSupply; } function reveal() public onlyOwner { revealed = true; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setWhitelistAddress(address _newAddress) external onlyOwner { require(_newAddress != address(0), "CAN'T PUT 0 ADDRESS"); whitelistAddress = _newAddress; } function setUriSuffix(string memory _newSuffix) external onlyOwner{ uriSuffix = _newSuffix; } function setPublicStatus(bool status) external onlyOwner{ publicSaleStarted = status; } function setPresaleStatus(bool status) external onlyOwner{ presaleStarted = status; } function setPublicPrice(uint256 _newPrice) external onlyOwner { publicPrice = _newPrice; } function setPresalePrice(uint256 _newPrice) external onlyOwner{ presalePrice = _newPrice; } //END SETTERS // FACTORY function tokenURI(uint256 _tokenId) public view override(ERC721A) returns (string memory) { if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = baseURI; return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(),uriSuffix)) : ""; } function withdraw() public payable onlyOwner { uint256 balance = address(this).balance; (bool r1, ) = payable(0x9376b1b8931f3F02B4119665079fb37C91d05464).call{value: balance * 3125/10000}(""); require(r1); (bool r2, ) = payable(0x4D4658b37b1eaB41a7Dca14c7EF90A8835186853).call{value: balance * 1625/10000}(""); require(r2); (bool r3, ) = payable(0x5bBEC70750169fd75c6b428eca849273a25922aD).call{value: balance * 1500/10000}(""); require(r3); (bool r4, ) = payable(0x79FB7f4F1eD90DCC3a9a2200eFf843038C5DFcB5).call{value: balance * 1400/10000}(""); require(r4); (bool r5, ) = payable(0x0c2f8b7D7A7C8979F8297c14d27e76E7909ac1c0).call{value: balance * 1500/10000}(""); require(r5); (bool r6, ) = payable(0xd9d426f049937F4664d6D450D66c6FD46D3E868D).call{value: balance * 500/10000}(""); require(r6); (bool r7, ) = payable(0x6884efd53b2650679996D3Ea206D116356dA08a9).call{value: balance * 350/10000}(""); require(r7); } /* Mutli-Sig Setup*/ // MODIFIER modifier onlyAdmin() { require(LoomisMultiSig(multiSigAddress).isAdmin(_msgSender()),"Not Admin"); _; } function isAdmin() public view returns(bool){ return LoomisMultiSig(multiSigAddress).isAdmin(_msgSender()); } /* @dev override transferOwnership from Ownable transfer ownership with multisig */ function transferOwnership(address newOwner) public virtual override(Ownable) onlyAdmin nonReentrant { require(newOwner != address(0), "Ownable: new owner is the zero address"); require(LoomisMultiSig(multiSigAddress).isTransferOwnershipApproved(),"MultiSig Hasn't Approved Transfer Ownership"); LoomisMultiSig(multiSigAddress).incrementBallotNumber(); _transferOwnership(newOwner); } } interface LoomisMultiSig { function isAdmin(address sender) external view returns(bool); function isTransferOwnershipApproved() external view returns(bool); function incrementBallotNumber() external; }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[],"name":"baseURI","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":[],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedForTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPublicStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"setWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526115b3600a556110cc600b55670138a388a43c0000600c5566ea7aa67b2d0000600d556064600e5560036010556000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055506000601160026101000a81548160ff02191690831515021790555073c95dbb35c338f05e35ef45b014b2eab8cfbea78b601160036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f5b9fb36aec4b49de062f700d8ec6c791590a226601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601590805190602001906200017992919062000509565b503480156200018757600080fd5b506040518060400160405280600b81526020017f4c6f6f6d692048656164730000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4c4f4f4d4900000000000000000000000000000000000000000000000000000081525081600290805190602001906200020c92919062000509565b5080600390805190602001906200022592919062000509565b5062000236620002b660201b60201c565b60008190555050506200025e62000252620002bb60201b60201c565b620002c360201b60201c565b600160098190555062000286604051806020016040528060008152506200038960201b60201c565b620002b0604051806080016040528060418152602001620060d9604191396200043460201b60201c565b620006a1565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000399620002bb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003bf620004df60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000418576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040f90620005e0565b60405180910390fd5b80601390805190602001906200043092919062000509565b5050565b62000444620002bb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200046a620004df60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ba90620005e0565b60405180910390fd5b8060149080519060200190620004db92919062000509565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620005179062000613565b90600052602060002090601f0160209004810192826200053b576000855562000587565b82601f106200055657805160ff191683800117855562000587565b8280016001018555821562000587579182015b828111156200058657825182559160200191906001019062000569565b5b5090506200059691906200059a565b5090565b5b80821115620005b55760008160009055506001016200059b565b5090565b6000620005c860208362000602565b9150620005d58262000678565b602082019050919050565b60006020820190508181036000830152620005fb81620005b9565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200062c57607f821691505b6020821081141562000643576200064262000649565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b615a2880620006b16000396000f3fe6080604052600436106102875760003560e01c806370a082311161015a578063b6db75a0116100c1578063d5abeb011161007a578063d5abeb0114610967578063d63ba14914610992578063e985e9c5146109ae578063f2c4ce1e146109eb578063f2fde38b14610a14578063ff50188514610a3d57610287565b8063b6db75a014610857578063b88d4fde14610882578063c6275255146108ab578063c7b0dcbc146108d4578063c87b56dd146108ff578063cc2f10d41461093c57610287565b8063a224c74511610113578063a224c7451461076f578063a22cb46514610798578063a2e91477146107c1578063a475b5dd146107ec578063a945bf8014610803578063add5a4fa1461082e57610287565b806370a0823114610671578063715018a6146106ae5780638895283f146106c55780638da5cb5b146106ee578063930079a21461071957806395d89b411461074457610287565b80632db11544116101fe57806351830227116101b757806351830227146105615780635503a0e81461058c57806355f804b3146105b75780636352211e146105e05780636c0360eb1461061d5780636f8b44b01461064857610287565b80632db11544146104815780633549345e1461049d578063378f33be146104c65780633add14c8146104f15780633ccfd60b1461052e57806342842e0e1461053857610287565b8063081c8c4411610250578063081c8c4414610387578063095ea7b3146103b257806316ba10e0146103db57806318160ddd146104045780631c5b64e21461042f57806323b872dd1461045857610287565b80620e7fa81461028c57806301ffc9a7146102b757806304549d6f146102f457806306fdde031461031f578063081812fc1461034a575b600080fd5b34801561029857600080fd5b506102a1610a7a565b6040516102ae919061502d565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d991906145f6565b610a80565b6040516102eb9190614d0b565b60405180910390f35b34801561030057600080fd5b50610309610b62565b6040516103169190614d0b565b60405180910390f35b34801561032b57600080fd5b50610334610b75565b6040516103419190614d6b565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190614699565b610c07565b60405161037e9190614ca4565b60405180910390f35b34801561039357600080fd5b5061039c610c83565b6040516103a99190614d6b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d4919061455c565b610d11565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190614650565b610e1c565b005b34801561041057600080fd5b50610419610eb2565b604051610426919061502d565b60405180910390f35b34801561043b57600080fd5b506104566004803603810190610451919061459c565b610ec9565b005b34801561046457600080fd5b5061047f600480360381019061047a9190614446565b610f62565b005b61049b60048036038101906104969190614699565b610f72565b005b3480156104a957600080fd5b506104c460048036038101906104bf9190614699565b6111b6565b005b3480156104d257600080fd5b506104db61123c565b6040516104e8919061502d565b60405180910390f35b3480156104fd57600080fd5b50610518600480360381019061051391906143d9565b611242565b604051610525919061502d565b60405180910390f35b61053661125a565b005b34801561054457600080fd5b5061055f600480360381019061055a9190614446565b611761565b005b34801561056d57600080fd5b50610576611781565b6040516105839190614d0b565b60405180910390f35b34801561059857600080fd5b506105a1611794565b6040516105ae9190614d6b565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d99190614650565b611822565b005b3480156105ec57600080fd5b5061060760048036038101906106029190614699565b6118b8565b6040516106149190614ca4565b60405180910390f35b34801561062957600080fd5b506106326118ce565b60405161063f9190614d6b565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a9190614699565b61195c565b005b34801561067d57600080fd5b50610698600480360381019061069391906143d9565b611a27565b6040516106a5919061502d565b60405180910390f35b3480156106ba57600080fd5b506106c3611af7565b005b3480156106d157600080fd5b506106ec60048036038101906106e7919061459c565b611b7f565b005b3480156106fa57600080fd5b50610703611c18565b6040516107109190614ca4565b60405180910390f35b34801561072557600080fd5b5061072e611c42565b60405161073b919061502d565b60405180910390f35b34801561075057600080fd5b50610759611c48565b6040516107669190614d6b565b60405180910390f35b34801561077b57600080fd5b50610796600480360381019061079191906143d9565b611cda565b005b3480156107a457600080fd5b506107bf60048036038101906107ba919061451c565b611e0a565b005b3480156107cd57600080fd5b506107d6611f82565b6040516107e39190614d0b565b60405180910390f35b3480156107f857600080fd5b50610801611f95565b005b34801561080f57600080fd5b5061081861202e565b604051610825919061502d565b60405180910390f35b34801561083a57600080fd5b506108556004803603810190610850919061455c565b612034565b005b34801561086357600080fd5b5061086c6121b3565b6040516108799190614d0b565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190614499565b61226c565b005b3480156108b757600080fd5b506108d260048036038101906108cd9190614699565b6122e8565b005b3480156108e057600080fd5b506108e961236e565b6040516108f6919061502d565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190614699565b612374565b6040516109339190614d6b565b60405180910390f35b34801561094857600080fd5b50610951612508565b60405161095e919061502d565b60405180910390f35b34801561097357600080fd5b5061097c61250e565b604051610989919061502d565b60405180910390f35b6109ac60048036038101906109a791906146c6565b612514565b005b3480156109ba57600080fd5b506109d560048036038101906109d09190614406565b61281d565b6040516109e29190614d0b565b60405180910390f35b3480156109f757600080fd5b50610a126004803603810190610a0d9190614650565b6128b1565b005b348015610a2057600080fd5b50610a3b6004803603810190610a3691906143d9565b612947565b005b348015610a4957600080fd5b50610a646004803603810190610a5f91906143d9565b612c6b565b604051610a71919061502d565b60405180910390f35b600d5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b5b5750610b5a82612c83565b5b9050919050565b601160019054906101000a900460ff1681565b606060028054610b8490615314565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb090615314565b8015610bfd5780601f10610bd257610100808354040283529160200191610bfd565b820191906000526020600020905b815481529060010190602001808311610be057829003601f168201915b5050505050905090565b6000610c1282612ced565b610c48576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60148054610c9090615314565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbc90615314565b8015610d095780601f10610cde57610100808354040283529160200191610d09565b820191906000526020600020905b815481529060010190602001808311610cec57829003601f168201915b505050505081565b6000610d1c826118b8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d84576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da3612d3b565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dd55750610dd381610dce612d3b565b61281d565b155b15610e0c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e17838383612d43565b505050565b610e24612d3b565b73ffffffffffffffffffffffffffffffffffffffff16610e42611c18565b73ffffffffffffffffffffffffffffffffffffffff1614610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90614fad565b60405180910390fd5b8060159080519060200190610eae929190614195565b5050565b6000610ebc612df5565b6001546000540303905090565b610ed1612d3b565b73ffffffffffffffffffffffffffffffffffffffff16610eef611c18565b73ffffffffffffffffffffffffffffffffffffffff1614610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90614fad565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b610f6d838383612dfa565b505050565b60026009541415610fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faf9061500d565b60405180910390fd5b60026009819055506000610fca610eb2565b9050601160009054906101000a900460ff1661101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290614ecd565b60405180910390fd5b600a54828261102a9190615132565b111561106b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106290614ead565b60405180910390fd5b600c548261107991906151b9565b3410156110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290614f6d565b60405180910390fd5b60105482601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111099190615132565b111561114a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114190614fcd565b60405180910390fd5b81601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111999190615132565b925050819055506111aa33836132b0565b50600160098190555050565b6111be612d3b565b73ffffffffffffffffffffffffffffffffffffffff166111dc611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122990614fad565b60405180910390fd5b80600d8190555050565b600f5481565b60176020528060005260406000206000915090505481565b611262612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611280611c18565b73ffffffffffffffffffffffffffffffffffffffff16146112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd90614fad565b60405180910390fd5b60004790506000739376b1b8931f3f02b4119665079fb37c91d0546473ffffffffffffffffffffffffffffffffffffffff16612710610c358461131991906151b9565b6113239190615188565b60405161132f90614c63565b60006040518083038185875af1925050503d806000811461136c576040519150601f19603f3d011682016040523d82523d6000602084013e611371565b606091505b505090508061137f57600080fd5b6000734d4658b37b1eab41a7dca14c7ef90a883518685373ffffffffffffffffffffffffffffffffffffffff16612710610659856113bd91906151b9565b6113c79190615188565b6040516113d390614c63565b60006040518083038185875af1925050503d8060008114611410576040519150601f19603f3d011682016040523d82523d6000602084013e611415565b606091505b505090508061142357600080fd5b6000735bbec70750169fd75c6b428eca849273a25922ad73ffffffffffffffffffffffffffffffffffffffff166127106105dc8661146191906151b9565b61146b9190615188565b60405161147790614c63565b60006040518083038185875af1925050503d80600081146114b4576040519150601f19603f3d011682016040523d82523d6000602084013e6114b9565b606091505b50509050806114c757600080fd5b60007379fb7f4f1ed90dcc3a9a2200eff843038c5dfcb573ffffffffffffffffffffffffffffffffffffffff166127106105788761150591906151b9565b61150f9190615188565b60405161151b90614c63565b60006040518083038185875af1925050503d8060008114611558576040519150601f19603f3d011682016040523d82523d6000602084013e61155d565b606091505b505090508061156b57600080fd5b6000730c2f8b7d7a7c8979f8297c14d27e76e7909ac1c073ffffffffffffffffffffffffffffffffffffffff166127106105dc886115a991906151b9565b6115b39190615188565b6040516115bf90614c63565b60006040518083038185875af1925050503d80600081146115fc576040519150601f19603f3d011682016040523d82523d6000602084013e611601565b606091505b505090508061160f57600080fd5b600073d9d426f049937f4664d6d450d66c6fd46d3e868d73ffffffffffffffffffffffffffffffffffffffff166127106101f48961164d91906151b9565b6116579190615188565b60405161166390614c63565b60006040518083038185875af1925050503d80600081146116a0576040519150601f19603f3d011682016040523d82523d6000602084013e6116a5565b606091505b50509050806116b357600080fd5b6000736884efd53b2650679996d3ea206d116356da08a973ffffffffffffffffffffffffffffffffffffffff1661271061015e8a6116f191906151b9565b6116fb9190615188565b60405161170790614c63565b60006040518083038185875af1925050503d8060008114611744576040519150601f19603f3d011682016040523d82523d6000602084013e611749565b606091505b505090508061175757600080fd5b5050505050505050565b61177c8383836040518060200160405280600081525061226c565b505050565b601160029054906101000a900460ff1681565b601580546117a190615314565b80601f01602080910402602001604051908101604052809291908181526020018280546117cd90615314565b801561181a5780601f106117ef5761010080835404028352916020019161181a565b820191906000526020600020905b8154815290600101906020018083116117fd57829003601f168201915b505050505081565b61182a612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611848611c18565b73ffffffffffffffffffffffffffffffffffffffff161461189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590614fad565b60405180910390fd5b80601390805190602001906118b4929190614195565b5050565b60006118c3826132ce565b600001519050919050565b601380546118db90615314565b80601f016020809104026020016040519081016040528092919081815260200182805461190790615314565b80156119545780601f1061192957610100808354040283529160200191611954565b820191906000526020600020905b81548152906001019060200180831161193757829003601f168201915b505050505081565b611964612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611982611c18565b73ffffffffffffffffffffffffffffffffffffffff16146119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90614fad565b60405180910390fd5b600a54811115611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1490614dcd565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a8f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611aff612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611b1d611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a90614fad565b60405180910390fd5b611b7d600061355d565b565b611b87612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611ba5611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf290614fad565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b606060038054611c5790615314565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8390615314565b8015611cd05780601f10611ca557610100808354040283529160200191611cd0565b820191906000526020600020905b815481529060010190602001808311611cb357829003601f168201915b5050505050905090565b611ce2612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611d00611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90614fad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd90614f0d565b60405180910390fd5b80601160036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e12612d3b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e77576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e84612d3b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f31612d3b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f769190614d0b565b60405180910390a35050565b601160009054906101000a900460ff1681565b611f9d612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611fbb611c18565b73ffffffffffffffffffffffffffffffffffffffff1614612011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200890614fad565b60405180910390fd5b6001601160026101000a81548160ff021916908315150217905550565b600c5481565b738de5224e60107a399f717d17e40eaf517c69640273ffffffffffffffffffffffffffffffffffffffff16612067612d3b565b73ffffffffffffffffffffffffffffffffffffffff16146120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614eed565b60405180910390fd5b60026009541415612103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fa9061500d565b60405180910390fd5b60026009819055506000612115610eb2565b9050600e5482600f546121289190615132565b111561213357600080fd5b600a5482826121429190615132565b1115612183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217a90614e0d565b60405180910390fd5b81600f60008282546121959190615132565b925050819055506121a683836132b0565b5060016009819055505050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166324d7806c6121fb612d3b565b6040518263ffffffff1660e01b81526004016122179190614ca4565b60206040518083038186803b15801561222f57600080fd5b505afa158015612243573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226791906145c9565b905090565b612277848484612dfa565b6122968373ffffffffffffffffffffffffffffffffffffffff16613623565b80156122ab57506122a984848484613646565b155b156122e2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6122f0612d3b565b73ffffffffffffffffffffffffffffffffffffffff1661230e611c18565b73ffffffffffffffffffffffffffffffffffffffff1614612364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235b90614fad565b60405180910390fd5b80600c8190555050565b60105481565b606060001515601160029054906101000a900460ff1615151415612424576014805461239f90615314565b80601f01602080910402602001604051908101604052809291908181526020018280546123cb90615314565b80156124185780601f106123ed57610100808354040283529160200191612418565b820191906000526020600020905b8154815290600101906020018083116123fb57829003601f168201915b50505050509050612503565b60006013805461243390615314565b80601f016020809104026020016040519081016040528092919081815260200182805461245f90615314565b80156124ac5780601f10612481576101008083540402835291602001916124ac565b820191906000526020600020905b81548152906001019060200180831161248f57829003601f168201915b5050505050905060008151116124d157604051806020016040528060008152506124ff565b806124db846137a6565b60156040516020016124ef93929190614c0c565b6040516020818303038152906040525b9150505b919050565b600b5481565b600a5481565b6002600954141561255a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125519061500d565b60405180910390fd5b6002600981905550600061256c610eb2565b9050601160019054906101000a900460ff166125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b490614fed565b60405180910390fd5b601160009054906101000a900460ff161561260d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260490614f8d565b60405180910390fd5b600b54848261261c9190615132565b111561265d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265490614e6d565b60405180910390fd5b612693601160039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661268d8533613907565b8461393a565b6126d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c990614f4d565b60405180910390fd5b600d54846126e091906151b9565b341015612722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271990614f6d565b60405180910390fd5b82601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561276e9190615132565b11156127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690614fcd565b60405180910390fd5b83601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127fe9190615132565b9250508190555061280f33856132b0565b506001600981905550505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128b9612d3b565b73ffffffffffffffffffffffffffffffffffffffff166128d7611c18565b73ffffffffffffffffffffffffffffffffffffffff161461292d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292490614fad565b60405180910390fd5b8060149080519060200190612943929190614195565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166324d7806c61298d612d3b565b6040518263ffffffff1660e01b81526004016129a99190614ca4565b60206040518083038186803b1580156129c157600080fd5b505afa1580156129d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f991906145c9565b612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90614e8d565b60405180910390fd5b60026009541415612a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a759061500d565b60405180910390fd5b6002600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aed90614e2d565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338664c356040518163ffffffff1660e01b815260040160206040518083038186803b158015612b5e57600080fd5b505afa158015612b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9691906145c9565b612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc90614ded565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ced46dce6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612c3f57600080fd5b505af1158015612c53573d6000803e3d6000fd5b50505050612c608161355d565b600160098190555050565b60166020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612cf8612df5565b11158015612d07575060005482105b8015612d34575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612e05826132ce565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e70576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612e91612d3b565b73ffffffffffffffffffffffffffffffffffffffff161480612ec05750612ebf85612eba612d3b565b61281d565b5b80612f055750612ece612d3b565b73ffffffffffffffffffffffffffffffffffffffff16612eed84610c07565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612f3e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612fa5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fb2858585600161398e565b612fbe60008487612d43565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561323e57600054821461323d57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132a98585856001613994565b5050505050565b6132ca82826040518060200160405280600081525061399a565b5050565b6132d661421b565b6000829050806132e4612df5565b111580156132f3575060005481105b15613526576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161352457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613408578092505050613558565b5b60011561352357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461351e578092505050613558565b613409565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366c612d3b565b8786866040518563ffffffff1660e01b815260040161368e9493929190614cbf565b602060405180830381600087803b1580156136a857600080fd5b505af19250505080156136d957506040513d601f19601f820116820180604052508101906136d69190614623565b60015b613753573d8060008114613709576040519150601f19603f3d011682016040523d82523d6000602084013e61370e565b606091505b5060008151141561374b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156137ee576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613902565b600082905060005b6000821461382057808061380990615377565b915050600a826138199190615188565b91506137f6565b60008167ffffffffffffffff81111561383c5761383b615514565b5b6040519080825280601f01601f19166020018201604052801561386e5781602001600182028036833780820191505090505b5090505b600085146138fb576001826138879190615213565b9150600a8561389691906153f8565b60306138a29190615132565b60f81b8183815181106138b8576138b76154e5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138f49190615188565b9450613872565b8093505050505b919050565b6000828260405160200161391c929190614c78565b60405160208183030381529060405280519060200120905092915050565b600061395782613949856139ac565b6139dc90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490509392505050565b50505050565b50505050565b6139a78383836001613a03565b505050565b6000816040516020016139bf9190614c3d565b604051602081830303815290604052805190602001209050919050565b60008060006139eb8585613dd1565b915091506139f881613e54565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613a70576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613aab576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613ab8600086838761398e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613c825750613c818773ffffffffffffffffffffffffffffffffffffffff16613623565b5b15613d48575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cf76000888480600101955088613646565b613d2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613c88578260005414613d4357600080fd5b613db4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d49575b816000819055505050613dca6000868387613994565b5050505050565b600080604183511415613e135760008060006020860151925060408601519150606086015160001a9050613e0787828585614029565b94509450505050613e4d565b604083511415613e44576000806020850151915060408501519050613e39868383614136565b935093505050613e4d565b60006002915091505b9250929050565b60006004811115613e6857613e67615487565b5b816004811115613e7b57613e7a615487565b5b1415613e8657614026565b60016004811115613e9a57613e99615487565b5b816004811115613ead57613eac615487565b5b1415613eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee590614d8d565b60405180910390fd5b60026004811115613f0257613f01615487565b5b816004811115613f1557613f14615487565b5b1415613f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f4d90614dad565b60405180910390fd5b60036004811115613f6a57613f69615487565b5b816004811115613f7d57613f7c615487565b5b1415613fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb590614e4d565b60405180910390fd5b600480811115613fd157613fd0615487565b5b816004811115613fe457613fe3615487565b5b1415614025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161401c90614f2d565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561406457600060039150915061412d565b601b8560ff161415801561407c5750601c8560ff1614155b1561408e57600060049150915061412d565b6000600187878787604051600081526020016040526040516140b39493929190614d26565b6020604051602081039080840390855afa1580156140d5573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156141245760006001925092505061412d565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6141799190615132565b905061418787828885614029565b935093505050935093915050565b8280546141a190615314565b90600052602060002090601f0160209004810192826141c3576000855561420a565b82601f106141dc57805160ff191683800117855561420a565b8280016001018555821561420a579182015b828111156142095782518255916020019190600101906141ee565b5b509050614217919061425e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561427757600081600090555060010161425f565b5090565b600061428e6142898461506d565b615048565b9050828152602081018484840111156142aa576142a9615548565b5b6142b58482856152d2565b509392505050565b60006142d06142cb8461509e565b615048565b9050828152602081018484840111156142ec576142eb615548565b5b6142f78482856152d2565b509392505050565b60008135905061430e81615996565b92915050565b600081359050614323816159ad565b92915050565b600081519050614338816159ad565b92915050565b60008135905061434d816159c4565b92915050565b600081519050614362816159c4565b92915050565b600082601f83011261437d5761437c615543565b5b813561438d84826020860161427b565b91505092915050565b600082601f8301126143ab576143aa615543565b5b81356143bb8482602086016142bd565b91505092915050565b6000813590506143d3816159db565b92915050565b6000602082840312156143ef576143ee615552565b5b60006143fd848285016142ff565b91505092915050565b6000806040838503121561441d5761441c615552565b5b600061442b858286016142ff565b925050602061443c858286016142ff565b9150509250929050565b60008060006060848603121561445f5761445e615552565b5b600061446d868287016142ff565b935050602061447e868287016142ff565b925050604061448f868287016143c4565b9150509250925092565b600080600080608085870312156144b3576144b2615552565b5b60006144c1878288016142ff565b94505060206144d2878288016142ff565b93505060406144e3878288016143c4565b925050606085013567ffffffffffffffff8111156145045761450361554d565b5b61451087828801614368565b91505092959194509250565b6000806040838503121561453357614532615552565b5b6000614541858286016142ff565b925050602061455285828601614314565b9150509250929050565b6000806040838503121561457357614572615552565b5b6000614581858286016142ff565b9250506020614592858286016143c4565b9150509250929050565b6000602082840312156145b2576145b1615552565b5b60006145c084828501614314565b91505092915050565b6000602082840312156145df576145de615552565b5b60006145ed84828501614329565b91505092915050565b60006020828403121561460c5761460b615552565b5b600061461a8482850161433e565b91505092915050565b60006020828403121561463957614638615552565b5b600061464784828501614353565b91505092915050565b60006020828403121561466657614665615552565b5b600082013567ffffffffffffffff8111156146845761468361554d565b5b61469084828501614396565b91505092915050565b6000602082840312156146af576146ae615552565b5b60006146bd848285016143c4565b91505092915050565b6000806000606084860312156146df576146de615552565b5b60006146ed868287016143c4565b93505060206146fe868287016143c4565b925050604084013567ffffffffffffffff81111561471f5761471e61554d565b5b61472b86828701614368565b9150509250925092565b61473e81615247565b82525050565b61475561475082615247565b6153c0565b82525050565b61476481615259565b82525050565b61477381615265565b82525050565b61478a61478582615265565b6153d2565b82525050565b600061479b826150e4565b6147a581856150fa565b93506147b58185602086016152e1565b6147be81615557565b840191505092915050565b60006147d4826150ef565b6147de8185615116565b93506147ee8185602086016152e1565b6147f781615557565b840191505092915050565b600061480d826150ef565b6148178185615127565b93506148278185602086016152e1565b80840191505092915050565b6000815461484081615314565b61484a8186615127565b945060018216600081146148655760018114614876576148a9565b60ff198316865281860193506148a9565b61487f856150cf565b60005b838110156148a157815481890152600182019150602081019050614882565b838801955050505b50505092915050565b60006148bf601883615116565b91506148ca82615575565b602082019050919050565b60006148e2601f83615116565b91506148ed8261559e565b602082019050919050565b6000614905601c83615127565b9150614910826155c7565b601c82019050919050565b6000614928601583615116565b9150614933826155f0565b602082019050919050565b600061494b602b83615116565b915061495682615619565b604082019050919050565b600061496e600883615116565b915061497982615668565b602082019050919050565b6000614991602683615116565b915061499c82615691565b604082019050919050565b60006149b4602283615116565b91506149bf826156e0565b604082019050919050565b60006149d7600c83615116565b91506149e28261572f565b602082019050919050565b60006149fa600983615116565b9150614a0582615758565b602082019050919050565b6000614a1d601083615116565b9150614a2882615781565b602082019050919050565b6000614a40601983615116565b9150614a4b826157aa565b602082019050919050565b6000614a63600983615116565b9150614a6e826157d3565b602082019050919050565b6000614a86601383615116565b9150614a91826157fc565b602082019050919050565b6000614aa9602283615116565b9150614ab482615825565b604082019050919050565b6000614acc601583615116565b9150614ad782615874565b602082019050919050565b6000614aef601383615116565b9150614afa8261589d565b602082019050919050565b6000614b12601083615116565b9150614b1d826158c6565b602082019050919050565b6000614b35602083615116565b9150614b40826158ef565b602082019050919050565b6000614b58601b83615116565b9150614b6382615918565b602082019050919050565b6000614b7b601683615116565b9150614b8682615941565b602082019050919050565b6000614b9e60008361510b565b9150614ba98261596a565b600082019050919050565b6000614bc1601f83615116565b9150614bcc8261596d565b602082019050919050565b614be0816152bb565b82525050565b614bf7614bf2826152bb565b6153ee565b82525050565b614c06816152c5565b82525050565b6000614c188286614802565b9150614c248285614802565b9150614c308284614833565b9150819050949350505050565b6000614c48826148f8565b9150614c548284614779565b60208201915081905092915050565b6000614c6e82614b91565b9150819050919050565b6000614c848285614be6565b602082019150614c948284614744565b6014820191508190509392505050565b6000602082019050614cb96000830184614735565b92915050565b6000608082019050614cd46000830187614735565b614ce16020830186614735565b614cee6040830185614bd7565b8181036060830152614d008184614790565b905095945050505050565b6000602082019050614d20600083018461475b565b92915050565b6000608082019050614d3b600083018761476a565b614d486020830186614bfd565b614d55604083018561476a565b614d62606083018461476a565b95945050505050565b60006020820190508181036000830152614d8581846147c9565b905092915050565b60006020820190508181036000830152614da6816148b2565b9050919050565b60006020820190508181036000830152614dc6816148d5565b9050919050565b60006020820190508181036000830152614de68161491b565b9050919050565b60006020820190508181036000830152614e068161493e565b9050919050565b60006020820190508181036000830152614e2681614961565b9050919050565b60006020820190508181036000830152614e4681614984565b9050919050565b60006020820190508181036000830152614e66816149a7565b9050919050565b60006020820190508181036000830152614e86816149ca565b9050919050565b60006020820190508181036000830152614ea6816149ed565b9050919050565b60006020820190508181036000830152614ec681614a10565b9050919050565b60006020820190508181036000830152614ee681614a33565b9050919050565b60006020820190508181036000830152614f0681614a56565b9050919050565b60006020820190508181036000830152614f2681614a79565b9050919050565b60006020820190508181036000830152614f4681614a9c565b9050919050565b60006020820190508181036000830152614f6681614abf565b9050919050565b60006020820190508181036000830152614f8681614ae2565b9050919050565b60006020820190508181036000830152614fa681614b05565b9050919050565b60006020820190508181036000830152614fc681614b28565b9050919050565b60006020820190508181036000830152614fe681614b4b565b9050919050565b6000602082019050818103600083015261500681614b6e565b9050919050565b6000602082019050818103600083015261502681614bb4565b9050919050565b60006020820190506150426000830184614bd7565b92915050565b6000615052615063565b905061505e8282615346565b919050565b6000604051905090565b600067ffffffffffffffff82111561508857615087615514565b5b61509182615557565b9050602081019050919050565b600067ffffffffffffffff8211156150b9576150b8615514565b5b6150c282615557565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061513d826152bb565b9150615148836152bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561517d5761517c615429565b5b828201905092915050565b6000615193826152bb565b915061519e836152bb565b9250826151ae576151ad615458565b5b828204905092915050565b60006151c4826152bb565b91506151cf836152bb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561520857615207615429565b5b828202905092915050565b600061521e826152bb565b9150615229836152bb565b92508282101561523c5761523b615429565b5b828203905092915050565b60006152528261529b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156152ff5780820151818401526020810190506152e4565b8381111561530e576000848401525b50505050565b6000600282049050600182168061532c57607f821691505b602082108114156153405761533f6154b6565b5b50919050565b61534f82615557565b810181811067ffffffffffffffff8211171561536e5761536d615514565b5b80604052505050565b6000615382826152bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153b5576153b4615429565b5b600182019050919050565b60006153cb826153dc565b9050919050565b6000819050919050565b60006153e782615568565b9050919050565b6000819050919050565b6000615403826152bb565b915061540e836152bb565b92508261541e5761541d615458565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f43616e277420496e63726561736520537570706c790000000000000000000000600082015250565b7f4d756c7469536967204861736e277420417070726f766564205472616e73666560008201527f72204f776e657273686970000000000000000000000000000000000000000000602082015250565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f574c20536f6c64204f7574210000000000000000000000000000000000000000600082015250565b7f4e6f742041646d696e0000000000000000000000000000000000000000000000600082015250565b7f5075626c696320536f6c64204f75742100000000000000000000000000000000600082015250565b7f5075626c69632053616c65204973204e6f742041637469766500000000000000600082015250565b7f4e6f74204d616e69630000000000000000000000000000000000000000000000600082015250565b7f43414e2754205055542030204144445245535300000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420417574686f72697a656420666f7220574c0000000000000000000000600082015250565b7f4e6f7420456e6f756768204554482053656e7400000000000000000000000000600082015250565b7f5075626c69632069732041637469766500000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f596f75277665204d61786564204f757420596f7572204d696e74730000000000600082015250565b7f5072652d53616c65204973204e6f742041637469766500000000000000000000600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61599f81615247565b81146159aa57600080fd5b50565b6159b681615259565b81146159c157600080fd5b50565b6159cd8161526f565b81146159d857600080fd5b50565b6159e4816152bb565b81146159ef57600080fd5b5056fea2646970667358221220463e9b294f7f9747f4af756076f3c02952780e30a8e94c1370479dd11433e64564736f6c63430008070033697066733a2f2f516d66436a6a324c4d5339317856744d4d3972716b4b72436b664a52466e4d775064426e4b317074676d63424c512f68696464656e2e6a736f6e
Deployed Bytecode
0x6080604052600436106102875760003560e01c806370a082311161015a578063b6db75a0116100c1578063d5abeb011161007a578063d5abeb0114610967578063d63ba14914610992578063e985e9c5146109ae578063f2c4ce1e146109eb578063f2fde38b14610a14578063ff50188514610a3d57610287565b8063b6db75a014610857578063b88d4fde14610882578063c6275255146108ab578063c7b0dcbc146108d4578063c87b56dd146108ff578063cc2f10d41461093c57610287565b8063a224c74511610113578063a224c7451461076f578063a22cb46514610798578063a2e91477146107c1578063a475b5dd146107ec578063a945bf8014610803578063add5a4fa1461082e57610287565b806370a0823114610671578063715018a6146106ae5780638895283f146106c55780638da5cb5b146106ee578063930079a21461071957806395d89b411461074457610287565b80632db11544116101fe57806351830227116101b757806351830227146105615780635503a0e81461058c57806355f804b3146105b75780636352211e146105e05780636c0360eb1461061d5780636f8b44b01461064857610287565b80632db11544146104815780633549345e1461049d578063378f33be146104c65780633add14c8146104f15780633ccfd60b1461052e57806342842e0e1461053857610287565b8063081c8c4411610250578063081c8c4414610387578063095ea7b3146103b257806316ba10e0146103db57806318160ddd146104045780631c5b64e21461042f57806323b872dd1461045857610287565b80620e7fa81461028c57806301ffc9a7146102b757806304549d6f146102f457806306fdde031461031f578063081812fc1461034a575b600080fd5b34801561029857600080fd5b506102a1610a7a565b6040516102ae919061502d565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d991906145f6565b610a80565b6040516102eb9190614d0b565b60405180910390f35b34801561030057600080fd5b50610309610b62565b6040516103169190614d0b565b60405180910390f35b34801561032b57600080fd5b50610334610b75565b6040516103419190614d6b565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190614699565b610c07565b60405161037e9190614ca4565b60405180910390f35b34801561039357600080fd5b5061039c610c83565b6040516103a99190614d6b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d4919061455c565b610d11565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190614650565b610e1c565b005b34801561041057600080fd5b50610419610eb2565b604051610426919061502d565b60405180910390f35b34801561043b57600080fd5b506104566004803603810190610451919061459c565b610ec9565b005b34801561046457600080fd5b5061047f600480360381019061047a9190614446565b610f62565b005b61049b60048036038101906104969190614699565b610f72565b005b3480156104a957600080fd5b506104c460048036038101906104bf9190614699565b6111b6565b005b3480156104d257600080fd5b506104db61123c565b6040516104e8919061502d565b60405180910390f35b3480156104fd57600080fd5b50610518600480360381019061051391906143d9565b611242565b604051610525919061502d565b60405180910390f35b61053661125a565b005b34801561054457600080fd5b5061055f600480360381019061055a9190614446565b611761565b005b34801561056d57600080fd5b50610576611781565b6040516105839190614d0b565b60405180910390f35b34801561059857600080fd5b506105a1611794565b6040516105ae9190614d6b565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d99190614650565b611822565b005b3480156105ec57600080fd5b5061060760048036038101906106029190614699565b6118b8565b6040516106149190614ca4565b60405180910390f35b34801561062957600080fd5b506106326118ce565b60405161063f9190614d6b565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a9190614699565b61195c565b005b34801561067d57600080fd5b50610698600480360381019061069391906143d9565b611a27565b6040516106a5919061502d565b60405180910390f35b3480156106ba57600080fd5b506106c3611af7565b005b3480156106d157600080fd5b506106ec60048036038101906106e7919061459c565b611b7f565b005b3480156106fa57600080fd5b50610703611c18565b6040516107109190614ca4565b60405180910390f35b34801561072557600080fd5b5061072e611c42565b60405161073b919061502d565b60405180910390f35b34801561075057600080fd5b50610759611c48565b6040516107669190614d6b565b60405180910390f35b34801561077b57600080fd5b50610796600480360381019061079191906143d9565b611cda565b005b3480156107a457600080fd5b506107bf60048036038101906107ba919061451c565b611e0a565b005b3480156107cd57600080fd5b506107d6611f82565b6040516107e39190614d0b565b60405180910390f35b3480156107f857600080fd5b50610801611f95565b005b34801561080f57600080fd5b5061081861202e565b604051610825919061502d565b60405180910390f35b34801561083a57600080fd5b506108556004803603810190610850919061455c565b612034565b005b34801561086357600080fd5b5061086c6121b3565b6040516108799190614d0b565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190614499565b61226c565b005b3480156108b757600080fd5b506108d260048036038101906108cd9190614699565b6122e8565b005b3480156108e057600080fd5b506108e961236e565b6040516108f6919061502d565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190614699565b612374565b6040516109339190614d6b565b60405180910390f35b34801561094857600080fd5b50610951612508565b60405161095e919061502d565b60405180910390f35b34801561097357600080fd5b5061097c61250e565b604051610989919061502d565b60405180910390f35b6109ac60048036038101906109a791906146c6565b612514565b005b3480156109ba57600080fd5b506109d560048036038101906109d09190614406565b61281d565b6040516109e29190614d0b565b60405180910390f35b3480156109f757600080fd5b50610a126004803603810190610a0d9190614650565b6128b1565b005b348015610a2057600080fd5b50610a3b6004803603810190610a3691906143d9565b612947565b005b348015610a4957600080fd5b50610a646004803603810190610a5f91906143d9565b612c6b565b604051610a71919061502d565b60405180910390f35b600d5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b5b5750610b5a82612c83565b5b9050919050565b601160019054906101000a900460ff1681565b606060028054610b8490615314565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb090615314565b8015610bfd5780601f10610bd257610100808354040283529160200191610bfd565b820191906000526020600020905b815481529060010190602001808311610be057829003601f168201915b5050505050905090565b6000610c1282612ced565b610c48576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60148054610c9090615314565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbc90615314565b8015610d095780601f10610cde57610100808354040283529160200191610d09565b820191906000526020600020905b815481529060010190602001808311610cec57829003601f168201915b505050505081565b6000610d1c826118b8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d84576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da3612d3b565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dd55750610dd381610dce612d3b565b61281d565b155b15610e0c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e17838383612d43565b505050565b610e24612d3b565b73ffffffffffffffffffffffffffffffffffffffff16610e42611c18565b73ffffffffffffffffffffffffffffffffffffffff1614610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90614fad565b60405180910390fd5b8060159080519060200190610eae929190614195565b5050565b6000610ebc612df5565b6001546000540303905090565b610ed1612d3b565b73ffffffffffffffffffffffffffffffffffffffff16610eef611c18565b73ffffffffffffffffffffffffffffffffffffffff1614610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90614fad565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b610f6d838383612dfa565b505050565b60026009541415610fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faf9061500d565b60405180910390fd5b60026009819055506000610fca610eb2565b9050601160009054906101000a900460ff1661101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290614ecd565b60405180910390fd5b600a54828261102a9190615132565b111561106b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106290614ead565b60405180910390fd5b600c548261107991906151b9565b3410156110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290614f6d565b60405180910390fd5b60105482601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111099190615132565b111561114a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114190614fcd565b60405180910390fd5b81601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111999190615132565b925050819055506111aa33836132b0565b50600160098190555050565b6111be612d3b565b73ffffffffffffffffffffffffffffffffffffffff166111dc611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122990614fad565b60405180910390fd5b80600d8190555050565b600f5481565b60176020528060005260406000206000915090505481565b611262612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611280611c18565b73ffffffffffffffffffffffffffffffffffffffff16146112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd90614fad565b60405180910390fd5b60004790506000739376b1b8931f3f02b4119665079fb37c91d0546473ffffffffffffffffffffffffffffffffffffffff16612710610c358461131991906151b9565b6113239190615188565b60405161132f90614c63565b60006040518083038185875af1925050503d806000811461136c576040519150601f19603f3d011682016040523d82523d6000602084013e611371565b606091505b505090508061137f57600080fd5b6000734d4658b37b1eab41a7dca14c7ef90a883518685373ffffffffffffffffffffffffffffffffffffffff16612710610659856113bd91906151b9565b6113c79190615188565b6040516113d390614c63565b60006040518083038185875af1925050503d8060008114611410576040519150601f19603f3d011682016040523d82523d6000602084013e611415565b606091505b505090508061142357600080fd5b6000735bbec70750169fd75c6b428eca849273a25922ad73ffffffffffffffffffffffffffffffffffffffff166127106105dc8661146191906151b9565b61146b9190615188565b60405161147790614c63565b60006040518083038185875af1925050503d80600081146114b4576040519150601f19603f3d011682016040523d82523d6000602084013e6114b9565b606091505b50509050806114c757600080fd5b60007379fb7f4f1ed90dcc3a9a2200eff843038c5dfcb573ffffffffffffffffffffffffffffffffffffffff166127106105788761150591906151b9565b61150f9190615188565b60405161151b90614c63565b60006040518083038185875af1925050503d8060008114611558576040519150601f19603f3d011682016040523d82523d6000602084013e61155d565b606091505b505090508061156b57600080fd5b6000730c2f8b7d7a7c8979f8297c14d27e76e7909ac1c073ffffffffffffffffffffffffffffffffffffffff166127106105dc886115a991906151b9565b6115b39190615188565b6040516115bf90614c63565b60006040518083038185875af1925050503d80600081146115fc576040519150601f19603f3d011682016040523d82523d6000602084013e611601565b606091505b505090508061160f57600080fd5b600073d9d426f049937f4664d6d450d66c6fd46d3e868d73ffffffffffffffffffffffffffffffffffffffff166127106101f48961164d91906151b9565b6116579190615188565b60405161166390614c63565b60006040518083038185875af1925050503d80600081146116a0576040519150601f19603f3d011682016040523d82523d6000602084013e6116a5565b606091505b50509050806116b357600080fd5b6000736884efd53b2650679996d3ea206d116356da08a973ffffffffffffffffffffffffffffffffffffffff1661271061015e8a6116f191906151b9565b6116fb9190615188565b60405161170790614c63565b60006040518083038185875af1925050503d8060008114611744576040519150601f19603f3d011682016040523d82523d6000602084013e611749565b606091505b505090508061175757600080fd5b5050505050505050565b61177c8383836040518060200160405280600081525061226c565b505050565b601160029054906101000a900460ff1681565b601580546117a190615314565b80601f01602080910402602001604051908101604052809291908181526020018280546117cd90615314565b801561181a5780601f106117ef5761010080835404028352916020019161181a565b820191906000526020600020905b8154815290600101906020018083116117fd57829003601f168201915b505050505081565b61182a612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611848611c18565b73ffffffffffffffffffffffffffffffffffffffff161461189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590614fad565b60405180910390fd5b80601390805190602001906118b4929190614195565b5050565b60006118c3826132ce565b600001519050919050565b601380546118db90615314565b80601f016020809104026020016040519081016040528092919081815260200182805461190790615314565b80156119545780601f1061192957610100808354040283529160200191611954565b820191906000526020600020905b81548152906001019060200180831161193757829003601f168201915b505050505081565b611964612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611982611c18565b73ffffffffffffffffffffffffffffffffffffffff16146119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90614fad565b60405180910390fd5b600a54811115611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1490614dcd565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a8f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611aff612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611b1d611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a90614fad565b60405180910390fd5b611b7d600061355d565b565b611b87612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611ba5611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf290614fad565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b606060038054611c5790615314565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8390615314565b8015611cd05780601f10611ca557610100808354040283529160200191611cd0565b820191906000526020600020905b815481529060010190602001808311611cb357829003601f168201915b5050505050905090565b611ce2612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611d00611c18565b73ffffffffffffffffffffffffffffffffffffffff1614611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90614fad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd90614f0d565b60405180910390fd5b80601160036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e12612d3b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e77576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e84612d3b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f31612d3b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f769190614d0b565b60405180910390a35050565b601160009054906101000a900460ff1681565b611f9d612d3b565b73ffffffffffffffffffffffffffffffffffffffff16611fbb611c18565b73ffffffffffffffffffffffffffffffffffffffff1614612011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200890614fad565b60405180910390fd5b6001601160026101000a81548160ff021916908315150217905550565b600c5481565b738de5224e60107a399f717d17e40eaf517c69640273ffffffffffffffffffffffffffffffffffffffff16612067612d3b565b73ffffffffffffffffffffffffffffffffffffffff16146120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614eed565b60405180910390fd5b60026009541415612103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fa9061500d565b60405180910390fd5b60026009819055506000612115610eb2565b9050600e5482600f546121289190615132565b111561213357600080fd5b600a5482826121429190615132565b1115612183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217a90614e0d565b60405180910390fd5b81600f60008282546121959190615132565b925050819055506121a683836132b0565b5060016009819055505050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166324d7806c6121fb612d3b565b6040518263ffffffff1660e01b81526004016122179190614ca4565b60206040518083038186803b15801561222f57600080fd5b505afa158015612243573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226791906145c9565b905090565b612277848484612dfa565b6122968373ffffffffffffffffffffffffffffffffffffffff16613623565b80156122ab57506122a984848484613646565b155b156122e2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6122f0612d3b565b73ffffffffffffffffffffffffffffffffffffffff1661230e611c18565b73ffffffffffffffffffffffffffffffffffffffff1614612364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235b90614fad565b60405180910390fd5b80600c8190555050565b60105481565b606060001515601160029054906101000a900460ff1615151415612424576014805461239f90615314565b80601f01602080910402602001604051908101604052809291908181526020018280546123cb90615314565b80156124185780601f106123ed57610100808354040283529160200191612418565b820191906000526020600020905b8154815290600101906020018083116123fb57829003601f168201915b50505050509050612503565b60006013805461243390615314565b80601f016020809104026020016040519081016040528092919081815260200182805461245f90615314565b80156124ac5780601f10612481576101008083540402835291602001916124ac565b820191906000526020600020905b81548152906001019060200180831161248f57829003601f168201915b5050505050905060008151116124d157604051806020016040528060008152506124ff565b806124db846137a6565b60156040516020016124ef93929190614c0c565b6040516020818303038152906040525b9150505b919050565b600b5481565b600a5481565b6002600954141561255a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125519061500d565b60405180910390fd5b6002600981905550600061256c610eb2565b9050601160019054906101000a900460ff166125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b490614fed565b60405180910390fd5b601160009054906101000a900460ff161561260d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260490614f8d565b60405180910390fd5b600b54848261261c9190615132565b111561265d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265490614e6d565b60405180910390fd5b612693601160039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661268d8533613907565b8461393a565b6126d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c990614f4d565b60405180910390fd5b600d54846126e091906151b9565b341015612722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271990614f6d565b60405180910390fd5b82601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561276e9190615132565b11156127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690614fcd565b60405180910390fd5b83601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127fe9190615132565b9250508190555061280f33856132b0565b506001600981905550505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128b9612d3b565b73ffffffffffffffffffffffffffffffffffffffff166128d7611c18565b73ffffffffffffffffffffffffffffffffffffffff161461292d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292490614fad565b60405180910390fd5b8060149080519060200190612943929190614195565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166324d7806c61298d612d3b565b6040518263ffffffff1660e01b81526004016129a99190614ca4565b60206040518083038186803b1580156129c157600080fd5b505afa1580156129d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f991906145c9565b612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90614e8d565b60405180910390fd5b60026009541415612a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a759061500d565b60405180910390fd5b6002600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aed90614e2d565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338664c356040518163ffffffff1660e01b815260040160206040518083038186803b158015612b5e57600080fd5b505afa158015612b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9691906145c9565b612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc90614ded565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ced46dce6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612c3f57600080fd5b505af1158015612c53573d6000803e3d6000fd5b50505050612c608161355d565b600160098190555050565b60166020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612cf8612df5565b11158015612d07575060005482105b8015612d34575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612e05826132ce565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e70576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612e91612d3b565b73ffffffffffffffffffffffffffffffffffffffff161480612ec05750612ebf85612eba612d3b565b61281d565b5b80612f055750612ece612d3b565b73ffffffffffffffffffffffffffffffffffffffff16612eed84610c07565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612f3e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612fa5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fb2858585600161398e565b612fbe60008487612d43565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561323e57600054821461323d57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132a98585856001613994565b5050505050565b6132ca82826040518060200160405280600081525061399a565b5050565b6132d661421b565b6000829050806132e4612df5565b111580156132f3575060005481105b15613526576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161352457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613408578092505050613558565b5b60011561352357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461351e578092505050613558565b613409565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366c612d3b565b8786866040518563ffffffff1660e01b815260040161368e9493929190614cbf565b602060405180830381600087803b1580156136a857600080fd5b505af19250505080156136d957506040513d601f19601f820116820180604052508101906136d69190614623565b60015b613753573d8060008114613709576040519150601f19603f3d011682016040523d82523d6000602084013e61370e565b606091505b5060008151141561374b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156137ee576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613902565b600082905060005b6000821461382057808061380990615377565b915050600a826138199190615188565b91506137f6565b60008167ffffffffffffffff81111561383c5761383b615514565b5b6040519080825280601f01601f19166020018201604052801561386e5781602001600182028036833780820191505090505b5090505b600085146138fb576001826138879190615213565b9150600a8561389691906153f8565b60306138a29190615132565b60f81b8183815181106138b8576138b76154e5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138f49190615188565b9450613872565b8093505050505b919050565b6000828260405160200161391c929190614c78565b60405160208183030381529060405280519060200120905092915050565b600061395782613949856139ac565b6139dc90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490509392505050565b50505050565b50505050565b6139a78383836001613a03565b505050565b6000816040516020016139bf9190614c3d565b604051602081830303815290604052805190602001209050919050565b60008060006139eb8585613dd1565b915091506139f881613e54565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613a70576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613aab576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613ab8600086838761398e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613c825750613c818773ffffffffffffffffffffffffffffffffffffffff16613623565b5b15613d48575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cf76000888480600101955088613646565b613d2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613c88578260005414613d4357600080fd5b613db4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d49575b816000819055505050613dca6000868387613994565b5050505050565b600080604183511415613e135760008060006020860151925060408601519150606086015160001a9050613e0787828585614029565b94509450505050613e4d565b604083511415613e44576000806020850151915060408501519050613e39868383614136565b935093505050613e4d565b60006002915091505b9250929050565b60006004811115613e6857613e67615487565b5b816004811115613e7b57613e7a615487565b5b1415613e8657614026565b60016004811115613e9a57613e99615487565b5b816004811115613ead57613eac615487565b5b1415613eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee590614d8d565b60405180910390fd5b60026004811115613f0257613f01615487565b5b816004811115613f1557613f14615487565b5b1415613f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f4d90614dad565b60405180910390fd5b60036004811115613f6a57613f69615487565b5b816004811115613f7d57613f7c615487565b5b1415613fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb590614e4d565b60405180910390fd5b600480811115613fd157613fd0615487565b5b816004811115613fe457613fe3615487565b5b1415614025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161401c90614f2d565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561406457600060039150915061412d565b601b8560ff161415801561407c5750601c8560ff1614155b1561408e57600060049150915061412d565b6000600187878787604051600081526020016040526040516140b39493929190614d26565b6020604051602081039080840390855afa1580156140d5573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156141245760006001925092505061412d565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6141799190615132565b905061418787828885614029565b935093505050935093915050565b8280546141a190615314565b90600052602060002090601f0160209004810192826141c3576000855561420a565b82601f106141dc57805160ff191683800117855561420a565b8280016001018555821561420a579182015b828111156142095782518255916020019190600101906141ee565b5b509050614217919061425e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561427757600081600090555060010161425f565b5090565b600061428e6142898461506d565b615048565b9050828152602081018484840111156142aa576142a9615548565b5b6142b58482856152d2565b509392505050565b60006142d06142cb8461509e565b615048565b9050828152602081018484840111156142ec576142eb615548565b5b6142f78482856152d2565b509392505050565b60008135905061430e81615996565b92915050565b600081359050614323816159ad565b92915050565b600081519050614338816159ad565b92915050565b60008135905061434d816159c4565b92915050565b600081519050614362816159c4565b92915050565b600082601f83011261437d5761437c615543565b5b813561438d84826020860161427b565b91505092915050565b600082601f8301126143ab576143aa615543565b5b81356143bb8482602086016142bd565b91505092915050565b6000813590506143d3816159db565b92915050565b6000602082840312156143ef576143ee615552565b5b60006143fd848285016142ff565b91505092915050565b6000806040838503121561441d5761441c615552565b5b600061442b858286016142ff565b925050602061443c858286016142ff565b9150509250929050565b60008060006060848603121561445f5761445e615552565b5b600061446d868287016142ff565b935050602061447e868287016142ff565b925050604061448f868287016143c4565b9150509250925092565b600080600080608085870312156144b3576144b2615552565b5b60006144c1878288016142ff565b94505060206144d2878288016142ff565b93505060406144e3878288016143c4565b925050606085013567ffffffffffffffff8111156145045761450361554d565b5b61451087828801614368565b91505092959194509250565b6000806040838503121561453357614532615552565b5b6000614541858286016142ff565b925050602061455285828601614314565b9150509250929050565b6000806040838503121561457357614572615552565b5b6000614581858286016142ff565b9250506020614592858286016143c4565b9150509250929050565b6000602082840312156145b2576145b1615552565b5b60006145c084828501614314565b91505092915050565b6000602082840312156145df576145de615552565b5b60006145ed84828501614329565b91505092915050565b60006020828403121561460c5761460b615552565b5b600061461a8482850161433e565b91505092915050565b60006020828403121561463957614638615552565b5b600061464784828501614353565b91505092915050565b60006020828403121561466657614665615552565b5b600082013567ffffffffffffffff8111156146845761468361554d565b5b61469084828501614396565b91505092915050565b6000602082840312156146af576146ae615552565b5b60006146bd848285016143c4565b91505092915050565b6000806000606084860312156146df576146de615552565b5b60006146ed868287016143c4565b93505060206146fe868287016143c4565b925050604084013567ffffffffffffffff81111561471f5761471e61554d565b5b61472b86828701614368565b9150509250925092565b61473e81615247565b82525050565b61475561475082615247565b6153c0565b82525050565b61476481615259565b82525050565b61477381615265565b82525050565b61478a61478582615265565b6153d2565b82525050565b600061479b826150e4565b6147a581856150fa565b93506147b58185602086016152e1565b6147be81615557565b840191505092915050565b60006147d4826150ef565b6147de8185615116565b93506147ee8185602086016152e1565b6147f781615557565b840191505092915050565b600061480d826150ef565b6148178185615127565b93506148278185602086016152e1565b80840191505092915050565b6000815461484081615314565b61484a8186615127565b945060018216600081146148655760018114614876576148a9565b60ff198316865281860193506148a9565b61487f856150cf565b60005b838110156148a157815481890152600182019150602081019050614882565b838801955050505b50505092915050565b60006148bf601883615116565b91506148ca82615575565b602082019050919050565b60006148e2601f83615116565b91506148ed8261559e565b602082019050919050565b6000614905601c83615127565b9150614910826155c7565b601c82019050919050565b6000614928601583615116565b9150614933826155f0565b602082019050919050565b600061494b602b83615116565b915061495682615619565b604082019050919050565b600061496e600883615116565b915061497982615668565b602082019050919050565b6000614991602683615116565b915061499c82615691565b604082019050919050565b60006149b4602283615116565b91506149bf826156e0565b604082019050919050565b60006149d7600c83615116565b91506149e28261572f565b602082019050919050565b60006149fa600983615116565b9150614a0582615758565b602082019050919050565b6000614a1d601083615116565b9150614a2882615781565b602082019050919050565b6000614a40601983615116565b9150614a4b826157aa565b602082019050919050565b6000614a63600983615116565b9150614a6e826157d3565b602082019050919050565b6000614a86601383615116565b9150614a91826157fc565b602082019050919050565b6000614aa9602283615116565b9150614ab482615825565b604082019050919050565b6000614acc601583615116565b9150614ad782615874565b602082019050919050565b6000614aef601383615116565b9150614afa8261589d565b602082019050919050565b6000614b12601083615116565b9150614b1d826158c6565b602082019050919050565b6000614b35602083615116565b9150614b40826158ef565b602082019050919050565b6000614b58601b83615116565b9150614b6382615918565b602082019050919050565b6000614b7b601683615116565b9150614b8682615941565b602082019050919050565b6000614b9e60008361510b565b9150614ba98261596a565b600082019050919050565b6000614bc1601f83615116565b9150614bcc8261596d565b602082019050919050565b614be0816152bb565b82525050565b614bf7614bf2826152bb565b6153ee565b82525050565b614c06816152c5565b82525050565b6000614c188286614802565b9150614c248285614802565b9150614c308284614833565b9150819050949350505050565b6000614c48826148f8565b9150614c548284614779565b60208201915081905092915050565b6000614c6e82614b91565b9150819050919050565b6000614c848285614be6565b602082019150614c948284614744565b6014820191508190509392505050565b6000602082019050614cb96000830184614735565b92915050565b6000608082019050614cd46000830187614735565b614ce16020830186614735565b614cee6040830185614bd7565b8181036060830152614d008184614790565b905095945050505050565b6000602082019050614d20600083018461475b565b92915050565b6000608082019050614d3b600083018761476a565b614d486020830186614bfd565b614d55604083018561476a565b614d62606083018461476a565b95945050505050565b60006020820190508181036000830152614d8581846147c9565b905092915050565b60006020820190508181036000830152614da6816148b2565b9050919050565b60006020820190508181036000830152614dc6816148d5565b9050919050565b60006020820190508181036000830152614de68161491b565b9050919050565b60006020820190508181036000830152614e068161493e565b9050919050565b60006020820190508181036000830152614e2681614961565b9050919050565b60006020820190508181036000830152614e4681614984565b9050919050565b60006020820190508181036000830152614e66816149a7565b9050919050565b60006020820190508181036000830152614e86816149ca565b9050919050565b60006020820190508181036000830152614ea6816149ed565b9050919050565b60006020820190508181036000830152614ec681614a10565b9050919050565b60006020820190508181036000830152614ee681614a33565b9050919050565b60006020820190508181036000830152614f0681614a56565b9050919050565b60006020820190508181036000830152614f2681614a79565b9050919050565b60006020820190508181036000830152614f4681614a9c565b9050919050565b60006020820190508181036000830152614f6681614abf565b9050919050565b60006020820190508181036000830152614f8681614ae2565b9050919050565b60006020820190508181036000830152614fa681614b05565b9050919050565b60006020820190508181036000830152614fc681614b28565b9050919050565b60006020820190508181036000830152614fe681614b4b565b9050919050565b6000602082019050818103600083015261500681614b6e565b9050919050565b6000602082019050818103600083015261502681614bb4565b9050919050565b60006020820190506150426000830184614bd7565b92915050565b6000615052615063565b905061505e8282615346565b919050565b6000604051905090565b600067ffffffffffffffff82111561508857615087615514565b5b61509182615557565b9050602081019050919050565b600067ffffffffffffffff8211156150b9576150b8615514565b5b6150c282615557565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061513d826152bb565b9150615148836152bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561517d5761517c615429565b5b828201905092915050565b6000615193826152bb565b915061519e836152bb565b9250826151ae576151ad615458565b5b828204905092915050565b60006151c4826152bb565b91506151cf836152bb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561520857615207615429565b5b828202905092915050565b600061521e826152bb565b9150615229836152bb565b92508282101561523c5761523b615429565b5b828203905092915050565b60006152528261529b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156152ff5780820151818401526020810190506152e4565b8381111561530e576000848401525b50505050565b6000600282049050600182168061532c57607f821691505b602082108114156153405761533f6154b6565b5b50919050565b61534f82615557565b810181811067ffffffffffffffff8211171561536e5761536d615514565b5b80604052505050565b6000615382826152bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153b5576153b4615429565b5b600182019050919050565b60006153cb826153dc565b9050919050565b6000819050919050565b60006153e782615568565b9050919050565b6000819050919050565b6000615403826152bb565b915061540e836152bb565b92508261541e5761541d615458565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f43616e277420496e63726561736520537570706c790000000000000000000000600082015250565b7f4d756c7469536967204861736e277420417070726f766564205472616e73666560008201527f72204f776e657273686970000000000000000000000000000000000000000000602082015250565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f574c20536f6c64204f7574210000000000000000000000000000000000000000600082015250565b7f4e6f742041646d696e0000000000000000000000000000000000000000000000600082015250565b7f5075626c696320536f6c64204f75742100000000000000000000000000000000600082015250565b7f5075626c69632053616c65204973204e6f742041637469766500000000000000600082015250565b7f4e6f74204d616e69630000000000000000000000000000000000000000000000600082015250565b7f43414e2754205055542030204144445245535300000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420417574686f72697a656420666f7220574c0000000000000000000000600082015250565b7f4e6f7420456e6f756768204554482053656e7400000000000000000000000000600082015250565b7f5075626c69632069732041637469766500000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f596f75277665204d61786564204f757420596f7572204d696e74730000000000600082015250565b7f5072652d53616c65204973204e6f742041637469766500000000000000000000600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61599f81615247565b81146159aa57600080fd5b50565b6159b681615259565b81146159c157600080fd5b50565b6159cd8161526f565b81146159d857600080fd5b50565b6159e4816152bb565b81146159ef57600080fd5b5056fea2646970667358221220463e9b294f7f9747f4af756076f3c02952780e30a8e94c1370479dd11433e64564736f6c63430008070033
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.