ERC-721
Overview
Max Total Supply
1,666 CATS
Holders
849
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CATSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Catpocalypse
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-10 */ // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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); } } // File: @openzeppelin/contracts/utils/Strings.sol // 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); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // 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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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 { // Reference type for token approval. 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 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 { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. 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 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 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 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. 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`. ) 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 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // 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) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: Catpocalypse.sol pragma solidity ^0.8.4; contract Catpocalypse is ERC721AQueryable, Ownable { using ECDSA for bytes32; using Strings for uint256; enum SaleState { NOT_LIVE, WHITELIST_SALE, PUBLIC_SALE } struct Slot { uint8 maxPerWallet; uint16 maxSupply; uint112 price; } SaleState public saleState; Slot public tokenInfo; address public signer = 0x96b79c2fb368b741bF32d118a0d858Ff46923639; string private _baseTokenURI; mapping(bytes => bool) public claimedSig; bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; address private _royaltyAddress; uint256 private _royaltyPercentage; constructor(uint8 maxPerWallet, uint16 maxSupply, uint112 price, address royaltyAddress, uint256 royaltyPercentage, string memory baseURI) ERC721A("Catpocalypse", "CATS") { tokenInfo = Slot(maxPerWallet, maxSupply, price); _royaltyAddress = royaltyAddress; _royaltyPercentage = royaltyPercentage; _baseTokenURI = baseURI; } function mint(uint256 quantity) external payable { require(saleState == SaleState.PUBLIC_SALE, "NOT_LIVE"); Slot memory token = tokenInfo; require(totalSupply() + quantity <= token.maxSupply, "MAX_SUPPLY"); require(quantity <= token.maxPerWallet, "MAX_PER_WALLET"); uint256 cost = token.price * quantity; require(msg.value >= cost, "INSUFFICENT_ETH"); _mint(msg.sender, quantity); } function whitelistMint(bytes calldata signature) external { require(saleState == SaleState.WHITELIST_SALE, "NOT_LIVE"); Slot memory token = tokenInfo; require(totalSupply() + 1 <= token.maxSupply, "MAX_SUPPLY"); require(!claimedSig[signature], "ALREADY_CLAIMED"); require(keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(msg.sender)) )).recover(signature) == signer); claimedSig[signature] = true; _mint(msg.sender, 1); } function withdraw() external onlyOwner { (bool sent, ) = payable(msg.sender).call{value: address(this).balance }(""); require(sent, "FAILED"); } function editPrice(uint112 newPrice) external onlyOwner { tokenInfo.price = newPrice; } function editSupply(uint16 newSupply) external onlyOwner { tokenInfo.maxSupply = newSupply; } function editState(SaleState newState) external onlyOwner { saleState = newState; } function editURI(string memory newURI) external onlyOwner { _baseTokenURI = newURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public view override(ERC721A, IERC721A) returns (string memory) { require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json")); } function royaltyInfo(uint256, uint256 value) external view returns (address, uint256) { return (_royaltyAddress, value * _royaltyPercentage / 10000); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint8","name":"maxPerWallet","type":"uint8"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint112","name":"price","type":"uint112"},{"internalType":"address","name":"royaltyAddress","type":"address"},{"internalType":"uint256","name":"royaltyPercentage","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"claimedSig","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint112","name":"newPrice","type":"uint112"}],"name":"editPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Catpocalypse.SaleState","name":"newState","type":"uint8"}],"name":"editState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newSupply","type":"uint16"}],"name":"editSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"editURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum Catpocalypse.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenInfo","outputs":[{"internalType":"uint8","name":"maxPerWallet","type":"uint8"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint112","name":"price","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a80546001600160a01b0319167396b79c2fb368b741bf32d118a0d858ff469236391790553480156200003757600080fd5b5060405162002b2f38038062002b2f8339810160408190526200005a9162000354565b604080518082018252600c81526b436174706f63616c7970736560a01b6020808301918252835180850190945260048452634341545360e01b908401528151919291620000aa91600291620001c4565b508051620000c0906003906020840190620001c4565b5050600160005550620000d33362000172565b6040805160608101825260ff881680825261ffff881660208084018290526001600160701b038916939094018390526009805462ffffff1916909217610100909102176301000000600160881b0319166301000000909202919091179055600d80546001600160a01b0319166001600160a01b038616179055600e83905581516200016591600b9190840190620001c4565b5050505050505062000443565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001d29062000406565b90600052602060002090601f016020900481019282620001f6576000855562000241565b82601f106200021157805160ff191683800117855562000241565b8280016001018555821562000241579182015b828111156200024157825182559160200191906001019062000224565b506200024f92915062000253565b5090565b5b808211156200024f576000815560010162000254565b80516001600160a01b03811681146200028257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002af57600080fd5b81516001600160401b0380821115620002cc57620002cc62000287565b604051601f8301601f19908116603f01168101908282118183101715620002f757620002f762000287565b816040528381526020925086838588010111156200031457600080fd5b600091505b8382101562000338578582018301518183018401529082019062000319565b838211156200034a5760008385830101525b9695505050505050565b60008060008060008060c087890312156200036e57600080fd5b865160ff811681146200038057600080fd5b602088015190965061ffff811681146200039957600080fd5b60408801519095506001600160701b0381168114620003b757600080fd5b9350620003c7606088016200026a565b608088015160a089015191945092506001600160401b03811115620003eb57600080fd5b620003f989828a016200029d565b9150509295509295509295565b600181811c908216806200041b57607f821691505b602082108114156200043d57634e487b7160e01b600052602260045260246000fd5b50919050565b6126dc80620004536000396000f3fe6080604052600436106101ee5760003560e01c806368eabd531161010d57806399a2557a116100a0578063bc2a17aa1161006f578063bc2a17aa1461061e578063c23dc68f1461063e578063c87b56dd1461066b578063e985e9c51461068b578063f2fde38b146106d457600080fd5b806399a2557a146105ab578063a0712d68146105cb578063a22cb465146105de578063b88d4fde146105fe57600080fd5b80638462151c116100dc5780638462151c1461052b5780638da5cb5b146105585780639011b3941461057657806395d89b411461059657600080fd5b806368eabd53146104755780636addb6631461049557806370a08231146104f6578063715018a61461051657600080fd5b806337bc4c0b116101855780635f9919c4116101545780635f9919c4146103cc578063603f4d521461040757806360581372146104355780636352211e1461045557600080fd5b806337bc4c0b1461034a5780633ccfd60b1461036a57806342842e0e1461037f5780635bbb21771461039f57600080fd5b806318160ddd116101c157806318160ddd146102a4578063238ac933146102cb57806323b872dd146102eb5780632a55205a1461030b57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f1c565b6106f4565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610746565b60405161021f9190611f91565b34801561025657600080fd5b5061026a610265366004611fa4565b6107d8565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611fd9565b61081c565b005b3480156102b057600080fd5b5060015460005403600019015b60405190815260200161021f565b3480156102d757600080fd5b50600a5461026a906001600160a01b031681565b3480156102f757600080fd5b506102a2610306366004612003565b6108bc565b34801561031757600080fd5b5061032b61032636600461203f565b610a4d565b604080516001600160a01b03909316835260208301919091520161021f565b34801561035657600080fd5b506102a2610365366004612061565b610a88565b34801561037657600080fd5b506102a2610d0d565b34801561038b57600080fd5b506102a261039a366004612003565b610d99565b3480156103ab57600080fd5b506103bf6103ba3660046120d2565b610db4565b60405161021f9190612170565b3480156103d857600080fd5b506102136103e736600461225d565b8051602081830181018051600c8252928201919093012091525460ff1681565b34801561041357600080fd5b5060085461042890600160a01b900460ff1681565b60405161021f91906122a7565b34801561044157600080fd5b506102a26104503660046122cf565b610e7f565b34801561046157600080fd5b5061026a610470366004611fa4565b610e9e565b34801561048157600080fd5b506102a2610490366004612317565b610ea9565b3480156104a157600080fd5b506009546104cb9060ff811690610100810461ffff1690630100000090046001600160701b031683565b6040805160ff909416845261ffff90921660208401526001600160701b03169082015260600161021f565b34801561050257600080fd5b506102bd61051136600461233b565b610ecf565b34801561052257600080fd5b506102a2610f1d565b34801561053757600080fd5b5061054b61054636600461233b565b610f31565b60405161021f9190612356565b34801561056457600080fd5b506008546001600160a01b031661026a565b34801561058257600080fd5b506102a261059136600461238e565b611040565b3480156105a257600080fd5b5061023d611075565b3480156105b757600080fd5b5061054b6105c63660046123af565b611084565b6102a26105d9366004611fa4565b61120f565b3480156105ea57600080fd5b506102a26105f93660046123e2565b6113aa565b34801561060a57600080fd5b506102a261061936600461241e565b611440565b34801561062a57600080fd5b506102a2610639366004612485565b61148a565b34801561064a57600080fd5b5061065e610659366004611fa4565b6114c5565b60405161021f91906124ae565b34801561067757600080fd5b5061023d610686366004611fa4565b61154d565b34801561069757600080fd5b506102136106a63660046124bc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106e057600080fd5b506102a26106ef36600461233b565b6115fa565b60006301ffc9a760e01b6001600160e01b03198316148061072557506380ac58cd60e01b6001600160e01b03198316145b806107405750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610755906124ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610781906124ef565b80156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b5050505050905090565b60006107e382611670565b610800576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061082782610e9e565b9050336001600160a01b038216146108605761084381336106a6565b610860576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108c7826116a5565b9050836001600160a01b0316816001600160a01b0316146108fa5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109475761092a86336106a6565b61094757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096e57604051633a954ecd60e21b815260040160405180910390fd5b801561097957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a045760018401600081815260046020526040902054610a02576000548114610a025760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600d54600e5460009182916001600160a01b039091169061271090610a729086612540565b610a7c9190612575565b915091505b9250929050565b6001600854600160a01b900460ff166002811115610aa857610aa8612291565b14610ae55760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b60448201526064015b60405180910390fd5b6040805160608101825260095460ff81168252610100810461ffff166020830181905263010000009091046001600160701b03169282019290925290610b346001546000546000199190030190565b610b3f906001612589565b1115610b7a5760405162461bcd60e51b815260206004820152600a6024820152694d41585f535550504c5960b01b6044820152606401610adc565b600c8383604051610b8c9291906125a1565b9081526040519081900360200190205460ff1615610bde5760405162461bcd60e51b815260206004820152600f60248201526e1053149150511657d0d31052535151608a1b6044820152606401610adc565b600a54604080516020601f86018190048102820181019092528481526001600160a01b0390921691610cb6918690869081908401838280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201526034019150610c499050565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c016040516020818303038152906040528051906020012061170e90919063ffffffff16565b6001600160a01b031614610cc957600080fd5b6001600c8484604051610cdd9291906125a1565b908152604051908190036020019020805491151560ff19909216919091179055610d08336001611732565b505050565b610d15611829565b604051600090339047908381818185875af1925050503d8060008114610d57576040519150601f19603f3d011682016040523d82523d6000602084013e610d5c565b606091505b5050905080610d965760405162461bcd60e51b815260206004820152600660248201526511905253115160d21b6044820152606401610adc565b50565b610d0883838360405180602001604052806000815250611440565b6060816000816001600160401b03811115610dd157610dd16121b2565b604051908082528060200260200182016040528015610e2357816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610def5790505b50905060005b828114610e7657610e51868683818110610e4557610e456125b1565b905060200201356114c5565b828281518110610e6357610e636125b1565b6020908102919091010152600101610e29565b50949350505050565b610e87611829565b8051610e9a90600b906020840190611e6d565b5050565b6000610740826116a5565b610eb1611829565b6009805461ffff9092166101000262ffff0019909216919091179055565b60006001600160a01b038216610ef8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610f25611829565b610f2f6000611883565b565b60606000806000610f4185610ecf565b90506000816001600160401b03811115610f5d57610f5d6121b2565b604051908082528060200260200182016040528015610f86578160200160208202803683370190505b509050610fb360408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461103457610fc6816118d5565b9150816040015115610fd75761102c565b81516001600160a01b031615610fec57815194505b876001600160a01b0316856001600160a01b0316141561102c578083878060010198508151811061101f5761101f6125b1565b6020026020010181815250505b600101610fb6565b50909695505050505050565b611048611829565b6008805482919060ff60a01b1916600160a01b83600281111561106d5761106d612291565b021790555050565b606060038054610755906124ef565b60608183106110a657604051631960ccad60e11b815260040160405180910390fd5b6000806110b260005490565b905060018510156110c257600194505b808411156110ce578093505b60006110d987610ecf565b9050848610156110f857858503818110156110f2578091505b506110fc565b5060005b6000816001600160401b03811115611116576111166121b2565b60405190808252806020026020018201604052801561113f578160200160208202803683370190505b5090508161115257935061120892505050565b600061115d886114c5565b90506000816040015161116e575080515b885b8881141580156111805750848714155b156111fc5761118e816118d5565b925082604001511561119f576111f4565b82516001600160a01b0316156111b457825191505b8a6001600160a01b0316826001600160a01b031614156111f457808488806001019950815181106111e7576111e76125b1565b6020026020010181815250505b600101611170565b50505092835250909150505b9392505050565b6002600854600160a01b900460ff16600281111561122f5761122f612291565b146112675760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b6044820152606401610adc565b6040805160608101825260095460ff81168252610100810461ffff166020830181905263010000009091046001600160701b03169282019290925290826112b76001546000546000199190030190565b6112c19190612589565b11156112fc5760405162461bcd60e51b815260206004820152600a6024820152694d41585f535550504c5960b01b6044820152606401610adc565b805160ff168211156113415760405162461bcd60e51b815260206004820152600e60248201526d13505617d4115497d5d05313115560921b6044820152606401610adc565b60008282604001516001600160701b031661135c9190612540565b9050803410156113a05760405162461bcd60e51b815260206004820152600f60248201526e0929ca6aa8c8c92868a9ca8be8aa89608b1b6044820152606401610adc565b610d083384611732565b6001600160a01b0382163314156113d45760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61144b8484846108bc565b6001600160a01b0383163b156114845761146784848484611911565b611484576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611492611829565b600980546001600160701b0390921663010000000270ffffffffffffffffffffffffffff00000019909216919091179055565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061151e57506000548310155b156115295792915050565b611532836118d5565b90508060400151156115445792915050565b611208836119fa565b606061155882611670565b6115bc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610adc565b60006115c6611a2f565b9050806115d284611a3e565b6040516020016115e39291906125c7565b604051602081830303815290604052915050919050565b611602611829565b6001600160a01b0381166116675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610adc565b610d9681611883565b600081600111158015611684575060005482105b8015610740575050600090815260046020526040902054600160e01b161590565b600081806001116116f5576000548110156116f557600081815260046020526040902054600160e01b81166116f3575b806112085750600019016000818152600460205260409020546116d5565b505b604051636f96cda160e11b815260040160405180910390fd5b600080600061171d8585611b3b565b9150915061172a81611b7e565b509392505050565b600054816117535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461180257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016117ca565b508161182057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6008546001600160a01b03163314610f2f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610adc565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461074090611d39565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611946903390899088908890600401612606565b6020604051808303816000875af1925050508015611981575060408051601f3d908101601f1916820190925261197e91810190612643565b60015b6119dc573d8080156119af576040519150601f19603f3d011682016040523d82523d6000602084013e6119b4565b606091505b5080516119d4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610740611a2a836116a5565b611d39565b6060600b8054610755906124ef565b606081611a625750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a8c5780611a7681612660565b9150611a859050600a83612575565b9150611a66565b6000816001600160401b03811115611aa657611aa66121b2565b6040519080825280601f01601f191660200182016040528015611ad0576020820181803683370190505b5090505b84156119f257611ae560018361267b565b9150611af2600a86612692565b611afd906030612589565b60f81b818381518110611b1257611b126125b1565b60200101906001600160f81b031916908160001a905350611b34600a86612575565b9450611ad4565b600080825160411415611b725760208301516040840151606085015160001a611b6687828585611d80565b94509450505050610a81565b50600090506002610a81565b6000816004811115611b9257611b92612291565b1415611b9b5750565b6001816004811115611baf57611baf612291565b1415611bfd5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610adc565b6002816004811115611c1157611c11612291565b1415611c5f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610adc565b6003816004811115611c7357611c73612291565b1415611ccc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610adc565b6004816004811115611ce057611ce0612291565b1415610d965760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610adc565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611db75750600090506003611e64565b8460ff16601b14158015611dcf57508460ff16601c14155b15611de05750600090506004611e64565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e34573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e5d57600060019250925050611e64565b9150600090505b94509492505050565b828054611e79906124ef565b90600052602060002090601f016020900481019282611e9b5760008555611ee1565b82601f10611eb457805160ff1916838001178555611ee1565b82800160010185558215611ee1579182015b82811115611ee1578251825591602001919060010190611ec6565b50611eed929150611ef1565b5090565b5b80821115611eed5760008155600101611ef2565b6001600160e01b031981168114610d9657600080fd5b600060208284031215611f2e57600080fd5b813561120881611f06565b60005b83811015611f54578181015183820152602001611f3c565b838111156114845750506000910152565b60008151808452611f7d816020860160208601611f39565b601f01601f19169290920160200192915050565b6020815260006112086020830184611f65565b600060208284031215611fb657600080fd5b5035919050565b80356001600160a01b0381168114611fd457600080fd5b919050565b60008060408385031215611fec57600080fd5b611ff583611fbd565b946020939093013593505050565b60008060006060848603121561201857600080fd5b61202184611fbd565b925061202f60208501611fbd565b9150604084013590509250925092565b6000806040838503121561205257600080fd5b50508035926020909101359150565b6000806020838503121561207457600080fd5b82356001600160401b038082111561208b57600080fd5b818501915085601f83011261209f57600080fd5b8135818111156120ae57600080fd5b8660208285010111156120c057600080fd5b60209290920196919550909350505050565b600080602083850312156120e557600080fd5b82356001600160401b03808211156120fc57600080fd5b818501915085601f83011261211057600080fd5b81358181111561211f57600080fd5b8660208260051b85010111156120c057600080fd5b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156110345761219f838551612134565b928401926080929092019160010161218c565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156121e2576121e26121b2565b604051601f8501601f19908116603f0116810190828211818310171561220a5761220a6121b2565b8160405280935085815286868601111561222357600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261224e57600080fd5b611208838335602085016121c8565b60006020828403121561226f57600080fd5b81356001600160401b0381111561228557600080fd5b6119f28482850161223d565b634e487b7160e01b600052602160045260246000fd5b60208101600383106122c957634e487b7160e01b600052602160045260246000fd5b91905290565b6000602082840312156122e157600080fd5b81356001600160401b038111156122f757600080fd5b8201601f8101841361230857600080fd5b6119f2848235602084016121c8565b60006020828403121561232957600080fd5b813561ffff8116811461120857600080fd5b60006020828403121561234d57600080fd5b61120882611fbd565b6020808252825182820181905260009190848201906040850190845b8181101561103457835183529284019291840191600101612372565b6000602082840312156123a057600080fd5b81356003811061120857600080fd5b6000806000606084860312156123c457600080fd5b6123cd84611fbd565b95602085013595506040909401359392505050565b600080604083850312156123f557600080fd5b6123fe83611fbd565b91506020830135801515811461241357600080fd5b809150509250929050565b6000806000806080858703121561243457600080fd5b61243d85611fbd565b935061244b60208601611fbd565b92506040850135915060608501356001600160401b0381111561246d57600080fd5b6124798782880161223d565b91505092959194509250565b60006020828403121561249757600080fd5b81356001600160701b038116811461120857600080fd5b608081016107408284612134565b600080604083850312156124cf57600080fd5b6124d883611fbd565b91506124e660208401611fbd565b90509250929050565b600181811c9082168061250357607f821691505b6020821081141561252457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561255a5761255a61252a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826125845761258461255f565b500490565b6000821982111561259c5761259c61252a565b500190565b8183823760009101908152919050565b634e487b7160e01b600052603260045260246000fd5b600083516125d9818460208801611f39565b8351908301906125ed818360208801611f39565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061263990830184611f65565b9695505050505050565b60006020828403121561265557600080fd5b815161120881611f06565b60006000198214156126745761267461252a565b5060010190565b60008282101561268d5761268d61252a565b500390565b6000826126a1576126a161255f565b50069056fea264697066735822122066b43c4fe41d1c8dba1fbc8a4dd0ce606fbf3552cdbff3668f46486f9323ffe364736f6c634300080c00330000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000068200000000000000000000000000000000000000000000000000000000000000000000000000000000000000009024c97f88e81db422ec24490828713c86b37ea300000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806368eabd531161010d57806399a2557a116100a0578063bc2a17aa1161006f578063bc2a17aa1461061e578063c23dc68f1461063e578063c87b56dd1461066b578063e985e9c51461068b578063f2fde38b146106d457600080fd5b806399a2557a146105ab578063a0712d68146105cb578063a22cb465146105de578063b88d4fde146105fe57600080fd5b80638462151c116100dc5780638462151c1461052b5780638da5cb5b146105585780639011b3941461057657806395d89b411461059657600080fd5b806368eabd53146104755780636addb6631461049557806370a08231146104f6578063715018a61461051657600080fd5b806337bc4c0b116101855780635f9919c4116101545780635f9919c4146103cc578063603f4d521461040757806360581372146104355780636352211e1461045557600080fd5b806337bc4c0b1461034a5780633ccfd60b1461036a57806342842e0e1461037f5780635bbb21771461039f57600080fd5b806318160ddd116101c157806318160ddd146102a4578063238ac933146102cb57806323b872dd146102eb5780632a55205a1461030b57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f1c565b6106f4565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610746565b60405161021f9190611f91565b34801561025657600080fd5b5061026a610265366004611fa4565b6107d8565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611fd9565b61081c565b005b3480156102b057600080fd5b5060015460005403600019015b60405190815260200161021f565b3480156102d757600080fd5b50600a5461026a906001600160a01b031681565b3480156102f757600080fd5b506102a2610306366004612003565b6108bc565b34801561031757600080fd5b5061032b61032636600461203f565b610a4d565b604080516001600160a01b03909316835260208301919091520161021f565b34801561035657600080fd5b506102a2610365366004612061565b610a88565b34801561037657600080fd5b506102a2610d0d565b34801561038b57600080fd5b506102a261039a366004612003565b610d99565b3480156103ab57600080fd5b506103bf6103ba3660046120d2565b610db4565b60405161021f9190612170565b3480156103d857600080fd5b506102136103e736600461225d565b8051602081830181018051600c8252928201919093012091525460ff1681565b34801561041357600080fd5b5060085461042890600160a01b900460ff1681565b60405161021f91906122a7565b34801561044157600080fd5b506102a26104503660046122cf565b610e7f565b34801561046157600080fd5b5061026a610470366004611fa4565b610e9e565b34801561048157600080fd5b506102a2610490366004612317565b610ea9565b3480156104a157600080fd5b506009546104cb9060ff811690610100810461ffff1690630100000090046001600160701b031683565b6040805160ff909416845261ffff90921660208401526001600160701b03169082015260600161021f565b34801561050257600080fd5b506102bd61051136600461233b565b610ecf565b34801561052257600080fd5b506102a2610f1d565b34801561053757600080fd5b5061054b61054636600461233b565b610f31565b60405161021f9190612356565b34801561056457600080fd5b506008546001600160a01b031661026a565b34801561058257600080fd5b506102a261059136600461238e565b611040565b3480156105a257600080fd5b5061023d611075565b3480156105b757600080fd5b5061054b6105c63660046123af565b611084565b6102a26105d9366004611fa4565b61120f565b3480156105ea57600080fd5b506102a26105f93660046123e2565b6113aa565b34801561060a57600080fd5b506102a261061936600461241e565b611440565b34801561062a57600080fd5b506102a2610639366004612485565b61148a565b34801561064a57600080fd5b5061065e610659366004611fa4565b6114c5565b60405161021f91906124ae565b34801561067757600080fd5b5061023d610686366004611fa4565b61154d565b34801561069757600080fd5b506102136106a63660046124bc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106e057600080fd5b506102a26106ef36600461233b565b6115fa565b60006301ffc9a760e01b6001600160e01b03198316148061072557506380ac58cd60e01b6001600160e01b03198316145b806107405750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610755906124ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610781906124ef565b80156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b5050505050905090565b60006107e382611670565b610800576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061082782610e9e565b9050336001600160a01b038216146108605761084381336106a6565b610860576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108c7826116a5565b9050836001600160a01b0316816001600160a01b0316146108fa5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109475761092a86336106a6565b61094757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096e57604051633a954ecd60e21b815260040160405180910390fd5b801561097957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a045760018401600081815260046020526040902054610a02576000548114610a025760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600d54600e5460009182916001600160a01b039091169061271090610a729086612540565b610a7c9190612575565b915091505b9250929050565b6001600854600160a01b900460ff166002811115610aa857610aa8612291565b14610ae55760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b60448201526064015b60405180910390fd5b6040805160608101825260095460ff81168252610100810461ffff166020830181905263010000009091046001600160701b03169282019290925290610b346001546000546000199190030190565b610b3f906001612589565b1115610b7a5760405162461bcd60e51b815260206004820152600a6024820152694d41585f535550504c5960b01b6044820152606401610adc565b600c8383604051610b8c9291906125a1565b9081526040519081900360200190205460ff1615610bde5760405162461bcd60e51b815260206004820152600f60248201526e1053149150511657d0d31052535151608a1b6044820152606401610adc565b600a54604080516020601f86018190048102820181019092528481526001600160a01b0390921691610cb6918690869081908401838280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201526034019150610c499050565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c016040516020818303038152906040528051906020012061170e90919063ffffffff16565b6001600160a01b031614610cc957600080fd5b6001600c8484604051610cdd9291906125a1565b908152604051908190036020019020805491151560ff19909216919091179055610d08336001611732565b505050565b610d15611829565b604051600090339047908381818185875af1925050503d8060008114610d57576040519150601f19603f3d011682016040523d82523d6000602084013e610d5c565b606091505b5050905080610d965760405162461bcd60e51b815260206004820152600660248201526511905253115160d21b6044820152606401610adc565b50565b610d0883838360405180602001604052806000815250611440565b6060816000816001600160401b03811115610dd157610dd16121b2565b604051908082528060200260200182016040528015610e2357816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610def5790505b50905060005b828114610e7657610e51868683818110610e4557610e456125b1565b905060200201356114c5565b828281518110610e6357610e636125b1565b6020908102919091010152600101610e29565b50949350505050565b610e87611829565b8051610e9a90600b906020840190611e6d565b5050565b6000610740826116a5565b610eb1611829565b6009805461ffff9092166101000262ffff0019909216919091179055565b60006001600160a01b038216610ef8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610f25611829565b610f2f6000611883565b565b60606000806000610f4185610ecf565b90506000816001600160401b03811115610f5d57610f5d6121b2565b604051908082528060200260200182016040528015610f86578160200160208202803683370190505b509050610fb360408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461103457610fc6816118d5565b9150816040015115610fd75761102c565b81516001600160a01b031615610fec57815194505b876001600160a01b0316856001600160a01b0316141561102c578083878060010198508151811061101f5761101f6125b1565b6020026020010181815250505b600101610fb6565b50909695505050505050565b611048611829565b6008805482919060ff60a01b1916600160a01b83600281111561106d5761106d612291565b021790555050565b606060038054610755906124ef565b60608183106110a657604051631960ccad60e11b815260040160405180910390fd5b6000806110b260005490565b905060018510156110c257600194505b808411156110ce578093505b60006110d987610ecf565b9050848610156110f857858503818110156110f2578091505b506110fc565b5060005b6000816001600160401b03811115611116576111166121b2565b60405190808252806020026020018201604052801561113f578160200160208202803683370190505b5090508161115257935061120892505050565b600061115d886114c5565b90506000816040015161116e575080515b885b8881141580156111805750848714155b156111fc5761118e816118d5565b925082604001511561119f576111f4565b82516001600160a01b0316156111b457825191505b8a6001600160a01b0316826001600160a01b031614156111f457808488806001019950815181106111e7576111e76125b1565b6020026020010181815250505b600101611170565b50505092835250909150505b9392505050565b6002600854600160a01b900460ff16600281111561122f5761122f612291565b146112675760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b6044820152606401610adc565b6040805160608101825260095460ff81168252610100810461ffff166020830181905263010000009091046001600160701b03169282019290925290826112b76001546000546000199190030190565b6112c19190612589565b11156112fc5760405162461bcd60e51b815260206004820152600a6024820152694d41585f535550504c5960b01b6044820152606401610adc565b805160ff168211156113415760405162461bcd60e51b815260206004820152600e60248201526d13505617d4115497d5d05313115560921b6044820152606401610adc565b60008282604001516001600160701b031661135c9190612540565b9050803410156113a05760405162461bcd60e51b815260206004820152600f60248201526e0929ca6aa8c8c92868a9ca8be8aa89608b1b6044820152606401610adc565b610d083384611732565b6001600160a01b0382163314156113d45760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61144b8484846108bc565b6001600160a01b0383163b156114845761146784848484611911565b611484576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611492611829565b600980546001600160701b0390921663010000000270ffffffffffffffffffffffffffff00000019909216919091179055565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061151e57506000548310155b156115295792915050565b611532836118d5565b90508060400151156115445792915050565b611208836119fa565b606061155882611670565b6115bc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610adc565b60006115c6611a2f565b9050806115d284611a3e565b6040516020016115e39291906125c7565b604051602081830303815290604052915050919050565b611602611829565b6001600160a01b0381166116675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610adc565b610d9681611883565b600081600111158015611684575060005482105b8015610740575050600090815260046020526040902054600160e01b161590565b600081806001116116f5576000548110156116f557600081815260046020526040902054600160e01b81166116f3575b806112085750600019016000818152600460205260409020546116d5565b505b604051636f96cda160e11b815260040160405180910390fd5b600080600061171d8585611b3b565b9150915061172a81611b7e565b509392505050565b600054816117535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461180257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016117ca565b508161182057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6008546001600160a01b03163314610f2f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610adc565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461074090611d39565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611946903390899088908890600401612606565b6020604051808303816000875af1925050508015611981575060408051601f3d908101601f1916820190925261197e91810190612643565b60015b6119dc573d8080156119af576040519150601f19603f3d011682016040523d82523d6000602084013e6119b4565b606091505b5080516119d4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610740611a2a836116a5565b611d39565b6060600b8054610755906124ef565b606081611a625750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a8c5780611a7681612660565b9150611a859050600a83612575565b9150611a66565b6000816001600160401b03811115611aa657611aa66121b2565b6040519080825280601f01601f191660200182016040528015611ad0576020820181803683370190505b5090505b84156119f257611ae560018361267b565b9150611af2600a86612692565b611afd906030612589565b60f81b818381518110611b1257611b126125b1565b60200101906001600160f81b031916908160001a905350611b34600a86612575565b9450611ad4565b600080825160411415611b725760208301516040840151606085015160001a611b6687828585611d80565b94509450505050610a81565b50600090506002610a81565b6000816004811115611b9257611b92612291565b1415611b9b5750565b6001816004811115611baf57611baf612291565b1415611bfd5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610adc565b6002816004811115611c1157611c11612291565b1415611c5f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610adc565b6003816004811115611c7357611c73612291565b1415611ccc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610adc565b6004816004811115611ce057611ce0612291565b1415610d965760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610adc565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611db75750600090506003611e64565b8460ff16601b14158015611dcf57508460ff16601c14155b15611de05750600090506004611e64565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e34573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e5d57600060019250925050611e64565b9150600090505b94509492505050565b828054611e79906124ef565b90600052602060002090601f016020900481019282611e9b5760008555611ee1565b82601f10611eb457805160ff1916838001178555611ee1565b82800160010185558215611ee1579182015b82811115611ee1578251825591602001919060010190611ec6565b50611eed929150611ef1565b5090565b5b80821115611eed5760008155600101611ef2565b6001600160e01b031981168114610d9657600080fd5b600060208284031215611f2e57600080fd5b813561120881611f06565b60005b83811015611f54578181015183820152602001611f3c565b838111156114845750506000910152565b60008151808452611f7d816020860160208601611f39565b601f01601f19169290920160200192915050565b6020815260006112086020830184611f65565b600060208284031215611fb657600080fd5b5035919050565b80356001600160a01b0381168114611fd457600080fd5b919050565b60008060408385031215611fec57600080fd5b611ff583611fbd565b946020939093013593505050565b60008060006060848603121561201857600080fd5b61202184611fbd565b925061202f60208501611fbd565b9150604084013590509250925092565b6000806040838503121561205257600080fd5b50508035926020909101359150565b6000806020838503121561207457600080fd5b82356001600160401b038082111561208b57600080fd5b818501915085601f83011261209f57600080fd5b8135818111156120ae57600080fd5b8660208285010111156120c057600080fd5b60209290920196919550909350505050565b600080602083850312156120e557600080fd5b82356001600160401b03808211156120fc57600080fd5b818501915085601f83011261211057600080fd5b81358181111561211f57600080fd5b8660208260051b85010111156120c057600080fd5b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156110345761219f838551612134565b928401926080929092019160010161218c565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156121e2576121e26121b2565b604051601f8501601f19908116603f0116810190828211818310171561220a5761220a6121b2565b8160405280935085815286868601111561222357600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261224e57600080fd5b611208838335602085016121c8565b60006020828403121561226f57600080fd5b81356001600160401b0381111561228557600080fd5b6119f28482850161223d565b634e487b7160e01b600052602160045260246000fd5b60208101600383106122c957634e487b7160e01b600052602160045260246000fd5b91905290565b6000602082840312156122e157600080fd5b81356001600160401b038111156122f757600080fd5b8201601f8101841361230857600080fd5b6119f2848235602084016121c8565b60006020828403121561232957600080fd5b813561ffff8116811461120857600080fd5b60006020828403121561234d57600080fd5b61120882611fbd565b6020808252825182820181905260009190848201906040850190845b8181101561103457835183529284019291840191600101612372565b6000602082840312156123a057600080fd5b81356003811061120857600080fd5b6000806000606084860312156123c457600080fd5b6123cd84611fbd565b95602085013595506040909401359392505050565b600080604083850312156123f557600080fd5b6123fe83611fbd565b91506020830135801515811461241357600080fd5b809150509250929050565b6000806000806080858703121561243457600080fd5b61243d85611fbd565b935061244b60208601611fbd565b92506040850135915060608501356001600160401b0381111561246d57600080fd5b6124798782880161223d565b91505092959194509250565b60006020828403121561249757600080fd5b81356001600160701b038116811461120857600080fd5b608081016107408284612134565b600080604083850312156124cf57600080fd5b6124d883611fbd565b91506124e660208401611fbd565b90509250929050565b600181811c9082168061250357607f821691505b6020821081141561252457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561255a5761255a61252a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826125845761258461255f565b500490565b6000821982111561259c5761259c61252a565b500190565b8183823760009101908152919050565b634e487b7160e01b600052603260045260246000fd5b600083516125d9818460208801611f39565b8351908301906125ed818360208801611f39565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061263990830184611f65565b9695505050505050565b60006020828403121561265557600080fd5b815161120881611f06565b60006000198214156126745761267461252a565b5060010190565b60008282101561268d5761268d61252a565b500390565b6000826126a1576126a161255f565b50069056fea264697066735822122066b43c4fe41d1c8dba1fbc8a4dd0ce606fbf3552cdbff3668f46486f9323ffe364736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000068200000000000000000000000000000000000000000000000000000000000000000000000000000000000000009024c97f88e81db422ec24490828713c86b37ea300000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : maxPerWallet (uint8): 1
Arg [1] : maxSupply (uint16): 1666
Arg [2] : price (uint112): 0
Arg [3] : royaltyAddress (address): 0x9024c97F88E81dB422Ec24490828713C86B37ea3
Arg [4] : royaltyPercentage (uint256): 1000
Arg [5] : baseURI (string):
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000682
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000009024c97f88e81db422ec24490828713c86b37ea3
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
74928:3460:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33498:639;;;;;;;;;;-1:-1:-1;33498:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;33498:639:0;;;;;;;;34400:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40883:218::-;;;;;;;;;;-1:-1:-1;40883:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;40883:218:0;1528:203:1;40324:400:0;;;;;;;;;;-1:-1:-1;40324:400:0;;;;;:::i;:::-;;:::i;:::-;;30151:323;;;;;;;;;;-1:-1:-1;78374:1:0;30425:12;30212:7;30409:13;:28;-1:-1:-1;;30409:46:0;30151:323;;;2319:25:1;;;2307:2;2292:18;30151:323:0;2173:177:1;75321:66:0;;;;;;;;;;-1:-1:-1;75321:66:0;;;;-1:-1:-1;;;;;75321:66:0;;;44590:2817;;;;;;;;;;-1:-1:-1;44590:2817:0;;;;;:::i;:::-;;:::i;78105:165::-;;;;;;;;;;-1:-1:-1;78105:165:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3133:32:1;;;3115:51;;3197:2;3182:18;;3175:34;;;;3088:18;78105:165:0;2941:274:1;76458:566:0;;;;;;;;;;-1:-1:-1;76458:566:0;;;;;:::i;:::-;;:::i;77032:167::-;;;;;;;;;;;;;:::i;47503:185::-;;;;;;;;;;-1:-1:-1;47503:185:0;;;;;:::i;:::-;;:::i;70081:528::-;;;;;;;;;;-1:-1:-1;70081:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;75433:40::-;;;;;;;;;;-1:-1:-1;75433:40:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75254:26;;;;;;;;;;-1:-1:-1;75254:26:0;;;;-1:-1:-1;;;75254:26:0;;;;;;;;;;;;;:::i;77538:99::-;;;;;;;;;;-1:-1:-1;77538:99:0;;;;;:::i;:::-;;:::i;35793:152::-;;;;;;;;;;-1:-1:-1;35793:152:0;;;;;:::i;:::-;;:::i;77318:107::-;;;;;;;;;;-1:-1:-1;77318:107:0;;;;;:::i;:::-;;:::i;75287:21::-;;;;;;;;;;-1:-1:-1;75287:21:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;75287:21:0;;;;;;;8272:4:1;8260:17;;;8242:36;;8326:6;8314:19;;;8309:2;8294:18;;8287:47;-1:-1:-1;;;;;8370:43:1;8350:18;;;8343:71;8230:2;8215:18;75287:21:0;8046:374:1;31335:233:0;;;;;;;;;;-1:-1:-1;31335:233:0;;;;;:::i;:::-;;:::i;2776:103::-;;;;;;;;;;;;;:::i;73957:900::-;;;;;;;;;;-1:-1:-1;73957:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2128:87::-;;;;;;;;;;-1:-1:-1;2201:6:0;;-1:-1:-1;;;;;2201:6:0;2128:87;;77433:97;;;;;;;;;;-1:-1:-1;77433:97:0;;;;;:::i;:::-;;:::i;34576:104::-;;;;;;;;;;;;;:::i;70997:2513::-;;;;;;;;;;-1:-1:-1;70997:2513:0;;;;;:::i;:::-;;:::i;76000:450::-;;;;;;:::i;:::-;;:::i;41441:308::-;;;;;;;;;;-1:-1:-1;41441:308:0;;;;;:::i;:::-;;:::i;48286:399::-;;;;;;;;;;-1:-1:-1;48286:399:0;;;;;:::i;:::-;;:::i;77209:101::-;;;;;;;;;;-1:-1:-1;77209:101:0;;;;;:::i;:::-;;:::i;69494:428::-;;;;;;;;;;-1:-1:-1;69494:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;77765:332::-;;;;;;;;;;-1:-1:-1;77765:332:0;;;;;:::i;:::-;;:::i;41906:164::-;;;;;;;;;;-1:-1:-1;41906:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;42027:25:0;;;42003:4;42027:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41906:164;3034:201;;;;;;;;;;-1:-1:-1;3034:201:0;;;;;:::i;:::-;;:::i;33498:639::-;33583:4;-1:-1:-1;;;;;;;;;33907:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;33984:25:0;;;33907:102;:179;;;-1:-1:-1;;;;;;;;;;34061:25:0;;;33907:179;33887:199;33498:639;-1:-1:-1;;33498:639:0:o;34400:100::-;34454:13;34487:5;34480:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34400:100;:::o;40883:218::-;40959:7;40984:16;40992:7;40984;:16::i;:::-;40979:64;;41009:34;;-1:-1:-1;;;41009:34:0;;;;;;;;;;;40979:64;-1:-1:-1;41063:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;41063:30:0;;40883:218::o;40324:400::-;40405:13;40421:16;40429:7;40421;:16::i;:::-;40405:32;-1:-1:-1;64181:10:0;-1:-1:-1;;;;;40454:28:0;;;40450:175;;40502:44;40519:5;64181:10;41906:164;:::i;40502:44::-;40497:128;;40574:35;;-1:-1:-1;;;40574:35:0;;;;;;;;;;;40497:128;40637:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;40637:35:0;-1:-1:-1;;;;;40637:35:0;;;;;;;;;40688:28;;40637:24;;40688:28;;;;;;;40394:330;40324:400;;:::o;44590:2817::-;44724:27;44754;44773:7;44754:18;:27::i;:::-;44724:57;;44839:4;-1:-1:-1;;;;;44798:45:0;44814:19;-1:-1:-1;;;;;44798:45:0;;44794:86;;44852:28;;-1:-1:-1;;;44852:28:0;;;;;;;;;;;44794:86;44894:27;43704:24;;;:15;:24;;;;;43926:26;;64181:10;43329:30;;;-1:-1:-1;;;;;43022:28:0;;43307:20;;;43304:56;45080:180;;45173:43;45190:4;64181:10;41906:164;:::i;45173:43::-;45168:92;;45225:35;;-1:-1:-1;;;45225:35:0;;;;;;;;;;;45168:92;-1:-1:-1;;;;;45277:16:0;;45273:52;;45302:23;;-1:-1:-1;;;45302:23:0;;;;;;;;;;;45273:52;45474:15;45471:160;;;45614:1;45593:19;45586:30;45471:160;-1:-1:-1;;;;;46011:24:0;;;;;;;:18;:24;;;;;;46009:26;;-1:-1:-1;;46009:26:0;;;46080:22;;;;;;;;;46078:24;;-1:-1:-1;46078:24:0;;;39182:11;39157:23;39153:41;39140:63;-1:-1:-1;;;39140:63:0;46373:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;46668:47:0;;46664:627;;46773:1;46763:11;;46741:19;46896:30;;;:17;:30;;;;;;46892:384;;47034:13;;47019:11;:28;47015:242;;47181:30;;;;:17;:30;;;;;:52;;;47015:242;46722:569;46664:627;47338:7;47334:2;-1:-1:-1;;;;;47319:27:0;47328:4;-1:-1:-1;;;;;47319:27:0;;;;;;;;;;;44713:2694;;;44590:2817;;;:::o;78105:165::-;78210:15;;78235:18;;78173:7;;;;-1:-1:-1;;;;;78210:15:0;;;;78256:5;;78227:26;;:5;:26;:::i;:::-;:34;;;;:::i;:::-;78202:60;;;;78105:165;;;;;;:::o;76458:566::-;76548:24;76535:9;;-1:-1:-1;;;76535:9:0;;;;:37;;;;;;;;:::i;:::-;;76527:58;;;;-1:-1:-1;;;76527:58:0;;12736:2:1;76527:58:0;;;12718:21:1;12775:1;12755:18;;;12748:29;-1:-1:-1;;;12793:18:1;;;12786:38;12841:18;;76527:58:0;;;;;;;;;76596:29;;;;;;;;76616:9;76596:29;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76596:29:0;;;;;;;;;76644:13;78374:1;30425:12;30212:7;30409:13;-1:-1:-1;;30409:28:0;;;:46;;30151:323;76644:13;:17;;76660:1;76644:17;:::i;:::-;:36;;76636:59;;;;-1:-1:-1;;;76636:59:0;;13205:2:1;76636:59:0;;;13187:21:1;13244:2;13224:18;;;13217:30;-1:-1:-1;;;13263:18:1;;;13256:40;13313:18;;76636:59:0;13003:334:1;76636:59:0;76715:10;76726:9;;76715:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;76714:22;76706:50;;;;-1:-1:-1;;;76706:50:0;;13820:2:1;76706:50:0;;;13802:21:1;13859:2;13839:18;;;13832:30;-1:-1:-1;;;13878:18:1;;;13871:45;13933:18;;76706:50:0;13618:339:1;76706:50:0;76939:6;;76775:160;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76939:6:0;;;;76775:160;;76925:9;;;;;;76775:160;;76925:9;;;;76775:160;;;;;;;;;-1:-1:-1;;76875:28:0;;-1:-1:-1;;76892:10:0;14111:2:1;14107:15;14103:53;76875:28:0;;;14091:66:1;14173:12;;;-1:-1:-1;76875:28:0;;-1:-1:-1;13962:229:1;76875:28:0;;;;-1:-1:-1;;76875:28:0;;;;;;;;;;76865:39;;76875:28;76865:39;;;;14438:66:1;76799:116:0;;;14426:79:1;;;;14521:12;;;14514:28;14558:12;;76799:116:0;;;;;;;;;;;;76775:141;;;;;;:149;;:160;;;;:::i;:::-;-1:-1:-1;;;;;76775:170:0;;76767:179;;;;;;76981:4;76957:10;76968:9;;76957:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;;;;;-1:-1:-1;;76957:28:0;;;;;;;;;76996:20;77002:10;76957:28;76996:5;:20::i;:::-;76516:508;76458:566;;:::o;77032:167::-;2014:13;:11;:13::i;:::-;77098:59:::1;::::0;77083:9:::1;::::0;77106:10:::1;::::0;77130:21:::1;::::0;77083:9;77098:59;77083:9;77098:59;77130:21;77106:10;77098:59:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77082:75;;;77176:4;77168:23;;;::::0;-1:-1:-1;;;77168:23:0;;14993:2:1;77168:23:0::1;::::0;::::1;14975:21:1::0;15032:1;15012:18;;;15005:29;-1:-1:-1;;;15050:18:1;;;15043:36;15096:18;;77168:23:0::1;14791:329:1::0;77168:23:0::1;77071:128;77032:167::o:0;47503:185::-;47641:39;47658:4;47664:2;47668:7;47641:39;;;;;;;;;;;;:16;:39::i;70081:528::-;70225:23;70316:8;70291:22;70316:8;-1:-1:-1;;;;;70383:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70383:36:0;;-1:-1:-1;;70383:36:0;;;;;;;;;;;;70346:73;;70439:9;70434:125;70455:14;70450:1;:19;70434:125;;70511:32;70531:8;;70540:1;70531:11;;;;;;;:::i;:::-;;;;;;;70511:19;:32::i;:::-;70495:10;70506:1;70495:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;70471:3;;70434:125;;;-1:-1:-1;70580:10:0;70081:528;-1:-1:-1;;;;70081:528:0:o;77538:99::-;2014:13;:11;:13::i;:::-;77607:22;;::::1;::::0;:13:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;77538:99:::0;:::o;35793:152::-;35865:7;35908:27;35927:7;35908:18;:27::i;77318:107::-;2014:13;:11;:13::i;:::-;77386:9:::1;:31:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;77386:31:0;;::::1;::::0;;;::::1;::::0;;77318:107::o;31335:233::-;31407:7;-1:-1:-1;;;;;31431:19:0;;31427:60;;31459:28;;-1:-1:-1;;;31459:28:0;;;;;;;;;;;31427:60;-1:-1:-1;;;;;;31505:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;31505:55:0;;31335:233::o;2776:103::-;2014:13;:11;:13::i;:::-;2841:30:::1;2868:1;2841:18;:30::i;:::-;2776:103::o:0;73957:900::-;74035:16;74089:19;74123:25;74163:22;74188:16;74198:5;74188:9;:16::i;:::-;74163:41;;74219:25;74261:14;-1:-1:-1;;;;;74247:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74247:29:0;;74219:57;;74291:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74291:31:0;78374:1;74337:472;74386:14;74371:11;:29;74337:472;;74438:15;74451:1;74438:12;:15::i;:::-;74426:27;;74476:9;:16;;;74472:73;;;74517:8;;74472:73;74567:14;;-1:-1:-1;;;;;74567:28:0;;74563:111;;74640:14;;;-1:-1:-1;74563:111:0;74717:5;-1:-1:-1;;;;;74696:26:0;:17;-1:-1:-1;;;;;74696:26:0;;74692:102;;;74773:1;74747:8;74756:13;;;;;;74747:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;74692:102;74402:3;;74337:472;;;-1:-1:-1;74830:8:0;;73957:900;-1:-1:-1;;;;;;73957:900:0:o;77433:97::-;2014:13;:11;:13::i;:::-;77502:9:::1;:20:::0;;77514:8;;77502:9;-1:-1:-1;;;;77502:20:0::1;-1:-1:-1::0;;;77514:8:0;77502:20:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;77433:97:::0;:::o;34576:104::-;34632:13;34665:7;34658:14;;;;;:::i;70997:2513::-;71140:16;71207:4;71198:5;:13;71194:45;;71220:19;;-1:-1:-1;;;71220:19:0;;;;;;;;;;;71194:45;71254:19;71288:17;71308:14;29893:7;29920:13;;29838:103;71308:14;71288:34;-1:-1:-1;78374:1:0;71400:5;:23;71396:87;;;78374:1;71444:23;;71396:87;71559:9;71552:4;:16;71548:73;;;71596:9;71589:16;;71548:73;71635:25;71663:16;71673:5;71663:9;:16::i;:::-;71635:44;;71857:4;71849:5;:12;71845:278;;;71904:12;;;71939:31;;;71935:111;;;72015:11;71995:31;;71935:111;71863:198;71845:278;;;-1:-1:-1;72106:1:0;71845:278;72137:25;72179:17;-1:-1:-1;;;;;72165:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72165:32:0;-1:-1:-1;72137:60:0;-1:-1:-1;72216:22:0;72212:78;;72266:8;-1:-1:-1;72259:15:0;;-1:-1:-1;;;72259:15:0;72212:78;72434:31;72468:26;72488:5;72468:19;:26::i;:::-;72434:60;;72509:25;72754:9;:16;;;72749:92;;-1:-1:-1;72811:14:0;;72749:92;72872:5;72855:478;72884:4;72879:1;:9;;:45;;;;;72907:17;72892:11;:32;;72879:45;72855:478;;;72962:15;72975:1;72962:12;:15::i;:::-;72950:27;;73000:9;:16;;;72996:73;;;73041:8;;72996:73;73091:14;;-1:-1:-1;;;;;73091:28:0;;73087:111;;73164:14;;;-1:-1:-1;73087:111:0;73241:5;-1:-1:-1;;;;;73220:26:0;:17;-1:-1:-1;;;;;73220:26:0;;73216:102;;;73297:1;73271:8;73280:13;;;;;;73271:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;73216:102;72926:3;;72855:478;;;-1:-1:-1;;;73418:29:0;;;-1:-1:-1;73425:8:0;;-1:-1:-1;;70997:2513:0;;;;;;:::o;76000:450::-;76081:21;76068:9;;-1:-1:-1;;;76068:9:0;;;;:34;;;;;;;;:::i;:::-;;76060:55;;;;-1:-1:-1;;;76060:55:0;;12736:2:1;76060:55:0;;;12718:21:1;12775:1;12755:18;;;12748:29;-1:-1:-1;;;12793:18:1;;;12786:38;12841:18;;76060:55:0;12534:331:1;76060:55:0;76126:29;;;;;;;;76146:9;76126:29;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76126:29:0;;;;;;;;;76190:8;76174:13;78374:1;30425:12;30212:7;30409:13;-1:-1:-1;;30409:28:0;;;:46;;30151:323;76174:13;:24;;;;:::i;:::-;:43;;76166:66;;;;-1:-1:-1;;;76166:66:0;;13205:2:1;76166:66:0;;;13187:21:1;13244:2;13224:18;;;13217:30;-1:-1:-1;;;13263:18:1;;;13256:40;13313:18;;76166:66:0;13003:334:1;76166:66:0;76263:18;;76251:30;;;;;76243:57;;;;-1:-1:-1;;;76243:57:0;;15459:2:1;76243:57:0;;;15441:21:1;15498:2;15478:18;;;15471:30;-1:-1:-1;;;15517:18:1;;;15510:44;15571:18;;76243:57:0;15257:338:1;76243:57:0;76311:12;76340:8;76326:5;:11;;;-1:-1:-1;;;;;76326:22:0;;;;;:::i;:::-;76311:37;;76380:4;76367:9;:17;;76359:45;;;;-1:-1:-1;;;76359:45:0;;15802:2:1;76359:45:0;;;15784:21:1;15841:2;15821:18;;;15814:30;-1:-1:-1;;;15860:18:1;;;15853:45;15915:18;;76359:45:0;15600:339:1;76359:45:0;76415:27;76421:10;76433:8;76415:5;:27::i;41441:308::-;-1:-1:-1;;;;;41540:31:0;;64181:10;41540:31;41536:61;;;41580:17;;-1:-1:-1;;;41580:17:0;;;;;;;;;;;41536:61;64181:10;41610:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;41610:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;41610:60:0;;;;;;;;;;41686:55;;540:41:1;;;41610:49:0;;64181:10;41686:55;;513:18:1;41686:55:0;;;;;;;41441:308;;:::o;48286:399::-;48453:31;48466:4;48472:2;48476:7;48453:12;:31::i;:::-;-1:-1:-1;;;;;48499:14:0;;;:19;48495:183;;48538:56;48569:4;48575:2;48579:7;48588:5;48538:30;:56::i;:::-;48533:145;;48622:40;;-1:-1:-1;;;48622:40:0;;;;;;;;;;;48533:145;48286:399;;;;:::o;77209:101::-;2014:13;:11;:13::i;:::-;77276:9:::1;:26:::0;;-1:-1:-1;;;;;77276:26:0;;::::1;::::0;::::1;-1:-1:-1::0;;77276:26:0;;::::1;::::0;;;::::1;::::0;;77209:101::o;69494:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78374:1:0;69658:7;:25;:54;;;-1:-1:-1;29893:7:0;29920:13;69687:7;:25;;69658:54;69654:103;;;69736:9;69494:428;-1:-1:-1;;69494:428:0:o;69654:103::-;69779:21;69792:7;69779:12;:21::i;:::-;69767:33;;69815:9;:16;;;69811:65;;;69855:9;69494:428;-1:-1:-1;;69494:428:0:o;69811:65::-;69893:21;69906:7;69893:12;:21::i;77765:332::-;77849:13;77883:16;77891:7;77883;:16::i;:::-;77875:75;;;;-1:-1:-1;;;77875:75:0;;16146:2:1;77875:75:0;;;16128:21:1;16185:2;16165:18;;;16158:30;16224:34;16204:18;;;16197:62;-1:-1:-1;;;16275:18:1;;;16268:45;16330:19;;77875:75:0;15944:411:1;77875:75:0;77961:28;77992:10;:8;:10::i;:::-;77961:41;;78044:14;78060:18;:7;:16;:18::i;:::-;78027:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78013:76;;;77765:332;;;:::o;3034:201::-;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;3123:22:0;::::1;3115:73;;;::::0;-1:-1:-1;;;3115:73:0;;17204:2:1;3115:73:0::1;::::0;::::1;17186:21:1::0;17243:2;17223:18;;;17216:30;17282:34;17262:18;;;17255:62;-1:-1:-1;;;17333:18:1;;;17326:36;17379:19;;3115:73:0::1;17002:402:1::0;3115:73:0::1;3199:28;3218:8;3199:18;:28::i;42328:282::-:0;42393:4;42449:7;78374:1;42430:26;;:66;;;;;42483:13;;42473:7;:23;42430:66;:153;;;;-1:-1:-1;;42534:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;42534:44:0;:49;;42328:282::o;36948:1275::-;37015:7;37050;;78374:1;37099:23;37095:1061;;37152:13;;37145:4;:20;37141:1015;;;37190:14;37207:23;;;:17;:23;;;;;;-1:-1:-1;;;37296:24:0;;37292:845;;37961:113;37968:11;37961:113;;-1:-1:-1;;;38039:6:0;38021:25;;;;:17;:25;;;;;;37961:113;;37292:845;37167:989;37141:1015;38184:31;;-1:-1:-1;;;38184:31:0;;;;;;;;;;;9946:231;10024:7;10045:17;10064:18;10086:27;10097:4;10103:9;10086:10;:27::i;:::-;10044:69;;;;10124:18;10136:5;10124:11;:18::i;:::-;-1:-1:-1;10160:9:0;9946:231;-1:-1:-1;;;9946:231:0:o;51947:2454::-;52020:20;52043:13;52071;52067:44;;52093:18;;-1:-1:-1;;;52093:18:0;;;;;;;;;;;52067:44;-1:-1:-1;;;;;52599:22:0;;;;;;:18;:22;;;;25632:2;52599:22;;;:71;;52637:32;52625:45;;52599:71;;;52913:31;;;:17;:31;;;;;-1:-1:-1;39613:15:0;;39587:24;39583:46;39182:11;39157:23;39153:41;39150:52;39140:63;;52913:173;;53148:23;;;;52913:31;;52599:22;;53647:25;52599:22;;53500:335;53915:1;53901:12;53897:20;53855:346;53956:3;53947:7;53944:16;53855:346;;54174:7;54164:8;54161:1;54134:25;54131:1;54128;54123:59;54009:1;53996:15;53855:346;;;-1:-1:-1;54234:13:0;54230:45;;54256:19;;-1:-1:-1;;;54256:19:0;;;;;;;;;;;54230:45;54292:13;:19;-1:-1:-1;76516:508:0;76458:566;;:::o;2293:132::-;2201:6;;-1:-1:-1;;;;;2201:6:0;64181:10;2357:23;2349:68;;;;-1:-1:-1;;;2349:68:0;;17611:2:1;2349:68:0;;;17593:21:1;;;17630:18;;;17623:30;17689:34;17669:18;;;17662:62;17741:18;;2349:68:0;17409:356:1;3395:191:0;3488:6;;;-1:-1:-1;;;;;3505:17:0;;;-1:-1:-1;;;;;;3505:17:0;;;;;;;3538:40;;3488:6;;;3505:17;3488:6;;3538:40;;3469:16;;3538:40;3458:128;3395:191;:::o;36396:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36524:24:0;;;;:17;:24;;;;;;36505:44;;:18;:44::i;50769:716::-;50953:88;;-1:-1:-1;;;50953:88:0;;50932:4;;-1:-1:-1;;;;;50953:45:0;;;;;:88;;64181:10;;51020:4;;51026:7;;51035:5;;50953:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50953:88:0;;;;;;;;-1:-1:-1;;50953:88:0;;;;;;;;;;;;:::i;:::-;;;50949:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51236:13:0;;51232:235;;51282:40;;-1:-1:-1;;;51282:40:0;;;;;;;;;;;51232:235;51425:6;51419:13;51410:6;51406:2;51402:15;51395:38;50949:529;-1:-1:-1;;;;;;51112:64:0;-1:-1:-1;;;51112:64:0;;-1:-1:-1;50949:529:0;50769:716;;;;;;:::o;36134:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36245:47:0;36264:27;36283:7;36264:18;:27::i;:::-;36245:18;:47::i;77645:112::-;77705:13;77736;77729:20;;;;;:::i;4023:723::-;4079:13;4300:10;4296:53;;-1:-1:-1;;4327:10:0;;;;;;;;;;;;-1:-1:-1;;;4327:10:0;;;;;4023:723::o;4296:53::-;4374:5;4359:12;4415:78;4422:9;;4415:78;;4448:8;;;;:::i;:::-;;-1:-1:-1;4471:10:0;;-1:-1:-1;4479:2:0;4471:10;;:::i;:::-;;;4415:78;;;4503:19;4535:6;-1:-1:-1;;;;;4525:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4525:17:0;;4503:39;;4553:154;4560:10;;4553:154;;4587:11;4597:1;4587:11;;:::i;:::-;;-1:-1:-1;4656:10:0;4664:2;4656:5;:10;:::i;:::-;4643:24;;:2;:24;:::i;:::-;4630:39;;4613:6;4620;4613:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4613:56:0;;;;;;;;-1:-1:-1;4684:11:0;4693:2;4684:11;;:::i;:::-;;;4553:154;;8397:747;8478:7;8487:12;8516:9;:16;8536:2;8516:22;8512:625;;;8860:4;8845:20;;8839:27;8910:4;8895:20;;8889:27;8968:4;8953:20;;8947:27;8555:9;8939:36;9011:25;9022:4;8939:36;8839:27;8889;9011:10;:25::i;:::-;9004:32;;;;;;;;;8512:625;-1:-1:-1;9085:1:0;;-1:-1:-1;9089:35:0;9069:56;;6668:643;6746:20;6737:5;:29;;;;;;;;:::i;:::-;;6733:571;;;6668:643;:::o;6733:571::-;6844:29;6835:5;:38;;;;;;;;:::i;:::-;;6831:473;;;6890:34;;-1:-1:-1;;;6890:34:0;;19107:2:1;6890:34:0;;;19089:21:1;19146:2;19126:18;;;19119:30;19185:26;19165:18;;;19158:54;19229:18;;6890:34:0;18905:348:1;6831:473:0;6955:35;6946:5;:44;;;;;;;;:::i;:::-;;6942:362;;;7007:41;;-1:-1:-1;;;7007:41:0;;19460:2:1;7007:41:0;;;19442:21:1;19499:2;19479:18;;;19472:30;19538:33;19518:18;;;19511:61;19589:18;;7007:41:0;19258:355:1;6942:362:0;7079:30;7070:5;:39;;;;;;;;:::i;:::-;;7066:238;;;7126:44;;-1:-1:-1;;;7126:44:0;;19820:2:1;7126:44:0;;;19802:21:1;19859:2;19839:18;;;19832:30;19898:34;19878:18;;;19871:62;-1:-1:-1;;;19949:18:1;;;19942:32;19991:19;;7126:44:0;19618:398:1;7066:238:0;7201:30;7192:5;:39;;;;;;;;:::i;:::-;;7188:116;;;7248:44;;-1:-1:-1;;;7248:44:0;;20223:2:1;7248:44:0;;;20205:21:1;20262:2;20242:18;;;20235:30;20301:34;20281:18;;;20274:62;-1:-1:-1;;;20352:18:1;;;20345:32;20394:19;;7248:44:0;20021:398:1;38322:366:0;-1:-1:-1;;;;;;;;;;;;;38432:41:0;;;;26153:3;38518:33;;;-1:-1:-1;;;;;38484:68:0;-1:-1:-1;;;38484:68:0;-1:-1:-1;;;38582:24:0;;:29;;-1:-1:-1;;;38563:48:0;;;;26674:3;38651:28;;;;-1:-1:-1;;;38622:58:0;-1:-1:-1;38322:366:0:o;11398:1632::-;11529:7;;12463:66;12450:79;;12446:163;;;-1:-1:-1;12562:1:0;;-1:-1:-1;12566:30:0;12546:51;;12446:163;12623:1;:7;;12628:2;12623:7;;:18;;;;;12634:1;:7;;12639:2;12634:7;;12623:18;12619:102;;;-1:-1:-1;12674:1:0;;-1:-1:-1;12678:30:0;12658:51;;12619:102;12835:24;;;12818:14;12835:24;;;;;;;;;20651:25:1;;;20724:4;20712:17;;20692:18;;;20685:45;;;;20746:18;;;20739:34;;;20789:18;;;20782:34;;;12835:24:0;;20623:19:1;;12835:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12835:24:0;;-1:-1:-1;;12835:24:0;;;-1:-1:-1;;;;;;;12874:20:0;;12870:103;;12927:1;12931:29;12911:50;;;;;;;12870:103;12993:6;-1:-1:-1;13001:20:0;;-1:-1:-1;11398:1632:0;;;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:248::-;2756:6;2764;2817:2;2805:9;2796:7;2792:23;2788:32;2785:52;;;2833:1;2830;2823:12;2785:52;-1:-1:-1;;2856:23:1;;;2926:2;2911:18;;;2898:32;;-1:-1:-1;2688:248:1:o;3220:591::-;3290:6;3298;3351:2;3339:9;3330:7;3326:23;3322:32;3319:52;;;3367:1;3364;3357:12;3319:52;3407:9;3394:23;-1:-1:-1;;;;;3477:2:1;3469:6;3466:14;3463:34;;;3493:1;3490;3483:12;3463:34;3531:6;3520:9;3516:22;3506:32;;3576:7;3569:4;3565:2;3561:13;3557:27;3547:55;;3598:1;3595;3588:12;3547:55;3638:2;3625:16;3664:2;3656:6;3653:14;3650:34;;;3680:1;3677;3670:12;3650:34;3725:7;3720:2;3711:6;3707:2;3703:15;3699:24;3696:37;3693:57;;;3746:1;3743;3736:12;3693:57;3777:2;3769:11;;;;;3799:6;;-1:-1:-1;3220:591:1;;-1:-1:-1;;;;3220:591:1:o;3816:615::-;3902:6;3910;3963:2;3951:9;3942:7;3938:23;3934:32;3931:52;;;3979:1;3976;3969:12;3931:52;4019:9;4006:23;-1:-1:-1;;;;;4089:2:1;4081:6;4078:14;4075:34;;;4105:1;4102;4095:12;4075:34;4143:6;4132:9;4128:22;4118:32;;4188:7;4181:4;4177:2;4173:13;4169:27;4159:55;;4210:1;4207;4200:12;4159:55;4250:2;4237:16;4276:2;4268:6;4265:14;4262:34;;;4292:1;4289;4282:12;4262:34;4345:7;4340:2;4330:6;4327:1;4323:14;4319:2;4315:23;4311:32;4308:45;4305:65;;;4366:1;4363;4356:12;4436:349;4520:12;;-1:-1:-1;;;;;4516:38:1;4504:51;;4608:4;4597:16;;;4591:23;-1:-1:-1;;;;;4587:48:1;4571:14;;;4564:72;4699:4;4688:16;;;4682:23;4675:31;4668:39;4652:14;;;4645:63;4761:4;4750:16;;;4744:23;4769:8;4740:38;4724:14;;4717:62;4436:349::o;4790:722::-;5023:2;5075:21;;;5145:13;;5048:18;;;5167:22;;;4994:4;;5023:2;5246:15;;;;5220:2;5205:18;;;4994:4;5289:197;5303:6;5300:1;5297:13;5289:197;;;5352:52;5400:3;5391:6;5385:13;5352:52;:::i;:::-;5461:15;;;;5433:4;5424:14;;;;;5325:1;5318:9;5289:197;;5517:127;5578:10;5573:3;5569:20;5566:1;5559:31;5609:4;5606:1;5599:15;5633:4;5630:1;5623:15;5649:631;5713:5;-1:-1:-1;;;;;5784:2:1;5776:6;5773:14;5770:40;;;5790:18;;:::i;:::-;5865:2;5859:9;5833:2;5919:15;;-1:-1:-1;;5915:24:1;;;5941:2;5911:33;5907:42;5895:55;;;5965:18;;;5985:22;;;5962:46;5959:72;;;6011:18;;:::i;:::-;6051:10;6047:2;6040:22;6080:6;6071:15;;6110:6;6102;6095:22;6150:3;6141:6;6136:3;6132:16;6129:25;6126:45;;;6167:1;6164;6157:12;6126:45;6217:6;6212:3;6205:4;6197:6;6193:17;6180:44;6272:1;6265:4;6256:6;6248;6244:19;6240:30;6233:41;;;;5649:631;;;;;:::o;6285:220::-;6327:5;6380:3;6373:4;6365:6;6361:17;6357:27;6347:55;;6398:1;6395;6388:12;6347:55;6420:79;6495:3;6486:6;6473:20;6466:4;6458:6;6454:17;6420:79;:::i;6510:320::-;6578:6;6631:2;6619:9;6610:7;6606:23;6602:32;6599:52;;;6647:1;6644;6637:12;6599:52;6687:9;6674:23;-1:-1:-1;;;;;6712:6:1;6709:30;6706:50;;;6752:1;6749;6742:12;6706:50;6775:49;6816:7;6807:6;6796:9;6792:22;6775:49;:::i;6835:127::-;6896:10;6891:3;6887:20;6884:1;6877:31;6927:4;6924:1;6917:15;6951:4;6948:1;6941:15;6967:342;7113:2;7098:18;;7146:1;7135:13;;7125:144;;7191:10;7186:3;7182:20;7179:1;7172:31;7226:4;7223:1;7216:15;7254:4;7251:1;7244:15;7125:144;7278:25;;;6967:342;:::o;7314:450::-;7383:6;7436:2;7424:9;7415:7;7411:23;7407:32;7404:52;;;7452:1;7449;7442:12;7404:52;7492:9;7479:23;-1:-1:-1;;;;;7517:6:1;7514:30;7511:50;;;7557:1;7554;7547:12;7511:50;7580:22;;7633:4;7625:13;;7621:27;-1:-1:-1;7611:55:1;;7662:1;7659;7652:12;7611:55;7685:73;7750:7;7745:2;7732:16;7727:2;7723;7719:11;7685:73;:::i;7769:272::-;7827:6;7880:2;7868:9;7859:7;7855:23;7851:32;7848:52;;;7896:1;7893;7886:12;7848:52;7935:9;7922:23;7985:6;7978:5;7974:18;7967:5;7964:29;7954:57;;8007:1;8004;7997:12;8425:186;8484:6;8537:2;8525:9;8516:7;8512:23;8508:32;8505:52;;;8553:1;8550;8543:12;8505:52;8576:29;8595:9;8576:29;:::i;8616:632::-;8787:2;8839:21;;;8909:13;;8812:18;;;8931:22;;;8758:4;;8787:2;9010:15;;;;8984:2;8969:18;;;8758:4;9053:169;9067:6;9064:1;9061:13;9053:169;;;9128:13;;9116:26;;9197:15;;;;9162:12;;;;9089:1;9082:9;9053:169;;9253:270;9326:6;9379:2;9367:9;9358:7;9354:23;9350:32;9347:52;;;9395:1;9392;9385:12;9347:52;9434:9;9421:23;9473:1;9466:5;9463:12;9453:40;;9489:1;9486;9479:12;9528:322;9605:6;9613;9621;9674:2;9662:9;9653:7;9649:23;9645:32;9642:52;;;9690:1;9687;9680:12;9642:52;9713:29;9732:9;9713:29;:::i;:::-;9703:39;9789:2;9774:18;;9761:32;;-1:-1:-1;9840:2:1;9825:18;;;9812:32;;9528:322;-1:-1:-1;;;9528:322:1:o;9855:347::-;9920:6;9928;9981:2;9969:9;9960:7;9956:23;9952:32;9949:52;;;9997:1;9994;9987:12;9949:52;10020:29;10039:9;10020:29;:::i;:::-;10010:39;;10099:2;10088:9;10084:18;10071:32;10146:5;10139:13;10132:21;10125:5;10122:32;10112:60;;10168:1;10165;10158:12;10112:60;10191:5;10181:15;;;9855:347;;;;;:::o;10207:537::-;10302:6;10310;10318;10326;10379:3;10367:9;10358:7;10354:23;10350:33;10347:53;;;10396:1;10393;10386:12;10347:53;10419:29;10438:9;10419:29;:::i;:::-;10409:39;;10467:38;10501:2;10490:9;10486:18;10467:38;:::i;:::-;10457:48;;10552:2;10541:9;10537:18;10524:32;10514:42;;10607:2;10596:9;10592:18;10579:32;-1:-1:-1;;;;;10626:6:1;10623:30;10620:50;;;10666:1;10663;10656:12;10620:50;10689:49;10730:7;10721:6;10710:9;10706:22;10689:49;:::i;:::-;10679:59;;;10207:537;;;;;;;:::o;10749:297::-;10808:6;10861:2;10849:9;10840:7;10836:23;10832:32;10829:52;;;10877:1;10874;10867:12;10829:52;10916:9;10903:23;-1:-1:-1;;;;;10959:5:1;10955:42;10948:5;10945:53;10935:81;;11012:1;11009;11002:12;11051:266;11247:3;11232:19;;11260:51;11236:9;11293:6;11260:51;:::i;11322:260::-;11390:6;11398;11451:2;11439:9;11430:7;11426:23;11422:32;11419:52;;;11467:1;11464;11457:12;11419:52;11490:29;11509:9;11490:29;:::i;:::-;11480:39;;11538:38;11572:2;11561:9;11557:18;11538:38;:::i;:::-;11528:48;;11322:260;;;;;:::o;11587:380::-;11666:1;11662:12;;;;11709;;;11730:61;;11784:4;11776:6;11772:17;11762:27;;11730:61;11837:2;11829:6;11826:14;11806:18;11803:38;11800:161;;;11883:10;11878:3;11874:20;11871:1;11864:31;11918:4;11915:1;11908:15;11946:4;11943:1;11936:15;11800:161;;11587:380;;;:::o;11972:127::-;12033:10;12028:3;12024:20;12021:1;12014:31;12064:4;12061:1;12054:15;12088:4;12085:1;12078:15;12104:168;12144:7;12210:1;12206;12202:6;12198:14;12195:1;12192:21;12187:1;12180:9;12173:17;12169:45;12166:71;;;12217:18;;:::i;:::-;-1:-1:-1;12257:9:1;;12104:168::o;12277:127::-;12338:10;12333:3;12329:20;12326:1;12319:31;12369:4;12366:1;12359:15;12393:4;12390:1;12383:15;12409:120;12449:1;12475;12465:35;;12480:18;;:::i;:::-;-1:-1:-1;12514:9:1;;12409:120::o;12870:128::-;12910:3;12941:1;12937:6;12934:1;12931:13;12928:39;;;12947:18;;:::i;:::-;-1:-1:-1;12983:9:1;;12870:128::o;13342:271::-;13525:6;13517;13512:3;13499:33;13481:3;13551:16;;13576:13;;;13551:16;13342:271;-1:-1:-1;13342:271:1:o;15125:127::-;15186:10;15181:3;15177:20;15174:1;15167:31;15217:4;15214:1;15207:15;15241:4;15238:1;15231:15;16360:637;16640:3;16678:6;16672:13;16694:53;16740:6;16735:3;16728:4;16720:6;16716:17;16694:53;:::i;:::-;16810:13;;16769:16;;;;16832:57;16810:13;16769:16;16866:4;16854:17;;16832:57;:::i;:::-;-1:-1:-1;;;16911:20:1;;16940:22;;;16989:1;16978:13;;16360:637;-1:-1:-1;;;;16360:637:1:o;17770:489::-;-1:-1:-1;;;;;18039:15:1;;;18021:34;;18091:15;;18086:2;18071:18;;18064:43;18138:2;18123:18;;18116:34;;;18186:3;18181:2;18166:18;;18159:31;;;17964:4;;18207:46;;18233:19;;18225:6;18207:46;:::i;:::-;18199:54;17770:489;-1:-1:-1;;;;;;17770:489:1:o;18264:249::-;18333:6;18386:2;18374:9;18365:7;18361:23;18357:32;18354:52;;;18402:1;18399;18392:12;18354:52;18434:9;18428:16;18453:30;18477:5;18453:30;:::i;18518:135::-;18557:3;-1:-1:-1;;18578:17:1;;18575:43;;;18598:18;;:::i;:::-;-1:-1:-1;18645:1:1;18634:13;;18518:135::o;18658:125::-;18698:4;18726:1;18723;18720:8;18717:34;;;18731:18;;:::i;:::-;-1:-1:-1;18768:9:1;;18658:125::o;18788:112::-;18820:1;18846;18836:35;;18851:18;;:::i;:::-;-1:-1:-1;18885:9:1;;18788:112::o
Swarm Source
ipfs://66b43c4fe41d1c8dba1fbc8a4dd0ce606fbf3552cdbff3668f46486f9323ffe3
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.