ERC-721
Overview
Max Total Supply
2,000 SUDOSQUID
Holders
296
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
32 SUDOSQUIDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SudoSquid
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT /// SudoSquids - Only on Sudoswap /// Twitter: https://twitter.com/SudoSquidNFT /// Only swappable via Sudoswap pragma solidity ^0.8.9; import "./ERC721A.sol"; import "./Ownable.sol"; import "./IERC20.sol"; contract SudoSquid is ERC721A, Ownable { bool _mintingEnabled = true; bool _sudoswapOnly; string baseURI; string _contractURI; function mintingEnable() external view returns (bool) { return _mintingEnabled; } function sudoswapOnly() external view returns (bool) { return _sudoswapOnly; } function contractURI() public view returns (string memory) { return _contractURI; } constructor() ERC721A("SudoSquid", "SUDOSQUID") { _contractURI = "ipfs://bafkreiasnx7aszvqovlccw4ajj46jmqs4kygxwp62gd7v4vacx7bpm3zdi"; baseURI = "ipfs://bafybeiffv5q6odx6oyy5w6hh3adrgyxf54c72smb6ifxpqnamcbextdxyi/"; } function ownerMintTo(address receipient, uint256 quantity) external onlyOwner() { require(_mintingEnabled, 'Minting has been disabled permanently'); _safeMint(receipient, quantity); } function disableMinting() external onlyOwner() { _mintingEnabled = false; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newURI) external onlyOwner() { baseURI = newURI; } function setContractUri(string memory newURI) external onlyOwner() { _contractURI = newURI; } function setSudoswapOnly(bool value) external onlyOwner() { _sudoswapOnly = value; } function withdraw() external onlyOwner() { payable(owner()).transfer(address(this).balance); } function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner() { IERC20(tokenAddress).transfer(owner(), tokenAmount); } /* * Hook to prevent swapping unless through the SudoSwap Factory/Router. */ address constant sudoswapRouter = 0x2B2e8cDA09bBA9660dCA5cB6233787738Ad68329; address constant sudoswapFactory = 0xb16c1342E617A5B6E4b631EB114483FDB289c0A4; function _beforeApproval(address operator) internal view override { if(_sudoswapOnly && operator != sudoswapRouter && operator != sudoswapFactory) { require(false, 'Can only be swapped via Sudoswap'); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IERC721A.sol"; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); baseURI = string(abi.encodePacked(baseURI, _toString(tokenId))); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, ".json")) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _beforeApproval(to); _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _beforeApproval(operator); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a an approval change * is about to be performed. */ function _beforeApproval(address operator) internal virtual {} /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setSudoswapOnly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sudoswapOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526008805460ff60a01b1916600160a01b1790553480156200002457600080fd5b506040518060400160405280600981526020016814dd591bd4dc5d5a5960ba1b8152506040518060400160405280600981526020016814d55113d4d455525160ba1b81525081600290805190602001906200008192919062000163565b5080516200009790600390602084019062000163565b50506000805550620000a93362000111565b60405180608001604052806042815260200162001ca8604291398051620000d991600a9160209091019062000163565b5060405180608001604052806043815260200162001c656043913980516200010a9160099160209091019062000163565b5062000246565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001719062000209565b90600052602060002090601f016020900481019282620001955760008555620001e0565b82601f10620001b057805160ff1916838001178555620001e0565b82800160010185558215620001e0579182015b82811115620001e0578251825591602001919060010190620001c3565b50620001ee929150620001f2565b5090565b5b80821115620001ee5760008155600101620001f3565b600181811c908216806200021e57607f821691505b602082108114156200024057634e487b7160e01b600052602260045260246000fd5b50919050565b611a0f80620002566000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c80637e5cd5c1116100f9578063ba7e60bd11610097578063e56b1c6811610071578063e56b1c6814610378578063e8a3d4851461038a578063e985e9c514610392578063f2fde38b146103ce57600080fd5b8063ba7e60bd14610340578063c87b56dd14610352578063ccb4807b1461036557600080fd5b806395d89b41116100d357806395d89b41146102ff578063a0eba25f14610307578063a22cb4651461031a578063b88d4fde1461032d57600080fd5b80637e5cd5c1146102d35780638980f11f146102db5780638da5cb5b146102ee57600080fd5b80632b96980c1161016657806355f804b31161014057806355f804b3146102925780636352211e146102a557806370a08231146102b8578063715018a6146102cb57600080fd5b80632b96980c146102645780633ccfd60b1461027757806342842e0e1461027f57600080fd5b8063095ea7b311610197578063095ea7b31461022657806318160ddd1461023b57806323b872dd1461025157600080fd5b806301ffc9a7146101be57806306fdde03146101e6578063081812fc146101fb575b600080fd5b6101d16101cc366004611594565b6103e1565b60405190151581526020015b60405180910390f35b6101ee61047e565b6040516101dd9190611609565b61020e61020936600461161c565b610510565b6040516001600160a01b0390911681526020016101dd565b610239610234366004611651565b61056d565b005b600154600054035b6040519081526020016101dd565b61023961025f36600461167b565b61063c565b6102396102723660046116c5565b610819565b6102396108b1565b61023961028d36600461167b565b610947565b6102396102a036600461176e565b610967565b61020e6102b336600461161c565b6109d8565b6102436102c63660046117b7565b6109e3565b610239610a4b565b610239610ab1565b6102396102e9366004611651565b610b35565b6008546001600160a01b031661020e565b6101ee610c30565b610239610315366004611651565b610c3f565b6102396103283660046117d2565b610d22565b61023961033b366004611809565b610dda565b600854600160a81b900460ff166101d1565b6101ee61036036600461161c565b610e24565b61023961037336600461176e565b610ee4565b600854600160a01b900460ff166101d1565b6101ee610f51565b6101d16103a0366004611885565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102396103dc3660046117b7565b610f60565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316148061044457507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b8061047857507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606002805461048d906118b8565b80601f01602080910402602001604051908101604052809291908181526020018280546104b9906118b8565b80156105065780601f106104db57610100808354040283529160200191610506565b820191906000526020600020905b8154815290600101906020018083116104e957829003601f168201915b5050505050905090565b600061051b8261103f565b610551576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610578826109d8565b9050336001600160a01b038216146105ca5761059481336103a0565b6105ca576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105d383611066565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061064782611112565b9050836001600160a01b0316816001600160a01b031614610694576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106fa576106c486336103a0565b6106fa576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03851661073a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561074557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166107d057600184016000818152600460205260409020546107ce5760005481146107ce5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b031633146108785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60088054911515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546001600160a01b0316331461090b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610944573d6000803e3d6000fd5b50565b61096283838360405180602001604052806000815250610dda565b505050565b6008546001600160a01b031633146109c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b80516109d49060099060208401906114e5565b5050565b600061047882611112565b60006001600160a01b038216610a25576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610aa55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b610aaf600061118c565b565b6008546001600160a01b03163314610b0b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b600880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6008546001600160a01b03163314610b8f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b816001600160a01b031663a9059cbb610bb06008546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096291906118f3565b60606003805461048d906118b8565b6008546001600160a01b03163314610c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b600854600160a01b900460ff16610d185760405162461bcd60e51b815260206004820152602560248201527f4d696e74696e6720686173206265656e2064697361626c6564207065726d616e60448201527f656e746c79000000000000000000000000000000000000000000000000000000606482015260840161086f565b6109d482826111eb565b6001600160a01b038216331415610d65576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d6e82611066565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de584848461063c565b6001600160a01b0383163b15610e1e57610e0184848484611205565b610e1e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e2f8261103f565b610e65576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610e6f6112fd565b905080610e7b8461130c565b604051602001610e8c929190611910565b6040516020818303038152906040529050805160001415610ebc5760405180602001604052806000815250610edd565b80604051602001610ecd919061193f565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610f3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b80516109d490600a9060208401906114e5565b6060600a805461048d906118b8565b6008546001600160a01b03163314610fba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b6001600160a01b0381166110365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161086f565b6109448161118c565b6000805482108015610478575050600090815260046020526040902054600160e01b161590565b600854600160a81b900460ff16801561109c57506001600160a01b038116732b2e8cda09bba9660dca5cb6233787738ad6832914155b80156110c557506001600160a01b03811673b16c1342e617a5b6e4b631eb114483fdb289c0a414155b156109445760405162461bcd60e51b815260206004820181905260248201527f43616e206f6e6c79206265207377617070656420766961205375646f73776170604482015260640161086f565b60008160005481101561115a57600081815260046020526040902054600160e01b8116611158575b80610edd57506000190160008181526004602052604090205461113a565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109d482826040518060200160405280600081525061134e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061123a903390899088908890600401611980565b602060405180830381600087803b15801561125457600080fd5b505af1925050508015611284575060408051601f3d908101601f19168201909252611281918101906119bc565b60015b6112df573d8080156112b2576040519150601f19603f3d011682016040523d82523d6000602084013e6112b7565b606091505b5080516112d7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461048d906118b8565b604080516080019081905280825b600183039250600a81066030018353600a9004806113375761133c565b61131a565b50819003601f19909101908152919050565b61135883836113bb565b6001600160a01b0383163b15610962576000548281035b6113826000868380600101945086611205565b61139f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061136f5781600054146113b457600080fd5b5050505050565b600054816113f5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114a457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161146c565b50816114dc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b8280546114f1906118b8565b90600052602060002090601f0160209004810192826115135760008555611559565b82601f1061152c57805160ff1916838001178555611559565b82800160010185558215611559579182015b8281111561155957825182559160200191906001019061153e565b50611565929150611569565b5090565b5b80821115611565576000815560010161156a565b6001600160e01b03198116811461094457600080fd5b6000602082840312156115a657600080fd5b8135610edd8161157e565b60005b838110156115cc5781810151838201526020016115b4565b83811115610e1e5750506000910152565b600081518084526115f58160208601602086016115b1565b601f01601f19169290920160200192915050565b602081526000610edd60208301846115dd565b60006020828403121561162e57600080fd5b5035919050565b80356001600160a01b038116811461164c57600080fd5b919050565b6000806040838503121561166457600080fd5b61166d83611635565b946020939093013593505050565b60008060006060848603121561169057600080fd5b61169984611635565b92506116a760208501611635565b9150604084013590509250925092565b801515811461094457600080fd5b6000602082840312156116d757600080fd5b8135610edd816116b7565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611713576117136116e2565b604051601f8501601f19908116603f0116810190828211818310171561173b5761173b6116e2565b8160405280935085815286868601111561175457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561178057600080fd5b813567ffffffffffffffff81111561179757600080fd5b8201601f810184136117a857600080fd5b6112f5848235602084016116f8565b6000602082840312156117c957600080fd5b610edd82611635565b600080604083850312156117e557600080fd5b6117ee83611635565b915060208301356117fe816116b7565b809150509250929050565b6000806000806080858703121561181f57600080fd5b61182885611635565b935061183660208601611635565b925060408501359150606085013567ffffffffffffffff81111561185957600080fd5b8501601f8101871361186a57600080fd5b611879878235602084016116f8565b91505092959194509250565b6000806040838503121561189857600080fd5b6118a183611635565b91506118af60208401611635565b90509250929050565b600181811c908216806118cc57607f821691505b602082108114156118ed57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561190557600080fd5b8151610edd816116b7565b600083516119228184602088016115b1565b8351908301906119368183602088016115b1565b01949350505050565b600082516119518184602087016115b1565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000920191825250600501919050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526119b260808301846115dd565b9695505050505050565b6000602082840312156119ce57600080fd5b8151610edd8161157e56fea264697066735822122095387e6c693708c7ffefb3a6c0335b62d57c9d82bc4bbbca539f48383c08dccc64736f6c63430008090033697066733a2f2f626166796265696666763571366f6478366f7979357736686833616472677978663534633732736d623669667870716e616d6362657874647879692f697066733a2f2f6261666b72656961736e783761737a76716f766c63637734616a6a34366a6d7173346b796778777036326764377634766163783762706d337a6469
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101b95760003560e01c80637e5cd5c1116100f9578063ba7e60bd11610097578063e56b1c6811610071578063e56b1c6814610378578063e8a3d4851461038a578063e985e9c514610392578063f2fde38b146103ce57600080fd5b8063ba7e60bd14610340578063c87b56dd14610352578063ccb4807b1461036557600080fd5b806395d89b41116100d357806395d89b41146102ff578063a0eba25f14610307578063a22cb4651461031a578063b88d4fde1461032d57600080fd5b80637e5cd5c1146102d35780638980f11f146102db5780638da5cb5b146102ee57600080fd5b80632b96980c1161016657806355f804b31161014057806355f804b3146102925780636352211e146102a557806370a08231146102b8578063715018a6146102cb57600080fd5b80632b96980c146102645780633ccfd60b1461027757806342842e0e1461027f57600080fd5b8063095ea7b311610197578063095ea7b31461022657806318160ddd1461023b57806323b872dd1461025157600080fd5b806301ffc9a7146101be57806306fdde03146101e6578063081812fc146101fb575b600080fd5b6101d16101cc366004611594565b6103e1565b60405190151581526020015b60405180910390f35b6101ee61047e565b6040516101dd9190611609565b61020e61020936600461161c565b610510565b6040516001600160a01b0390911681526020016101dd565b610239610234366004611651565b61056d565b005b600154600054035b6040519081526020016101dd565b61023961025f36600461167b565b61063c565b6102396102723660046116c5565b610819565b6102396108b1565b61023961028d36600461167b565b610947565b6102396102a036600461176e565b610967565b61020e6102b336600461161c565b6109d8565b6102436102c63660046117b7565b6109e3565b610239610a4b565b610239610ab1565b6102396102e9366004611651565b610b35565b6008546001600160a01b031661020e565b6101ee610c30565b610239610315366004611651565b610c3f565b6102396103283660046117d2565b610d22565b61023961033b366004611809565b610dda565b600854600160a81b900460ff166101d1565b6101ee61036036600461161c565b610e24565b61023961037336600461176e565b610ee4565b600854600160a01b900460ff166101d1565b6101ee610f51565b6101d16103a0366004611885565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102396103dc3660046117b7565b610f60565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316148061044457507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b8061047857507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606002805461048d906118b8565b80601f01602080910402602001604051908101604052809291908181526020018280546104b9906118b8565b80156105065780601f106104db57610100808354040283529160200191610506565b820191906000526020600020905b8154815290600101906020018083116104e957829003601f168201915b5050505050905090565b600061051b8261103f565b610551576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610578826109d8565b9050336001600160a01b038216146105ca5761059481336103a0565b6105ca576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105d383611066565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061064782611112565b9050836001600160a01b0316816001600160a01b031614610694576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106fa576106c486336103a0565b6106fa576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03851661073a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561074557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166107d057600184016000818152600460205260409020546107ce5760005481146107ce5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b031633146108785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60088054911515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546001600160a01b0316331461090b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610944573d6000803e3d6000fd5b50565b61096283838360405180602001604052806000815250610dda565b505050565b6008546001600160a01b031633146109c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b80516109d49060099060208401906114e5565b5050565b600061047882611112565b60006001600160a01b038216610a25576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610aa55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b610aaf600061118c565b565b6008546001600160a01b03163314610b0b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b600880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6008546001600160a01b03163314610b8f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b816001600160a01b031663a9059cbb610bb06008546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096291906118f3565b60606003805461048d906118b8565b6008546001600160a01b03163314610c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b600854600160a01b900460ff16610d185760405162461bcd60e51b815260206004820152602560248201527f4d696e74696e6720686173206265656e2064697361626c6564207065726d616e60448201527f656e746c79000000000000000000000000000000000000000000000000000000606482015260840161086f565b6109d482826111eb565b6001600160a01b038216331415610d65576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d6e82611066565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de584848461063c565b6001600160a01b0383163b15610e1e57610e0184848484611205565b610e1e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e2f8261103f565b610e65576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610e6f6112fd565b905080610e7b8461130c565b604051602001610e8c929190611910565b6040516020818303038152906040529050805160001415610ebc5760405180602001604052806000815250610edd565b80604051602001610ecd919061193f565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610f3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b80516109d490600a9060208401906114e5565b6060600a805461048d906118b8565b6008546001600160a01b03163314610fba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b6001600160a01b0381166110365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161086f565b6109448161118c565b6000805482108015610478575050600090815260046020526040902054600160e01b161590565b600854600160a81b900460ff16801561109c57506001600160a01b038116732b2e8cda09bba9660dca5cb6233787738ad6832914155b80156110c557506001600160a01b03811673b16c1342e617a5b6e4b631eb114483fdb289c0a414155b156109445760405162461bcd60e51b815260206004820181905260248201527f43616e206f6e6c79206265207377617070656420766961205375646f73776170604482015260640161086f565b60008160005481101561115a57600081815260046020526040902054600160e01b8116611158575b80610edd57506000190160008181526004602052604090205461113a565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109d482826040518060200160405280600081525061134e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061123a903390899088908890600401611980565b602060405180830381600087803b15801561125457600080fd5b505af1925050508015611284575060408051601f3d908101601f19168201909252611281918101906119bc565b60015b6112df573d8080156112b2576040519150601f19603f3d011682016040523d82523d6000602084013e6112b7565b606091505b5080516112d7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461048d906118b8565b604080516080019081905280825b600183039250600a81066030018353600a9004806113375761133c565b61131a565b50819003601f19909101908152919050565b61135883836113bb565b6001600160a01b0383163b15610962576000548281035b6113826000868380600101945086611205565b61139f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061136f5781600054146113b457600080fd5b5050505050565b600054816113f5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114a457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161146c565b50816114dc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b8280546114f1906118b8565b90600052602060002090601f0160209004810192826115135760008555611559565b82601f1061152c57805160ff1916838001178555611559565b82800160010185558215611559579182015b8281111561155957825182559160200191906001019061153e565b50611565929150611569565b5090565b5b80821115611565576000815560010161156a565b6001600160e01b03198116811461094457600080fd5b6000602082840312156115a657600080fd5b8135610edd8161157e565b60005b838110156115cc5781810151838201526020016115b4565b83811115610e1e5750506000910152565b600081518084526115f58160208601602086016115b1565b601f01601f19169290920160200192915050565b602081526000610edd60208301846115dd565b60006020828403121561162e57600080fd5b5035919050565b80356001600160a01b038116811461164c57600080fd5b919050565b6000806040838503121561166457600080fd5b61166d83611635565b946020939093013593505050565b60008060006060848603121561169057600080fd5b61169984611635565b92506116a760208501611635565b9150604084013590509250925092565b801515811461094457600080fd5b6000602082840312156116d757600080fd5b8135610edd816116b7565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611713576117136116e2565b604051601f8501601f19908116603f0116810190828211818310171561173b5761173b6116e2565b8160405280935085815286868601111561175457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561178057600080fd5b813567ffffffffffffffff81111561179757600080fd5b8201601f810184136117a857600080fd5b6112f5848235602084016116f8565b6000602082840312156117c957600080fd5b610edd82611635565b600080604083850312156117e557600080fd5b6117ee83611635565b915060208301356117fe816116b7565b809150509250929050565b6000806000806080858703121561181f57600080fd5b61182885611635565b935061183660208601611635565b925060408501359150606085013567ffffffffffffffff81111561185957600080fd5b8501601f8101871361186a57600080fd5b611879878235602084016116f8565b91505092959194509250565b6000806040838503121561189857600080fd5b6118a183611635565b91506118af60208401611635565b90509250929050565b600181811c908216806118cc57607f821691505b602082108114156118ed57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561190557600080fd5b8151610edd816116b7565b600083516119228184602088016115b1565b8351908301906119368183602088016115b1565b01949350505050565b600082516119518184602087016115b1565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000920191825250600501919050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526119b260808301846115dd565b9695505050505050565b6000602082840312156119ce57600080fd5b8151610edd8161157e56fea264697066735822122095387e6c693708c7ffefb3a6c0335b62d57c9d82bc4bbbca539f48383c08dccc64736f6c63430008090033
Deployed Bytecode Sourcemap
255:2260:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9312:639:0;;;;;;:::i;:::-;;:::i;:::-;;;611:14:5;;604:22;586:41;;574:2;559:18;9312:639:0;;;;;;;;10214:100;;;:::i;:::-;;;;;;;:::i;16792:218::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1738:55:5;;;1720:74;;1708:2;1693:18;16792:218:0;1574:226:5;16201:432:0;;;;;;:::i;:::-;;:::i;:::-;;5965:323;6239:12;;6026:7;6223:13;:28;5965:323;;;2411:25:5;;;2399:2;2384:18;5965:323:0;2265:177:5;20543:2817:0;;;;;;:::i;:::-;;:::i;1615:98:4:-;;;;;;:::i;:::-;;:::i;1721:108::-;;;:::i;23456:185:0:-;;;;;;:::i;:::-;;:::i;1394:98:4:-;;;;;;:::i;:::-;;:::i;11670:152:0:-;;;;;;:::i;:::-;;:::i;7149:233::-;;;;;;:::i;:::-;;:::i;1934:103:3:-;;;:::i;1181:89:4:-;;;:::i;1837:156::-;;;;;;:::i;:::-;;:::i;1283:87:3:-;1356:6;;-1:-1:-1;;;;;1356:6:3;1283:87;;10390:104:0;;;:::i;967:206:4:-;;;;;;:::i;:::-;;:::i;17350:346:0:-;;;;;;:::i;:::-;;:::i;24239:399::-;;;;;;:::i;:::-;;:::i;514:92:4:-;585:13;;-1:-1:-1;;;585:13:4;;;;514:92;;10600:381:0;;;;;;:::i;:::-;;:::i;1500:107:4:-;;;;;;:::i;:::-;;:::i;411:95::-;483:15;;-1:-1:-1;;;483:15:4;;;;411:95;;614:97;;;:::i;17853:164:0:-;;;;;;:::i;:::-;-1:-1:-1;;;;;17974:25:0;;;17950:4;17974:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17853:164;2192:201:3;;;;;;:::i;:::-;;:::i;9312:639:0:-;9397:4;9721:25;-1:-1:-1;;;;;;9721:25:0;;;;:102;;-1:-1:-1;9798:25:0;-1:-1:-1;;;;;;9798:25:0;;;9721:102;:179;;;-1:-1:-1;9875:25:0;-1:-1:-1;;;;;;9875:25:0;;;9721:179;9701:199;9312:639;-1:-1:-1;;9312:639:0:o;10214:100::-;10268:13;10301:5;10294:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10214:100;:::o;16792:218::-;16868:7;16893:16;16901:7;16893;:16::i;:::-;16888:64;;16918:34;;;;;;;;;;;;;;16888:64;-1:-1:-1;16972:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16972:30:0;;16792:218::o;16201:432::-;16282:13;16298:16;16306:7;16298;:16::i;:::-;16282:32;-1:-1:-1;40583:10:0;-1:-1:-1;;;;;16331:28:0;;;16327:175;;16379:44;16396:5;40583:10;17853:164;:::i;16379:44::-;16374:128;;16451:35;;;;;;;;;;;;;;16374:128;16514:19;16530:2;16514:15;:19::i;:::-;16546:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;16546:35:0;-1:-1:-1;;;;;16546:35:0;;;;;;;;;16597:28;;16546:24;;16597:28;;;;;;;16271:362;16201:432;;:::o;20543:2817::-;20677:27;20707;20726:7;20707:18;:27::i;:::-;20677:57;;20792:4;-1:-1:-1;;;;;20751:45:0;20767:19;-1:-1:-1;;;;;20751:45:0;;20747:86;;20805:28;;;;;;;;;;;;;;20747:86;20847:27;19651:24;;;:15;:24;;;;;19879:26;;40583:10;19276:30;;;-1:-1:-1;;;;;18969:28:0;;19254:20;;;19251:56;21033:180;;21126:43;21143:4;40583:10;17853:164;:::i;21126:43::-;21121:92;;21178:35;;;;;;;;;;;;;;21121:92;-1:-1:-1;;;;;21230:16:0;;21226:52;;21255:23;;;;;;;;;;;;;;21226:52;21427:15;21424:160;;;21567:1;21546:19;21539:30;21424:160;-1:-1:-1;;;;;21964:24:0;;;;;;;:18;:24;;;;;;21962:26;;-1:-1:-1;;21962:26:0;;;22033:22;;;;;;;;;22031:24;;-1:-1:-1;22031:24:0;;;15059:11;15034:23;15030:41;15017:63;-1:-1:-1;;;15017:63:0;22326:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;22621:47:0;;22617:627;;22726:1;22716:11;;22694:19;22849:30;;;:17;:30;;;;;;22845:384;;22987:13;;22972:11;:28;22968:242;;23134:30;;;;:17;:30;;;;;:52;;;22968:242;22675:569;22617:627;23291:7;23287:2;-1:-1:-1;;;;;23272:27:0;23281:4;-1:-1:-1;;;;;23272:27:0;;;;;;;;;;;20666:2694;;;20543:2817;;;:::o;1615:98:4:-;1356:6:3;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;;;;;;;;;1684:13:4::1;:21:::0;;;::::1;;-1:-1:-1::0;;;1684:21:4::1;::::0;;;::::1;::::0;;;::::1;::::0;;1615:98::o;1721:108::-;1356:6:3;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;1356:6;;1773:48:4::1;::::0;-1:-1:-1;;;;;1356:6:3;;;;1799:21:4::1;1773:48:::0;::::1;;;::::0;::::1;::::0;;;1799:21;1356:6:3;1773:48:4;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;1721:108::o:0;23456:185:0:-;23594:39;23611:4;23617:2;23621:7;23594:39;;;;;;;;;;;;:16;:39::i;:::-;23456:185;;;:::o;1394:98:4:-;1356:6:3;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;1468:16:4;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;:::-;;1394:98:::0;:::o;11670:152:0:-;11742:7;11785:27;11804:7;11785:18;:27::i;7149:233::-;7221:7;-1:-1:-1;;;;;7245:19:0;;7241:60;;7273:28;;;;;;;;;;;;;;7241:60;-1:-1:-1;;;;;;7319:25:0;;;;;:18;:25;;;;;;1308:13;7319:55;;7149:233::o;1934:103:3:-;1356:6;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;1999:30:::1;2026:1;1999:18;:30::i;:::-;1934:103::o:0;1181:89:4:-;1356:6:3;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;1239:15:4::1;:23:::0;;;::::1;::::0;;1181:89::o;1837:156::-;1356:6:3;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;1941:12:4::1;-1:-1:-1::0;;;;;1934:29:4::1;;1964:7;1356:6:3::0;;-1:-1:-1;;;;;1356:6:3;;1283:87;1964:7:4::1;1934:51;::::0;-1:-1:-1;;;;;;1934:51:4::1;::::0;;;;;;-1:-1:-1;;;;;6874:55:5;;;1934:51:4::1;::::0;::::1;6856:74:5::0;6946:18;;;6939:34;;;6829:18;;1934:51:4::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;10390:104:0:-:0;10446:13;10479:7;10472:14;;;;;:::i;967:206:4:-;1356:6:3;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;1066:15:4::1;::::0;-1:-1:-1;;;1066:15:4;::::1;;;1058:65;;;::::0;-1:-1:-1;;;1058:65:4;;7436:2:5;1058:65:4::1;::::0;::::1;7418:21:5::0;7475:2;7455:18;;;7448:30;7514:34;7494:18;;;7487:62;7585:7;7565:18;;;7558:35;7610:19;;1058:65:4::1;7234:401:5::0;1058:65:4::1;1134:31;1144:10;1156:8;1134:9;:31::i;17350:346:0:-:0;-1:-1:-1;;;;;17449:31:0;;40583:10;17449:31;17445:61;;;17489:17;;;;;;;;;;;;;;17445:61;17519:25;17535:8;17519:15;:25::i;:::-;40583:10;17557:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17557:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;17557:60:0;;;;;;;;;;17633:55;;586:41:5;;;17557:49:0;;40583:10;17633:55;;559:18:5;17633:55:0;;;;;;;17350:346;;:::o;24239:399::-;24406:31;24419:4;24425:2;24429:7;24406:12;:31::i;:::-;-1:-1:-1;;;;;24452:14:0;;;:19;24448:183;;24491:56;24522:4;24528:2;24532:7;24541:5;24491:30;:56::i;:::-;24486:145;;24575:40;;-1:-1:-1;;;24575:40:0;;;;;;;;;;;24486:145;24239:399;;;;:::o;10600:381::-;10673:13;10704:16;10712:7;10704;:16::i;:::-;10699:59;;10729:29;;;;;;;;;;;;;;10699:59;10771:21;10795:10;:8;:10::i;:::-;10771:34;;10850:7;10859:18;10869:7;10859:9;:18::i;:::-;10833:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10816:63;;10903:7;10897:21;10922:1;10897:26;;:76;;;;;;;;;;;;;;;;;10950:7;10933:34;;;;;;;;:::i;:::-;;;;;;;;;;;;;10897:76;10890:83;10600:381;-1:-1:-1;;;10600:381:0:o;1500:107:4:-;1356:6:3;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;1578:21:4;;::::1;::::0;:12:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;614:97::-:0;658:13;691:12;684:19;;;;;:::i;2192:201:3:-;1356:6;;-1:-1:-1;;;;;1356:6:3;40583:10:0;1503:23:3;1495:68;;;;-1:-1:-1;;;1495:68:3;;6523:2:5;1495:68:3;;;6505:21:5;;;6542:18;;;6535:30;6601:34;6581:18;;;6574:62;6653:18;;1495:68:3;6321:356:5;1495:68:3;-1:-1:-1;;;;;2281:22:3;::::1;2273:73;;;::::0;-1:-1:-1;;;2273:73:3;;8765:2:5;2273:73:3::1;::::0;::::1;8747:21:5::0;8804:2;8784:18;;;8777:30;8843:34;8823:18;;;8816:62;8914:8;8894:18;;;8887:36;8940:19;;2273:73:3::1;8563:402:5::0;2273:73:3::1;2357:28;2376:8;2357:18;:28::i;18275:282:0:-:0;18340:4;18430:13;;18420:7;:23;18377:153;;;;-1:-1:-1;;18481:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;18481:44:0;:49;;18275:282::o;2263:249:4:-;2343:13;;-1:-1:-1;;;2343:13:4;;;;:43;;;;-1:-1:-1;;;;;;2360:26:4;;2128:42;2360:26;;2343:43;:74;;;;-1:-1:-1;;;;;;2390:27:4;;2212:42;2390:27;;2343:74;2340:165;;;2443:50;;-1:-1:-1;;;2443:50:4;;9172:2:5;2443:50:4;;;9154:21:5;;;9191:18;;;9184:30;9250:34;9230:18;;;9223:62;9302:18;;2443:50:4;8970:356:5;12825:1275:0;12892:7;12927;13029:13;;13022:4;:20;13018:1015;;;13067:14;13084:23;;;:17;:23;;;;;;-1:-1:-1;;;13173:24:0;;13169:845;;13838:113;13845:11;13838:113;;-1:-1:-1;;;13916:6:0;13898:25;;;;:17;:25;;;;;;13838:113;;13169:845;13044:989;13018:1015;14061:31;;;;;;;;;;;;;;2553:191:3;2646:6;;;-1:-1:-1;;;;;2663:17:3;;;-1:-1:-1;;2663:17:3;;;;;;;2696:40;;2646:6;;;2663:17;2646:6;;2696:40;;2627:16;;2696:40;2616:128;2553:191;:::o;34328:112:0:-;34405:27;34415:2;34419:8;34405:27;;;;;;;;;;;;:9;:27::i;26905:716::-;27089:88;;-1:-1:-1;;;27089:88:0;;27068:4;;-1:-1:-1;;;;;27089:45:0;;;;;:88;;40583:10;;27156:4;;27162:7;;27171:5;;27089:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27089:88:0;;;;;;;;-1:-1:-1;;27089:88:0;;;;;;;;;;;;:::i;:::-;;;27085:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27372:13:0;;27368:235;;27418:40;;-1:-1:-1;;;27418:40:0;;;;;;;;;;;27368:235;27561:6;27555:13;27546:6;27542:2;27538:15;27531:38;27085:529;-1:-1:-1;;;;;;27248:64:0;-1:-1:-1;;;27248:64:0;;-1:-1:-1;27085:529:0;26905:716;;;;;;:::o;1278:108:4:-;1338:13;1371:7;1364:14;;;;;:::i;40703:1582:0:-;41187:4;41181:11;;41194:4;41177:22;41273:17;;;;41177:22;41631:5;41613:428;41679:1;41674:3;41670:11;41663:18;;41850:2;41844:4;41840:13;41836:2;41832:22;41827:3;41819:36;41944:2;41934:13;;;42001:25;;42019:5;;42001:25;41613:428;;;-1:-1:-1;42071:13:0;;;-1:-1:-1;;42186:14:0;;;42248:19;;;42186:14;40703:1582;-1:-1:-1;40703:1582:0:o;33555:689::-;33686:19;33692:2;33696:8;33686:5;:19::i;:::-;-1:-1:-1;;;;;33747:14:0;;;:19;33743:483;;33787:11;33801:13;33849:14;;;33882:233;33913:62;33952:1;33956:2;33960:7;;;;;;33969:5;33913:30;:62::i;:::-;33908:167;;34011:40;;-1:-1:-1;;;34011:40:0;;;;;;;;;;;33908:167;34110:3;34102:5;:11;33882:233;;34197:3;34180:13;;:20;34176:34;;34202:8;;;34176:34;33768:458;;33555:689;;;:::o;28083:2720::-;28156:20;28179:13;28207;28203:44;;28229:18;;;;;;;;;;;;;;28203:44;-1:-1:-1;;;;;28735:22:0;;;;;;:18;:22;;;;1446:2;28735:22;;;:71;;28773:32;28761:45;;28735:71;;;29049:31;;;:17;:31;;;;;-1:-1:-1;15490:15:0;;15464:24;15460:46;15059:11;15034:23;15030:41;15027:52;15017:63;;29049:173;;29284:23;;;;29049:31;;28735:22;;30049:25;28735:22;;29902:335;30317:1;30303:12;30299:20;30257:346;30358:3;30349:7;30346:16;30257:346;;30576:7;30566:8;30563:1;30536:25;30533:1;30530;30525:59;30411:1;30398:15;30257:346;;;-1:-1:-1;30636:13:0;30632:45;;30658:19;;;;;;;;;;;;;;30632:45;30694:13;:19;-1:-1:-1;23456:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:5;-1:-1:-1;;;;;;92:5:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:5;868:16;;861:27;638:258::o;901:::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1141:2;1120:15;-1:-1:-1;;1116:29:5;1107:39;;;;1148:4;1103:50;;901:258;-1:-1:-1;;901:258:5:o;1164:220::-;1313:2;1302:9;1295:21;1276:4;1333:45;1374:2;1363:9;1359:18;1351:6;1333:45;:::i;1389:180::-;1448:6;1501:2;1489:9;1480:7;1476:23;1472:32;1469:52;;;1517:1;1514;1507:12;1469:52;-1:-1:-1;1540:23:5;;1389:180;-1:-1:-1;1389:180:5:o;1805:196::-;1873:20;;-1:-1:-1;;;;;1922:54:5;;1912:65;;1902:93;;1991:1;1988;1981:12;1902:93;1805:196;;;:::o;2006:254::-;2074:6;2082;2135:2;2123:9;2114:7;2110:23;2106:32;2103:52;;;2151:1;2148;2141:12;2103:52;2174:29;2193:9;2174:29;:::i;:::-;2164:39;2250:2;2235:18;;;;2222:32;;-1:-1:-1;;;2006:254:5:o;2447:328::-;2524:6;2532;2540;2593:2;2581:9;2572:7;2568:23;2564:32;2561:52;;;2609:1;2606;2599:12;2561:52;2632:29;2651:9;2632:29;:::i;:::-;2622:39;;2680:38;2714:2;2703:9;2699:18;2680:38;:::i;:::-;2670:48;;2765:2;2754:9;2750:18;2737:32;2727:42;;2447:328;;;;;:::o;2780:118::-;2866:5;2859:13;2852:21;2845:5;2842:32;2832:60;;2888:1;2885;2878:12;2903:241;2959:6;3012:2;3000:9;2991:7;2987:23;2983:32;2980:52;;;3028:1;3025;3018:12;2980:52;3067:9;3054:23;3086:28;3108:5;3086:28;:::i;3149:184::-;-1:-1:-1;;;3198:1:5;3191:88;3298:4;3295:1;3288:15;3322:4;3319:1;3312:15;3338:632;3403:5;3433:18;3474:2;3466:6;3463:14;3460:40;;;3480:18;;:::i;:::-;3555:2;3549:9;3523:2;3609:15;;-1:-1:-1;;3605:24:5;;;3631:2;3601:33;3597:42;3585:55;;;3655:18;;;3675:22;;;3652:46;3649:72;;;3701:18;;:::i;:::-;3741:10;3737:2;3730:22;3770:6;3761:15;;3800:6;3792;3785:22;3840:3;3831:6;3826:3;3822:16;3819:25;3816:45;;;3857:1;3854;3847:12;3816:45;3907:6;3902:3;3895:4;3887:6;3883:17;3870:44;3962:1;3955:4;3946:6;3938;3934:19;3930:30;3923:41;;;;3338:632;;;;;:::o;3975:451::-;4044:6;4097:2;4085:9;4076:7;4072:23;4068:32;4065:52;;;4113:1;4110;4103:12;4065:52;4153:9;4140:23;4186:18;4178:6;4175:30;4172:50;;;4218:1;4215;4208:12;4172:50;4241:22;;4294:4;4286:13;;4282:27;-1:-1:-1;4272:55:5;;4323:1;4320;4313:12;4272:55;4346:74;4412:7;4407:2;4394:16;4389:2;4385;4381:11;4346:74;:::i;4431:186::-;4490:6;4543:2;4531:9;4522:7;4518:23;4514:32;4511:52;;;4559:1;4556;4549:12;4511:52;4582:29;4601:9;4582:29;:::i;4622:315::-;4687:6;4695;4748:2;4736:9;4727:7;4723:23;4719:32;4716:52;;;4764:1;4761;4754:12;4716:52;4787:29;4806:9;4787:29;:::i;:::-;4777:39;;4866:2;4855:9;4851:18;4838:32;4879:28;4901:5;4879:28;:::i;:::-;4926:5;4916:15;;;4622:315;;;;;:::o;4942:667::-;5037:6;5045;5053;5061;5114:3;5102:9;5093:7;5089:23;5085:33;5082:53;;;5131:1;5128;5121:12;5082:53;5154:29;5173:9;5154:29;:::i;:::-;5144:39;;5202:38;5236:2;5225:9;5221:18;5202:38;:::i;:::-;5192:48;;5287:2;5276:9;5272:18;5259:32;5249:42;;5342:2;5331:9;5327:18;5314:32;5369:18;5361:6;5358:30;5355:50;;;5401:1;5398;5391:12;5355:50;5424:22;;5477:4;5469:13;;5465:27;-1:-1:-1;5455:55:5;;5506:1;5503;5496:12;5455:55;5529:74;5595:7;5590:2;5577:16;5572:2;5568;5564:11;5529:74;:::i;:::-;5519:84;;;4942:667;;;;;;;:::o;5614:260::-;5682:6;5690;5743:2;5731:9;5722:7;5718:23;5714:32;5711:52;;;5759:1;5756;5749:12;5711:52;5782:29;5801:9;5782:29;:::i;:::-;5772:39;;5830:38;5864:2;5853:9;5849:18;5830:38;:::i;:::-;5820:48;;5614:260;;;;;:::o;5879:437::-;5958:1;5954:12;;;;6001;;;6022:61;;6076:4;6068:6;6064:17;6054:27;;6022:61;6129:2;6121:6;6118:14;6098:18;6095:38;6092:218;;;-1:-1:-1;;;6163:1:5;6156:88;6267:4;6264:1;6257:15;6295:4;6292:1;6285:15;6092:218;;5879:437;;;:::o;6984:245::-;7051:6;7104:2;7092:9;7083:7;7079:23;7075:32;7072:52;;;7120:1;7117;7110:12;7072:52;7152:9;7146:16;7171:28;7193:5;7171:28;:::i;7640:470::-;7819:3;7857:6;7851:13;7873:53;7919:6;7914:3;7907:4;7899:6;7895:17;7873:53;:::i;:::-;7989:13;;7948:16;;;;8011:57;7989:13;7948:16;8045:4;8033:17;;8011:57;:::i;:::-;8084:20;;7640:470;-1:-1:-1;;;;7640:470:5:o;8115:443::-;8347:3;8385:6;8379:13;8401:53;8447:6;8442:3;8435:4;8427:6;8423:17;8401:53;:::i;:::-;8515:7;8476:16;;8501:22;;;-1:-1:-1;8550:1:5;8539:13;;8115:443;-1:-1:-1;8115:443:5:o;9331:512::-;9525:4;-1:-1:-1;;;;;9635:2:5;9627:6;9623:15;9612:9;9605:34;9687:2;9679:6;9675:15;9670:2;9659:9;9655:18;9648:43;;9727:6;9722:2;9711:9;9707:18;9700:34;9770:3;9765:2;9754:9;9750:18;9743:31;9791:46;9832:3;9821:9;9817:19;9809:6;9791:46;:::i;:::-;9783:54;9331:512;-1:-1:-1;;;;;;9331:512:5:o;9848:249::-;9917:6;9970:2;9958:9;9949:7;9945:23;9941:32;9938:52;;;9986:1;9983;9976:12;9938:52;10018:9;10012:16;10037:30;10061:5;10037:30;:::i
Swarm Source
ipfs://95387e6c693708c7ffefb3a6c0335b62d57c9d82bc4bbbca539f48383c08dccc
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.