Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
268 DOD_NFT
Holders
165
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DOD_NFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFT721A
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-23 */ // File: https://github.com/OpenZeppelin/openzeppelin-solidity/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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: https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: https://github.com/OpenZeppelin/openzeppelin-solidity/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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: https://github.com/OpenZeppelin/openzeppelin-solidity/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: https://github.com/OpenZeppelin/openzeppelin-solidity/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: IERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: DOD.sol pragma solidity ^0.8.0; contract NFT721A is Ownable, ERC721A, ReentrancyGuard{ using SafeMath for uint256; uint256 public constant MAX_SUPPLY = 666; uint256 public maxCountPerAccount = 2; uint256 public price; uint256 public freeMintAmount; mapping(address => uint256) public minted; mapping(address => uint256) public freeMinted; bool private _isActive; string private _tokenBaseURI = ""; modifier onlyActive() { require(_isActive && totalSupply() < MAX_SUPPLY, "not active"); _; } constructor() public ERC721A("DenOfDemonsNFT", "DOD_NFT") { } ///////////////////////////////////////////////////////////// ////////////////// Public Functions //////////////////////// ///////////////////////////////////////////////////////////// function freemint(uint256 numberOfTokens) external onlyActive nonReentrant(){ require(numberOfTokens > 0, "zero count"); require(numberOfTokens <= MAX_SUPPLY.sub(totalSupply()), "not enough nfts"); require(numberOfTokens.add(freeMinted[msg.sender]) <= 1, "already minted"); require(freeMintAmount<=99,"free mint is over"); freeMinted[msg.sender] = freeMinted[msg.sender].add(numberOfTokens); freeMintAmount++; _safeMint(msg.sender,numberOfTokens); } function mint(uint256 numberOfTokens) external payable onlyActive nonReentrant() { require(numberOfTokens > 0, "zero count"); require(numberOfTokens <= MAX_SUPPLY.sub(totalSupply()), "not enough nfts"); require(numberOfTokens.add(minted[msg.sender]) <= maxCountPerAccount, "already max minted"); require(msg.value >=price * numberOfTokens, "payment insufficient"); minted[msg.sender] = minted[msg.sender].add(numberOfTokens); _safeMint(msg.sender, numberOfTokens); } function _baseURI() internal view override returns (string memory) { return _tokenBaseURI; } function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { return super.tokenURI(tokenId); } ///////////////////////////////////////////////////////////// ////////////////// Admin Functions //////////////////////// ///////////////////////////////////////////////////////////// function startSale() external onlyOwner { _isActive = true; } function reserve(uint256 numberOfTokens) external onlyOwner() { require(numberOfTokens <= MAX_SUPPLY.sub(totalSupply()), "not enough nfts"); _safeMint(msg.sender, numberOfTokens); } function endSale() external onlyOwner { _isActive = false; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setMaxMintPerAddr(uint256 _count) external onlyOwner { maxCountPerAccount = _count; } function setTokenBaseURI(string memory URI) external onlyOwner { _tokenBaseURI = URI; } function withdraw() external onlyOwner nonReentrant { uint256 balance = address(this).balance; Address.sendValue(payable(owner()), balance); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"freemint","outputs":[],"stateMutability":"nonpayable","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":"maxCountPerAccount","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":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_count","type":"uint256"}],"name":"setMaxMintPerAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6002600a5560a0604081905260006080819052620000209160109162000122565b503480156200002e57600080fd5b506040518060400160405280600e81526020016d11195b93d991195b5bdb9cd3919560921b815250604051806040016040528060078152602001661113d117d3919560ca1b815250620000906200008a620000ce60201b60201c565b620000d2565b8151620000a590600390602085019062000122565b508051620000bb90600490602084019062000122565b5050600060019081556009555062000205565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200013090620001c8565b90600052602060002090601f0160209004810192826200015457600085556200019f565b82601f106200016f57805160ff19168380011785556200019f565b828001600101855582156200019f579182015b828111156200019f57825182559160200191906001019062000182565b50620001ad929150620001b1565b5090565b5b80821115620001ad5760008155600101620001b2565b600181811c90821680620001dd57607f821691505b60208210811415620001ff57634e487b7160e01b600052602260045260246000fd5b50919050565b611b1b80620002156000396000f3fe6080604052600436106101e75760003560e01c806370a0823111610102578063a0712d6811610095578063b88d4fde11610064578063b88d4fde14610553578063c87b56dd14610573578063e985e9c514610593578063f2fde38b146105dc57600080fd5b8063a0712d68146104f5578063a22cb46514610508578063b0d1643d14610528578063b66a0e5d1461053e57600080fd5b80638ef79e91116100d15780638ef79e911461048a57806391b7f5ed146104aa57806395d89b41146104ca578063a035b1fe146104df57600080fd5b806370a0823114610417578063715018a614610437578063819b25ba1461044c5780638da5cb5b1461046c57600080fd5b806323b872dd1161017a5780633a467e3d116101495780633a467e3d146103ac5780633ccfd60b146103c257806342842e0e146103d75780636352211e146103f757600080fd5b806323b872dd1461033457806332cb6b0c14610354578063380d831b1461036a578063389fcf061461037f57600080fd5b80630fbe4fe2116101b65780630fbe4fe2146102a45780631300c014146102c457806318160ddd146102e45780631e7269c51461030757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b31461028257600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611863565b6105fc565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61064e565b60405161021f9190611997565b34801561025657600080fd5b5061026a6102653660046118e6565b6106e0565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611839565b610724565b005b3480156102b057600080fd5b506102a26102bf3660046118e6565b6107c4565b3480156102d057600080fd5b506102a26102df3660046118e6565b610999565b3480156102f057600080fd5b50600254600154035b60405190815260200161021f565b34801561031357600080fd5b506102f96103223660046116f7565b600d6020526000908152604090205481565b34801561034057600080fd5b506102a261034f366004611745565b6109a6565b34801561036057600080fd5b506102f961029a81565b34801561037657600080fd5b506102a2610b37565b34801561038b57600080fd5b506102f961039a3660046116f7565b600e6020526000908152604090205481565b3480156103b857600080fd5b506102f9600c5481565b3480156103ce57600080fd5b506102a2610b4b565b3480156103e357600080fd5b506102a26103f2366004611745565b610b84565b34801561040357600080fd5b5061026a6104123660046118e6565b610ba4565b34801561042357600080fd5b506102f96104323660046116f7565b610baf565b34801561044357600080fd5b506102a2610bfe565b34801561045857600080fd5b506102a26104673660046118e6565b610c10565b34801561047857600080fd5b506000546001600160a01b031661026a565b34801561049657600080fd5b506102a26104a536600461189d565b610c51565b3480156104b657600080fd5b506102a26104c53660046118e6565b610c70565b3480156104d657600080fd5b5061023d610c7d565b3480156104eb57600080fd5b506102f9600b5481565b6102a26105033660046118e6565b610c8c565b34801561051457600080fd5b506102a26105233660046117fd565b610e44565b34801561053457600080fd5b506102f9600a5481565b34801561054a57600080fd5b506102a2610eda565b34801561055f57600080fd5b506102a261056e366004611781565b610ef1565b34801561057f57600080fd5b5061023d61058e3660046118e6565b610f3b565b34801561059f57600080fd5b506102136105ae366004611712565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105e857600080fd5b506102a26105f73660046116f7565b610f46565b60006301ffc9a760e01b6001600160e01b03198316148061062d57506380ac58cd60e01b6001600160e01b03198316145b806106485750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461065d90611a4d565b80601f016020809104026020016040519081016040528092919081815260200182805461068990611a4d565b80156106d65780601f106106ab576101008083540402835291602001916106d6565b820191906000526020600020905b8154815290600101906020018083116106b957829003601f168201915b5050505050905090565b60006106eb82610fbc565b610708576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061072f82610ba4565b9050336001600160a01b038216146107685761074b81336105ae565b610768576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600f5460ff1680156107e3575061029a6107e16002546001540390565b105b6108215760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b60448201526064015b60405180910390fd5b610829610fe4565b600081116108665760405162461bcd60e51b815260206004820152600a6024820152691e995c9bc818dbdd5b9d60b21b6044820152606401610818565b61087f6108766002546001540390565b61029a9061103e565b81111561089e5760405162461bcd60e51b8152600401610818906119aa565b336000908152600e60205260409020546001906108bc908390611051565b11156108fb5760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481b5a5b9d195960921b6044820152606401610818565b6063600c5411156109425760405162461bcd60e51b8152602060048201526011602482015270333932b29036b4b73a1034b99037bb32b960791b6044820152606401610818565b336000908152600e602052604090205461095c9082611051565b336000908152600e6020526040812091909155600c80549161097d83611a88565b919050555061098c338261105d565b6109966001600955565b50565b6109a1611077565b600a55565b60006109b1826110d1565b9050836001600160a01b0316816001600160a01b0316146109e45760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610a3157610a1486336105ae565b610a3157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5857604051633a954ecd60e21b815260040160405180910390fd5b8015610a6357600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610aee5760018401600081815260056020526040902054610aec576001548114610aec5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b3f611077565b600f805460ff19169055565b610b53611077565b610b5b610fe4565b47610b77610b716000546001600160a01b031690565b82611132565b50610b826001600955565b565b610b9f83838360405180602001604052806000815250610ef1565b505050565b6000610648826110d1565b60006001600160a01b038216610bd8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610c06611077565b610b82600061124b565b610c18611077565b610c286108766002546001540390565b811115610c475760405162461bcd60e51b8152600401610818906119aa565b610996338261105d565b610c59611077565b8051610c6c9060109060208401906115cc565b5050565b610c78611077565b600b55565b60606004805461065d90611a4d565b600f5460ff168015610cab575061029a610ca96002546001540390565b105b610ce45760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b6044820152606401610818565b610cec610fe4565b60008111610d295760405162461bcd60e51b815260206004820152600a6024820152691e995c9bc818dbdd5b9d60b21b6044820152606401610818565b610d396108766002546001540390565b811115610d585760405162461bcd60e51b8152600401610818906119aa565b600a54336000908152600d6020526040902054610d76908390611051565b1115610db95760405162461bcd60e51b8152602060048201526012602482015271185b1c9958591e481b585e081b5a5b9d195960721b6044820152606401610818565b80600b54610dc791906119eb565b341015610e0d5760405162461bcd60e51b81526020600482015260146024820152731c185e5b595b9d081a5b9cdd59999a58da595b9d60621b6044820152606401610818565b336000908152600d6020526040902054610e279082611051565b336000818152600d602052604090209190915561098c908261105d565b6001600160a01b038216331415610e6e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ee2611077565b600f805460ff19166001179055565b610efc8484846109a6565b6001600160a01b0383163b15610f3557610f188484848461129b565b610f35576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061064882611393565b610f4e611077565b6001600160a01b038116610fb35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610818565b6109968161124b565b600060015482108015610648575050600090815260056020526040902054600160e01b161590565b600260095414156110375760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610818565b6002600955565b600061104a8284611a0a565b9392505050565b600061104a82846119d3565b610c6c828260405180602001604052806000815250611417565b6000546001600160a01b03163314610b825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610818565b60008160015481101561111957600081815260056020526040902054600160e01b8116611117575b8061104a5750600019016000818152600560205260409020546110f9565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156111825760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610818565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146111cf576040519150601f19603f3d011682016040523d82523d6000602084013e6111d4565b606091505b5050905080610b9f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610818565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112d090339089908890889060040161195a565b602060405180830381600087803b1580156112ea57600080fd5b505af192505050801561131a575060408051601f3d908101601f1916820190925261131791810190611880565b60015b611375573d808015611348576040519150601f19603f3d011682016040523d82523d6000602084013e61134d565b606091505b50805161136d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606061139e82610fbc565b6113bb57604051630a14c4b560e41b815260040160405180910390fd5b60006113c5611484565b90508051600014156113e6576040518060200160405280600081525061104a565b806113f084611493565b60405160200161140192919061192b565b6040516020818303038152906040529392505050565b61142183836114d5565b6001600160a01b0383163b15610b9f576001548281035b61144b600086838060010194508661129b565b611468576040516368d2bf6b60e11b815260040160405180910390fd5b81811061143857816001541461147d57600080fd5b5050505050565b60606010805461065d90611a4d565b604080516080019081905280825b600183039250600a81066030018353600a9004806114be576114c3565b6114a1565b50819003601f19909101908152919050565b600154816114f65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115a557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161156d565b50816115c357604051622e076360e81b815260040160405180910390fd5b60015550505050565b8280546115d890611a4d565b90600052602060002090601f0160209004810192826115fa5760008555611640565b82601f1061161357805160ff1916838001178555611640565b82800160010185558215611640579182015b82811115611640578251825591602001919060010190611625565b5061164c929150611650565b5090565b5b8082111561164c5760008155600101611651565b600067ffffffffffffffff8084111561168057611680611ab9565b604051601f8501601f19908116603f011681019082821181831017156116a8576116a8611ab9565b816040528093508581528686860111156116c157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146116f257600080fd5b919050565b60006020828403121561170957600080fd5b61104a826116db565b6000806040838503121561172557600080fd5b61172e836116db565b915061173c602084016116db565b90509250929050565b60008060006060848603121561175a57600080fd5b611763846116db565b9250611771602085016116db565b9150604084013590509250925092565b6000806000806080858703121561179757600080fd5b6117a0856116db565b93506117ae602086016116db565b925060408501359150606085013567ffffffffffffffff8111156117d157600080fd5b8501601f810187136117e257600080fd5b6117f187823560208401611665565b91505092959194509250565b6000806040838503121561181057600080fd5b611819836116db565b91506020830135801515811461182e57600080fd5b809150509250929050565b6000806040838503121561184c57600080fd5b611855836116db565b946020939093013593505050565b60006020828403121561187557600080fd5b813561104a81611acf565b60006020828403121561189257600080fd5b815161104a81611acf565b6000602082840312156118af57600080fd5b813567ffffffffffffffff8111156118c657600080fd5b8201601f810184136118d757600080fd5b61138b84823560208401611665565b6000602082840312156118f857600080fd5b5035919050565b60008151808452611917816020860160208601611a21565b601f01601f19169290920160200192915050565b6000835161193d818460208801611a21565b835190830190611951818360208801611a21565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061198d908301846118ff565b9695505050505050565b60208152600061104a60208301846118ff565b6020808252600f908201526e6e6f7420656e6f756768206e66747360881b604082015260600190565b600082198211156119e6576119e6611aa3565b500190565b6000816000190483118215151615611a0557611a05611aa3565b500290565b600082821015611a1c57611a1c611aa3565b500390565b60005b83811015611a3c578181015183820152602001611a24565b83811115610f355750506000910152565b600181811c90821680611a6157607f821691505b60208210811415611a8257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a9c57611a9c611aa3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461099657600080fdfea2646970667358221220ea38350352992fb8660948388d2d843c86f7ac7ab2535167eaa2c19609e035df64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101e75760003560e01c806370a0823111610102578063a0712d6811610095578063b88d4fde11610064578063b88d4fde14610553578063c87b56dd14610573578063e985e9c514610593578063f2fde38b146105dc57600080fd5b8063a0712d68146104f5578063a22cb46514610508578063b0d1643d14610528578063b66a0e5d1461053e57600080fd5b80638ef79e91116100d15780638ef79e911461048a57806391b7f5ed146104aa57806395d89b41146104ca578063a035b1fe146104df57600080fd5b806370a0823114610417578063715018a614610437578063819b25ba1461044c5780638da5cb5b1461046c57600080fd5b806323b872dd1161017a5780633a467e3d116101495780633a467e3d146103ac5780633ccfd60b146103c257806342842e0e146103d75780636352211e146103f757600080fd5b806323b872dd1461033457806332cb6b0c14610354578063380d831b1461036a578063389fcf061461037f57600080fd5b80630fbe4fe2116101b65780630fbe4fe2146102a45780631300c014146102c457806318160ddd146102e45780631e7269c51461030757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b31461028257600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611863565b6105fc565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61064e565b60405161021f9190611997565b34801561025657600080fd5b5061026a6102653660046118e6565b6106e0565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611839565b610724565b005b3480156102b057600080fd5b506102a26102bf3660046118e6565b6107c4565b3480156102d057600080fd5b506102a26102df3660046118e6565b610999565b3480156102f057600080fd5b50600254600154035b60405190815260200161021f565b34801561031357600080fd5b506102f96103223660046116f7565b600d6020526000908152604090205481565b34801561034057600080fd5b506102a261034f366004611745565b6109a6565b34801561036057600080fd5b506102f961029a81565b34801561037657600080fd5b506102a2610b37565b34801561038b57600080fd5b506102f961039a3660046116f7565b600e6020526000908152604090205481565b3480156103b857600080fd5b506102f9600c5481565b3480156103ce57600080fd5b506102a2610b4b565b3480156103e357600080fd5b506102a26103f2366004611745565b610b84565b34801561040357600080fd5b5061026a6104123660046118e6565b610ba4565b34801561042357600080fd5b506102f96104323660046116f7565b610baf565b34801561044357600080fd5b506102a2610bfe565b34801561045857600080fd5b506102a26104673660046118e6565b610c10565b34801561047857600080fd5b506000546001600160a01b031661026a565b34801561049657600080fd5b506102a26104a536600461189d565b610c51565b3480156104b657600080fd5b506102a26104c53660046118e6565b610c70565b3480156104d657600080fd5b5061023d610c7d565b3480156104eb57600080fd5b506102f9600b5481565b6102a26105033660046118e6565b610c8c565b34801561051457600080fd5b506102a26105233660046117fd565b610e44565b34801561053457600080fd5b506102f9600a5481565b34801561054a57600080fd5b506102a2610eda565b34801561055f57600080fd5b506102a261056e366004611781565b610ef1565b34801561057f57600080fd5b5061023d61058e3660046118e6565b610f3b565b34801561059f57600080fd5b506102136105ae366004611712565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105e857600080fd5b506102a26105f73660046116f7565b610f46565b60006301ffc9a760e01b6001600160e01b03198316148061062d57506380ac58cd60e01b6001600160e01b03198316145b806106485750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461065d90611a4d565b80601f016020809104026020016040519081016040528092919081815260200182805461068990611a4d565b80156106d65780601f106106ab576101008083540402835291602001916106d6565b820191906000526020600020905b8154815290600101906020018083116106b957829003601f168201915b5050505050905090565b60006106eb82610fbc565b610708576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061072f82610ba4565b9050336001600160a01b038216146107685761074b81336105ae565b610768576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600f5460ff1680156107e3575061029a6107e16002546001540390565b105b6108215760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b60448201526064015b60405180910390fd5b610829610fe4565b600081116108665760405162461bcd60e51b815260206004820152600a6024820152691e995c9bc818dbdd5b9d60b21b6044820152606401610818565b61087f6108766002546001540390565b61029a9061103e565b81111561089e5760405162461bcd60e51b8152600401610818906119aa565b336000908152600e60205260409020546001906108bc908390611051565b11156108fb5760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481b5a5b9d195960921b6044820152606401610818565b6063600c5411156109425760405162461bcd60e51b8152602060048201526011602482015270333932b29036b4b73a1034b99037bb32b960791b6044820152606401610818565b336000908152600e602052604090205461095c9082611051565b336000908152600e6020526040812091909155600c80549161097d83611a88565b919050555061098c338261105d565b6109966001600955565b50565b6109a1611077565b600a55565b60006109b1826110d1565b9050836001600160a01b0316816001600160a01b0316146109e45760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610a3157610a1486336105ae565b610a3157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5857604051633a954ecd60e21b815260040160405180910390fd5b8015610a6357600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610aee5760018401600081815260056020526040902054610aec576001548114610aec5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b3f611077565b600f805460ff19169055565b610b53611077565b610b5b610fe4565b47610b77610b716000546001600160a01b031690565b82611132565b50610b826001600955565b565b610b9f83838360405180602001604052806000815250610ef1565b505050565b6000610648826110d1565b60006001600160a01b038216610bd8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610c06611077565b610b82600061124b565b610c18611077565b610c286108766002546001540390565b811115610c475760405162461bcd60e51b8152600401610818906119aa565b610996338261105d565b610c59611077565b8051610c6c9060109060208401906115cc565b5050565b610c78611077565b600b55565b60606004805461065d90611a4d565b600f5460ff168015610cab575061029a610ca96002546001540390565b105b610ce45760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b6044820152606401610818565b610cec610fe4565b60008111610d295760405162461bcd60e51b815260206004820152600a6024820152691e995c9bc818dbdd5b9d60b21b6044820152606401610818565b610d396108766002546001540390565b811115610d585760405162461bcd60e51b8152600401610818906119aa565b600a54336000908152600d6020526040902054610d76908390611051565b1115610db95760405162461bcd60e51b8152602060048201526012602482015271185b1c9958591e481b585e081b5a5b9d195960721b6044820152606401610818565b80600b54610dc791906119eb565b341015610e0d5760405162461bcd60e51b81526020600482015260146024820152731c185e5b595b9d081a5b9cdd59999a58da595b9d60621b6044820152606401610818565b336000908152600d6020526040902054610e279082611051565b336000818152600d602052604090209190915561098c908261105d565b6001600160a01b038216331415610e6e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ee2611077565b600f805460ff19166001179055565b610efc8484846109a6565b6001600160a01b0383163b15610f3557610f188484848461129b565b610f35576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061064882611393565b610f4e611077565b6001600160a01b038116610fb35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610818565b6109968161124b565b600060015482108015610648575050600090815260056020526040902054600160e01b161590565b600260095414156110375760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610818565b6002600955565b600061104a8284611a0a565b9392505050565b600061104a82846119d3565b610c6c828260405180602001604052806000815250611417565b6000546001600160a01b03163314610b825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610818565b60008160015481101561111957600081815260056020526040902054600160e01b8116611117575b8061104a5750600019016000818152600560205260409020546110f9565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156111825760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610818565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146111cf576040519150601f19603f3d011682016040523d82523d6000602084013e6111d4565b606091505b5050905080610b9f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610818565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112d090339089908890889060040161195a565b602060405180830381600087803b1580156112ea57600080fd5b505af192505050801561131a575060408051601f3d908101601f1916820190925261131791810190611880565b60015b611375573d808015611348576040519150601f19603f3d011682016040523d82523d6000602084013e61134d565b606091505b50805161136d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606061139e82610fbc565b6113bb57604051630a14c4b560e41b815260040160405180910390fd5b60006113c5611484565b90508051600014156113e6576040518060200160405280600081525061104a565b806113f084611493565b60405160200161140192919061192b565b6040516020818303038152906040529392505050565b61142183836114d5565b6001600160a01b0383163b15610b9f576001548281035b61144b600086838060010194508661129b565b611468576040516368d2bf6b60e11b815260040160405180910390fd5b81811061143857816001541461147d57600080fd5b5050505050565b60606010805461065d90611a4d565b604080516080019081905280825b600183039250600a81066030018353600a9004806114be576114c3565b6114a1565b50819003601f19909101908152919050565b600154816114f65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115a557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161156d565b50816115c357604051622e076360e81b815260040160405180910390fd5b60015550505050565b8280546115d890611a4d565b90600052602060002090601f0160209004810192826115fa5760008555611640565b82601f1061161357805160ff1916838001178555611640565b82800160010185558215611640579182015b82811115611640578251825591602001919060010190611625565b5061164c929150611650565b5090565b5b8082111561164c5760008155600101611651565b600067ffffffffffffffff8084111561168057611680611ab9565b604051601f8501601f19908116603f011681019082821181831017156116a8576116a8611ab9565b816040528093508581528686860111156116c157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146116f257600080fd5b919050565b60006020828403121561170957600080fd5b61104a826116db565b6000806040838503121561172557600080fd5b61172e836116db565b915061173c602084016116db565b90509250929050565b60008060006060848603121561175a57600080fd5b611763846116db565b9250611771602085016116db565b9150604084013590509250925092565b6000806000806080858703121561179757600080fd5b6117a0856116db565b93506117ae602086016116db565b925060408501359150606085013567ffffffffffffffff8111156117d157600080fd5b8501601f810187136117e257600080fd5b6117f187823560208401611665565b91505092959194509250565b6000806040838503121561181057600080fd5b611819836116db565b91506020830135801515811461182e57600080fd5b809150509250929050565b6000806040838503121561184c57600080fd5b611855836116db565b946020939093013593505050565b60006020828403121561187557600080fd5b813561104a81611acf565b60006020828403121561189257600080fd5b815161104a81611acf565b6000602082840312156118af57600080fd5b813567ffffffffffffffff8111156118c657600080fd5b8201601f810184136118d757600080fd5b61138b84823560208401611665565b6000602082840312156118f857600080fd5b5035919050565b60008151808452611917816020860160208601611a21565b601f01601f19169290920160200192915050565b6000835161193d818460208801611a21565b835190830190611951818360208801611a21565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061198d908301846118ff565b9695505050505050565b60208152600061104a60208301846118ff565b6020808252600f908201526e6e6f7420656e6f756768206e66747360881b604082015260600190565b600082198211156119e6576119e6611aa3565b500190565b6000816000190483118215151615611a0557611a05611aa3565b500290565b600082821015611a1c57611a1c611aa3565b500390565b60005b83811015611a3c578181015183820152602001611a24565b83811115610f355750506000910152565b600181811c90821680611a6157607f821691505b60208210811415611a8257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a9c57611a9c611aa3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461099657600080fdfea2646970667358221220ea38350352992fb8660948388d2d843c86f7ac7ab2535167eaa2c19609e035df64736f6c63430008070033
Deployed Bytecode Sourcemap
74042:3288:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41592:639;;;;;;;;;;-1:-1:-1;41592:639:0;;;;;:::i;:::-;;:::i;:::-;;;5856:14:1;;5849:22;5831:41;;5819:2;5804:18;41592:639:0;;;;;;;;42494:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;48977:218::-;;;;;;;;;;-1:-1:-1;48977:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5154:32:1;;;5136:51;;5124:2;5109:18;48977:218:0;4990:203:1;48418:400:0;;;;;;;;;;-1:-1:-1;48418:400:0;;;;;:::i;:::-;;:::i;:::-;;74889:519;;;;;;;;;;-1:-1:-1;74889:519:0;;;;;:::i;:::-;;:::i;76898:108::-;;;;;;;;;;-1:-1:-1;76898:108:0;;;;;:::i;:::-;;:::i;38245:323::-;;;;;;;;;;-1:-1:-1;38519:12:0;;38503:13;;:28;38245:323;;;10573:25:1;;;10561:2;10546:18;38245:323:0;10427:177:1;74313:41:0;;;;;;;;;;-1:-1:-1;74313:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;52684:2817;;;;;;;;;;-1:-1:-1;52684:2817:0;;;;;:::i;:::-;;:::i;74146:40::-;;;;;;;;;;;;74183:3;74146:40;;76722:74;;;;;;;;;;;;;:::i;74363:45::-;;;;;;;;;;-1:-1:-1;74363:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;74275:29;;;;;;;;;;;;;;;;77123:165;;;;;;;;;;;;;:::i;55597:185::-;;;;;;;;;;-1:-1:-1;55597:185:0;;;;;:::i;:::-;;:::i;43887:152::-;;;;;;;;;;-1:-1:-1;43887:152:0;;;;;:::i;:::-;;:::i;39429:233::-;;;;;;;;;;-1:-1:-1;39429:233:0;;;;;:::i;:::-;;:::i;22376:103::-;;;;;;;;;;;;;:::i;76510:204::-;;;;;;;;;;-1:-1:-1;76510:204:0;;;;;:::i;:::-;;:::i;21728:87::-;;;;;;;;;;-1:-1:-1;21774:7:0;21801:6;-1:-1:-1;;;;;21801:6:0;21728:87;;77014:101;;;;;;;;;;-1:-1:-1;77014:101:0;;;;;:::i;:::-;;:::i;76804:86::-;;;;;;;;;;-1:-1:-1;76804:86:0;;;;;:::i;:::-;;:::i;42670:104::-;;;;;;;;;;;;;:::i;74246:20::-;;;;;;;;;;;;;;;;75416:535;;;;;;:::i;:::-;;:::i;49535:308::-;;;;;;;;;;-1:-1:-1;49535:308:0;;;;;:::i;:::-;;:::i;74195:37::-;;;;;;;;;;;;;;;;76427:75;;;;;;;;;;;;;:::i;56380:399::-;;;;;;;;;;-1:-1:-1;56380:399:0;;;;;:::i;:::-;;:::i;76073:143::-;;;;;;;;;;-1:-1:-1;76073:143:0;;;;;:::i;:::-;;:::i;50000:164::-;;;;;;;;;;-1:-1:-1;50000:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;50121:25:0;;;50097:4;50121:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;50000:164;22634:201;;;;;;;;;;-1:-1:-1;22634:201:0;;;;;:::i;:::-;;:::i;41592:639::-;41677:4;-1:-1:-1;;;;;;;;;42001:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;42078:25:0;;;42001:102;:179;;;-1:-1:-1;;;;;;;;;;42155:25:0;;;42001:179;41981:199;41592:639;-1:-1:-1;;41592:639:0:o;42494:100::-;42548:13;42581:5;42574:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42494:100;:::o;48977:218::-;49053:7;49078:16;49086:7;49078;:16::i;:::-;49073:64;;49103:34;;-1:-1:-1;;;49103:34:0;;;;;;;;;;;49073:64;-1:-1:-1;49157:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;49157:30:0;;48977:218::o;48418:400::-;48499:13;48515:16;48523:7;48515;:16::i;:::-;48499:32;-1:-1:-1;72275:10:0;-1:-1:-1;;;;;48548:28:0;;;48544:175;;48596:44;48613:5;72275:10;50000:164;:::i;48596:44::-;48591:128;;48668:35;;-1:-1:-1;;;48668:35:0;;;;;;;;;;;48591:128;48731:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;48731:35:0;-1:-1:-1;;;;;48731:35:0;;;;;;;;;48782:28;;48731:24;;48782:28;;;;;;;48488:330;48418:400;;:::o;74889:519::-;74531:9;;;;:39;;;;;74183:3;74544:13;38519:12;;38503:13;;:28;;38245:323;74544:13;:26;74531:39;74523:62;;;;-1:-1:-1;;;74523:62:0;;6716:2:1;74523:62:0;;;6698:21:1;6755:2;6735:18;;;6728:30;-1:-1:-1;;;6774:18:1;;;6767:40;6824:18;;74523:62:0;;;;;;;;;18919:21:::1;:19;:21::i;:::-;75001:1:::2;74984:14;:18;74976:41;;;::::0;-1:-1:-1;;;74976:41:0;;9238:2:1;74976:41:0::2;::::0;::::2;9220:21:1::0;9277:2;9257:18;;;9250:30;-1:-1:-1;;;9296:18:1;;;9289:40;9346:18;;74976:41:0::2;9036:334:1::0;74976:41:0::2;75054:29;75069:13;38519:12:::0;;38503:13;;:28;;38245:323;75069:13:::2;74183:3;::::0;75054:14:::2;:29::i;:::-;75036:14;:47;;75028:75;;;;-1:-1:-1::0;;;75028:75:0::2;;;;;;;:::i;:::-;75152:10;75141:22;::::0;;;:10:::2;:22;::::0;;;;;75168:1:::2;::::0;75122:42:::2;::::0;:14;;:18:::2;:42::i;:::-;:47;;75114:74;;;::::0;-1:-1:-1;;;75114:74:0;;10286:2:1;75114:74:0::2;::::0;::::2;10268:21:1::0;10325:2;10305:18;;;10298:30;-1:-1:-1;;;10344:18:1;;;10337:44;10398:18;;75114:74:0::2;10084:338:1::0;75114:74:0::2;75223:2;75207:14;;:18;;75199:47;;;::::0;-1:-1:-1;;;75199:47:0;;8187:2:1;75199:47:0::2;::::0;::::2;8169:21:1::0;8226:2;8206:18;;;8199:30;-1:-1:-1;;;8245:18:1;;;8238:47;8302:18;;75199:47:0::2;7985:341:1::0;75199:47:0::2;75295:10;75284:22;::::0;;;:10:::2;:22;::::0;;;;;:42:::2;::::0;75311:14;75284:26:::2;:42::i;:::-;75270:10;75259:22;::::0;;;:10:::2;:22;::::0;;;;:67;;;;75337:14:::2;:16:::0;;;::::2;::::0;::::2;:::i;:::-;;;;;;75364:36;75374:10;75385:14;75364:9;:36::i;:::-;18963:20:::1;18357:1:::0;19483:7;:22;19300:213;18963:20:::1;74889:519:::0;:::o;76898:108::-;21614:13;:11;:13::i;:::-;76971:18:::1;:27:::0;76898:108::o;52684:2817::-;52818:27;52848;52867:7;52848:18;:27::i;:::-;52818:57;;52933:4;-1:-1:-1;;;;;52892:45:0;52908:19;-1:-1:-1;;;;;52892:45:0;;52888:86;;52946:28;;-1:-1:-1;;;52946:28:0;;;;;;;;;;;52888:86;52988:27;51798:24;;;:15;:24;;;;;52020:26;;72275:10;51423:30;;;-1:-1:-1;;;;;51116:28:0;;51401:20;;;51398:56;53174:180;;53267:43;53284:4;72275:10;50000:164;:::i;53267:43::-;53262:92;;53319:35;;-1:-1:-1;;;53319:35:0;;;;;;;;;;;53262:92;-1:-1:-1;;;;;53371:16:0;;53367:52;;53396:23;;-1:-1:-1;;;53396:23:0;;;;;;;;;;;53367:52;53568:15;53565:160;;;53708:1;53687:19;53680:30;53565:160;-1:-1:-1;;;;;54105:24:0;;;;;;;:18;:24;;;;;;54103:26;;-1:-1:-1;;54103:26:0;;;54174:22;;;;;;;;;54172:24;;-1:-1:-1;54172:24:0;;;47276:11;47251:23;47247:41;47234:63;-1:-1:-1;;;47234:63:0;54467:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;54762:47:0;;54758:627;;54867:1;54857:11;;54835:19;54990:30;;;:17;:30;;;;;;54986:384;;55128:13;;55113:11;:28;55109:242;;55275:30;;;;:17;:30;;;;;:52;;;55109:242;54816:569;54758:627;55432:7;55428:2;-1:-1:-1;;;;;55413:27:0;55422:4;-1:-1:-1;;;;;55413:27:0;;;;;;;;;;;52807:2694;;;52684:2817;;;:::o;76722:74::-;21614:13;:11;:13::i;:::-;76771:9:::1;:17:::0;;-1:-1:-1;;76771:17:0::1;::::0;;76722:74::o;77123:165::-;21614:13;:11;:13::i;:::-;18919:21:::1;:19;:21::i;:::-;77204::::2;77236:44;77262:7;21774::::0;21801:6;-1:-1:-1;;;;;21801:6:0;;21728:87;77262:7:::2;77272;77236:17;:44::i;:::-;77175:113;18963:20:::1;18357:1:::0;19483:7;:22;19300:213;18963:20:::1;77123:165::o:0;55597:185::-;55735:39;55752:4;55758:2;55762:7;55735:39;;;;;;;;;;;;:16;:39::i;:::-;55597:185;;;:::o;43887:152::-;43959:7;44002:27;44021:7;44002:18;:27::i;39429:233::-;39501:7;-1:-1:-1;;;;;39525:19:0;;39521:60;;39553:28;;-1:-1:-1;;;39553:28:0;;;;;;;;;;;39521:60;-1:-1:-1;;;;;;39599:25:0;;;;;:18;:25;;;;;;33588:13;39599:55;;39429:233::o;22376:103::-;21614:13;:11;:13::i;:::-;22441:30:::1;22468:1;22441:18;:30::i;76510:204::-:0;21614:13;:11;:13::i;:::-;76609:29:::1;76624:13;38519:12:::0;;38503:13;;:28;;38245:323;76609:29:::1;76591:14;:47;;76583:75;;;;-1:-1:-1::0;;;76583:75:0::1;;;;;;;:::i;:::-;76669:37;76679:10;76691:14;76669:9;:37::i;77014:101::-:0;21614:13;:11;:13::i;:::-;77088:19;;::::1;::::0;:13:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;:::-;;77014:101:::0;:::o;76804:86::-;21614:13;:11;:13::i;:::-;76868:5:::1;:14:::0;76804:86::o;42670:104::-;42726:13;42759:7;42752:14;;;;;:::i;75416:535::-;74531:9;;;;:39;;;;;74183:3;74544:13;38519:12;;38503:13;;:28;;38245:323;74544:13;:26;74531:39;74523:62;;;;-1:-1:-1;;;74523:62:0;;6716:2:1;74523:62:0;;;6698:21:1;6755:2;6735:18;;;6728:30;-1:-1:-1;;;6774:18:1;;;6767:40;6824:18;;74523:62:0;6514:334:1;74523:62:0;18919:21:::1;:19;:21::i;:::-;75533:1:::2;75516:14;:18;75508:41;;;::::0;-1:-1:-1;;;75508:41:0;;9238:2:1;75508:41:0::2;::::0;::::2;9220:21:1::0;9277:2;9257:18;;;9250:30;-1:-1:-1;;;9296:18:1;;;9289:40;9346:18;;75508:41:0::2;9036:334:1::0;75508:41:0::2;75586:29;75601:13;38519:12:::0;;38503:13;;:28;;38245:323;75586:29:::2;75568:14;:47;;75560:75;;;;-1:-1:-1::0;;;75560:75:0::2;;;;;;;:::i;:::-;75696:18;::::0;75680:10:::2;75673:18;::::0;;;:6:::2;:18;::::0;;;;;75654:38:::2;::::0;:14;;:18:::2;:38::i;:::-;:60;;75646:91;;;::::0;-1:-1:-1;;;75646:91:0;;7055:2:1;75646:91:0::2;::::0;::::2;7037:21:1::0;7094:2;7074:18;;;7067:30;-1:-1:-1;;;7113:18:1;;;7106:48;7171:18;;75646:91:0::2;6853:342:1::0;75646:91:0::2;75776:14;75768:5;;:22;;;;:::i;:::-;75756:9;:34;;75748:67;;;::::0;-1:-1:-1;;;75748:67:0;;9577:2:1;75748:67:0::2;::::0;::::2;9559:21:1::0;9616:2;9596:18;;;9589:30;-1:-1:-1;;;9635:18:1;;;9628:50;9695:18;;75748:67:0::2;9375:344:1::0;75748:67:0::2;75864:10;75857:18;::::0;;;:6:::2;:18;::::0;;;;;:38:::2;::::0;75880:14;75857:22:::2;:38::i;:::-;75843:10;75836:18;::::0;;;:6:::2;:18;::::0;;;;:59;;;;75906:37:::2;::::0;75928:14;75906:9:::2;:37::i;49535:308::-:0;-1:-1:-1;;;;;49634:31:0;;72275:10;49634:31;49630:61;;;49674:17;;-1:-1:-1;;;49674:17:0;;;;;;;;;;;49630:61;72275:10;49704:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;49704:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;49704:60:0;;;;;;;;;;49780:55;;5831:41:1;;;49704:49:0;;72275:10;49780:55;;5804:18:1;49780:55:0;;;;;;;49535:308;;:::o;76427:75::-;21614:13;:11;:13::i;:::-;76478:9:::1;:16:::0;;-1:-1:-1;;76478:16:0::1;76490:4;76478:16;::::0;;76427:75::o;56380:399::-;56547:31;56560:4;56566:2;56570:7;56547:12;:31::i;:::-;-1:-1:-1;;;;;56593:14:0;;;:19;56589:183;;56632:56;56663:4;56669:2;56673:7;56682:5;56632:30;:56::i;:::-;56627:145;;56716:40;;-1:-1:-1;;;56716:40:0;;;;;;;;;;;56627:145;56380:399;;;;:::o;76073:143::-;76147:13;76185:23;76200:7;76185:14;:23::i;22634:201::-;21614:13;:11;:13::i;:::-;-1:-1:-1;;;;;22723:22:0;::::1;22715:73;;;::::0;-1:-1:-1;;;22715:73:0;;6309:2:1;22715:73:0::1;::::0;::::1;6291:21:1::0;6348:2;6328:18;;;6321:30;6387:34;6367:18;;;6360:62;-1:-1:-1;;;6438:18:1;;;6431:36;6484:19;;22715:73:0::1;6107:402:1::0;22715:73:0::1;22799:28;22818:8;22799:18;:28::i;50422:282::-:0;50487:4;50577:13;;50567:7;:23;50524:153;;;;-1:-1:-1;;50628:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;50628:44:0;:49;;50422:282::o;18999:293::-;18401:1;19133:7;;:19;;19125:63;;;;-1:-1:-1;;;19125:63:0;;9926:2:1;19125:63:0;;;9908:21:1;9965:2;9945:18;;;9938:30;10004:33;9984:18;;;9977:61;10055:18;;19125:63:0;9724:355:1;19125:63:0;18401:1;19266:7;:18;18999:293::o;12765:98::-;12823:7;12850:5;12854:1;12850;:5;:::i;:::-;12843:12;12765:98;-1:-1:-1;;;12765:98:0:o;12384:::-;12442:7;12469:5;12473:1;12469;:5;:::i;66020:112::-;66097:27;66107:2;66111:8;66097:27;;;;;;;;;;;;:9;:27::i;21893:132::-;21774:7;21801:6;-1:-1:-1;;;;;21801:6:0;72275:10;21957:23;21949:68;;;;-1:-1:-1;;;21949:68:0;;8877:2:1;21949:68:0;;;8859:21:1;;;8896:18;;;8889:30;8955:34;8935:18;;;8928:62;9007:18;;21949:68:0;8675:356:1;45042:1275:0;45109:7;45144;45246:13;;45239:4;:20;45235:1015;;;45284:14;45301:23;;;:17;:23;;;;;;-1:-1:-1;;;45390:24:0;;45386:845;;46055:113;46062:11;46055:113;;-1:-1:-1;;;46133:6:0;46115:25;;;;:17;:25;;;;;;46055:113;;45386:845;45261:989;45235:1015;46278:31;;-1:-1:-1;;;46278:31:0;;;;;;;;;;;2534:317;2649:6;2624:21;:31;;2616:73;;;;-1:-1:-1;;;2616:73:0;;7829:2:1;2616:73:0;;;7811:21:1;7868:2;7848:18;;;7841:30;7907:31;7887:18;;;7880:59;7956:18;;2616:73:0;7627:353:1;2616:73:0;2703:12;2721:9;-1:-1:-1;;;;;2721:14:0;2743:6;2721:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2702:52;;;2773:7;2765:78;;;;-1:-1:-1;;;2765:78:0;;7402:2:1;2765:78:0;;;7384:21:1;7441:2;7421:18;;;7414:30;7480:34;7460:18;;;7453:62;7551:28;7531:18;;;7524:56;7597:19;;2765:78:0;7200:422:1;22995:191:0;23069:16;23088:6;;-1:-1:-1;;;;;23105:17:0;;;-1:-1:-1;;;;;;23105:17:0;;;;;;23138:40;;23088:6;;;;;;;23138:40;;23069:16;23138:40;23058:128;22995:191;:::o;58863:716::-;59047:88;;-1:-1:-1;;;59047:88:0;;59026:4;;-1:-1:-1;;;;;59047:45:0;;;;;:88;;72275:10;;59114:4;;59120:7;;59129:5;;59047:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59047:88:0;;;;;;;;-1:-1:-1;;59047:88:0;;;;;;;;;;;;:::i;:::-;;;59043:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59330:13:0;;59326:235;;59376:40;;-1:-1:-1;;;59376:40:0;;;;;;;;;;;59326:235;59519:6;59513:13;59504:6;59500:2;59496:15;59489:38;59043:529;-1:-1:-1;;;;;;59206:64:0;-1:-1:-1;;;59206:64:0;;-1:-1:-1;59043:529:0;58863:716;;;;;;:::o;42880:318::-;42953:13;42984:16;42992:7;42984;:16::i;:::-;42979:59;;43009:29;;-1:-1:-1;;;43009:29:0;;;;;;;;;;;42979:59;43051:21;43075:10;:8;:10::i;:::-;43051:34;;43109:7;43103:21;43128:1;43103:26;;:87;;;;;;;;;;;;;;;;;43156:7;43165:18;43175:7;43165:9;:18::i;:::-;43139:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43096:94;42880:318;-1:-1:-1;;;42880:318:0:o;65247:689::-;65378:19;65384:2;65388:8;65378:5;:19::i;:::-;-1:-1:-1;;;;;65439:14:0;;;:19;65435:483;;65493:13;;65541:14;;;65574:233;65605:62;65644:1;65648:2;65652:7;;;;;;65661:5;65605:30;:62::i;:::-;65600:167;;65703:40;;-1:-1:-1;;;65703:40:0;;;;;;;;;;;65600:167;65802:3;65794:5;:11;65574:233;;65889:3;65872:13;;:20;65868:34;;65894:8;;;65868:34;65460:458;;65247:689;;;:::o;75959:106::-;76011:13;76044;76037:20;;;;;:::i;72395:1581::-;72878:4;72872:11;;72885:4;72868:22;72964:17;;;;72868:22;73322:5;73304:428;73370:1;73365:3;73361:11;73354:18;;73541:2;73535:4;73531:13;73527:2;73523:22;73518:3;73510:36;73635:2;73625:13;;;73692:25;;73710:5;;73692:25;73304:428;;;-1:-1:-1;73762:13:0;;;-1:-1:-1;;73877:14:0;;;73939:19;;;73877:14;72395:1581;-1:-1:-1;72395:1581:0:o;60041:2454::-;60137:13;;60165;60161:44;;60187:18;;-1:-1:-1;;;60187:18:0;;;;;;;;;;;60161:44;-1:-1:-1;;;;;60693:22:0;;;;;;:18;:22;;;;33726:2;60693:22;;;:71;;60731:32;60719:45;;60693:71;;;61007:31;;;:17;:31;;;;;-1:-1:-1;47707:15:0;;47681:24;47677:46;47276:11;47251:23;47247:41;47244:52;47234:63;;61007:173;;61242:23;;;;61007:31;;60693:22;;61741:25;60693:22;;61594:335;62009:1;61995:12;61991:20;61949:346;62050:3;62041:7;62038:16;61949:346;;62268:7;62258:8;62255:1;62228:25;62225:1;62222;62217:59;62103:1;62090:15;61949:346;;;-1:-1:-1;62328:13:0;62324:45;;62350:19;;-1:-1:-1;;;62350:19:0;;;;;;;;;;;62324:45;62386:13;:19;-1:-1:-1;55597: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;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:470::-;4484:3;4522:6;4516:13;4538:53;4584:6;4579:3;4572:4;4564:6;4560:17;4538:53;:::i;:::-;4654:13;;4613:16;;;;4676:57;4654:13;4613:16;4710:4;4698:17;;4676:57;:::i;:::-;4749:20;;4305:470;-1:-1:-1;;;;4305:470:1:o;5198:488::-;-1:-1:-1;;;;;5467:15:1;;;5449:34;;5519:15;;5514:2;5499:18;;5492:43;5566:2;5551:18;;5544:34;;;5614:3;5609:2;5594:18;;5587:31;;;5392:4;;5635:45;;5660:19;;5652:6;5635:45;:::i;:::-;5627:53;5198:488;-1:-1:-1;;;;;;5198:488:1:o;5883:219::-;6032:2;6021:9;6014:21;5995:4;6052:44;6092:2;6081:9;6077:18;6069:6;6052:44;:::i;8331:339::-;8533:2;8515:21;;;8572:2;8552:18;;;8545:30;-1:-1:-1;;;8606:2:1;8591:18;;8584:45;8661:2;8646:18;;8331:339::o;10609:128::-;10649:3;10680:1;10676:6;10673:1;10670:13;10667:39;;;10686:18;;:::i;:::-;-1:-1:-1;10722:9:1;;10609:128::o;10742:168::-;10782:7;10848:1;10844;10840:6;10836:14;10833:1;10830:21;10825:1;10818:9;10811:17;10807:45;10804:71;;;10855:18;;:::i;:::-;-1:-1:-1;10895:9:1;;10742:168::o;10915:125::-;10955:4;10983:1;10980;10977:8;10974:34;;;10988:18;;:::i;:::-;-1:-1:-1;11025:9:1;;10915:125::o;11045:258::-;11117:1;11127:113;11141:6;11138:1;11135:13;11127:113;;;11217:11;;;11211:18;11198:11;;;11191:39;11163:2;11156:10;11127:113;;;11258:6;11255:1;11252:13;11249:48;;;-1:-1:-1;;11293:1:1;11275:16;;11268:27;11045:258::o;11308:380::-;11387:1;11383:12;;;;11430;;;11451:61;;11505:4;11497:6;11493:17;11483:27;;11451:61;11558:2;11550:6;11547:14;11527:18;11524:38;11521:161;;;11604:10;11599:3;11595:20;11592:1;11585:31;11639:4;11636:1;11629:15;11667:4;11664:1;11657:15;11521:161;;11308:380;;;:::o;11693:135::-;11732:3;-1:-1:-1;;11753:17:1;;11750:43;;;11773:18;;:::i;:::-;-1:-1:-1;11820:1:1;11809:13;;11693:135::o;11833:127::-;11894:10;11889:3;11885:20;11882:1;11875:31;11925:4;11922:1;11915:15;11949:4;11946:1;11939:15;11965:127;12026:10;12021:3;12017:20;12014:1;12007:31;12057:4;12054:1;12047:15;12081:4;12078:1;12071:15;12097:131;-1:-1:-1;;;;;;12171:32:1;;12161:43;;12151:71;;12218:1;12215;12208:12
Swarm Source
ipfs://ea38350352992fb8660948388d2d843c86f7ac7ab2535167eaa2c19609e035df
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.