ERC-721
Overview
Max Total Supply
1,082 CHDZ
Holders
98
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 CHDZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Chadz
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.16 <0.9.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; contract Chadz is DefaultOperatorFilterer, ERC721A, ReentrancyGuard, Ownable { using Strings for uint256; mapping(address => uint256) public publicMinted; string public uriPrefix = "ipfs://"; string public uriSuffix = ".json"; string public hiddenMetadataUri; string public uriContract = "ipfs://QmaLarczYvJ48qHUjTqMqMZ8C7UZMA3JZwNxEphMvgx6Wf"; uint256 public price = 0.003 ether; uint256 public maxSupply = 4269; uint256 public publicMintTxLimit = 10; uint256 public maxPublicMintAmount = 20; uint256 public freeMintTxLimit = 10; uint256 public maxFreeMintAmount = 20; uint256 public internalMintAmount = 20; bool public paused = true; bool public revealed = false; address[] public internalAccounts = [ 0x831Fc358124D5899B731472Ebe2a4BF1cD6C3e1e, 0xAE0C0E1E098a1c5F711A78AfeC0286CCd79169bc, 0xd01161a8C437ee941E80415d74E1b3311356F44b, 0x1e2c490B5F94b2e7a79C7b6a3C6995dfc97009B7 ]; constructor() ERC721A("Chadz", "CHDZ") { setHiddenMetadataUri("ipfs://QmPwphM4xyH9dkxnMMhEhvoxvpmBgCiJd249bBQUpFMroT"); for (uint256 i = 0; i < internalAccounts.length; i++) { _safeMint(internalAccounts[i], internalMintAmount); } } modifier publicMintCompliance(uint256 _mintAmount) { uint256 requestedAmount = totalSupply() + _mintAmount; require(_mintAmount > 0 && _mintAmount <= publicMintTxLimit, "You have exceeded the limit of mints per transaction"); require(publicMinted[msg.sender] + _mintAmount <= maxPublicMintAmount, "You have already minted your limit"); require(requestedAmount <= maxSupply, "SOLD OUT"); require(!paused, "Minting is not currently allowed!"); require(msg.value >= price * _mintAmount, "You did not send enough ETH"); _; } modifier airDropCompliance(uint256 _mintAmount) { uint256 requestedAmount = totalSupply() + _mintAmount; require(requestedAmount <= maxSupply, "SOLD OUT"); _; } modifier freeMintCompliance(uint256 _mintAmount) { uint256 requestedAmount = totalSupply() + _mintAmount; require(requestedAmount <= 1000, "FREE MINT HAS ENDED"); require(_mintAmount > 0 && _mintAmount <= freeMintTxLimit, "You have exceeded the limit of mints per transaction"); require(publicMinted[msg.sender] + _mintAmount <= maxFreeMintAmount, "You have already minted your limit"); require(!paused, "Minting is not currently allowed!"); _; } function mint(uint256 _mintAmount) public payable publicMintCompliance(_mintAmount) nonReentrant { publicMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } function airDrop(uint256 _mintAmount, address _receiver) public airDropCompliance(_mintAmount) onlyOwner nonReentrant { _safeMint(_receiver, _mintAmount); } function freeMint(uint256 _mintAmount, address _receiver) public freeMintCompliance(_mintAmount) nonReentrant { publicMinted[msg.sender] += _mintAmount; _safeMint(_receiver, _mintAmount); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ""; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 0; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function checkPublicMintAvailableToMe() public view returns (uint256) { return (maxPublicMintAmount - publicMinted[msg.sender]); } function setPrice(uint _price) public onlyOwner { price = _price; } function setPublicMintTxLimit(uint256 _publicMintTxLimit) public onlyOwner { publicMintTxLimit = _publicMintTxLimit; } function setMaxPublicMintAmount(uint256 _maxPublicMintAmount) public onlyOwner { maxPublicMintAmount = _maxPublicMintAmount; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function contractURI() public view returns (string memory) { return uriContract; } function setContractURI(string memory _contractURI) public onlyOwner { uriContract = _contractURI; } function withdraw() public onlyOwner nonReentrant{ uint256 withdrawAmount = (address(this).balance * 333 / 1000); (bool dude, ) = payable(0x831Fc358124D5899B731472Ebe2a4BF1cD6C3e1e).call{value: withdrawAmount}(""); require(dude); (bool man, ) = payable(0xAE0C0E1E098a1c5F711A78AfeC0286CCd79169bc).call{value: withdrawAmount}(""); require(man); (bool guy, ) = payable(0x61D4Df42ba5298f48C0c67c6c283eD72A480Cebc).call{value: address(this).balance}(""); require(guy); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // 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 bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID 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` // - [232..255] `extraData` 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 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual 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 auxiliary 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 auxiliary 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 virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ 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: [ERC165](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. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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 initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev 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; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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 `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns 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)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, 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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @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 virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @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() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 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`, * 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkPublicMintAvailableToMe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintTxLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"internalAccounts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"internalMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxFreeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintAmount","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":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintTxLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPublicMintAmount","type":"uint256"}],"name":"setMaxPublicMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicMintTxLimit","type":"uint256"}],"name":"setPublicMintTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriContract","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250600b90816200004a919062000f6b565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c908162000091919062000f6b565b506040518060600160405280603581526020016200583260359139600e9081620000bc919062000f6b565b50660aa87bee538000600f556110ad601055600a6011556014601255600a6013556014805560146015556001601660006101000a81548160ff0219169083151502179055506000601660016101000a81548160ff021916908315150217905550604051806080016040528073831fc358124d5899b731472ebe2a4bf1cd6c3e1e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173ae0c0e1e098a1c5f711a78afec0286ccd79169bc73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173d01161a8c437ee941e80415d74e1b3311356f44b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001731e2c490b5f94b2e7a79c7b6a3c6995dfc97009b773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525060179060046200024f92919062000c43565b503480156200025d57600080fd5b506040518060400160405280600581526020017f436861647a0000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4348445a00000000000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620004d65780156200039c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200036292919062001097565b600060405180830381600087803b1580156200037d57600080fd5b505af115801562000392573d6000803e3d6000fd5b50505050620004d5565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000456576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200041c92919062001097565b600060405180830381600087803b1580156200043757600080fd5b505af11580156200044c573d6000803e3d6000fd5b50505050620004d4565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200049f9190620010c4565b600060405180830381600087803b158015620004ba57600080fd5b505af1158015620004cf573d6000803e3d6000fd5b505050505b5b5b50508160029081620004e9919062000f6b565b508060039081620004fb919062000f6b565b506200050c620005e960201b60201c565b600081905550505060016008819055506200053c62000530620005ee60201b60201c565b620005f660201b60201c565b620005666040518060600160405280603581526020016200586760359139620006bc60201b60201c565b60005b601780549050811015620005e257620005cc60178281548110620005925762000591620010e1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601554620006e160201b60201c565b8080620005d9906200113f565b91505062000569565b50620013a2565b600090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620006cc6200070760201b60201c565b80600d9081620006dd919062000f6b565b5050565b620007038282604051806020016040528060008152506200079860201b60201c565b5050565b62000717620005ee60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200073d6200084960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000796576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200078d90620011ed565b60405180910390fd5b565b620007aa83836200087360201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146200084457600080549050600083820390505b620007f3600086838060010194508662000a5a60201b60201c565b6200082a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110620007d85781600054146200084157600080fd5b50505b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054905060008203620008b4576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620008c9600084838562000bbb60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000958836200093a600086600062000bc160201b60201c565b6200094b8562000bf160201b60201c565b1762000c0160201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114620009fb57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620009be565b506000820362000a37576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505062000a55600084838562000c2c60201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000a8862000c3260201b60201c565b8786866040518563ffffffff1660e01b815260040162000aac9493929190620012ba565b6020604051808303816000875af192505050801562000aeb57506040513d601f19601f8201168201806040525081019062000ae8919062001370565b60015b62000b68573d806000811462000b1e576040519150601f19603f3d011682016040523d82523d6000602084013e62000b23565b606091505b50600081510362000b60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e862000be086868462000c3a60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b82805482825590600052602060002090810192821562000cbf579160200282015b8281111562000cbe5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000c64565b5b50905062000cce919062000cd2565b5090565b5b8082111562000ced57600081600090555060010162000cd3565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000d7357607f821691505b60208210810362000d895762000d8862000d2b565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000df37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000db4565b62000dff868362000db4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000e4c62000e4662000e408462000e17565b62000e21565b62000e17565b9050919050565b6000819050919050565b62000e688362000e2b565b62000e8062000e778262000e53565b84845462000dc1565b825550505050565b600090565b62000e9762000e88565b62000ea481848462000e5d565b505050565b5b8181101562000ecc5762000ec060008262000e8d565b60018101905062000eaa565b5050565b601f82111562000f1b5762000ee58162000d8f565b62000ef08462000da4565b8101602085101562000f00578190505b62000f1862000f0f8562000da4565b83018262000ea9565b50505b505050565b600082821c905092915050565b600062000f406000198460080262000f20565b1980831691505092915050565b600062000f5b838362000f2d565b9150826002028217905092915050565b62000f768262000cf1565b67ffffffffffffffff81111562000f925762000f9162000cfc565b5b62000f9e825462000d5a565b62000fab82828562000ed0565b600060209050601f83116001811462000fe3576000841562000fce578287015190505b62000fda858262000f4d565b8655506200104a565b601f19841662000ff38662000d8f565b60005b828110156200101d5784890151825560018201915060208501945060208101905062000ff6565b868310156200103d578489015162001039601f89168262000f2d565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200107f8262001052565b9050919050565b620010918162001072565b82525050565b6000604082019050620010ae600083018562001086565b620010bd602083018462001086565b9392505050565b6000602082019050620010db600083018462001086565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200114c8262000e17565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362001181576200118062001110565b5b600182019050919050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620011d56020836200118c565b9150620011e2826200119d565b602082019050919050565b600060208201905081810360008301526200120881620011c6565b9050919050565b6200121a8162000e17565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156200125c5780820151818401526020810190506200123f565b60008484015250505050565b6000601f19601f8301169050919050565b6000620012868262001220565b6200129281856200122b565b9350620012a48185602086016200123c565b620012af8162001268565b840191505092915050565b6000608082019050620012d1600083018762001086565b620012e0602083018662001086565b620012ef60408301856200120f565b818103606083015262001303818462001279565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6200134a8162001313565b81146200135657600080fd5b50565b6000815190506200136a816200133f565b92915050565b6000602082840312156200138957620013886200130e565b5b6000620013998482850162001359565b91505092915050565b61448080620013b26000396000f3fe6080604052600436106102ae5760003560e01c8063715018a611610175578063a22cb465116100dc578063d5abeb0111610095578063e8a3d4851161006f578063e8a3d48514610a47578063e985e9c514610a72578063f2fde38b14610aaf578063fe86deca14610ad8576102ae565b8063d5abeb01146109c8578063e08835e3146109f3578063e0a8085314610a1e576102ae565b8063a22cb465146108c7578063a45ba8e7146108f0578063aed380151461091b578063b88d4fde14610944578063c87b56dd14610960578063ce77fcc11461099d576102ae565b806391b7f5ed1161012e57806391b7f5ed146107d8578063938e3d7b1461080157806395d89b411461082a5780639d3d41de14610855578063a035b1fe14610880578063a0712d68146108ab576102ae565b8063715018a6146106dc57806379fcb984146106f35780637ec4a6591461071c57806381764cf8146107455780638aa37268146107825780638da5cb5b146107ad576102ae565b806334861c751161021957806351830227116101d257806351830227146105b65780635503a0e8146105e15780635c975abb1461060c57806362b99ad4146106375780636352211e1461066257806370a082311461069f576102ae565b806334861c75146104c95780633ccfd60b146104f257806341f434341461050957806342842e0e14610534578063438b6300146105505780634fdd43cb1461058d576102ae565b80631015805b1161026b5780631015805b146103c857806316ba10e01461040557806316c38b3c1461042e57806318160ddd1461045757806323b872dd1461048257806327198be91461049e576102ae565b806301ffc9a7146102b357806303d8acef146102f057806306fdde031461031b578063081812fc14610346578063095ea7b3146103835780630e82b63d1461039f575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613004565b610b03565b6040516102e7919061304c565b60405180910390f35b3480156102fc57600080fd5b50610305610b95565b6040516103129190613080565b60405180910390f35b34801561032757600080fd5b50610330610b9b565b60405161033d919061312b565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613179565b610c2d565b60405161037a91906131e7565b60405180910390f35b61039d6004803603810190610398919061322e565b610cac565b005b3480156103ab57600080fd5b506103c660048036038101906103c19190613179565b610cc5565b005b3480156103d457600080fd5b506103ef60048036038101906103ea919061326e565b610cd7565b6040516103fc9190613080565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906133d0565b610cef565b005b34801561043a57600080fd5b5061045560048036038101906104509190613445565b610d0a565b005b34801561046357600080fd5b5061046c610d2f565b6040516104799190613080565b60405180910390f35b61049c60048036038101906104979190613472565b610d46565b005b3480156104aa57600080fd5b506104b3610d95565b6040516104c09190613080565b60405180910390f35b3480156104d557600080fd5b506104f060048036038101906104eb91906134c5565b610d9b565b005b3480156104fe57600080fd5b50610507610fe3565b005b34801561051557600080fd5b5061051e611203565b60405161052b9190613564565b60405180910390f35b61054e60048036038101906105499190613472565b611215565b005b34801561055c57600080fd5b506105776004803603810190610572919061326e565b611264565b604051610584919061363d565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af91906133d0565b611369565b005b3480156105c257600080fd5b506105cb611384565b6040516105d8919061304c565b60405180910390f35b3480156105ed57600080fd5b506105f6611397565b604051610603919061312b565b60405180910390f35b34801561061857600080fd5b50610621611425565b60405161062e919061304c565b60405180910390f35b34801561064357600080fd5b5061064c611438565b604051610659919061312b565b60405180910390f35b34801561066e57600080fd5b5061068960048036038101906106849190613179565b6114c6565b60405161069691906131e7565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c1919061326e565b6114d8565b6040516106d39190613080565b60405180910390f35b3480156106e857600080fd5b506106f1611590565b005b3480156106ff57600080fd5b5061071a60048036038101906107159190613179565b6115a4565b005b34801561072857600080fd5b50610743600480360381019061073e91906133d0565b6115b6565b005b34801561075157600080fd5b5061076c60048036038101906107679190613179565b6115d1565b60405161077991906131e7565b60405180910390f35b34801561078e57600080fd5b50610797611610565b6040516107a4919061312b565b60405180910390f35b3480156107b957600080fd5b506107c261169e565b6040516107cf91906131e7565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613179565b6116c8565b005b34801561080d57600080fd5b50610828600480360381019061082391906133d0565b6116da565b005b34801561083657600080fd5b5061083f6116f5565b60405161084c919061312b565b60405180910390f35b34801561086157600080fd5b5061086a611787565b6040516108779190613080565b60405180910390f35b34801561088c57600080fd5b5061089561178d565b6040516108a29190613080565b60405180910390f35b6108c560048036038101906108c09190613179565b611793565b005b3480156108d357600080fd5b506108ee60048036038101906108e9919061365f565b611a2a565b005b3480156108fc57600080fd5b50610905611a43565b604051610912919061312b565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d91906134c5565b611ad1565b005b61095e60048036038101906109599190613740565b611b9b565b005b34801561096c57600080fd5b5061098760048036038101906109829190613179565b611bec565b604051610994919061312b565b60405180910390f35b3480156109a957600080fd5b506109b2611d44565b6040516109bf9190613080565b60405180910390f35b3480156109d457600080fd5b506109dd611d98565b6040516109ea9190613080565b60405180910390f35b3480156109ff57600080fd5b50610a08611d9e565b604051610a159190613080565b60405180910390f35b348015610a2a57600080fd5b50610a456004803603810190610a409190613445565b611da4565b005b348015610a5357600080fd5b50610a5c611dc9565b604051610a69919061312b565b60405180910390f35b348015610a7e57600080fd5b50610a996004803603810190610a9491906137c3565b611e5b565b604051610aa6919061304c565b60405180910390f35b348015610abb57600080fd5b50610ad66004803603810190610ad1919061326e565b611eef565b005b348015610ae457600080fd5b50610aed611f72565b604051610afa9190613080565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b8e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60125481565b606060028054610baa90613832565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd690613832565b8015610c235780601f10610bf857610100808354040283529160200191610c23565b820191906000526020600020905b815481529060010190602001808311610c0657829003601f168201915b5050505050905090565b6000610c3882611f78565b610c6e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610cb681611fd7565b610cc083836120d4565b505050565b610ccd612218565b8060118190555050565b600a6020528060005260406000206000915090505481565b610cf7612218565b80600c9081610d069190613a05565b5050565b610d12612218565b80601660006101000a81548160ff02191690831515021790555050565b6000610d39612296565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d8457610d8333611fd7565b5b610d8f84848461229b565b50505050565b60155481565b81600081610da7610d2f565b610db19190613b06565b90506103e8811115610df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610def90613b86565b60405180910390fd5b600082118015610e0a57506013548211155b610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613c18565b60405180910390fd5b60145482600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e979190613b06565b1115610ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecf90613caa565b60405180910390fd5b601660009054906101000a900460ff1615610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90613d3c565b60405180910390fd5b600260085403610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490613da8565b60405180910390fd5b600260088190555083600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fc49190613b06565b92505081905550610fd583856125bd565b600160088190555050505050565b610feb612218565b600260085403611030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102790613da8565b60405180910390fd5b600260088190555060006103e861014d4761104b9190613dc8565b6110559190613e51565b9050600073831fc358124d5899b731472ebe2a4bf1cd6c3e1e73ffffffffffffffffffffffffffffffffffffffff168260405161109190613eb3565b60006040518083038185875af1925050503d80600081146110ce576040519150601f19603f3d011682016040523d82523d6000602084013e6110d3565b606091505b50509050806110e157600080fd5b600073ae0c0e1e098a1c5f711a78afec0286ccd79169bc73ffffffffffffffffffffffffffffffffffffffff168360405161111b90613eb3565b60006040518083038185875af1925050503d8060008114611158576040519150601f19603f3d011682016040523d82523d6000602084013e61115d565b606091505b505090508061116b57600080fd5b60007361d4df42ba5298f48c0c67c6c283ed72a480cebc73ffffffffffffffffffffffffffffffffffffffff16476040516111a590613eb3565b60006040518083038185875af1925050503d80600081146111e2576040519150601f19603f3d011682016040523d82523d6000602084013e6111e7565b606091505b50509050806111f557600080fd5b505050506001600881905550565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112535761125233611fd7565b5b61125e8484846125db565b50505050565b60606000611271836114d8565b905060008167ffffffffffffffff81111561128f5761128e6132a5565b5b6040519080825280602002602001820160405280156112bd5781602001602082028036833780820191505090505b5090506000805b83811080156112d557506010548211155b1561135d5760006112e5836114c6565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611349578284838151811061132e5761132d613ec8565b5b602002602001018181525050818061134590613ef7565b9250505b828061135490613ef7565b935050506112c4565b82945050505050919050565b611371612218565b80600d90816113809190613a05565b5050565b601660019054906101000a900460ff1681565b600c80546113a490613832565b80601f01602080910402602001604051908101604052809291908181526020018280546113d090613832565b801561141d5780601f106113f25761010080835404028352916020019161141d565b820191906000526020600020905b81548152906001019060200180831161140057829003601f168201915b505050505081565b601660009054906101000a900460ff1681565b600b805461144590613832565b80601f016020809104026020016040519081016040528092919081815260200182805461147190613832565b80156114be5780601f10611493576101008083540402835291602001916114be565b820191906000526020600020905b8154815290600101906020018083116114a157829003601f168201915b505050505081565b60006114d1826125fb565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361153f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611598612218565b6115a260006126c7565b565b6115ac612218565b8060128190555050565b6115be612218565b80600b90816115cd9190613a05565b5050565b601781815481106115e157600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e805461161d90613832565b80601f016020809104026020016040519081016040528092919081815260200182805461164990613832565b80156116965780601f1061166b57610100808354040283529160200191611696565b820191906000526020600020905b81548152906001019060200180831161167957829003601f168201915b505050505081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116d0612218565b80600f8190555050565b6116e2612218565b80600e90816116f19190613a05565b5050565b60606003805461170490613832565b80601f016020809104026020016040519081016040528092919081815260200182805461173090613832565b801561177d5780601f106117525761010080835404028352916020019161177d565b820191906000526020600020905b81548152906001019060200180831161176057829003601f168201915b5050505050905090565b60145481565b600f5481565b8060008161179f610d2f565b6117a99190613b06565b90506000821180156117bd57506011548211155b6117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f390613c18565b60405180910390fd5b60125482600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184a9190613b06565b111561188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290613caa565b60405180910390fd5b6010548111156118d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c790613f8b565b60405180910390fd5b601660009054906101000a900460ff1615611920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191790613d3c565b60405180910390fd5b81600f5461192e9190613dc8565b341015611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196790613ff7565b60405180910390fd5b6002600854036119b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ac90613da8565b60405180910390fd5b600260088190555082600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a0c9190613b06565b92505081905550611a1d33846125bd565b6001600881905550505050565b81611a3481611fd7565b611a3e838361278d565b505050565b600d8054611a5090613832565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7c90613832565b8015611ac95780601f10611a9e57610100808354040283529160200191611ac9565b820191906000526020600020905b815481529060010190602001808311611aac57829003601f168201915b505050505081565b81600081611add610d2f565b611ae79190613b06565b9050601054811115611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590613f8b565b60405180910390fd5b611b36612218565b600260085403611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613da8565b60405180910390fd5b6002600881905550611b8d83856125bd565b600160088190555050505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611bd957611bd833611fd7565b5b611be585858585612898565b5050505050565b6060611bf782611f78565b611c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2d90614089565b60405180910390fd5b60001515601660019054906101000a900460ff16151503611ce357600d8054611c5e90613832565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8a90613832565b8015611cd75780601f10611cac57610100808354040283529160200191611cd7565b820191906000526020600020905b815481529060010190602001808311611cba57829003601f168201915b50505050509050611d3f565b6000611ced61290b565b90506000815111611d0d5760405180602001604052806000815250611d3b565b80611d178461299d565b600c604051602001611d2b93929190614168565b6040516020818303038152906040525b9150505b919050565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601254611d939190614199565b905090565b60105481565b60135481565b611dac612218565b80601660016101000a81548160ff02191690831515021790555050565b6060600e8054611dd890613832565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0490613832565b8015611e515780601f10611e2657610100808354040283529160200191611e51565b820191906000526020600020905b815481529060010190602001808311611e3457829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ef7612218565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5d9061423f565b60405180910390fd5b611f6f816126c7565b50565b60115481565b600081611f83612296565b11158015611f92575060005482105b8015611fd0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156120d1576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161204e92919061425f565b602060405180830381865afa15801561206b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208f919061429d565b6120d057806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120c791906131e7565b60405180910390fd5b5b50565b60006120df826114c6565b90508073ffffffffffffffffffffffffffffffffffffffff16612100612afd565b73ffffffffffffffffffffffffffffffffffffffff16146121635761212c81612127612afd565b611e5b565b612162576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612220612b05565b73ffffffffffffffffffffffffffffffffffffffff1661223e61169e565b73ffffffffffffffffffffffffffffffffffffffff1614612294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228b90614316565b60405180910390fd5b565b600090565b60006122a6826125fb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461230d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061231984612b0d565b9150915061232f818761232a612afd565b612b34565b61237b576123448661233f612afd565b611e5b565b61237a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036123e1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123ee8686866001612b78565b80156123f957600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506124c7856124a3888887612b7e565b7c020000000000000000000000000000000000000000000000000000000017612ba6565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361254d576000600185019050600060046000838152602001908152602001600020540361254b57600054811461254a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125b58686866001612bd1565b505050505050565b6125d7828260405180602001604052806000815250612bd7565b5050565b6125f683838360405180602001604052806000815250611b9b565b505050565b6000808290508061260a612296565b116126905760005481101561268f5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361268d575b60008103612683576004600083600190039350838152602001908152602001600020549050612659565b80925050506126c2565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b806007600061279a612afd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612847612afd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161288c919061304c565b60405180910390a35050565b6128a3848484610d46565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612905576128ce84848484612c74565b612904576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600b805461291a90613832565b80601f016020809104026020016040519081016040528092919081815260200182805461294690613832565b80156129935780601f1061296857610100808354040283529160200191612993565b820191906000526020600020905b81548152906001019060200180831161297657829003601f168201915b5050505050905090565b6060600082036129e4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612af8565b600082905060005b60008214612a165780806129ff90613ef7565b915050600a82612a0f9190613e51565b91506129ec565b60008167ffffffffffffffff811115612a3257612a316132a5565b5b6040519080825280601f01601f191660200182016040528015612a645781602001600182028036833780820191505090505b5090505b60008514612af157600182612a7d9190614199565b9150600a85612a8c9190614336565b6030612a989190613b06565b60f81b818381518110612aae57612aad613ec8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aea9190613e51565b9450612a68565b8093505050505b919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b95868684612dc4565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612be18383612dcd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c6f57600080549050600083820390505b612c216000868380600101945086612c74565b612c57576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c0e578160005414612c6c57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c9a612afd565b8786866040518563ffffffff1660e01b8152600401612cbc94939291906143bc565b6020604051808303816000875af1925050508015612cf857506040513d601f19601f82011682018060405250810190612cf5919061441d565b60015b612d71573d8060008114612d28576040519150601f19603f3d011682016040523d82523d6000602084013e612d2d565b606091505b506000815103612d69576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b60008054905060008203612e0d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e1a6000848385612b78565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e9183612e826000866000612b7e565b612e8b85612f88565b17612ba6565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612f3257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612ef7565b5060008203612f6d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612f836000848385612bd1565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612fe181612fac565b8114612fec57600080fd5b50565b600081359050612ffe81612fd8565b92915050565b60006020828403121561301a57613019612fa2565b5b600061302884828501612fef565b91505092915050565b60008115159050919050565b61304681613031565b82525050565b6000602082019050613061600083018461303d565b92915050565b6000819050919050565b61307a81613067565b82525050565b60006020820190506130956000830184613071565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130d55780820151818401526020810190506130ba565b60008484015250505050565b6000601f19601f8301169050919050565b60006130fd8261309b565b61310781856130a6565b93506131178185602086016130b7565b613120816130e1565b840191505092915050565b6000602082019050818103600083015261314581846130f2565b905092915050565b61315681613067565b811461316157600080fd5b50565b6000813590506131738161314d565b92915050565b60006020828403121561318f5761318e612fa2565b5b600061319d84828501613164565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131d1826131a6565b9050919050565b6131e1816131c6565b82525050565b60006020820190506131fc60008301846131d8565b92915050565b61320b816131c6565b811461321657600080fd5b50565b60008135905061322881613202565b92915050565b6000806040838503121561324557613244612fa2565b5b600061325385828601613219565b925050602061326485828601613164565b9150509250929050565b60006020828403121561328457613283612fa2565b5b600061329284828501613219565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132dd826130e1565b810181811067ffffffffffffffff821117156132fc576132fb6132a5565b5b80604052505050565b600061330f612f98565b905061331b82826132d4565b919050565b600067ffffffffffffffff82111561333b5761333a6132a5565b5b613344826130e1565b9050602081019050919050565b82818337600083830152505050565b600061337361336e84613320565b613305565b90508281526020810184848401111561338f5761338e6132a0565b5b61339a848285613351565b509392505050565b600082601f8301126133b7576133b661329b565b5b81356133c7848260208601613360565b91505092915050565b6000602082840312156133e6576133e5612fa2565b5b600082013567ffffffffffffffff81111561340457613403612fa7565b5b613410848285016133a2565b91505092915050565b61342281613031565b811461342d57600080fd5b50565b60008135905061343f81613419565b92915050565b60006020828403121561345b5761345a612fa2565b5b600061346984828501613430565b91505092915050565b60008060006060848603121561348b5761348a612fa2565b5b600061349986828701613219565b93505060206134aa86828701613219565b92505060406134bb86828701613164565b9150509250925092565b600080604083850312156134dc576134db612fa2565b5b60006134ea85828601613164565b92505060206134fb85828601613219565b9150509250929050565b6000819050919050565b600061352a613525613520846131a6565b613505565b6131a6565b9050919050565b600061353c8261350f565b9050919050565b600061354e82613531565b9050919050565b61355e81613543565b82525050565b60006020820190506135796000830184613555565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6135b481613067565b82525050565b60006135c683836135ab565b60208301905092915050565b6000602082019050919050565b60006135ea8261357f565b6135f4818561358a565b93506135ff8361359b565b8060005b8381101561363057815161361788826135ba565b9750613622836135d2565b925050600181019050613603565b5085935050505092915050565b6000602082019050818103600083015261365781846135df565b905092915050565b6000806040838503121561367657613675612fa2565b5b600061368485828601613219565b925050602061369585828601613430565b9150509250929050565b600067ffffffffffffffff8211156136ba576136b96132a5565b5b6136c3826130e1565b9050602081019050919050565b60006136e36136de8461369f565b613305565b9050828152602081018484840111156136ff576136fe6132a0565b5b61370a848285613351565b509392505050565b600082601f8301126137275761372661329b565b5b81356137378482602086016136d0565b91505092915050565b6000806000806080858703121561375a57613759612fa2565b5b600061376887828801613219565b945050602061377987828801613219565b935050604061378a87828801613164565b925050606085013567ffffffffffffffff8111156137ab576137aa612fa7565b5b6137b787828801613712565b91505092959194509250565b600080604083850312156137da576137d9612fa2565b5b60006137e885828601613219565b92505060206137f985828601613219565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061384a57607f821691505b60208210810361385d5761385c613803565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138c57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613888565b6138cf8683613888565b95508019841693508086168417925050509392505050565b60006139026138fd6138f884613067565b613505565b613067565b9050919050565b6000819050919050565b61391c836138e7565b61393061392882613909565b848454613895565b825550505050565b600090565b613945613938565b613950818484613913565b505050565b5b818110156139745761396960008261393d565b600181019050613956565b5050565b601f8211156139b95761398a81613863565b61399384613878565b810160208510156139a2578190505b6139b66139ae85613878565b830182613955565b50505b505050565b600082821c905092915050565b60006139dc600019846008026139be565b1980831691505092915050565b60006139f583836139cb565b9150826002028217905092915050565b613a0e8261309b565b67ffffffffffffffff811115613a2757613a266132a5565b5b613a318254613832565b613a3c828285613978565b600060209050601f831160018114613a6f5760008415613a5d578287015190505b613a6785826139e9565b865550613acf565b601f198416613a7d86613863565b60005b82811015613aa557848901518255600182019150602085019450602081019050613a80565b86831015613ac25784890151613abe601f8916826139cb565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b1182613067565b9150613b1c83613067565b9250828201905080821115613b3457613b33613ad7565b5b92915050565b7f46524545204d494e542048415320454e44454400000000000000000000000000600082015250565b6000613b706013836130a6565b9150613b7b82613b3a565b602082019050919050565b60006020820190508181036000830152613b9f81613b63565b9050919050565b7f596f75206861766520657863656564656420746865206c696d6974206f66206d60008201527f696e747320706572207472616e73616374696f6e000000000000000000000000602082015250565b6000613c026034836130a6565b9150613c0d82613ba6565b604082019050919050565b60006020820190508181036000830152613c3181613bf5565b9050919050565b7f596f75206861766520616c7265616479206d696e74656420796f7572206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c946022836130a6565b9150613c9f82613c38565b604082019050919050565b60006020820190508181036000830152613cc381613c87565b9050919050565b7f4d696e74696e67206973206e6f742063757272656e746c7920616c6c6f77656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d266021836130a6565b9150613d3182613cca565b604082019050919050565b60006020820190508181036000830152613d5581613d19565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613d92601f836130a6565b9150613d9d82613d5c565b602082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b6000613dd382613067565b9150613dde83613067565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e1757613e16613ad7565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e5c82613067565b9150613e6783613067565b925082613e7757613e76613e22565b5b828204905092915050565b600081905092915050565b50565b6000613e9d600083613e82565b9150613ea882613e8d565b600082019050919050565b6000613ebe82613e90565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f0282613067565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f3457613f33613ad7565b5b600182019050919050565b7f534f4c44204f5554000000000000000000000000000000000000000000000000600082015250565b6000613f756008836130a6565b9150613f8082613f3f565b602082019050919050565b60006020820190508181036000830152613fa481613f68565b9050919050565b7f596f7520646964206e6f742073656e6420656e6f756768204554480000000000600082015250565b6000613fe1601b836130a6565b9150613fec82613fab565b602082019050919050565b6000602082019050818103600083015261401081613fd4565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614073602f836130a6565b915061407e82614017565b604082019050919050565b600060208201905081810360008301526140a281614066565b9050919050565b600081905092915050565b60006140bf8261309b565b6140c981856140a9565b93506140d98185602086016130b7565b80840191505092915050565b600081546140f281613832565b6140fc81866140a9565b94506001821660008114614117576001811461412c5761415f565b60ff198316865281151582028601935061415f565b61413585613863565b60005b8381101561415757815481890152600182019150602081019050614138565b838801955050505b50505092915050565b600061417482866140b4565b915061418082856140b4565b915061418c82846140e5565b9150819050949350505050565b60006141a482613067565b91506141af83613067565b92508282039050818111156141c7576141c6613ad7565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142296026836130a6565b9150614234826141cd565b604082019050919050565b600060208201905081810360008301526142588161421c565b9050919050565b600060408201905061427460008301856131d8565b61428160208301846131d8565b9392505050565b60008151905061429781613419565b92915050565b6000602082840312156142b3576142b2612fa2565b5b60006142c184828501614288565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143006020836130a6565b915061430b826142ca565b602082019050919050565b6000602082019050818103600083015261432f816142f3565b9050919050565b600061434182613067565b915061434c83613067565b92508261435c5761435b613e22565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061438e82614367565b6143988185614372565b93506143a88185602086016130b7565b6143b1816130e1565b840191505092915050565b60006080820190506143d160008301876131d8565b6143de60208301866131d8565b6143eb6040830185613071565b81810360608301526143fd8184614383565b905095945050505050565b60008151905061441781612fd8565b92915050565b60006020828403121561443357614432612fa2565b5b600061444184828501614408565b9150509291505056fea26469706673582212202d140247572fd8f5c9c7b22e2e325fc00ea2cf0e5fd1747333b6f20fe098257764736f6c63430008100033697066733a2f2f516d614c6172637a59764a34387148556a54714d714d5a384337555a4d41334a5a774e784570684d766778365766697066733a2f2f516d507770684d3478794839646b786e4d4d684568766f7876706d426743694a643234396242515570464d726f54
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c8063715018a611610175578063a22cb465116100dc578063d5abeb0111610095578063e8a3d4851161006f578063e8a3d48514610a47578063e985e9c514610a72578063f2fde38b14610aaf578063fe86deca14610ad8576102ae565b8063d5abeb01146109c8578063e08835e3146109f3578063e0a8085314610a1e576102ae565b8063a22cb465146108c7578063a45ba8e7146108f0578063aed380151461091b578063b88d4fde14610944578063c87b56dd14610960578063ce77fcc11461099d576102ae565b806391b7f5ed1161012e57806391b7f5ed146107d8578063938e3d7b1461080157806395d89b411461082a5780639d3d41de14610855578063a035b1fe14610880578063a0712d68146108ab576102ae565b8063715018a6146106dc57806379fcb984146106f35780637ec4a6591461071c57806381764cf8146107455780638aa37268146107825780638da5cb5b146107ad576102ae565b806334861c751161021957806351830227116101d257806351830227146105b65780635503a0e8146105e15780635c975abb1461060c57806362b99ad4146106375780636352211e1461066257806370a082311461069f576102ae565b806334861c75146104c95780633ccfd60b146104f257806341f434341461050957806342842e0e14610534578063438b6300146105505780634fdd43cb1461058d576102ae565b80631015805b1161026b5780631015805b146103c857806316ba10e01461040557806316c38b3c1461042e57806318160ddd1461045757806323b872dd1461048257806327198be91461049e576102ae565b806301ffc9a7146102b357806303d8acef146102f057806306fdde031461031b578063081812fc14610346578063095ea7b3146103835780630e82b63d1461039f575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613004565b610b03565b6040516102e7919061304c565b60405180910390f35b3480156102fc57600080fd5b50610305610b95565b6040516103129190613080565b60405180910390f35b34801561032757600080fd5b50610330610b9b565b60405161033d919061312b565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613179565b610c2d565b60405161037a91906131e7565b60405180910390f35b61039d6004803603810190610398919061322e565b610cac565b005b3480156103ab57600080fd5b506103c660048036038101906103c19190613179565b610cc5565b005b3480156103d457600080fd5b506103ef60048036038101906103ea919061326e565b610cd7565b6040516103fc9190613080565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906133d0565b610cef565b005b34801561043a57600080fd5b5061045560048036038101906104509190613445565b610d0a565b005b34801561046357600080fd5b5061046c610d2f565b6040516104799190613080565b60405180910390f35b61049c60048036038101906104979190613472565b610d46565b005b3480156104aa57600080fd5b506104b3610d95565b6040516104c09190613080565b60405180910390f35b3480156104d557600080fd5b506104f060048036038101906104eb91906134c5565b610d9b565b005b3480156104fe57600080fd5b50610507610fe3565b005b34801561051557600080fd5b5061051e611203565b60405161052b9190613564565b60405180910390f35b61054e60048036038101906105499190613472565b611215565b005b34801561055c57600080fd5b506105776004803603810190610572919061326e565b611264565b604051610584919061363d565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af91906133d0565b611369565b005b3480156105c257600080fd5b506105cb611384565b6040516105d8919061304c565b60405180910390f35b3480156105ed57600080fd5b506105f6611397565b604051610603919061312b565b60405180910390f35b34801561061857600080fd5b50610621611425565b60405161062e919061304c565b60405180910390f35b34801561064357600080fd5b5061064c611438565b604051610659919061312b565b60405180910390f35b34801561066e57600080fd5b5061068960048036038101906106849190613179565b6114c6565b60405161069691906131e7565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c1919061326e565b6114d8565b6040516106d39190613080565b60405180910390f35b3480156106e857600080fd5b506106f1611590565b005b3480156106ff57600080fd5b5061071a60048036038101906107159190613179565b6115a4565b005b34801561072857600080fd5b50610743600480360381019061073e91906133d0565b6115b6565b005b34801561075157600080fd5b5061076c60048036038101906107679190613179565b6115d1565b60405161077991906131e7565b60405180910390f35b34801561078e57600080fd5b50610797611610565b6040516107a4919061312b565b60405180910390f35b3480156107b957600080fd5b506107c261169e565b6040516107cf91906131e7565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613179565b6116c8565b005b34801561080d57600080fd5b50610828600480360381019061082391906133d0565b6116da565b005b34801561083657600080fd5b5061083f6116f5565b60405161084c919061312b565b60405180910390f35b34801561086157600080fd5b5061086a611787565b6040516108779190613080565b60405180910390f35b34801561088c57600080fd5b5061089561178d565b6040516108a29190613080565b60405180910390f35b6108c560048036038101906108c09190613179565b611793565b005b3480156108d357600080fd5b506108ee60048036038101906108e9919061365f565b611a2a565b005b3480156108fc57600080fd5b50610905611a43565b604051610912919061312b565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d91906134c5565b611ad1565b005b61095e60048036038101906109599190613740565b611b9b565b005b34801561096c57600080fd5b5061098760048036038101906109829190613179565b611bec565b604051610994919061312b565b60405180910390f35b3480156109a957600080fd5b506109b2611d44565b6040516109bf9190613080565b60405180910390f35b3480156109d457600080fd5b506109dd611d98565b6040516109ea9190613080565b60405180910390f35b3480156109ff57600080fd5b50610a08611d9e565b604051610a159190613080565b60405180910390f35b348015610a2a57600080fd5b50610a456004803603810190610a409190613445565b611da4565b005b348015610a5357600080fd5b50610a5c611dc9565b604051610a69919061312b565b60405180910390f35b348015610a7e57600080fd5b50610a996004803603810190610a9491906137c3565b611e5b565b604051610aa6919061304c565b60405180910390f35b348015610abb57600080fd5b50610ad66004803603810190610ad1919061326e565b611eef565b005b348015610ae457600080fd5b50610aed611f72565b604051610afa9190613080565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b8e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60125481565b606060028054610baa90613832565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd690613832565b8015610c235780601f10610bf857610100808354040283529160200191610c23565b820191906000526020600020905b815481529060010190602001808311610c0657829003601f168201915b5050505050905090565b6000610c3882611f78565b610c6e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610cb681611fd7565b610cc083836120d4565b505050565b610ccd612218565b8060118190555050565b600a6020528060005260406000206000915090505481565b610cf7612218565b80600c9081610d069190613a05565b5050565b610d12612218565b80601660006101000a81548160ff02191690831515021790555050565b6000610d39612296565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d8457610d8333611fd7565b5b610d8f84848461229b565b50505050565b60155481565b81600081610da7610d2f565b610db19190613b06565b90506103e8811115610df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610def90613b86565b60405180910390fd5b600082118015610e0a57506013548211155b610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613c18565b60405180910390fd5b60145482600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e979190613b06565b1115610ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecf90613caa565b60405180910390fd5b601660009054906101000a900460ff1615610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90613d3c565b60405180910390fd5b600260085403610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490613da8565b60405180910390fd5b600260088190555083600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fc49190613b06565b92505081905550610fd583856125bd565b600160088190555050505050565b610feb612218565b600260085403611030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102790613da8565b60405180910390fd5b600260088190555060006103e861014d4761104b9190613dc8565b6110559190613e51565b9050600073831fc358124d5899b731472ebe2a4bf1cd6c3e1e73ffffffffffffffffffffffffffffffffffffffff168260405161109190613eb3565b60006040518083038185875af1925050503d80600081146110ce576040519150601f19603f3d011682016040523d82523d6000602084013e6110d3565b606091505b50509050806110e157600080fd5b600073ae0c0e1e098a1c5f711a78afec0286ccd79169bc73ffffffffffffffffffffffffffffffffffffffff168360405161111b90613eb3565b60006040518083038185875af1925050503d8060008114611158576040519150601f19603f3d011682016040523d82523d6000602084013e61115d565b606091505b505090508061116b57600080fd5b60007361d4df42ba5298f48c0c67c6c283ed72a480cebc73ffffffffffffffffffffffffffffffffffffffff16476040516111a590613eb3565b60006040518083038185875af1925050503d80600081146111e2576040519150601f19603f3d011682016040523d82523d6000602084013e6111e7565b606091505b50509050806111f557600080fd5b505050506001600881905550565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112535761125233611fd7565b5b61125e8484846125db565b50505050565b60606000611271836114d8565b905060008167ffffffffffffffff81111561128f5761128e6132a5565b5b6040519080825280602002602001820160405280156112bd5781602001602082028036833780820191505090505b5090506000805b83811080156112d557506010548211155b1561135d5760006112e5836114c6565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611349578284838151811061132e5761132d613ec8565b5b602002602001018181525050818061134590613ef7565b9250505b828061135490613ef7565b935050506112c4565b82945050505050919050565b611371612218565b80600d90816113809190613a05565b5050565b601660019054906101000a900460ff1681565b600c80546113a490613832565b80601f01602080910402602001604051908101604052809291908181526020018280546113d090613832565b801561141d5780601f106113f25761010080835404028352916020019161141d565b820191906000526020600020905b81548152906001019060200180831161140057829003601f168201915b505050505081565b601660009054906101000a900460ff1681565b600b805461144590613832565b80601f016020809104026020016040519081016040528092919081815260200182805461147190613832565b80156114be5780601f10611493576101008083540402835291602001916114be565b820191906000526020600020905b8154815290600101906020018083116114a157829003601f168201915b505050505081565b60006114d1826125fb565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361153f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611598612218565b6115a260006126c7565b565b6115ac612218565b8060128190555050565b6115be612218565b80600b90816115cd9190613a05565b5050565b601781815481106115e157600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e805461161d90613832565b80601f016020809104026020016040519081016040528092919081815260200182805461164990613832565b80156116965780601f1061166b57610100808354040283529160200191611696565b820191906000526020600020905b81548152906001019060200180831161167957829003601f168201915b505050505081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116d0612218565b80600f8190555050565b6116e2612218565b80600e90816116f19190613a05565b5050565b60606003805461170490613832565b80601f016020809104026020016040519081016040528092919081815260200182805461173090613832565b801561177d5780601f106117525761010080835404028352916020019161177d565b820191906000526020600020905b81548152906001019060200180831161176057829003601f168201915b5050505050905090565b60145481565b600f5481565b8060008161179f610d2f565b6117a99190613b06565b90506000821180156117bd57506011548211155b6117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f390613c18565b60405180910390fd5b60125482600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184a9190613b06565b111561188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290613caa565b60405180910390fd5b6010548111156118d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c790613f8b565b60405180910390fd5b601660009054906101000a900460ff1615611920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191790613d3c565b60405180910390fd5b81600f5461192e9190613dc8565b341015611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196790613ff7565b60405180910390fd5b6002600854036119b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ac90613da8565b60405180910390fd5b600260088190555082600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a0c9190613b06565b92505081905550611a1d33846125bd565b6001600881905550505050565b81611a3481611fd7565b611a3e838361278d565b505050565b600d8054611a5090613832565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7c90613832565b8015611ac95780601f10611a9e57610100808354040283529160200191611ac9565b820191906000526020600020905b815481529060010190602001808311611aac57829003601f168201915b505050505081565b81600081611add610d2f565b611ae79190613b06565b9050601054811115611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590613f8b565b60405180910390fd5b611b36612218565b600260085403611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613da8565b60405180910390fd5b6002600881905550611b8d83856125bd565b600160088190555050505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611bd957611bd833611fd7565b5b611be585858585612898565b5050505050565b6060611bf782611f78565b611c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2d90614089565b60405180910390fd5b60001515601660019054906101000a900460ff16151503611ce357600d8054611c5e90613832565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8a90613832565b8015611cd75780601f10611cac57610100808354040283529160200191611cd7565b820191906000526020600020905b815481529060010190602001808311611cba57829003601f168201915b50505050509050611d3f565b6000611ced61290b565b90506000815111611d0d5760405180602001604052806000815250611d3b565b80611d178461299d565b600c604051602001611d2b93929190614168565b6040516020818303038152906040525b9150505b919050565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601254611d939190614199565b905090565b60105481565b60135481565b611dac612218565b80601660016101000a81548160ff02191690831515021790555050565b6060600e8054611dd890613832565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0490613832565b8015611e515780601f10611e2657610100808354040283529160200191611e51565b820191906000526020600020905b815481529060010190602001808311611e3457829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ef7612218565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5d9061423f565b60405180910390fd5b611f6f816126c7565b50565b60115481565b600081611f83612296565b11158015611f92575060005482105b8015611fd0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156120d1576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161204e92919061425f565b602060405180830381865afa15801561206b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208f919061429d565b6120d057806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120c791906131e7565b60405180910390fd5b5b50565b60006120df826114c6565b90508073ffffffffffffffffffffffffffffffffffffffff16612100612afd565b73ffffffffffffffffffffffffffffffffffffffff16146121635761212c81612127612afd565b611e5b565b612162576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612220612b05565b73ffffffffffffffffffffffffffffffffffffffff1661223e61169e565b73ffffffffffffffffffffffffffffffffffffffff1614612294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228b90614316565b60405180910390fd5b565b600090565b60006122a6826125fb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461230d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061231984612b0d565b9150915061232f818761232a612afd565b612b34565b61237b576123448661233f612afd565b611e5b565b61237a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036123e1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123ee8686866001612b78565b80156123f957600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506124c7856124a3888887612b7e565b7c020000000000000000000000000000000000000000000000000000000017612ba6565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361254d576000600185019050600060046000838152602001908152602001600020540361254b57600054811461254a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125b58686866001612bd1565b505050505050565b6125d7828260405180602001604052806000815250612bd7565b5050565b6125f683838360405180602001604052806000815250611b9b565b505050565b6000808290508061260a612296565b116126905760005481101561268f5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361268d575b60008103612683576004600083600190039350838152602001908152602001600020549050612659565b80925050506126c2565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b806007600061279a612afd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612847612afd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161288c919061304c565b60405180910390a35050565b6128a3848484610d46565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612905576128ce84848484612c74565b612904576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600b805461291a90613832565b80601f016020809104026020016040519081016040528092919081815260200182805461294690613832565b80156129935780601f1061296857610100808354040283529160200191612993565b820191906000526020600020905b81548152906001019060200180831161297657829003601f168201915b5050505050905090565b6060600082036129e4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612af8565b600082905060005b60008214612a165780806129ff90613ef7565b915050600a82612a0f9190613e51565b91506129ec565b60008167ffffffffffffffff811115612a3257612a316132a5565b5b6040519080825280601f01601f191660200182016040528015612a645781602001600182028036833780820191505090505b5090505b60008514612af157600182612a7d9190614199565b9150600a85612a8c9190614336565b6030612a989190613b06565b60f81b818381518110612aae57612aad613ec8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aea9190613e51565b9450612a68565b8093505050505b919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b95868684612dc4565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612be18383612dcd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c6f57600080549050600083820390505b612c216000868380600101945086612c74565b612c57576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c0e578160005414612c6c57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c9a612afd565b8786866040518563ffffffff1660e01b8152600401612cbc94939291906143bc565b6020604051808303816000875af1925050508015612cf857506040513d601f19601f82011682018060405250810190612cf5919061441d565b60015b612d71573d8060008114612d28576040519150601f19603f3d011682016040523d82523d6000602084013e612d2d565b606091505b506000815103612d69576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b60008054905060008203612e0d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e1a6000848385612b78565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e9183612e826000866000612b7e565b612e8b85612f88565b17612ba6565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612f3257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612ef7565b5060008203612f6d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612f836000848385612bd1565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612fe181612fac565b8114612fec57600080fd5b50565b600081359050612ffe81612fd8565b92915050565b60006020828403121561301a57613019612fa2565b5b600061302884828501612fef565b91505092915050565b60008115159050919050565b61304681613031565b82525050565b6000602082019050613061600083018461303d565b92915050565b6000819050919050565b61307a81613067565b82525050565b60006020820190506130956000830184613071565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130d55780820151818401526020810190506130ba565b60008484015250505050565b6000601f19601f8301169050919050565b60006130fd8261309b565b61310781856130a6565b93506131178185602086016130b7565b613120816130e1565b840191505092915050565b6000602082019050818103600083015261314581846130f2565b905092915050565b61315681613067565b811461316157600080fd5b50565b6000813590506131738161314d565b92915050565b60006020828403121561318f5761318e612fa2565b5b600061319d84828501613164565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131d1826131a6565b9050919050565b6131e1816131c6565b82525050565b60006020820190506131fc60008301846131d8565b92915050565b61320b816131c6565b811461321657600080fd5b50565b60008135905061322881613202565b92915050565b6000806040838503121561324557613244612fa2565b5b600061325385828601613219565b925050602061326485828601613164565b9150509250929050565b60006020828403121561328457613283612fa2565b5b600061329284828501613219565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132dd826130e1565b810181811067ffffffffffffffff821117156132fc576132fb6132a5565b5b80604052505050565b600061330f612f98565b905061331b82826132d4565b919050565b600067ffffffffffffffff82111561333b5761333a6132a5565b5b613344826130e1565b9050602081019050919050565b82818337600083830152505050565b600061337361336e84613320565b613305565b90508281526020810184848401111561338f5761338e6132a0565b5b61339a848285613351565b509392505050565b600082601f8301126133b7576133b661329b565b5b81356133c7848260208601613360565b91505092915050565b6000602082840312156133e6576133e5612fa2565b5b600082013567ffffffffffffffff81111561340457613403612fa7565b5b613410848285016133a2565b91505092915050565b61342281613031565b811461342d57600080fd5b50565b60008135905061343f81613419565b92915050565b60006020828403121561345b5761345a612fa2565b5b600061346984828501613430565b91505092915050565b60008060006060848603121561348b5761348a612fa2565b5b600061349986828701613219565b93505060206134aa86828701613219565b92505060406134bb86828701613164565b9150509250925092565b600080604083850312156134dc576134db612fa2565b5b60006134ea85828601613164565b92505060206134fb85828601613219565b9150509250929050565b6000819050919050565b600061352a613525613520846131a6565b613505565b6131a6565b9050919050565b600061353c8261350f565b9050919050565b600061354e82613531565b9050919050565b61355e81613543565b82525050565b60006020820190506135796000830184613555565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6135b481613067565b82525050565b60006135c683836135ab565b60208301905092915050565b6000602082019050919050565b60006135ea8261357f565b6135f4818561358a565b93506135ff8361359b565b8060005b8381101561363057815161361788826135ba565b9750613622836135d2565b925050600181019050613603565b5085935050505092915050565b6000602082019050818103600083015261365781846135df565b905092915050565b6000806040838503121561367657613675612fa2565b5b600061368485828601613219565b925050602061369585828601613430565b9150509250929050565b600067ffffffffffffffff8211156136ba576136b96132a5565b5b6136c3826130e1565b9050602081019050919050565b60006136e36136de8461369f565b613305565b9050828152602081018484840111156136ff576136fe6132a0565b5b61370a848285613351565b509392505050565b600082601f8301126137275761372661329b565b5b81356137378482602086016136d0565b91505092915050565b6000806000806080858703121561375a57613759612fa2565b5b600061376887828801613219565b945050602061377987828801613219565b935050604061378a87828801613164565b925050606085013567ffffffffffffffff8111156137ab576137aa612fa7565b5b6137b787828801613712565b91505092959194509250565b600080604083850312156137da576137d9612fa2565b5b60006137e885828601613219565b92505060206137f985828601613219565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061384a57607f821691505b60208210810361385d5761385c613803565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138c57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613888565b6138cf8683613888565b95508019841693508086168417925050509392505050565b60006139026138fd6138f884613067565b613505565b613067565b9050919050565b6000819050919050565b61391c836138e7565b61393061392882613909565b848454613895565b825550505050565b600090565b613945613938565b613950818484613913565b505050565b5b818110156139745761396960008261393d565b600181019050613956565b5050565b601f8211156139b95761398a81613863565b61399384613878565b810160208510156139a2578190505b6139b66139ae85613878565b830182613955565b50505b505050565b600082821c905092915050565b60006139dc600019846008026139be565b1980831691505092915050565b60006139f583836139cb565b9150826002028217905092915050565b613a0e8261309b565b67ffffffffffffffff811115613a2757613a266132a5565b5b613a318254613832565b613a3c828285613978565b600060209050601f831160018114613a6f5760008415613a5d578287015190505b613a6785826139e9565b865550613acf565b601f198416613a7d86613863565b60005b82811015613aa557848901518255600182019150602085019450602081019050613a80565b86831015613ac25784890151613abe601f8916826139cb565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b1182613067565b9150613b1c83613067565b9250828201905080821115613b3457613b33613ad7565b5b92915050565b7f46524545204d494e542048415320454e44454400000000000000000000000000600082015250565b6000613b706013836130a6565b9150613b7b82613b3a565b602082019050919050565b60006020820190508181036000830152613b9f81613b63565b9050919050565b7f596f75206861766520657863656564656420746865206c696d6974206f66206d60008201527f696e747320706572207472616e73616374696f6e000000000000000000000000602082015250565b6000613c026034836130a6565b9150613c0d82613ba6565b604082019050919050565b60006020820190508181036000830152613c3181613bf5565b9050919050565b7f596f75206861766520616c7265616479206d696e74656420796f7572206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c946022836130a6565b9150613c9f82613c38565b604082019050919050565b60006020820190508181036000830152613cc381613c87565b9050919050565b7f4d696e74696e67206973206e6f742063757272656e746c7920616c6c6f77656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d266021836130a6565b9150613d3182613cca565b604082019050919050565b60006020820190508181036000830152613d5581613d19565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613d92601f836130a6565b9150613d9d82613d5c565b602082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b6000613dd382613067565b9150613dde83613067565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e1757613e16613ad7565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e5c82613067565b9150613e6783613067565b925082613e7757613e76613e22565b5b828204905092915050565b600081905092915050565b50565b6000613e9d600083613e82565b9150613ea882613e8d565b600082019050919050565b6000613ebe82613e90565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f0282613067565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f3457613f33613ad7565b5b600182019050919050565b7f534f4c44204f5554000000000000000000000000000000000000000000000000600082015250565b6000613f756008836130a6565b9150613f8082613f3f565b602082019050919050565b60006020820190508181036000830152613fa481613f68565b9050919050565b7f596f7520646964206e6f742073656e6420656e6f756768204554480000000000600082015250565b6000613fe1601b836130a6565b9150613fec82613fab565b602082019050919050565b6000602082019050818103600083015261401081613fd4565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614073602f836130a6565b915061407e82614017565b604082019050919050565b600060208201905081810360008301526140a281614066565b9050919050565b600081905092915050565b60006140bf8261309b565b6140c981856140a9565b93506140d98185602086016130b7565b80840191505092915050565b600081546140f281613832565b6140fc81866140a9565b94506001821660008114614117576001811461412c5761415f565b60ff198316865281151582028601935061415f565b61413585613863565b60005b8381101561415757815481890152600182019150602081019050614138565b838801955050505b50505092915050565b600061417482866140b4565b915061418082856140b4565b915061418c82846140e5565b9150819050949350505050565b60006141a482613067565b91506141af83613067565b92508282039050818111156141c7576141c6613ad7565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142296026836130a6565b9150614234826141cd565b604082019050919050565b600060208201905081810360008301526142588161421c565b9050919050565b600060408201905061427460008301856131d8565b61428160208301846131d8565b9392505050565b60008151905061429781613419565b92915050565b6000602082840312156142b3576142b2612fa2565b5b60006142c184828501614288565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143006020836130a6565b915061430b826142ca565b602082019050919050565b6000602082019050818103600083015261432f816142f3565b9050919050565b600061434182613067565b915061434c83613067565b92508261435c5761435b613e22565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061438e82614367565b6143988185614372565b93506143a88185602086016130b7565b6143b1816130e1565b840191505092915050565b60006080820190506143d160008301876131d8565b6143de60208301866131d8565b6143eb6040830185613071565b81810360608301526143fd8184614383565b905095945050505050565b60008151905061441781612fd8565b92915050565b60006020828403121561443357614432612fa2565b5b600061444184828501614408565b9150509291505056fea26469706673582212202d140247572fd8f5c9c7b22e2e325fc00ea2cf0e5fd1747333b6f20fe098257764736f6c63430008100033
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.