Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,333 LLPX
Holders
1,111
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 LLPXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LLAMAPIX
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./ERC721A.sol"; import "./OperatorFilterer.sol"; import "./Ownable.sol"; import "./MerkleProof.sol"; import "./ReentrancyGuard.sol"; import "./Strings.sol"; contract LLAMAPIX is ERC721A, OperatorFilterer, Ownable, ReentrancyGuard { using Strings for uint256; bool public whitelistMintEnabled = false; bool public publicMintEnabled = false; bool public teamMintClaimed = false; bool public operatorFilteringEnabled; uint256 public maxSupply = 7777; uint256 public teamMintLimit = 50; uint256 public whitelistMintCost = 0.004 ether; uint256 public publicMintCost = 0.006 ether; uint256 public maxFreeWhitelistMintLimit = 1; uint256 public maxWhitelistMintLimit = 3; uint256 public maxPublicMintLimit = 3; bytes32 public merkleRoot; string public baseURI; constructor(string memory _initBaseURI) ERC721A("LLAMAPIX", "LLPX") { _registerForOperatorFiltering(); operatorFilteringEnabled = true; setBaseURI(_initBaseURI); } function setApprovalForAll( address operator, bool approved ) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve( address operator, uint256 tokenId ) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function setOperatorFilteringEnabled(bool value) public onlyOwner { operatorFilteringEnabled = value; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setMerkleRoot(bytes32 root) external onlyOwner { merkleRoot = root; } function setMaxSupply(uint256 newMaxSupply) external onlyOwner { maxSupply = newMaxSupply; } function setPublicMintEnabled(bool _state) public onlyOwner { publicMintEnabled = _state; } function setWhitelistMintEnabled(bool _state) public onlyOwner { whitelistMintEnabled = _state; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function _operatorFilteringEnabled() internal view override returns (bool) { return operatorFilteringEnabled; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Token doesn't exist!"); return bytes(baseURI).length > 0 ? string(abi.encodePacked("ipfs://", baseURI, "/", tokenId.toString(), ".json")) : ""; } modifier nonContract() { require(tx.origin == msg.sender, "Contracts not allowed to mint!"); _; } modifier mintCompliance(uint256 _mintAmount) { require(balanceOf(msg.sender) < 3 - balanceOf(msg.sender), "You have already minted 3!"); require(_mintAmount <= 3, "Max mint per transaction is 3!"); require(totalSupply() + _mintAmount <= maxSupply, "Max Supply Exceeded!"); _; } function mintForAddress(uint256 _mintAmount, address _to) external onlyOwner { require(totalSupply() + _mintAmount <= maxSupply, "Max Supply Exceeded!"); _mint(_to, _mintAmount); } function teamMint() external onlyOwner { require(!teamMintClaimed, "Team already claimed!"); _safeMint(owner(), teamMintLimit); teamMintClaimed = true; } function amIOnTheWhitelist(bytes32[] calldata proof) public view returns (bool) { return MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))); } function whitelistMint(uint256 _mintAmount, bytes32[] calldata proof) public payable mintCompliance(_mintAmount) nonReentrant { require(whitelistMintEnabled, "Whitelist minting hasn't started!"); require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "You're not on the whitelist!"); if(balanceOf(_msgSender()) > 0) { require(msg.value >= _mintAmount * whitelistMintCost, "Insufficient Funds1!"); } else { require(msg.value >= (_mintAmount - 1) * whitelistMintCost, "Insufficient Funds2!"); } _safeMint(_msgSender(), _mintAmount); } function publicMint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) nonReentrant { require(publicMintEnabled, "Public minting hasn't started!"); if(balanceOf(_msgSender()) > 0) { require(msg.value >= _mintAmount * publicMintCost, "Insufficient Funds3!"); } _safeMint(_msgSender(), _mintAmount); } function withdraw() external onlyOwner { (bool hs,) = payable(owner()).call{ value: (address(this).balance)}(""); require(hs); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs 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 { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Optimized and flexible operator filterer to abide to OpenSea's /// mandatory on-chain royalty enforcement in order for new collections to /// receive royalties. /// For more information, see: /// See: https://github.com/ProjectOpenSea/operator-filter-registry abstract contract OperatorFilterer { /// @dev The default OpenSea operator blocklist subscription. address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; /// @dev The OpenSea operator filter registry. address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E; /// @dev Registers the current contract to OpenSea's operator filter, /// and subscribe to the default OpenSea operator blocklist. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering() internal virtual { _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true); } /// @dev Registers the current contract to OpenSea's operator filter. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe) internal virtual { /// @solidity memory-safe-assembly assembly { let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`. // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty. subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy)) for {} iszero(subscribe) {} { if iszero(subscriptionOrRegistrantToCopy) { functionSelector := 0x4420e486 // `register(address)`. break } functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`. break } // Store the function selector. mstore(0x00, shl(224, functionSelector)) // Store the `address(this)`. mstore(0x04, address()) // Store the `subscriptionOrRegistrantToCopy`. mstore(0x24, subscriptionOrRegistrantToCopy) // Register into the registry. if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) { // If the function selector has not been overwritten, // it is an out-of-gas error. if eq(shr(224, mload(0x00)), functionSelector) { // To prevent gas under-estimation. revert(0, 0) } } // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, because of Solidity's memory size limits. mstore(0x24, 0) } } /// @dev Modifier to guard a function and revert if the caller is a blocked operator. modifier onlyAllowedOperator(address from) virtual { if (from != msg.sender) { if (!_isPriorityOperator(msg.sender)) { if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender); } } _; } /// @dev Modifier to guard a function from approving a blocked operator.. modifier onlyAllowedOperatorApproval(address operator) virtual { if (!_isPriorityOperator(operator)) { if (_operatorFilteringEnabled()) _revertIfBlocked(operator); } _; } /// @dev Helper function that reverts if the `operator` is blocked by the registry. function _revertIfBlocked(address operator) private view { /// @solidity memory-safe-assembly assembly { // Store the function selector of `isOperatorAllowed(address,address)`, // shifted left by 6 bytes, which is enough for 8tb of memory. // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL). mstore(0x00, 0xc6171134001122334455) // Store the `address(this)`. mstore(0x1a, address()) // Store the `operator`. mstore(0x3a, operator) // `isOperatorAllowed` always returns true if it does not revert. if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) { // Bubble up the revert if the staticcall reverts. returndatacopy(0x00, 0x00, returndatasize()) revert(0x00, returndatasize()) } // We'll skip checking if `from` is inside the blacklist. // Even though that can block transferring out of wrapper contracts, // we don't want tokens to be stuck. // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, if less than 8tb of memory is used. mstore(0x3a, 0) } } /// @dev For deriving contracts to override, so that operator filtering /// can be turned on / off. /// Returns true by default. function _operatorFilteringEnabled() internal view virtual returns (bool) { return true; } /// @dev For deriving contracts to override, so that preferred marketplaces can /// skip operator filtering, helping users save gas. /// Returns false for all inputs by default. function _isPriorityOperator(address) internal view virtual returns (bool) { return false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"amIOnTheWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeWhitelistMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805462ffffff19169055611e61600b556032600c55660e35fa931a0000600d55661550f7dca70000600e556001600f55600360108190556011553480156200004d57600080fd5b50604051620027a6380380620027a6833981016040819052620000709162000347565b604080518082018252600881526709898829a82a092b60c31b60208083019182528351808501909452600484526309898a0b60e31b908401528151919291620000bc916002916200028b565b508051620000d29060039060208401906200028b565b5050600160005550620000e53362000119565b6001600955620000f46200016b565b600a805463ff0000001916630100000017905562000112816200018e565b5062000460565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200018c733cc6cdda760b79bafa08df41ecfa224f810dceb66001620001b1565b565b620001986200022c565b8051620001ad9060139060208401906200028b565b5050565b6001600160a01b0390911690637d3e3dbe81620001e15782620001da5750634420e486620001e1565b5063a0af29035b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af162000222578060005160e01c14156200022257600080fd5b5060006024525050565b6008546001600160a01b031633146200018c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b828054620002999062000423565b90600052602060002090601f016020900481019282620002bd576000855562000308565b82601f10620002d857805160ff191683800117855562000308565b8280016001018555821562000308579182015b8281111562000308578251825591602001919060010190620002eb565b50620003169291506200031a565b5090565b5b808211156200031657600081556001016200031b565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200035b57600080fd5b82516001600160401b03808211156200037357600080fd5b818501915085601f8301126200038857600080fd5b8151818111156200039d576200039d62000331565b604051601f8201601f19908116603f01168101908382118183101715620003c857620003c862000331565b816040528281528886848701011115620003e157600080fd5b600093505b82841015620004055784840186015181850187015292850192620003e6565b82841115620004175760008684830101525b98975050505050505050565b600181811c908216806200043857607f821691505b602082108114156200045a57634e487b7160e01b600052602260045260246000fd5b50919050565b61233680620004706000396000f3fe6080604052600436106102515760003560e01c80637b7ea1eb11610139578063b7c0b8e8116100b6578063d5abeb011161007a578063d5abeb0114610649578063e6b27bb01461065f578063e985e9c514610675578063efbd73f4146106be578063f2fde38b146106de578063fb796e6c146106fe57600080fd5b8063b7c0b8e8146105ce578063b88d4fde146105ee578063ba7a86b814610601578063c87b56dd14610616578063d2cab0561461063657600080fd5b80638da5cb5b116100fd5780638da5cb5b1461054557806395d89b4114610563578063a22cb46514610578578063b12dab6e14610598578063b767a098146105ae57600080fd5b80637b7ea1eb146104b95780637cb64759146104d9578063818668d7146104f95780638c770067146105195780638ca808881461052f57600080fd5b806342842e0e116101d25780636c0360eb116101965780636c0360eb1461041f5780636caede3d146104345780636f8b44b01461044e57806370a082311461046e578063715018a61461048e5780637addfbdf146104a357600080fd5b806342842e0e146103965780634dbc99a6146103a957806355f804b3146103bf5780635f28775d146103df5780636352211e146103ff57600080fd5b806318160ddd1161021957806318160ddd1461031957806323b872dd146103455780632db11544146103585780632eb4a7ab1461036b5780633ccfd60b1461038157600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630f4161aa146102fa575b600080fd5b34801561026257600080fd5b50610276610271366004611c9e565b61071f565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610771565b6040516102829190611d13565b3480156102b957600080fd5b506102cd6102c8366004611d26565b610803565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004611d5b565b610847565b005b34801561030657600080fd5b50600a5461027690610100900460ff1681565b34801561032557600080fd5b50610337600154600054036000190190565b604051908152602001610282565b6102f8610353366004611d85565b610872565b6102f8610366366004611d26565b6108af565b34801561037757600080fd5b5061033760125481565b34801561038d57600080fd5b506102f8610a88565b6102f86103a4366004611d85565b610b04565b3480156103b557600080fd5b50610337600c5481565b3480156103cb57600080fd5b506102f86103da366004611e4d565b610b3b565b3480156103eb57600080fd5b506102766103fa366004611ee2565b610b56565b34801561040b57600080fd5b506102cd61041a366004611d26565b610bd5565b34801561042b57600080fd5b506102a0610be0565b34801561044057600080fd5b50600a546102769060ff1681565b34801561045a57600080fd5b506102f8610469366004611d26565b610c6e565b34801561047a57600080fd5b50610337610489366004611f24565b610c7b565b34801561049a57600080fd5b506102f8610cca565b3480156104af57600080fd5b50610337600f5481565b3480156104c557600080fd5b50600a546102769062010000900460ff1681565b3480156104e557600080fd5b506102f86104f4366004611d26565b610cde565b34801561050557600080fd5b506102f8610514366004611f4f565b610ceb565b34801561052557600080fd5b50610337600e5481565b34801561053b57600080fd5b5061033760105481565b34801561055157600080fd5b506008546001600160a01b03166102cd565b34801561056f57600080fd5b506102a0610d0d565b34801561058457600080fd5b506102f8610593366004611f6a565b610d1c565b3480156105a457600080fd5b50610337600d5481565b3480156105ba57600080fd5b506102f86105c9366004611f4f565b610d42565b3480156105da57600080fd5b506102f86105e9366004611f4f565b610d5d565b6102f86105fc366004611f9d565b610d83565b34801561060d57600080fd5b506102f8610dc2565b34801561062257600080fd5b506102a0610631366004611d26565b610e4b565b6102f8610644366004612019565b610ef5565b34801561065557600080fd5b50610337600b5481565b34801561066b57600080fd5b5061033760115481565b34801561068157600080fd5b50610276610690366004612065565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ca57600080fd5b506102f86106d936600461208f565b6111d8565b3480156106ea57600080fd5b506102f86106f9366004611f24565b611227565b34801561070a57600080fd5b50600a54610276906301000000900460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061075057506380ac58cd60e01b6001600160e01b03198316145b8061076b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610780906120b2565b80601f01602080910402602001604051908101604052809291908181526020018280546107ac906120b2565b80156107f95780601f106107ce576101008083540402835291602001916107f9565b820191906000526020600020905b8154815290600101906020018083116107dc57829003601f168201915b5050505050905090565b600061080e8261129d565b61082b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81600a546301000000900460ff161561086357610863816112d2565b61086d8383611316565b505050565b826001600160a01b038116331461089e57600a546301000000900460ff161561089e5761089e336112d2565b6108a98484846113b6565b50505050565b806108b933610c7b565b6108c4906003612103565b6108cd33610c7b565b1061091f5760405162461bcd60e51b815260206004820152601a60248201527f596f75206861766520616c7265616479206d696e74656420332100000000000060448201526064015b60405180910390fd5b60038111156109705760405162461bcd60e51b815260206004820152601e60248201527f4d6178206d696e7420706572207472616e73616374696f6e20697320332100006044820152606401610916565b600b5481610985600154600054036000190190565b61098f919061211a565b11156109ad5760405162461bcd60e51b815260040161091690612132565b6109b5611547565b600a54610100900460ff16610a0c5760405162461bcd60e51b815260206004820152601e60248201527f5075626c6963206d696e74696e67206861736e277420737461727465642100006044820152606401610916565b6000610a1733610c7b565b1115610a7057600e54610a2a9083612160565b341015610a705760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742046756e6473332160601b6044820152606401610916565b610a7a33836115a1565b610a846001600955565b5050565b610a906115bb565b6000610aa46008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610aee576040519150601f19603f3d011682016040523d82523d6000602084013e610af3565b606091505b5050905080610b0157600080fd5b50565b826001600160a01b0381163314610b3057600a546301000000900460ff1615610b3057610b30336112d2565b6108a9848484611615565b610b436115bb565b8051610a84906013906020840190611bef565b6000610bce838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b60405160208183030381529060405280519060200120611630565b9392505050565b600061076b82611646565b60138054610bed906120b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c19906120b2565b8015610c665780601f10610c3b57610100808354040283529160200191610c66565b820191906000526020600020905b815481529060010190602001808311610c4957829003601f168201915b505050505081565b610c766115bb565b600b55565b60006001600160a01b038216610ca4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cd26115bb565b610cdc60006116af565b565b610ce66115bb565b601255565b610cf36115bb565b600a80549115156101000261ff0019909216919091179055565b606060038054610780906120b2565b81600a546301000000900460ff1615610d3857610d38816112d2565b61086d8383611701565b610d4a6115bb565b600a805460ff1916911515919091179055565b610d656115bb565b600a805491151563010000000263ff00000019909216919091179055565b836001600160a01b0381163314610daf57600a546301000000900460ff1615610daf57610daf336112d2565b610dbb8585858561176d565b5050505050565b610dca6115bb565b600a5462010000900460ff1615610e1b5760405162461bcd60e51b81526020600482015260156024820152745465616d20616c726561647920636c61696d65642160581b6044820152606401610916565b610e38610e306008546001600160a01b031690565b600c546115a1565b600a805462ff0000191662010000179055565b6060610e568261129d565b610e995760405162461bcd60e51b8152602060048201526014602482015273546f6b656e20646f65736e27742065786973742160601b6044820152606401610916565b600060138054610ea8906120b2565b905011610ec4576040518060200160405280600081525061076b565b6013610ecf836117b1565b604051602001610ee092919061219b565b60405160208183030381529060405292915050565b82610eff33610c7b565b610f0a906003612103565b610f1333610c7b565b10610f605760405162461bcd60e51b815260206004820152601a60248201527f596f75206861766520616c7265616479206d696e7465642033210000000000006044820152606401610916565b6003811115610fb15760405162461bcd60e51b815260206004820152601e60248201527f4d6178206d696e7420706572207472616e73616374696f6e20697320332100006044820152606401610916565b600b5481610fc6600154600054036000190190565b610fd0919061211a565b1115610fee5760405162461bcd60e51b815260040161091690612132565b610ff6611547565b600a5460ff166110525760405162461bcd60e51b815260206004820152602160248201527f57686974656c697374206d696e74696e67206861736e277420737461727465646044820152602160f81b6064820152608401610916565b6110b1838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050610bb3565b6110fd5760405162461bcd60e51b815260206004820152601c60248201527f596f75277265206e6f74206f6e207468652077686974656c69737421000000006044820152606401610916565b600061110833610c7b565b111561116657600d5461111b9085612160565b3410156111615760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742046756e6473312160601b6044820152606401610916565b6111c4565b600d54611174600186612103565b61117e9190612160565b3410156111c45760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742046756e6473322160601b6044820152606401610916565b6111ce33856115a1565b6108a96001600955565b6111e06115bb565b600b54826111f5600154600054036000190190565b6111ff919061211a565b111561121d5760405162461bcd60e51b815260040161091690612132565b610a84818361184e565b61122f6115bb565b6001600160a01b0381166112945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610916565b610b01816116af565b6000816001111580156112b1575060005482105b801561076b575050600090815260046020526040902054600160e01b161590565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa61130e573d6000803e3d6000fd5b6000603a5250565b600061132182610bd5565b9050336001600160a01b0382161461135a5761133d8133610690565b61135a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113c182611646565b9050836001600160a01b0316816001600160a01b0316146113f45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611441576114248633610690565b61144157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661146857604051633a954ecd60e21b815260040160405180910390fd5b801561147357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166114fe57600184016000818152600460205260409020546114fc5760005481146114fc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6002600954141561159a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610916565b6002600955565b610a84828260405180602001604052806000815250611945565b6008546001600160a01b03163314610cdc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610916565b61086d83838360405180602001604052806000815250610d83565b60008261163d85846119ab565b14949350505050565b600081806001116116965760005481101561169657600081815260046020526040902054600160e01b8116611694575b80610bce575060001901600081815260046020526040902054611676565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611778848484610872565b6001600160a01b0383163b156108a957611794848484846119f0565b6108a9576040516368d2bf6b60e11b815260040160405180910390fd5b606060006117be83611ae8565b600101905060008167ffffffffffffffff8111156117de576117de611dc1565b6040519080825280601f01601f191660200182016040528015611808576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461184157611846565b611812565b509392505050565b6000548161186f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461191e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016118e6565b508161193c57604051622e076360e81b815260040160405180910390fd5b60005550505050565b61194f838361184e565b6001600160a01b0383163b1561086d576000548281035b61197960008683806001019450866119f0565b611996576040516368d2bf6b60e11b815260040160405180910390fd5b818110611966578160005414610dbb57600080fd5b600081815b8451811015611846576119dc828683815181106119cf576119cf61227f565b6020026020010151611bc0565b9150806119e881612295565b9150506119b0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a259033908990889088906004016122b0565b602060405180830381600087803b158015611a3f57600080fd5b505af1925050508015611a6f575060408051601f3d908101601f19168201909252611a6c918101906122e3565b60015b611aca573d808015611a9d576040519150601f19603f3d011682016040523d82523d6000602084013e611aa2565b606091505b508051611ac2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b53576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b7157662386f26fc10000830492506010015b6305f5e1008310611b89576305f5e100830492506008015b6127108310611b9d57612710830492506004015b60648310611baf576064830492506002015b600a831061076b5760010192915050565b6000818310611bdc576000828152602084905260409020610bce565b6000838152602083905260409020610bce565b828054611bfb906120b2565b90600052602060002090601f016020900481019282611c1d5760008555611c63565b82601f10611c3657805160ff1916838001178555611c63565b82800160010185558215611c63579182015b82811115611c63578251825591602001919060010190611c48565b50611c6f929150611c73565b5090565b5b80821115611c6f5760008155600101611c74565b6001600160e01b031981168114610b0157600080fd5b600060208284031215611cb057600080fd5b8135610bce81611c88565b60005b83811015611cd6578181015183820152602001611cbe565b838111156108a95750506000910152565b60008151808452611cff816020860160208601611cbb565b601f01601f19169290920160200192915050565b602081526000610bce6020830184611ce7565b600060208284031215611d3857600080fd5b5035919050565b80356001600160a01b0381168114611d5657600080fd5b919050565b60008060408385031215611d6e57600080fd5b611d7783611d3f565b946020939093013593505050565b600080600060608486031215611d9a57600080fd5b611da384611d3f565b9250611db160208501611d3f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611df257611df2611dc1565b604051601f8501601f19908116603f01168101908282118183101715611e1a57611e1a611dc1565b81604052809350858152868686011115611e3357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e5f57600080fd5b813567ffffffffffffffff811115611e7657600080fd5b8201601f81018413611e8757600080fd5b611ae084823560208401611dd7565b60008083601f840112611ea857600080fd5b50813567ffffffffffffffff811115611ec057600080fd5b6020830191508360208260051b8501011115611edb57600080fd5b9250929050565b60008060208385031215611ef557600080fd5b823567ffffffffffffffff811115611f0c57600080fd5b611f1885828601611e96565b90969095509350505050565b600060208284031215611f3657600080fd5b610bce82611d3f565b80358015158114611d5657600080fd5b600060208284031215611f6157600080fd5b610bce82611f3f565b60008060408385031215611f7d57600080fd5b611f8683611d3f565b9150611f9460208401611f3f565b90509250929050565b60008060008060808587031215611fb357600080fd5b611fbc85611d3f565b9350611fca60208601611d3f565b925060408501359150606085013567ffffffffffffffff811115611fed57600080fd5b8501601f81018713611ffe57600080fd5b61200d87823560208401611dd7565b91505092959194509250565b60008060006040848603121561202e57600080fd5b83359250602084013567ffffffffffffffff81111561204c57600080fd5b61205886828701611e96565b9497909650939450505050565b6000806040838503121561207857600080fd5b61208183611d3f565b9150611f9460208401611d3f565b600080604083850312156120a257600080fd5b82359150611f9460208401611d3f565b600181811c908216806120c657607f821691505b602082108114156120e757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612115576121156120ed565b500390565b6000821982111561212d5761212d6120ed565b500190565b6020808252601490820152734d617820537570706c792045786365656465642160601b604082015260600190565b600081600019048311821515161561217a5761217a6120ed565b500290565b60008151612191818560208601611cbb565b9290920192915050565b66697066733a2f2f60c81b8152600060076000855481600182811c9150808316806121c757607f831692505b60208084108214156121e757634e487b7160e01b86526022600452602486fd5b8180156121fb576001811461221057612241565b60ff1986168a890152848a0188019650612241565b60008c81526020902060005b868110156122375781548c82018b015290850190830161221c565b505087858b010196505b50505050505061227561226461225e83602f60f81b815260010190565b8761217f565b64173539b7b760d91b815260050190565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b60006000198214156122a9576122a96120ed565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061227590830184611ce7565b6000602082840312156122f557600080fd5b8151610bce81611c8856fea26469706673582212203ee12b7dc42dd7fc55f7ca0e1024e3bb1a17f9e9b899f41bbbea730760b0523564736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004c516d5334716255787273624733376634555452616d75426e6d67733462647245384a566556565871386a323378423f66696c656e616d653d7370696465726d616e49737265616c2e6a736f6e0000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102515760003560e01c80637b7ea1eb11610139578063b7c0b8e8116100b6578063d5abeb011161007a578063d5abeb0114610649578063e6b27bb01461065f578063e985e9c514610675578063efbd73f4146106be578063f2fde38b146106de578063fb796e6c146106fe57600080fd5b8063b7c0b8e8146105ce578063b88d4fde146105ee578063ba7a86b814610601578063c87b56dd14610616578063d2cab0561461063657600080fd5b80638da5cb5b116100fd5780638da5cb5b1461054557806395d89b4114610563578063a22cb46514610578578063b12dab6e14610598578063b767a098146105ae57600080fd5b80637b7ea1eb146104b95780637cb64759146104d9578063818668d7146104f95780638c770067146105195780638ca808881461052f57600080fd5b806342842e0e116101d25780636c0360eb116101965780636c0360eb1461041f5780636caede3d146104345780636f8b44b01461044e57806370a082311461046e578063715018a61461048e5780637addfbdf146104a357600080fd5b806342842e0e146103965780634dbc99a6146103a957806355f804b3146103bf5780635f28775d146103df5780636352211e146103ff57600080fd5b806318160ddd1161021957806318160ddd1461031957806323b872dd146103455780632db11544146103585780632eb4a7ab1461036b5780633ccfd60b1461038157600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630f4161aa146102fa575b600080fd5b34801561026257600080fd5b50610276610271366004611c9e565b61071f565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610771565b6040516102829190611d13565b3480156102b957600080fd5b506102cd6102c8366004611d26565b610803565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004611d5b565b610847565b005b34801561030657600080fd5b50600a5461027690610100900460ff1681565b34801561032557600080fd5b50610337600154600054036000190190565b604051908152602001610282565b6102f8610353366004611d85565b610872565b6102f8610366366004611d26565b6108af565b34801561037757600080fd5b5061033760125481565b34801561038d57600080fd5b506102f8610a88565b6102f86103a4366004611d85565b610b04565b3480156103b557600080fd5b50610337600c5481565b3480156103cb57600080fd5b506102f86103da366004611e4d565b610b3b565b3480156103eb57600080fd5b506102766103fa366004611ee2565b610b56565b34801561040b57600080fd5b506102cd61041a366004611d26565b610bd5565b34801561042b57600080fd5b506102a0610be0565b34801561044057600080fd5b50600a546102769060ff1681565b34801561045a57600080fd5b506102f8610469366004611d26565b610c6e565b34801561047a57600080fd5b50610337610489366004611f24565b610c7b565b34801561049a57600080fd5b506102f8610cca565b3480156104af57600080fd5b50610337600f5481565b3480156104c557600080fd5b50600a546102769062010000900460ff1681565b3480156104e557600080fd5b506102f86104f4366004611d26565b610cde565b34801561050557600080fd5b506102f8610514366004611f4f565b610ceb565b34801561052557600080fd5b50610337600e5481565b34801561053b57600080fd5b5061033760105481565b34801561055157600080fd5b506008546001600160a01b03166102cd565b34801561056f57600080fd5b506102a0610d0d565b34801561058457600080fd5b506102f8610593366004611f6a565b610d1c565b3480156105a457600080fd5b50610337600d5481565b3480156105ba57600080fd5b506102f86105c9366004611f4f565b610d42565b3480156105da57600080fd5b506102f86105e9366004611f4f565b610d5d565b6102f86105fc366004611f9d565b610d83565b34801561060d57600080fd5b506102f8610dc2565b34801561062257600080fd5b506102a0610631366004611d26565b610e4b565b6102f8610644366004612019565b610ef5565b34801561065557600080fd5b50610337600b5481565b34801561066b57600080fd5b5061033760115481565b34801561068157600080fd5b50610276610690366004612065565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ca57600080fd5b506102f86106d936600461208f565b6111d8565b3480156106ea57600080fd5b506102f86106f9366004611f24565b611227565b34801561070a57600080fd5b50600a54610276906301000000900460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061075057506380ac58cd60e01b6001600160e01b03198316145b8061076b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610780906120b2565b80601f01602080910402602001604051908101604052809291908181526020018280546107ac906120b2565b80156107f95780601f106107ce576101008083540402835291602001916107f9565b820191906000526020600020905b8154815290600101906020018083116107dc57829003601f168201915b5050505050905090565b600061080e8261129d565b61082b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81600a546301000000900460ff161561086357610863816112d2565b61086d8383611316565b505050565b826001600160a01b038116331461089e57600a546301000000900460ff161561089e5761089e336112d2565b6108a98484846113b6565b50505050565b806108b933610c7b565b6108c4906003612103565b6108cd33610c7b565b1061091f5760405162461bcd60e51b815260206004820152601a60248201527f596f75206861766520616c7265616479206d696e74656420332100000000000060448201526064015b60405180910390fd5b60038111156109705760405162461bcd60e51b815260206004820152601e60248201527f4d6178206d696e7420706572207472616e73616374696f6e20697320332100006044820152606401610916565b600b5481610985600154600054036000190190565b61098f919061211a565b11156109ad5760405162461bcd60e51b815260040161091690612132565b6109b5611547565b600a54610100900460ff16610a0c5760405162461bcd60e51b815260206004820152601e60248201527f5075626c6963206d696e74696e67206861736e277420737461727465642100006044820152606401610916565b6000610a1733610c7b565b1115610a7057600e54610a2a9083612160565b341015610a705760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742046756e6473332160601b6044820152606401610916565b610a7a33836115a1565b610a846001600955565b5050565b610a906115bb565b6000610aa46008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610aee576040519150601f19603f3d011682016040523d82523d6000602084013e610af3565b606091505b5050905080610b0157600080fd5b50565b826001600160a01b0381163314610b3057600a546301000000900460ff1615610b3057610b30336112d2565b6108a9848484611615565b610b436115bb565b8051610a84906013906020840190611bef565b6000610bce838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b60405160208183030381529060405280519060200120611630565b9392505050565b600061076b82611646565b60138054610bed906120b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c19906120b2565b8015610c665780601f10610c3b57610100808354040283529160200191610c66565b820191906000526020600020905b815481529060010190602001808311610c4957829003601f168201915b505050505081565b610c766115bb565b600b55565b60006001600160a01b038216610ca4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cd26115bb565b610cdc60006116af565b565b610ce66115bb565b601255565b610cf36115bb565b600a80549115156101000261ff0019909216919091179055565b606060038054610780906120b2565b81600a546301000000900460ff1615610d3857610d38816112d2565b61086d8383611701565b610d4a6115bb565b600a805460ff1916911515919091179055565b610d656115bb565b600a805491151563010000000263ff00000019909216919091179055565b836001600160a01b0381163314610daf57600a546301000000900460ff1615610daf57610daf336112d2565b610dbb8585858561176d565b5050505050565b610dca6115bb565b600a5462010000900460ff1615610e1b5760405162461bcd60e51b81526020600482015260156024820152745465616d20616c726561647920636c61696d65642160581b6044820152606401610916565b610e38610e306008546001600160a01b031690565b600c546115a1565b600a805462ff0000191662010000179055565b6060610e568261129d565b610e995760405162461bcd60e51b8152602060048201526014602482015273546f6b656e20646f65736e27742065786973742160601b6044820152606401610916565b600060138054610ea8906120b2565b905011610ec4576040518060200160405280600081525061076b565b6013610ecf836117b1565b604051602001610ee092919061219b565b60405160208183030381529060405292915050565b82610eff33610c7b565b610f0a906003612103565b610f1333610c7b565b10610f605760405162461bcd60e51b815260206004820152601a60248201527f596f75206861766520616c7265616479206d696e7465642033210000000000006044820152606401610916565b6003811115610fb15760405162461bcd60e51b815260206004820152601e60248201527f4d6178206d696e7420706572207472616e73616374696f6e20697320332100006044820152606401610916565b600b5481610fc6600154600054036000190190565b610fd0919061211a565b1115610fee5760405162461bcd60e51b815260040161091690612132565b610ff6611547565b600a5460ff166110525760405162461bcd60e51b815260206004820152602160248201527f57686974656c697374206d696e74696e67206861736e277420737461727465646044820152602160f81b6064820152608401610916565b6110b1838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050610bb3565b6110fd5760405162461bcd60e51b815260206004820152601c60248201527f596f75277265206e6f74206f6e207468652077686974656c69737421000000006044820152606401610916565b600061110833610c7b565b111561116657600d5461111b9085612160565b3410156111615760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742046756e6473312160601b6044820152606401610916565b6111c4565b600d54611174600186612103565b61117e9190612160565b3410156111c45760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742046756e6473322160601b6044820152606401610916565b6111ce33856115a1565b6108a96001600955565b6111e06115bb565b600b54826111f5600154600054036000190190565b6111ff919061211a565b111561121d5760405162461bcd60e51b815260040161091690612132565b610a84818361184e565b61122f6115bb565b6001600160a01b0381166112945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610916565b610b01816116af565b6000816001111580156112b1575060005482105b801561076b575050600090815260046020526040902054600160e01b161590565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa61130e573d6000803e3d6000fd5b6000603a5250565b600061132182610bd5565b9050336001600160a01b0382161461135a5761133d8133610690565b61135a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113c182611646565b9050836001600160a01b0316816001600160a01b0316146113f45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611441576114248633610690565b61144157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661146857604051633a954ecd60e21b815260040160405180910390fd5b801561147357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166114fe57600184016000818152600460205260409020546114fc5760005481146114fc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6002600954141561159a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610916565b6002600955565b610a84828260405180602001604052806000815250611945565b6008546001600160a01b03163314610cdc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610916565b61086d83838360405180602001604052806000815250610d83565b60008261163d85846119ab565b14949350505050565b600081806001116116965760005481101561169657600081815260046020526040902054600160e01b8116611694575b80610bce575060001901600081815260046020526040902054611676565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611778848484610872565b6001600160a01b0383163b156108a957611794848484846119f0565b6108a9576040516368d2bf6b60e11b815260040160405180910390fd5b606060006117be83611ae8565b600101905060008167ffffffffffffffff8111156117de576117de611dc1565b6040519080825280601f01601f191660200182016040528015611808576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461184157611846565b611812565b509392505050565b6000548161186f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461191e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016118e6565b508161193c57604051622e076360e81b815260040160405180910390fd5b60005550505050565b61194f838361184e565b6001600160a01b0383163b1561086d576000548281035b61197960008683806001019450866119f0565b611996576040516368d2bf6b60e11b815260040160405180910390fd5b818110611966578160005414610dbb57600080fd5b600081815b8451811015611846576119dc828683815181106119cf576119cf61227f565b6020026020010151611bc0565b9150806119e881612295565b9150506119b0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a259033908990889088906004016122b0565b602060405180830381600087803b158015611a3f57600080fd5b505af1925050508015611a6f575060408051601f3d908101601f19168201909252611a6c918101906122e3565b60015b611aca573d808015611a9d576040519150601f19603f3d011682016040523d82523d6000602084013e611aa2565b606091505b508051611ac2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b53576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b7157662386f26fc10000830492506010015b6305f5e1008310611b89576305f5e100830492506008015b6127108310611b9d57612710830492506004015b60648310611baf576064830492506002015b600a831061076b5760010192915050565b6000818310611bdc576000828152602084905260409020610bce565b6000838152602083905260409020610bce565b828054611bfb906120b2565b90600052602060002090601f016020900481019282611c1d5760008555611c63565b82601f10611c3657805160ff1916838001178555611c63565b82800160010185558215611c63579182015b82811115611c63578251825591602001919060010190611c48565b50611c6f929150611c73565b5090565b5b80821115611c6f5760008155600101611c74565b6001600160e01b031981168114610b0157600080fd5b600060208284031215611cb057600080fd5b8135610bce81611c88565b60005b83811015611cd6578181015183820152602001611cbe565b838111156108a95750506000910152565b60008151808452611cff816020860160208601611cbb565b601f01601f19169290920160200192915050565b602081526000610bce6020830184611ce7565b600060208284031215611d3857600080fd5b5035919050565b80356001600160a01b0381168114611d5657600080fd5b919050565b60008060408385031215611d6e57600080fd5b611d7783611d3f565b946020939093013593505050565b600080600060608486031215611d9a57600080fd5b611da384611d3f565b9250611db160208501611d3f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611df257611df2611dc1565b604051601f8501601f19908116603f01168101908282118183101715611e1a57611e1a611dc1565b81604052809350858152868686011115611e3357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e5f57600080fd5b813567ffffffffffffffff811115611e7657600080fd5b8201601f81018413611e8757600080fd5b611ae084823560208401611dd7565b60008083601f840112611ea857600080fd5b50813567ffffffffffffffff811115611ec057600080fd5b6020830191508360208260051b8501011115611edb57600080fd5b9250929050565b60008060208385031215611ef557600080fd5b823567ffffffffffffffff811115611f0c57600080fd5b611f1885828601611e96565b90969095509350505050565b600060208284031215611f3657600080fd5b610bce82611d3f565b80358015158114611d5657600080fd5b600060208284031215611f6157600080fd5b610bce82611f3f565b60008060408385031215611f7d57600080fd5b611f8683611d3f565b9150611f9460208401611f3f565b90509250929050565b60008060008060808587031215611fb357600080fd5b611fbc85611d3f565b9350611fca60208601611d3f565b925060408501359150606085013567ffffffffffffffff811115611fed57600080fd5b8501601f81018713611ffe57600080fd5b61200d87823560208401611dd7565b91505092959194509250565b60008060006040848603121561202e57600080fd5b83359250602084013567ffffffffffffffff81111561204c57600080fd5b61205886828701611e96565b9497909650939450505050565b6000806040838503121561207857600080fd5b61208183611d3f565b9150611f9460208401611d3f565b600080604083850312156120a257600080fd5b82359150611f9460208401611d3f565b600181811c908216806120c657607f821691505b602082108114156120e757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612115576121156120ed565b500390565b6000821982111561212d5761212d6120ed565b500190565b6020808252601490820152734d617820537570706c792045786365656465642160601b604082015260600190565b600081600019048311821515161561217a5761217a6120ed565b500290565b60008151612191818560208601611cbb565b9290920192915050565b66697066733a2f2f60c81b8152600060076000855481600182811c9150808316806121c757607f831692505b60208084108214156121e757634e487b7160e01b86526022600452602486fd5b8180156121fb576001811461221057612241565b60ff1986168a890152848a0188019650612241565b60008c81526020902060005b868110156122375781548c82018b015290850190830161221c565b505087858b010196505b50505050505061227561226461225e83602f60f81b815260010190565b8761217f565b64173539b7b760d91b815260050190565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b60006000198214156122a9576122a96120ed565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061227590830184611ce7565b6000602082840312156122f557600080fd5b8151610bce81611c8856fea26469706673582212203ee12b7dc42dd7fc55f7ca0e1024e3bb1a17f9e9b899f41bbbea730760b0523564736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004c516d5334716255787273624733376634555452616d75426e6d67733462647245384a566556565871386a323378423f66696c656e616d653d7370696465726d616e49737265616c2e6a736f6e0000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): QmS4qbUxrsbG37f4UTRamuBnmgs4bdrE8JVeVVXq8j23xB?filename=spidermanIsreal.json
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [2] : 516d5334716255787273624733376634555452616d75426e6d67733462647245
Arg [3] : 384a566556565871386a323378423f66696c656e616d653d7370696465726d61
Arg [4] : 6e49737265616c2e6a736f6e0000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
232:5577:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:1;;;;;;;;;;-1:-1:-1;9155:630:1;;;;;:::i;:::-;;:::i;:::-;;;565:14:10;;558:22;540:41;;528:2;513:18;9155:630:1;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:10;;;1696:51;;1684:2;1669:18;16360:214:1;1550:203:10;1323:190:3;;;;;;:::i;:::-;;:::i;:::-;;393:37;;;;;;;;;;-1:-1:-1;393:37:3;;;;;;;;;;;5894:317:1;;;;;;;;;;;;2990:1:3;6164:12:1;5955:7;6148:13;:28;-1:-1:-1;;6148:46:1;;5894:317;;;;2341:25:10;;;2329:2;2314:18;5894:317:1;2195:177:10;1521:205:3;;;;;;:::i;:::-;;:::i;5267:367::-;;;;;;:::i;:::-;;:::i;849:25::-;;;;;;;;;;;;;;;;5642:164;;;;;;;;;;;;;:::i;1734:213::-;;;;;;:::i;:::-;;:::i;562:33::-;;;;;;;;;;;;;;;;2335:104;;;;;;;;;;-1:-1:-1;2335:104:3;;;;;:::i;:::-;;:::i;4411:184::-;;;;;;;;;;-1:-1:-1;4411:184:3;;;;;:::i;:::-;;:::i;11391:150:1:-;;;;;;;;;;-1:-1:-1;11391:150:1;;;;;:::i;:::-;;:::i;881:21:3:-;;;;;;;;;;;;;:::i;346:40::-;;;;;;;;;;-1:-1:-1;346:40:3;;;;;;;;2551:107;;;;;;;;;;-1:-1:-1;2551:107:3;;;;;:::i;:::-;;:::i;7045:230:1:-;;;;;;;;;;-1:-1:-1;7045:230:1;;;;;:::i;:::-;;:::i;1824:101:7:-;;;;;;;;;;;;;:::i;705:44:3:-;;;;;;;;;;;;;;;;437:35;;;;;;;;;;-1:-1:-1;437:35:3;;;;;;;;;;;2451:92;;;;;;;;;;-1:-1:-1;2451:92:3;;;;;:::i;:::-;;:::i;2666:105::-;;;;;;;;;;-1:-1:-1;2666:105:3;;;;;:::i;:::-;;:::i;655:43::-;;;;;;;;;;;;;;;;756:40;;;;;;;;;;;;;;;;1194:85:7;;;;;;;;;;-1:-1:-1;1266:6:7;;-1:-1:-1;;;;;1266:6:7;1194:85;;10208:102:1;;;;;;;;;;;;;:::i;1114:201:3:-;;;;;;;;;;-1:-1:-1;1114:201:3;;;;;:::i;:::-;;:::i;602:46::-;;;;;;;;;;;;;;;;2779:111;;;;;;;;;;-1:-1:-1;2779:111:3;;;;;:::i;:::-;;:::i;2210:117::-;;;;;;;;;;-1:-1:-1;2210:117:3;;;;;:::i;:::-;;:::i;1955:247::-;;;;;;:::i;:::-;;:::i;4218:185::-;;;;;;;;;;;;;:::i;3264:277::-;;;;;;;;;;-1:-1:-1;3264:277:3;;;;;:::i;:::-;;:::i;4607:652::-;;;;;;:::i;:::-;;:::i;524:31::-;;;;;;;;;;;;;;;;803:37;;;;;;;;;;;;;;;;17282:162:1;;;;;;;;;;-1:-1:-1;17282:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:1;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;4007:203:3;;;;;;;;;;-1:-1:-1;4007:203:3;;;;;:::i;:::-;;:::i;2074:198:7:-;;;;;;;;;;-1:-1:-1;2074:198:7;;;;;:::i;:::-;;:::i;479:36:3:-;;;;;;;;;;-1:-1:-1;479:36:3;;;;;;;;;;;9155:630:1;9240:4;-1:-1:-1;;;;;;;;;9558:25:1;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:1;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:1;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:1:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:1;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:1;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:1;;16360:214::o;1323:190:3:-;1452:8;3100:24;;;;;;;3547:59:6;;;3580:26;3597:8;3580:16;:26::i;:::-;1473:32:3::1;1487:8;1497:7;1473:13;:32::i;:::-;1323:190:::0;;;:::o;1521:205::-;1664:4;-1:-1:-1;;;;;3147:18:6;;3155:10;3147:18;3143:180;;3100:24:3;;;;;;;3237:61:6;;;3270:28;3287:10;3270:16;:28::i;:::-;1681:37:3::1;1700:4;1706:2;1710:7;1681:18;:37::i;:::-;1521:205:::0;;;;:::o;5267:367::-;5338:11;3773:21;3783:10;3773:9;:21::i;:::-;3769:25;;:1;:25;:::i;:::-;3745:21;3755:10;3745:9;:21::i;:::-;:49;3737:88;;;;-1:-1:-1;;;3737:88:3;;8471:2:10;3737:88:3;;;8453:21:10;8510:2;8490:18;;;8483:30;8549:28;8529:18;;;8522:56;8595:18;;3737:88:3;;;;;;;;;3859:1;3844:11;:16;;3836:59;;;;-1:-1:-1;;;3836:59:3;;8826:2:10;3836:59:3;;;8808:21:10;8865:2;8845:18;;;8838:30;8904:32;8884:18;;;8877:60;8954:18;;3836:59:3;8624:354:10;3836:59:3;3945:9;;3930:11;3914:13;2990:1;6164:12:1;5955:7;6148:13;:28;-1:-1:-1;;6148:46:1;;5894:317;3914:13:3;:27;;;;:::i;:::-;:40;;3906:73;;;;-1:-1:-1;;;3906:73:3;;;;;;;:::i;:::-;2261:21:8::1;:19;:21::i;:::-;5383:17:3::2;::::0;::::2;::::0;::::2;;;5375:60;;;::::0;-1:-1:-1;;;5375:60:3;;9667:2:10;5375:60:3::2;::::0;::::2;9649:21:10::0;9706:2;9686:18;;;9679:30;9745:32;9725:18;;;9718:60;9795:18;;5375:60:3::2;9465:354:10::0;5375:60:3::2;5475:1;5449:23;719:10:0::0;7045:230:1;:::i;5449:23:3:-:2;:27;5446:134;;;5528:14;::::0;5514:28:::2;::::0;:11;:28:::2;:::i;:::-;5501:9;:41;;5493:74;;;::::0;-1:-1:-1;;;5493:74:3;;10199:2:10;5493:74:3::2;::::0;::::2;10181:21:10::0;10238:2;10218:18;;;10211:30;-1:-1:-1;;;10257:18:10;;;10250:50;10317:18;;5493:74:3::2;9997:344:10::0;5493:74:3::2;5590:36;719:10:0::0;5614:11:3::2;5590:9;:36::i;:::-;2303:20:8::1;1716:1:::0;2809:7;:22;2629:209;2303:20:::1;5267:367:3::0;;:::o;5642:164::-;1087:13:7;:11;:13::i;:::-;5693:7:3::1;5713;1266:6:7::0;;-1:-1:-1;;;;;1266:6:7;;1194:85;5713:7:3::1;-1:-1:-1::0;;;;;5705:21:3::1;5749;5705:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5692:84;;;5795:2;5787:11;;;::::0;::::1;;5681:125;5642:164::o:0;1734:213::-;1881:4;-1:-1:-1;;;;;3147:18:6;;3155:10;3147:18;3143:180;;3100:24:3;;;;;;;3237:61:6;;;3270:28;3287:10;3270:16;:28::i;:::-;1898:41:3::1;1921:4;1927:2;1931:7;1898:22;:41::i;2335:104::-:0;1087:13:7;:11;:13::i;:::-;2410:21:3;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;4411:184::-:0;4485:4;4509:78;4528:5;;4509:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4535:10:3;;4557:28;;-1:-1:-1;;4574:10:3;10705:2:10;10701:15;10697:53;4557:28:3;;;10685:66:10;4535:10:3;;-1:-1:-1;10767:12:10;;;-1:-1:-1;4557:28:3;;;;;;;;;;;;;4547:39;;;;;;4509:18;:78::i;:::-;4502:85;4411:184;-1:-1:-1;;;4411:184:3:o;11391:150:1:-;11463:7;11505:27;11524:7;11505:18;:27::i;881:21:3:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2551:107::-;1087:13:7;:11;:13::i;:::-;2626:9:3::1;:24:::0;2551:107::o;7045:230:1:-;7117:7;-1:-1:-1;;;;;7140:19:1;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:1;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:1;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1824:101:7:-;1087:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;2451:92:3:-;1087:13:7;:11;:13::i;:::-;2518:10:3::1;:17:::0;2451:92::o;2666:105::-;1087:13:7;:11;:13::i;:::-;2737:17:3::1;:26:::0;;;::::1;;;;-1:-1:-1::0;;2737:26:3;;::::1;::::0;;;::::1;::::0;;2666:105::o;10208:102:1:-;10264:13;10296:7;10289:14;;;;;:::i;1114:201:3:-;1243:8;3100:24;;;;;;;3547:59:6;;;3580:26;3597:8;3580:16;:26::i;:::-;1264:43:3::1;1288:8;1298;1264:23;:43::i;2779:111::-:0;1087:13:7;:11;:13::i;:::-;2853:20:3::1;:29:::0;;-1:-1:-1;;2853:29:3::1;::::0;::::1;;::::0;;;::::1;::::0;;2779:111::o;2210:117::-;1087:13:7;:11;:13::i;:::-;2287:24:3::1;:32:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;2287:32:3;;::::1;::::0;;;::::1;::::0;;2210:117::o;1955:247::-;2130:4;-1:-1:-1;;;;;3147:18:6;;3155:10;3147:18;3143:180;;3100:24:3;;;;;;;3237:61:6;;;3270:28;3287:10;3270:16;:28::i;:::-;2147:47:3::1;2170:4;2176:2;2180:7;2189:4;2147:22;:47::i;:::-;1955:247:::0;;;;;:::o;4218:185::-;1087:13:7;:11;:13::i;:::-;4277:15:3::1;::::0;;;::::1;;;4276:16;4268:50;;;::::0;-1:-1:-1;;;4268:50:3;;10992:2:10;4268:50:3::1;::::0;::::1;10974:21:10::0;11031:2;11011:18;;;11004:30;-1:-1:-1;;;11050:18:10;;;11043:51;11111:18;;4268:50:3::1;10790:345:10::0;4268:50:3::1;4329:33;4339:7;1266:6:7::0;;-1:-1:-1;;;;;1266:6:7;;1194:85;4339:7:3::1;4348:13;;4329:9;:33::i;:::-;4373:15;:22:::0;;-1:-1:-1;;4373:22:3::1;::::0;::::1;::::0;;4218:185::o;3264:277::-;3329:13;3363:16;3371:7;3363;:16::i;:::-;3355:49;;;;-1:-1:-1;;;3355:49:3;;11342:2:10;3355:49:3;;;11324:21:10;11381:2;11361:18;;;11354:30;-1:-1:-1;;;11400:18:10;;;11393:50;11460:18;;3355:49:3;11140:344:10;3355:49:3;3446:1;3428:7;3422:21;;;;;:::i;:::-;;;:25;:111;;;;;;;;;;;;;;;;;3485:7;3499:18;:7;:16;:18::i;:::-;3457:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3415:118;3264:277;-1:-1:-1;;3264:277:3:o;4607:652::-;4707:11;3773:21;3783:10;3773:9;:21::i;:::-;3769:25;;:1;:25;:::i;:::-;3745:21;3755:10;3745:9;:21::i;:::-;:49;3737:88;;;;-1:-1:-1;;;3737:88:3;;8471:2:10;3737:88:3;;;8453:21:10;8510:2;8490:18;;;8483:30;8549:28;8529:18;;;8522:56;8595:18;;3737:88:3;8269:350:10;3737:88:3;3859:1;3844:11;:16;;3836:59;;;;-1:-1:-1;;;3836:59:3;;8826:2:10;3836:59:3;;;8808:21:10;8865:2;8845:18;;;8838:30;8904:32;8884:18;;;8877:60;8954:18;;3836:59:3;8624:354:10;3836:59:3;3945:9;;3930:11;3914:13;2990:1;6164:12:1;5955:7;6148:13;:28;-1:-1:-1;;6148:46:1;;5894:317;3914:13:3;:27;;;;:::i;:::-;:40;;3906:73;;;;-1:-1:-1;;;3906:73:3;;;;;;;:::i;:::-;2261:21:8::1;:19;:21::i;:::-;4752:20:3::2;::::0;::::2;;4744:66;;;::::0;-1:-1:-1;;;4744:66:3;;13870:2:10;4744:66:3::2;::::0;::::2;13852:21:10::0;13909:2;13889:18;;;13882:30;13948:34;13928:18;;;13921:62;-1:-1:-1;;;13999:18:10;;;13992:31;14040:19;;4744:66:3::2;13668:397:10::0;4744:66:3::2;4829:78;4848:5;;4829:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;4855:10:3::2;::::0;4877:28:::2;::::0;-1:-1:-1;;4894:10:3::2;10705:2:10::0;10701:15;10697:53;4877:28:3::2;::::0;::::2;10685:66:10::0;4855:10:3;;-1:-1:-1;10767:12:10;;;-1:-1:-1;4877:28:3::2;10556:229:10::0;4829:78:3::2;4821:119;;;::::0;-1:-1:-1;;;4821:119:3;;14272:2:10;4821:119:3::2;::::0;::::2;14254:21:10::0;14311:2;14291:18;;;14284:30;14350;14330:18;;;14323:58;14398:18;;4821:119:3::2;14070:352:10::0;4821:119:3::2;4982:1;4956:23;719:10:0::0;7045:230:1;:::i;4956:23:3:-:2;:27;4953:252;;;5035:17;::::0;5021:31:::2;::::0;:11;:31:::2;:::i;:::-;5008:9;:44;;5000:77;;;::::0;-1:-1:-1;;;5000:77:3;;14629:2:10;5000:77:3::2;::::0;::::2;14611:21:10::0;14668:2;14648:18;;;14641:30;-1:-1:-1;;;14687:18:10;;;14680:50;14747:18;;5000:77:3::2;14427:344:10::0;5000:77:3::2;4953:252;;;5151:17;::::0;5132:15:::2;5146:1;5132:11:::0;:15:::2;:::i;:::-;5131:37;;;;:::i;:::-;5118:9;:50;;5110:83;;;::::0;-1:-1:-1;;;5110:83:3;;14978:2:10;5110:83:3::2;::::0;::::2;14960:21:10::0;15017:2;14997:18;;;14990:30;-1:-1:-1;;;15036:18:10;;;15029:50;15096:18;;5110:83:3::2;14776:344:10::0;5110:83:3::2;5215:36;719:10:0::0;5239:11:3::2;5215:9;:36::i;:::-;2303:20:8::1;1716:1:::0;2809:7;:22;2629:209;4007:203:3;1087:13:7;:11;:13::i;:::-;4134:9:3::1;;4119:11;4103:13;2990:1:::0;6164:12:1;5955:7;6148:13;:28;-1:-1:-1;;6148:46:1;;5894:317;4103:13:3::1;:27;;;;:::i;:::-;:40;;4095:73;;;;-1:-1:-1::0;;;4095:73:3::1;;;;;;;:::i;:::-;4179:23;4185:3;4190:11;4179:5;:23::i;2074:198:7:-:0;1087:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:7;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:7;;15327:2:10;2154:73:7::1;::::0;::::1;15309:21:10::0;15366:2;15346:18;;;15339:30;15405:34;15385:18;;;15378:62;-1:-1:-1;;;15456:18:10;;;15449:36;15502:19;;2154:73:7::1;15125:402:10::0;2154:73:7::1;2237:28;2256:8;2237:18;:28::i;17693:277:1:-:0;17758:4;17812:7;2990:1:3;17793:26:1;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:1;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:1;:49;;17693:277::o;3728:1332:6:-;4115:22;4109:4;4102:36;4206:9;4200:4;4193:23;4279:8;4273:4;4266:22;4453:4;4447;4441;4435;4408:25;4401:5;4390:68;4380:270;;4572:16;4566:4;4560;4545:44;4619:16;4613:4;4606:30;4380:270;5042:1;5036:4;5029:15;3728:1332;:::o;15812:398:1:-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;719:10:0;-1:-1:-1;;;;;15947:28:1;;;15943:172;;15994:44;16011:5;719:10:0;17282:162:1;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:1;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:1;-1:-1:-1;;;;;16125:35:1;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:1;20128:19;-1:-1:-1;;;;;20112:45:1;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:1;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;719:10:0;18673:30:1;;;-1:-1:-1;;;;;18370:28:1;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;719:10:0;17282:162:1;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:1;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:1;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:1;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:1;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:1;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:1;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:1;21654:26;;;;:17;:26;;;;;:172;-1:-1:-1;;;21943:47:1;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:1;22590:4;-1:-1:-1;;;;;22581:27:1;;;;;;;;;;;20030:2637;;;19903:2764;;;:::o;2336:287:8:-;1759:1;2468:7;;:19;;2460:63;;;;-1:-1:-1;;;2460:63:8;;15734:2:10;2460:63:8;;;15716:21:10;15773:2;15753:18;;;15746:30;15812:33;15792:18;;;15785:61;15863:18;;2460:63:8;15532:355:10;2460:63:8;1759:1;2598:7;:18;2336:287::o;33423:110:1:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;1352:130:7:-;1266:6;;-1:-1:-1;;;;;1266:6:7;719:10:0;1415:23:7;1407:68;;;;-1:-1:-1;;;1407:68:7;;16094:2:10;1407:68:7;;;16076:21:10;;;16113:18;;;16106:30;16172:34;16152:18;;;16145:62;16224:18;;1407:68:7;15892:356:10;22758:187:1;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;1156:184:5:-;1277:4;1329;1300:25;1313:5;1320:4;1300:12;:25::i;:::-;:33;;1156:184;-1:-1:-1;;;;1156:184:5:o;12515:1249:1:-;12582:7;12616;;2990:1:3;12662:23:1;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;-1:-1:-1;;;12855:24:1;;12851:831;;13510:111;13517:11;13510:111;;-1:-1:-1;;;13587:6:1;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:1;;;;;;;;;;;2426:187:7;2518:6;;;-1:-1:-1;;;;;2534:17:7;;;-1:-1:-1;;;;;;2534:17:7;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;16901:231:1:-;719:10:0;16995:39:1;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:1;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:1;;;;;;;;;;17070:55;;540:41:10;;;16995:49:1;;719:10:0;17070:55:1;;513:18:10;17070:55:1;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:1;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:1;;;;;;;;;;;410:696:9;466:13;515:14;532:17;543:5;532:10;:17::i;:::-;552:1;532:21;515:38;;567:20;601:6;590:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;590:18:9;-1:-1:-1;567:41:9;-1:-1:-1;728:28:9;;;744:2;728:28;783:280;-1:-1:-1;;814:5:9;-1:-1:-1;;;948:2:9;937:14;;932:30;814:5;919:44;1007:2;998:11;;;-1:-1:-1;1031:10:9;1027:21;;1043:5;;1027:21;783:280;;;-1:-1:-1;1083:6:9;410:696;-1:-1:-1;;;410:696:9:o;27091:2902:1:-;27163:20;27186:13;27213;27209:44;;27235:18;;-1:-1:-1;;;27235:18:1;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:1;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:1;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;-1:-1:-1;29831:13:1;29827:45;;29853:19;;-1:-1:-1;;;29853:19:1;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;1323:190:3;;;:::o;32675:669:1:-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:1;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:1;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;1994:290:5;2077:7;2119:4;2077:7;2133:116;2157:5;:12;2153:1;:16;2133:116;;;2205:33;2215:12;2229:5;2235:1;2229:8;;;;;;;;:::i;:::-;;;;;;;2205:9;:33::i;:::-;2190:48;-1:-1:-1;2171:3:5;;;;:::i;:::-;;;;2133:116;;25948:697:1;26126:88;;-1:-1:-1;;;26126:88:1;;26106:4;;-1:-1:-1;;;;;26126:45:1;;;;;:88;;719:10:0;;26193:4:1;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:1;;;;;;;;-1:-1:-1;;26126:88:1;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26404:13:1;;26400:229;;26449:40;;-1:-1:-1;;;26449:40:1;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:1;-1:-1:-1;;;26282:64:1;;-1:-1:-1;26122:517:1;25948:697;;;;;;:::o;9889:890:4:-;9942:7;;-1:-1:-1;;;10017:15:4;;10013:99;;-1:-1:-1;;;10052:15:4;;;-1:-1:-1;10095:2:4;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:4;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:4;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:4;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:4;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:4;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:4:o;8879:147:5:-;8942:7;8972:1;8968;:5;:51;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8968:51;;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8976:20;9032:261;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:10;-1:-1:-1;;;;;;88:32:10;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:10;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:10;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:10:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:10;;1365:180;-1:-1:-1;1365:180:10:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:10;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:10:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;2892:127::-;2953:10;2948:3;2944:20;2941:1;2934:31;2984:4;2981:1;2974:15;3008:4;3005:1;2998:15;3024:632;3089:5;3119:18;3160:2;3152:6;3149:14;3146:40;;;3166:18;;:::i;:::-;3241:2;3235:9;3209:2;3295:15;;-1:-1:-1;;3291:24:10;;;3317:2;3287:33;3283:42;3271:55;;;3341:18;;;3361:22;;;3338:46;3335:72;;;3387:18;;:::i;:::-;3427:10;3423:2;3416:22;3456:6;3447:15;;3486:6;3478;3471:22;3526:3;3517:6;3512:3;3508:16;3505:25;3502:45;;;3543:1;3540;3533:12;3502:45;3593:6;3588:3;3581:4;3573:6;3569:17;3556:44;3648:1;3641:4;3632:6;3624;3620:19;3616:30;3609:41;;;;3024:632;;;;;:::o;3661:451::-;3730:6;3783:2;3771:9;3762:7;3758:23;3754:32;3751:52;;;3799:1;3796;3789:12;3751:52;3839:9;3826:23;3872:18;3864:6;3861:30;3858:50;;;3904:1;3901;3894:12;3858:50;3927:22;;3980:4;3972:13;;3968:27;-1:-1:-1;3958:55:10;;4009:1;4006;3999:12;3958:55;4032:74;4098:7;4093:2;4080:16;4075:2;4071;4067:11;4032:74;:::i;4117:367::-;4180:8;4190:6;4244:3;4237:4;4229:6;4225:17;4221:27;4211:55;;4262:1;4259;4252:12;4211:55;-1:-1:-1;4285:20:10;;4328:18;4317:30;;4314:50;;;4360:1;4357;4350:12;4314:50;4397:4;4389:6;4385:17;4373:29;;4457:3;4450:4;4440:6;4437:1;4433:14;4425:6;4421:27;4417:38;4414:47;4411:67;;;4474:1;4471;4464:12;4411:67;4117:367;;;;;:::o;4489:437::-;4575:6;4583;4636:2;4624:9;4615:7;4611:23;4607:32;4604:52;;;4652:1;4649;4642:12;4604:52;4692:9;4679:23;4725:18;4717:6;4714:30;4711:50;;;4757:1;4754;4747:12;4711:50;4796:70;4858:7;4849:6;4838:9;4834:22;4796:70;:::i;:::-;4885:8;;4770:96;;-1:-1:-1;4489:437:10;-1:-1:-1;;;;4489:437:10:o;4931:186::-;4990:6;5043:2;5031:9;5022:7;5018:23;5014:32;5011:52;;;5059:1;5056;5049:12;5011:52;5082:29;5101:9;5082:29;:::i;5307:160::-;5372:20;;5428:13;;5421:21;5411:32;;5401:60;;5457:1;5454;5447:12;5472:180;5528:6;5581:2;5569:9;5560:7;5556:23;5552:32;5549:52;;;5597:1;5594;5587:12;5549:52;5620:26;5636:9;5620:26;:::i;5657:254::-;5722:6;5730;5783:2;5771:9;5762:7;5758:23;5754:32;5751:52;;;5799:1;5796;5789:12;5751:52;5822:29;5841:9;5822:29;:::i;:::-;5812:39;;5870:35;5901:2;5890:9;5886:18;5870:35;:::i;:::-;5860:45;;5657:254;;;;;:::o;5916:667::-;6011:6;6019;6027;6035;6088:3;6076:9;6067:7;6063:23;6059:33;6056:53;;;6105:1;6102;6095:12;6056:53;6128:29;6147:9;6128:29;:::i;:::-;6118:39;;6176:38;6210:2;6199:9;6195:18;6176:38;:::i;:::-;6166:48;;6261:2;6250:9;6246:18;6233:32;6223:42;;6316:2;6305:9;6301:18;6288:32;6343:18;6335:6;6332:30;6329:50;;;6375:1;6372;6365:12;6329:50;6398:22;;6451:4;6443:13;;6439:27;-1:-1:-1;6429:55:10;;6480:1;6477;6470:12;6429:55;6503:74;6569:7;6564:2;6551:16;6546:2;6542;6538:11;6503:74;:::i;:::-;6493:84;;;5916:667;;;;;;;:::o;6588:505::-;6683:6;6691;6699;6752:2;6740:9;6731:7;6727:23;6723:32;6720:52;;;6768:1;6765;6758:12;6720:52;6804:9;6791:23;6781:33;;6865:2;6854:9;6850:18;6837:32;6892:18;6884:6;6881:30;6878:50;;;6924:1;6921;6914:12;6878:50;6963:70;7025:7;7016:6;7005:9;7001:22;6963:70;:::i;:::-;6588:505;;7052:8;;-1:-1:-1;6937:96:10;;-1:-1:-1;;;;6588:505:10:o;7098:260::-;7166:6;7174;7227:2;7215:9;7206:7;7202:23;7198:32;7195:52;;;7243:1;7240;7233:12;7195:52;7266:29;7285:9;7266:29;:::i;:::-;7256:39;;7314:38;7348:2;7337:9;7333:18;7314:38;:::i;7363:254::-;7431:6;7439;7492:2;7480:9;7471:7;7467:23;7463:32;7460:52;;;7508:1;7505;7498:12;7460:52;7544:9;7531:23;7521:33;;7573:38;7607:2;7596:9;7592:18;7573:38;:::i;7622:380::-;7701:1;7697:12;;;;7744;;;7765:61;;7819:4;7811:6;7807:17;7797:27;;7765:61;7872:2;7864:6;7861:14;7841:18;7838:38;7835:161;;;7918:10;7913:3;7909:20;7906:1;7899:31;7953:4;7950:1;7943:15;7981:4;7978:1;7971:15;7835:161;;7622:380;;;:::o;8007:127::-;8068:10;8063:3;8059:20;8056:1;8049:31;8099:4;8096:1;8089:15;8123:4;8120:1;8113:15;8139:125;8179:4;8207:1;8204;8201:8;8198:34;;;8212:18;;:::i;:::-;-1:-1:-1;8249:9:10;;8139:125::o;8983:128::-;9023:3;9054:1;9050:6;9047:1;9044:13;9041:39;;;9060:18;;:::i;:::-;-1:-1:-1;9096:9:10;;8983:128::o;9116:344::-;9318:2;9300:21;;;9357:2;9337:18;;;9330:30;-1:-1:-1;;;9391:2:10;9376:18;;9369:50;9451:2;9436:18;;9116:344::o;9824:168::-;9864:7;9930:1;9926;9922:6;9918:14;9915:1;9912:21;9907:1;9900:9;9893:17;9889:45;9886:71;;;9937:18;;:::i;:::-;-1:-1:-1;9977:9:10;;9824:168::o;11734:185::-;11776:3;11814:5;11808:12;11829:52;11874:6;11869:3;11862:4;11855:5;11851:16;11829:52;:::i;:::-;11897:16;;;;;11734:185;-1:-1:-1;;11734:185:10:o;12042:1621::-;-1:-1:-1;;;12546:3:10;12539:22;12521:3;12580:1;12601;12634:6;12628:13;12664:3;12686:1;12714:9;12710:2;12706:18;12696:28;;12774:2;12763:9;12759:18;12796;12786:61;;12840:4;12832:6;12828:17;12818:27;;12786:61;12866:2;12914;12906:6;12903:14;12883:18;12880:38;12877:165;;;-1:-1:-1;;;12941:33:10;;12997:4;12994:1;12987:15;13027:4;12948:3;13015:17;12877:165;13058:18;13085:122;;;;13221:1;13216:338;;;;13051:503;;13085:122;-1:-1:-1;;13127:24:10;;13113:12;;;13106:46;13176:16;;;13172:25;;;-1:-1:-1;13085:122:10;;13216:338;11562:1;11555:14;;;11599:4;11586:18;;13311:1;13325:174;13339:6;13336:1;13333:13;13325:174;;;13426:14;;13408:11;;;13404:20;;13397:44;13469:16;;;;13354:10;;13325:174;;;13329:3;;13541:2;13532:6;13527:3;13523:16;13519:25;13512:32;;13051:503;;;;;;;13570:87;13595:61;13621:34;13651:3;-1:-1:-1;;;11680:16:10;;11721:1;11712:11;;11615:114;13621:34;13613:6;13595:61;:::i;:::-;-1:-1:-1;;;11984:20:10;;12029:1;12020:11;;11924:113;13570:87;13563:94;12042:1621;-1:-1:-1;;;;;;12042:1621:10:o;16385:127::-;16446:10;16441:3;16437:20;16434:1;16427:31;16477:4;16474:1;16467:15;16501:4;16498:1;16491:15;16517:135;16556:3;-1:-1:-1;;16577:17:10;;16574:43;;;16597:18;;:::i;:::-;-1:-1:-1;16644:1:10;16633:13;;16517:135::o;16657:500::-;-1:-1:-1;;;;;16926:15:10;;;16908:34;;16978:15;;16973:2;16958:18;;16951:43;17025:2;17010:18;;17003:34;;;17073:3;17068:2;17053:18;;17046:31;;;16851:4;;17094:57;;17131:19;;17123:6;17094:57;:::i;17162:249::-;17231:6;17284:2;17272:9;17263:7;17259:23;17255:32;17252:52;;;17300:1;17297;17290:12;17252:52;17332:9;17326:16;17351:30;17375:5;17351:30;:::i
Swarm Source
ipfs://3ee12b7dc42dd7fc55f7ca0e1024e3bb1a17f9e9b899f41bbbea730760b05235
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.