ERC-721
Overview
Max Total Supply
109 DDRGNS
Holders
42
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DDRGNSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DopeyDragons
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-03 */ // SPDX-License-Identifier: MIT // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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-contracts/blob/master/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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public 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. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) 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 aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/DopeyDragons.sol pragma solidity ^0.8.9; contract DopeyDragons is ERC721A, Ownable { uint16 public maxSupply = 2222; uint16 public maxFreeSupply = 888; uint8 public maxPerTx = 5; uint8 public maxFreePerWallet = 2; uint256 public mintPrice = 0.001 ether; bool public mintEnabled; string public baseURI = "ipfs://bafybeihwrblutgeijdvfu4mj54ihuzu5pbtuivfs3duef432e45k2nzvcm/"; mapping(address => uint256) public _mintedFreeAmount; using Strings for uint256; constructor() ERC721A("Dopey Dragons", "DDRGNS"){} function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory baseURI_) public onlyOwner { baseURI = baseURI_; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), ".json")) : ''; } function toggleMinting() external onlyOwner { mintEnabled = !mintEnabled; } function withdraw() external payable onlyOwner { payable(owner()).transfer(address(this).balance); } function mint(uint8 quantity) external payable { bool isFree = ((totalSupply() + quantity < maxFreeSupply + 1) && (_mintedFreeAmount[msg.sender] < maxFreePerWallet)); if (isFree) { require(mintEnabled, "Mint is not live yet"); require(totalSupply() + quantity <= maxSupply, "Not enough tokens left"); require(quantity <= maxPerTx, "Max per TX reached."); if(quantity >= (maxFreePerWallet - _mintedFreeAmount[msg.sender])) { require(msg.value >= (quantity * mintPrice) - ((maxFreePerWallet - _mintedFreeAmount[msg.sender]) * mintPrice), "Not enough ether sent"); _mintedFreeAmount[msg.sender] = maxFreePerWallet; } else if(quantity < (maxFreePerWallet - _mintedFreeAmount[msg.sender])) { require(msg.value >= 0, "Not enough ether sent"); _mintedFreeAmount[msg.sender] += quantity; } } else{ require(mintEnabled, "Mint is not live yet"); require(msg.value >= quantity * mintPrice, "Not enough ether sent"); require(totalSupply() + quantity <= maxSupply, "Not enough tokens left"); require(quantity <= maxPerTx, "Max per TX reached."); } _safeMint(msg.sender, quantity); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedFreeAmount","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerWallet","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","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":"renounceOwnership","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":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","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":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","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":"payable","type":"function"}]
Contract Creation Code
6008805465ffffffffffff60a01b1916790205037808ae000000000000000000000000000000000000000017905566038d7ea4c68000600955610100604052604360808181529062001e0560a03980516200006391600b916020909101906200016d565b503480156200007157600080fd5b50604080518082018252600d81527f446f70657920447261676f6e730000000000000000000000000000000000000060208083019182528351808501909452600684527f444452474e530000000000000000000000000000000000000000000000000000908401528151919291620000ec916002916200016d565b508051620001029060039060208401906200016d565b505060016000555062000115336200011b565b62000269565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017b9062000213565b90600052602060002090601f0160209004810192826200019f5760008555620001ea565b82601f10620001ba57805160ff1916838001178555620001ea565b82800160010185558215620001ea579182015b82811115620001ea578251825591602001919060010190620001cd565b50620001f8929150620001fc565b5090565b5b80821115620001f85760008155600101620001fd565b600181811c908216806200022857607f821691505b6020821081141562000263577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b611b8c80620002796000396000f3fe6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063e985e9c511610064578063e985e9c5146104eb578063f2fde38b14610534578063f4db2acb14610554578063f968adbe1461058157600080fd5b8063b88d4fde1461046f578063c87b56dd1461048f578063d1239730146104af578063d5abeb01146104c957600080fd5b80638da5cb5b116100d15780638da5cb5b146103e957806395d89b4114610407578063a22cb4651461041c578063a70273571461043c57600080fd5b806370a082311461039f578063715018a6146103bf5780637d55094d146103d457600080fd5b806342842e0e116101645780636352211e1161013e5780636352211e146103415780636817c76c146103615780636c0360eb146103775780636ecd23061461038c57600080fd5b806342842e0e146102cc57806347513334146102ec57806355f804b31461032157600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd1461027857806323b872dd146102a45780633ccfd60b146102c457600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611668565b6105a2565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105f4565b6040516101f391906116dd565b34801561022a57600080fd5b5061023e6102393660046116f0565b610686565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611725565b6106ca565b005b34801561028457600080fd5b50610296600154600054036000190190565b6040519081526020016101f3565b3480156102b057600080fd5b506102766102bf36600461174f565b61076a565b6102766108fb565b3480156102d857600080fd5b506102766102e736600461174f565b61094a565b3480156102f857600080fd5b5060085461030e90600160b01b900461ffff1681565b60405161ffff90911681526020016101f3565b34801561032d57600080fd5b5061027661033c366004611817565b61096a565b34801561034d57600080fd5b5061023e61035c3660046116f0565b610989565b34801561036d57600080fd5b5061029660095481565b34801561038357600080fd5b50610211610994565b61027661039a366004611860565b610a22565b3480156103ab57600080fd5b506102966103ba366004611883565b610e67565b3480156103cb57600080fd5b50610276610eb6565b3480156103e057600080fd5b50610276610eca565b3480156103f557600080fd5b506008546001600160a01b031661023e565b34801561041357600080fd5b50610211610ee6565b34801561042857600080fd5b5061027661043736600461189e565b610ef5565b34801561044857600080fd5b5060085461045d90600160c81b900460ff1681565b60405160ff90911681526020016101f3565b34801561047b57600080fd5b5061027661048a3660046118da565b610f61565b34801561049b57600080fd5b506102116104aa3660046116f0565b610fab565b3480156104bb57600080fd5b50600a546101e79060ff1681565b3480156104d557600080fd5b5060085461030e90600160a01b900461ffff1681565b3480156104f757600080fd5b506101e7610506366004611956565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561054057600080fd5b5061027661054f366004611883565b611076565b34801561056057600080fd5b5061029661056f366004611883565b600c6020526000908152604090205481565b34801561058d57600080fd5b5060085461045d90600160c01b900460ff1681565b60006301ffc9a760e01b6001600160e01b0319831614806105d357506380ac58cd60e01b6001600160e01b03198316145b806105ee5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461060390611989565b80601f016020809104026020016040519081016040528092919081815260200182805461062f90611989565b801561067c5780601f106106515761010080835404028352916020019161067c565b820191906000526020600020905b81548152906001019060200180831161065f57829003601f168201915b5050505050905090565b6000610691826110ec565b6106ae576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106d582610989565b9050336001600160a01b0382161461070e576106f18133610506565b61070e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061077582611121565b9050836001600160a01b0316816001600160a01b0316146107a85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107f5576107d88633610506565b6107f557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661081c57604051633a954ecd60e21b815260040160405180910390fd5b801561082757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108b257600184016000818152600460205260409020546108b05760005481146108b05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61090361118a565b6008546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f19350505050158015610947573d6000803e3d6000fd5b50565b61096583838360405180602001604052806000815250610f61565b505050565b61097261118a565b805161098590600b9060208401906115b9565b5050565b60006105ee82611121565b600b80546109a190611989565b80601f01602080910402602001604051908101604052809291908181526020018280546109cd90611989565b8015610a1a5780601f106109ef57610100808354040283529160200191610a1a565b820191906000526020600020905b8154815290600101906020018083116109fd57829003601f168201915b505050505081565b600854600090610a3e90600160b01b900461ffff1660016119da565b61ffff168260ff16610a57600154600054036000190190565b610a619190611a00565b108015610a895750600854336000908152600c6020526040902054600160c81b90910460ff16115b90508015610cf057600a5460ff16610adf5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b60448201526064015b60405180910390fd5b600854600160a01b900461ffff1660ff8316610b02600154600054036000190190565b610b0c9190611a00565b1115610b535760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610ad6565b60085460ff600160c01b90910481169083161115610ba95760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610ad6565b336000908152600c6020526040902054600854610bd09190600160c81b900460ff16611a18565b8260ff1610610c9257600954336000908152600c6020526040902054600854610c039190600160c81b900460ff16611a18565b610c0d9190611a2f565b600954610c1d9060ff8516611a2f565b610c279190611a18565b341015610c6e5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610ad6565b600854336000908152600c60205260409020600160c81b90910460ff169055610e5a565b336000908152600c6020526040902054600854610cb99190600160c81b900460ff16611a18565b8260ff161015610ceb57336000908152600c60205260408120805460ff85169290610ce5908490611a00565b90915550505b610e5a565b600a5460ff16610d395760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610ad6565b600954610d499060ff8416611a2f565b341015610d905760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610ad6565b600854600160a01b900461ffff1660ff8316610db3600154600054036000190190565b610dbd9190611a00565b1115610e045760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610ad6565b60085460ff600160c01b90910481169083161115610e5a5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610ad6565b610985338360ff166111e4565b60006001600160a01b038216610e90576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ebe61118a565b610ec860006111fe565b565b610ed261118a565b600a805460ff19811660ff90911615179055565b60606003805461060390611989565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f6c84848461076a565b6001600160a01b0383163b15610fa557610f8884848484611250565b610fa5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fb6826110ec565b61101a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ad6565b6000611024611348565b90506000815111611044576040518060200160405280600081525061106f565b8061104e84611357565b60405160200161105f929190611a4e565b6040516020818303038152906040525b9392505050565b61107e61118a565b6001600160a01b0381166110e35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ad6565b610947816111fe565b600081600111158015611100575060005482105b80156105ee575050600090815260046020526040902054600160e01b161590565b600081806001116111715760005481101561117157600081815260046020526040902054600160e01b811661116f575b8061106f575060001901600081815260046020526040902054611151565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ec85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad6565b610985828260405180602001604052806000815250611455565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611285903390899088908890600401611a8d565b602060405180830381600087803b15801561129f57600080fd5b505af19250505080156112cf575060408051601f3d908101601f191682019092526112cc91810190611aca565b60015b61132a573d8080156112fd576040519150601f19603f3d011682016040523d82523d6000602084013e611302565b606091505b508051611322576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461060390611989565b60608161137b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113a5578061138f81611ae7565b915061139e9050600a83611b18565b915061137f565b60008167ffffffffffffffff8111156113c0576113c061178b565b6040519080825280601f01601f1916602001820160405280156113ea576020820181803683370190505b5090505b8415611340576113ff600183611a18565b915061140c600a86611b2c565b611417906030611a00565b60f81b81838151811061142c5761142c611b40565b60200101906001600160f81b031916908160001a90535061144e600a86611b18565b94506113ee565b61145f83836114c2565b6001600160a01b0383163b15610965576000548281035b6114896000868380600101945086611250565b6114a6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114765781600054146114bb57600080fd5b5050505050565b600054816114e35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461159257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161155a565b50816115b057604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546115c590611989565b90600052602060002090601f0160209004810192826115e7576000855561162d565b82601f1061160057805160ff191683800117855561162d565b8280016001018555821561162d579182015b8281111561162d578251825591602001919060010190611612565b5061163992915061163d565b5090565b5b80821115611639576000815560010161163e565b6001600160e01b03198116811461094757600080fd5b60006020828403121561167a57600080fd5b813561106f81611652565b60005b838110156116a0578181015183820152602001611688565b83811115610fa55750506000910152565b600081518084526116c9816020860160208601611685565b601f01601f19169290920160200192915050565b60208152600061106f60208301846116b1565b60006020828403121561170257600080fd5b5035919050565b80356001600160a01b038116811461172057600080fd5b919050565b6000806040838503121561173857600080fd5b61174183611709565b946020939093013593505050565b60008060006060848603121561176457600080fd5b61176d84611709565b925061177b60208501611709565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117bc576117bc61178b565b604051601f8501601f19908116603f011681019082821181831017156117e4576117e461178b565b816040528093508581528686860111156117fd57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561182957600080fd5b813567ffffffffffffffff81111561184057600080fd5b8201601f8101841361185157600080fd5b611340848235602084016117a1565b60006020828403121561187257600080fd5b813560ff8116811461106f57600080fd5b60006020828403121561189557600080fd5b61106f82611709565b600080604083850312156118b157600080fd5b6118ba83611709565b9150602083013580151581146118cf57600080fd5b809150509250929050565b600080600080608085870312156118f057600080fd5b6118f985611709565b935061190760208601611709565b925060408501359150606085013567ffffffffffffffff81111561192a57600080fd5b8501601f8101871361193b57600080fd5b61194a878235602084016117a1565b91505092959194509250565b6000806040838503121561196957600080fd5b61197283611709565b915061198060208401611709565b90509250929050565b600181811c9082168061199d57607f821691505b602082108114156119be57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff8083168185168083038211156119f7576119f76119c4565b01949350505050565b60008219821115611a1357611a136119c4565b500190565b600082821015611a2a57611a2a6119c4565b500390565b6000816000190483118215151615611a4957611a496119c4565b500290565b60008351611a60818460208801611685565b835190830190611a74818360208801611685565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ac0908301846116b1565b9695505050505050565b600060208284031215611adc57600080fd5b815161106f81611652565b6000600019821415611afb57611afb6119c4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611b2757611b27611b02565b500490565b600082611b3b57611b3b611b02565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220735263c364ef41099c628afed5c115dd75ea9702da9e10a2c0f1d5f4813a885664736f6c63430008090033697066733a2f2f62616679626569687772626c75746765696a64766675346d6a35346968757a7535706274756976667333647565663433326534356b326e7a76636d2f
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806370a08231116100f7578063b88d4fde11610095578063e985e9c511610064578063e985e9c5146104eb578063f2fde38b14610534578063f4db2acb14610554578063f968adbe1461058157600080fd5b8063b88d4fde1461046f578063c87b56dd1461048f578063d1239730146104af578063d5abeb01146104c957600080fd5b80638da5cb5b116100d15780638da5cb5b146103e957806395d89b4114610407578063a22cb4651461041c578063a70273571461043c57600080fd5b806370a082311461039f578063715018a6146103bf5780637d55094d146103d457600080fd5b806342842e0e116101645780636352211e1161013e5780636352211e146103415780636817c76c146103615780636c0360eb146103775780636ecd23061461038c57600080fd5b806342842e0e146102cc57806347513334146102ec57806355f804b31461032157600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd1461027857806323b872dd146102a45780633ccfd60b146102c457600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611668565b6105a2565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105f4565b6040516101f391906116dd565b34801561022a57600080fd5b5061023e6102393660046116f0565b610686565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611725565b6106ca565b005b34801561028457600080fd5b50610296600154600054036000190190565b6040519081526020016101f3565b3480156102b057600080fd5b506102766102bf36600461174f565b61076a565b6102766108fb565b3480156102d857600080fd5b506102766102e736600461174f565b61094a565b3480156102f857600080fd5b5060085461030e90600160b01b900461ffff1681565b60405161ffff90911681526020016101f3565b34801561032d57600080fd5b5061027661033c366004611817565b61096a565b34801561034d57600080fd5b5061023e61035c3660046116f0565b610989565b34801561036d57600080fd5b5061029660095481565b34801561038357600080fd5b50610211610994565b61027661039a366004611860565b610a22565b3480156103ab57600080fd5b506102966103ba366004611883565b610e67565b3480156103cb57600080fd5b50610276610eb6565b3480156103e057600080fd5b50610276610eca565b3480156103f557600080fd5b506008546001600160a01b031661023e565b34801561041357600080fd5b50610211610ee6565b34801561042857600080fd5b5061027661043736600461189e565b610ef5565b34801561044857600080fd5b5060085461045d90600160c81b900460ff1681565b60405160ff90911681526020016101f3565b34801561047b57600080fd5b5061027661048a3660046118da565b610f61565b34801561049b57600080fd5b506102116104aa3660046116f0565b610fab565b3480156104bb57600080fd5b50600a546101e79060ff1681565b3480156104d557600080fd5b5060085461030e90600160a01b900461ffff1681565b3480156104f757600080fd5b506101e7610506366004611956565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561054057600080fd5b5061027661054f366004611883565b611076565b34801561056057600080fd5b5061029661056f366004611883565b600c6020526000908152604090205481565b34801561058d57600080fd5b5060085461045d90600160c01b900460ff1681565b60006301ffc9a760e01b6001600160e01b0319831614806105d357506380ac58cd60e01b6001600160e01b03198316145b806105ee5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461060390611989565b80601f016020809104026020016040519081016040528092919081815260200182805461062f90611989565b801561067c5780601f106106515761010080835404028352916020019161067c565b820191906000526020600020905b81548152906001019060200180831161065f57829003601f168201915b5050505050905090565b6000610691826110ec565b6106ae576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106d582610989565b9050336001600160a01b0382161461070e576106f18133610506565b61070e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061077582611121565b9050836001600160a01b0316816001600160a01b0316146107a85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107f5576107d88633610506565b6107f557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661081c57604051633a954ecd60e21b815260040160405180910390fd5b801561082757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108b257600184016000818152600460205260409020546108b05760005481146108b05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61090361118a565b6008546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f19350505050158015610947573d6000803e3d6000fd5b50565b61096583838360405180602001604052806000815250610f61565b505050565b61097261118a565b805161098590600b9060208401906115b9565b5050565b60006105ee82611121565b600b80546109a190611989565b80601f01602080910402602001604051908101604052809291908181526020018280546109cd90611989565b8015610a1a5780601f106109ef57610100808354040283529160200191610a1a565b820191906000526020600020905b8154815290600101906020018083116109fd57829003601f168201915b505050505081565b600854600090610a3e90600160b01b900461ffff1660016119da565b61ffff168260ff16610a57600154600054036000190190565b610a619190611a00565b108015610a895750600854336000908152600c6020526040902054600160c81b90910460ff16115b90508015610cf057600a5460ff16610adf5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b60448201526064015b60405180910390fd5b600854600160a01b900461ffff1660ff8316610b02600154600054036000190190565b610b0c9190611a00565b1115610b535760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610ad6565b60085460ff600160c01b90910481169083161115610ba95760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610ad6565b336000908152600c6020526040902054600854610bd09190600160c81b900460ff16611a18565b8260ff1610610c9257600954336000908152600c6020526040902054600854610c039190600160c81b900460ff16611a18565b610c0d9190611a2f565b600954610c1d9060ff8516611a2f565b610c279190611a18565b341015610c6e5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610ad6565b600854336000908152600c60205260409020600160c81b90910460ff169055610e5a565b336000908152600c6020526040902054600854610cb99190600160c81b900460ff16611a18565b8260ff161015610ceb57336000908152600c60205260408120805460ff85169290610ce5908490611a00565b90915550505b610e5a565b600a5460ff16610d395760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610ad6565b600954610d499060ff8416611a2f565b341015610d905760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610ad6565b600854600160a01b900461ffff1660ff8316610db3600154600054036000190190565b610dbd9190611a00565b1115610e045760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610ad6565b60085460ff600160c01b90910481169083161115610e5a5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610ad6565b610985338360ff166111e4565b60006001600160a01b038216610e90576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ebe61118a565b610ec860006111fe565b565b610ed261118a565b600a805460ff19811660ff90911615179055565b60606003805461060390611989565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f6c84848461076a565b6001600160a01b0383163b15610fa557610f8884848484611250565b610fa5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fb6826110ec565b61101a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ad6565b6000611024611348565b90506000815111611044576040518060200160405280600081525061106f565b8061104e84611357565b60405160200161105f929190611a4e565b6040516020818303038152906040525b9392505050565b61107e61118a565b6001600160a01b0381166110e35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ad6565b610947816111fe565b600081600111158015611100575060005482105b80156105ee575050600090815260046020526040902054600160e01b161590565b600081806001116111715760005481101561117157600081815260046020526040902054600160e01b811661116f575b8061106f575060001901600081815260046020526040902054611151565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ec85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad6565b610985828260405180602001604052806000815250611455565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611285903390899088908890600401611a8d565b602060405180830381600087803b15801561129f57600080fd5b505af19250505080156112cf575060408051601f3d908101601f191682019092526112cc91810190611aca565b60015b61132a573d8080156112fd576040519150601f19603f3d011682016040523d82523d6000602084013e611302565b606091505b508051611322576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461060390611989565b60608161137b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113a5578061138f81611ae7565b915061139e9050600a83611b18565b915061137f565b60008167ffffffffffffffff8111156113c0576113c061178b565b6040519080825280601f01601f1916602001820160405280156113ea576020820181803683370190505b5090505b8415611340576113ff600183611a18565b915061140c600a86611b2c565b611417906030611a00565b60f81b81838151811061142c5761142c611b40565b60200101906001600160f81b031916908160001a90535061144e600a86611b18565b94506113ee565b61145f83836114c2565b6001600160a01b0383163b15610965576000548281035b6114896000868380600101945086611250565b6114a6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114765781600054146114bb57600080fd5b5050505050565b600054816114e35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461159257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161155a565b50816115b057604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546115c590611989565b90600052602060002090601f0160209004810192826115e7576000855561162d565b82601f1061160057805160ff191683800117855561162d565b8280016001018555821561162d579182015b8281111561162d578251825591602001919060010190611612565b5061163992915061163d565b5090565b5b80821115611639576000815560010161163e565b6001600160e01b03198116811461094757600080fd5b60006020828403121561167a57600080fd5b813561106f81611652565b60005b838110156116a0578181015183820152602001611688565b83811115610fa55750506000910152565b600081518084526116c9816020860160208601611685565b601f01601f19169290920160200192915050565b60208152600061106f60208301846116b1565b60006020828403121561170257600080fd5b5035919050565b80356001600160a01b038116811461172057600080fd5b919050565b6000806040838503121561173857600080fd5b61174183611709565b946020939093013593505050565b60008060006060848603121561176457600080fd5b61176d84611709565b925061177b60208501611709565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117bc576117bc61178b565b604051601f8501601f19908116603f011681019082821181831017156117e4576117e461178b565b816040528093508581528686860111156117fd57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561182957600080fd5b813567ffffffffffffffff81111561184057600080fd5b8201601f8101841361185157600080fd5b611340848235602084016117a1565b60006020828403121561187257600080fd5b813560ff8116811461106f57600080fd5b60006020828403121561189557600080fd5b61106f82611709565b600080604083850312156118b157600080fd5b6118ba83611709565b9150602083013580151581146118cf57600080fd5b809150509250929050565b600080600080608085870312156118f057600080fd5b6118f985611709565b935061190760208601611709565b925060408501359150606085013567ffffffffffffffff81111561192a57600080fd5b8501601f8101871361193b57600080fd5b61194a878235602084016117a1565b91505092959194509250565b6000806040838503121561196957600080fd5b61197283611709565b915061198060208401611709565b90509250929050565b600181811c9082168061199d57607f821691505b602082108114156119be57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff8083168185168083038211156119f7576119f76119c4565b01949350505050565b60008219821115611a1357611a136119c4565b500190565b600082821015611a2a57611a2a6119c4565b500390565b6000816000190483118215151615611a4957611a496119c4565b500290565b60008351611a60818460208801611685565b835190830190611a74818360208801611685565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ac0908301846116b1565b9695505050505050565b600060208284031215611adc57600080fd5b815161106f81611652565b6000600019821415611afb57611afb6119c4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611b2757611b27611b02565b500490565b600082611b3b57611b3b611b02565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220735263c364ef41099c628afed5c115dd75ea9702da9e10a2c0f1d5f4813a885664736f6c63430008090033
Deployed Bytecode Sourcemap
57356:2872:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24692:639;;;;;;;;;;-1:-1:-1;24692:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24692:639:0;;;;;;;;25594:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32077:218::-;;;;;;;;;;-1:-1:-1;32077:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;32077:218:0;1528:203:1;31518:400:0;;;;;;;;;;-1:-1:-1;31518:400:0;;;;;:::i;:::-;;:::i;:::-;;21345:323;;;;;;;;;;;;58259:1;21619:12;21406:7;21603:13;:28;-1:-1:-1;;21603:46:0;;21345:323;;;;2319:25:1;;;2307:2;2292:18;21345:323:0;2173:177:1;35716:2817:0;;;;;;;;;;-1:-1:-1;35716:2817:0;;;;;:::i;:::-;;:::i;58748:114::-;;;:::i;38629:185::-;;;;;;;;;;-1:-1:-1;38629:185:0;;;;;:::i;:::-;;:::i;57456:43::-;;;;;;;;;;-1:-1:-1;57456:43:0;;;;-1:-1:-1;;;57456:43:0;;;;;;;;;2862:6:1;2850:19;;;2832:38;;2820:2;2805:18;57456:43:0;2688:188:1;58065:98:0;;;;;;;;;;-1:-1:-1;58065:98:0;;;;;:::i;:::-;;:::i;26987:152::-;;;;;;;;;;-1:-1:-1;26987:152:0;;;;;:::i;:::-;;:::i;57602:51::-;;;;;;;;;;;;;;;;57694:95;;;;;;;;;;;;;:::i;58870:1355::-;;;;;;:::i;:::-;;:::i;22529:233::-;;;;;;;;;;-1:-1:-1;22529:233:0;;;;;:::i;:::-;;:::i;5466:103::-;;;;;;;;;;;;;:::i;58653:87::-;;;;;;;;;;;;;:::i;4818:::-;;;;;;;;;;-1:-1:-1;4891:6:0;;-1:-1:-1;;;;;4891:6:0;4818:87;;25770:104;;;;;;;;;;;;;:::i;32635:234::-;;;;;;;;;;-1:-1:-1;32635:234:0;;;;;:::i;:::-;;:::i;57554:41::-;;;;;;;;;;-1:-1:-1;57554:41:0;;;;-1:-1:-1;;;57554:41:0;;;;;;;;;5095:4:1;5083:17;;;5065:36;;5053:2;5038:18;57554:41:0;4923:184:1;39412:399:0;;;;;;;;;;-1:-1:-1;39412:399:0;;;;;:::i;:::-;;:::i;58274:371::-;;;;;;;;;;-1:-1:-1;58274:371:0;;;;;:::i;:::-;;:::i;57660:27::-;;;;;;;;;;-1:-1:-1;57660:27:0;;;;;;;;57405:44;;;;;;;;;;-1:-1:-1;57405:44:0;;;;-1:-1:-1;;;57405:44:0;;;;;;33026:164;;;;;;;;;;-1:-1:-1;33026:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33147:25:0;;;33123:4;33147:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33026:164;5724:201;;;;;;;;;;-1:-1:-1;5724:201:0;;;;;:::i;:::-;;:::i;57796:52::-;;;;;;;;;;-1:-1:-1;57796:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;57506:41;;;;;;;;;;-1:-1:-1;57506:41:0;;;;-1:-1:-1;;;57506:41:0;;;;;;24692:639;24777:4;-1:-1:-1;;;;;;;;;25101:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25178:25:0;;;25101:102;:179;;;-1:-1:-1;;;;;;;;;;25255:25:0;;;25101:179;25081:199;24692:639;-1:-1:-1;;24692:639:0:o;25594:100::-;25648:13;25681:5;25674:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25594:100;:::o;32077:218::-;32153:7;32178:16;32186:7;32178;:16::i;:::-;32173:64;;32203:34;;-1:-1:-1;;;32203:34:0;;;;;;;;;;;32173:64;-1:-1:-1;32257:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32257:30:0;;32077:218::o;31518:400::-;31599:13;31615:16;31623:7;31615;:16::i;:::-;31599:32;-1:-1:-1;55573:10:0;-1:-1:-1;;;;;31648:28:0;;;31644:175;;31696:44;31713:5;55573:10;33026:164;:::i;31696:44::-;31691:128;;31768:35;;-1:-1:-1;;;31768:35:0;;;;;;;;;;;31691:128;31831:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31831:35:0;-1:-1:-1;;;;;31831:35:0;;;;;;;;;31882:28;;31831:24;;31882:28;;;;;;;31588:330;31518:400;;:::o;35716:2817::-;35850:27;35880;35899:7;35880:18;:27::i;:::-;35850:57;;35965:4;-1:-1:-1;;;;;35924:45:0;35940:19;-1:-1:-1;;;;;35924:45:0;;35920:86;;35978:28;;-1:-1:-1;;;35978:28:0;;;;;;;;;;;35920:86;36020:27;34824:24;;;:15;:24;;;;;35052:26;;55573:10;34449:30;;;-1:-1:-1;;;;;34142:28:0;;34427:20;;;34424:56;36206:180;;36299:43;36316:4;55573:10;33026:164;:::i;36299:43::-;36294:92;;36351:35;;-1:-1:-1;;;36351:35:0;;;;;;;;;;;36294:92;-1:-1:-1;;;;;36403:16:0;;36399:52;;36428:23;;-1:-1:-1;;;36428:23:0;;;;;;;;;;;36399:52;36600:15;36597:160;;;36740:1;36719:19;36712:30;36597:160;-1:-1:-1;;;;;37137:24:0;;;;;;;:18;:24;;;;;;37135:26;;-1:-1:-1;;37135:26:0;;;37206:22;;;;;;;;;37204:24;;-1:-1:-1;37204:24:0;;;30376:11;30351:23;30347:41;30334:63;-1:-1:-1;;;30334:63:0;37499:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;37794:47:0;;37790:627;;37899:1;37889:11;;37867:19;38022:30;;;:17;:30;;;;;;38018:384;;38160:13;;38145:11;:28;38141:242;;38307:30;;;;:17;:30;;;;;:52;;;38141:242;37848:569;37790:627;38464:7;38460:2;-1:-1:-1;;;;;38445:27:0;38454:4;-1:-1:-1;;;;;38445:27:0;;;;;;;;;;;35839:2694;;;35716:2817;;;:::o;58748:114::-;4704:13;:11;:13::i;:::-;4891:6;;-1:-1:-1;;;;;4891:6:0;58806:48:::1;::::0;-1:-1:-1;;;;;58806:25:0;;;::::1;::::0;58840:4:::1;58832:21;58806:48:::0;::::1;;;::::0;::::1;::::0;;;58832:21;58806:25;:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;58748:114::o:0;38629:185::-;38767:39;38784:4;38790:2;38794:7;38767:39;;;;;;;;;;;;:16;:39::i;:::-;38629:185;;;:::o;58065:98::-;4704:13;:11;:13::i;:::-;58137:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;58065:98:::0;:::o;26987:152::-;27059:7;27102:27;27121:7;27102:18;:27::i;57694:95::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58870:1355::-;58971:13;;58928:11;;58971:17;;-1:-1:-1;;;58971:13:0;;;;58987:1;58971:17;:::i;:::-;58944:44;;58960:8;58944:24;;:13;58259:1;21619:12;21406:7;21603:13;:28;-1:-1:-1;;21603:46:0;;21345:323;58944:13;:24;;;;:::i;:::-;:44;58943:113;;;;-1:-1:-1;59039:16:0;;59025:10;59007:29;;;;:17;:29;;;;;;-1:-1:-1;;;59039:16:0;;;;;-1:-1:-1;58943:113:0;58928:129;;59074:6;59070:1104;;;59106:11;;;;59098:44;;;;-1:-1:-1;;;59098:44:0;;7130:2:1;59098:44:0;;;7112:21:1;7169:2;7149:18;;;7142:30;-1:-1:-1;;;7188:18:1;;;7181:50;7248:18;;59098:44:0;;;;;;;;;59193:9;;-1:-1:-1;;;59193:9:0;;;;59165:24;;;:13;58259:1;21619:12;21406:7;21603:13;:28;-1:-1:-1;;21603:46:0;;21345:323;59165:13;:24;;;;:::i;:::-;:37;;59157:72;;;;-1:-1:-1;;;59157:72:0;;7479:2:1;59157:72:0;;;7461:21:1;7518:2;7498:18;;;7491:30;-1:-1:-1;;;7537:18:1;;;7530:52;7599:18;;59157:72:0;7277:346:1;59157:72:0;59264:8;;;-1:-1:-1;;;59264:8:0;;;;;59252:20;;;;;59244:52;;;;-1:-1:-1;;;59244:52:0;;7830:2:1;59244:52:0;;;7812:21:1;7869:2;7849:18;;;7842:30;-1:-1:-1;;;7888:18:1;;;7881:49;7947:18;;59244:52:0;7628:343:1;59244:52:0;59364:10;59346:29;;;;:17;:29;;;;;;59327:16;;:48;;59346:29;-1:-1:-1;;;59327:16:0;;;;:48;:::i;:::-;59314:8;:62;;;59311:547;;59507:9;;59492:10;59474:29;;;;:17;:29;;;;;;59455:16;;:48;;59474:29;-1:-1:-1;;;59455:16:0;;;;:48;:::i;:::-;59454:62;;;;:::i;:::-;59440:9;;59429:20;;;;;;:::i;:::-;59428:89;;;;:::i;:::-;59415:9;:102;;59407:136;;;;-1:-1:-1;;;59407:136:0;;8481:2:1;59407:136:0;;;8463:21:1;8520:2;8500:18;;;8493:30;-1:-1:-1;;;8539:18:1;;;8532:51;8600:18;;59407:136:0;8279:345:1;59407:136:0;59591:16;;59577:10;59559:29;;;;:17;:29;;;;;-1:-1:-1;;;59591:16:0;;;;;59559:48;;59070:1104;;59311:547;59694:10;59676:29;;;;:17;:29;;;;;;59657:16;;:48;;59676:29;-1:-1:-1;;;59657:16:0;;;;:48;:::i;:::-;59645:8;:61;;;59642:216;;;59819:10;59801:29;;;;:17;:29;;;;;:41;;;;;;:29;:41;;;;;:::i;:::-;;;;-1:-1:-1;;59642:216:0;59070:1104;;;59902:11;;;;59894:44;;;;-1:-1:-1;;;59894:44:0;;7130:2:1;59894:44:0;;;7112:21:1;7169:2;7149:18;;;7142:30;-1:-1:-1;;;7188:18:1;;;7181:50;7248:18;;59894:44:0;6928:344:1;59894:44:0;59981:9;;59970:20;;;;;;:::i;:::-;59957:9;:33;;59949:67;;;;-1:-1:-1;;;59949:67:0;;8481:2:1;59949:67:0;;;8463:21:1;8520:2;8500:18;;;8493:30;-1:-1:-1;;;8539:18:1;;;8532:51;8600:18;;59949:67:0;8279:345:1;59949:67:0;60063:9;;-1:-1:-1;;;60063:9:0;;;;60035:24;;;:13;58259:1;21619:12;21406:7;21603:13;:28;-1:-1:-1;;21603:46:0;;21345:323;60035:13;:24;;;;:::i;:::-;:37;;60027:72;;;;-1:-1:-1;;;60027:72:0;;7479:2:1;60027:72:0;;;7461:21:1;7518:2;7498:18;;;7491:30;-1:-1:-1;;;7537:18:1;;;7530:52;7599:18;;60027:72:0;7277:346:1;60027:72:0;60130:8;;;-1:-1:-1;;;60130:8:0;;;;;60118:20;;;;;60110:52;;;;-1:-1:-1;;;60110:52:0;;7830:2:1;60110:52:0;;;7812:21:1;7869:2;7849:18;;;7842:30;-1:-1:-1;;;7888:18:1;;;7881:49;7947:18;;60110:52:0;7628:343:1;60110:52:0;60186:31;60196:10;60208:8;60186:31;;:9;:31::i;22529:233::-;22601:7;-1:-1:-1;;;;;22625:19:0;;22621:60;;22653:28;;-1:-1:-1;;;22653:28:0;;;;;;;;;;;22621:60;-1:-1:-1;;;;;;22699:25:0;;;;;:18;:25;;;;;;16688:13;22699:55;;22529:233::o;5466:103::-;4704:13;:11;:13::i;:::-;5531:30:::1;5558:1;5531:18;:30::i;:::-;5466:103::o:0;58653:87::-;4704:13;:11;:13::i;:::-;58721:11:::1;::::0;;-1:-1:-1;;58706:26:0;::::1;58721:11;::::0;;::::1;58720:12;58706:26;::::0;;58653:87::o;25770:104::-;25826:13;25859:7;25852:14;;;;;:::i;32635:234::-;55573:10;32730:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32730:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32730:60:0;;;;;;;;;;32806:55;;540:41:1;;;32730:49:0;;55573:10;32806:55;;513:18:1;32806:55:0;;;;;;;32635:234;;:::o;39412:399::-;39579:31;39592:4;39598:2;39602:7;39579:12;:31::i;:::-;-1:-1:-1;;;;;39625:14:0;;;:19;39621:183;;39664:56;39695:4;39701:2;39705:7;39714:5;39664:30;:56::i;:::-;39659:145;;39748:40;;-1:-1:-1;;;39748:40:0;;;;;;;;;;;39659:145;39412:399;;;;:::o;58274:371::-;58348:13;58378:17;58386:8;58378:7;:17::i;:::-;58370:77;;;;-1:-1:-1;;;58370:77:0;;8831:2:1;58370:77:0;;;8813:21:1;8870:2;8850:18;;;8843:30;8909:34;8889:18;;;8882:62;-1:-1:-1;;;8960:18:1;;;8953:45;9015:19;;58370:77:0;8629:411:1;58370:77:0;58456:28;58487:10;:8;:10::i;:::-;58456:41;;58542:1;58517:14;58511:28;:32;:128;;;;;;;;;;;;;;;;;58579:14;58595:19;:8;:17;:19::i;:::-;58562:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58511:128;58504:135;58274:371;-1:-1:-1;;;58274:371:0:o;5724:201::-;4704:13;:11;:13::i;:::-;-1:-1:-1;;;;;5813:22:0;::::1;5805:73;;;::::0;-1:-1:-1;;;5805:73:0;;9889:2:1;5805:73:0::1;::::0;::::1;9871:21:1::0;9928:2;9908:18;;;9901:30;9967:34;9947:18;;;9940:62;-1:-1:-1;;;10018:18:1;;;10011:36;10064:19;;5805:73:0::1;9687:402:1::0;5805:73:0::1;5889:28;5908:8;5889:18;:28::i;33448:282::-:0;33513:4;33569:7;58259:1;33550:26;;:66;;;;;33603:13;;33593:7;:23;33550:66;:153;;;;-1:-1:-1;;33654:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33654:44:0;:49;;33448:282::o;28142:1275::-;28209:7;28244;;58259:1;28293:23;28289:1061;;28346:13;;28339:4;:20;28335:1015;;;28384:14;28401:23;;;:17;:23;;;;;;-1:-1:-1;;;28490:24:0;;28486:845;;29155:113;29162:11;29155:113;;-1:-1:-1;;;29233:6:0;29215:25;;;;:17;:25;;;;;;29155:113;;28486:845;28361:989;28335:1015;29378:31;;-1:-1:-1;;;29378:31:0;;;;;;;;;;;4983:132;4891:6;;-1:-1:-1;;;;;4891:6:0;55573:10;5047:23;5039:68;;;;-1:-1:-1;;;5039:68:0;;10296:2:1;5039:68:0;;;10278:21:1;;;10315:18;;;10308:30;10374:34;10354:18;;;10347:62;10426:18;;5039:68:0;10094:356:1;49318:112:0;49395:27;49405:2;49409:8;49395:27;;;;;;;;;;;;:9;:27::i;6085:191::-;6178:6;;;-1:-1:-1;;;;;6195:17:0;;;-1:-1:-1;;;;;;6195:17:0;;;;;;;6228:40;;6178:6;;;6195:17;6178:6;;6228:40;;6159:16;;6228:40;6148:128;6085:191;:::o;41895:716::-;42079:88;;-1:-1:-1;;;42079:88:0;;42058:4;;-1:-1:-1;;;;;42079:45:0;;;;;:88;;55573:10;;42146:4;;42152:7;;42161:5;;42079:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42079:88:0;;;;;;;;-1:-1:-1;;42079:88:0;;;;;;;;;;;;:::i;:::-;;;42075:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42362:13:0;;42358:235;;42408:40;;-1:-1:-1;;;42408:40:0;;;;;;;;;;;42358:235;42551:6;42545:13;42536:6;42532:2;42528:15;42521:38;42075:529;-1:-1:-1;;;;;;42238:64:0;-1:-1:-1;;;42238:64:0;;-1:-1:-1;42075:529:0;41895:716;;;;;;:::o;57949:108::-;58009:13;58042:7;58035:14;;;;;:::i;517:723::-;573:13;794:10;790:53;;-1:-1:-1;;821:10:0;;;;;;;;;;;;-1:-1:-1;;;821:10:0;;;;;517:723::o;790:53::-;868:5;853:12;909:78;916:9;;909:78;;942:8;;;;:::i;:::-;;-1:-1:-1;965:10:0;;-1:-1:-1;973:2:0;965:10;;:::i;:::-;;;909:78;;;997:19;1029:6;1019:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1019:17:0;;997:39;;1047:154;1054:10;;1047:154;;1081:11;1091:1;1081:11;;:::i;:::-;;-1:-1:-1;1150:10:0;1158:2;1150:5;:10;:::i;:::-;1137:24;;:2;:24;:::i;:::-;1124:39;;1107:6;1114;1107:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1107:56:0;;;;;;;;-1:-1:-1;1178:11:0;1187:2;1178:11;;:::i;:::-;;;1047:154;;48545:689;48676:19;48682:2;48686:8;48676:5;:19::i;:::-;-1:-1:-1;;;;;48737:14:0;;;:19;48733:483;;48777:11;48791:13;48839:14;;;48872:233;48903:62;48942:1;48946:2;48950:7;;;;;;48959:5;48903:30;:62::i;:::-;48898:167;;49001:40;;-1:-1:-1;;;49001:40:0;;;;;;;;;;;48898:167;49100:3;49092:5;:11;48872:233;;49187:3;49170:13;;:20;49166:34;;49192:8;;;49166:34;48758:458;;48545:689;;;:::o;43073:2720::-;43146:20;43169:13;43197;43193:44;;43219:18;;-1:-1:-1;;;43219:18:0;;;;;;;;;;;43193:44;-1:-1:-1;;;;;43725:22:0;;;;;;:18;:22;;;;16826:2;43725:22;;;:71;;43763:32;43751:45;;43725:71;;;44039:31;;;:17;:31;;;;;-1:-1:-1;30807:15:0;;30781:24;30777:46;30376:11;30351:23;30347:41;30344:52;30334:63;;44039:173;;44274:23;;;;44039:31;;43725:22;;45039:25;43725:22;;44892:335;45307:1;45293:12;45289:20;45247:346;45348:3;45339:7;45336:16;45247:346;;45566:7;45556:8;45553:1;45526:25;45523:1;45520;45515:59;45401:1;45388:15;45247:346;;;-1:-1:-1;45626:13:0;45622:45;;45648:19;;-1:-1:-1;;;45648:19:0;;;;;;;;;;;45622:45;45684:13;:19;-1:-1:-1;38629:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2881:127::-;2942:10;2937:3;2933:20;2930:1;2923:31;2973:4;2970:1;2963:15;2997:4;2994:1;2987:15;3013:632;3078:5;3108:18;3149:2;3141:6;3138:14;3135:40;;;3155:18;;:::i;:::-;3230:2;3224:9;3198:2;3284:15;;-1:-1:-1;;3280:24:1;;;3306:2;3276:33;3272:42;3260:55;;;3330:18;;;3350:22;;;3327:46;3324:72;;;3376:18;;:::i;:::-;3416:10;3412:2;3405:22;3445:6;3436:15;;3475:6;3467;3460:22;3515:3;3506:6;3501:3;3497:16;3494:25;3491:45;;;3532:1;3529;3522:12;3491:45;3582:6;3577:3;3570:4;3562:6;3558:17;3545:44;3637:1;3630:4;3621:6;3613;3609:19;3605:30;3598:41;;;;3013:632;;;;;:::o;3650:451::-;3719:6;3772:2;3760:9;3751:7;3747:23;3743:32;3740:52;;;3788:1;3785;3778:12;3740:52;3828:9;3815:23;3861:18;3853:6;3850:30;3847:50;;;3893:1;3890;3883:12;3847:50;3916:22;;3969:4;3961:13;;3957:27;-1:-1:-1;3947:55:1;;3998:1;3995;3988:12;3947:55;4021:74;4087:7;4082:2;4069:16;4064:2;4060;4056:11;4021:74;:::i;4106:269::-;4163:6;4216:2;4204:9;4195:7;4191:23;4187:32;4184:52;;;4232:1;4229;4222:12;4184:52;4271:9;4258:23;4321:4;4314:5;4310:16;4303:5;4300:27;4290:55;;4341:1;4338;4331:12;4380:186;4439:6;4492:2;4480:9;4471:7;4467:23;4463:32;4460:52;;;4508:1;4505;4498:12;4460:52;4531:29;4550:9;4531:29;:::i;4571:347::-;4636:6;4644;4697:2;4685:9;4676:7;4672:23;4668:32;4665:52;;;4713:1;4710;4703:12;4665:52;4736:29;4755:9;4736:29;:::i;:::-;4726:39;;4815:2;4804:9;4800:18;4787:32;4862:5;4855:13;4848:21;4841:5;4838:32;4828:60;;4884:1;4881;4874:12;4828:60;4907:5;4897:15;;;4571:347;;;;;:::o;5112:667::-;5207:6;5215;5223;5231;5284:3;5272:9;5263:7;5259:23;5255:33;5252:53;;;5301:1;5298;5291:12;5252:53;5324:29;5343:9;5324:29;:::i;:::-;5314:39;;5372:38;5406:2;5395:9;5391:18;5372:38;:::i;:::-;5362:48;;5457:2;5446:9;5442:18;5429:32;5419:42;;5512:2;5501:9;5497:18;5484:32;5539:18;5531:6;5528:30;5525:50;;;5571:1;5568;5561:12;5525:50;5594:22;;5647:4;5639:13;;5635:27;-1:-1:-1;5625:55:1;;5676:1;5673;5666:12;5625:55;5699:74;5765:7;5760:2;5747:16;5742:2;5738;5734:11;5699:74;:::i;:::-;5689:84;;;5112:667;;;;;;;:::o;5784:260::-;5852:6;5860;5913:2;5901:9;5892:7;5888:23;5884:32;5881:52;;;5929:1;5926;5919:12;5881:52;5952:29;5971:9;5952:29;:::i;:::-;5942:39;;6000:38;6034:2;6023:9;6019:18;6000:38;:::i;:::-;5990:48;;5784:260;;;;;:::o;6049:380::-;6128:1;6124:12;;;;6171;;;6192:61;;6246:4;6238:6;6234:17;6224:27;;6192:61;6299:2;6291:6;6288:14;6268:18;6265:38;6262:161;;;6345:10;6340:3;6336:20;6333:1;6326:31;6380:4;6377:1;6370:15;6408:4;6405:1;6398:15;6262:161;;6049:380;;;:::o;6434:127::-;6495:10;6490:3;6486:20;6483:1;6476:31;6526:4;6523:1;6516:15;6550:4;6547:1;6540:15;6566:224;6605:3;6633:6;6666:2;6663:1;6659:10;6696:2;6693:1;6689:10;6727:3;6723:2;6719:12;6714:3;6711:21;6708:47;;;6735:18;;:::i;:::-;6771:13;;6566:224;-1:-1:-1;;;;6566:224:1:o;6795:128::-;6835:3;6866:1;6862:6;6859:1;6856:13;6853:39;;;6872:18;;:::i;:::-;-1:-1:-1;6908:9:1;;6795:128::o;7976:125::-;8016:4;8044:1;8041;8038:8;8035:34;;;8049:18;;:::i;:::-;-1:-1:-1;8086:9:1;;7976:125::o;8106:168::-;8146:7;8212:1;8208;8204:6;8200:14;8197:1;8194:21;8189:1;8182:9;8175:17;8171:45;8168:71;;;8219:18;;:::i;:::-;-1:-1:-1;8259:9:1;;8106:168::o;9045:637::-;9325:3;9363:6;9357:13;9379:53;9425:6;9420:3;9413:4;9405:6;9401:17;9379:53;:::i;:::-;9495:13;;9454:16;;;;9517:57;9495:13;9454:16;9551:4;9539:17;;9517:57;:::i;:::-;-1:-1:-1;;;9596:20:1;;9625:22;;;9674:1;9663:13;;9045:637;-1:-1:-1;;;;9045:637:1:o;10455:489::-;-1:-1:-1;;;;;10724:15:1;;;10706:34;;10776:15;;10771:2;10756:18;;10749:43;10823:2;10808:18;;10801:34;;;10871:3;10866:2;10851:18;;10844:31;;;10649:4;;10892:46;;10918:19;;10910:6;10892:46;:::i;:::-;10884:54;10455:489;-1:-1:-1;;;;;;10455:489:1:o;10949:249::-;11018:6;11071:2;11059:9;11050:7;11046:23;11042:32;11039:52;;;11087:1;11084;11077:12;11039:52;11119:9;11113:16;11138:30;11162:5;11138:30;:::i;11203:135::-;11242:3;-1:-1:-1;;11263:17:1;;11260:43;;;11283:18;;:::i;:::-;-1:-1:-1;11330:1:1;11319:13;;11203:135::o;11343:127::-;11404:10;11399:3;11395:20;11392:1;11385:31;11435:4;11432:1;11425:15;11459:4;11456:1;11449:15;11475:120;11515:1;11541;11531:35;;11546:18;;:::i;:::-;-1:-1:-1;11580:9:1;;11475:120::o;11600:112::-;11632:1;11658;11648:35;;11663:18;;:::i;:::-;-1:-1:-1;11697:9:1;;11600:112::o;11717:127::-;11778:10;11773:3;11769:20;11766:1;11759:31;11809:4;11806:1;11799:15;11833:4;11830:1;11823:15
Swarm Source
ipfs://735263c364ef41099c628afed5c115dd75ea9702da9e10a2c0f1d5f4813a8856
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.