Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,777 Cudies
Holders
778
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 CudiesLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cudies
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-26 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // 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 payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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 payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // 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 { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). 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 payable 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 payable 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 payable 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 payable 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`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. 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 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // 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: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/Cudies.sol pragma solidity ^0.8.11; contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract Cudies is ERC721A, Ownable { constructor() ERC721A("Cudies", "Cudies") {} string public baseURI = "ipfs://QmVe8TFJnGEi67WWdCBrS9DPXyuTT9KDTxkCykoo3x6ofo/"; string public contractURI; string public constant baseExtension = ".json"; uint256 public constant MAX_SUPPLY = 1777; uint256 public constant MAX_PER_TX = 2; uint256 public price = 5000000000000000 wei; bool public paused = true; address public constant proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; function _startTokenId() internal override view virtual returns (uint256) { return 1; } function setContractURI(string memory _contractURI) external onlyOwner { contractURI = _contractURI; } function setupOS() external onlyOwner { _safeMint(_msgSender(), 1); } function mint(uint256 _quantity) external payable { address _caller = _msgSender(); require(paused == false, "Mint paused"); require(MAX_SUPPLY >= totalSupply() + _quantity, "Exceeds max supply"); require(_quantity > 0, "Mint quantity must be > 0"); require(_quantity <= MAX_PER_TX, "Exceeds max per tx"); require(_quantity * price == msg.value, "Invalid funds provided"); _safeMint(_caller, _quantity); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setPaused(bool _paused) external onlyOwner { paused = _paused; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = _msgSender().call{value: balance}(""); require(success, "Failed to send"); } function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), baseExtension ) ) : ""; } }
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":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","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":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setupOS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052603660808181529062001dae60a039600990620000229082620001a6565b506611c37937e08000600b55600c805460ff191660011790553480156200004857600080fd5b5060408051808201825260068082526543756469657360d01b6020808401829052845180860190955291845290830152906002620000878382620001a6565b506003620000968282620001a6565b5050600160005550620000a933620000af565b62000272565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012c57607f821691505b6020821081036200014d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a157600081815260208120601f850160051c810160208610156200017c5750805b601f850160051c820191505b818110156200019d5782815560010162000188565b5050505b505050565b81516001600160401b03811115620001c257620001c262000101565b620001da81620001d3845462000117565b8462000153565b602080601f831160018114620002125760008415620001f95750858301515b600019600386901b1c1916600185901b1785556200019d565b600085815260208120601f198616915b82811015620002435788860151825594840194600190910190840162000222565b5085821015620002625787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b2c80620002826000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063b88d4fde116100a0578063dc33e6811161006f578063dc33e68114610530578063e8a3d48514610550578063e985e9c514610565578063f2fde38b14610585578063f43a22dc146105a557600080fd5b8063b88d4fde146104a4578063c6682862146104b7578063c87b56dd146104e8578063cd7c03261461050857600080fd5b806395d89b41116100dc57806395d89b4114610446578063a035b1fe1461045b578063a0712d6814610471578063a22cb4651461048457600080fd5b8063715018a6146103d35780638da5cb5b146103e857806391b7f5ed14610406578063938e3d7b1461042657600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e14610369578063698982ba146103895780636c0360eb1461039e57806370a08231146103b357600080fd5b80633ccfd60b1461030757806342842e0e1461031c57806355f804b31461032f5780635c975abb1461034f57600080fd5b806316c38b3c116101c157806316c38b3c1461029757806318160ddd146102b757806323b872dd146102de57806332cb6b0c146102f157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046114b9565b6105ba565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61060c565b60405161021f9190611526565b34801561025657600080fd5b5061026a610265366004611539565b61069e565b6040516001600160a01b03909116815260200161021f565b610295610290366004611567565b6106e2565b005b3480156102a357600080fd5b506102956102b23660046115a8565b610782565b3480156102c357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102ec3660046115c3565b61079d565b3480156102fd57600080fd5b506102d06106f181565b34801561031357600080fd5b50610295610936565b61029561032a3660046115c3565b6109d2565b34801561033b57600080fd5b5061029561034a366004611690565b6109f2565b34801561035b57600080fd5b50600c546102139060ff1681565b34801561037557600080fd5b5061026a610384366004611539565b610a06565b34801561039557600080fd5b50610295610a11565b3480156103aa57600080fd5b5061023d610a26565b3480156103bf57600080fd5b506102d06103ce3660046116d9565b610ab4565b3480156103df57600080fd5b50610295610b03565b3480156103f457600080fd5b506008546001600160a01b031661026a565b34801561041257600080fd5b50610295610421366004611539565b610b15565b34801561043257600080fd5b50610295610441366004611690565b610b22565b34801561045257600080fd5b5061023d610b36565b34801561046757600080fd5b506102d0600b5481565b61029561047f366004611539565b610b45565b34801561049057600080fd5b5061029561049f3660046116f6565b610cdb565b6102956104b236600461172b565b610d47565b3480156104c357600080fd5b5061023d60405180604001604052806005815260200164173539b7b760d91b81525081565b3480156104f457600080fd5b5061023d610503366004611539565b610d91565b34801561051457600080fd5b5061026a73a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561053c57600080fd5b506102d061054b3660046116d9565b610e5b565b34801561055c57600080fd5b5061023d610e86565b34801561057157600080fd5b506102136105803660046117ab565b610e93565b34801561059157600080fd5b506102956105a03660046116d9565b610f62565b3480156105b157600080fd5b506102d0600281565b60006301ffc9a760e01b6001600160e01b0319831614806105eb57506380ac58cd60e01b6001600160e01b03198316145b806106065750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061b906117e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610647906117e4565b80156106945780601f1061066957610100808354040283529160200191610694565b820191906000526020600020905b81548152906001019060200180831161067757829003601f168201915b5050505050905090565b60006106a982610fdb565b6106c6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ed82610a06565b9050336001600160a01b03821614610726576107098133610e93565b610726576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61078a611010565b600c805460ff1916911515919091179055565b60006107a88261106a565b9050836001600160a01b0316816001600160a01b0316146107db5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108285761080b8633610e93565b61082857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661084f57604051633a954ecd60e21b815260040160405180910390fd5b801561085a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108ec576001840160008181526004602052604081205490036108ea5760005481146108ea5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61093e611010565b6040514790600090339083908381818185875af1925050503d8060008114610982576040519150601f19603f3d011682016040523d82523d6000602084013e610987565b606091505b50509050806109ce5760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064015b60405180910390fd5b5050565b6109ed83838360405180602001604052806000815250610d47565b505050565b6109fa611010565b60096109ce8282611864565b60006106068261106a565b610a19611010565b610a243360016110e0565b565b60098054610a33906117e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5f906117e4565b8015610aac5780601f10610a8157610100808354040283529160200191610aac565b820191906000526020600020905b815481529060010190602001808311610a8f57829003601f168201915b505050505081565b60006001600160a01b038216610add576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b0b611010565b610a2460006110fa565b610b1d611010565b600b55565b610b2a611010565b600a6109ce8282611864565b60606003805461061b906117e4565b600c54339060ff1615610b885760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b60448201526064016109c5565b6001546000548391900360001901610ba0919061193a565b6106f11015610be65760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109c5565b60008211610c365760405162461bcd60e51b815260206004820152601960248201527f4d696e74207175616e74697479206d757374206265203e20300000000000000060448201526064016109c5565b6002821115610c7c5760405162461bcd60e51b815260206004820152601260248201527108af0c6cacac8e640dac2f040e0cae440e8f60731b60448201526064016109c5565b34600b5483610c8b919061194d565b14610cd15760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016109c5565b6109ce81836110e0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d5284848461079d565b6001600160a01b0383163b15610d8b57610d6e8484848461114c565b610d8b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d9c82610fdb565b610de05760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016109c5565b600060098054610def906117e4565b905011610e0b5760405180602001604052806000815250610606565b6009610e1683611237565b60405180604001604052806005815260200164173539b7b760d91b815250604051602001610e4693929190611964565b60405160208183030381529060405292915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610606565b600a8054610a33906117e4565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa158015610ef4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1891906119ff565b6001600160a01b031603610f30576001915050610606565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b610f6a611010565b6001600160a01b038116610fcf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c5565b610fd8816110fa565b50565b600081600111158015610fef575060005482105b8015610606575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610a245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c5565b600081806001116110c7576000548110156110c75760008181526004602052604081205490600160e01b821690036110c5575b806000036110be57506000190160008181526004602052604090205461109d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6109ce828260405180602001604052806000815250611338565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611181903390899088908890600401611a1c565b6020604051808303816000875af19250505080156111bc575060408051601f3d908101601f191682019092526111b991810190611a59565b60015b61121a573d8080156111ea576040519150601f19603f3d011682016040523d82523d6000602084013e6111ef565b606091505b508051600003611212576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60608160000361125e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611288578061127281611a76565b91506112819050600a83611aa5565b9150611262565b60008167ffffffffffffffff8111156112a3576112a3611604565b6040519080825280601f01601f1916602001820160405280156112cd576020820181803683370190505b5090505b8415610f5a576112e2600183611ab9565b91506112ef600a86611acc565b6112fa90603061193a565b60f81b81838151811061130f5761130f611ae0565b60200101906001600160f81b031916908160001a905350611331600a86611aa5565b94506112d1565b61134283836113a5565b6001600160a01b0383163b156109ed576000548281035b61136c600086838060010194508661114c565b611389576040516368d2bf6b60e11b815260040160405180910390fd5b81811061135957816000541461139e57600080fd5b5050505050565b60008054908290036113ca5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461147957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611441565b508160000361149a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610fd857600080fd5b6000602082840312156114cb57600080fd5b81356110be816114a3565b60005b838110156114f15781810151838201526020016114d9565b50506000910152565b600081518084526115128160208601602086016114d6565b601f01601f19169290920160200192915050565b6020815260006110be60208301846114fa565b60006020828403121561154b57600080fd5b5035919050565b6001600160a01b0381168114610fd857600080fd5b6000806040838503121561157a57600080fd5b823561158581611552565b946020939093013593505050565b803580151581146115a357600080fd5b919050565b6000602082840312156115ba57600080fd5b6110be82611593565b6000806000606084860312156115d857600080fd5b83356115e381611552565b925060208401356115f381611552565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561163557611635611604565b604051601f8501601f19908116603f0116810190828211818310171561165d5761165d611604565b8160405280935085815286868601111561167657600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156116a257600080fd5b813567ffffffffffffffff8111156116b957600080fd5b8201601f810184136116ca57600080fd5b610f5a8482356020840161161a565b6000602082840312156116eb57600080fd5b81356110be81611552565b6000806040838503121561170957600080fd5b823561171481611552565b915061172260208401611593565b90509250929050565b6000806000806080858703121561174157600080fd5b843561174c81611552565b9350602085013561175c81611552565b925060408501359150606085013567ffffffffffffffff81111561177f57600080fd5b8501601f8101871361179057600080fd5b61179f8782356020840161161a565b91505092959194509250565b600080604083850312156117be57600080fd5b82356117c981611552565b915060208301356117d981611552565b809150509250929050565b600181811c908216806117f857607f821691505b60208210810361181857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109ed57600081815260208120601f850160051c810160208610156118455750805b601f850160051c820191505b8181101561092e57828155600101611851565b815167ffffffffffffffff81111561187e5761187e611604565b6118928161188c84546117e4565b8461181e565b602080601f8311600181146118c757600084156118af5750858301515b600019600386901b1c1916600185901b17855561092e565b600085815260208120601f198616915b828110156118f6578886015182559484019460019091019084016118d7565b50858210156119145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060657610606611924565b808202811582820484141761060657610606611924565b6000808554611972816117e4565b6001828116801561198a576001811461199f576119ce565b60ff19841687528215158302870194506119ce565b8960005260208060002060005b858110156119c55781548a8201529084019082016119ac565b50505082870194505b5050505084516119e28183602089016114d6565b84519101906119f58183602088016114d6565b0195945050505050565b600060208284031215611a1157600080fd5b81516110be81611552565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a4f908301846114fa565b9695505050505050565b600060208284031215611a6b57600080fd5b81516110be816114a3565b600060018201611a8857611a88611924565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611ab457611ab4611a8f565b500490565b8181038181111561060657610606611924565b600082611adb57611adb611a8f565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220e98bb08fc89aa107c2d33d8caf1a3937f66d4c42c6196514d250f6990559641564736f6c63430008110033697066733a2f2f516d56653854464a6e4745693637575764434272533944505879755454394b4454786b43796b6f6f3378366f666f2f
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063b88d4fde116100a0578063dc33e6811161006f578063dc33e68114610530578063e8a3d48514610550578063e985e9c514610565578063f2fde38b14610585578063f43a22dc146105a557600080fd5b8063b88d4fde146104a4578063c6682862146104b7578063c87b56dd146104e8578063cd7c03261461050857600080fd5b806395d89b41116100dc57806395d89b4114610446578063a035b1fe1461045b578063a0712d6814610471578063a22cb4651461048457600080fd5b8063715018a6146103d35780638da5cb5b146103e857806391b7f5ed14610406578063938e3d7b1461042657600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e14610369578063698982ba146103895780636c0360eb1461039e57806370a08231146103b357600080fd5b80633ccfd60b1461030757806342842e0e1461031c57806355f804b31461032f5780635c975abb1461034f57600080fd5b806316c38b3c116101c157806316c38b3c1461029757806318160ddd146102b757806323b872dd146102de57806332cb6b0c146102f157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046114b9565b6105ba565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61060c565b60405161021f9190611526565b34801561025657600080fd5b5061026a610265366004611539565b61069e565b6040516001600160a01b03909116815260200161021f565b610295610290366004611567565b6106e2565b005b3480156102a357600080fd5b506102956102b23660046115a8565b610782565b3480156102c357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102ec3660046115c3565b61079d565b3480156102fd57600080fd5b506102d06106f181565b34801561031357600080fd5b50610295610936565b61029561032a3660046115c3565b6109d2565b34801561033b57600080fd5b5061029561034a366004611690565b6109f2565b34801561035b57600080fd5b50600c546102139060ff1681565b34801561037557600080fd5b5061026a610384366004611539565b610a06565b34801561039557600080fd5b50610295610a11565b3480156103aa57600080fd5b5061023d610a26565b3480156103bf57600080fd5b506102d06103ce3660046116d9565b610ab4565b3480156103df57600080fd5b50610295610b03565b3480156103f457600080fd5b506008546001600160a01b031661026a565b34801561041257600080fd5b50610295610421366004611539565b610b15565b34801561043257600080fd5b50610295610441366004611690565b610b22565b34801561045257600080fd5b5061023d610b36565b34801561046757600080fd5b506102d0600b5481565b61029561047f366004611539565b610b45565b34801561049057600080fd5b5061029561049f3660046116f6565b610cdb565b6102956104b236600461172b565b610d47565b3480156104c357600080fd5b5061023d60405180604001604052806005815260200164173539b7b760d91b81525081565b3480156104f457600080fd5b5061023d610503366004611539565b610d91565b34801561051457600080fd5b5061026a73a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561053c57600080fd5b506102d061054b3660046116d9565b610e5b565b34801561055c57600080fd5b5061023d610e86565b34801561057157600080fd5b506102136105803660046117ab565b610e93565b34801561059157600080fd5b506102956105a03660046116d9565b610f62565b3480156105b157600080fd5b506102d0600281565b60006301ffc9a760e01b6001600160e01b0319831614806105eb57506380ac58cd60e01b6001600160e01b03198316145b806106065750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061b906117e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610647906117e4565b80156106945780601f1061066957610100808354040283529160200191610694565b820191906000526020600020905b81548152906001019060200180831161067757829003601f168201915b5050505050905090565b60006106a982610fdb565b6106c6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ed82610a06565b9050336001600160a01b03821614610726576107098133610e93565b610726576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61078a611010565b600c805460ff1916911515919091179055565b60006107a88261106a565b9050836001600160a01b0316816001600160a01b0316146107db5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108285761080b8633610e93565b61082857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661084f57604051633a954ecd60e21b815260040160405180910390fd5b801561085a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108ec576001840160008181526004602052604081205490036108ea5760005481146108ea5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61093e611010565b6040514790600090339083908381818185875af1925050503d8060008114610982576040519150601f19603f3d011682016040523d82523d6000602084013e610987565b606091505b50509050806109ce5760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064015b60405180910390fd5b5050565b6109ed83838360405180602001604052806000815250610d47565b505050565b6109fa611010565b60096109ce8282611864565b60006106068261106a565b610a19611010565b610a243360016110e0565b565b60098054610a33906117e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5f906117e4565b8015610aac5780601f10610a8157610100808354040283529160200191610aac565b820191906000526020600020905b815481529060010190602001808311610a8f57829003601f168201915b505050505081565b60006001600160a01b038216610add576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b0b611010565b610a2460006110fa565b610b1d611010565b600b55565b610b2a611010565b600a6109ce8282611864565b60606003805461061b906117e4565b600c54339060ff1615610b885760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b60448201526064016109c5565b6001546000548391900360001901610ba0919061193a565b6106f11015610be65760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109c5565b60008211610c365760405162461bcd60e51b815260206004820152601960248201527f4d696e74207175616e74697479206d757374206265203e20300000000000000060448201526064016109c5565b6002821115610c7c5760405162461bcd60e51b815260206004820152601260248201527108af0c6cacac8e640dac2f040e0cae440e8f60731b60448201526064016109c5565b34600b5483610c8b919061194d565b14610cd15760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016109c5565b6109ce81836110e0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d5284848461079d565b6001600160a01b0383163b15610d8b57610d6e8484848461114c565b610d8b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d9c82610fdb565b610de05760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016109c5565b600060098054610def906117e4565b905011610e0b5760405180602001604052806000815250610606565b6009610e1683611237565b60405180604001604052806005815260200164173539b7b760d91b815250604051602001610e4693929190611964565b60405160208183030381529060405292915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610606565b600a8054610a33906117e4565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa158015610ef4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1891906119ff565b6001600160a01b031603610f30576001915050610606565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b610f6a611010565b6001600160a01b038116610fcf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c5565b610fd8816110fa565b50565b600081600111158015610fef575060005482105b8015610606575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610a245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c5565b600081806001116110c7576000548110156110c75760008181526004602052604081205490600160e01b821690036110c5575b806000036110be57506000190160008181526004602052604090205461109d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6109ce828260405180602001604052806000815250611338565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611181903390899088908890600401611a1c565b6020604051808303816000875af19250505080156111bc575060408051601f3d908101601f191682019092526111b991810190611a59565b60015b61121a573d8080156111ea576040519150601f19603f3d011682016040523d82523d6000602084013e6111ef565b606091505b508051600003611212576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60608160000361125e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611288578061127281611a76565b91506112819050600a83611aa5565b9150611262565b60008167ffffffffffffffff8111156112a3576112a3611604565b6040519080825280601f01601f1916602001820160405280156112cd576020820181803683370190505b5090505b8415610f5a576112e2600183611ab9565b91506112ef600a86611acc565b6112fa90603061193a565b60f81b81838151811061130f5761130f611ae0565b60200101906001600160f81b031916908160001a905350611331600a86611aa5565b94506112d1565b61134283836113a5565b6001600160a01b0383163b156109ed576000548281035b61136c600086838060010194508661114c565b611389576040516368d2bf6b60e11b815260040160405180910390fd5b81811061135957816000541461139e57600080fd5b5050505050565b60008054908290036113ca5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461147957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611441565b508160000361149a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610fd857600080fd5b6000602082840312156114cb57600080fd5b81356110be816114a3565b60005b838110156114f15781810151838201526020016114d9565b50506000910152565b600081518084526115128160208601602086016114d6565b601f01601f19169290920160200192915050565b6020815260006110be60208301846114fa565b60006020828403121561154b57600080fd5b5035919050565b6001600160a01b0381168114610fd857600080fd5b6000806040838503121561157a57600080fd5b823561158581611552565b946020939093013593505050565b803580151581146115a357600080fd5b919050565b6000602082840312156115ba57600080fd5b6110be82611593565b6000806000606084860312156115d857600080fd5b83356115e381611552565b925060208401356115f381611552565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561163557611635611604565b604051601f8501601f19908116603f0116810190828211818310171561165d5761165d611604565b8160405280935085815286868601111561167657600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156116a257600080fd5b813567ffffffffffffffff8111156116b957600080fd5b8201601f810184136116ca57600080fd5b610f5a8482356020840161161a565b6000602082840312156116eb57600080fd5b81356110be81611552565b6000806040838503121561170957600080fd5b823561171481611552565b915061172260208401611593565b90509250929050565b6000806000806080858703121561174157600080fd5b843561174c81611552565b9350602085013561175c81611552565b925060408501359150606085013567ffffffffffffffff81111561177f57600080fd5b8501601f8101871361179057600080fd5b61179f8782356020840161161a565b91505092959194509250565b600080604083850312156117be57600080fd5b82356117c981611552565b915060208301356117d981611552565b809150509250929050565b600181811c908216806117f857607f821691505b60208210810361181857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109ed57600081815260208120601f850160051c810160208610156118455750805b601f850160051c820191505b8181101561092e57828155600101611851565b815167ffffffffffffffff81111561187e5761187e611604565b6118928161188c84546117e4565b8461181e565b602080601f8311600181146118c757600084156118af5750858301515b600019600386901b1c1916600185901b17855561092e565b600085815260208120601f198616915b828110156118f6578886015182559484019460019091019084016118d7565b50858210156119145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060657610606611924565b808202811582820484141761060657610606611924565b6000808554611972816117e4565b6001828116801561198a576001811461199f576119ce565b60ff19841687528215158302870194506119ce565b8960005260208060002060005b858110156119c55781548a8201529084019082016119ac565b50505082870194505b5050505084516119e28183602089016114d6565b84519101906119f58183602088016114d6565b0195945050505050565b600060208284031215611a1157600080fd5b81516110be81611552565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a4f908301846114fa565b9695505050505050565b600060208284031215611a6b57600080fd5b81516110be816114a3565b600060018201611a8857611a88611924565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611ab457611ab4611a8f565b500490565b8181038181111561060657610606611924565b600082611adb57611adb611a8f565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220e98bb08fc89aa107c2d33d8caf1a3937f66d4c42c6196514d250f6990559641564736f6c63430008110033
Deployed Bytecode Sourcemap
57732:2785:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18404:639;;;;;;;;;;-1:-1:-1;18404:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18404:639:0;;;;;;;;19306:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25797:218::-;;;;;;;;;;-1:-1:-1;25797:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;25797:218:0;1533:203:1;25230:408:0;;;;;;:::i;:::-;;:::i;:::-;;59318:87;;;;;;;;;;-1:-1:-1;59318:87:0;;;;;:::i;:::-;;:::i;15057:323::-;;;;;;;;;;-1:-1:-1;58382:1:0;15331:12;15118:7;15315:13;:28;-1:-1:-1;;15315:46:0;15057:323;;;2693:25:1;;;2681:2;2666:18;15057:323:0;2547:177:1;29436:2825:0;;;;;;:::i;:::-;;:::i;58009:41::-;;;;;;;;;;;;58046:4;58009:41;;59521:209;;;;;;;;;;;;;:::i;32357:193::-;;;;;;:::i;:::-;;:::i;59413:100::-;;;;;;;;;;-1:-1:-1;59413:100:0;;;;;:::i;:::-;;:::i;58160:25::-;;;;;;;;;;-1:-1:-1;58160:25:0;;;;;;;;20699:152;;;;;;;;;;-1:-1:-1;20699:152:0;;;;;:::i;:::-;;:::i;58527:83::-;;;;;;;;;;;;;:::i;57837:80::-;;;;;;;;;;;;;:::i;16241:233::-;;;;;;;;;;-1:-1:-1;16241:233:0;;;;;:::i;:::-;;:::i;56708:103::-;;;;;;;;;;;;;:::i;56060:87::-;;;;;;;;;;-1:-1:-1;56133:6:0;;-1:-1:-1;;;;;56133:6:0;56060:87;;59224:86;;;;;;;;;;-1:-1:-1;59224:86:0;;;;;:::i;:::-;;:::i;58399:116::-;;;;;;;;;;-1:-1:-1;58399:116:0;;;;;:::i;:::-;;:::i;19482:104::-;;;;;;;;;;;;;:::i;58110:43::-;;;;;;;;;;;;;;;;58618:473;;;;;;:::i;:::-;;:::i;26355:234::-;;;;;;;;;;-1:-1:-1;26355:234:0;;;;;:::i;:::-;;:::i;33148:407::-;;;;;;:::i;:::-;;:::i;57956:46::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;57956:46:0;;;;;60160:354;;;;;;;;;;-1:-1:-1;60160:354:0;;;;;:::i;:::-;;:::i;58192:89::-;;;;;;;;;;;;58239:42;58192:89;;59099:113;;;;;;;;;;-1:-1:-1;59099:113:0;;;;;:::i;:::-;;:::i;57924:25::-;;;;;;;;;;;;;:::i;59748:404::-;;;;;;;;;;-1:-1:-1;59748:404:0;;;;;:::i;:::-;;:::i;56966:201::-;;;;;;;;;;-1:-1:-1;56966:201:0;;;;;:::i;:::-;;:::i;58065:38::-;;;;;;;;;;;;58102:1;58065:38;;18404:639;18489:4;-1:-1:-1;;;;;;;;;18813:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18890:25:0;;;18813:102;:179;;;-1:-1:-1;;;;;;;;;;18967:25:0;;;18813:179;18793:199;18404:639;-1:-1:-1;;18404:639:0:o;19306:100::-;19360:13;19393:5;19386:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19306:100;:::o;25797:218::-;25873:7;25898:16;25906:7;25898;:16::i;:::-;25893:64;;25923:34;;-1:-1:-1;;;25923:34:0;;;;;;;;;;;25893:64;-1:-1:-1;25977:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25977:30:0;;25797:218::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;-1:-1:-1;49563:10:0;-1:-1:-1;;;;;25368:28:0;;;25364:175;;25416:44;25433:5;49563:10;59748:404;:::i;25416:44::-;25411:128;;25488:35;;-1:-1:-1;;;25488:35:0;;;;;;;;;;;25411:128;25551:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25551:35:0;-1:-1:-1;;;;;25551:35:0;;;;;;;;;25602:28;;25551:24;;25602:28;;;;;;;25308:330;25230:408;;:::o;59318:87::-;55946:13;:11;:13::i;:::-;59381:6:::1;:16:::0;;-1:-1:-1;;59381:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59318:87::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;-1:-1:-1;;;;;29652:45:0;29668:19;-1:-1:-1;;;;;29652:45:0;;29648:86;;29706:28;;-1:-1:-1;;;29706:28:0;;;;;;;;;;;29648:86;29748:27;28544:24;;;:15;:24;;;;;28772:26;;49563:10;28169:30;;;-1:-1:-1;;;;;27862:28:0;;28147:20;;;28144:56;29934:180;;30027:43;30044:4;49563:10;59748:404;:::i;30027:43::-;30022:92;;30079:35;;-1:-1:-1;;;30079:35:0;;;;;;;;;;;30022:92;-1:-1:-1;;;;;30131:16:0;;30127:52;;30156:23;;-1:-1:-1;;;30156:23:0;;;;;;;;;;;30127:52;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;-1:-1:-1;;;;;30865:24:0;;;;;;;:18;:24;;;;;;30863:26;;-1:-1:-1;;30863:26:0;;;30934:22;;;;;;;;;30932:24;;-1:-1:-1;30932:24:0;;;24088:11;24063:23;24059:41;24046:63;-1:-1:-1;;;24046:63:0;31227:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31522:47:0;;:52;;31518:627;;31627:1;31617:11;;31595:19;31750:30;;;:17;:30;;;;;;:35;;31746:384;;31888:13;;31873:11;:28;31869:242;;32035:30;;;;:17;:30;;;;;:52;;;31869:242;31576:569;31518:627;32192:7;32188:2;-1:-1:-1;;;;;32173:27:0;32182:4;-1:-1:-1;;;;;32173:27:0;;;;;;;;;;;32211:42;29567:2694;;;29436:2825;;;:::o;59521:209::-;55946:13;:11;:13::i;:::-;59640:37:::1;::::0;59589:21:::1;::::0;59571:15:::1;::::0;49563:10;;59589:21;;59571:15;59640:37;59571:15;59640:37;59589:21;49563:10;59640:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59621:56;;;59696:7;59688:34;;;::::0;-1:-1:-1;;;59688:34:0;;6977:2:1;59688:34:0::1;::::0;::::1;6959:21:1::0;7016:2;6996:18;;;6989:30;-1:-1:-1;;;7035:18:1;;;7028:44;7089:18;;59688:34:0::1;;;;;;;;;59560:170;;59521:209::o:0;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;:::-;32357:193;;;:::o;59413:100::-;55946:13;:11;:13::i;:::-;59487:7:::1;:18;59497:8:::0;59487:7;:18:::1;:::i;20699:152::-:0;20771:7;20814:27;20833:7;20814:18;:27::i;58527:83::-;55946:13;:11;:13::i;:::-;58576:26:::1;49563:10:::0;58600:1:::1;58576:9;:26::i;:::-;58527:83::o:0;57837:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16241:233::-;16313:7;-1:-1:-1;;;;;16337:19:0;;16333:60;;16365:28;;-1:-1:-1;;;16365:28:0;;;;;;;;;;;16333:60;-1:-1:-1;;;;;;16411:25:0;;;;;:18;:25;;;;;;10400:13;16411:55;;16241:233::o;56708:103::-;55946:13;:11;:13::i;:::-;56773:30:::1;56800:1;56773:18;:30::i;59224:86::-:0;55946:13;:11;:13::i;:::-;59288:5:::1;:14:::0;59224:86::o;58399:116::-;55946:13;:11;:13::i;:::-;58481:11:::1;:26;58495:12:::0;58481:11;:26:::1;:::i;19482:104::-:0;19538:13;19571:7;19564:14;;;;;:::i;58618:473::-;58728:6;;49563:10;;58728:6;;:15;58720:39;;;;-1:-1:-1;;;58720:39:0;;9524:2:1;58720:39:0;;;9506:21:1;9563:2;9543:18;;;9536:30;-1:-1:-1;;;9582:18:1;;;9575:41;9633:18;;58720:39:0;9322:335:1;58720:39:0;58382:1;15331:12;15118:7;15315:13;58808:9;;15315:28;;-1:-1:-1;;15315:46:0;58792:25;;;;:::i;:::-;58046:4;58778:39;;58770:70;;;;-1:-1:-1;;;58770:70:0;;10126:2:1;58770:70:0;;;10108:21:1;10165:2;10145:18;;;10138:30;-1:-1:-1;;;10184:18:1;;;10177:48;10242:18;;58770:70:0;9924:342:1;58770:70:0;58871:1;58859:9;:13;58851:51;;;;-1:-1:-1;;;58851:51:0;;10473:2:1;58851:51:0;;;10455:21:1;10512:2;10492:18;;;10485:30;10551:27;10531:18;;;10524:55;10596:18;;58851:51:0;10271:349:1;58851:51:0;58102:1;58921:9;:23;;58913:54;;;;-1:-1:-1;;;58913:54:0;;10827:2:1;58913:54:0;;;10809:21:1;10866:2;10846:18;;;10839:30;-1:-1:-1;;;10885:18:1;;;10878:48;10943:18;;58913:54:0;10625:342:1;58913:54:0;59007:9;58998:5;;58986:9;:17;;;;:::i;:::-;:30;58978:65;;;;-1:-1:-1;;;58978:65:0;;11347:2:1;58978:65:0;;;11329:21:1;11386:2;11366:18;;;11359:30;-1:-1:-1;;;11405:18:1;;;11398:52;11467:18;;58978:65:0;11145:346:1;58978:65:0;59054:29;59064:7;59073:9;59054;:29::i;26355:234::-;49563:10;26450:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26450:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26450:60:0;;;;;;;;;;26526:55;;540:41:1;;;26450:49:0;;49563:10;26526:55;;513:18:1;26526:55:0;;;;;;;26355:234;;:::o;33148:407::-;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;-1:-1:-1;;;;;33369:14:0;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;-1:-1:-1;;;33492:40:0;;;;;;;;;;;33403:145;33148:407;;;;:::o;60160:354::-;60226:13;60260:17;60268:8;60260:7;:17::i;:::-;60252:51;;;;-1:-1:-1;;;60252:51:0;;11698:2:1;60252:51:0;;;11680:21:1;11737:2;11717:18;;;11710:30;-1:-1:-1;;;11756:18:1;;;11749:51;11817:18;;60252:51:0;11496:345:1;60252:51:0;60345:1;60327:7;60321:21;;;;;:::i;:::-;;;:25;:183;;;;;;;;;;;;;;;;;60401:7;60423:26;60440:8;60423:16;:26::i;:::-;60464:13;;;;;;;;;;;;;-1:-1:-1;;;60464:13:0;;;60370:122;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60314:190;60160:354;-1:-1:-1;;60160:354:0:o;59099:113::-;-1:-1:-1;;;;;16645:25:0;;59157:7;16645:25;;;:18;:25;;10538:2;16645:25;;;;10400:13;16645:50;;16644:82;59184:20;16556:178;57924:25;;;;;;;:::i;59748:404::-;60005:28;;-1:-1:-1;;;60005:28:0;;-1:-1:-1;;;;;1697:32:1;;;60005:28:0;;;1679:51:1;59837:4:0;;58239:42;;59997:49;;;58239:42;;60005:21;;1652:18:1;;60005:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;59997:49:0;;59993:93;;60070:4;60063:11;;;;;59993:93;-1:-1:-1;;;;;26867:25:0;;;26843:4;26867:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;60105:39;60098:46;59748:404;-1:-1:-1;;;;59748:404:0:o;56966:201::-;55946:13;:11;:13::i;:::-;-1:-1:-1;;;;;57055:22:0;::::1;57047:73;;;::::0;-1:-1:-1;;;57047:73:0;;13565:2:1;57047:73:0::1;::::0;::::1;13547:21:1::0;13604:2;13584:18;;;13577:30;13643:34;13623:18;;;13616:62;-1:-1:-1;;;13694:18:1;;;13687:36;13740:19;;57047:73:0::1;13363:402:1::0;57047:73:0::1;57131:28;57150:8;57131:18;:28::i;:::-;56966:201:::0;:::o;27168:282::-;27233:4;27289:7;58382:1;27270:26;;:66;;;;;27323:13;;27313:7;:23;27270:66;:153;;;;-1:-1:-1;;27374:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27374:44:0;:49;;27168:282::o;56225:132::-;56133:6;;-1:-1:-1;;;;;56133:6:0;49563:10;56289:23;56281:68;;;;-1:-1:-1;;;56281:68:0;;13972:2:1;56281:68:0;;;13954:21:1;;;13991:18;;;13984:30;14050:34;14030:18;;;14023:62;14102:18;;56281:68:0;13770:356:1;21854:1275:0;21921:7;21956;;58382:1;22005:23;22001:1061;;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:23;;;:17;:23;;;;;;;-1:-1:-1;;;22202:24:0;;:29;;22198:845;;22867:113;22874:6;22884:1;22874:11;22867:113;;-1:-1:-1;;;22945:6:0;22927:25;;;;:17;:25;;;;;;22867:113;;;23013:6;21854:1275;-1:-1:-1;;;21854:1275:0:o;22198:845::-;22073:989;22047:1015;23090:31;;-1:-1:-1;;;23090:31:0;;;;;;;;;;;43308:112;43385:27;43395:2;43399:8;43385:27;;;;;;;;;;;;:9;:27::i;57327:191::-;57420:6;;;-1:-1:-1;;;;;57437:17:0;;;-1:-1:-1;;;;;;57437:17:0;;;;;;;57470:40;;57420:6;;;57437:17;57420:6;;57470:40;;57401:16;;57470:40;57390:128;57327:191;:::o;35639:716::-;35823:88;;-1:-1:-1;;;35823:88:0;;35802:4;;-1:-1:-1;;;;;35823:45:0;;;;;:88;;49563:10;;35890:4;;35896:7;;35905:5;;35823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35823:88:0;;;;;;;;-1:-1:-1;;35823:88:0;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36106:6;:13;36123:1;36106:18;36102:235;;36152:40;;-1:-1:-1;;;36152:40:0;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;-1:-1:-1;;;;;;35982:64:0;-1:-1:-1;;;35982:64:0;;-1:-1:-1;35639:716:0;;;;;;:::o;51865:723::-;51921:13;52142:5;52151:1;52142:10;52138:53;;-1:-1:-1;;52169:10:0;;;;;;;;;;;;-1:-1:-1;;;52169:10:0;;;;;51865:723::o;52138:53::-;52216:5;52201:12;52257:78;52264:9;;52257:78;;52290:8;;;;:::i;:::-;;-1:-1:-1;52313:10:0;;-1:-1:-1;52321:2:0;52313:10;;:::i;:::-;;;52257:78;;;52345:19;52377:6;52367:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52367:17:0;;52345:39;;52395:154;52402:10;;52395:154;;52429:11;52439:1;52429:11;;:::i;:::-;;-1:-1:-1;52498:10:0;52506:2;52498:5;:10;:::i;:::-;52485:24;;:2;:24;:::i;:::-;52472:39;;52455:6;52462;52455:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;52455:56:0;;;;;;;;-1:-1:-1;52526:11:0;52535:2;52526:11;;:::i;:::-;;;52395:154;;42535:689;42666:19;42672:2;42676:8;42666:5;:19::i;:::-;-1:-1:-1;;;;;42727:14:0;;;:19;42723:483;;42767:11;42781:13;42829:14;;;42862:233;42893:62;42932:1;42936:2;42940:7;;;;;;42949:5;42893:30;:62::i;:::-;42888:167;;42991:40;;-1:-1:-1;;;42991:40:0;;;;;;;;;;;42888:167;43090:3;43082:5;:11;42862:233;;43177:3;43160:13;;:20;43156:34;;43182:8;;;43156:34;42748:458;;42535:689;;;:::o;36817:2966::-;36890:20;36913:13;;;36941;;;36937:44;;36963:18;;-1:-1:-1;;;36963:18:0;;;;;;;;;;;36937:44;-1:-1:-1;;;;;37469:22:0;;;;;;:18;:22;;;;10538:2;37469:22;;;:71;;37507:32;37495:45;;37469:71;;;37783:31;;;:17;:31;;;;;-1:-1:-1;24519:15:0;;24493:24;24489:46;24088:11;24063:23;24059:41;24056:52;24046:63;;37783:173;;38018:23;;;;37783:31;;37469:22;;38783:25;37469:22;;38636:335;39297:1;39283:12;39279:20;39237:346;39338:3;39329:7;39326:16;39237:346;;39556:7;39546:8;39543:1;39516:25;39513:1;39510;39505:59;39391:1;39378:15;39237:346;;;39241:77;39616:8;39628:1;39616:13;39612:45;;39638:19;;-1:-1:-1;;;39638:19:0;;;;;;;;;;;39612:45;39674:13;:19;-1:-1:-1;32357:193:0;;;:::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:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:131::-;-1:-1:-1;;;;;1816:31:1;;1806:42;;1796:70;;1862:1;1859;1852:12;1877:315;1945:6;1953;2006:2;1994:9;1985:7;1981:23;1977:32;1974:52;;;2022:1;2019;2012:12;1974:52;2061:9;2048:23;2080:31;2105:5;2080:31;:::i;:::-;2130:5;2182:2;2167:18;;;;2154:32;;-1:-1:-1;;;1877:315:1:o;2197:160::-;2262:20;;2318:13;;2311:21;2301:32;;2291:60;;2347:1;2344;2337:12;2291:60;2197:160;;;:::o;2362:180::-;2418:6;2471:2;2459:9;2450:7;2446:23;2442:32;2439:52;;;2487:1;2484;2477:12;2439:52;2510:26;2526:9;2510:26;:::i;2729:456::-;2806:6;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:52;;;2891:1;2888;2881:12;2843:52;2930:9;2917:23;2949:31;2974:5;2949:31;:::i;:::-;2999:5;-1:-1:-1;3056:2:1;3041:18;;3028:32;3069:33;3028:32;3069:33;:::i;:::-;2729:456;;3121:7;;-1:-1:-1;;;3175:2:1;3160:18;;;;3147:32;;2729:456::o;3190:127::-;3251:10;3246:3;3242:20;3239:1;3232:31;3282:4;3279:1;3272:15;3306:4;3303:1;3296:15;3322:632;3387:5;3417:18;3458:2;3450:6;3447:14;3444:40;;;3464:18;;:::i;:::-;3539:2;3533:9;3507:2;3593:15;;-1:-1:-1;;3589:24:1;;;3615:2;3585:33;3581:42;3569:55;;;3639:18;;;3659:22;;;3636:46;3633:72;;;3685:18;;:::i;:::-;3725:10;3721:2;3714:22;3754:6;3745:15;;3784:6;3776;3769:22;3824:3;3815:6;3810:3;3806:16;3803:25;3800:45;;;3841:1;3838;3831:12;3800:45;3891:6;3886:3;3879:4;3871:6;3867:17;3854:44;3946:1;3939:4;3930:6;3922;3918:19;3914:30;3907:41;;;;3322:632;;;;;:::o;3959:451::-;4028:6;4081:2;4069:9;4060:7;4056:23;4052:32;4049:52;;;4097:1;4094;4087:12;4049:52;4137:9;4124:23;4170:18;4162:6;4159:30;4156:50;;;4202:1;4199;4192:12;4156:50;4225:22;;4278:4;4270:13;;4266:27;-1:-1:-1;4256:55:1;;4307:1;4304;4297:12;4256:55;4330:74;4396:7;4391:2;4378:16;4373:2;4369;4365:11;4330:74;:::i;4415:247::-;4474:6;4527:2;4515:9;4506:7;4502:23;4498:32;4495:52;;;4543:1;4540;4533:12;4495:52;4582:9;4569:23;4601:31;4626:5;4601:31;:::i;4667:315::-;4732:6;4740;4793:2;4781:9;4772:7;4768:23;4764:32;4761:52;;;4809:1;4806;4799:12;4761:52;4848:9;4835:23;4867:31;4892:5;4867:31;:::i;:::-;4917:5;-1:-1:-1;4941:35:1;4972:2;4957:18;;4941:35;:::i;:::-;4931:45;;4667:315;;;;;:::o;4987:795::-;5082:6;5090;5098;5106;5159:3;5147:9;5138:7;5134:23;5130:33;5127:53;;;5176:1;5173;5166:12;5127:53;5215:9;5202:23;5234:31;5259:5;5234:31;:::i;:::-;5284:5;-1:-1:-1;5341:2:1;5326:18;;5313:32;5354:33;5313:32;5354:33;:::i;:::-;5406:7;-1:-1:-1;5460:2:1;5445:18;;5432:32;;-1:-1:-1;5515:2:1;5500:18;;5487:32;5542:18;5531:30;;5528:50;;;5574:1;5571;5564:12;5528:50;5597:22;;5650:4;5642:13;;5638:27;-1:-1:-1;5628:55:1;;5679:1;5676;5669:12;5628:55;5702:74;5768:7;5763:2;5750:16;5745:2;5741;5737:11;5702:74;:::i;:::-;5692:84;;;4987:795;;;;;;;:::o;5787:388::-;5855:6;5863;5916:2;5904:9;5895:7;5891:23;5887:32;5884:52;;;5932:1;5929;5922:12;5884:52;5971:9;5958:23;5990:31;6015:5;5990:31;:::i;:::-;6040:5;-1:-1:-1;6097:2:1;6082:18;;6069:32;6110:33;6069:32;6110:33;:::i;:::-;6162:7;6152:17;;;5787:388;;;;;:::o;6180:380::-;6259:1;6255:12;;;;6302;;;6323:61;;6377:4;6369:6;6365:17;6355:27;;6323:61;6430:2;6422:6;6419:14;6399:18;6396:38;6393:161;;6476:10;6471:3;6467:20;6464:1;6457:31;6511:4;6508:1;6501:15;6539:4;6536:1;6529:15;6393:161;;6180:380;;;:::o;7244:545::-;7346:2;7341:3;7338:11;7335:448;;;7382:1;7407:5;7403:2;7396:17;7452:4;7448:2;7438:19;7522:2;7510:10;7506:19;7503:1;7499:27;7493:4;7489:38;7558:4;7546:10;7543:20;7540:47;;;-1:-1:-1;7581:4:1;7540:47;7636:2;7631:3;7627:12;7624:1;7620:20;7614:4;7610:31;7600:41;;7691:82;7709:2;7702:5;7699:13;7691:82;;;7754:17;;;7735:1;7724:13;7691:82;;7965:1352;8091:3;8085:10;8118:18;8110:6;8107:30;8104:56;;;8140:18;;:::i;:::-;8169:97;8259:6;8219:38;8251:4;8245:11;8219:38;:::i;:::-;8213:4;8169:97;:::i;:::-;8321:4;;8385:2;8374:14;;8402:1;8397:663;;;;9104:1;9121:6;9118:89;;;-1:-1:-1;9173:19:1;;;9167:26;9118:89;-1:-1:-1;;7922:1:1;7918:11;;;7914:24;7910:29;7900:40;7946:1;7942:11;;;7897:57;9220:81;;8367:944;;8397:663;7191:1;7184:14;;;7228:4;7215:18;;-1:-1:-1;;8433:20:1;;;8551:236;8565:7;8562:1;8559:14;8551:236;;;8654:19;;;8648:26;8633:42;;8746:27;;;;8714:1;8702:14;;;;8581:19;;8551:236;;;8555:3;8815:6;8806:7;8803:19;8800:201;;;8876:19;;;8870:26;-1:-1:-1;;8959:1:1;8955:14;;;8971:3;8951:24;8947:37;8943:42;8928:58;8913:74;;8800:201;-1:-1:-1;;;;;9047:1:1;9031:14;;;9027:22;9014:36;;-1:-1:-1;7965:1352:1:o;9662:127::-;9723:10;9718:3;9714:20;9711:1;9704:31;9754:4;9751:1;9744:15;9778:4;9775:1;9768:15;9794:125;9859:9;;;9880:10;;;9877:36;;;9893:18;;:::i;10972:168::-;11045:9;;;11076;;11093:15;;;11087:22;;11073:37;11063:71;;11114:18;;:::i;11846:1227::-;12070:3;12099:1;12132:6;12126:13;12162:36;12188:9;12162:36;:::i;:::-;12217:1;12234:18;;;12261:133;;;;12408:1;12403:356;;;;12227:532;;12261:133;-1:-1:-1;;12294:24:1;;12282:37;;12367:14;;12360:22;12348:35;;12339:45;;;-1:-1:-1;12261:133:1;;12403:356;12434:6;12431:1;12424:17;12464:4;12509:2;12506:1;12496:16;12534:1;12548:165;12562:6;12559:1;12556:13;12548:165;;;12640:14;;12627:11;;;12620:35;12683:16;;;;12577:10;;12548:165;;;12552:3;;;12742:6;12737:3;12733:16;12726:23;;12227:532;;;;;12790:6;12784:13;12806:68;12865:8;12860:3;12853:4;12845:6;12841:17;12806:68;:::i;:::-;12939:13;;12896:18;;;12961:70;12939:13;12896:18;13008:4;12996:17;;12961:70;:::i;:::-;13047:20;;11846:1227;-1:-1:-1;;;;;11846:1227:1:o;13078:280::-;13177:6;13230:2;13218:9;13209:7;13205:23;13201:32;13198:52;;;13246:1;13243;13236:12;13198:52;13278:9;13272:16;13297:31;13322:5;13297:31;:::i;14131:489::-;-1:-1:-1;;;;;14400:15:1;;;14382:34;;14452:15;;14447:2;14432:18;;14425:43;14499:2;14484:18;;14477:34;;;14547:3;14542:2;14527:18;;14520:31;;;14325:4;;14568:46;;14594:19;;14586:6;14568:46;:::i;:::-;14560:54;14131:489;-1:-1:-1;;;;;;14131:489:1:o;14625:249::-;14694:6;14747:2;14735:9;14726:7;14722:23;14718:32;14715:52;;;14763:1;14760;14753:12;14715:52;14795:9;14789:16;14814:30;14838:5;14814:30;:::i;14879:135::-;14918:3;14939:17;;;14936:43;;14959:18;;:::i;:::-;-1:-1:-1;15006:1:1;14995:13;;14879:135::o;15019:127::-;15080:10;15075:3;15071:20;15068:1;15061:31;15111:4;15108:1;15101:15;15135:4;15132:1;15125:15;15151:120;15191:1;15217;15207:35;;15222:18;;:::i;:::-;-1:-1:-1;15256:9:1;;15151:120::o;15276:128::-;15343:9;;;15364:11;;;15361:37;;;15378:18;;:::i;15409:112::-;15441:1;15467;15457:35;;15472:18;;:::i;:::-;-1:-1:-1;15506:9:1;;15409:112::o;15526:127::-;15587:10;15582:3;15578:20;15575:1;15568:31;15618:4;15615:1;15608:15;15642:4;15639:1;15632:15
Swarm Source
ipfs://e98bb08fc89aa107c2d33d8caf1a3937f66d4c42c6196514d250f69905596415
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.