Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
475 YYBS
Holders
108
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 YYBSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YingYangBirds
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-12 */ // 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/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/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: 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: contracts/YinYang.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.4; contract YingYangBirds is Ownable, ERC721A, ReentrancyGuard { uint256 constant public MAX_SUPPLY = 4444; uint256 public publicPrice = 0.0025 ether; uint256 constant public MaxPerTX = 5; uint256 constant public MaxPerWallet = 10; string private revealedURI = "ipfs://QmTMoEFWcRhNV7AcAReKwmWELAMP3sg1PHnnZi3uC6cQqv/"; bool public paused = false; bool public revealed = true; bool public publicSale = true; mapping(address => bool) public userMintedFree; mapping(address => uint256) public numUserMints; constructor() ERC721A("Ying Yang Birds", "YYBS") { } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function publicMint(uint256 quantity) external payable mintCompliance(quantity) { require(publicSale, "Public sale inactive"); require(quantity <= MaxPerTX, "Quantity too high"); uint256 price = publicPrice; uint256 currMints = numUserMints[msg.sender]; require(currMints + quantity <= MaxPerWallet, "User max mint limit"); require( (price * quantity) <= msg.value, "Incorrect ETH value sent" ); numUserMints[msg.sender] = (currMints + quantity); _safeMint(msg.sender, quantity); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { // Note: You don't REALLY need this require statement since nothing should be querying for non-existing tokens after reveal. // That said, it's a public view method so gas efficiency shouldn't come into play. require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed) { return string(abi.encodePacked(revealedURI, Strings.toString(_tokenId), ".json")); } else { return revealedURI; } } function setPublicPrice(uint256 _publicPrice) public onlyOwner { publicPrice = _publicPrice; } function setBaseURI(string memory _baseUri) public onlyOwner { revealedURI = _baseUri; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setPublicEnabled(bool _state) public onlyOwner { publicSale = _state; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function mintToUser(uint256 quantity, address receiver) public onlyOwner mintCompliance(quantity) { _safeMint(receiver, quantity); } modifier mintCompliance(uint256 quantity) { require(!paused, "Contract is paused"); require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough mints left"); require(tx.origin == msg.sender, "No contract minting"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxPerTX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mintToUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numUserMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6608e1bc9bf04000600a5560e060405260366080818152906200204760a03980516200003491600b9160209091019062000143565b50600c805462ffffff1916620101001790553480156200005357600080fd5b506040518060400160405280600f81526020016e59696e672059616e6720426972647360881b815250604051806040016040528060048152602001635959425360e01b815250620000b3620000ad620000ef60201b60201c565b620000f3565b8151620000c890600390602085019062000143565b508051620000de90600490602084019062000143565b505060018080556009555062000226565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200015190620001e9565b90600052602060002090601f016020900481019282620001755760008555620001c0565b82601f106200019057805160ff1916838001178555620001c0565b82800160010185558215620001c0579182015b82811115620001c0578251825591602001919060010190620001a3565b50620001ce929150620001d2565b5090565b5b80821115620001ce5760008155600101620001d3565b600181811c90821680620001fe57607f821691505b602082108114156200022057634e487b7160e01b600052602260045260246000fd5b50919050565b611e1180620002366000396000f3fe6080604052600436106101f95760003560e01c80636352211e1161010d5780639007bd72116100a0578063b88d4fde1161006f578063b88d4fde146105a3578063c6275255146105c3578063c87b56dd146105e3578063e985e9c514610603578063f2fde38b1461064c57600080fd5b80639007bd721461053857806395d89b4114610558578063a22cb4651461056d578063a945bf801461058d57600080fd5b80637aeb7242116100dc5780637aeb7242146104b85780637af3a1af146104e55780638bec1c6d146105055780638da5cb5b1461051a57600080fd5b80636352211e1461043357806364f640761461045357806370a0823114610483578063715018a6146104a357600080fd5b80632db115441161019057806342842e0e1161015f57806342842e0e1461038d578063438b6300146103ad57806351830227146103da57806355f804b3146103f95780635c975abb1461041957600080fd5b80632db115441461032f57806332cb6b0c1461034257806333bc1c5c146103585780633ccfd60b1461037857600080fd5b8063095ea7b3116101cc578063095ea7b3146102b057806316c38b3c146102d257806318160ddd146102f257806323b872dd1461030f57600080fd5b806301ffc9a7146101fe57806304ccbbf91461023357806306fdde0314610256578063081812fc14610278575b600080fd5b34801561020a57600080fd5b5061021e610219366004611a1f565b61066c565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248600581565b60405190815260200161022a565b34801561026257600080fd5b5061026b6106be565b60405161022a9190611c62565b34801561028457600080fd5b50610298610293366004611aa2565b610750565b6040516001600160a01b03909116815260200161022a565b3480156102bc57600080fd5b506102d06102cb3660046119da565b610794565b005b3480156102de57600080fd5b506102d06102ed366004611a04565b610834565b3480156102fe57600080fd5b506002546001540360001901610248565b34801561031b57600080fd5b506102d061032a3660046118f8565b61084f565b6102d061033d366004611aa2565b6109e0565b34801561034e57600080fd5b5061024861115c81565b34801561036457600080fd5b50600c5461021e9062010000900460ff1681565b34801561038457600080fd5b506102d0610c53565b34801561039957600080fd5b506102d06103a83660046118f8565b610d46565b3480156103b957600080fd5b506103cd6103c83660046118aa565b610d66565b60405161022a9190611c1e565b3480156103e657600080fd5b50600c5461021e90610100900460ff1681565b34801561040557600080fd5b506102d0610414366004611a59565b610e47565b34801561042557600080fd5b50600c5461021e9060ff1681565b34801561043f57600080fd5b5061029861044e366004611aa2565b610e66565b34801561045f57600080fd5b5061021e61046e3660046118aa565b600d6020526000908152604090205460ff1681565b34801561048f57600080fd5b5061024861049e3660046118aa565b610e71565b3480156104af57600080fd5b506102d0610ec0565b3480156104c457600080fd5b506102486104d33660046118aa565b600e6020526000908152604090205481565b3480156104f157600080fd5b506102d0610500366004611a04565b610ed4565b34801561051157600080fd5b50610248600a81565b34801561052657600080fd5b506000546001600160a01b0316610298565b34801561054457600080fd5b506102d0610553366004611abb565b610ef8565b34801561056457600080fd5b5061026b610ffa565b34801561057957600080fd5b506102d06105883660046119b0565b611009565b34801561059957600080fd5b50610248600a5481565b3480156105af57600080fd5b506102d06105be366004611934565b61109f565b3480156105cf57600080fd5b506102d06105de366004611aa2565b6110e3565b3480156105ef57600080fd5b5061026b6105fe366004611aa2565b6110f0565b34801561060f57600080fd5b5061021e61061e3660046118c5565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561065857600080fd5b506102d06106673660046118aa565b611238565b60006301ffc9a760e01b6001600160e01b03198316148061069d57506380ac58cd60e01b6001600160e01b03198316145b806106b85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546106cd90611d03565b80601f01602080910402602001604051908101604052809291908181526020018280546106f990611d03565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b600061075b826112b1565b610778576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061079f82610e66565b9050336001600160a01b038216146107d8576107bb813361061e565b6107d8576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61083c6112e6565b600c805460ff1916911515919091179055565b600061085a82611340565b9050836001600160a01b0316816001600160a01b03161461088d5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108da576108bd863361061e565b6108da57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661090157604051633a954ecd60e21b815260040160405180910390fd5b801561090c57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661099757600184016000818152600560205260409020546109955760015481146109955760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600c54819060ff1615610a2f5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b60025460015461115c9183910360001901610a4a9190611c75565b1115610a905760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b6044820152606401610a26565b323314610ad55760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b6044820152606401610a26565b600c5462010000900460ff16610b245760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b6044820152606401610a26565b6005821115610b695760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b6044820152606401610a26565b600a8054336000908152600e60205260409020549091610b898583611c75565b1115610bcd5760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b6044820152606401610a26565b34610bd88584611ca1565b1115610c265760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e7400000000000000006044820152606401610a26565b610c308482611c75565b336000818152600e6020526040902091909155610c4d90856113b0565b50505050565b610c5b6112e6565b60026009541415610cae5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a26565b6002600955604051600090339047908381818185875af1925050503d8060008114610cf5576040519150601f19603f3d011682016040523d82523d6000602084013e610cfa565b606091505b5050905080610d3e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a26565b506001600955565b610d618383836040518060200160405280600081525061109f565b505050565b60606000610d7383610e71565b905060008167ffffffffffffffff811115610d9057610d90611daf565b604051908082528060200260200182016040528015610db9578160200160208202803683370190505b509050600160005b8381108015610dd2575061115c8211155b15610e3d576000610de283610e66565b9050866001600160a01b0316816001600160a01b03161415610e2a5782848381518110610e1157610e11611d99565b602090810291909101015281610e2681611d3e565b9250505b82610e3481611d3e565b93505050610dc1565b5090949350505050565b610e4f6112e6565b8051610e6290600b906020840190611774565b5050565b60006106b882611340565b60006001600160a01b038216610e9a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610ec86112e6565b610ed260006113ca565b565b610edc6112e6565b600c8054911515620100000262ff000019909216919091179055565b610f006112e6565b600c54829060ff1615610f4a5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b6044820152606401610a26565b60025460015461115c9183910360001901610f659190611c75565b1115610fab5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b6044820152606401610a26565b323314610ff05760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b6044820152606401610a26565b610d6182846113b0565b6060600480546106cd90611d03565b6001600160a01b0382163314156110335760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110aa84848461084f565b6001600160a01b0383163b15610c4d576110c68484848461141a565b610c4d576040516368d2bf6b60e11b815260040160405180910390fd5b6110eb6112e6565b600a55565b60606110fb826112b1565b61115f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a26565b600c54610100900460ff16156111a157600b61117a83611512565b60405160200161118b929190611b26565b6040516020818303038152906040529050919050565b600b80546111ae90611d03565b80601f01602080910402602001604051908101604052809291908181526020018280546111da90611d03565b80156112275780601f106111fc57610100808354040283529160200191611227565b820191906000526020600020905b81548152906001019060200180831161120a57829003601f168201915b50505050509050919050565b919050565b6112406112e6565b6001600160a01b0381166112a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a26565b6112ae816113ca565b50565b6000816001111580156112c5575060015482105b80156106b8575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610ed25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a26565b600081806001116113975760015481101561139757600081815260056020526040902054600160e01b8116611395575b8061138e575060001901600081815260056020526040902054611370565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610e62828260405180602001604052806000815250611610565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061144f903390899088908890600401611be1565b602060405180830381600087803b15801561146957600080fd5b505af1925050508015611499575060408051601f3d908101601f1916820190925261149691810190611a3c565b60015b6114f4573d8080156114c7576040519150601f19603f3d011682016040523d82523d6000602084013e6114cc565b606091505b5080516114ec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816115365750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611560578061154a81611d3e565b91506115599050600a83611c8d565b915061153a565b60008167ffffffffffffffff81111561157b5761157b611daf565b6040519080825280601f01601f1916602001820160405280156115a5576020820181803683370190505b5090505b841561150a576115ba600183611cc0565b91506115c7600a86611d59565b6115d2906030611c75565b60f81b8183815181106115e7576115e7611d99565b60200101906001600160f81b031916908160001a905350611609600a86611c8d565b94506115a9565b61161a838361167d565b6001600160a01b0383163b15610d61576001548281035b611644600086838060010194508661141a565b611661576040516368d2bf6b60e11b815260040160405180910390fd5b81811061163157816001541461167657600080fd5b5050505050565b6001548161169e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461174d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611715565b508161176b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b82805461178090611d03565b90600052602060002090601f0160209004810192826117a257600085556117e8565b82601f106117bb57805160ff19168380011785556117e8565b828001600101855582156117e8579182015b828111156117e85782518255916020019190600101906117cd565b506117f49291506117f8565b5090565b5b808211156117f457600081556001016117f9565b600067ffffffffffffffff8084111561182857611828611daf565b604051601f8501601f19908116603f0116810190828211818310171561185057611850611daf565b8160405280935085815286868601111561186957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461123357600080fd5b8035801515811461123357600080fd5b6000602082840312156118bc57600080fd5b61138e82611883565b600080604083850312156118d857600080fd5b6118e183611883565b91506118ef60208401611883565b90509250929050565b60008060006060848603121561190d57600080fd5b61191684611883565b925061192460208501611883565b9150604084013590509250925092565b6000806000806080858703121561194a57600080fd5b61195385611883565b935061196160208601611883565b925060408501359150606085013567ffffffffffffffff81111561198457600080fd5b8501601f8101871361199557600080fd5b6119a48782356020840161180d565b91505092959194509250565b600080604083850312156119c357600080fd5b6119cc83611883565b91506118ef6020840161189a565b600080604083850312156119ed57600080fd5b6119f683611883565b946020939093013593505050565b600060208284031215611a1657600080fd5b61138e8261189a565b600060208284031215611a3157600080fd5b813561138e81611dc5565b600060208284031215611a4e57600080fd5b815161138e81611dc5565b600060208284031215611a6b57600080fd5b813567ffffffffffffffff811115611a8257600080fd5b8201601f81018413611a9357600080fd5b61150a8482356020840161180d565b600060208284031215611ab457600080fd5b5035919050565b60008060408385031215611ace57600080fd5b823591506118ef60208401611883565b60008151808452611af6816020860160208601611cd7565b601f01601f19169290920160200192915050565b60008151611b1c818560208601611cd7565b9290920192915050565b600080845481600182811c915080831680611b4257607f831692505b6020808410821415611b6257634e487b7160e01b86526022600452602486fd5b818015611b765760018114611b8757611bb4565b60ff19861689528489019650611bb4565b60008b81526020902060005b86811015611bac5781548b820152908501908301611b93565b505084890196505b505050505050611bd8611bc78286611b0a565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1490830184611ade565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c5657835183529284019291840191600101611c3a565b50909695505050505050565b60208152600061138e6020830184611ade565b60008219821115611c8857611c88611d6d565b500190565b600082611c9c57611c9c611d83565b500490565b6000816000190483118215151615611cbb57611cbb611d6d565b500290565b600082821015611cd257611cd2611d6d565b500390565b60005b83811015611cf2578181015183820152602001611cda565b83811115610c4d5750506000910152565b600181811c90821680611d1757607f821691505b60208210811415611d3857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d5257611d52611d6d565b5060010190565b600082611d6857611d68611d83565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112ae57600080fdfea2646970667358221220123c9128417bfb4fffe8d142d2c9437523aeab1b91ef04e50e5ebbb4919415eb64736f6c63430008070033697066733a2f2f516d544d6f4546576352684e563741634152654b776d57454c414d503373673150486e6e5a6933754336635171762f
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80636352211e1161010d5780639007bd72116100a0578063b88d4fde1161006f578063b88d4fde146105a3578063c6275255146105c3578063c87b56dd146105e3578063e985e9c514610603578063f2fde38b1461064c57600080fd5b80639007bd721461053857806395d89b4114610558578063a22cb4651461056d578063a945bf801461058d57600080fd5b80637aeb7242116100dc5780637aeb7242146104b85780637af3a1af146104e55780638bec1c6d146105055780638da5cb5b1461051a57600080fd5b80636352211e1461043357806364f640761461045357806370a0823114610483578063715018a6146104a357600080fd5b80632db115441161019057806342842e0e1161015f57806342842e0e1461038d578063438b6300146103ad57806351830227146103da57806355f804b3146103f95780635c975abb1461041957600080fd5b80632db115441461032f57806332cb6b0c1461034257806333bc1c5c146103585780633ccfd60b1461037857600080fd5b8063095ea7b3116101cc578063095ea7b3146102b057806316c38b3c146102d257806318160ddd146102f257806323b872dd1461030f57600080fd5b806301ffc9a7146101fe57806304ccbbf91461023357806306fdde0314610256578063081812fc14610278575b600080fd5b34801561020a57600080fd5b5061021e610219366004611a1f565b61066c565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248600581565b60405190815260200161022a565b34801561026257600080fd5b5061026b6106be565b60405161022a9190611c62565b34801561028457600080fd5b50610298610293366004611aa2565b610750565b6040516001600160a01b03909116815260200161022a565b3480156102bc57600080fd5b506102d06102cb3660046119da565b610794565b005b3480156102de57600080fd5b506102d06102ed366004611a04565b610834565b3480156102fe57600080fd5b506002546001540360001901610248565b34801561031b57600080fd5b506102d061032a3660046118f8565b61084f565b6102d061033d366004611aa2565b6109e0565b34801561034e57600080fd5b5061024861115c81565b34801561036457600080fd5b50600c5461021e9062010000900460ff1681565b34801561038457600080fd5b506102d0610c53565b34801561039957600080fd5b506102d06103a83660046118f8565b610d46565b3480156103b957600080fd5b506103cd6103c83660046118aa565b610d66565b60405161022a9190611c1e565b3480156103e657600080fd5b50600c5461021e90610100900460ff1681565b34801561040557600080fd5b506102d0610414366004611a59565b610e47565b34801561042557600080fd5b50600c5461021e9060ff1681565b34801561043f57600080fd5b5061029861044e366004611aa2565b610e66565b34801561045f57600080fd5b5061021e61046e3660046118aa565b600d6020526000908152604090205460ff1681565b34801561048f57600080fd5b5061024861049e3660046118aa565b610e71565b3480156104af57600080fd5b506102d0610ec0565b3480156104c457600080fd5b506102486104d33660046118aa565b600e6020526000908152604090205481565b3480156104f157600080fd5b506102d0610500366004611a04565b610ed4565b34801561051157600080fd5b50610248600a81565b34801561052657600080fd5b506000546001600160a01b0316610298565b34801561054457600080fd5b506102d0610553366004611abb565b610ef8565b34801561056457600080fd5b5061026b610ffa565b34801561057957600080fd5b506102d06105883660046119b0565b611009565b34801561059957600080fd5b50610248600a5481565b3480156105af57600080fd5b506102d06105be366004611934565b61109f565b3480156105cf57600080fd5b506102d06105de366004611aa2565b6110e3565b3480156105ef57600080fd5b5061026b6105fe366004611aa2565b6110f0565b34801561060f57600080fd5b5061021e61061e3660046118c5565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561065857600080fd5b506102d06106673660046118aa565b611238565b60006301ffc9a760e01b6001600160e01b03198316148061069d57506380ac58cd60e01b6001600160e01b03198316145b806106b85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546106cd90611d03565b80601f01602080910402602001604051908101604052809291908181526020018280546106f990611d03565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b600061075b826112b1565b610778576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061079f82610e66565b9050336001600160a01b038216146107d8576107bb813361061e565b6107d8576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61083c6112e6565b600c805460ff1916911515919091179055565b600061085a82611340565b9050836001600160a01b0316816001600160a01b03161461088d5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108da576108bd863361061e565b6108da57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661090157604051633a954ecd60e21b815260040160405180910390fd5b801561090c57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661099757600184016000818152600560205260409020546109955760015481146109955760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600c54819060ff1615610a2f5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b60025460015461115c9183910360001901610a4a9190611c75565b1115610a905760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b6044820152606401610a26565b323314610ad55760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b6044820152606401610a26565b600c5462010000900460ff16610b245760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b6044820152606401610a26565b6005821115610b695760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b6044820152606401610a26565b600a8054336000908152600e60205260409020549091610b898583611c75565b1115610bcd5760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b6044820152606401610a26565b34610bd88584611ca1565b1115610c265760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e7400000000000000006044820152606401610a26565b610c308482611c75565b336000818152600e6020526040902091909155610c4d90856113b0565b50505050565b610c5b6112e6565b60026009541415610cae5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a26565b6002600955604051600090339047908381818185875af1925050503d8060008114610cf5576040519150601f19603f3d011682016040523d82523d6000602084013e610cfa565b606091505b5050905080610d3e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a26565b506001600955565b610d618383836040518060200160405280600081525061109f565b505050565b60606000610d7383610e71565b905060008167ffffffffffffffff811115610d9057610d90611daf565b604051908082528060200260200182016040528015610db9578160200160208202803683370190505b509050600160005b8381108015610dd2575061115c8211155b15610e3d576000610de283610e66565b9050866001600160a01b0316816001600160a01b03161415610e2a5782848381518110610e1157610e11611d99565b602090810291909101015281610e2681611d3e565b9250505b82610e3481611d3e565b93505050610dc1565b5090949350505050565b610e4f6112e6565b8051610e6290600b906020840190611774565b5050565b60006106b882611340565b60006001600160a01b038216610e9a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610ec86112e6565b610ed260006113ca565b565b610edc6112e6565b600c8054911515620100000262ff000019909216919091179055565b610f006112e6565b600c54829060ff1615610f4a5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b6044820152606401610a26565b60025460015461115c9183910360001901610f659190611c75565b1115610fab5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b6044820152606401610a26565b323314610ff05760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b6044820152606401610a26565b610d6182846113b0565b6060600480546106cd90611d03565b6001600160a01b0382163314156110335760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110aa84848461084f565b6001600160a01b0383163b15610c4d576110c68484848461141a565b610c4d576040516368d2bf6b60e11b815260040160405180910390fd5b6110eb6112e6565b600a55565b60606110fb826112b1565b61115f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a26565b600c54610100900460ff16156111a157600b61117a83611512565b60405160200161118b929190611b26565b6040516020818303038152906040529050919050565b600b80546111ae90611d03565b80601f01602080910402602001604051908101604052809291908181526020018280546111da90611d03565b80156112275780601f106111fc57610100808354040283529160200191611227565b820191906000526020600020905b81548152906001019060200180831161120a57829003601f168201915b50505050509050919050565b919050565b6112406112e6565b6001600160a01b0381166112a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a26565b6112ae816113ca565b50565b6000816001111580156112c5575060015482105b80156106b8575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610ed25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a26565b600081806001116113975760015481101561139757600081815260056020526040902054600160e01b8116611395575b8061138e575060001901600081815260056020526040902054611370565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610e62828260405180602001604052806000815250611610565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061144f903390899088908890600401611be1565b602060405180830381600087803b15801561146957600080fd5b505af1925050508015611499575060408051601f3d908101601f1916820190925261149691810190611a3c565b60015b6114f4573d8080156114c7576040519150601f19603f3d011682016040523d82523d6000602084013e6114cc565b606091505b5080516114ec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816115365750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611560578061154a81611d3e565b91506115599050600a83611c8d565b915061153a565b60008167ffffffffffffffff81111561157b5761157b611daf565b6040519080825280601f01601f1916602001820160405280156115a5576020820181803683370190505b5090505b841561150a576115ba600183611cc0565b91506115c7600a86611d59565b6115d2906030611c75565b60f81b8183815181106115e7576115e7611d99565b60200101906001600160f81b031916908160001a905350611609600a86611c8d565b94506115a9565b61161a838361167d565b6001600160a01b0383163b15610d61576001548281035b611644600086838060010194508661141a565b611661576040516368d2bf6b60e11b815260040160405180910390fd5b81811061163157816001541461167657600080fd5b5050505050565b6001548161169e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461174d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611715565b508161176b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b82805461178090611d03565b90600052602060002090601f0160209004810192826117a257600085556117e8565b82601f106117bb57805160ff19168380011785556117e8565b828001600101855582156117e8579182015b828111156117e85782518255916020019190600101906117cd565b506117f49291506117f8565b5090565b5b808211156117f457600081556001016117f9565b600067ffffffffffffffff8084111561182857611828611daf565b604051601f8501601f19908116603f0116810190828211818310171561185057611850611daf565b8160405280935085815286868601111561186957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461123357600080fd5b8035801515811461123357600080fd5b6000602082840312156118bc57600080fd5b61138e82611883565b600080604083850312156118d857600080fd5b6118e183611883565b91506118ef60208401611883565b90509250929050565b60008060006060848603121561190d57600080fd5b61191684611883565b925061192460208501611883565b9150604084013590509250925092565b6000806000806080858703121561194a57600080fd5b61195385611883565b935061196160208601611883565b925060408501359150606085013567ffffffffffffffff81111561198457600080fd5b8501601f8101871361199557600080fd5b6119a48782356020840161180d565b91505092959194509250565b600080604083850312156119c357600080fd5b6119cc83611883565b91506118ef6020840161189a565b600080604083850312156119ed57600080fd5b6119f683611883565b946020939093013593505050565b600060208284031215611a1657600080fd5b61138e8261189a565b600060208284031215611a3157600080fd5b813561138e81611dc5565b600060208284031215611a4e57600080fd5b815161138e81611dc5565b600060208284031215611a6b57600080fd5b813567ffffffffffffffff811115611a8257600080fd5b8201601f81018413611a9357600080fd5b61150a8482356020840161180d565b600060208284031215611ab457600080fd5b5035919050565b60008060408385031215611ace57600080fd5b823591506118ef60208401611883565b60008151808452611af6816020860160208601611cd7565b601f01601f19169290920160200192915050565b60008151611b1c818560208601611cd7565b9290920192915050565b600080845481600182811c915080831680611b4257607f831692505b6020808410821415611b6257634e487b7160e01b86526022600452602486fd5b818015611b765760018114611b8757611bb4565b60ff19861689528489019650611bb4565b60008b81526020902060005b86811015611bac5781548b820152908501908301611b93565b505084890196505b505050505050611bd8611bc78286611b0a565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1490830184611ade565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c5657835183529284019291840191600101611c3a565b50909695505050505050565b60208152600061138e6020830184611ade565b60008219821115611c8857611c88611d6d565b500190565b600082611c9c57611c9c611d83565b500490565b6000816000190483118215151615611cbb57611cbb611d6d565b500290565b600082821015611cd257611cd2611d6d565b500390565b60005b83811015611cf2578181015183820152602001611cda565b83811115610c4d5750506000910152565b600181811c90821680611d1757607f821691505b60208210811415611d3857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d5257611d52611d6d565b5060010190565b600082611d6857611d68611d83565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112ae57600080fdfea2646970667358221220123c9128417bfb4fffe8d142d2c9437523aeab1b91ef04e50e5ebbb4919415eb64736f6c63430008070033
Deployed Bytecode Sourcemap
68335:3818:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35837:639;;;;;;;;;;-1:-1:-1;35837:639:0;;;;;:::i;:::-;;:::i;:::-;;;8148:14:1;;8141:22;8123:41;;8111:2;8096:18;35837:639:0;;;;;;;;68502:36;;;;;;;;;;;;68537:1;68502:36;;;;;12875:25:1;;;12863:2;12848:18;68502:36:0;12729:177:1;36739:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43222:218::-;;;;;;;;;;-1:-1:-1;43222:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6809:32:1;;;6791:51;;6779:2;6764:18;43222:218:0;6645:203:1;42663:400:0;;;;;;;;;;-1:-1:-1;42663:400:0;;;;;:::i;:::-;;:::i;:::-;;71326:83;;;;;;;;;;-1:-1:-1;71326:83:0;;;;;:::i;:::-;;:::i;32490:323::-;;;;;;;;;;-1:-1:-1;32764:12:0;;69093:1;32748:13;:28;-1:-1:-1;;32748:46:0;32490:323;;46929:2817;;;;;;;;;;-1:-1:-1;46929:2817:0;;;;;:::i;:::-;;:::i;69122:627::-;;;;;;:::i;:::-;;:::i;68402:41::-;;;;;;;;;;;;68439:4;68402:41;;68772:29;;;;;;;;;;-1:-1:-1;68772:29:0;;;;;;;;;;;71529:186;;;;;;;;;;;;;:::i;49842:185::-;;;;;;;;;;-1:-1:-1;49842:185:0;;;;;:::i;:::-;;:::i;69770:689::-;;;;;;;;;;-1:-1:-1;69770:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;68736:27::-;;;;;;;;;;-1:-1:-1;68736:27:0;;;;;;;;;;;71205:102;;;;;;;;;;-1:-1:-1;71205:102:0;;;;;:::i;:::-;;:::i;68703:26::-;;;;;;;;;;-1:-1:-1;68703:26:0;;;;;;;;38132:152;;;;;;;;;;-1:-1:-1;38132:152:0;;;;;:::i;:::-;;:::i;68818:46::-;;;;;;;;;;-1:-1:-1;68818:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;33674:233;;;;;;;;;;-1:-1:-1;33674:233:0;;;;;:::i;:::-;;:::i;16585:103::-;;;;;;;;;;;;;:::i;68871:47::-;;;;;;;;;;-1:-1:-1;68871:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;71419:94;;;;;;;;;;-1:-1:-1;71419:94:0;;;;;:::i;:::-;;:::i;68545:41::-;;;;;;;;;;;;68584:2;68545:41;;15937:87;;;;;;;;;;-1:-1:-1;15983:7:0;16010:6;-1:-1:-1;;;;;16010:6:0;15937:87;;71729:146;;;;;;;;;;-1:-1:-1;71729:146:0;;;;;:::i;:::-;;:::i;36915:104::-;;;;;;;;;;;;;:::i;43780:308::-;;;;;;;;;;-1:-1:-1;43780:308:0;;;;;:::i;:::-;;:::i;68452:41::-;;;;;;;;;;;;;;;;50625:399;;;;;;;;;;-1:-1:-1;50625:399:0;;;;;:::i;:::-;;:::i;71089:108::-;;;;;;;;;;-1:-1:-1;71089:108:0;;;;;:::i;:::-;;:::i;70467:610::-;;;;;;;;;;-1:-1:-1;70467:610:0;;;;;:::i;:::-;;:::i;44245:164::-;;;;;;;;;;-1:-1:-1;44245:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44366:25:0;;;44342:4;44366:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44245:164;16843:201;;;;;;;;;;-1:-1:-1;16843:201:0;;;;;:::i;:::-;;:::i;35837:639::-;35922:4;-1:-1:-1;;;;;;;;;36246:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36323:25:0;;;36246:102;:179;;;-1:-1:-1;;;;;;;;;;36400:25:0;;;36246:179;36226:199;35837:639;-1:-1:-1;;35837:639:0:o;36739:100::-;36793:13;36826:5;36819:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36739:100;:::o;43222:218::-;43298:7;43323:16;43331:7;43323;:16::i;:::-;43318:64;;43348:34;;-1:-1:-1;;;43348:34:0;;;;;;;;;;;43318:64;-1:-1:-1;43402:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43402:30:0;;43222:218::o;42663:400::-;42744:13;42760:16;42768:7;42760;:16::i;:::-;42744:32;-1:-1:-1;66520:10:0;-1:-1:-1;;;;;42793:28:0;;;42789:175;;42841:44;42858:5;66520:10;44245:164;:::i;42841:44::-;42836:128;;42913:35;;-1:-1:-1;;;42913:35:0;;;;;;;;;;;42836:128;42976:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;42976:35:0;-1:-1:-1;;;;;42976:35:0;;;;;;;;;43027:28;;42976:24;;43027:28;;;;;;;42733:330;42663:400;;:::o;71326:83::-;15823:13;:11;:13::i;:::-;71386:6:::1;:15:::0;;-1:-1:-1;;71386:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71326:83::o;46929:2817::-;47063:27;47093;47112:7;47093:18;:27::i;:::-;47063:57;;47178:4;-1:-1:-1;;;;;47137:45:0;47153:19;-1:-1:-1;;;;;47137:45:0;;47133:86;;47191:28;;-1:-1:-1;;;47191:28:0;;;;;;;;;;;47133:86;47233:27;46043:24;;;:15;:24;;;;;46265:26;;66520:10;45668:30;;;-1:-1:-1;;;;;45361:28:0;;45646:20;;;45643:56;47419:180;;47512:43;47529:4;66520:10;44245:164;:::i;47512:43::-;47507:92;;47564:35;;-1:-1:-1;;;47564:35:0;;;;;;;;;;;47507:92;-1:-1:-1;;;;;47616:16:0;;47612:52;;47641:23;;-1:-1:-1;;;47641:23:0;;;;;;;;;;;47612:52;47813:15;47810:160;;;47953:1;47932:19;47925:30;47810:160;-1:-1:-1;;;;;48350:24:0;;;;;;;:18;:24;;;;;;48348:26;;-1:-1:-1;;48348:26:0;;;48419:22;;;;;;;;;48417:24;;-1:-1:-1;48417:24:0;;;41521:11;41496:23;41492:41;41479:63;-1:-1:-1;;;41479:63:0;48712:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;49007:47:0;;49003:627;;49112:1;49102:11;;49080:19;49235:30;;;:17;:30;;;;;;49231:384;;49373:13;;49358:11;:28;49354:242;;49520:30;;;;:17;:30;;;;;:52;;;49354:242;49061:569;49003:627;49677:7;49673:2;-1:-1:-1;;;;;49658:27:0;49667:4;-1:-1:-1;;;;;49658:27:0;;;;;;;;;;;47052:2694;;;46929:2817;;;:::o;69122:627::-;71952:6;;69192:8;;71952:6;;71951:7;71943:38;;;;-1:-1:-1;;;71943:38:0;;11874:2:1;71943:38:0;;;11856:21:1;11913:2;11893:18;;;11886:30;-1:-1:-1;;;11932:18:1;;;11925:48;11990:18;;71943:38:0;;;;;;;;;32764:12;;69093:1;32748:13;68439:4;;72016:8;;32748:28;-1:-1:-1;;32748:46:0;72000:24;;;;:::i;:::-;:38;;71992:72;;;;-1:-1:-1;;;71992:72:0;;12581:2:1;71992:72:0;;;12563:21:1;12620:2;12600:18;;;12593:30;-1:-1:-1;;;12639:18:1;;;12632:51;12700:18;;71992:72:0;12379:345:1;71992:72:0;72083:9;72096:10;72083:23;72075:55;;;;-1:-1:-1;;;72075:55:0;;9008:2:1;72075:55:0;;;8990:21:1;9047:2;9027:18;;;9020:30;-1:-1:-1;;;9066:18:1;;;9059:49;9125:18;;72075:55:0;8806:343:1;72075:55:0;69221:10:::1;::::0;;;::::1;;;69213:43;;;::::0;-1:-1:-1;;;69213:43:0;;10481:2:1;69213:43:0::1;::::0;::::1;10463:21:1::0;10520:2;10500:18;;;10493:30;-1:-1:-1;;;10539:18:1;;;10532:50;10599:18;;69213:43:0::1;10279:344:1::0;69213:43:0::1;68537:1;69275:8;:20;;69267:50;;;::::0;-1:-1:-1;;;69267:50:0;;10830:2:1;69267:50:0::1;::::0;::::1;10812:21:1::0;10869:2;10849:18;;;10842:30;-1:-1:-1;;;10888:18:1;;;10881:47;10945:18;;69267:50:0::1;10628:341:1::0;69267:50:0::1;69346:11;::::0;;69401:10:::1;69330:13;69388:24:::0;;;:12:::1;:24;::::0;;;;;69346:11;;69449:20:::1;69461:8:::0;69388:24;69449:20:::1;:::i;:::-;:36;;69441:68;;;::::0;-1:-1:-1;;;69441:68:0;;9356:2:1;69441:68:0::1;::::0;::::1;9338:21:1::0;9395:2;9375:18;;;9368:30;-1:-1:-1;;;9414:18:1;;;9407:49;9473:18;;69441:68:0::1;9154:343:1::0;69441:68:0::1;69574:9;69553:16;69561:8:::0;69553:5;:16:::1;:::i;:::-;69552:31;;69530:105;;;::::0;-1:-1:-1;;;69530:105:0;;11521:2:1;69530:105:0::1;::::0;::::1;11503:21:1::0;11560:2;11540:18;;;11533:30;11599:26;11579:18;;;11572:54;11643:18;;69530:105:0::1;11319:348:1::0;69530:105:0::1;69676:20;69688:8:::0;69676:9;:20:::1;:::i;:::-;69661:10;69648:24;::::0;;;:12:::1;:24;::::0;;;;:49;;;;69710:31:::1;::::0;69732:8;69710:9:::1;:31::i;:::-;69202:547;;69122:627:::0;;:::o;71529:186::-;15823:13;:11;:13::i;:::-;12862:1:::1;13460:7;;:19;;13452:63;;;::::0;-1:-1:-1;;;13452:63:0;;12221:2:1;13452:63:0::1;::::0;::::1;12203:21:1::0;12260:2;12240:18;;;12233:30;12299:33;12279:18;;;12272:61;12350:18;;13452:63:0::1;12019:355:1::0;13452:63:0::1;12862:1;13593:7;:18:::0;71611:49:::2;::::0;71593:12:::2;::::0;71611:10:::2;::::0;71634:21:::2;::::0;71593:12;71611:49;71593:12;71611:49;71634:21;71611:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71592:68;;;71679:7;71671:36;;;::::0;-1:-1:-1;;;71671:36:0;;11176:2:1;71671:36:0::2;::::0;::::2;11158:21:1::0;11215:2;11195:18;;;11188:30;-1:-1:-1;;;11234:18:1;;;11227:46;11290:18;;71671:36:0::2;10974:340:1::0;71671:36:0::2;-1:-1:-1::0;12818:1:0::1;13772:7;:22:::0;71529:186::o;49842:185::-;49980:39;49997:4;50003:2;50007:7;49980:39;;;;;;;;;;;;:16;:39::i;:::-;49842:185;;;:::o;69770:689::-;69830:16;69864:23;69890:17;69900:6;69890:9;:17::i;:::-;69864:43;;69918:30;69965:15;69951:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69951:30:0;-1:-1:-1;69918:63:0;-1:-1:-1;70017:1:0;69992:22;70069:350;70094:15;70076;:33;:65;;;;;68439:4;70113:14;:28;;70076:65;70069:350;;;70158:25;70186:23;70194:14;70186:7;:23::i;:::-;70158:51;;70251:6;-1:-1:-1;;;;;70230:27:0;:17;-1:-1:-1;;;;;70230:27:0;;70226:153;;;70311:14;70278:13;70292:15;70278:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;70346:17;;;;:::i;:::-;;;;70226:153;70391:16;;;;:::i;:::-;;;;70143:276;70069:350;;;-1:-1:-1;70438:13:0;;69770:689;-1:-1:-1;;;;69770:689:0:o;71205:102::-;15823:13;:11;:13::i;:::-;71277:22;;::::1;::::0;:11:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;71205:102:::0;:::o;38132:152::-;38204:7;38247:27;38266:7;38247:18;:27::i;33674:233::-;33746:7;-1:-1:-1;;;;;33770:19:0;;33766:60;;33798:28;;-1:-1:-1;;;33798:28:0;;;;;;;;;;;33766:60;-1:-1:-1;;;;;;33844:25:0;;;;;:18;:25;;;;;;27833:13;33844:55;;33674:233::o;16585:103::-;15823:13;:11;:13::i;:::-;16650:30:::1;16677:1;16650:18;:30::i;:::-;16585:103::o:0;71419:94::-;15823:13;:11;:13::i;:::-;71486:10:::1;:19:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;71486:19:0;;::::1;::::0;;;::::1;::::0;;71419:94::o;71729:146::-;15823:13;:11;:13::i;:::-;71952:6:::1;::::0;71817:8;;71952:6:::1;;71951:7;71943:38;;;::::0;-1:-1:-1;;;71943:38:0;;11874:2:1;71943:38:0::1;::::0;::::1;11856:21:1::0;11913:2;11893:18;;;11886:30;-1:-1:-1;;;11932:18:1;;;11925:48;11990:18;;71943:38:0::1;11672:342:1::0;71943:38:0::1;32764:12:::0;;69093:1;32748:13;68439:4:::1;::::0;72016:8;;32748:28;-1:-1:-1;;32748:46:0;72000:24:::1;;;;:::i;:::-;:38;;71992:72;;;::::0;-1:-1:-1;;;71992:72:0;;12581:2:1;71992:72:0::1;::::0;::::1;12563:21:1::0;12620:2;12600:18;;;12593:30;-1:-1:-1;;;12639:18:1;;;12632:51;12700:18;;71992:72:0::1;12379:345:1::0;71992:72:0::1;72083:9;72096:10;72083:23;72075:55;;;::::0;-1:-1:-1;;;72075:55:0;;9008:2:1;72075:55:0::1;::::0;::::1;8990:21:1::0;9047:2;9027:18;;;9020:30;-1:-1:-1;;;9066:18:1;;;9059:49;9125:18;;72075:55:0::1;8806:343:1::0;72075:55:0::1;71838:29:::2;71848:8;71858;71838:9;:29::i;36915:104::-:0;36971:13;37004:7;36997:14;;;;;:::i;43780:308::-;-1:-1:-1;;;;;43879:31:0;;66520:10;43879:31;43875:61;;;43919:17;;-1:-1:-1;;;43919:17:0;;;;;;;;;;;43875:61;66520:10;43949:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;43949:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;43949:60:0;;;;;;;;;;44025:55;;8123:41:1;;;43949:49:0;;66520:10;44025:55;;8096:18:1;44025:55:0;;;;;;;43780:308;;:::o;50625:399::-;50792:31;50805:4;50811:2;50815:7;50792:12;:31::i;:::-;-1:-1:-1;;;;;50838:14:0;;;:19;50834:183;;50877:56;50908:4;50914:2;50918:7;50927:5;50877:30;:56::i;:::-;50872:145;;50961:40;;-1:-1:-1;;;50961:40:0;;;;;;;;;;;71089:108;15823:13;:11;:13::i;:::-;71163:11:::1;:26:::0;71089:108::o;70467:610::-;70533:13;70798:17;70806:8;70798:7;:17::i;:::-;70790:77;;;;-1:-1:-1;;;70790:77:0;;10065:2:1;70790:77:0;;;10047:21:1;10104:2;10084:18;;;10077:30;10143:34;10123:18;;;10116:62;-1:-1:-1;;;10194:18:1;;;10187:45;10249:19;;70790:77:0;9863:411:1;70790:77:0;70892:8;;;;;;;70888:182;;;70948:11;70961:26;70978:8;70961:16;:26::i;:::-;70931:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70917:81;;70467:610;;;:::o;70888:182::-;71047:11;71040:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70467:610;;;:::o;70888:182::-;70467:610;;;:::o;16843:201::-;15823:13;:11;:13::i;:::-;-1:-1:-1;;;;;16932:22:0;::::1;16924:73;;;::::0;-1:-1:-1;;;16924:73:0;;8601:2:1;16924:73:0::1;::::0;::::1;8583:21:1::0;8640:2;8620:18;;;8613:30;8679:34;8659:18;;;8652:62;-1:-1:-1;;;8730:18:1;;;8723:36;8776:19;;16924:73:0::1;8399:402:1::0;16924:73:0::1;17008:28;17027:8;17008:18;:28::i;:::-;16843:201:::0;:::o;44667:282::-;44732:4;44788:7;69093:1;44769:26;;:66;;;;;44822:13;;44812:7;:23;44769:66;:153;;;;-1:-1:-1;;44873:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44873:44:0;:49;;44667:282::o;16102:132::-;15983:7;16010:6;-1:-1:-1;;;;;16010:6:0;66520:10;16166:23;16158:68;;;;-1:-1:-1;;;16158:68:0;;9704:2:1;16158:68:0;;;9686:21:1;;;9723:18;;;9716:30;9782:34;9762:18;;;9755:62;9834:18;;16158:68:0;9502:356:1;39287:1275:0;39354:7;39389;;69093:1;39438:23;39434:1061;;39491:13;;39484:4;:20;39480:1015;;;39529:14;39546:23;;;:17;:23;;;;;;-1:-1:-1;;;39635:24:0;;39631:845;;40300:113;40307:11;40300:113;;-1:-1:-1;;;40378:6:0;40360:25;;;;:17;:25;;;;;;40300:113;;;40446:6;39287:1275;-1:-1:-1;;;39287:1275:0:o;39631:845::-;39506:989;39480:1015;40523:31;;-1:-1:-1;;;40523:31:0;;;;;;;;;;;60265:112;60342:27;60352:2;60356:8;60342:27;;;;;;;;;;;;:9;:27::i;17204:191::-;17278:16;17297:6;;-1:-1:-1;;;;;17314:17:0;;;-1:-1:-1;;;;;;17314:17:0;;;;;;17347:40;;17297:6;;;;;;;17347:40;;17278:16;17347:40;17267:128;17204:191;:::o;53108:716::-;53292:88;;-1:-1:-1;;;53292:88:0;;53271:4;;-1:-1:-1;;;;;53292:45:0;;;;;:88;;66520:10;;53359:4;;53365:7;;53374:5;;53292:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53292:88:0;;;;;;;;-1:-1:-1;;53292:88:0;;;;;;;;;;;;:::i;:::-;;;53288:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53575:13:0;;53571:235;;53621:40;;-1:-1:-1;;;53621:40:0;;;;;;;;;;;53571:235;53764:6;53758:13;53749:6;53745:2;53741:15;53734:38;53288:529;-1:-1:-1;;;;;;53451:64:0;-1:-1:-1;;;53451:64:0;;-1:-1:-1;53288:529:0;53108:716;;;;;;:::o;430:723::-;486:13;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;932:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;59492:689;59623:19;59629:2;59633:8;59623:5;:19::i;:::-;-1:-1:-1;;;;;59684:14:0;;;:19;59680:483;;59738:13;;59786:14;;;59819:233;59850:62;59889:1;59893:2;59897:7;;;;;;59906:5;59850:30;:62::i;:::-;59845:167;;59948:40;;-1:-1:-1;;;59948:40:0;;;;;;;;;;;59845:167;60047:3;60039:5;:11;59819:233;;60134:3;60117:13;;:20;60113:34;;60139:8;;;60113:34;59705:458;;59492:689;;;:::o;54286:2454::-;54382:13;;54410;54406:44;;54432:18;;-1:-1:-1;;;54432:18:0;;;;;;;;;;;54406:44;-1:-1:-1;;;;;54938:22:0;;;;;;:18;:22;;;;27971:2;54938:22;;;:71;;54976:32;54964:45;;54938:71;;;55252:31;;;:17;:31;;;;;-1:-1:-1;41952:15:0;;41926:24;41922:46;41521:11;41496:23;41492:41;41489:52;41479:63;;55252:173;;55487:23;;;;55252:31;;54938:22;;55986:25;54938:22;;55839:335;56254:1;56240:12;56236:20;56194:346;56295:3;56286:7;56283:16;56194:346;;56513:7;56503:8;56500:1;56473:25;56470:1;56467;56462:59;56348:1;56335:15;56194:346;;;-1:-1:-1;56573:13:0;56569:45;;56595:19;;-1:-1:-1;;;56595:19:0;;;;;;;;;;;56569:45;56631:13;:19;-1:-1:-1;49842:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:160;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:185::-;4863:3;4901:5;4895:12;4916:52;4961:6;4956:3;4949:4;4942:5;4938:16;4916:52;:::i;:::-;4984:16;;;;;4821:185;-1:-1:-1;;4821:185:1:o;5129:1301::-;5406:3;5435:1;5468:6;5462:13;5498:3;5520:1;5548:9;5544:2;5540:18;5530:28;;5608:2;5597:9;5593:18;5630;5620:61;;5674:4;5666:6;5662:17;5652:27;;5620:61;5700:2;5748;5740:6;5737:14;5717:18;5714:38;5711:165;;;-1:-1:-1;;;5775:33:1;;5831:4;5828:1;5821:15;5861:4;5782:3;5849:17;5711:165;5892:18;5919:104;;;;6037:1;6032:320;;;;5885:467;;5919:104;-1:-1:-1;;5952:24:1;;5940:37;;5997:16;;;;-1:-1:-1;5919:104:1;;6032:320;12984:1;12977:14;;;13021:4;13008:18;;6127:1;6141:165;6155:6;6152:1;6149:13;6141:165;;;6233:14;;6220:11;;;6213:35;6276:16;;;;6170:10;;6141:165;;;6145:3;;6335:6;6330:3;6326:16;6319:23;;5885:467;;;;;;;6368:56;6393:30;6419:3;6411:6;6393:30;:::i;:::-;-1:-1:-1;;;5071:20:1;;5116:1;5107:11;;5011:113;6368:56;6361:63;5129:1301;-1:-1:-1;;;;;5129:1301:1:o;6853:488::-;-1:-1:-1;;;;;7122:15:1;;;7104:34;;7174:15;;7169:2;7154:18;;7147:43;7221:2;7206:18;;7199:34;;;7269:3;7264:2;7249:18;;7242:31;;;7047:4;;7290:45;;7315:19;;7307:6;7290:45;:::i;:::-;7282:53;6853:488;-1:-1:-1;;;;;;6853:488:1:o;7346:632::-;7517:2;7569:21;;;7639:13;;7542:18;;;7661:22;;;7488:4;;7517:2;7740:15;;;;7714:2;7699:18;;;7488:4;7783:169;7797:6;7794:1;7791:13;7783:169;;;7858:13;;7846:26;;7927:15;;;;7892:12;;;;7819:1;7812:9;7783:169;;;-1:-1:-1;7969:3:1;;7346:632;-1:-1:-1;;;;;;7346:632:1:o;8175:219::-;8324:2;8313:9;8306:21;8287:4;8344:44;8384:2;8373:9;8369:18;8361:6;8344:44;:::i;13037:128::-;13077:3;13108:1;13104:6;13101:1;13098:13;13095:39;;;13114:18;;:::i;:::-;-1:-1:-1;13150:9:1;;13037:128::o;13170:120::-;13210:1;13236;13226:35;;13241:18;;:::i;:::-;-1:-1:-1;13275:9:1;;13170:120::o;13295:168::-;13335:7;13401:1;13397;13393:6;13389:14;13386:1;13383:21;13378:1;13371:9;13364:17;13360:45;13357:71;;;13408:18;;:::i;:::-;-1:-1:-1;13448:9:1;;13295:168::o;13468:125::-;13508:4;13536:1;13533;13530:8;13527:34;;;13541:18;;:::i;:::-;-1:-1:-1;13578:9:1;;13468:125::o;13598:258::-;13670:1;13680:113;13694:6;13691:1;13688:13;13680:113;;;13770:11;;;13764:18;13751:11;;;13744:39;13716:2;13709:10;13680:113;;;13811:6;13808:1;13805:13;13802:48;;;-1:-1:-1;;13846:1:1;13828:16;;13821:27;13598:258::o;13861:380::-;13940:1;13936:12;;;;13983;;;14004:61;;14058:4;14050:6;14046:17;14036:27;;14004:61;14111:2;14103:6;14100:14;14080:18;14077:38;14074:161;;;14157:10;14152:3;14148:20;14145:1;14138:31;14192:4;14189:1;14182:15;14220:4;14217:1;14210:15;14074:161;;13861:380;;;:::o;14246:135::-;14285:3;-1:-1:-1;;14306:17:1;;14303:43;;;14326:18;;:::i;:::-;-1:-1:-1;14373:1:1;14362:13;;14246:135::o;14386:112::-;14418:1;14444;14434:35;;14449:18;;:::i;:::-;-1:-1:-1;14483:9:1;;14386:112::o;14503:127::-;14564:10;14559:3;14555:20;14552:1;14545:31;14595:4;14592:1;14585:15;14619:4;14616:1;14609:15;14635:127;14696:10;14691:3;14687:20;14684:1;14677:31;14727:4;14724:1;14717:15;14751:4;14748:1;14741:15;14767:127;14828:10;14823:3;14819:20;14816:1;14809:31;14859:4;14856:1;14849:15;14883:4;14880:1;14873:15;14899:127;14960:10;14955:3;14951:20;14948:1;14941:31;14991:4;14988:1;14981:15;15015:4;15012:1;15005:15;15031:131;-1:-1:-1;;;;;;15105:32:1;;15095:43;;15085:71;;15152:1;15149;15142:12
Swarm Source
ipfs://123c9128417bfb4fffe8d142d2c9437523aeab1b91ef04e50e5ebbb4919415eb
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.