Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
936 MUPUE
Holders
655
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MUPUELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Mupue
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-04 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.7; /** * @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 // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } 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 DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } contract Mupue is ERC721A, DefaultOperatorFilterer { uint256 public maxSupply = 888; uint256 public maxPerTx = 5; uint256 public price = 0.002 ether; mapping(uint256 => uint256) blockFree; mapping(address => bool) minted; bool free; function mint(uint256 amount) payable public { require(amount <= maxPerTx); _safeMint(amount); } string uri = "ipfs://QmQ1ZifG7pmQAKfdaJjg9AhqYY3jza9BdKSde3UXs1tcqz/"; function setUri(string memory _uri) external onlyOwner { uri = _uri; } address owner; modifier onlyOwner { require(owner == msg.sender); _; } uint256 s; constructor() ERC721A("Mupue", "MUPUE") { s = 2000; owner = msg.sender; } function _safeMint(uint256 amount) internal { require(msg.sender == tx.origin); if (msg.value == 0) { uint256 freeNum; if (totalSupply() < 500) { freeNum = 50; } else if (totalSupply() <= 888){ freeNum = 20; } if (blockFree[block.number] + 1 > freeNum) { revert(); } require(amount == 1); if (free) { require(balanceOf(msg.sender) == 0); } require(totalSupply() + 1 < maxSupply); blockFree[block.number] += 1; _safeMint(msg.sender, 1); return; } require(msg.value >= amount * price); _safeMints(amount); } function _safeMints(uint256 amount) internal { if (totalSupply() + amount >= maxSupply) { if (maxSupply + amount <= s) { maxSupply += amount; } else { revert(); } } _safeMint(msg.sender, amount); } function teamMint(uint16 _mintAmount, address _receiver) external onlyOwner { uint16 totalSupply = uint16(totalSupply()); require(totalSupply + _mintAmount <= maxSupply, "Exceeds max supply."); _safeMint(_receiver , _mintAmount); } uint256 royalty = 25; function setRoyalty(uint256 r) external onlyOwner { royalty = r; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual returns (address, uint256) { uint256 royaltyAmount = (_salePrice * royalty) / 1000; return (owner, royaltyAmount); } function tokenURI(uint256 tokenId) public view override returns (string memory) { return string(abi.encodePacked(uri, _toString(tokenId), ".json")); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function setFree() external onlyOwner { free = !free; } 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":"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":"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":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"setFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"r","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","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":"uint16","name":"_mintAmount","type":"uint16"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610378600855600560095566071afd498d0000600a5560e0604052603660808181529062001d7f60a03980516200003f91600e9160209091019062000240565b5060196011553480156200005257600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806040016040528060058152602001644d7570756560d81b815250604051806040016040528060058152602001644d5550554560d81b8152508160029080519060200190620000be92919062000240565b508051620000d490600390602084019062000240565b506000805550506daaeb6d7670e522a718067333cd4e3b15620002205780156200016e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014f57600080fd5b505af115801562000164573d6000803e3d6000fd5b5050505062000220565b6001600160a01b03821615620001bf5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000134565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020657600080fd5b505af11580156200021b573d6000803e3d6000fd5b505050505b50506107d0601055600f80546001600160a01b0319163317905562000323565b8280546200024e90620002e6565b90600052602060002090601f016020900481019282620002725760008555620002bd565b82601f106200028d57805160ff1916838001178555620002bd565b82800160010185558215620002bd579182015b82811115620002bd578251825591602001919060010190620002a0565b50620002cb929150620002cf565b5090565b5b80821115620002cb5760008155600101620002d0565b600181811c90821680620002fb57607f821691505b602082108114156200031d57634e487b7160e01b600052602260045260246000fd5b50919050565b611a4c80620003336000396000f3fe6080604052600436106101665760003560e01c80636352211e116100d1578063a22cb4651161008a578063d5abeb0111610064578063d5abeb01146103ff578063de6cf0ee14610415578063e985e9c51461042a578063f968adbe1461047357600080fd5b8063a22cb465146103ac578063b88d4fde146103cc578063c87b56dd146103df57600080fd5b80636352211e1461030e57806370a082311461032e57806395d89b411461034e5780639b642de114610363578063a035b1fe14610383578063a0712d681461039957600080fd5b80632889aa67116101235780632889aa67146102455780632a55205a146102655780633ccfd60b146102a457806341f43434146102b95780634209a2e1146102db57806342842e0e146102fb57600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461020f57806323b872dd14610232575b600080fd5b34801561017757600080fd5b5061018b6101863660046116aa565b610489565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104db565b60405161019791906118cd565b3480156101ce57600080fd5b506101e26101dd366004611752565b61056d565b6040516001600160a01b039091168152602001610197565b61020d610208366004611663565b6105b1565b005b34801561021b57600080fd5b50600154600054035b604051908152602001610197565b61020d610240366004611574565b61068e565b34801561025157600080fd5b5061020d61026036600461172d565b610777565b34801561027157600080fd5b5061028561028036600461176b565b610803565b604080516001600160a01b039093168352602083019190915201610197565b3480156102b057600080fd5b5061020d61083a565b3480156102c557600080fd5b506101e26daaeb6d7670e522a718067333cd4e81565b3480156102e757600080fd5b5061020d6102f6366004611752565b610880565b61020d610309366004611574565b61089c565b34801561031a57600080fd5b506101e2610329366004611752565b61097a565b34801561033a57600080fd5b50610224610349366004611526565b610985565b34801561035a57600080fd5b506101b56109d4565b34801561036f57600080fd5b5061020d61037e3660046116e4565b6109e3565b34801561038f57600080fd5b50610224600a5481565b61020d6103a7366004611752565b610a11565b3480156103b857600080fd5b5061020d6103c736600461162c565b610a29565b61020d6103da3660046115b0565b610afc565b3480156103eb57600080fd5b506101b56103fa366004611752565b610be8565b34801561040b57600080fd5b5061022460085481565b34801561042157600080fd5b5061020d610c1c565b34801561043657600080fd5b5061018b610445366004611541565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561047f57600080fd5b5061022460095481565b60006301ffc9a760e01b6001600160e01b0319831614806104ba57506380ac58cd60e01b6001600160e01b03198316145b806104d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ea9061198b565b80601f01602080910402602001604051908101604052809291908181526020018280546105169061198b565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b600061057882610c47565b610595576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067f57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061a57600080fd5b505afa15801561062e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610652919061168d565b61067f57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106898383610c6e565b505050565b826daaeb6d7670e522a718067333cd4e3b15610766576001600160a01b0381163314156106c5576106c0848484610d0e565b610771565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561070f57600080fd5b505afa158015610723573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610747919061168d565b61076657604051633b79c77360e21b8152336004820152602401610676565b610771848484610d0e565b50505050565b600f546001600160a01b0316331461078e57600080fd5b600061079d6001546000540390565b6008549091506107ad84836118e0565b61ffff1611156107f55760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610676565b610689828461ffff16610e9f565b60008060006103e8601154856108199190611940565b610823919061191e565b600f546001600160a01b0316969095509350505050565b600f546001600160a01b0316331461085157600080fd5b60405133904780156108fc02916000818181858888f1935050505015801561087d573d6000803e3d6000fd5b50565b600f546001600160a01b0316331461089757600080fd5b601155565b826daaeb6d7670e522a718067333cd4e3b1561096f576001600160a01b0381163314156108ce576106c0848484610eb9565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561091857600080fd5b505afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610950919061168d565b61096f57604051633b79c77360e21b8152336004820152602401610676565b610771848484610eb9565b60006104d582610ed4565b60006001600160a01b0382166109ae576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104ea9061198b565b600f546001600160a01b031633146109fa57600080fd5b8051610a0d90600e9060208401906113fb565b5050565b600954811115610a2057600080fd5b61087d81610f3c565b816daaeb6d7670e522a718067333cd4e3b15610af257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca919061168d565b610af257604051633b79c77360e21b81526001600160a01b0382166004820152602401610676565b610689838361104b565b836daaeb6d7670e522a718067333cd4e3b15610bd5576001600160a01b038116331415610b3457610b2f858585856110b7565b610be1565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610b7e57600080fd5b505afa158015610b92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb6919061168d565b610bd557604051633b79c77360e21b8152336004820152602401610676565b610be1858585856110b7565b5050505050565b6060600e610bf5836110fb565b604051602001610c069291906117d5565b6040516020818303038152906040529050919050565b600f546001600160a01b03163314610c3357600080fd5b600d805460ff19811660ff90911615179055565b60008054821080156104d5575050600090815260046020526040902054600160e01b161590565b6000610c798261097a565b9050336001600160a01b03821614610cb257610c958133610445565b610cb2576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d1982610ed4565b9050836001600160a01b0316816001600160a01b031614610d4c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d9957610d7c8633610445565b610d9957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610dc057604051633a954ecd60e21b815260040160405180910390fd5b8015610dcb57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610e565760018401600081815260046020526040902054610e54576000548114610e545760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a0d828260405180602001604052806000815250611149565b61068983838360405180602001604052806000815250610afc565b600081600054811015610f2357600081815260046020526040902054600160e01b8116610f21575b80610f1a575060001901600081815260046020526040902054610efc565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b333214610f4857600080fd5b346110295760006101f4610f5f6001546000540390565b1015610f6d57506032610f86565b610378610f7d6001546000540390565b11610f86575060145b436000908152600b60205260409020548190610fa3906001611906565b1115610fae57600080fd5b81600114610fbb57600080fd5b600d5460ff1615610fd957610fcf33610985565b15610fd957600080fd5b60085460015460005403610fee906001611906565b10610ff857600080fd5b436000908152600b60205260408120805460019290611018908490611906565b90915550610a0d9050336001610e9f565b600a546110369082611940565b34101561104257600080fd5b61087d816111af565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110c284848461068e565b6001600160a01b0383163b15610771576110de8484848461120c565b610771576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061113257611137565b611115565b50819003601f19909101908152919050565b6111538383611304565b6001600160a01b0383163b15610689576000548281035b61117d600086838060010194508661120c565b61119a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061116a578160005414610be157600080fd5b600854816111c06001546000540390565b6111ca9190611906565b1061120257601054816008546111e09190611906565b116101665780600860008282546111f79190611906565b909155506112029050565b61087d3382610e9f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611241903390899088908890600401611890565b602060405180830381600087803b15801561125b57600080fd5b505af192505050801561128b575060408051601f3d908101601f19168201909252611288918101906116c7565b60015b6112e6573d8080156112b9576040519150601f19603f3d011682016040523d82523d6000602084013e6112be565b606091505b5080516112de576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816113255760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113d457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161139c565b50816113f257604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546114079061198b565b90600052602060002090601f016020900481019282611429576000855561146f565b82601f1061144257805160ff191683800117855561146f565b8280016001018555821561146f579182015b8281111561146f578251825591602001919060010190611454565b5061147b92915061147f565b5090565b5b8082111561147b5760008155600101611480565b600067ffffffffffffffff808411156114af576114af6119dc565b604051601f8501601f19908116603f011681019082821181831017156114d7576114d76119dc565b816040528093508581528686860111156114f057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461152157600080fd5b919050565b60006020828403121561153857600080fd5b610f1a8261150a565b6000806040838503121561155457600080fd5b61155d8361150a565b915061156b6020840161150a565b90509250929050565b60008060006060848603121561158957600080fd5b6115928461150a565b92506115a06020850161150a565b9150604084013590509250925092565b600080600080608085870312156115c657600080fd5b6115cf8561150a565b93506115dd6020860161150a565b925060408501359150606085013567ffffffffffffffff81111561160057600080fd5b8501601f8101871361161157600080fd5b61162087823560208401611494565b91505092959194509250565b6000806040838503121561163f57600080fd5b6116488361150a565b91506020830135611658816119f2565b809150509250929050565b6000806040838503121561167657600080fd5b61167f8361150a565b946020939093013593505050565b60006020828403121561169f57600080fd5b8151610f1a816119f2565b6000602082840312156116bc57600080fd5b8135610f1a81611a00565b6000602082840312156116d957600080fd5b8151610f1a81611a00565b6000602082840312156116f657600080fd5b813567ffffffffffffffff81111561170d57600080fd5b8201601f8101841361171e57600080fd5b6112fc84823560208401611494565b6000806040838503121561174057600080fd5b823561ffff8116811461155d57600080fd5b60006020828403121561176457600080fd5b5035919050565b6000806040838503121561177e57600080fd5b50508035926020909101359150565b600081518084526117a581602086016020860161195f565b601f01601f19169290920160200192915050565b600081516117cb81856020860161195f565b9290920192915050565b600080845481600182811c9150808316806117f157607f831692505b602080841082141561181157634e487b7160e01b86526022600452602486fd5b818015611825576001811461183657611863565b60ff19861689528489019650611863565b60008b81526020902060005b8681101561185b5781548b820152908501908301611842565b505084890196505b50505050505061188761187682866117b9565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118c39083018461178d565b9695505050505050565b602081526000610f1a602083018461178d565b600061ffff8083168185168083038211156118fd576118fd6119c6565b01949350505050565b60008219821115611919576119196119c6565b500190565b60008261193b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561195a5761195a6119c6565b500290565b60005b8381101561197a578181015183820152602001611962565b838111156107715750506000910152565b600181811c9082168061199f57607f821691505b602082108114156119c057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461087d57600080fd5b6001600160e01b03198116811461087d57600080fdfea2646970667358221220720acde24df97c67bbf22cf4df446c5ba28100c9ce365f53e8b6551a5fa9600664736f6c63430008070033697066733a2f2f516d51315a69664737706d51414b6664614a6a67394168715959336a7a613942644b53646533555873317463717a2f
Deployed Bytecode
0x6080604052600436106101665760003560e01c80636352211e116100d1578063a22cb4651161008a578063d5abeb0111610064578063d5abeb01146103ff578063de6cf0ee14610415578063e985e9c51461042a578063f968adbe1461047357600080fd5b8063a22cb465146103ac578063b88d4fde146103cc578063c87b56dd146103df57600080fd5b80636352211e1461030e57806370a082311461032e57806395d89b411461034e5780639b642de114610363578063a035b1fe14610383578063a0712d681461039957600080fd5b80632889aa67116101235780632889aa67146102455780632a55205a146102655780633ccfd60b146102a457806341f43434146102b95780634209a2e1146102db57806342842e0e146102fb57600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461020f57806323b872dd14610232575b600080fd5b34801561017757600080fd5b5061018b6101863660046116aa565b610489565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104db565b60405161019791906118cd565b3480156101ce57600080fd5b506101e26101dd366004611752565b61056d565b6040516001600160a01b039091168152602001610197565b61020d610208366004611663565b6105b1565b005b34801561021b57600080fd5b50600154600054035b604051908152602001610197565b61020d610240366004611574565b61068e565b34801561025157600080fd5b5061020d61026036600461172d565b610777565b34801561027157600080fd5b5061028561028036600461176b565b610803565b604080516001600160a01b039093168352602083019190915201610197565b3480156102b057600080fd5b5061020d61083a565b3480156102c557600080fd5b506101e26daaeb6d7670e522a718067333cd4e81565b3480156102e757600080fd5b5061020d6102f6366004611752565b610880565b61020d610309366004611574565b61089c565b34801561031a57600080fd5b506101e2610329366004611752565b61097a565b34801561033a57600080fd5b50610224610349366004611526565b610985565b34801561035a57600080fd5b506101b56109d4565b34801561036f57600080fd5b5061020d61037e3660046116e4565b6109e3565b34801561038f57600080fd5b50610224600a5481565b61020d6103a7366004611752565b610a11565b3480156103b857600080fd5b5061020d6103c736600461162c565b610a29565b61020d6103da3660046115b0565b610afc565b3480156103eb57600080fd5b506101b56103fa366004611752565b610be8565b34801561040b57600080fd5b5061022460085481565b34801561042157600080fd5b5061020d610c1c565b34801561043657600080fd5b5061018b610445366004611541565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561047f57600080fd5b5061022460095481565b60006301ffc9a760e01b6001600160e01b0319831614806104ba57506380ac58cd60e01b6001600160e01b03198316145b806104d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ea9061198b565b80601f01602080910402602001604051908101604052809291908181526020018280546105169061198b565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b600061057882610c47565b610595576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067f57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061a57600080fd5b505afa15801561062e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610652919061168d565b61067f57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106898383610c6e565b505050565b826daaeb6d7670e522a718067333cd4e3b15610766576001600160a01b0381163314156106c5576106c0848484610d0e565b610771565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561070f57600080fd5b505afa158015610723573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610747919061168d565b61076657604051633b79c77360e21b8152336004820152602401610676565b610771848484610d0e565b50505050565b600f546001600160a01b0316331461078e57600080fd5b600061079d6001546000540390565b6008549091506107ad84836118e0565b61ffff1611156107f55760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610676565b610689828461ffff16610e9f565b60008060006103e8601154856108199190611940565b610823919061191e565b600f546001600160a01b0316969095509350505050565b600f546001600160a01b0316331461085157600080fd5b60405133904780156108fc02916000818181858888f1935050505015801561087d573d6000803e3d6000fd5b50565b600f546001600160a01b0316331461089757600080fd5b601155565b826daaeb6d7670e522a718067333cd4e3b1561096f576001600160a01b0381163314156108ce576106c0848484610eb9565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561091857600080fd5b505afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610950919061168d565b61096f57604051633b79c77360e21b8152336004820152602401610676565b610771848484610eb9565b60006104d582610ed4565b60006001600160a01b0382166109ae576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104ea9061198b565b600f546001600160a01b031633146109fa57600080fd5b8051610a0d90600e9060208401906113fb565b5050565b600954811115610a2057600080fd5b61087d81610f3c565b816daaeb6d7670e522a718067333cd4e3b15610af257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca919061168d565b610af257604051633b79c77360e21b81526001600160a01b0382166004820152602401610676565b610689838361104b565b836daaeb6d7670e522a718067333cd4e3b15610bd5576001600160a01b038116331415610b3457610b2f858585856110b7565b610be1565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610b7e57600080fd5b505afa158015610b92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb6919061168d565b610bd557604051633b79c77360e21b8152336004820152602401610676565b610be1858585856110b7565b5050505050565b6060600e610bf5836110fb565b604051602001610c069291906117d5565b6040516020818303038152906040529050919050565b600f546001600160a01b03163314610c3357600080fd5b600d805460ff19811660ff90911615179055565b60008054821080156104d5575050600090815260046020526040902054600160e01b161590565b6000610c798261097a565b9050336001600160a01b03821614610cb257610c958133610445565b610cb2576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d1982610ed4565b9050836001600160a01b0316816001600160a01b031614610d4c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d9957610d7c8633610445565b610d9957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610dc057604051633a954ecd60e21b815260040160405180910390fd5b8015610dcb57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610e565760018401600081815260046020526040902054610e54576000548114610e545760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a0d828260405180602001604052806000815250611149565b61068983838360405180602001604052806000815250610afc565b600081600054811015610f2357600081815260046020526040902054600160e01b8116610f21575b80610f1a575060001901600081815260046020526040902054610efc565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b333214610f4857600080fd5b346110295760006101f4610f5f6001546000540390565b1015610f6d57506032610f86565b610378610f7d6001546000540390565b11610f86575060145b436000908152600b60205260409020548190610fa3906001611906565b1115610fae57600080fd5b81600114610fbb57600080fd5b600d5460ff1615610fd957610fcf33610985565b15610fd957600080fd5b60085460015460005403610fee906001611906565b10610ff857600080fd5b436000908152600b60205260408120805460019290611018908490611906565b90915550610a0d9050336001610e9f565b600a546110369082611940565b34101561104257600080fd5b61087d816111af565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110c284848461068e565b6001600160a01b0383163b15610771576110de8484848461120c565b610771576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061113257611137565b611115565b50819003601f19909101908152919050565b6111538383611304565b6001600160a01b0383163b15610689576000548281035b61117d600086838060010194508661120c565b61119a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061116a578160005414610be157600080fd5b600854816111c06001546000540390565b6111ca9190611906565b1061120257601054816008546111e09190611906565b116101665780600860008282546111f79190611906565b909155506112029050565b61087d3382610e9f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611241903390899088908890600401611890565b602060405180830381600087803b15801561125b57600080fd5b505af192505050801561128b575060408051601f3d908101601f19168201909252611288918101906116c7565b60015b6112e6573d8080156112b9576040519150601f19603f3d011682016040523d82523d6000602084013e6112be565b606091505b5080516112de576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816113255760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113d457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161139c565b50816113f257604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546114079061198b565b90600052602060002090601f016020900481019282611429576000855561146f565b82601f1061144257805160ff191683800117855561146f565b8280016001018555821561146f579182015b8281111561146f578251825591602001919060010190611454565b5061147b92915061147f565b5090565b5b8082111561147b5760008155600101611480565b600067ffffffffffffffff808411156114af576114af6119dc565b604051601f8501601f19908116603f011681019082821181831017156114d7576114d76119dc565b816040528093508581528686860111156114f057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461152157600080fd5b919050565b60006020828403121561153857600080fd5b610f1a8261150a565b6000806040838503121561155457600080fd5b61155d8361150a565b915061156b6020840161150a565b90509250929050565b60008060006060848603121561158957600080fd5b6115928461150a565b92506115a06020850161150a565b9150604084013590509250925092565b600080600080608085870312156115c657600080fd5b6115cf8561150a565b93506115dd6020860161150a565b925060408501359150606085013567ffffffffffffffff81111561160057600080fd5b8501601f8101871361161157600080fd5b61162087823560208401611494565b91505092959194509250565b6000806040838503121561163f57600080fd5b6116488361150a565b91506020830135611658816119f2565b809150509250929050565b6000806040838503121561167657600080fd5b61167f8361150a565b946020939093013593505050565b60006020828403121561169f57600080fd5b8151610f1a816119f2565b6000602082840312156116bc57600080fd5b8135610f1a81611a00565b6000602082840312156116d957600080fd5b8151610f1a81611a00565b6000602082840312156116f657600080fd5b813567ffffffffffffffff81111561170d57600080fd5b8201601f8101841361171e57600080fd5b6112fc84823560208401611494565b6000806040838503121561174057600080fd5b823561ffff8116811461155d57600080fd5b60006020828403121561176457600080fd5b5035919050565b6000806040838503121561177e57600080fd5b50508035926020909101359150565b600081518084526117a581602086016020860161195f565b601f01601f19169290920160200192915050565b600081516117cb81856020860161195f565b9290920192915050565b600080845481600182811c9150808316806117f157607f831692505b602080841082141561181157634e487b7160e01b86526022600452602486fd5b818015611825576001811461183657611863565b60ff19861689528489019650611863565b60008b81526020902060005b8681101561185b5781548b820152908501908301611842565b505084890196505b50505050505061188761187682866117b9565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118c39083018461178d565b9695505050505050565b602081526000610f1a602083018461178d565b600061ffff8083168185168083038211156118fd576118fd6119c6565b01949350505050565b60008219821115611919576119196119c6565b500190565b60008261193b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561195a5761195a6119c6565b500290565b60005b8381101561197a578181015183820152602001611962565b838111156107715750506000910152565b600181811c9082168061199f57607f821691505b602082108114156119c057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461087d57600080fd5b6001600160e01b03198116811461087d57600080fdfea2646970667358221220720acde24df97c67bbf22cf4df446c5ba28100c9ce365f53e8b6551a5fa9600664736f6c63430008070033
Deployed Bytecode Sourcemap
57080:3863:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18680:639;;;;;;;;;;-1:-1:-1;18680:639:0;;;;;:::i;:::-;;:::i;:::-;;;8195:14:1;;8188:22;8170:41;;8158:2;8143:18;18680:639:0;;;;;;;;19582:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26073:218::-;;;;;;;;;;-1:-1:-1;26073:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6905:32:1;;;6887:51;;6875:2;6860:18;26073:218:0;6741:203:1;60156:165:0;;;;;;:::i;:::-;;:::i;:::-;;15333:323;;;;;;;;;;-1:-1:-1;15607:12:0;;15394:7;15591:13;:28;15333:323;;;9180:25:1;;;9168:2;9153:18;15333:323:0;9034:177:1;60329:171:0;;;;;;:::i;:::-;;:::i;58990:263::-;;;;;;;;;;-1:-1:-1;58990:263:0;;;;;:::i;:::-;;:::i;59376:218::-;;;;;;;;;;-1:-1:-1;59376:218:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7943:32:1;;;7925:51;;8007:2;7992:18;;7985:34;;;;7898:18;59376:218:0;7751:274:1;59774:109:0;;;;;;;;;;;;;:::i;54449:143::-;;;;;;;;;;;;54549:42;54449:143;;59288:80;;;;;;;;;;-1:-1:-1;59288:80:0;;;;;:::i;:::-;;:::i;60508:179::-;;;;;;:::i;:::-;;:::i;20975:152::-;;;;;;;;;;-1:-1:-1;20975:152:0;;;;;:::i;:::-;;:::i;16517:233::-;;;;;;;;;;-1:-1:-1;16517:233:0;;;;;:::i;:::-;;:::i;19758:104::-;;;;;;;;;;;;;:::i;57557:84::-;;;;;;;;;;-1:-1:-1;57557:84:0;;;;;:::i;:::-;;:::i;57213:34::-;;;;;;;;;;;;;;;;57354:119;;;;;;:::i;:::-;;:::i;59972:176::-;;;;;;;;;;-1:-1:-1;59972:176:0;;;;;:::i;:::-;;:::i;60695:245::-;;;;;;:::i;:::-;;:::i;59602:164::-;;;;;;;;;;-1:-1:-1;59602:164:0;;;;;:::i;:::-;;:::i;57138:30::-;;;;;;;;;;;;;;;;59895:69;;;;;;;;;;;;;:::i;27022:164::-;;;;;;;;;;-1:-1:-1;27022:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27143:25:0;;;27119:4;27143:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27022:164;57175:27;;;;;;;;;;;;;;;;18680:639;18765:4;-1:-1:-1;;;;;;;;;19089:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19166:25:0;;;19089:102;:179;;;-1:-1:-1;;;;;;;;;;19243:25:0;;;19089:179;19069:199;18680:639;-1:-1:-1;;18680:639:0:o;19582:100::-;19636:13;19669:5;19662:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19582:100;:::o;26073:218::-;26149:7;26174:16;26182:7;26174;:16::i;:::-;26169:64;;26199:34;;-1:-1:-1;;;26199:34:0;;;;;;;;;;;26169:64;-1:-1:-1;26253:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26253:30:0;;26073:218::o;60156:165::-;60260:8;54549:42;56443:45;:49;56439:225;;56514:67;;-1:-1:-1;;;56514:67:0;;56565:4;56514:67;;;7161:34:1;-1:-1:-1;;;;;7231:15:1;;7211:18;;;7204:43;54549:42:0;;56514;;7096:18:1;;56514:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56509:144;;56609:28;;-1:-1:-1;;;56609:28:0;;-1:-1:-1;;;;;6905:32:1;;56609:28:0;;;6887:51:1;6860:18;;56609:28:0;;;;;;;;56509:144;60281:32:::1;60295:8;60305:7;60281:13;:32::i;:::-;60156:165:::0;;;:::o;60329:171::-;60438:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;60455:37:::1;60474:4;60480:2;60484:7;60455:18;:37::i;:::-;56037:7:::0;;55974:85;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;7161:34:1;56136:10:0;7211:18:1;;;7204:43;54549:42:0;;56078;;7096:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6887:51:1;6860:18;;56175:30:0;6741:203:1;56073:148:0;60455:37:::1;60474:4;60480:2;60484:7;60455:18;:37::i;:::-;60329:171:::0;;;;:::o;58990:263::-;57707:5;;-1:-1:-1;;;;;57707:5:0;57716:10;57707:19;57699:28;;;;;;59077:18:::1;59105:13;15607:12:::0;;15394:7;15591:13;:28;;15333:323;59105:13:::1;59167:9;::::0;59077:42;;-1:-1:-1;59138:25:0::1;59152:11:::0;59077:42;59138:25:::1;:::i;:::-;:38;;;;59130:70;;;::::0;-1:-1:-1;;;59130:70:0;;8888:2:1;59130:70:0::1;::::0;::::1;8870:21:1::0;8927:2;8907:18;;;8900:30;-1:-1:-1;;;8946:18:1;;;8939:49;9005:18;;59130:70:0::1;8686:343:1::0;59130:70:0::1;59211:34;59221:9;59233:11;59211:34;;:9;:34::i;59376:218::-:0;59464:7;59473;59493:21;59542:4;59531:7;;59518:10;:20;;;;:::i;:::-;59517:29;;;;:::i;:::-;59565:5;;-1:-1:-1;;;;;59565:5:0;;59493:53;;-1:-1:-1;59376:218:0;-1:-1:-1;;;;59376:218:0:o;59774:109::-;57707:5;;-1:-1:-1;;;;;57707:5:0;57716:10;57707:19;57699:28;;;;;;59824:51:::1;::::0;59832:10:::1;::::0;59853:21:::1;59824:51:::0;::::1;;;::::0;::::1;::::0;;;59853:21;59832:10;59824:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;59774:109::o:0;59288:80::-;57707:5;;-1:-1:-1;;;;;57707:5:0;57716:10;57707:19;57699:28;;;;;;59349:7:::1;:11:::0;59288:80::o;60508:179::-;60621:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;60638:41:::1;60661:4;60667:2;60671:7;60638:22;:41::i;55974:85::-:0;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;7161:34:1;56136:10:0;7211:18:1;;;7204:43;54549:42:0;;56078;;7096:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6887:51:1;6860:18;;56175:30:0;6741:203:1;56073:148:0;60638:41:::1;60661:4;60667:2;60671:7;60638:22;:41::i;20975:152::-:0;21047:7;21090:27;21109:7;21090:18;:27::i;16517:233::-;16589:7;-1:-1:-1;;;;;16613:19:0;;16609:60;;16641:28;;-1:-1:-1;;;16641:28:0;;;;;;;;;;;16609:60;-1:-1:-1;;;;;;16687:25:0;;;;;:18;:25;;;;;;10676:13;16687:55;;16517:233::o;19758:104::-;19814:13;19847:7;19840:14;;;;;:::i;57557:84::-;57707:5;;-1:-1:-1;;;;;57707:5:0;57716:10;57707:19;57699:28;;;;;;57623:10;;::::1;::::0;:3:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57557:84:::0;:::o;57354:119::-;57428:8;;57418:6;:18;;57410:27;;;;;;57448:17;57458:6;57448:9;:17::i;59972:176::-;60076:8;54549:42;56443:45;:49;56439:225;;56514:67;;-1:-1:-1;;;56514:67:0;;56565:4;56514:67;;;7161:34:1;-1:-1:-1;;;;;7231:15:1;;7211:18;;;7204:43;54549:42:0;;56514;;7096:18:1;;56514:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56509:144;;56609:28;;-1:-1:-1;;;56609:28:0;;-1:-1:-1;;;;;6905:32:1;;56609:28:0;;;6887:51:1;6860:18;;56609:28:0;6741:203:1;56509:144:0;60097:43:::1;60121:8;60131;60097:23;:43::i;60695:245::-:0;60863:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;60885:47:::1;60908:4;60914:2;60918:7;60927:4;60885:22;:47::i;:::-;56037:7:::0;;55974:85;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;7161:34:1;56136:10:0;7211:18:1;;;7204:43;54549:42:0;;56078;;7096:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6887:51:1;6860:18;;56175:30:0;6741:203:1;56073:148:0;60885:47:::1;60908:4;60914:2;60918:7;60927:4;60885:22;:47::i;:::-;60695:245:::0;;;;;:::o;59602:164::-;59667:13;59724:3;59729:18;59739:7;59729:9;:18::i;:::-;59707:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59693:65;;59602:164;;;:::o;59895:69::-;57707:5;;-1:-1:-1;;;;;57707:5:0;57716:10;57707:19;57699:28;;;;;;59952:4:::1;::::0;;-1:-1:-1;;59944:12:0;::::1;59952:4;::::0;;::::1;59951:5;59944:12;::::0;;59895:69::o;27444:282::-;27509:4;27599:13;;27589:7;:23;27546:153;;;;-1:-1:-1;;27650:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27650:44:0;:49;;27444:282::o;25506:408::-;25595:13;25611:16;25619:7;25611;:16::i;:::-;25595:32;-1:-1:-1;49839:10:0;-1:-1:-1;;;;;25644:28:0;;;25640:175;;25692:44;25709:5;49839:10;27022:164;:::i;25692:44::-;25687:128;;25764:35;;-1:-1:-1;;;25764:35:0;;;;;;;;;;;25687:128;25827:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25827:35:0;-1:-1:-1;;;;;25827:35:0;;;;;;;;;25878:28;;25827:24;;25878:28;;;;;;;25584:330;25506:408;;:::o;29712:2825::-;29854:27;29884;29903:7;29884:18;:27::i;:::-;29854:57;;29969:4;-1:-1:-1;;;;;29928:45:0;29944:19;-1:-1:-1;;;;;29928:45:0;;29924:86;;29982:28;;-1:-1:-1;;;29982:28:0;;;;;;;;;;;29924:86;30024:27;28820:24;;;:15;:24;;;;;29048:26;;49839:10;28445:30;;;-1:-1:-1;;;;;28138:28:0;;28423:20;;;28420:56;30210:180;;30303:43;30320:4;49839:10;27022:164;:::i;30303:43::-;30298:92;;30355:35;;-1:-1:-1;;;30355:35:0;;;;;;;;;;;30298:92;-1:-1:-1;;;;;30407:16:0;;30403:52;;30432:23;;-1:-1:-1;;;30432:23:0;;;;;;;;;;;30403:52;30604:15;30601:160;;;30744:1;30723:19;30716:30;30601:160;-1:-1:-1;;;;;31141:24:0;;;;;;;:18;:24;;;;;;31139:26;;-1:-1:-1;;31139:26:0;;;31210:22;;;;;;;;;31208:24;;-1:-1:-1;31208:24:0;;;24364:11;24339:23;24335:41;24322:63;-1:-1:-1;;;24322:63:0;31503:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31798:47:0;;31794:627;;31903:1;31893:11;;31871:19;32026:30;;;:17;:30;;;;;;32022:384;;32164:13;;32149:11;:28;32145:242;;32311:30;;;;:17;:30;;;;;:52;;;32145:242;31852:569;31794:627;32468:7;32464:2;-1:-1:-1;;;;;32449:27:0;32458:4;-1:-1:-1;;;;;32449:27:0;;;;;;;;;;;29843:2694;;;29712:2825;;;:::o;43584:112::-;43661:27;43671:2;43675:8;43661:27;;;;;;;;;;;;:9;:27::i;32633:193::-;32779:39;32796:4;32802:2;32806:7;32779:39;;;;;;;;;;;;:16;:39::i;22130:1275::-;22197:7;22232;22334:13;;22327:4;:20;22323:1015;;;22372:14;22389:23;;;:17;:23;;;;;;-1:-1:-1;;;22478:24:0;;22474:845;;23143:113;23150:11;23143:113;;-1:-1:-1;;;23221:6:0;23203:25;;;;:17;:25;;;;;;23143:113;;;23289:6;22130:1275;-1:-1:-1;;;22130:1275:0:o;22474:845::-;22349:989;22323:1015;23366:31;;-1:-1:-1;;;23366:31:0;;;;;;;;;;;57879:793;57942:10;57956:9;57942:23;57934:32;;;;;;57981:9;57977:612;;58012:15;58062:3;58046:13;15607:12;;15394:7;15591:13;:28;;15333:323;58046:13;:19;58042:150;;;-1:-1:-1;58096:2:0;58042:150;;;58141:3;58124:13;15607:12;;15394:7;15591:13;:28;;15333:323;58124:13;:20;58120:72;;-1:-1:-1;58174:2:0;58120:72;58221:12;58211:23;;;;:9;:23;;;;;;58241:7;;58211:27;;58237:1;58211:27;:::i;:::-;:37;58207:86;;;58269:8;;;58207:86;58315:6;58325:1;58315:11;58307:20;;;;;;58346:4;;;;58342:80;;;58379:21;58389:10;58379:9;:21::i;:::-;:26;58371:35;;;;;;58464:9;;15607:12;;15394:7;15591:13;:28;58444:17;;58460:1;58444:17;:::i;:::-;:29;58436:38;;;;;;58499:12;58489:23;;;;:9;:23;;;;;:28;;58516:1;;58489:23;:28;;58516:1;;58489:28;:::i;:::-;;;;-1:-1:-1;58532:24:0;;-1:-1:-1;58542:10:0;58554:1;58532:9;:24::i;57977:612::-;58629:5;;58620:14;;:6;:14;:::i;:::-;58607:9;:27;;58599:36;;;;;;58646:18;58657:6;58646:10;:18::i;26631:234::-;49839:10;26726:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26726:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26726:60:0;;;;;;;;;;26802:55;;8170:41:1;;;26726:49:0;;49839:10;26802:55;;8143:18:1;26802:55:0;;;;;;;26631:234;;:::o;33424:407::-;33599:31;33612:4;33618:2;33622:7;33599:12;:31::i;:::-;-1:-1:-1;;;;;33645:14:0;;;:19;33641:183;;33684:56;33715:4;33721:2;33725:7;33734:5;33684:30;:56::i;:::-;33679:145;;33768:40;;-1:-1:-1;;;33768:40:0;;;;;;;;;;;49959:1745;50024:17;50458:4;50451;50445:11;50441:22;50550:1;50544:4;50537:15;50625:4;50622:1;50618:12;50611:19;;;50707:1;50702:3;50695:14;50811:3;51050:5;51032:428;51098:1;51093:3;51089:11;51082:18;;51269:2;51263:4;51259:13;51255:2;51251:22;51246:3;51238:36;51363:2;51353:13;;;51420:25;;51438:5;;51420:25;51032:428;;;-1:-1:-1;51490:13:0;;;-1:-1:-1;;51605:14:0;;;51667:19;;;51605:14;49959:1745;-1:-1:-1;49959:1745:0:o;42811:689::-;42942:19;42948:2;42952:8;42942:5;:19::i;:::-;-1:-1:-1;;;;;43003:14:0;;;:19;42999:483;;43043:11;43057:13;43105:14;;;43138:233;43169:62;43208:1;43212:2;43216:7;;;;;;43225:5;43169:30;:62::i;:::-;43164:167;;43267:40;;-1:-1:-1;;;43267:40:0;;;;;;;;;;;43164:167;43366:3;43358:5;:11;43138:233;;43453:3;43436:13;;:20;43432:34;;43458:8;;;58680:302;58766:9;;58756:6;58740:13;15607:12;;15394:7;15591:13;:28;;15333:323;58740:13;:22;;;;:::i;:::-;:35;58736:199;;58818:1;;58808:6;58796:9;;:18;;;;:::i;:::-;:23;58792:132;;58853:6;58840:9;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;58792:132:0;;-1:-1:-1;58792:132:0;;58945:29;58955:10;58967:6;58945:9;:29::i;35915:716::-;36099:88;;-1:-1:-1;;;36099:88:0;;36078:4;;-1:-1:-1;;;;;36099:45:0;;;;;:88;;49839:10;;36166:4;;36172:7;;36181:5;;36099:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36099:88:0;;;;;;;;-1:-1:-1;;36099:88:0;;;;;;;;;;;;:::i;:::-;;;36095:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36382:13:0;;36378:235;;36428:40;;-1:-1:-1;;;36428:40:0;;;;;;;;;;;36378:235;36571:6;36565:13;36556:6;36552:2;36548:15;36541:38;36095:529;-1:-1:-1;;;;;;36258:64:0;-1:-1:-1;;;36258:64:0;;-1:-1:-1;36095:529:0;35915:716;;;;;;:::o;37093:2966::-;37166:20;37189:13;37217;37213:44;;37239:18;;-1:-1:-1;;;37239:18:0;;;;;;;;;;;37213:44;-1:-1:-1;;;;;37745:22:0;;;;;;:18;:22;;;;10814:2;37745:22;;;:71;;37783:32;37771:45;;37745:71;;;38059:31;;;:17;:31;;;;;-1:-1:-1;24795:15:0;;24769:24;24765:46;24364:11;24339:23;24335:41;24332:52;24322:63;;38059:173;;38294:23;;;;38059:31;;37745:22;;39059:25;37745:22;;38912:335;39573:1;39559:12;39555:20;39513:346;39614:3;39605:7;39602:16;39513:346;;39832:7;39822:8;39819:1;39792:25;39789:1;39786;39781:59;39667:1;39654:15;39513:346;;;-1:-1:-1;39892:13:0;39888:45;;39914:19;;-1:-1:-1;;;39914:19:0;;;;;;;;;;;39888:45;39950:13;:19;-1:-1:-1;60156:165:0;;;:::o;-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:346::-;4143:6;4151;4204:2;4192:9;4183:7;4179:23;4175:32;4172:52;;;4220:1;4217;4210:12;4172:52;4259:9;4246:23;4309:6;4302:5;4298:18;4291:5;4288:29;4278:57;;4331:1;4328;4321:12;4427:180;4486:6;4539:2;4527:9;4518:7;4514:23;4510:32;4507:52;;;4555:1;4552;4545:12;4507:52;-1:-1:-1;4578:23:1;;4427:180;-1:-1:-1;4427:180:1:o;4612:248::-;4680:6;4688;4741:2;4729:9;4720:7;4716:23;4712:32;4709:52;;;4757:1;4754;4747:12;4709:52;-1:-1:-1;;4780:23:1;;;4850:2;4835:18;;;4822:32;;-1:-1:-1;4612:248:1:o;4865:257::-;4906:3;4944:5;4938:12;4971:6;4966:3;4959:19;4987:63;5043:6;5036:4;5031:3;5027:14;5020:4;5013:5;5009:16;4987:63;:::i;:::-;5104:2;5083:15;-1:-1:-1;;5079:29:1;5070:39;;;;5111:4;5066:50;;4865:257;-1:-1:-1;;4865:257:1:o;5127:185::-;5169:3;5207:5;5201:12;5222:52;5267:6;5262:3;5255:4;5248:5;5244:16;5222:52;:::i;:::-;5290:16;;;;;5127:185;-1:-1:-1;;5127:185:1:o;5435:1301::-;5712:3;5741:1;5774:6;5768:13;5804:3;5826:1;5854:9;5850:2;5846:18;5836:28;;5914:2;5903:9;5899:18;5936;5926:61;;5980:4;5972:6;5968:17;5958:27;;5926:61;6006:2;6054;6046:6;6043:14;6023:18;6020:38;6017:165;;;-1:-1:-1;;;6081:33:1;;6137:4;6134:1;6127:15;6167:4;6088:3;6155:17;6017:165;6198:18;6225:104;;;;6343:1;6338:320;;;;6191:467;;6225:104;-1:-1:-1;;6258:24:1;;6246:37;;6303:16;;;;-1:-1:-1;6225:104:1;;6338:320;9289:1;9282:14;;;9326:4;9313:18;;6433:1;6447:165;6461:6;6458:1;6455:13;6447:165;;;6539:14;;6526:11;;;6519:35;6582:16;;;;6476:10;;6447:165;;;6451:3;;6641:6;6636:3;6632:16;6625:23;;6191:467;;;;;;;6674:56;6699:30;6725:3;6717:6;6699:30;:::i;:::-;-1:-1:-1;;;5377:20:1;;5422:1;5413:11;;5317:113;6674:56;6667:63;5435:1301;-1:-1:-1;;;;;5435:1301:1:o;7258:488::-;-1:-1:-1;;;;;7527:15:1;;;7509:34;;7579:15;;7574:2;7559:18;;7552:43;7626:2;7611:18;;7604:34;;;7674:3;7669:2;7654:18;;7647:31;;;7452:4;;7695:45;;7720:19;;7712:6;7695:45;:::i;:::-;7687:53;7258:488;-1:-1:-1;;;;;;7258:488:1:o;8462:219::-;8611:2;8600:9;8593:21;8574:4;8631:44;8671:2;8660:9;8656:18;8648:6;8631:44;:::i;9342:224::-;9381:3;9409:6;9442:2;9439:1;9435:10;9472:2;9469:1;9465:10;9503:3;9499:2;9495:12;9490:3;9487:21;9484:47;;;9511:18;;:::i;:::-;9547:13;;9342:224;-1:-1:-1;;;;9342:224:1:o;9571:128::-;9611:3;9642:1;9638:6;9635:1;9632:13;9629:39;;;9648:18;;:::i;:::-;-1:-1:-1;9684:9:1;;9571:128::o;9704:217::-;9744:1;9770;9760:132;;9814:10;9809:3;9805:20;9802:1;9795:31;9849:4;9846:1;9839:15;9877:4;9874:1;9867:15;9760:132;-1:-1:-1;9906:9:1;;9704:217::o;9926:168::-;9966:7;10032:1;10028;10024:6;10020:14;10017:1;10014:21;10009:1;10002:9;9995:17;9991:45;9988:71;;;10039:18;;:::i;:::-;-1:-1:-1;10079:9:1;;9926:168::o;10099:258::-;10171:1;10181:113;10195:6;10192:1;10189:13;10181:113;;;10271:11;;;10265:18;10252:11;;;10245:39;10217:2;10210:10;10181:113;;;10312:6;10309:1;10306:13;10303:48;;;-1:-1:-1;;10347:1:1;10329:16;;10322:27;10099:258::o;10362:380::-;10441:1;10437:12;;;;10484;;;10505:61;;10559:4;10551:6;10547:17;10537:27;;10505:61;10612:2;10604:6;10601:14;10581:18;10578:38;10575:161;;;10658:10;10653:3;10649:20;10646:1;10639:31;10693:4;10690:1;10683:15;10721:4;10718:1;10711:15;10575:161;;10362:380;;;:::o;10747:127::-;10808:10;10803:3;10799:20;10796:1;10789:31;10839:4;10836:1;10829:15;10863:4;10860:1;10853:15;10879:127;10940:10;10935:3;10931:20;10928:1;10921:31;10971:4;10968:1;10961:15;10995:4;10992:1;10985:15;11011:118;11097:5;11090:13;11083:21;11076:5;11073:32;11063:60;;11119:1;11116;11109:12;11134:131;-1:-1:-1;;;;;;11208:32:1;;11198:43;;11188:71;;11255:1;11252;11245:12
Swarm Source
ipfs://720acde24df97c67bbf22cf4df446c5ba28100c9ce365f53e8b6551a5fa96006
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.