ERC-721
Overview
Max Total Supply
1,392 ZGC
Holders
127
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ZGCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ZeroGravity
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: NONE pragma solidity ^0.8.14; using Strings for uint256; import "erc721a/contracts/ERC721A.sol"; import "erc721a/contracts/IERC721A.sol"; import "erc721a/contracts/extensions/ERC721AQueryable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract ZeroGravity is ERC721A, ERC721AQueryable, Ownable, ERC2981 { string public baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public cost = 0.08 ether; uint256 public maxSupply = 3500; uint256 public maxMintAmount = 30; uint256 public nftPerAddressLimit = 1000; uint256 public startTokenId = 109; bool public paused = true; bool public revealed = false; bool public checkSignature = true; string public contractURI; address signer; mapping(address => uint256) public addressMintedBalance; constructor( uint96 _royaltyFeeInBips, string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri, string memory _contractURI ) ERC721A(_name, _symbol) { setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); _setDefaultRoyalty(msg.sender, _royaltyFeeInBips); contractURI = _contractURI; } // internal override function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC721A, ERC721A, ERC2981) returns (bool) { // Supports the following `interfaceId`s: // - IERC165: 0x01ffc9a7 // - IERC721: 0x80ac58cd // - IERC721Metadata: 0x5b5e139f // - IERC2981: 0x2a55205a return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function tokenURI(uint256 tokenId) public view virtual override(IERC721A, ERC721A) returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } function mint(uint256 quantity, bytes calldata signature) public payable { uint256 supply = totalSupply(); require(quantity > 0, "need to mint at least 1 NFT"); require(supply + quantity <= maxSupply, "max NFT limit exceeded"); if (msg.sender != owner()) { require(!paused, "the contract is paused"); if (checkSignature == true) { bytes32 hash = keccak256(abi.encodePacked(msg.sender)); bytes32 message = ECDSA.toEthSignedMessageHash(hash); address receivedAddress = ECDSA.recover(message, signature); require(receivedAddress != address(0) && receivedAddress == signer); } require(quantity <= maxMintAmount, "max mint amount per session exceeded"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + quantity <= nftPerAddressLimit, "max NFT per address exceeded"); require(msg.value >= cost * quantity, "insufficient funds"); } addressMintedBalance[msg.sender] += quantity; // _safeMint's second argument now takes in a quantity, not a tokenId. _safeMint(msg.sender, quantity); } // Only owner functions function reveal() public onlyOwner { revealed = true; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner { maxMintAmount = _newmaxMintAmount; } function setNewMaxSupply(uint256 _newMaxSupply) public onlyOwner { maxSupply = _newMaxSupply; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function pause(bool _state) public onlyOwner { paused = _state; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setRoyaltyInfo(address _receiver, uint96 _royaltyFeeInBips) public onlyOwner { _setDefaultRoyalty(_receiver, _royaltyFeeInBips); } function setContractUri(string calldata _contractURI) public onlyOwner { contractURI = _contractURI; } function _startTokenId() internal view virtual override returns (uint256) { return startTokenId; } function setStartTokenId(uint256 _token) public onlyOwner { startTokenId = _token; } function bulkTransferTokens(address[] calldata _to, uint256[] calldata _id) public onlyOwner { require(_to.length == _id.length, "Receivers and IDs are different length"); for (uint256 i = 0; i < _to.length; i++) { safeTransferFrom(msg.sender, _to[i], _id[i]); } } function setSigner(address _signer) public onlyOwner { signer = _signer; } function setCheckSignature(bool _checkSignature) public onlyOwner { checkSignature = _checkSignature; } function withdraw() public payable onlyOwner { // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); // ============================================================================= } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); 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; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @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 // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @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 IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _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 `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // 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(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev 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 Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_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 { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // 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. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @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, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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 == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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 { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } 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 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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__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 {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// 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); }
// 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 (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 // 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.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// 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); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint96","name":"_royaltyFeeInBips","type":"uint96"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"}],"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":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_id","type":"uint256[]"}],"name":"bulkTransferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"checkSignature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_checkSignature","type":"bool"}],"name":"setCheckSignature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setNewMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeeInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token","type":"uint256"}],"name":"setStartTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c908051906020019062000051929190620005c2565b5067011c37937e080000600e55610dac600f55601e6010556103e8601155606d6012556001601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055506001601360026101000a81548160ff021916908315150217905550348015620000d257600080fd5b5060405162006acc38038062006acc8339818101604052810190620000f8919062000858565b8484816002908051906020019062000112929190620005c2565b5080600390805190602001906200012b929190620005c2565b506200013c620001bd60201b60201c565b60008190555050506200016462000158620001c760201b60201c565b620001cf60201b60201c565b62000175836200029560201b60201c565b62000186826200034060201b60201c565b620001983387620003eb60201b60201c565b8060149080519060200190620001b0929190620005c2565b5050505050505062000b80565b6000601254905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002a5620001c760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002cb6200058e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000324576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031b90620009f0565b60405180910390fd5b80600b90805190602001906200033c929190620005c2565b5050565b62000350620001c760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003766200058e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003cf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c690620009f0565b60405180910390fd5b80600d9080519060200190620003e7929190620005c2565b5050565b620003fb620005b860201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200045c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004539062000a88565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004ce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004c59062000afa565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b828054620005d09062000b4b565b90600052602060002090601f016020900481019282620005f4576000855562000640565b82601f106200060f57805160ff191683800117855562000640565b8280016001018555821562000640579182015b828111156200063f57825182559160200191906001019062000622565b5b5090506200064f919062000653565b5090565b5b808211156200066e57600081600090555060010162000654565b5090565b6000604051905090565b600080fd5b600080fd5b60006bffffffffffffffffffffffff82169050919050565b620006a98162000686565b8114620006b557600080fd5b50565b600081519050620006c9816200069e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200072482620006d9565b810181811067ffffffffffffffff82111715620007465762000745620006ea565b5b80604052505050565b60006200075b62000672565b905062000769828262000719565b919050565b600067ffffffffffffffff8211156200078c576200078b620006ea565b5b6200079782620006d9565b9050602081019050919050565b60005b83811015620007c4578082015181840152602081019050620007a7565b83811115620007d4576000848401525b50505050565b6000620007f1620007eb846200076e565b6200074f565b90508281526020810184848401111562000810576200080f620006d4565b5b6200081d848285620007a4565b509392505050565b600082601f8301126200083d576200083c620006cf565b5b81516200084f848260208601620007da565b91505092915050565b60008060008060008060c087890312156200087857620008776200067c565b5b60006200088889828a01620006b8565b965050602087015167ffffffffffffffff811115620008ac57620008ab62000681565b5b620008ba89828a0162000825565b955050604087015167ffffffffffffffff811115620008de57620008dd62000681565b5b620008ec89828a0162000825565b945050606087015167ffffffffffffffff81111562000910576200090f62000681565b5b6200091e89828a0162000825565b935050608087015167ffffffffffffffff81111562000942576200094162000681565b5b6200095089828a0162000825565b92505060a087015167ffffffffffffffff81111562000974576200097362000681565b5b6200098289828a0162000825565b9150509295509295509295565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620009d86020836200098f565b9150620009e582620009a0565b602082019050919050565b6000602082019050818103600083015262000a0b81620009c9565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000a70602a836200098f565b915062000a7d8262000a12565b604082019050919050565b6000602082019050818103600083015262000aa38162000a61565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000ae26019836200098f565b915062000aef8262000aaa565b602082019050919050565b6000602082019050818103600083015262000b158162000ad3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b6457607f821691505b60208210810362000b7a5762000b7962000b1c565b5b50919050565b615f3c8062000b906000396000f3fe6080604052600436106102ff5760003560e01c8063715018a611610190578063c23dc68f116100dc578063da3ef23f11610095578063e8a3d4851161006f578063e8a3d48514610b5f578063e985e9c514610b8a578063f2c4ce1e14610bc7578063f2fde38b14610bf0576102ff565b8063da3ef23f14610aef578063db7fd40814610b18578063e6798baa14610b34576102ff565b8063c23dc68f146109cd578063c668286214610a0a578063c87b56dd14610a35578063ccb4807b14610a72578063d0eb26b014610a9b578063d5abeb0114610ac4576102ff565b80639937f19f11610149578063a475b5dd11610123578063a475b5dd14610939578063b7c7d9a714610950578063b88d4fde14610979578063ba7d2c76146109a2576102ff565b80639937f19f146108a857806399a2557a146108d3578063a22cb46514610910576102ff565b8063715018a6146107ac5780637f00c7a6146107c35780638462151c146107ec5780638da5cb5b1461082957806390f0c3831461085457806395d89b411461087d576102ff565b80632dfd8fae1161024f5780635bbb2177116102085780636a13ab55116101e25780636a13ab55146106f25780636c0360eb1461071b5780636c19e7831461074657806370a082311461076f576102ff565b80635bbb21771461064d5780635c975abb1461068a5780636352211e146106b5576102ff565b80632dfd8fae146105745780633ccfd60b1461059d57806342842e0e146105a757806344a0d68a146105d057806351830227146105f957806355f804b314610624576102ff565b8063095ea7b3116102bc57806318cae2691161029657806318cae269146104a5578063239c70ae146104e257806323b872dd1461050d5780632a55205a14610536576102ff565b8063095ea7b31461042657806313faede61461044f57806318160ddd1461047a576102ff565b806301ffc9a71461030457806302329a291461034157806302fa7c471461036a57806306fdde0314610393578063081812fc146103be578063081c8c44146103fb575b600080fd5b34801561031057600080fd5b5061032b6004803603810190610326919061431d565b610c19565b6040516103389190614365565b60405180910390f35b34801561034d57600080fd5b50610368600480360381019061036391906143ac565b610c3b565b005b34801561037657600080fd5b50610391600480360381019061038c919061447b565b610cd4565b005b34801561039f57600080fd5b506103a8610d5e565b6040516103b59190614554565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e091906145ac565b610df0565b6040516103f291906145e8565b60405180910390f35b34801561040757600080fd5b50610410610e6c565b60405161041d9190614554565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190614603565b610efa565b005b34801561045b57600080fd5b506104646110a0565b6040516104719190614652565b60405180910390f35b34801561048657600080fd5b5061048f6110a6565b60405161049c9190614652565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c7919061466d565b6110bd565b6040516104d99190614652565b60405180910390f35b3480156104ee57600080fd5b506104f76110d5565b6040516105049190614652565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f919061469a565b6110db565b005b34801561054257600080fd5b5061055d600480360381019061055891906146ed565b6110eb565b60405161056b92919061472d565b60405180910390f35b34801561058057600080fd5b5061059b600480360381019061059691906145ac565b6112d5565b005b6105a561135b565b005b3480156105b357600080fd5b506105ce60048036038101906105c9919061469a565b611457565b005b3480156105dc57600080fd5b506105f760048036038101906105f291906145ac565b611477565b005b34801561060557600080fd5b5061060e6114fd565b60405161061b9190614365565b60405180910390f35b34801561063057600080fd5b5061064b6004803603810190610646919061488b565b611510565b005b34801561065957600080fd5b50610674600480360381019061066f919061499c565b6115a6565b6040516106819190614b17565b60405180910390f35b34801561069657600080fd5b5061069f611667565b6040516106ac9190614365565b60405180910390f35b3480156106c157600080fd5b506106dc60048036038101906106d791906145ac565b61167a565b6040516106e991906145e8565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190614bea565b61168c565b005b34801561072757600080fd5b506107306117c3565b60405161073d9190614554565b60405180910390f35b34801561075257600080fd5b5061076d6004803603810190610768919061466d565b611851565b005b34801561077b57600080fd5b506107966004803603810190610791919061466d565b611911565b6040516107a39190614652565b60405180910390f35b3480156107b857600080fd5b506107c16119c9565b005b3480156107cf57600080fd5b506107ea60048036038101906107e591906145ac565b611a51565b005b3480156107f857600080fd5b50610813600480360381019061080e919061466d565b611ad7565b6040516108209190614d29565b60405180910390f35b34801561083557600080fd5b5061083e611c1a565b60405161084b91906145e8565b60405180910390f35b34801561086057600080fd5b5061087b600480360381019061087691906143ac565b611c44565b005b34801561088957600080fd5b50610892611cdd565b60405161089f9190614554565b60405180910390f35b3480156108b457600080fd5b506108bd611d6f565b6040516108ca9190614365565b60405180910390f35b3480156108df57600080fd5b506108fa60048036038101906108f59190614d4b565b611d82565b6040516109079190614d29565b60405180910390f35b34801561091c57600080fd5b5061093760048036038101906109329190614d9e565b611f8e565b005b34801561094557600080fd5b5061094e612105565b005b34801561095c57600080fd5b50610977600480360381019061097291906145ac565b61219e565b005b34801561098557600080fd5b506109a0600480360381019061099b9190614e7f565b612224565b005b3480156109ae57600080fd5b506109b7612297565b6040516109c49190614652565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef91906145ac565b61229d565b604051610a019190614f44565b60405180910390f35b348015610a1657600080fd5b50610a1f612307565b604051610a2c9190614554565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a5791906145ac565b612395565b604051610a699190614554565b60405180910390f35b348015610a7e57600080fd5b50610a996004803603810190610a949190614fb5565b6124ed565b005b348015610aa757600080fd5b50610ac26004803603810190610abd91906145ac565b61257f565b005b348015610ad057600080fd5b50610ad9612605565b604051610ae69190614652565b60405180910390f35b348015610afb57600080fd5b50610b166004803603810190610b11919061488b565b61260b565b005b610b326004803603810190610b2d9190615058565b6126a1565b005b348015610b4057600080fd5b50610b49612a97565b604051610b569190614652565b60405180910390f35b348015610b6b57600080fd5b50610b74612a9d565b604051610b819190614554565b60405180910390f35b348015610b9657600080fd5b50610bb16004803603810190610bac91906150b8565b612b2b565b604051610bbe9190614365565b60405180910390f35b348015610bd357600080fd5b50610bee6004803603810190610be9919061488b565b612bbf565b005b348015610bfc57600080fd5b50610c176004803603810190610c12919061466d565b612c55565b005b6000610c2482612d4c565b80610c345750610c3382612dde565b5b9050919050565b610c43612e58565b73ffffffffffffffffffffffffffffffffffffffff16610c61611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae90615144565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b610cdc612e58565b73ffffffffffffffffffffffffffffffffffffffff16610cfa611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4790615144565b60405180910390fd5b610d5a8282612e60565b5050565b606060028054610d6d90615193565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9990615193565b8015610de65780601f10610dbb57610100808354040283529160200191610de6565b820191906000526020600020905b815481529060010190602001808311610dc957829003601f168201915b5050505050905090565b6000610dfb82612ff5565b610e31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610e7990615193565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea590615193565b8015610ef25780601f10610ec757610100808354040283529160200191610ef2565b820191906000526020600020905b815481529060010190602001808311610ed557829003601f168201915b505050505081565b6000610f0582613054565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f6c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f8b613120565b73ffffffffffffffffffffffffffffffffffffffff1614610fee57610fb781610fb2613120565b612b2b565b610fed576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b60006110b0613128565b6001546000540303905090565b60166020528060005260406000206000915090505481565b60105481565b6110e6838383613132565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036112805760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061128a6134d9565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112b691906151f3565b6112c0919061527c565b90508160000151819350935050509250929050565b6112dd612e58565b73ffffffffffffffffffffffffffffffffffffffff166112fb611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890615144565b60405180910390fd5b8060128190555050565b611363612e58565b73ffffffffffffffffffffffffffffffffffffffff16611381611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146113d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ce90615144565b60405180910390fd5b60006113e1611c1a565b73ffffffffffffffffffffffffffffffffffffffff1647604051611404906152de565b60006040518083038185875af1925050503d8060008114611441576040519150601f19603f3d011682016040523d82523d6000602084013e611446565b606091505b505090508061145457600080fd5b50565b61147283838360405180602001604052806000815250612224565b505050565b61147f612e58565b73ffffffffffffffffffffffffffffffffffffffff1661149d611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90615144565b60405180910390fd5b80600e8190555050565b601360019054906101000a900460ff1681565b611518612e58565b73ffffffffffffffffffffffffffffffffffffffff16611536611c1a565b73ffffffffffffffffffffffffffffffffffffffff161461158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390615144565b60405180910390fd5b80600b90805190602001906115a2929190614145565b5050565b606060008251905060008167ffffffffffffffff8111156115ca576115c9614760565b5b60405190808252806020026020018201604052801561160357816020015b6115f06141cb565b8152602001906001900390816115e85790505b50905060005b82811461165c57611633858281518110611626576116256152f3565b5b602002602001015161229d565b828281518110611646576116456152f3565b5b6020026020010181905250806001019050611609565b508092505050919050565b601360009054906101000a900460ff1681565b600061168582613054565b9050919050565b611694612e58565b73ffffffffffffffffffffffffffffffffffffffff166116b2611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90615144565b60405180910390fd5b818190508484905014611750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174790615394565b60405180910390fd5b60005b848490508110156117bc576117a933868684818110611775576117746152f3565b5b905060200201602081019061178a919061466d565b85858581811061179d5761179c6152f3565b5b90506020020135611457565b80806117b4906153b4565b915050611753565b5050505050565b600b80546117d090615193565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc90615193565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b505050505081565b611859612e58565b73ffffffffffffffffffffffffffffffffffffffff16611877611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c490615144565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611978576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6119d1612e58565b73ffffffffffffffffffffffffffffffffffffffff166119ef611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c90615144565b60405180910390fd5b611a4f60006134e3565b565b611a59612e58565b73ffffffffffffffffffffffffffffffffffffffff16611a77611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac490615144565b60405180910390fd5b8060108190555050565b60606000806000611ae785611911565b905060008167ffffffffffffffff811115611b0557611b04614760565b5b604051908082528060200260200182016040528015611b335781602001602082028036833780820191505090505b509050611b3e6141cb565b6000611b48613128565b90505b838614611c0c57611b5b816135a9565b91508160400151611c0157600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611ba657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c005780838780600101985081518110611bf357611bf26152f3565b5b6020026020010181815250505b5b806001019050611b4b565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c4c612e58565b73ffffffffffffffffffffffffffffffffffffffff16611c6a611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb790615144565b60405180910390fd5b80601360026101000a81548160ff02191690831515021790555050565b606060038054611cec90615193565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1890615193565b8015611d655780601f10611d3a57610100808354040283529160200191611d65565b820191906000526020600020905b815481529060010190602001808311611d4857829003601f168201915b5050505050905090565b601360029054906101000a900460ff1681565b6060818310611dbd576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611dc86135d4565b9050611dd2613128565b851015611de457611de1613128565b94505b80841115611df0578093505b6000611dfb87611911565b905084861015611e1e576000868603905081811015611e18578091505b50611e23565b600090505b60008167ffffffffffffffff811115611e3f57611e3e614760565b5b604051908082528060200260200182016040528015611e6d5781602001602082028036833780820191505090505b50905060008203611e845780945050505050611f87565b6000611e8f8861229d565b905060008160400151611ea457816000015190505b60008990505b888114158015611eba5750848714155b15611f7957611ec8816135a9565b92508260400151611f6e57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611f1357826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f6d5780848880600101995081518110611f6057611f5f6152f3565b5b6020026020010181815250505b5b806001019050611eaa565b508583528296505050505050505b9392505050565b611f96613120565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ffa576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612007613120565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120b4613120565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120f99190614365565b60405180910390a35050565b61210d612e58565b73ffffffffffffffffffffffffffffffffffffffff1661212b611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217890615144565b60405180910390fd5b6001601360016101000a81548160ff021916908315150217905550565b6121a6612e58565b73ffffffffffffffffffffffffffffffffffffffff166121c4611c1a565b73ffffffffffffffffffffffffffffffffffffffff161461221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190615144565b60405180910390fd5b80600f8190555050565b61222f848484613132565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122915761225a848484846135dd565b612290576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60115481565b6122a56141cb565b6122ad6141cb565b6122b5613128565b8310806122c957506122c56135d4565b8310155b156122d75780915050612302565b6122e0836135a9565b90508060400151156122f55780915050612302565b6122fe8361372d565b9150505b919050565b600c805461231490615193565b80601f016020809104026020016040519081016040528092919081815260200182805461234090615193565b801561238d5780601f106123625761010080835404028352916020019161238d565b820191906000526020600020905b81548152906001019060200180831161237057829003601f168201915b505050505081565b60606123a082612ff5565b6123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d69061546e565b60405180910390fd5b60001515601360019054906101000a900460ff1615150361248c57600d805461240790615193565b80601f016020809104026020016040519081016040528092919081815260200182805461243390615193565b80156124805780601f1061245557610100808354040283529160200191612480565b820191906000526020600020905b81548152906001019060200180831161246357829003601f168201915b505050505090506124e8565b600061249661374d565b905060008151116124b657604051806020016040528060008152506124e4565b806124c0846137df565b600c6040516020016124d49392919061555e565b6040516020818303038152906040525b9150505b919050565b6124f5612e58565b73ffffffffffffffffffffffffffffffffffffffff16612513611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256090615144565b60405180910390fd5b81816014919061257a92919061420e565b505050565b612587612e58565b73ffffffffffffffffffffffffffffffffffffffff166125a5611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f290615144565b60405180910390fd5b8060118190555050565b600f5481565b612613612e58565b73ffffffffffffffffffffffffffffffffffffffff16612631611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90615144565b60405180910390fd5b80600c908051906020019061269d929190614145565b5050565b60006126ab6110a6565b9050600084116126f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e7906155db565b60405180910390fd5b600f5484826126ff91906155fb565b1115612740576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127379061569d565b60405180910390fd5b612748611c1a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a3157601360009054906101000a900460ff16156127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c190615709565b60405180910390fd5b60011515601360029054906101000a900460ff16151503612906576000336040516020016127f89190615771565b604051602081830303815290604052805190602001209050600061281b8261393f565b9050600061286d8287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061396f565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156128f95750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61290257600080fd5b5050505b60105484111561294b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612942906157fe565b60405180910390fd5b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601154858261299e91906155fb565b11156129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d69061586a565b60405180910390fd5b84600e546129ed91906151f3565b341015612a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a26906158d6565b60405180910390fd5b505b83601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8091906155fb565b92505081905550612a913385613996565b50505050565b60125481565b60148054612aaa90615193565b80601f0160208091040260200160405190810160405280929190818152602001828054612ad690615193565b8015612b235780601f10612af857610100808354040283529160200191612b23565b820191906000526020600020905b815481529060010190602001808311612b0657829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612bc7612e58565b73ffffffffffffffffffffffffffffffffffffffff16612be5611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3290615144565b60405180910390fd5b80600d9080519060200190612c51929190614145565b5050565b612c5d612e58565b73ffffffffffffffffffffffffffffffffffffffff16612c7b611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc890615144565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3790615968565b60405180910390fd5b612d49816134e3565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612da757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dd75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e515750612e50826139b4565b5b9050919050565b600033905090565b612e686134d9565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebd906159fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2c90615a66565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081613000613128565b1115801561300f575060005482105b801561304d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080613063613128565b116130e9576000548110156130e85760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036130e6575b600081036130dc5760046000836001900393508381526020019081526020016000205490506130b2565b809250505061311b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b6000601254905090565b600061313d82613054565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146131a4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166131c5613120565b73ffffffffffffffffffffffffffffffffffffffff1614806131f457506131f3856131ee613120565b612b2b565b5b806132395750613202613120565b73ffffffffffffffffffffffffffffffffffffffff1661322184610df0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613272576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036132d8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132e58585856001613a1e565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6133e286613a24565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083160361346a5760006001840190506000600460008381526020019081526020016000205403613468576000548114613467578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134d28585856001613a2e565b5050505050565b6000612710905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6135b16141cb565b6135cd6004600084815260200190815260200160002054613a34565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613603613120565b8786866040518563ffffffff1660e01b81526004016136259493929190615adb565b6020604051808303816000875af192505050801561366157506040513d601f19601f8201168201806040525081019061365e9190615b3c565b60015b6136da573d8060008114613691576040519150601f19603f3d011682016040523d82523d6000602084013e613696565b606091505b5060008151036136d2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6137356141cb565b61374661374183613054565b613a34565b9050919050565b6060600b805461375c90615193565b80601f016020809104026020016040519081016040528092919081815260200182805461378890615193565b80156137d55780601f106137aa576101008083540402835291602001916137d5565b820191906000526020600020905b8154815290600101906020018083116137b857829003601f168201915b5050505050905090565b606060008203613826576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061393a565b600082905060005b60008214613858578080613841906153b4565b915050600a82613851919061527c565b915061382e565b60008167ffffffffffffffff81111561387457613873614760565b5b6040519080825280601f01601f1916602001820160405280156138a65781602001600182028036833780820191505090505b5090505b60008514613933576001826138bf9190615b69565b9150600a856138ce9190615b9d565b60306138da91906155fb565b60f81b8183815181106138f0576138ef6152f3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561392c919061527c565b94506138aa565b8093505050505b919050565b6000816040516020016139529190615c45565b604051602081830303815290604052805190602001209050919050565b600080600061397e8585613ad0565b9150915061398b81613b51565b819250505092915050565b6139b0828260405180602001604052806000815250613d1d565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b6000819050919050565b50505050565b613a3c6141cb565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b6000806041835103613b115760008060006020860151925060408601519150606086015160001a9050613b0587828585613fd0565b94509450505050613b4a565b6040835103613b41576000806020850151915060408501519050613b368683836140dc565b935093505050613b4a565b60006002915091505b9250929050565b60006004811115613b6557613b64615c6b565b5b816004811115613b7857613b77615c6b565b5b0315613d1a5760016004811115613b9257613b91615c6b565b5b816004811115613ba557613ba4615c6b565b5b03613be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bdc90615ce6565b60405180910390fd5b60026004811115613bf957613bf8615c6b565b5b816004811115613c0c57613c0b615c6b565b5b03613c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4390615d52565b60405180910390fd5b60036004811115613c6057613c5f615c6b565b5b816004811115613c7357613c72615c6b565b5b03613cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613caa90615de4565b60405180910390fd5b600480811115613cc657613cc5615c6b565b5b816004811115613cd957613cd8615c6b565b5b03613d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d1090615e76565b60405180910390fd5b5b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613d89576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303613dc3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613dd06000858386613a1e565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613e356001851461413b565b901b60a042901b613e4586613a24565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613f49575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ef960008784806001019550876135dd565b613f2f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613e8a578260005414613f4457600080fd5b613fb4565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613f4a575b816000819055505050613fca6000858386613a2e565b50505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561400b5760006003915091506140d3565b601b8560ff16141580156140235750601c8560ff1614155b156140355760006004915091506140d3565b60006001878787876040516000815260200160405260405161405a9493929190615ec1565b6020604051602081039080840390855afa15801561407c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036140ca576000600192509250506140d3565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61411f91906155fb565b905061412d87828885613fd0565b935093505050935093915050565b6000819050919050565b82805461415190615193565b90600052602060002090601f01602090048101928261417357600085556141ba565b82601f1061418c57805160ff19168380011785556141ba565b828001600101855582156141ba579182015b828111156141b957825182559160200191906001019061419e565b5b5090506141c79190614294565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b82805461421a90615193565b90600052602060002090601f01602090048101928261423c5760008555614283565b82601f1061425557803560ff1916838001178555614283565b82800160010185558215614283579182015b82811115614282578235825591602001919060010190614267565b5b5090506142909190614294565b5090565b5b808211156142ad576000816000905550600101614295565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142fa816142c5565b811461430557600080fd5b50565b600081359050614317816142f1565b92915050565b600060208284031215614333576143326142bb565b5b600061434184828501614308565b91505092915050565b60008115159050919050565b61435f8161434a565b82525050565b600060208201905061437a6000830184614356565b92915050565b6143898161434a565b811461439457600080fd5b50565b6000813590506143a681614380565b92915050565b6000602082840312156143c2576143c16142bb565b5b60006143d084828501614397565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614404826143d9565b9050919050565b614414816143f9565b811461441f57600080fd5b50565b6000813590506144318161440b565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61445881614437565b811461446357600080fd5b50565b6000813590506144758161444f565b92915050565b60008060408385031215614492576144916142bb565b5b60006144a085828601614422565b92505060206144b185828601614466565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144f55780820151818401526020810190506144da565b83811115614504576000848401525b50505050565b6000601f19601f8301169050919050565b6000614526826144bb565b61453081856144c6565b93506145408185602086016144d7565b6145498161450a565b840191505092915050565b6000602082019050818103600083015261456e818461451b565b905092915050565b6000819050919050565b61458981614576565b811461459457600080fd5b50565b6000813590506145a681614580565b92915050565b6000602082840312156145c2576145c16142bb565b5b60006145d084828501614597565b91505092915050565b6145e2816143f9565b82525050565b60006020820190506145fd60008301846145d9565b92915050565b6000806040838503121561461a576146196142bb565b5b600061462885828601614422565b925050602061463985828601614597565b9150509250929050565b61464c81614576565b82525050565b60006020820190506146676000830184614643565b92915050565b600060208284031215614683576146826142bb565b5b600061469184828501614422565b91505092915050565b6000806000606084860312156146b3576146b26142bb565b5b60006146c186828701614422565b93505060206146d286828701614422565b92505060406146e386828701614597565b9150509250925092565b60008060408385031215614704576147036142bb565b5b600061471285828601614597565b925050602061472385828601614597565b9150509250929050565b600060408201905061474260008301856145d9565b61474f6020830184614643565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6147988261450a565b810181811067ffffffffffffffff821117156147b7576147b6614760565b5b80604052505050565b60006147ca6142b1565b90506147d6828261478f565b919050565b600067ffffffffffffffff8211156147f6576147f5614760565b5b6147ff8261450a565b9050602081019050919050565b82818337600083830152505050565b600061482e614829846147db565b6147c0565b90508281526020810184848401111561484a5761484961475b565b5b61485584828561480c565b509392505050565b600082601f83011261487257614871614756565b5b813561488284826020860161481b565b91505092915050565b6000602082840312156148a1576148a06142bb565b5b600082013567ffffffffffffffff8111156148bf576148be6142c0565b5b6148cb8482850161485d565b91505092915050565b600067ffffffffffffffff8211156148ef576148ee614760565b5b602082029050602081019050919050565b600080fd5b6000614918614913846148d4565b6147c0565b9050808382526020820190506020840283018581111561493b5761493a614900565b5b835b8181101561496457806149508882614597565b84526020840193505060208101905061493d565b5050509392505050565b600082601f83011261498357614982614756565b5b8135614993848260208601614905565b91505092915050565b6000602082840312156149b2576149b16142bb565b5b600082013567ffffffffffffffff8111156149d0576149cf6142c0565b5b6149dc8482850161496e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614a1a816143f9565b82525050565b600067ffffffffffffffff82169050919050565b614a3d81614a20565b82525050565b614a4c8161434a565b82525050565b606082016000820151614a686000850182614a11565b506020820151614a7b6020850182614a34565b506040820151614a8e6040850182614a43565b50505050565b6000614aa08383614a52565b60608301905092915050565b6000602082019050919050565b6000614ac4826149e5565b614ace81856149f0565b9350614ad983614a01565b8060005b83811015614b0a578151614af18882614a94565b9750614afc83614aac565b925050600181019050614add565b5085935050505092915050565b60006020820190508181036000830152614b318184614ab9565b905092915050565b600080fd5b60008083601f840112614b5457614b53614756565b5b8235905067ffffffffffffffff811115614b7157614b70614b39565b5b602083019150836020820283011115614b8d57614b8c614900565b5b9250929050565b60008083601f840112614baa57614ba9614756565b5b8235905067ffffffffffffffff811115614bc757614bc6614b39565b5b602083019150836020820283011115614be357614be2614900565b5b9250929050565b60008060008060408587031215614c0457614c036142bb565b5b600085013567ffffffffffffffff811115614c2257614c216142c0565b5b614c2e87828801614b3e565b9450945050602085013567ffffffffffffffff811115614c5157614c506142c0565b5b614c5d87828801614b94565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614ca081614576565b82525050565b6000614cb28383614c97565b60208301905092915050565b6000602082019050919050565b6000614cd682614c6b565b614ce08185614c76565b9350614ceb83614c87565b8060005b83811015614d1c578151614d038882614ca6565b9750614d0e83614cbe565b925050600181019050614cef565b5085935050505092915050565b60006020820190508181036000830152614d438184614ccb565b905092915050565b600080600060608486031215614d6457614d636142bb565b5b6000614d7286828701614422565b9350506020614d8386828701614597565b9250506040614d9486828701614597565b9150509250925092565b60008060408385031215614db557614db46142bb565b5b6000614dc385828601614422565b9250506020614dd485828601614397565b9150509250929050565b600067ffffffffffffffff821115614df957614df8614760565b5b614e028261450a565b9050602081019050919050565b6000614e22614e1d84614dde565b6147c0565b905082815260208101848484011115614e3e57614e3d61475b565b5b614e4984828561480c565b509392505050565b600082601f830112614e6657614e65614756565b5b8135614e76848260208601614e0f565b91505092915050565b60008060008060808587031215614e9957614e986142bb565b5b6000614ea787828801614422565b9450506020614eb887828801614422565b9350506040614ec987828801614597565b925050606085013567ffffffffffffffff811115614eea57614ee96142c0565b5b614ef687828801614e51565b91505092959194509250565b606082016000820151614f186000850182614a11565b506020820151614f2b6020850182614a34565b506040820151614f3e6040850182614a43565b50505050565b6000606082019050614f596000830184614f02565b92915050565b60008083601f840112614f7557614f74614756565b5b8235905067ffffffffffffffff811115614f9257614f91614b39565b5b602083019150836001820283011115614fae57614fad614900565b5b9250929050565b60008060208385031215614fcc57614fcb6142bb565b5b600083013567ffffffffffffffff811115614fea57614fe96142c0565b5b614ff685828601614f5f565b92509250509250929050565b60008083601f84011261501857615017614756565b5b8235905067ffffffffffffffff81111561503557615034614b39565b5b60208301915083600182028301111561505157615050614900565b5b9250929050565b600080600060408486031215615071576150706142bb565b5b600061507f86828701614597565b935050602084013567ffffffffffffffff8111156150a05761509f6142c0565b5b6150ac86828701615002565b92509250509250925092565b600080604083850312156150cf576150ce6142bb565b5b60006150dd85828601614422565b92505060206150ee85828601614422565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061512e6020836144c6565b9150615139826150f8565b602082019050919050565b6000602082019050818103600083015261515d81615121565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151ab57607f821691505b6020821081036151be576151bd615164565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151fe82614576565b915061520983614576565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615242576152416151c4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061528782614576565b915061529283614576565b9250826152a2576152a161524d565b5b828204905092915050565b600081905092915050565b50565b60006152c86000836152ad565b91506152d3826152b8565b600082019050919050565b60006152e9826152bb565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f52656365697665727320616e64204944732061726520646966666572656e742060008201527f6c656e6774680000000000000000000000000000000000000000000000000000602082015250565b600061537e6026836144c6565b915061538982615322565b604082019050919050565b600060208201905081810360008301526153ad81615371565b9050919050565b60006153bf82614576565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036153f1576153f06151c4565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615458602f836144c6565b9150615463826153fc565b604082019050919050565b600060208201905081810360008301526154878161544b565b9050919050565b600081905092915050565b60006154a4826144bb565b6154ae818561548e565b93506154be8185602086016144d7565b80840191505092915050565b60008190508160005260206000209050919050565b600081546154ec81615193565b6154f6818661548e565b94506001821660008114615511576001811461552257615555565b60ff19831686528186019350615555565b61552b856154ca565b60005b8381101561554d5781548189015260018201915060208101905061552e565b838801955050505b50505092915050565b600061556a8286615499565b91506155768285615499565b915061558282846154df565b9150819050949350505050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b60006155c5601b836144c6565b91506155d08261558f565b602082019050919050565b600060208201905081810360008301526155f4816155b8565b9050919050565b600061560682614576565b915061561183614576565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615646576156456151c4565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b60006156876016836144c6565b915061569282615651565b602082019050919050565b600060208201905081810360008301526156b68161567a565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b60006156f36016836144c6565b91506156fe826156bd565b602082019050919050565b60006020820190508181036000830152615722816156e6565b9050919050565b60008160601b9050919050565b600061574182615729565b9050919050565b600061575382615736565b9050919050565b61576b615766826143f9565b615748565b82525050565b600061577d828461575a565b60148201915081905092915050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b60006157e86024836144c6565b91506157f38261578c565b604082019050919050565b60006020820190508181036000830152615817816157db565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b6000615854601c836144c6565b915061585f8261581e565b602082019050919050565b6000602082019050818103600083015261588381615847565b9050919050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006158c06012836144c6565b91506158cb8261588a565b602082019050919050565b600060208201905081810360008301526158ef816158b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006159526026836144c6565b915061595d826158f6565b604082019050919050565b6000602082019050818103600083015261598181615945565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006159e4602a836144c6565b91506159ef82615988565b604082019050919050565b60006020820190508181036000830152615a13816159d7565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615a506019836144c6565b9150615a5b82615a1a565b602082019050919050565b60006020820190508181036000830152615a7f81615a43565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615aad82615a86565b615ab78185615a91565b9350615ac78185602086016144d7565b615ad08161450a565b840191505092915050565b6000608082019050615af060008301876145d9565b615afd60208301866145d9565b615b0a6040830185614643565b8181036060830152615b1c8184615aa2565b905095945050505050565b600081519050615b36816142f1565b92915050565b600060208284031215615b5257615b516142bb565b5b6000615b6084828501615b27565b91505092915050565b6000615b7482614576565b9150615b7f83614576565b925082821015615b9257615b916151c4565b5b828203905092915050565b6000615ba882614576565b9150615bb383614576565b925082615bc357615bc261524d565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615c04601c8361548e565b9150615c0f82615bce565b601c82019050919050565b6000819050919050565b6000819050919050565b615c3f615c3a82615c1a565b615c24565b82525050565b6000615c5082615bf7565b9150615c5c8284615c2e565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615cd06018836144c6565b9150615cdb82615c9a565b602082019050919050565b60006020820190508181036000830152615cff81615cc3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615d3c601f836144c6565b9150615d4782615d06565b602082019050919050565b60006020820190508181036000830152615d6b81615d2f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615dce6022836144c6565b9150615dd982615d72565b604082019050919050565b60006020820190508181036000830152615dfd81615dc1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e606022836144c6565b9150615e6b82615e04565b604082019050919050565b60006020820190508181036000830152615e8f81615e53565b9050919050565b615e9f81615c1a565b82525050565b600060ff82169050919050565b615ebb81615ea5565b82525050565b6000608082019050615ed66000830187615e96565b615ee36020830186615eb2565b615ef06040830185615e96565b615efd6060830184615e96565b9594505050505056fea2646970667358221220c512410288771f7b0cfae6babcc040a51e3438e26fbf3cb2b9bb2bbd2f18d7df64736f6c634300080e0033000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000b5a65726f4772617669747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a474300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574b61506a5967396633335a7950334161396f6132426b39597571776a5a5662746d567973686a59453172612f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d626668546a79616d55385861476e566b7059695050446f5531584a4d417677314743436f6f477a72556b68532f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044697066733a2f2f516d58625236364b6d4c4a56383961335734524d4b6857515a587a613642766179504343526232694b416a4d57632f726f79616c746965732e6a736f6e00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102ff5760003560e01c8063715018a611610190578063c23dc68f116100dc578063da3ef23f11610095578063e8a3d4851161006f578063e8a3d48514610b5f578063e985e9c514610b8a578063f2c4ce1e14610bc7578063f2fde38b14610bf0576102ff565b8063da3ef23f14610aef578063db7fd40814610b18578063e6798baa14610b34576102ff565b8063c23dc68f146109cd578063c668286214610a0a578063c87b56dd14610a35578063ccb4807b14610a72578063d0eb26b014610a9b578063d5abeb0114610ac4576102ff565b80639937f19f11610149578063a475b5dd11610123578063a475b5dd14610939578063b7c7d9a714610950578063b88d4fde14610979578063ba7d2c76146109a2576102ff565b80639937f19f146108a857806399a2557a146108d3578063a22cb46514610910576102ff565b8063715018a6146107ac5780637f00c7a6146107c35780638462151c146107ec5780638da5cb5b1461082957806390f0c3831461085457806395d89b411461087d576102ff565b80632dfd8fae1161024f5780635bbb2177116102085780636a13ab55116101e25780636a13ab55146106f25780636c0360eb1461071b5780636c19e7831461074657806370a082311461076f576102ff565b80635bbb21771461064d5780635c975abb1461068a5780636352211e146106b5576102ff565b80632dfd8fae146105745780633ccfd60b1461059d57806342842e0e146105a757806344a0d68a146105d057806351830227146105f957806355f804b314610624576102ff565b8063095ea7b3116102bc57806318cae2691161029657806318cae269146104a5578063239c70ae146104e257806323b872dd1461050d5780632a55205a14610536576102ff565b8063095ea7b31461042657806313faede61461044f57806318160ddd1461047a576102ff565b806301ffc9a71461030457806302329a291461034157806302fa7c471461036a57806306fdde0314610393578063081812fc146103be578063081c8c44146103fb575b600080fd5b34801561031057600080fd5b5061032b6004803603810190610326919061431d565b610c19565b6040516103389190614365565b60405180910390f35b34801561034d57600080fd5b50610368600480360381019061036391906143ac565b610c3b565b005b34801561037657600080fd5b50610391600480360381019061038c919061447b565b610cd4565b005b34801561039f57600080fd5b506103a8610d5e565b6040516103b59190614554565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e091906145ac565b610df0565b6040516103f291906145e8565b60405180910390f35b34801561040757600080fd5b50610410610e6c565b60405161041d9190614554565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190614603565b610efa565b005b34801561045b57600080fd5b506104646110a0565b6040516104719190614652565b60405180910390f35b34801561048657600080fd5b5061048f6110a6565b60405161049c9190614652565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c7919061466d565b6110bd565b6040516104d99190614652565b60405180910390f35b3480156104ee57600080fd5b506104f76110d5565b6040516105049190614652565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f919061469a565b6110db565b005b34801561054257600080fd5b5061055d600480360381019061055891906146ed565b6110eb565b60405161056b92919061472d565b60405180910390f35b34801561058057600080fd5b5061059b600480360381019061059691906145ac565b6112d5565b005b6105a561135b565b005b3480156105b357600080fd5b506105ce60048036038101906105c9919061469a565b611457565b005b3480156105dc57600080fd5b506105f760048036038101906105f291906145ac565b611477565b005b34801561060557600080fd5b5061060e6114fd565b60405161061b9190614365565b60405180910390f35b34801561063057600080fd5b5061064b6004803603810190610646919061488b565b611510565b005b34801561065957600080fd5b50610674600480360381019061066f919061499c565b6115a6565b6040516106819190614b17565b60405180910390f35b34801561069657600080fd5b5061069f611667565b6040516106ac9190614365565b60405180910390f35b3480156106c157600080fd5b506106dc60048036038101906106d791906145ac565b61167a565b6040516106e991906145e8565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190614bea565b61168c565b005b34801561072757600080fd5b506107306117c3565b60405161073d9190614554565b60405180910390f35b34801561075257600080fd5b5061076d6004803603810190610768919061466d565b611851565b005b34801561077b57600080fd5b506107966004803603810190610791919061466d565b611911565b6040516107a39190614652565b60405180910390f35b3480156107b857600080fd5b506107c16119c9565b005b3480156107cf57600080fd5b506107ea60048036038101906107e591906145ac565b611a51565b005b3480156107f857600080fd5b50610813600480360381019061080e919061466d565b611ad7565b6040516108209190614d29565b60405180910390f35b34801561083557600080fd5b5061083e611c1a565b60405161084b91906145e8565b60405180910390f35b34801561086057600080fd5b5061087b600480360381019061087691906143ac565b611c44565b005b34801561088957600080fd5b50610892611cdd565b60405161089f9190614554565b60405180910390f35b3480156108b457600080fd5b506108bd611d6f565b6040516108ca9190614365565b60405180910390f35b3480156108df57600080fd5b506108fa60048036038101906108f59190614d4b565b611d82565b6040516109079190614d29565b60405180910390f35b34801561091c57600080fd5b5061093760048036038101906109329190614d9e565b611f8e565b005b34801561094557600080fd5b5061094e612105565b005b34801561095c57600080fd5b50610977600480360381019061097291906145ac565b61219e565b005b34801561098557600080fd5b506109a0600480360381019061099b9190614e7f565b612224565b005b3480156109ae57600080fd5b506109b7612297565b6040516109c49190614652565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef91906145ac565b61229d565b604051610a019190614f44565b60405180910390f35b348015610a1657600080fd5b50610a1f612307565b604051610a2c9190614554565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a5791906145ac565b612395565b604051610a699190614554565b60405180910390f35b348015610a7e57600080fd5b50610a996004803603810190610a949190614fb5565b6124ed565b005b348015610aa757600080fd5b50610ac26004803603810190610abd91906145ac565b61257f565b005b348015610ad057600080fd5b50610ad9612605565b604051610ae69190614652565b60405180910390f35b348015610afb57600080fd5b50610b166004803603810190610b11919061488b565b61260b565b005b610b326004803603810190610b2d9190615058565b6126a1565b005b348015610b4057600080fd5b50610b49612a97565b604051610b569190614652565b60405180910390f35b348015610b6b57600080fd5b50610b74612a9d565b604051610b819190614554565b60405180910390f35b348015610b9657600080fd5b50610bb16004803603810190610bac91906150b8565b612b2b565b604051610bbe9190614365565b60405180910390f35b348015610bd357600080fd5b50610bee6004803603810190610be9919061488b565b612bbf565b005b348015610bfc57600080fd5b50610c176004803603810190610c12919061466d565b612c55565b005b6000610c2482612d4c565b80610c345750610c3382612dde565b5b9050919050565b610c43612e58565b73ffffffffffffffffffffffffffffffffffffffff16610c61611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae90615144565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b610cdc612e58565b73ffffffffffffffffffffffffffffffffffffffff16610cfa611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4790615144565b60405180910390fd5b610d5a8282612e60565b5050565b606060028054610d6d90615193565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9990615193565b8015610de65780601f10610dbb57610100808354040283529160200191610de6565b820191906000526020600020905b815481529060010190602001808311610dc957829003601f168201915b5050505050905090565b6000610dfb82612ff5565b610e31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610e7990615193565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea590615193565b8015610ef25780601f10610ec757610100808354040283529160200191610ef2565b820191906000526020600020905b815481529060010190602001808311610ed557829003601f168201915b505050505081565b6000610f0582613054565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f6c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f8b613120565b73ffffffffffffffffffffffffffffffffffffffff1614610fee57610fb781610fb2613120565b612b2b565b610fed576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b60006110b0613128565b6001546000540303905090565b60166020528060005260406000206000915090505481565b60105481565b6110e6838383613132565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036112805760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061128a6134d9565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112b691906151f3565b6112c0919061527c565b90508160000151819350935050509250929050565b6112dd612e58565b73ffffffffffffffffffffffffffffffffffffffff166112fb611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890615144565b60405180910390fd5b8060128190555050565b611363612e58565b73ffffffffffffffffffffffffffffffffffffffff16611381611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146113d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ce90615144565b60405180910390fd5b60006113e1611c1a565b73ffffffffffffffffffffffffffffffffffffffff1647604051611404906152de565b60006040518083038185875af1925050503d8060008114611441576040519150601f19603f3d011682016040523d82523d6000602084013e611446565b606091505b505090508061145457600080fd5b50565b61147283838360405180602001604052806000815250612224565b505050565b61147f612e58565b73ffffffffffffffffffffffffffffffffffffffff1661149d611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90615144565b60405180910390fd5b80600e8190555050565b601360019054906101000a900460ff1681565b611518612e58565b73ffffffffffffffffffffffffffffffffffffffff16611536611c1a565b73ffffffffffffffffffffffffffffffffffffffff161461158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390615144565b60405180910390fd5b80600b90805190602001906115a2929190614145565b5050565b606060008251905060008167ffffffffffffffff8111156115ca576115c9614760565b5b60405190808252806020026020018201604052801561160357816020015b6115f06141cb565b8152602001906001900390816115e85790505b50905060005b82811461165c57611633858281518110611626576116256152f3565b5b602002602001015161229d565b828281518110611646576116456152f3565b5b6020026020010181905250806001019050611609565b508092505050919050565b601360009054906101000a900460ff1681565b600061168582613054565b9050919050565b611694612e58565b73ffffffffffffffffffffffffffffffffffffffff166116b2611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90615144565b60405180910390fd5b818190508484905014611750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174790615394565b60405180910390fd5b60005b848490508110156117bc576117a933868684818110611775576117746152f3565b5b905060200201602081019061178a919061466d565b85858581811061179d5761179c6152f3565b5b90506020020135611457565b80806117b4906153b4565b915050611753565b5050505050565b600b80546117d090615193565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc90615193565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b505050505081565b611859612e58565b73ffffffffffffffffffffffffffffffffffffffff16611877611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c490615144565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611978576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6119d1612e58565b73ffffffffffffffffffffffffffffffffffffffff166119ef611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c90615144565b60405180910390fd5b611a4f60006134e3565b565b611a59612e58565b73ffffffffffffffffffffffffffffffffffffffff16611a77611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac490615144565b60405180910390fd5b8060108190555050565b60606000806000611ae785611911565b905060008167ffffffffffffffff811115611b0557611b04614760565b5b604051908082528060200260200182016040528015611b335781602001602082028036833780820191505090505b509050611b3e6141cb565b6000611b48613128565b90505b838614611c0c57611b5b816135a9565b91508160400151611c0157600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611ba657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c005780838780600101985081518110611bf357611bf26152f3565b5b6020026020010181815250505b5b806001019050611b4b565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c4c612e58565b73ffffffffffffffffffffffffffffffffffffffff16611c6a611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb790615144565b60405180910390fd5b80601360026101000a81548160ff02191690831515021790555050565b606060038054611cec90615193565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1890615193565b8015611d655780601f10611d3a57610100808354040283529160200191611d65565b820191906000526020600020905b815481529060010190602001808311611d4857829003601f168201915b5050505050905090565b601360029054906101000a900460ff1681565b6060818310611dbd576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611dc86135d4565b9050611dd2613128565b851015611de457611de1613128565b94505b80841115611df0578093505b6000611dfb87611911565b905084861015611e1e576000868603905081811015611e18578091505b50611e23565b600090505b60008167ffffffffffffffff811115611e3f57611e3e614760565b5b604051908082528060200260200182016040528015611e6d5781602001602082028036833780820191505090505b50905060008203611e845780945050505050611f87565b6000611e8f8861229d565b905060008160400151611ea457816000015190505b60008990505b888114158015611eba5750848714155b15611f7957611ec8816135a9565b92508260400151611f6e57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611f1357826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f6d5780848880600101995081518110611f6057611f5f6152f3565b5b6020026020010181815250505b5b806001019050611eaa565b508583528296505050505050505b9392505050565b611f96613120565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ffa576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612007613120565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120b4613120565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120f99190614365565b60405180910390a35050565b61210d612e58565b73ffffffffffffffffffffffffffffffffffffffff1661212b611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217890615144565b60405180910390fd5b6001601360016101000a81548160ff021916908315150217905550565b6121a6612e58565b73ffffffffffffffffffffffffffffffffffffffff166121c4611c1a565b73ffffffffffffffffffffffffffffffffffffffff161461221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190615144565b60405180910390fd5b80600f8190555050565b61222f848484613132565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122915761225a848484846135dd565b612290576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60115481565b6122a56141cb565b6122ad6141cb565b6122b5613128565b8310806122c957506122c56135d4565b8310155b156122d75780915050612302565b6122e0836135a9565b90508060400151156122f55780915050612302565b6122fe8361372d565b9150505b919050565b600c805461231490615193565b80601f016020809104026020016040519081016040528092919081815260200182805461234090615193565b801561238d5780601f106123625761010080835404028352916020019161238d565b820191906000526020600020905b81548152906001019060200180831161237057829003601f168201915b505050505081565b60606123a082612ff5565b6123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d69061546e565b60405180910390fd5b60001515601360019054906101000a900460ff1615150361248c57600d805461240790615193565b80601f016020809104026020016040519081016040528092919081815260200182805461243390615193565b80156124805780601f1061245557610100808354040283529160200191612480565b820191906000526020600020905b81548152906001019060200180831161246357829003601f168201915b505050505090506124e8565b600061249661374d565b905060008151116124b657604051806020016040528060008152506124e4565b806124c0846137df565b600c6040516020016124d49392919061555e565b6040516020818303038152906040525b9150505b919050565b6124f5612e58565b73ffffffffffffffffffffffffffffffffffffffff16612513611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256090615144565b60405180910390fd5b81816014919061257a92919061420e565b505050565b612587612e58565b73ffffffffffffffffffffffffffffffffffffffff166125a5611c1a565b73ffffffffffffffffffffffffffffffffffffffff16146125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f290615144565b60405180910390fd5b8060118190555050565b600f5481565b612613612e58565b73ffffffffffffffffffffffffffffffffffffffff16612631611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90615144565b60405180910390fd5b80600c908051906020019061269d929190614145565b5050565b60006126ab6110a6565b9050600084116126f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e7906155db565b60405180910390fd5b600f5484826126ff91906155fb565b1115612740576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127379061569d565b60405180910390fd5b612748611c1a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a3157601360009054906101000a900460ff16156127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c190615709565b60405180910390fd5b60011515601360029054906101000a900460ff16151503612906576000336040516020016127f89190615771565b604051602081830303815290604052805190602001209050600061281b8261393f565b9050600061286d8287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061396f565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156128f95750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61290257600080fd5b5050505b60105484111561294b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612942906157fe565b60405180910390fd5b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601154858261299e91906155fb565b11156129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d69061586a565b60405180910390fd5b84600e546129ed91906151f3565b341015612a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a26906158d6565b60405180910390fd5b505b83601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8091906155fb565b92505081905550612a913385613996565b50505050565b60125481565b60148054612aaa90615193565b80601f0160208091040260200160405190810160405280929190818152602001828054612ad690615193565b8015612b235780601f10612af857610100808354040283529160200191612b23565b820191906000526020600020905b815481529060010190602001808311612b0657829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612bc7612e58565b73ffffffffffffffffffffffffffffffffffffffff16612be5611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3290615144565b60405180910390fd5b80600d9080519060200190612c51929190614145565b5050565b612c5d612e58565b73ffffffffffffffffffffffffffffffffffffffff16612c7b611c1a565b73ffffffffffffffffffffffffffffffffffffffff1614612cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc890615144565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3790615968565b60405180910390fd5b612d49816134e3565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612da757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dd75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e515750612e50826139b4565b5b9050919050565b600033905090565b612e686134d9565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebd906159fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2c90615a66565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081613000613128565b1115801561300f575060005482105b801561304d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080613063613128565b116130e9576000548110156130e85760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036130e6575b600081036130dc5760046000836001900393508381526020019081526020016000205490506130b2565b809250505061311b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b6000601254905090565b600061313d82613054565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146131a4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166131c5613120565b73ffffffffffffffffffffffffffffffffffffffff1614806131f457506131f3856131ee613120565b612b2b565b5b806132395750613202613120565b73ffffffffffffffffffffffffffffffffffffffff1661322184610df0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613272576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036132d8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132e58585856001613a1e565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6133e286613a24565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083160361346a5760006001840190506000600460008381526020019081526020016000205403613468576000548114613467578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134d28585856001613a2e565b5050505050565b6000612710905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6135b16141cb565b6135cd6004600084815260200190815260200160002054613a34565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613603613120565b8786866040518563ffffffff1660e01b81526004016136259493929190615adb565b6020604051808303816000875af192505050801561366157506040513d601f19601f8201168201806040525081019061365e9190615b3c565b60015b6136da573d8060008114613691576040519150601f19603f3d011682016040523d82523d6000602084013e613696565b606091505b5060008151036136d2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6137356141cb565b61374661374183613054565b613a34565b9050919050565b6060600b805461375c90615193565b80601f016020809104026020016040519081016040528092919081815260200182805461378890615193565b80156137d55780601f106137aa576101008083540402835291602001916137d5565b820191906000526020600020905b8154815290600101906020018083116137b857829003601f168201915b5050505050905090565b606060008203613826576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061393a565b600082905060005b60008214613858578080613841906153b4565b915050600a82613851919061527c565b915061382e565b60008167ffffffffffffffff81111561387457613873614760565b5b6040519080825280601f01601f1916602001820160405280156138a65781602001600182028036833780820191505090505b5090505b60008514613933576001826138bf9190615b69565b9150600a856138ce9190615b9d565b60306138da91906155fb565b60f81b8183815181106138f0576138ef6152f3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561392c919061527c565b94506138aa565b8093505050505b919050565b6000816040516020016139529190615c45565b604051602081830303815290604052805190602001209050919050565b600080600061397e8585613ad0565b9150915061398b81613b51565b819250505092915050565b6139b0828260405180602001604052806000815250613d1d565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b6000819050919050565b50505050565b613a3c6141cb565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b6000806041835103613b115760008060006020860151925060408601519150606086015160001a9050613b0587828585613fd0565b94509450505050613b4a565b6040835103613b41576000806020850151915060408501519050613b368683836140dc565b935093505050613b4a565b60006002915091505b9250929050565b60006004811115613b6557613b64615c6b565b5b816004811115613b7857613b77615c6b565b5b0315613d1a5760016004811115613b9257613b91615c6b565b5b816004811115613ba557613ba4615c6b565b5b03613be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bdc90615ce6565b60405180910390fd5b60026004811115613bf957613bf8615c6b565b5b816004811115613c0c57613c0b615c6b565b5b03613c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4390615d52565b60405180910390fd5b60036004811115613c6057613c5f615c6b565b5b816004811115613c7357613c72615c6b565b5b03613cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613caa90615de4565b60405180910390fd5b600480811115613cc657613cc5615c6b565b5b816004811115613cd957613cd8615c6b565b5b03613d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d1090615e76565b60405180910390fd5b5b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613d89576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303613dc3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613dd06000858386613a1e565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613e356001851461413b565b901b60a042901b613e4586613a24565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613f49575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ef960008784806001019550876135dd565b613f2f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613e8a578260005414613f4457600080fd5b613fb4565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613f4a575b816000819055505050613fca6000858386613a2e565b50505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561400b5760006003915091506140d3565b601b8560ff16141580156140235750601c8560ff1614155b156140355760006004915091506140d3565b60006001878787876040516000815260200160405260405161405a9493929190615ec1565b6020604051602081039080840390855afa15801561407c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036140ca576000600192509250506140d3565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61411f91906155fb565b905061412d87828885613fd0565b935093505050935093915050565b6000819050919050565b82805461415190615193565b90600052602060002090601f01602090048101928261417357600085556141ba565b82601f1061418c57805160ff19168380011785556141ba565b828001600101855582156141ba579182015b828111156141b957825182559160200191906001019061419e565b5b5090506141c79190614294565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b82805461421a90615193565b90600052602060002090601f01602090048101928261423c5760008555614283565b82601f1061425557803560ff1916838001178555614283565b82800160010185558215614283579182015b82811115614282578235825591602001919060010190614267565b5b5090506142909190614294565b5090565b5b808211156142ad576000816000905550600101614295565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142fa816142c5565b811461430557600080fd5b50565b600081359050614317816142f1565b92915050565b600060208284031215614333576143326142bb565b5b600061434184828501614308565b91505092915050565b60008115159050919050565b61435f8161434a565b82525050565b600060208201905061437a6000830184614356565b92915050565b6143898161434a565b811461439457600080fd5b50565b6000813590506143a681614380565b92915050565b6000602082840312156143c2576143c16142bb565b5b60006143d084828501614397565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614404826143d9565b9050919050565b614414816143f9565b811461441f57600080fd5b50565b6000813590506144318161440b565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61445881614437565b811461446357600080fd5b50565b6000813590506144758161444f565b92915050565b60008060408385031215614492576144916142bb565b5b60006144a085828601614422565b92505060206144b185828601614466565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144f55780820151818401526020810190506144da565b83811115614504576000848401525b50505050565b6000601f19601f8301169050919050565b6000614526826144bb565b61453081856144c6565b93506145408185602086016144d7565b6145498161450a565b840191505092915050565b6000602082019050818103600083015261456e818461451b565b905092915050565b6000819050919050565b61458981614576565b811461459457600080fd5b50565b6000813590506145a681614580565b92915050565b6000602082840312156145c2576145c16142bb565b5b60006145d084828501614597565b91505092915050565b6145e2816143f9565b82525050565b60006020820190506145fd60008301846145d9565b92915050565b6000806040838503121561461a576146196142bb565b5b600061462885828601614422565b925050602061463985828601614597565b9150509250929050565b61464c81614576565b82525050565b60006020820190506146676000830184614643565b92915050565b600060208284031215614683576146826142bb565b5b600061469184828501614422565b91505092915050565b6000806000606084860312156146b3576146b26142bb565b5b60006146c186828701614422565b93505060206146d286828701614422565b92505060406146e386828701614597565b9150509250925092565b60008060408385031215614704576147036142bb565b5b600061471285828601614597565b925050602061472385828601614597565b9150509250929050565b600060408201905061474260008301856145d9565b61474f6020830184614643565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6147988261450a565b810181811067ffffffffffffffff821117156147b7576147b6614760565b5b80604052505050565b60006147ca6142b1565b90506147d6828261478f565b919050565b600067ffffffffffffffff8211156147f6576147f5614760565b5b6147ff8261450a565b9050602081019050919050565b82818337600083830152505050565b600061482e614829846147db565b6147c0565b90508281526020810184848401111561484a5761484961475b565b5b61485584828561480c565b509392505050565b600082601f83011261487257614871614756565b5b813561488284826020860161481b565b91505092915050565b6000602082840312156148a1576148a06142bb565b5b600082013567ffffffffffffffff8111156148bf576148be6142c0565b5b6148cb8482850161485d565b91505092915050565b600067ffffffffffffffff8211156148ef576148ee614760565b5b602082029050602081019050919050565b600080fd5b6000614918614913846148d4565b6147c0565b9050808382526020820190506020840283018581111561493b5761493a614900565b5b835b8181101561496457806149508882614597565b84526020840193505060208101905061493d565b5050509392505050565b600082601f83011261498357614982614756565b5b8135614993848260208601614905565b91505092915050565b6000602082840312156149b2576149b16142bb565b5b600082013567ffffffffffffffff8111156149d0576149cf6142c0565b5b6149dc8482850161496e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614a1a816143f9565b82525050565b600067ffffffffffffffff82169050919050565b614a3d81614a20565b82525050565b614a4c8161434a565b82525050565b606082016000820151614a686000850182614a11565b506020820151614a7b6020850182614a34565b506040820151614a8e6040850182614a43565b50505050565b6000614aa08383614a52565b60608301905092915050565b6000602082019050919050565b6000614ac4826149e5565b614ace81856149f0565b9350614ad983614a01565b8060005b83811015614b0a578151614af18882614a94565b9750614afc83614aac565b925050600181019050614add565b5085935050505092915050565b60006020820190508181036000830152614b318184614ab9565b905092915050565b600080fd5b60008083601f840112614b5457614b53614756565b5b8235905067ffffffffffffffff811115614b7157614b70614b39565b5b602083019150836020820283011115614b8d57614b8c614900565b5b9250929050565b60008083601f840112614baa57614ba9614756565b5b8235905067ffffffffffffffff811115614bc757614bc6614b39565b5b602083019150836020820283011115614be357614be2614900565b5b9250929050565b60008060008060408587031215614c0457614c036142bb565b5b600085013567ffffffffffffffff811115614c2257614c216142c0565b5b614c2e87828801614b3e565b9450945050602085013567ffffffffffffffff811115614c5157614c506142c0565b5b614c5d87828801614b94565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614ca081614576565b82525050565b6000614cb28383614c97565b60208301905092915050565b6000602082019050919050565b6000614cd682614c6b565b614ce08185614c76565b9350614ceb83614c87565b8060005b83811015614d1c578151614d038882614ca6565b9750614d0e83614cbe565b925050600181019050614cef565b5085935050505092915050565b60006020820190508181036000830152614d438184614ccb565b905092915050565b600080600060608486031215614d6457614d636142bb565b5b6000614d7286828701614422565b9350506020614d8386828701614597565b9250506040614d9486828701614597565b9150509250925092565b60008060408385031215614db557614db46142bb565b5b6000614dc385828601614422565b9250506020614dd485828601614397565b9150509250929050565b600067ffffffffffffffff821115614df957614df8614760565b5b614e028261450a565b9050602081019050919050565b6000614e22614e1d84614dde565b6147c0565b905082815260208101848484011115614e3e57614e3d61475b565b5b614e4984828561480c565b509392505050565b600082601f830112614e6657614e65614756565b5b8135614e76848260208601614e0f565b91505092915050565b60008060008060808587031215614e9957614e986142bb565b5b6000614ea787828801614422565b9450506020614eb887828801614422565b9350506040614ec987828801614597565b925050606085013567ffffffffffffffff811115614eea57614ee96142c0565b5b614ef687828801614e51565b91505092959194509250565b606082016000820151614f186000850182614a11565b506020820151614f2b6020850182614a34565b506040820151614f3e6040850182614a43565b50505050565b6000606082019050614f596000830184614f02565b92915050565b60008083601f840112614f7557614f74614756565b5b8235905067ffffffffffffffff811115614f9257614f91614b39565b5b602083019150836001820283011115614fae57614fad614900565b5b9250929050565b60008060208385031215614fcc57614fcb6142bb565b5b600083013567ffffffffffffffff811115614fea57614fe96142c0565b5b614ff685828601614f5f565b92509250509250929050565b60008083601f84011261501857615017614756565b5b8235905067ffffffffffffffff81111561503557615034614b39565b5b60208301915083600182028301111561505157615050614900565b5b9250929050565b600080600060408486031215615071576150706142bb565b5b600061507f86828701614597565b935050602084013567ffffffffffffffff8111156150a05761509f6142c0565b5b6150ac86828701615002565b92509250509250925092565b600080604083850312156150cf576150ce6142bb565b5b60006150dd85828601614422565b92505060206150ee85828601614422565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061512e6020836144c6565b9150615139826150f8565b602082019050919050565b6000602082019050818103600083015261515d81615121565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151ab57607f821691505b6020821081036151be576151bd615164565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151fe82614576565b915061520983614576565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615242576152416151c4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061528782614576565b915061529283614576565b9250826152a2576152a161524d565b5b828204905092915050565b600081905092915050565b50565b60006152c86000836152ad565b91506152d3826152b8565b600082019050919050565b60006152e9826152bb565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f52656365697665727320616e64204944732061726520646966666572656e742060008201527f6c656e6774680000000000000000000000000000000000000000000000000000602082015250565b600061537e6026836144c6565b915061538982615322565b604082019050919050565b600060208201905081810360008301526153ad81615371565b9050919050565b60006153bf82614576565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036153f1576153f06151c4565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615458602f836144c6565b9150615463826153fc565b604082019050919050565b600060208201905081810360008301526154878161544b565b9050919050565b600081905092915050565b60006154a4826144bb565b6154ae818561548e565b93506154be8185602086016144d7565b80840191505092915050565b60008190508160005260206000209050919050565b600081546154ec81615193565b6154f6818661548e565b94506001821660008114615511576001811461552257615555565b60ff19831686528186019350615555565b61552b856154ca565b60005b8381101561554d5781548189015260018201915060208101905061552e565b838801955050505b50505092915050565b600061556a8286615499565b91506155768285615499565b915061558282846154df565b9150819050949350505050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b60006155c5601b836144c6565b91506155d08261558f565b602082019050919050565b600060208201905081810360008301526155f4816155b8565b9050919050565b600061560682614576565b915061561183614576565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615646576156456151c4565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b60006156876016836144c6565b915061569282615651565b602082019050919050565b600060208201905081810360008301526156b68161567a565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b60006156f36016836144c6565b91506156fe826156bd565b602082019050919050565b60006020820190508181036000830152615722816156e6565b9050919050565b60008160601b9050919050565b600061574182615729565b9050919050565b600061575382615736565b9050919050565b61576b615766826143f9565b615748565b82525050565b600061577d828461575a565b60148201915081905092915050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b60006157e86024836144c6565b91506157f38261578c565b604082019050919050565b60006020820190508181036000830152615817816157db565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b6000615854601c836144c6565b915061585f8261581e565b602082019050919050565b6000602082019050818103600083015261588381615847565b9050919050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006158c06012836144c6565b91506158cb8261588a565b602082019050919050565b600060208201905081810360008301526158ef816158b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006159526026836144c6565b915061595d826158f6565b604082019050919050565b6000602082019050818103600083015261598181615945565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006159e4602a836144c6565b91506159ef82615988565b604082019050919050565b60006020820190508181036000830152615a13816159d7565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615a506019836144c6565b9150615a5b82615a1a565b602082019050919050565b60006020820190508181036000830152615a7f81615a43565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615aad82615a86565b615ab78185615a91565b9350615ac78185602086016144d7565b615ad08161450a565b840191505092915050565b6000608082019050615af060008301876145d9565b615afd60208301866145d9565b615b0a6040830185614643565b8181036060830152615b1c8184615aa2565b905095945050505050565b600081519050615b36816142f1565b92915050565b600060208284031215615b5257615b516142bb565b5b6000615b6084828501615b27565b91505092915050565b6000615b7482614576565b9150615b7f83614576565b925082821015615b9257615b916151c4565b5b828203905092915050565b6000615ba882614576565b9150615bb383614576565b925082615bc357615bc261524d565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615c04601c8361548e565b9150615c0f82615bce565b601c82019050919050565b6000819050919050565b6000819050919050565b615c3f615c3a82615c1a565b615c24565b82525050565b6000615c5082615bf7565b9150615c5c8284615c2e565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615cd06018836144c6565b9150615cdb82615c9a565b602082019050919050565b60006020820190508181036000830152615cff81615cc3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615d3c601f836144c6565b9150615d4782615d06565b602082019050919050565b60006020820190508181036000830152615d6b81615d2f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615dce6022836144c6565b9150615dd982615d72565b604082019050919050565b60006020820190508181036000830152615dfd81615dc1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e606022836144c6565b9150615e6b82615e04565b604082019050919050565b60006020820190508181036000830152615e8f81615e53565b9050919050565b615e9f81615c1a565b82525050565b600060ff82169050919050565b615ebb81615ea5565b82525050565b6000608082019050615ed66000830187615e96565b615ee36020830186615eb2565b615ef06040830185615e96565b615efd6060830184615e96565b9594505050505056fea2646970667358221220c512410288771f7b0cfae6babcc040a51e3438e26fbf3cb2b9bb2bbd2f18d7df64736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000b5a65726f4772617669747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a474300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574b61506a5967396633335a7950334161396f6132426b39597571776a5a5662746d567973686a59453172612f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d626668546a79616d55385861476e566b7059695050446f5531584a4d417677314743436f6f477a72556b68532f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044697066733a2f2f516d58625236364b6d4c4a56383961335734524d4b6857515a587a613642766179504343526232694b416a4d57632f726f79616c746965732e6a736f6e00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _royaltyFeeInBips (uint96): 800
Arg [1] : _name (string): ZeroGravity
Arg [2] : _symbol (string): ZGC
Arg [3] : _initBaseURI (string): ipfs://QmWKaPjYg9f33ZyP3Aa9oa2Bk9YuqwjZVbtmVyshjYE1ra/
Arg [4] : _initNotRevealedUri (string): ipfs://QmbfhTjyamU8XaGnVkpYiPPDoU1XJMAvw1GCCooGzrUkhS/hidden.json
Arg [5] : _contractURI (string): ipfs://QmXbR66KmLJV89a3W4RMKhWQZXza6BvayPCCRb2iKAjMWc/royalties.json
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [7] : 5a65726f47726176697479000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 5a47430000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [11] : 697066733a2f2f516d574b61506a5967396633335a7950334161396f6132426b
Arg [12] : 39597571776a5a5662746d567973686a59453172612f00000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [14] : 697066733a2f2f516d626668546a79616d55385861476e566b7059695050446f
Arg [15] : 5531584a4d417677314743436f6f477a72556b68532f68696464656e2e6a736f
Arg [16] : 6e00000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [18] : 697066733a2f2f516d58625236364b6d4c4a56383961335734524d4b6857515a
Arg [19] : 587a613642766179504343526232694b416a4d57632f726f79616c746965732e
Arg [20] : 6a736f6e00000000000000000000000000000000000000000000000000000000
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.