Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,127 AVCDO
Holders
2,094
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 AVCDOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Avacadoez
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-24 */ // SPDX-License-Identifier: MIT // 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.0 // 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.0 // 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 ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/avacadoez.sol pragma solidity ^0.8.0; contract Avacadoez is ERC721A, Ownable, ReentrancyGuard { using Address for address; using Strings for uint; bool public revealed = false; bool public paused = false; string private revealedURI = "ipfs://QmSzJCfAgzBzFek61MtGHLEK3TuFmRU5XzKiA8RZDoap7n/"; string private hiddenURI = "ipfs://QmTvKx87xe31PhYy18ZehVCAqh1cE6EMHNk4W3zeQPdBvV/hidden.json"; uint256 public maxSupply = 7777; uint256 public Max_Guac_Per_Tx = 3; uint256 public Free_Guac_Per_Tx = 1; uint256 public Public_Guac_Price = 0.0069 ether; uint256 public Toatl_Free_Guac = 3000; bool public isPublicSaleActive = false; constructor() ERC721A("Avacadoez", "AVCDO") { } function mint(uint256 numberOfTokens) external payable { require(isPublicSaleActive, "Public sale is not open"); require( totalSupply() + numberOfTokens <= maxSupply, "Maximum supply exceeded" ); if(totalSupply() + numberOfTokens > Toatl_Free_Guac || numberOfTokens > Free_Guac_Per_Tx){ require( (Public_Guac_Price * numberOfTokens) <= msg.value, "Incorrect ETH value sent" ); } _safeMint(msg.sender, numberOfTokens); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function treasuryMint(uint quantity, address user) public onlyOwner { require( quantity > 0, "Invalid mint amount" ); require( totalSupply() + quantity <= maxSupply, "Maximum supply exceeded" ); _safeMint(user, quantity); } function withdraw() public onlyOwner nonReentrant { Address.sendValue(payable(msg.sender), address(this).balance); } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } function setNumFreeMints(uint256 _numfreemints) external onlyOwner { Toatl_Free_Guac = _numfreemints; } function setSalePrice(uint256 _price) external onlyOwner { Public_Guac_Price = _price; } function setMaxLimitPerTransaction(uint256 _limit) external onlyOwner { Max_Guac_Per_Tx = _limit; } 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 hiddenURI; } } function revealCollection(bool _revealed, string memory _baseUri) public onlyOwner { revealed = _revealed; revealedURI = _baseUri; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenURI = _hiddenMetadataUri; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setBaseURI(string memory _baseUri) public onlyOwner { revealedURI = _baseUri; } }
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":"Free_Guac_Per_Tx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Max_Guac_Per_Tx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Public_Guac_Price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Toatl_Free_Guac","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":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"},{"internalType":"string","name":"_baseUri","type":"string"}],"name":"revealCollection","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":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxLimitPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setSalePrice","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":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600a805461ffff1916905560e0604052603660808181529062001f9b60a03980516200003491600b9160209091019062000173565b5060405180608001604052806041815260200162001f5a6041913980516200006591600c9160209091019062000173565b50611e61600d556003600e556001600f556618838370f34000601055610bb86011556012805460ff191690553480156200009e57600080fd5b50604080518082018252600981526820bb30b1b0b237b2bd60b91b602080830191825283518085019094526005845264415643444f60d81b908401528151919291620000ed9160029162000173565b5080516200010390600390602084019062000173565b5050600160005550620001163362000121565b600160095562000256565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001819062000219565b90600052602060002090601f016020900481019282620001a55760008555620001f0565b82601f10620001c057805160ff1916838001178555620001f0565b82800160010185558215620001f0579182015b82811115620001f0578251825591602001919060010190620001d3565b50620001fe92915062000202565b5090565b5b80821115620001fe576000815560010162000203565b600181811c908216806200022e57607f821691505b602082108114156200025057634e487b7160e01b600052602260045260246000fd5b50919050565b611cf480620002666000396000f3fe60806040526004361061020f5760003560e01c80635ed3e25e11610118578063a0712d68116100a0578063d5abeb011161006f578063d5abeb01146105cc578063e0a80853146105e2578063e985e9c514610602578063f2a3013e1461064b578063f2fde38b1461066b57600080fd5b8063a0712d6814610559578063a22cb4651461056c578063b88d4fde1461058c578063c87b56dd146105ac57600080fd5b8063715018a6116100e7578063715018a6146104db57806383878913146104f05780638da5cb5b1461050657806395d89b41146105245780639e9fcffc1461053957600080fd5b80635ed3e25e146104655780636352211e146104855780636e645cc3146104a557806370a08231146104bb57600080fd5b806328cad13d1161019b5780635170ddf21161016a5780635170ddf2146103e057806351830227146103f657806355f804b3146104105780635ae260be146104305780635c975abb1461044657600080fd5b806328cad13d1461036b5780633ccfd60b1461038b57806342842e0e146103a05780634fdd43cb146103c057600080fd5b80630a00ae83116101e25780630a00ae83146102c557806318160ddd146102e55780631919fed7146103115780631e84c4131461033157806323b872dd1461034b57600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f36600461195a565b61068b565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106dd565b6040516102409190611b45565b34801561027757600080fd5b5061028b6102863660046119c9565b61076f565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046118c7565b6107b3565b005b3480156102d157600080fd5b506102c36102e03660046119c9565b610853565b3480156102f157600080fd5b50610303600154600054036000190190565b604051908152602001610240565b34801561031d57600080fd5b506102c361032c3660046119c9565b610860565b34801561033d57600080fd5b506012546102349060ff1681565b34801561035757600080fd5b506102c36103663660046117e5565b61086d565b34801561037757600080fd5b506102c36103863660046118f1565b6109fe565b34801561039757600080fd5b506102c3610a19565b3480156103ac57600080fd5b506102c36103bb3660046117e5565b610a8f565b3480156103cc57600080fd5b506102c36103db366004611994565b610aaf565b3480156103ec57600080fd5b50610303600f5481565b34801561040257600080fd5b50600a546102349060ff1681565b34801561041c57600080fd5b506102c361042b366004611994565b610ace565b34801561043c57600080fd5b5061030360115481565b34801561045257600080fd5b50600a5461023490610100900460ff1681565b34801561047157600080fd5b506102c361048036600461190c565b610ae9565b34801561049157600080fd5b5061028b6104a03660046119c9565b610b12565b3480156104b157600080fd5b5061030360105481565b3480156104c757600080fd5b506103036104d6366004611797565b610b1d565b3480156104e757600080fd5b506102c3610b6c565b3480156104fc57600080fd5b50610303600e5481565b34801561051257600080fd5b506008546001600160a01b031661028b565b34801561053057600080fd5b5061025e610b80565b34801561054557600080fd5b506102c36105543660046119c9565b610b8f565b6102c36105673660046119c9565b610b9c565b34801561057857600080fd5b506102c361058736600461189d565b610cf0565b34801561059857600080fd5b506102c36105a7366004611821565b610d86565b3480156105b857600080fd5b5061025e6105c73660046119c9565b610dd0565b3480156105d857600080fd5b50610303600d5481565b3480156105ee57600080fd5b506102c36105fd3660046118f1565b610f13565b34801561060e57600080fd5b5061023461061d3660046117b2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065757600080fd5b506102c36106663660046119e2565b610f2e565b34801561067757600080fd5b506102c3610686366004611797565b610fed565b60006301ffc9a760e01b6001600160e01b0319831614806106bc57506380ac58cd60e01b6001600160e01b03198316145b806106d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ec90611be6565b80601f016020809104026020016040519081016040528092919081815260200182805461071890611be6565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a82611063565b610797576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107be82610b12565b9050336001600160a01b038216146107f7576107da813361061d565b6107f7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61085b611098565b601155565b610868611098565b601055565b6000610878826110f2565b9050836001600160a01b0316816001600160a01b0316146108ab5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108f8576108db863361061d565b6108f857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661091f57604051633a954ecd60e21b815260040160405180910390fd5b801561092a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109b557600184016000818152600460205260409020546109b35760005481146109b35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a06611098565b6012805460ff1916911515919091179055565b610a21611098565b60026009541415610a795760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955610a883347611162565b6001600955565b610aaa83838360405180602001604052806000815250610d86565b505050565b610ab7611098565b8051610aca90600c906020840190611641565b5050565b610ad6611098565b8051610aca90600b906020840190611641565b610af1611098565b600a805460ff19168315151790558051610aaa90600b906020840190611641565b60006106d7826110f2565b60006001600160a01b038216610b46576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b74611098565b610b7e600061127b565b565b6060600380546106ec90611be6565b610b97611098565b600e55565b60125460ff16610bee5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610a70565b600d5481610c03600154600054036000190190565b610c0d9190611b58565b1115610c555760405162461bcd60e51b815260206004820152601760248201527613585e1a5b5d5b481cdd5c1c1b1e48195e18d959591959604a1b6044820152606401610a70565b60115481610c6a600154600054036000190190565b610c749190611b58565b1180610c815750600f5481115b15610ce3573481601054610c959190611b84565b1115610ce35760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e7400000000000000006044820152606401610a70565b610ced33826112cd565b50565b6001600160a01b038216331415610d1a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d9184848461086d565b6001600160a01b0383163b15610dca57610dad848484846112e7565b610dca576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ddb82611063565b610e3f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a70565b600a5460ff1615610e7c57600b610e55836113df565b604051602001610e66929190611a4d565b6040516020818303038152906040529050919050565b600c8054610e8990611be6565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb590611be6565b8015610f025780601f10610ed757610100808354040283529160200191610f02565b820191906000526020600020905b815481529060010190602001808311610ee557829003601f168201915b50505050509050919050565b919050565b610f1b611098565b600a805460ff1916911515919091179055565b610f36611098565b60008211610f7c5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a70565b600d5482610f91600154600054036000190190565b610f9b9190611b58565b1115610fe35760405162461bcd60e51b815260206004820152601760248201527613585e1a5b5d5b481cdd5c1c1b1e48195e18d959591959604a1b6044820152606401610a70565b610aca81836112cd565b610ff5611098565b6001600160a01b03811661105a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a70565b610ced8161127b565b600081600111158015611077575060005482105b80156106d7575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610b7e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a70565b600081806001116111495760005481101561114957600081815260046020526040902054600160e01b8116611147575b80611140575060001901600081815260046020526040902054611122565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156111b25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a70565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146111ff576040519150601f19603f3d011682016040523d82523d6000602084013e611204565b606091505b5050905080610aaa5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a70565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610aca8282604051806020016040528060008152506114dd565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061131c903390899088908890600401611b08565b602060405180830381600087803b15801561133657600080fd5b505af1925050508015611366575060408051601f3d908101601f1916820190925261136391810190611977565b60015b6113c1573d808015611394576040519150601f19603f3d011682016040523d82523d6000602084013e611399565b606091505b5080516113b9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816114035750506040805180820190915260018152600360fc1b602082015290565b8160005b811561142d578061141781611c21565b91506114269050600a83611b70565b9150611407565b60008167ffffffffffffffff81111561144857611448611c92565b6040519080825280601f01601f191660200182016040528015611472576020820181803683370190505b5090505b84156113d757611487600183611ba3565b9150611494600a86611c3c565b61149f906030611b58565b60f81b8183815181106114b4576114b4611c7c565b60200101906001600160f81b031916908160001a9053506114d6600a86611b70565b9450611476565b6114e7838361154a565b6001600160a01b0383163b15610aaa576000548281035b61151160008683806001019450866112e7565b61152e576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114fe57816000541461154357600080fd5b5050505050565b6000548161156b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461161a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016115e2565b508161163857604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461164d90611be6565b90600052602060002090601f01602090048101928261166f57600085556116b5565b82601f1061168857805160ff19168380011785556116b5565b828001600101855582156116b5579182015b828111156116b557825182559160200191906001019061169a565b506116c19291506116c5565b5090565b5b808211156116c157600081556001016116c6565b600067ffffffffffffffff808411156116f5576116f5611c92565b604051601f8501601f19908116603f0116810190828211818310171561171d5761171d611c92565b8160405280935085815286868601111561173657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610f0e57600080fd5b80358015158114610f0e57600080fd5b600082601f83011261178857600080fd5b611140838335602085016116da565b6000602082840312156117a957600080fd5b61114082611750565b600080604083850312156117c557600080fd5b6117ce83611750565b91506117dc60208401611750565b90509250929050565b6000806000606084860312156117fa57600080fd5b61180384611750565b925061181160208501611750565b9150604084013590509250925092565b6000806000806080858703121561183757600080fd5b61184085611750565b935061184e60208601611750565b925060408501359150606085013567ffffffffffffffff81111561187157600080fd5b8501601f8101871361188257600080fd5b611891878235602084016116da565b91505092959194509250565b600080604083850312156118b057600080fd5b6118b983611750565b91506117dc60208401611767565b600080604083850312156118da57600080fd5b6118e383611750565b946020939093013593505050565b60006020828403121561190357600080fd5b61114082611767565b6000806040838503121561191f57600080fd5b61192883611767565b9150602083013567ffffffffffffffff81111561194457600080fd5b61195085828601611777565b9150509250929050565b60006020828403121561196c57600080fd5b813561114081611ca8565b60006020828403121561198957600080fd5b815161114081611ca8565b6000602082840312156119a657600080fd5b813567ffffffffffffffff8111156119bd57600080fd5b6113d784828501611777565b6000602082840312156119db57600080fd5b5035919050565b600080604083850312156119f557600080fd5b823591506117dc60208401611750565b60008151808452611a1d816020860160208601611bba565b601f01601f19169290920160200192915050565b60008151611a43818560208601611bba565b9290920192915050565b600080845481600182811c915080831680611a6957607f831692505b6020808410821415611a8957634e487b7160e01b86526022600452602486fd5b818015611a9d5760018114611aae57611adb565b60ff19861689528489019650611adb565b60008b81526020902060005b86811015611ad35781548b820152908501908301611aba565b505084890196505b505050505050611aff611aee8286611a31565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b3b90830184611a05565b9695505050505050565b6020815260006111406020830184611a05565b60008219821115611b6b57611b6b611c50565b500190565b600082611b7f57611b7f611c66565b500490565b6000816000190483118215151615611b9e57611b9e611c50565b500290565b600082821015611bb557611bb5611c50565b500390565b60005b83811015611bd5578181015183820152602001611bbd565b83811115610dca5750506000910152565b600181811c90821680611bfa57607f821691505b60208210811415611c1b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c3557611c35611c50565b5060010190565b600082611c4b57611c4b611c66565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ced57600080fdfea26469706673582212209fb35640c70ca2c2461955320fb29ecd7d6b74a703d2bb63c8f5a5437b98bada64736f6c63430008070033697066733a2f2f516d54764b783837786533315068597931385a6568564341716831634536454d484e6b3457337a655150644276562f68696464656e2e6a736f6e697066733a2f2f516d537a4a436641677a427a46656b36314d7447484c454b335475466d525535587a4b694138525a446f6170376e2f
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80635ed3e25e11610118578063a0712d68116100a0578063d5abeb011161006f578063d5abeb01146105cc578063e0a80853146105e2578063e985e9c514610602578063f2a3013e1461064b578063f2fde38b1461066b57600080fd5b8063a0712d6814610559578063a22cb4651461056c578063b88d4fde1461058c578063c87b56dd146105ac57600080fd5b8063715018a6116100e7578063715018a6146104db57806383878913146104f05780638da5cb5b1461050657806395d89b41146105245780639e9fcffc1461053957600080fd5b80635ed3e25e146104655780636352211e146104855780636e645cc3146104a557806370a08231146104bb57600080fd5b806328cad13d1161019b5780635170ddf21161016a5780635170ddf2146103e057806351830227146103f657806355f804b3146104105780635ae260be146104305780635c975abb1461044657600080fd5b806328cad13d1461036b5780633ccfd60b1461038b57806342842e0e146103a05780634fdd43cb146103c057600080fd5b80630a00ae83116101e25780630a00ae83146102c557806318160ddd146102e55780631919fed7146103115780631e84c4131461033157806323b872dd1461034b57600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f36600461195a565b61068b565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106dd565b6040516102409190611b45565b34801561027757600080fd5b5061028b6102863660046119c9565b61076f565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046118c7565b6107b3565b005b3480156102d157600080fd5b506102c36102e03660046119c9565b610853565b3480156102f157600080fd5b50610303600154600054036000190190565b604051908152602001610240565b34801561031d57600080fd5b506102c361032c3660046119c9565b610860565b34801561033d57600080fd5b506012546102349060ff1681565b34801561035757600080fd5b506102c36103663660046117e5565b61086d565b34801561037757600080fd5b506102c36103863660046118f1565b6109fe565b34801561039757600080fd5b506102c3610a19565b3480156103ac57600080fd5b506102c36103bb3660046117e5565b610a8f565b3480156103cc57600080fd5b506102c36103db366004611994565b610aaf565b3480156103ec57600080fd5b50610303600f5481565b34801561040257600080fd5b50600a546102349060ff1681565b34801561041c57600080fd5b506102c361042b366004611994565b610ace565b34801561043c57600080fd5b5061030360115481565b34801561045257600080fd5b50600a5461023490610100900460ff1681565b34801561047157600080fd5b506102c361048036600461190c565b610ae9565b34801561049157600080fd5b5061028b6104a03660046119c9565b610b12565b3480156104b157600080fd5b5061030360105481565b3480156104c757600080fd5b506103036104d6366004611797565b610b1d565b3480156104e757600080fd5b506102c3610b6c565b3480156104fc57600080fd5b50610303600e5481565b34801561051257600080fd5b506008546001600160a01b031661028b565b34801561053057600080fd5b5061025e610b80565b34801561054557600080fd5b506102c36105543660046119c9565b610b8f565b6102c36105673660046119c9565b610b9c565b34801561057857600080fd5b506102c361058736600461189d565b610cf0565b34801561059857600080fd5b506102c36105a7366004611821565b610d86565b3480156105b857600080fd5b5061025e6105c73660046119c9565b610dd0565b3480156105d857600080fd5b50610303600d5481565b3480156105ee57600080fd5b506102c36105fd3660046118f1565b610f13565b34801561060e57600080fd5b5061023461061d3660046117b2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065757600080fd5b506102c36106663660046119e2565b610f2e565b34801561067757600080fd5b506102c3610686366004611797565b610fed565b60006301ffc9a760e01b6001600160e01b0319831614806106bc57506380ac58cd60e01b6001600160e01b03198316145b806106d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ec90611be6565b80601f016020809104026020016040519081016040528092919081815260200182805461071890611be6565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a82611063565b610797576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107be82610b12565b9050336001600160a01b038216146107f7576107da813361061d565b6107f7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61085b611098565b601155565b610868611098565b601055565b6000610878826110f2565b9050836001600160a01b0316816001600160a01b0316146108ab5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108f8576108db863361061d565b6108f857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661091f57604051633a954ecd60e21b815260040160405180910390fd5b801561092a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109b557600184016000818152600460205260409020546109b35760005481146109b35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a06611098565b6012805460ff1916911515919091179055565b610a21611098565b60026009541415610a795760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955610a883347611162565b6001600955565b610aaa83838360405180602001604052806000815250610d86565b505050565b610ab7611098565b8051610aca90600c906020840190611641565b5050565b610ad6611098565b8051610aca90600b906020840190611641565b610af1611098565b600a805460ff19168315151790558051610aaa90600b906020840190611641565b60006106d7826110f2565b60006001600160a01b038216610b46576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b74611098565b610b7e600061127b565b565b6060600380546106ec90611be6565b610b97611098565b600e55565b60125460ff16610bee5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610a70565b600d5481610c03600154600054036000190190565b610c0d9190611b58565b1115610c555760405162461bcd60e51b815260206004820152601760248201527613585e1a5b5d5b481cdd5c1c1b1e48195e18d959591959604a1b6044820152606401610a70565b60115481610c6a600154600054036000190190565b610c749190611b58565b1180610c815750600f5481115b15610ce3573481601054610c959190611b84565b1115610ce35760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e7400000000000000006044820152606401610a70565b610ced33826112cd565b50565b6001600160a01b038216331415610d1a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d9184848461086d565b6001600160a01b0383163b15610dca57610dad848484846112e7565b610dca576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ddb82611063565b610e3f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a70565b600a5460ff1615610e7c57600b610e55836113df565b604051602001610e66929190611a4d565b6040516020818303038152906040529050919050565b600c8054610e8990611be6565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb590611be6565b8015610f025780601f10610ed757610100808354040283529160200191610f02565b820191906000526020600020905b815481529060010190602001808311610ee557829003601f168201915b50505050509050919050565b919050565b610f1b611098565b600a805460ff1916911515919091179055565b610f36611098565b60008211610f7c5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a70565b600d5482610f91600154600054036000190190565b610f9b9190611b58565b1115610fe35760405162461bcd60e51b815260206004820152601760248201527613585e1a5b5d5b481cdd5c1c1b1e48195e18d959591959604a1b6044820152606401610a70565b610aca81836112cd565b610ff5611098565b6001600160a01b03811661105a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a70565b610ced8161127b565b600081600111158015611077575060005482105b80156106d7575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610b7e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a70565b600081806001116111495760005481101561114957600081815260046020526040902054600160e01b8116611147575b80611140575060001901600081815260046020526040902054611122565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156111b25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a70565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146111ff576040519150601f19603f3d011682016040523d82523d6000602084013e611204565b606091505b5050905080610aaa5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a70565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610aca8282604051806020016040528060008152506114dd565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061131c903390899088908890600401611b08565b602060405180830381600087803b15801561133657600080fd5b505af1925050508015611366575060408051601f3d908101601f1916820190925261136391810190611977565b60015b6113c1573d808015611394576040519150601f19603f3d011682016040523d82523d6000602084013e611399565b606091505b5080516113b9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816114035750506040805180820190915260018152600360fc1b602082015290565b8160005b811561142d578061141781611c21565b91506114269050600a83611b70565b9150611407565b60008167ffffffffffffffff81111561144857611448611c92565b6040519080825280601f01601f191660200182016040528015611472576020820181803683370190505b5090505b84156113d757611487600183611ba3565b9150611494600a86611c3c565b61149f906030611b58565b60f81b8183815181106114b4576114b4611c7c565b60200101906001600160f81b031916908160001a9053506114d6600a86611b70565b9450611476565b6114e7838361154a565b6001600160a01b0383163b15610aaa576000548281035b61151160008683806001019450866112e7565b61152e576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114fe57816000541461154357600080fd5b5050505050565b6000548161156b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461161a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016115e2565b508161163857604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461164d90611be6565b90600052602060002090601f01602090048101928261166f57600085556116b5565b82601f1061168857805160ff19168380011785556116b5565b828001600101855582156116b5579182015b828111156116b557825182559160200191906001019061169a565b506116c19291506116c5565b5090565b5b808211156116c157600081556001016116c6565b600067ffffffffffffffff808411156116f5576116f5611c92565b604051601f8501601f19908116603f0116810190828211818310171561171d5761171d611c92565b8160405280935085815286868601111561173657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610f0e57600080fd5b80358015158114610f0e57600080fd5b600082601f83011261178857600080fd5b611140838335602085016116da565b6000602082840312156117a957600080fd5b61114082611750565b600080604083850312156117c557600080fd5b6117ce83611750565b91506117dc60208401611750565b90509250929050565b6000806000606084860312156117fa57600080fd5b61180384611750565b925061181160208501611750565b9150604084013590509250925092565b6000806000806080858703121561183757600080fd5b61184085611750565b935061184e60208601611750565b925060408501359150606085013567ffffffffffffffff81111561187157600080fd5b8501601f8101871361188257600080fd5b611891878235602084016116da565b91505092959194509250565b600080604083850312156118b057600080fd5b6118b983611750565b91506117dc60208401611767565b600080604083850312156118da57600080fd5b6118e383611750565b946020939093013593505050565b60006020828403121561190357600080fd5b61114082611767565b6000806040838503121561191f57600080fd5b61192883611767565b9150602083013567ffffffffffffffff81111561194457600080fd5b61195085828601611777565b9150509250929050565b60006020828403121561196c57600080fd5b813561114081611ca8565b60006020828403121561198957600080fd5b815161114081611ca8565b6000602082840312156119a657600080fd5b813567ffffffffffffffff8111156119bd57600080fd5b6113d784828501611777565b6000602082840312156119db57600080fd5b5035919050565b600080604083850312156119f557600080fd5b823591506117dc60208401611750565b60008151808452611a1d816020860160208601611bba565b601f01601f19169290920160200192915050565b60008151611a43818560208601611bba565b9290920192915050565b600080845481600182811c915080831680611a6957607f831692505b6020808410821415611a8957634e487b7160e01b86526022600452602486fd5b818015611a9d5760018114611aae57611adb565b60ff19861689528489019650611adb565b60008b81526020902060005b86811015611ad35781548b820152908501908301611aba565b505084890196505b505050505050611aff611aee8286611a31565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b3b90830184611a05565b9695505050505050565b6020815260006111406020830184611a05565b60008219821115611b6b57611b6b611c50565b500190565b600082611b7f57611b7f611c66565b500490565b6000816000190483118215151615611b9e57611b9e611c50565b500290565b600082821015611bb557611bb5611c50565b500390565b60005b83811015611bd5578181015183820152602001611bbd565b83811115610dca5750506000910152565b600181811c90821680611bfa57607f821691505b60208210811415611c1b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c3557611c35611c50565b5060010190565b600082611c4b57611c4b611c66565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ced57600080fdfea26469706673582212209fb35640c70ca2c2461955320fb29ecd7d6b74a703d2bb63c8f5a5437b98bada64736f6c63430008070033
Deployed Bytecode Sourcemap
68763:3454:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35874:639;;;;;;;;;;-1:-1:-1;35874:639:0;;;;;:::i;:::-;;:::i;:::-;;;8004:14:1;;7997:22;7979:41;;7967:2;7952:18;35874:639:0;;;;;;;;36776:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43259:218::-;;;;;;;;;;-1:-1:-1;43259:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7302:32:1;;;7284:51;;7272:2;7257:18;43259:218:0;7138:203:1;42700:400:0;;;;;;;;;;-1:-1:-1;42700:400:0;;;;;:::i;:::-;;:::i;:::-;;70709:130;;;;;;;;;;-1:-1:-1;70709:130:0;;;;;:::i;:::-;;:::i;32527:323::-;;;;;;;;;;;;70094:1;32801:12;32588:7;32785:13;:28;-1:-1:-1;;32785:46:0;;32527:323;;;;12135:25:1;;;12123:2;12108:18;32527:323:0;11989:177:1;70845:115:0;;;;;;;;;;-1:-1:-1;70845:115:0;;;;;:::i;:::-;;:::i;69358:38::-;;;;;;;;;;-1:-1:-1;69358:38:0;;;;;;;;46966:2817;;;;;;;;;;-1:-1:-1;46966:2817:0;;;;;:::i;:::-;;:::i;70555:148::-;;;;;;;;;;-1:-1:-1;70555:148:0;;;;;:::i;:::-;;:::i;70407:142::-;;;;;;;;;;;;;:::i;49879:185::-;;;;;;;;;;-1:-1:-1;49879:185:0;;;;;:::i;:::-;;:::i;71879:130::-;;;;;;;;;;-1:-1:-1;71879:130:0;;;;;:::i;:::-;;:::i;69221:36::-;;;;;;;;;;;;;;;;68881:28;;;;;;;;;;-1:-1:-1;68881:28:0;;;;;;;;72106:102;;;;;;;;;;-1:-1:-1;72106:102:0;;;;;:::i;:::-;;:::i;69315:38::-;;;;;;;;;;;;;;;;68914:26;;;;;;;;;;-1:-1:-1;68914:26:0;;;;;;;;;;;71716:155;;;;;;;;;;-1:-1:-1;71716:155:0;;;;;:::i;:::-;;:::i;38169:152::-;;;;;;;;;;-1:-1:-1;38169:152:0;;;;;:::i;:::-;;:::i;69262:48::-;;;;;;;;;;;;;;;;33711:233;;;;;;;;;;-1:-1:-1;33711:233:0;;;;;:::i;:::-;;:::i;16622:103::-;;;;;;;;;;;;;:::i;69181:35::-;;;;;;;;;;;;;;;;15974:87;;;;;;;;;;-1:-1:-1;16047:6:0;;-1:-1:-1;;;;;16047:6:0;15974:87;;36952:104;;;;;;;;;;;;;:::i;70966:126::-;;;;;;;;;;-1:-1:-1;70966:126:0;;;;;:::i;:::-;;:::i;69465:527::-;;;;;;:::i;:::-;;:::i;43817:308::-;;;;;;;;;;-1:-1:-1;43817:308:0;;;;;:::i;:::-;;:::i;50662:399::-;;;;;;;;;;-1:-1:-1;50662:399:0;;;;;:::i;:::-;;:::i;71100:608::-;;;;;;;;;;-1:-1:-1;71100:608:0;;;;;:::i;:::-;;:::i;69144:32::-;;;;;;;;;;;;;;;;72015:87;;;;;;;;;;-1:-1:-1;72015:87:0;;;;;:::i;:::-;;:::i;44282:164::-;;;;;;;;;;-1:-1:-1;44282:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44403:25:0;;;44379:4;44403:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44282:164;70109:292;;;;;;;;;;-1:-1:-1;70109:292:0;;;;;:::i;:::-;;:::i;16880:201::-;;;;;;;;;;-1:-1:-1;16880:201:0;;;;;:::i;:::-;;:::i;35874:639::-;35959:4;-1:-1:-1;;;;;;;;;36283:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36360:25:0;;;36283:102;:179;;;-1:-1:-1;;;;;;;;;;36437:25:0;;;36283:179;36263:199;35874:639;-1:-1:-1;;35874:639:0:o;36776:100::-;36830:13;36863:5;36856:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36776:100;:::o;43259:218::-;43335:7;43360:16;43368:7;43360;:16::i;:::-;43355:64;;43385:34;;-1:-1:-1;;;43385:34:0;;;;;;;;;;;43355:64;-1:-1:-1;43439:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43439:30:0;;43259:218::o;42700:400::-;42781:13;42797:16;42805:7;42797;:16::i;:::-;42781:32;-1:-1:-1;66557:10:0;-1:-1:-1;;;;;42830:28:0;;;42826:175;;42878:44;42895:5;66557:10;44282:164;:::i;42878:44::-;42873:128;;42950:35;;-1:-1:-1;;;42950:35:0;;;;;;;;;;;42873:128;43013:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43013:35:0;-1:-1:-1;;;;;43013:35:0;;;;;;;;;43064:28;;43013:24;;43064:28;;;;;;;42770:330;42700:400;;:::o;70709:130::-;15860:13;:11;:13::i;:::-;70802:15:::1;:31:::0;70709:130::o;70845:115::-;15860:13;:11;:13::i;:::-;70928:17:::1;:26:::0;70845:115::o;46966:2817::-;47100:27;47130;47149:7;47130:18;:27::i;:::-;47100:57;;47215:4;-1:-1:-1;;;;;47174:45:0;47190:19;-1:-1:-1;;;;;47174:45:0;;47170:86;;47228:28;;-1:-1:-1;;;47228:28:0;;;;;;;;;;;47170:86;47270:27;46080:24;;;:15;:24;;;;;46302:26;;66557:10;45705:30;;;-1:-1:-1;;;;;45398:28:0;;45683:20;;;45680:56;47456:180;;47549:43;47566:4;66557:10;44282:164;:::i;47549:43::-;47544:92;;47601:35;;-1:-1:-1;;;47601:35:0;;;;;;;;;;;47544:92;-1:-1:-1;;;;;47653:16:0;;47649:52;;47678:23;;-1:-1:-1;;;47678:23:0;;;;;;;;;;;47649:52;47850:15;47847:160;;;47990:1;47969:19;47962:30;47847:160;-1:-1:-1;;;;;48387:24:0;;;;;;;:18;:24;;;;;;48385:26;;-1:-1:-1;;48385:26:0;;;48456:22;;;;;;;;;48454:24;;-1:-1:-1;48454:24:0;;;41558:11;41533:23;41529:41;41516:63;-1:-1:-1;;;41516:63:0;48749:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;49044:47:0;;49040:627;;49149:1;49139:11;;49117:19;49272:30;;;:17;:30;;;;;;49268:384;;49410:13;;49395:11;:28;49391:242;;49557:30;;;;:17;:30;;;;;:52;;;49391:242;49098:569;49040:627;49714:7;49710:2;-1:-1:-1;;;;;49695:27:0;49704:4;-1:-1:-1;;;;;49695:27:0;;;;;;;;;;;47089:2694;;;46966:2817;;;:::o;70555:148::-;15860:13;:11;:13::i;:::-;70657:18:::1;:40:::0;;-1:-1:-1;;70657:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70555:148::o;70407:142::-;15860:13;:11;:13::i;:::-;12899:1:::1;13497:7;;:19;;13489:63;;;::::0;-1:-1:-1;;;13489:63:0;;11479:2:1;13489:63:0::1;::::0;::::1;11461:21:1::0;11518:2;11498:18;;;11491:30;11557:33;11537:18;;;11530:61;11608:18;;13489:63:0::1;;;;;;;;;12899:1;13630:7;:18:::0;70482:61:::2;70508:10;70521:21;70482:17;:61::i;:::-;12855:1:::1;13809:7;:22:::0;70407:142::o;49879:185::-;50017:39;50034:4;50040:2;50044:7;50017:39;;;;;;;;;;;;:16;:39::i;:::-;49879:185;;;:::o;71879:130::-;15860:13;:11;:13::i;:::-;71971:30;;::::1;::::0;:9:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;:::-;;71879:130:::0;:::o;72106:102::-;15860:13;:11;:13::i;:::-;72178:22;;::::1;::::0;:11:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;71716:155::-:0;15860:13;:11;:13::i;:::-;71810:8:::1;:20:::0;;-1:-1:-1;;71810:20:0::1;::::0;::::1;;;::::0;;71841:22;;::::1;::::0;:11:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;38169:152::-:0;38241:7;38284:27;38303:7;38284:18;:27::i;33711:233::-;33783:7;-1:-1:-1;;;;;33807:19:0;;33803:60;;33835:28;;-1:-1:-1;;;33835:28:0;;;;;;;;;;;33803:60;-1:-1:-1;;;;;;33881:25:0;;;;;:18;:25;;;;;;27870:13;33881:55;;33711:233::o;16622:103::-;15860:13;:11;:13::i;:::-;16687:30:::1;16714:1;16687:18;:30::i;:::-;16622:103::o:0;36952:104::-;37008:13;37041:7;37034:14;;;;;:::i;70966:126::-;15860:13;:11;:13::i;:::-;71062:15:::1;:24:::0;70966:126::o;69465:527::-;69552:18;;;;69544:54;;;;-1:-1:-1;;;69544:54:0;;11839:2:1;69544:54:0;;;11821:21:1;11878:2;11858:18;;;11851:30;11917:25;11897:18;;;11890:53;11960:18;;69544:54:0;11637:347:1;69544:54:0;69655:9;;69637:14;69621:13;70094:1;32801:12;32588:7;32785:13;:28;-1:-1:-1;;32785:46:0;;32527:323;69621:13;:30;;;;:::i;:::-;:43;;69605:100;;;;-1:-1:-1;;;69605:100:0;;9649:2:1;69605:100:0;;;9631:21:1;9688:2;9668:18;;;9661:30;-1:-1:-1;;;9707:18:1;;;9700:53;9770:18;;69605:100:0;9447:347:1;69605:100:0;69748:15;;69731:14;69715:13;70094:1;32801:12;32588:7;32785:13;:28;-1:-1:-1;;32785:46:0;;32527:323;69715:13;:30;;;;:::i;:::-;:48;:85;;;;69784:16;;69767:14;:33;69715:85;69712:231;;;69874:9;69855:14;69835:17;;:34;;;;:::i;:::-;69834:49;;69812:123;;;;-1:-1:-1;;;69812:123:0;;11126:2:1;69812:123:0;;;11108:21:1;11165:2;11145:18;;;11138:30;11204:26;11184:18;;;11177:54;11248:18;;69812:123:0;10924:348:1;69812:123:0;69949:37;69959:10;69971:14;69949:9;:37::i;:::-;69465:527;:::o;43817:308::-;-1:-1:-1;;;;;43916:31:0;;66557:10;43916:31;43912:61;;;43956:17;;-1:-1:-1;;;43956:17:0;;;;;;;;;;;43912:61;66557:10;43986:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;43986:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;43986:60:0;;;;;;;;;;44062:55;;7979:41:1;;;43986:49:0;;66557:10;44062:55;;7952:18:1;44062:55:0;;;;;;;43817:308;;:::o;50662:399::-;50829:31;50842:4;50848:2;50852:7;50829:12;:31::i;:::-;-1:-1:-1;;;;;50875:14:0;;;:19;50871:183;;50914:56;50945:4;50951:2;50955:7;50964:5;50914:30;:56::i;:::-;50909:145;;50998:40;;-1:-1:-1;;;50998:40:0;;;;;;;;;;;50909:145;50662:399;;;;:::o;71100:608::-;71166:13;71431:17;71439:8;71431:7;:17::i;:::-;71423:77;;;;-1:-1:-1;;;71423:77:0;;10362:2:1;71423:77:0;;;10344:21:1;10401:2;10381:18;;;10374:30;10440:34;10420:18;;;10413:62;-1:-1:-1;;;10491:18:1;;;10484:45;10546:19;;71423:77:0;10160:411:1;71423:77:0;71525:8;;;;71521:180;;;71581:11;71594:26;71611:8;71594:16;:26::i;:::-;71564:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71550:81;;71100:608;;;:::o;71521:180::-;71680:9;71673:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71100:608;;;:::o;71521:180::-;71100:608;;;:::o;72015:87::-;15860:13;:11;:13::i;:::-;72077:8:::1;:17:::0;;-1:-1:-1;;72077:17:0::1;::::0;::::1;;::::0;;;::::1;::::0;;72015:87::o;70109:292::-;15860:13;:11;:13::i;:::-;70224:1:::1;70213:8;:12;70197:65;;;::::0;-1:-1:-1;;;70197:65:0;;10778:2:1;70197:65:0::1;::::0;::::1;10760:21:1::0;10817:2;10797:18;;;10790:30;-1:-1:-1;;;10836:18:1;;;10829:49;10895:18;;70197:65:0::1;10576:343:1::0;70197:65:0::1;70313:9;;70301:8;70285:13;70094:1:::0;32801:12;32588:7;32785:13;:28;-1:-1:-1;;32785:46:0;;32527:323;70285:13:::1;:24;;;;:::i;:::-;:37;;70269:94;;;::::0;-1:-1:-1;;;70269:94:0;;9649:2:1;70269:94:0::1;::::0;::::1;9631:21:1::0;9688:2;9668:18;;;9661:30;-1:-1:-1;;;9707:18:1;;;9700:53;9770:18;;70269:94:0::1;9447:347:1::0;70269:94:0::1;70370:25;70380:4;70386:8;70370:9;:25::i;16880:201::-:0;15860:13;:11;:13::i;:::-;-1:-1:-1;;;;;16969:22:0;::::1;16961:73;;;::::0;-1:-1:-1;;;16961:73:0;;8457:2:1;16961:73:0::1;::::0;::::1;8439:21:1::0;8496:2;8476:18;;;8469:30;8535:34;8515:18;;;8508:62;-1:-1:-1;;;8586:18:1;;;8579:36;8632:19;;16961:73:0::1;8255:402:1::0;16961:73:0::1;17045:28;17064:8;17045:18;:28::i;44704:282::-:0;44769:4;44825:7;70094:1;44806:26;;:66;;;;;44859:13;;44849:7;:23;44806:66;:153;;;;-1:-1:-1;;44910:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44910:44:0;:49;;44704:282::o;16139:132::-;16047:6;;-1:-1:-1;;;;;16047:6:0;66557:10;16203:23;16195:68;;;;-1:-1:-1;;;16195:68:0;;10001:2:1;16195:68:0;;;9983:21:1;;;10020:18;;;10013:30;10079:34;10059:18;;;10052:62;10131:18;;16195:68:0;9799:356:1;39324:1275:0;39391:7;39426;;70094:1;39475:23;39471:1061;;39528:13;;39521:4;:20;39517:1015;;;39566:14;39583:23;;;:17;:23;;;;;;-1:-1:-1;;;39672:24:0;;39668:845;;40337:113;40344:11;40337:113;;-1:-1:-1;;;40415:6:0;40397:25;;;;:17;:25;;;;;;40337:113;;;40483:6;39324:1275;-1:-1:-1;;;39324:1275:0:o;39668:845::-;39543:989;39517:1015;40560:31;;-1:-1:-1;;;40560:31:0;;;;;;;;;;;5028:317;5143:6;5118:21;:31;;5110:73;;;;-1:-1:-1;;;5110:73:0;;9291:2:1;5110:73:0;;;9273:21:1;9330:2;9310:18;;;9303:30;9369:31;9349:18;;;9342:59;9418:18;;5110:73:0;9089:353:1;5110:73:0;5197:12;5215:9;-1:-1:-1;;;;;5215:14:0;5237:6;5215:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5196:52;;;5267:7;5259:78;;;;-1:-1:-1;;;5259:78:0;;8864:2:1;5259:78:0;;;8846:21:1;8903:2;8883:18;;;8876:30;8942:34;8922:18;;;8915:62;9013:28;8993:18;;;8986:56;9059:19;;5259:78:0;8662:422:1;17241:191:0;17334:6;;;-1:-1:-1;;;;;17351:17:0;;;-1:-1:-1;;;;;;17351:17:0;;;;;;;17384:40;;17334:6;;;17351:17;17334:6;;17384:40;;17315:16;;17384:40;17304:128;17241:191;:::o;60302:112::-;60379:27;60389:2;60393:8;60379:27;;;;;;;;;;;;:9;:27::i;53145:716::-;53329:88;;-1:-1:-1;;;53329:88:0;;53308:4;;-1:-1:-1;;;;;53329:45:0;;;;;:88;;66557:10;;53396:4;;53402:7;;53411:5;;53329:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53329:88:0;;;;;;;;-1:-1:-1;;53329:88:0;;;;;;;;;;;;:::i;:::-;;;53325:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53612:13:0;;53608:235;;53658:40;;-1:-1:-1;;;53658:40:0;;;;;;;;;;;53608:235;53801:6;53795:13;53786:6;53782:2;53778:15;53771:38;53325:529;-1:-1:-1;;;;;;53488:64:0;-1:-1:-1;;;53488:64:0;;-1:-1:-1;53325:529:0;53145:716;;;;;;:::o;467:723::-;523:13;744:10;740:53;;-1:-1:-1;;771:10:0;;;;;;;;;;;;-1:-1:-1;;;771:10:0;;;;;467:723::o;740:53::-;818:5;803:12;859:78;866:9;;859:78;;892:8;;;;:::i;:::-;;-1:-1:-1;915:10:0;;-1:-1:-1;923:2:0;915:10;;:::i;:::-;;;859:78;;;947:19;979:6;969:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;969:17:0;;947:39;;997:154;1004:10;;997:154;;1031:11;1041:1;1031:11;;:::i;:::-;;-1:-1:-1;1100:10:0;1108:2;1100:5;:10;:::i;:::-;1087:24;;:2;:24;:::i;:::-;1074:39;;1057:6;1064;1057:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1057:56:0;;;;;;;;-1:-1:-1;1128:11:0;1137:2;1128:11;;:::i;:::-;;;997:154;;59529:689;59660:19;59666:2;59670:8;59660:5;:19::i;:::-;-1:-1:-1;;;;;59721:14:0;;;:19;59717:483;;59761:11;59775:13;59823:14;;;59856:233;59887:62;59926:1;59930:2;59934:7;;;;;;59943:5;59887:30;:62::i;:::-;59882:167;;59985:40;;-1:-1:-1;;;59985:40:0;;;;;;;;;;;59882:167;60084:3;60076:5;:11;59856:233;;60171:3;60154:13;;:20;60150:34;;60176:8;;;60150:34;59742:458;;59529:689;;;:::o;54323:2454::-;54396:20;54419:13;54447;54443:44;;54469:18;;-1:-1:-1;;;54469:18:0;;;;;;;;;;;54443:44;-1:-1:-1;;;;;54975:22:0;;;;;;:18;:22;;;;28008:2;54975:22;;;:71;;55013:32;55001:45;;54975:71;;;55289:31;;;:17;:31;;;;;-1:-1:-1;41989:15:0;;41963:24;41959:46;41558:11;41533:23;41529:41;41526:52;41516:63;;55289:173;;55524:23;;;;55289:31;;54975:22;;56023:25;54975:22;;55876:335;56291:1;56277:12;56273:20;56231:346;56332:3;56323:7;56320:16;56231:346;;56550:7;56540:8;56537:1;56510:25;56507:1;56504;56499:59;56385:1;56372:15;56231:346;;;-1:-1:-1;56610:13:0;56606:45;;56632:19;;-1:-1:-1;;;56632:19:0;;;;;;;;;;;56606:45;56668:13;:19;-1:-1:-1;49879: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:221;1036:5;1089:3;1082:4;1074:6;1070:17;1066:27;1056:55;;1107:1;1104;1097:12;1056:55;1129:79;1204:3;1195:6;1182:20;1175:4;1167:6;1163:17;1129:79;:::i;1219:186::-;1278:6;1331:2;1319:9;1310:7;1306:23;1302:32;1299:52;;;1347:1;1344;1337:12;1299:52;1370:29;1389:9;1370:29;:::i;1410:260::-;1478:6;1486;1539:2;1527:9;1518:7;1514:23;1510:32;1507:52;;;1555:1;1552;1545:12;1507:52;1578:29;1597:9;1578:29;:::i;:::-;1568:39;;1626:38;1660:2;1649:9;1645:18;1626:38;:::i;:::-;1616:48;;1410:260;;;;;:::o;1675:328::-;1752:6;1760;1768;1821:2;1809:9;1800:7;1796:23;1792:32;1789:52;;;1837:1;1834;1827:12;1789:52;1860:29;1879:9;1860:29;:::i;:::-;1850:39;;1908:38;1942:2;1931:9;1927:18;1908:38;:::i;:::-;1898:48;;1993:2;1982:9;1978:18;1965:32;1955:42;;1675:328;;;;;:::o;2008:666::-;2103:6;2111;2119;2127;2180:3;2168:9;2159:7;2155:23;2151:33;2148:53;;;2197:1;2194;2187:12;2148:53;2220:29;2239:9;2220:29;:::i;:::-;2210:39;;2268:38;2302:2;2291:9;2287:18;2268:38;:::i;:::-;2258:48;;2353:2;2342:9;2338:18;2325:32;2315:42;;2408:2;2397:9;2393:18;2380:32;2435:18;2427:6;2424:30;2421:50;;;2467:1;2464;2457:12;2421:50;2490:22;;2543:4;2535:13;;2531:27;-1:-1:-1;2521:55:1;;2572:1;2569;2562:12;2521:55;2595:73;2660:7;2655:2;2642:16;2637:2;2633;2629:11;2595:73;:::i;:::-;2585:83;;;2008:666;;;;;;;:::o;2679:254::-;2744:6;2752;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;:::-;2834:39;;2892:35;2923:2;2912:9;2908:18;2892:35;:::i;2938:254::-;3006:6;3014;3067:2;3055:9;3046:7;3042:23;3038:32;3035:52;;;3083:1;3080;3073:12;3035:52;3106:29;3125:9;3106:29;:::i;:::-;3096:39;3182:2;3167:18;;;;3154:32;;-1:-1:-1;;;2938:254:1:o;3197:180::-;3253:6;3306:2;3294:9;3285:7;3281:23;3277:32;3274:52;;;3322:1;3319;3312:12;3274:52;3345:26;3361:9;3345:26;:::i;3382:390::-;3457:6;3465;3518:2;3506:9;3497:7;3493:23;3489:32;3486:52;;;3534:1;3531;3524:12;3486:52;3557:26;3573:9;3557:26;:::i;:::-;3547:36;;3634:2;3623:9;3619:18;3606:32;3661:18;3653:6;3650:30;3647:50;;;3693:1;3690;3683:12;3647:50;3716;3758:7;3749:6;3738:9;3734:22;3716:50;:::i;:::-;3706:60;;;3382:390;;;;;:::o;3777:245::-;3835:6;3888:2;3876:9;3867:7;3863:23;3859:32;3856:52;;;3904:1;3901;3894:12;3856:52;3943:9;3930:23;3962:30;3986:5;3962:30;:::i;4027:249::-;4096:6;4149:2;4137:9;4128:7;4124:23;4120:32;4117:52;;;4165:1;4162;4155:12;4117:52;4197:9;4191:16;4216:30;4240:5;4216:30;:::i;4281:322::-;4350:6;4403:2;4391:9;4382:7;4378:23;4374:32;4371:52;;;4419:1;4416;4409:12;4371:52;4459:9;4446:23;4492:18;4484:6;4481:30;4478:50;;;4524:1;4521;4514:12;4478:50;4547;4589:7;4580:6;4569:9;4565:22;4547:50;:::i;4608:180::-;4667:6;4720:2;4708:9;4699:7;4695:23;4691:32;4688:52;;;4736:1;4733;4726:12;4688:52;-1:-1:-1;4759:23:1;;4608:180;-1:-1:-1;4608:180:1:o;4793:254::-;4861:6;4869;4922:2;4910:9;4901:7;4897:23;4893:32;4890:52;;;4938:1;4935;4928:12;4890:52;4974:9;4961:23;4951:33;;5003:38;5037:2;5026:9;5022:18;5003:38;:::i;5052:257::-;5093:3;5131:5;5125:12;5158:6;5153:3;5146:19;5174:63;5230:6;5223:4;5218:3;5214:14;5207:4;5200:5;5196:16;5174:63;:::i;:::-;5291:2;5270:15;-1:-1:-1;;5266:29:1;5257:39;;;;5298:4;5253:50;;5052:257;-1:-1:-1;;5052:257:1:o;5314:185::-;5356:3;5394:5;5388:12;5409:52;5454:6;5449:3;5442:4;5435:5;5431:16;5409:52;:::i;:::-;5477:16;;;;;5314:185;-1:-1:-1;;5314:185:1:o;5622:1301::-;5899:3;5928:1;5961:6;5955:13;5991:3;6013:1;6041:9;6037:2;6033:18;6023:28;;6101:2;6090:9;6086:18;6123;6113:61;;6167:4;6159:6;6155:17;6145:27;;6113:61;6193:2;6241;6233:6;6230:14;6210:18;6207:38;6204:165;;;-1:-1:-1;;;6268:33:1;;6324:4;6321:1;6314:15;6354:4;6275:3;6342:17;6204:165;6385:18;6412:104;;;;6530:1;6525:320;;;;6378:467;;6412:104;-1:-1:-1;;6445:24:1;;6433:37;;6490:16;;;;-1:-1:-1;6412:104:1;;6525:320;12244:1;12237:14;;;12281:4;12268:18;;6620:1;6634:165;6648:6;6645:1;6642:13;6634:165;;;6726:14;;6713:11;;;6706:35;6769:16;;;;6663:10;;6634:165;;;6638:3;;6828:6;6823:3;6819:16;6812:23;;6378:467;;;;;;;6861:56;6886:30;6912:3;6904:6;6886:30;:::i;:::-;-1:-1:-1;;;5564:20:1;;5609:1;5600:11;;5504:113;6861:56;6854:63;5622:1301;-1:-1:-1;;;;;5622:1301:1:o;7346:488::-;-1:-1:-1;;;;;7615:15:1;;;7597:34;;7667:15;;7662:2;7647:18;;7640:43;7714:2;7699:18;;7692:34;;;7762:3;7757:2;7742:18;;7735:31;;;7540:4;;7783:45;;7808:19;;7800:6;7783:45;:::i;:::-;7775:53;7346:488;-1:-1:-1;;;;;;7346:488:1:o;8031:219::-;8180:2;8169:9;8162:21;8143:4;8200:44;8240:2;8229:9;8225:18;8217:6;8200:44;:::i;12297:128::-;12337:3;12368:1;12364:6;12361:1;12358:13;12355:39;;;12374:18;;:::i;:::-;-1:-1:-1;12410:9:1;;12297:128::o;12430:120::-;12470:1;12496;12486:35;;12501:18;;:::i;:::-;-1:-1:-1;12535:9:1;;12430:120::o;12555:168::-;12595:7;12661:1;12657;12653:6;12649:14;12646:1;12643:21;12638:1;12631:9;12624:17;12620:45;12617:71;;;12668:18;;:::i;:::-;-1:-1:-1;12708:9:1;;12555:168::o;12728:125::-;12768:4;12796:1;12793;12790:8;12787:34;;;12801:18;;:::i;:::-;-1:-1:-1;12838:9:1;;12728:125::o;12858:258::-;12930:1;12940:113;12954:6;12951:1;12948:13;12940:113;;;13030:11;;;13024:18;13011:11;;;13004:39;12976:2;12969:10;12940:113;;;13071:6;13068:1;13065:13;13062:48;;;-1:-1:-1;;13106:1:1;13088:16;;13081:27;12858:258::o;13121:380::-;13200:1;13196:12;;;;13243;;;13264:61;;13318:4;13310:6;13306:17;13296:27;;13264:61;13371:2;13363:6;13360:14;13340:18;13337:38;13334:161;;;13417:10;13412:3;13408:20;13405:1;13398:31;13452:4;13449:1;13442:15;13480:4;13477:1;13470:15;13334:161;;13121:380;;;:::o;13506:135::-;13545:3;-1:-1:-1;;13566:17:1;;13563:43;;;13586:18;;:::i;:::-;-1:-1:-1;13633:1:1;13622:13;;13506:135::o;13646:112::-;13678:1;13704;13694:35;;13709:18;;:::i;:::-;-1:-1:-1;13743:9:1;;13646:112::o;13763:127::-;13824:10;13819:3;13815:20;13812:1;13805:31;13855:4;13852:1;13845:15;13879:4;13876:1;13869:15;13895:127;13956:10;13951:3;13947:20;13944:1;13937:31;13987:4;13984:1;13977:15;14011:4;14008:1;14001:15;14027:127;14088:10;14083:3;14079:20;14076:1;14069:31;14119:4;14116:1;14109:15;14143:4;14140:1;14133:15;14159:127;14220:10;14215:3;14211:20;14208:1;14201:31;14251:4;14248:1;14241:15;14275:4;14272:1;14265:15;14291:131;-1:-1:-1;;;;;;14365:32:1;;14355:43;;14345:71;;14412:1;14409;14402:12
Swarm Source
ipfs://9fb35640c70ca2c2461955320fb29ecd7d6b74a703d2bb63c8f5a5437b98bada
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.