NFT
Overview
TokenID
1022
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Head
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-10 */ // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: contracts/1_Storage.sol pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 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`. * * 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 calldata data ) external; /** * @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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { 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; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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 ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev 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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _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 { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool 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)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } pragma solidity ^0.8.4; contract Head is ERC721A,Ownable { using Strings for uint256; string public baseURI = ""; uint256 public price=0; uint256 public plain_price=10000000000000000000; uint256 public MaxNum = 500; mapping (address => uint256) private minter; bool public white_time; bool public plain_time; constructor() ERC721A("SoccerBunny", "BU") {} function mint(uint256 num) external payable { require(white_time, "not start"); require(MaxNum >= num, "num err"); require(minter[msg.sender] >= num, "not enough num"); if(price > 0){ require(msg.value >= price*num , "not enough price"); } minter[msg.sender] = minter[msg.sender] - num; _mint(msg.sender, num); } function PlainMint(uint256 num) external payable { require(plain_time, "not start"); require(MaxNum >= num, "num err"); if(plain_price > 0){ require(msg.value >= plain_price*num , "not enough price"); } _mint(msg.sender, num); } function airdrop(address[] memory _to, uint256[] memory _num)external onlyOwner { require(_to.length == _num.length, "_to len must = _num len"); for(uint256 i = 0;i < _to.length;i++){ _mint(_to[i], _num[i]); } } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, _tokenId.toString())); } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function setWhite(address[] memory _to, uint256[] memory _num) external onlyOwner { require(_to.length == _num.length, "_to len must = _num len"); for(uint256 i = 0;i < _to.length;i++){ minter[_to[i]] = minter[_to[i]]+_num[i]; } } function updatePrice(uint256 _price) external onlyOwner { price = _price; } function updatePlanPrice(uint256 _price) external onlyOwner { plain_price = _price; } function setTime(uint8 _is) external onlyOwner { if(_is == 0){ plain_time = false; }else{ plain_time = true; } } function setWhiteTime(uint8 _is) external onlyOwner { if(_is == 0){ white_time = false; }else{ white_time = true; } } function updateMaxNun(uint256 _num) external onlyOwner { MaxNum = _num; } function getWhite(address _to) public view returns(uint256 ){ return minter[_to]; } function withdraw() external onlyOwner { address payable _owner = payable(owner()); _owner.transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MaxNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"PlainMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_num","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"getWhite","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"plain_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"plain_time","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_is","type":"uint8"}],"name":"setTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_num","type":"uint256[]"}],"name":"setWhite","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_is","type":"uint8"}],"name":"setWhiteTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"updateMaxNun","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePlanPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"white_time","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b9160099162000118565b506000600a55678ac7230489e80000600b556101f4600c553480156200004057600080fd5b506040518060400160405280600b81526020016a536f6363657242756e6e7960a81b81525060405180604001604052806002815260200161425560f01b81525081600290805190602001906200009892919062000118565b508051620000ae90600390602084019062000118565b50506000805550620000c033620000c6565b620001fb565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012690620001be565b90600052602060002090601f0160209004810192826200014a576000855562000195565b82601f106200016557805160ff191683800117855562000195565b8280016001018555821562000195579182015b828111156200019557825182559160200191906001019062000178565b50620001a3929150620001a7565b5090565b5b80821115620001a35760008155600101620001a8565b600181811c90821680620001d357607f821691505b60208210811415620001f557634e487b7160e01b600052602260045260246000fd5b50919050565b611d77806200020b6000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063a22cb465116100a0578063de7b66f51161006f578063de7b66f5146105b7578063e4c661ac146105d1578063e9639a16146105f0578063e985e9c514610606578063f2fde38b1461064f57600080fd5b8063a22cb46514610537578063b88d4fde14610557578063c87b56dd14610577578063cb0c61451461059757600080fd5b80638d6cc56d116100e75780638d6cc56d146104bb5780638da5cb5b146104db57806395d89b41146104f9578063a035b1fe1461050e578063a0712d681461052457600080fd5b8063715018a6146104535780637442be811461046857806377bab7ba1461047b57806389c82bc21461049b57600080fd5b80632f425f2d1161019b5780635d5669aa1161016a5780635d5669aa146103c85780636352211e146103de57806367243482146103fe5780636c0360eb1461041e57806370a082311461043357600080fd5b80632f425f2d146103535780633ccfd60b1461037357806342842e0e1461038857806355f804b3146103a857600080fd5b806318160ddd116101d757806318160ddd146102ba5780632051d009146102dd57806323b872dd146102fd57806326cfd13f1461031d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611988565b61066f565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106c1565b6040516102359190611b73565b34801561026c57600080fd5b5061028061027b366004611a0b565b610753565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611897565b610797565b005b3480156102c657600080fd5b50600154600054035b604051908152602001610235565b3480156102e957600080fd5b506102b86102f8366004611a0b565b610837565b34801561030957600080fd5b506102b86103183660046117a3565b610844565b34801561032957600080fd5b506102cf610338366004611755565b6001600160a01b03166000908152600d602052604090205490565b34801561035f57600080fd5b506102b861036e366004611a24565b6109d5565b34801561037f57600080fd5b506102b8610a03565b34801561039457600080fd5b506102b86103a33660046117a3565b610a5b565b3480156103b457600080fd5b506102b86103c33660046119c2565b610a7b565b3480156103d457600080fd5b506102cf600b5481565b3480156103ea57600080fd5b506102806103f9366004611a0b565b610a96565b34801561040a57600080fd5b506102b86104193660046118c1565b610aa1565b34801561042a57600080fd5b50610253610b54565b34801561043f57600080fd5b506102cf61044e366004611755565b610be2565b34801561045f57600080fd5b506102b8610c31565b6102b8610476366004611a0b565b610c45565b34801561048757600080fd5b506102b8610496366004611a24565b610d26565b3480156104a757600080fd5b506102b86104b6366004611a0b565b610d56565b3480156104c757600080fd5b506102b86104d6366004611a0b565b610d63565b3480156104e757600080fd5b506008546001600160a01b0316610280565b34801561050557600080fd5b50610253610d70565b34801561051a57600080fd5b506102cf600a5481565b6102b8610532366004611a0b565b610d7f565b34801561054357600080fd5b506102b861055236600461185b565b610ed9565b34801561056357600080fd5b506102b86105723660046117df565b610f6f565b34801561058357600080fd5b50610253610592366004611a0b565b610fb9565b3480156105a357600080fd5b506102b86105b23660046118c1565b61103a565b3480156105c357600080fd5b50600e546102299060ff1681565b3480156105dd57600080fd5b50600e5461022990610100900460ff1681565b3480156105fc57600080fd5b506102cf600c5481565b34801561061257600080fd5b50610229610621366004611770565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065b57600080fd5b506102b861066a366004611755565b611152565b60006301ffc9a760e01b6001600160e01b0319831614806106a057506380ac58cd60e01b6001600160e01b03198316145b806106bb5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106d090611c69565b80601f01602080910402602001604051908101604052809291908181526020018280546106fc90611c69565b80156107495780601f1061071e57610100808354040283529160200191610749565b820191906000526020600020905b81548152906001019060200180831161072c57829003601f168201915b5050505050905090565b600061075e826111c8565b61077b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107a282610a96565b9050336001600160a01b038216146107db576107be8133610621565b6107db576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61083f6111ef565b600b55565b600061084f82611249565b9050836001600160a01b0316816001600160a01b0316146108825760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108cf576108b28633610621565b6108cf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108f657604051633a954ecd60e21b815260040160405180910390fd5b801561090157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661098c576001840160008181526004602052604090205461098a57600054811461098a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109dd6111ef565b60ff81166109f257600e805460ff1916905550565b600e805460ff191660011790555b50565b610a0b6111ef565b6000610a1f6008546001600160a01b031690565b6040519091506001600160a01b038216904780156108fc02916000818181858888f19350505050158015610a57573d6000803e3d6000fd5b5050565b610a7683838360405180602001604052806000815250610f6f565b505050565b610a836111ef565b8051610a579060099060208401906115d6565b60006106bb82611249565b610aa96111ef565b8051825114610afa5760405162461bcd60e51b81526020600482015260186024820152772fba37903632b71036bab9ba101e90102fb73ab6903632b760411b60448201526064015b60405180910390fd5b60005b8251811015610a7657610b42838281518110610b1b57610b1b611cff565b6020026020010151838381518110610b3557610b35611cff565b60200260200101516112b1565b80610b4c81611ca4565b915050610afd565b60098054610b6190611c69565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8d90611c69565b8015610bda5780601f10610baf57610100808354040283529160200191610bda565b820191906000526020600020905b815481529060010190602001808311610bbd57829003601f168201915b505050505081565b60006001600160a01b038216610c0b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c396111ef565b610c43600061138e565b565b600e54610100900460ff16610c885760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b6044820152606401610af1565b80600c541015610cc45760405162461bcd60e51b8152602060048201526007602482015266373ab69032b93960c91b6044820152606401610af1565b600b5415610d1c5780600b54610cda9190611c07565b341015610d1c5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f75676820707269636560801b6044820152606401610af1565b610a0033826112b1565b610d2e6111ef565b60ff8116610d4457600e805461ff001916905550565b600e805461ff00191661010017905550565b610d5e6111ef565b600c55565b610d6b6111ef565b600a55565b6060600380546106d090611c69565b600e5460ff16610dbd5760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b6044820152606401610af1565b80600c541015610df95760405162461bcd60e51b8152602060048201526007602482015266373ab69032b93960c91b6044820152606401610af1565b336000908152600d6020526040902054811115610e495760405162461bcd60e51b815260206004820152600e60248201526d6e6f7420656e6f756768206e756d60901b6044820152606401610af1565b600a5415610ea15780600a54610e5f9190611c07565b341015610ea15760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f75676820707269636560801b6044820152606401610af1565b336000908152600d6020526040902054610ebc908290611c26565b336000818152600d6020526040902091909155610a0090826112b1565b6001600160a01b038216331415610f035760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f7a848484610844565b6001600160a01b0383163b15610fb357610f96848484846113e0565b610fb3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fc4826111c8565b6110085760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610af1565b6009611013836114d8565b604051602001611024929190611a8f565b6040516020818303038152906040529050919050565b6110426111ef565b805182511461108e5760405162461bcd60e51b81526020600482015260186024820152772fba37903632b71036bab9ba101e90102fb73ab6903632b760411b6044820152606401610af1565b60005b8251811015610a76578181815181106110ac576110ac611cff565b6020026020010151600d60008584815181106110ca576110ca611cff565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020546110fd9190611bdb565b600d600085848151811061111357611113611cff565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550808061114a90611ca4565b915050611091565b61115a6111ef565b6001600160a01b0381166111bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af1565b610a008161138e565b60008054821080156106bb575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af1565b60008160005481101561129857600081815260046020526040902054600160e01b8116611296575b8061128f575060001901600081815260046020526040902054611271565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b0383166112da57604051622e076360e81b815260040160405180910390fd5b816112f85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106113425760005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611415903390899088908890600401611b36565b602060405180830381600087803b15801561142f57600080fd5b505af192505050801561145f575060408051601f3d908101601f1916820190925261145c918101906119a5565b60015b6114ba573d80801561148d576040519150601f19603f3d011682016040523d82523d6000602084013e611492565b606091505b5080516114b2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816114fc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611526578061151081611ca4565b915061151f9050600a83611bf3565b9150611500565b60008167ffffffffffffffff81111561154157611541611d15565b6040519080825280601f01601f19166020018201604052801561156b576020820181803683370190505b5090505b84156114d057611580600183611c26565b915061158d600a86611cbf565b611598906030611bdb565b60f81b8183815181106115ad576115ad611cff565b60200101906001600160f81b031916908160001a9053506115cf600a86611bf3565b945061156f565b8280546115e290611c69565b90600052602060002090601f016020900481019282611604576000855561164a565b82601f1061161d57805160ff191683800117855561164a565b8280016001018555821561164a579182015b8281111561164a57825182559160200191906001019061162f565b5061165692915061165a565b5090565b5b80821115611656576000815560010161165b565b600067ffffffffffffffff83111561168957611689611d15565b61169c601f8401601f1916602001611b86565b90508281528383830111156116b057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146116de57600080fd5b919050565b600082601f8301126116f457600080fd5b8135602061170961170483611bb7565b611b86565b80838252828201915082860187848660051b890101111561172957600080fd5b60005b858110156117485781358452928401929084019060010161172c565b5090979650505050505050565b60006020828403121561176757600080fd5b61128f826116c7565b6000806040838503121561178357600080fd5b61178c836116c7565b915061179a602084016116c7565b90509250929050565b6000806000606084860312156117b857600080fd5b6117c1846116c7565b92506117cf602085016116c7565b9150604084013590509250925092565b600080600080608085870312156117f557600080fd5b6117fe856116c7565b935061180c602086016116c7565b925060408501359150606085013567ffffffffffffffff81111561182f57600080fd5b8501601f8101871361184057600080fd5b61184f8782356020840161166f565b91505092959194509250565b6000806040838503121561186e57600080fd5b611877836116c7565b91506020830135801515811461188c57600080fd5b809150509250929050565b600080604083850312156118aa57600080fd5b6118b3836116c7565b946020939093013593505050565b600080604083850312156118d457600080fd5b823567ffffffffffffffff808211156118ec57600080fd5b818501915085601f83011261190057600080fd5b8135602061191061170483611bb7565b8083825282820191508286018a848660051b890101111561193057600080fd5b600096505b8487101561195a57611946816116c7565b835260019690960195918301918301611935565b509650508601359250508082111561197157600080fd5b5061197e858286016116e3565b9150509250929050565b60006020828403121561199a57600080fd5b813561128f81611d2b565b6000602082840312156119b757600080fd5b815161128f81611d2b565b6000602082840312156119d457600080fd5b813567ffffffffffffffff8111156119eb57600080fd5b8201601f810184136119fc57600080fd5b6114d08482356020840161166f565b600060208284031215611a1d57600080fd5b5035919050565b600060208284031215611a3657600080fd5b813560ff8116811461128f57600080fd5b60008151808452611a5f816020860160208601611c3d565b601f01601f19169290920160200192915050565b60008151611a85818560208601611c3d565b9290920192915050565b600080845481600182811c915080831680611aab57607f831692505b6020808410821415611acb57634e487b7160e01b86526022600452602486fd5b818015611adf5760018114611af057611b1d565b60ff19861689528489019650611b1d565b60008b81526020902060005b86811015611b155781548b820152908501908301611afc565b505084890196505b505050505050611b2d8185611a73565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b6990830184611a47565b9695505050505050565b60208152600061128f6020830184611a47565b604051601f8201601f1916810167ffffffffffffffff81118282101715611baf57611baf611d15565b604052919050565b600067ffffffffffffffff821115611bd157611bd1611d15565b5060051b60200190565b60008219821115611bee57611bee611cd3565b500190565b600082611c0257611c02611ce9565b500490565b6000816000190483118215151615611c2157611c21611cd3565b500290565b600082821015611c3857611c38611cd3565b500390565b60005b83811015611c58578181015183820152602001611c40565b83811115610fb35750506000910152565b600181811c90821680611c7d57607f821691505b60208210811415611c9e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cb857611cb8611cd3565b5060010190565b600082611cce57611cce611ce9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a0057600080fdfea264697066735822122073e955ea69b48eee52a18fa4fd9667fc963caad4e1ab37309ab23cc661eb776464736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102045760003560e01c8063715018a611610118578063a22cb465116100a0578063de7b66f51161006f578063de7b66f5146105b7578063e4c661ac146105d1578063e9639a16146105f0578063e985e9c514610606578063f2fde38b1461064f57600080fd5b8063a22cb46514610537578063b88d4fde14610557578063c87b56dd14610577578063cb0c61451461059757600080fd5b80638d6cc56d116100e75780638d6cc56d146104bb5780638da5cb5b146104db57806395d89b41146104f9578063a035b1fe1461050e578063a0712d681461052457600080fd5b8063715018a6146104535780637442be811461046857806377bab7ba1461047b57806389c82bc21461049b57600080fd5b80632f425f2d1161019b5780635d5669aa1161016a5780635d5669aa146103c85780636352211e146103de57806367243482146103fe5780636c0360eb1461041e57806370a082311461043357600080fd5b80632f425f2d146103535780633ccfd60b1461037357806342842e0e1461038857806355f804b3146103a857600080fd5b806318160ddd116101d757806318160ddd146102ba5780632051d009146102dd57806323b872dd146102fd57806326cfd13f1461031d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611988565b61066f565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106c1565b6040516102359190611b73565b34801561026c57600080fd5b5061028061027b366004611a0b565b610753565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611897565b610797565b005b3480156102c657600080fd5b50600154600054035b604051908152602001610235565b3480156102e957600080fd5b506102b86102f8366004611a0b565b610837565b34801561030957600080fd5b506102b86103183660046117a3565b610844565b34801561032957600080fd5b506102cf610338366004611755565b6001600160a01b03166000908152600d602052604090205490565b34801561035f57600080fd5b506102b861036e366004611a24565b6109d5565b34801561037f57600080fd5b506102b8610a03565b34801561039457600080fd5b506102b86103a33660046117a3565b610a5b565b3480156103b457600080fd5b506102b86103c33660046119c2565b610a7b565b3480156103d457600080fd5b506102cf600b5481565b3480156103ea57600080fd5b506102806103f9366004611a0b565b610a96565b34801561040a57600080fd5b506102b86104193660046118c1565b610aa1565b34801561042a57600080fd5b50610253610b54565b34801561043f57600080fd5b506102cf61044e366004611755565b610be2565b34801561045f57600080fd5b506102b8610c31565b6102b8610476366004611a0b565b610c45565b34801561048757600080fd5b506102b8610496366004611a24565b610d26565b3480156104a757600080fd5b506102b86104b6366004611a0b565b610d56565b3480156104c757600080fd5b506102b86104d6366004611a0b565b610d63565b3480156104e757600080fd5b506008546001600160a01b0316610280565b34801561050557600080fd5b50610253610d70565b34801561051a57600080fd5b506102cf600a5481565b6102b8610532366004611a0b565b610d7f565b34801561054357600080fd5b506102b861055236600461185b565b610ed9565b34801561056357600080fd5b506102b86105723660046117df565b610f6f565b34801561058357600080fd5b50610253610592366004611a0b565b610fb9565b3480156105a357600080fd5b506102b86105b23660046118c1565b61103a565b3480156105c357600080fd5b50600e546102299060ff1681565b3480156105dd57600080fd5b50600e5461022990610100900460ff1681565b3480156105fc57600080fd5b506102cf600c5481565b34801561061257600080fd5b50610229610621366004611770565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065b57600080fd5b506102b861066a366004611755565b611152565b60006301ffc9a760e01b6001600160e01b0319831614806106a057506380ac58cd60e01b6001600160e01b03198316145b806106bb5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106d090611c69565b80601f01602080910402602001604051908101604052809291908181526020018280546106fc90611c69565b80156107495780601f1061071e57610100808354040283529160200191610749565b820191906000526020600020905b81548152906001019060200180831161072c57829003601f168201915b5050505050905090565b600061075e826111c8565b61077b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107a282610a96565b9050336001600160a01b038216146107db576107be8133610621565b6107db576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61083f6111ef565b600b55565b600061084f82611249565b9050836001600160a01b0316816001600160a01b0316146108825760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108cf576108b28633610621565b6108cf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108f657604051633a954ecd60e21b815260040160405180910390fd5b801561090157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661098c576001840160008181526004602052604090205461098a57600054811461098a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109dd6111ef565b60ff81166109f257600e805460ff1916905550565b600e805460ff191660011790555b50565b610a0b6111ef565b6000610a1f6008546001600160a01b031690565b6040519091506001600160a01b038216904780156108fc02916000818181858888f19350505050158015610a57573d6000803e3d6000fd5b5050565b610a7683838360405180602001604052806000815250610f6f565b505050565b610a836111ef565b8051610a579060099060208401906115d6565b60006106bb82611249565b610aa96111ef565b8051825114610afa5760405162461bcd60e51b81526020600482015260186024820152772fba37903632b71036bab9ba101e90102fb73ab6903632b760411b60448201526064015b60405180910390fd5b60005b8251811015610a7657610b42838281518110610b1b57610b1b611cff565b6020026020010151838381518110610b3557610b35611cff565b60200260200101516112b1565b80610b4c81611ca4565b915050610afd565b60098054610b6190611c69565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8d90611c69565b8015610bda5780601f10610baf57610100808354040283529160200191610bda565b820191906000526020600020905b815481529060010190602001808311610bbd57829003601f168201915b505050505081565b60006001600160a01b038216610c0b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c396111ef565b610c43600061138e565b565b600e54610100900460ff16610c885760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b6044820152606401610af1565b80600c541015610cc45760405162461bcd60e51b8152602060048201526007602482015266373ab69032b93960c91b6044820152606401610af1565b600b5415610d1c5780600b54610cda9190611c07565b341015610d1c5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f75676820707269636560801b6044820152606401610af1565b610a0033826112b1565b610d2e6111ef565b60ff8116610d4457600e805461ff001916905550565b600e805461ff00191661010017905550565b610d5e6111ef565b600c55565b610d6b6111ef565b600a55565b6060600380546106d090611c69565b600e5460ff16610dbd5760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b6044820152606401610af1565b80600c541015610df95760405162461bcd60e51b8152602060048201526007602482015266373ab69032b93960c91b6044820152606401610af1565b336000908152600d6020526040902054811115610e495760405162461bcd60e51b815260206004820152600e60248201526d6e6f7420656e6f756768206e756d60901b6044820152606401610af1565b600a5415610ea15780600a54610e5f9190611c07565b341015610ea15760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f75676820707269636560801b6044820152606401610af1565b336000908152600d6020526040902054610ebc908290611c26565b336000818152600d6020526040902091909155610a0090826112b1565b6001600160a01b038216331415610f035760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f7a848484610844565b6001600160a01b0383163b15610fb357610f96848484846113e0565b610fb3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fc4826111c8565b6110085760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610af1565b6009611013836114d8565b604051602001611024929190611a8f565b6040516020818303038152906040529050919050565b6110426111ef565b805182511461108e5760405162461bcd60e51b81526020600482015260186024820152772fba37903632b71036bab9ba101e90102fb73ab6903632b760411b6044820152606401610af1565b60005b8251811015610a76578181815181106110ac576110ac611cff565b6020026020010151600d60008584815181106110ca576110ca611cff565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020546110fd9190611bdb565b600d600085848151811061111357611113611cff565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550808061114a90611ca4565b915050611091565b61115a6111ef565b6001600160a01b0381166111bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af1565b610a008161138e565b60008054821080156106bb575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af1565b60008160005481101561129857600081815260046020526040902054600160e01b8116611296575b8061128f575060001901600081815260046020526040902054611271565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b0383166112da57604051622e076360e81b815260040160405180910390fd5b816112f85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106113425760005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611415903390899088908890600401611b36565b602060405180830381600087803b15801561142f57600080fd5b505af192505050801561145f575060408051601f3d908101601f1916820190925261145c918101906119a5565b60015b6114ba573d80801561148d576040519150601f19603f3d011682016040523d82523d6000602084013e611492565b606091505b5080516114b2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816114fc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611526578061151081611ca4565b915061151f9050600a83611bf3565b9150611500565b60008167ffffffffffffffff81111561154157611541611d15565b6040519080825280601f01601f19166020018201604052801561156b576020820181803683370190505b5090505b84156114d057611580600183611c26565b915061158d600a86611cbf565b611598906030611bdb565b60f81b8183815181106115ad576115ad611cff565b60200101906001600160f81b031916908160001a9053506115cf600a86611bf3565b945061156f565b8280546115e290611c69565b90600052602060002090601f016020900481019282611604576000855561164a565b82601f1061161d57805160ff191683800117855561164a565b8280016001018555821561164a579182015b8281111561164a57825182559160200191906001019061162f565b5061165692915061165a565b5090565b5b80821115611656576000815560010161165b565b600067ffffffffffffffff83111561168957611689611d15565b61169c601f8401601f1916602001611b86565b90508281528383830111156116b057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146116de57600080fd5b919050565b600082601f8301126116f457600080fd5b8135602061170961170483611bb7565b611b86565b80838252828201915082860187848660051b890101111561172957600080fd5b60005b858110156117485781358452928401929084019060010161172c565b5090979650505050505050565b60006020828403121561176757600080fd5b61128f826116c7565b6000806040838503121561178357600080fd5b61178c836116c7565b915061179a602084016116c7565b90509250929050565b6000806000606084860312156117b857600080fd5b6117c1846116c7565b92506117cf602085016116c7565b9150604084013590509250925092565b600080600080608085870312156117f557600080fd5b6117fe856116c7565b935061180c602086016116c7565b925060408501359150606085013567ffffffffffffffff81111561182f57600080fd5b8501601f8101871361184057600080fd5b61184f8782356020840161166f565b91505092959194509250565b6000806040838503121561186e57600080fd5b611877836116c7565b91506020830135801515811461188c57600080fd5b809150509250929050565b600080604083850312156118aa57600080fd5b6118b3836116c7565b946020939093013593505050565b600080604083850312156118d457600080fd5b823567ffffffffffffffff808211156118ec57600080fd5b818501915085601f83011261190057600080fd5b8135602061191061170483611bb7565b8083825282820191508286018a848660051b890101111561193057600080fd5b600096505b8487101561195a57611946816116c7565b835260019690960195918301918301611935565b509650508601359250508082111561197157600080fd5b5061197e858286016116e3565b9150509250929050565b60006020828403121561199a57600080fd5b813561128f81611d2b565b6000602082840312156119b757600080fd5b815161128f81611d2b565b6000602082840312156119d457600080fd5b813567ffffffffffffffff8111156119eb57600080fd5b8201601f810184136119fc57600080fd5b6114d08482356020840161166f565b600060208284031215611a1d57600080fd5b5035919050565b600060208284031215611a3657600080fd5b813560ff8116811461128f57600080fd5b60008151808452611a5f816020860160208601611c3d565b601f01601f19169290920160200192915050565b60008151611a85818560208601611c3d565b9290920192915050565b600080845481600182811c915080831680611aab57607f831692505b6020808410821415611acb57634e487b7160e01b86526022600452602486fd5b818015611adf5760018114611af057611b1d565b60ff19861689528489019650611b1d565b60008b81526020902060005b86811015611b155781548b820152908501908301611afc565b505084890196505b505050505050611b2d8185611a73565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b6990830184611a47565b9695505050505050565b60208152600061128f6020830184611a47565b604051601f8201601f1916810167ffffffffffffffff81118282101715611baf57611baf611d15565b604052919050565b600067ffffffffffffffff821115611bd157611bd1611d15565b5060051b60200190565b60008219821115611bee57611bee611cd3565b500190565b600082611c0257611c02611ce9565b500490565b6000816000190483118215151615611c2157611c21611cd3565b500290565b600082821015611c3857611c38611cd3565b500390565b60005b83811015611c58578181015183820152602001611c40565b83811115610fb35750506000910152565b600181811c90821680611c7d57607f821691505b60208210811415611c9e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cb857611cb8611cd3565b5060010190565b600082611cce57611cce611ce9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a0057600080fdfea264697066735822122073e955ea69b48eee52a18fa4fd9667fc963caad4e1ab37309ab23cc661eb776464736f6c63430008070033
Deployed Bytecode Sourcemap
50680:2909:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20521:615;;;;;;;;;;-1:-1:-1;20521:615:0;;;;;:::i;:::-;;:::i;:::-;;;8429:14:1;;8422:22;8404:41;;8392:2;8377:18;20521:615:0;;;;;;;;26168:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28114:204::-;;;;;;;;;;-1:-1:-1;28114:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7727:32:1;;;7709:51;;7697:2;7682:18;28114:204:0;7563:203:1;27662:386:0;;;;;;;;;;-1:-1:-1;27662:386:0;;;;;:::i;:::-;;:::i;:::-;;19575:315;;;;;;;;;;-1:-1:-1;19841:12:0;;19628:7;19825:13;:28;19575:315;;;11657:25:1;;;11645:2;11630:18;19575:315:0;11511:177:1;52770:99:0;;;;;;;;;;-1:-1:-1;52770:99:0;;;;;:::i;:::-;;:::i;37379:2800::-;;;;;;;;;;-1:-1:-1;37379:2800:0;;;;;:::i;:::-;;:::i;53333:97::-;;;;;;;;;;-1:-1:-1;53333:97:0;;;;;:::i;:::-;-1:-1:-1;;;;;53411:11:0;53384:7;53411:11;;;:6;:11;;;;;;;53333:97;53055:175;;;;;;;;;;-1:-1:-1;53055:175:0;;;;;:::i;:::-;;:::i;53438:148::-;;;;;;;;;;;;;:::i;29004:185::-;;;;;;;;;;-1:-1:-1;29004:185:0;;;;;:::i;:::-;;:::i;52277:100::-;;;;;;;;;;-1:-1:-1;52277:100:0;;;;;:::i;:::-;;:::i;50815:47::-;;;;;;;;;;;;;;;;25957:144;;;;;;;;;;-1:-1:-1;25957:144:0;;;;;:::i;:::-;;:::i;51770:259::-;;;;;;;;;;-1:-1:-1;51770:259:0;;;;;:::i;:::-;;:::i;50752:27::-;;;;;;;;;;;;;:::i;21200:224::-;;;;;;;;;;-1:-1:-1;21200:224:0;;;;;:::i;:::-;;:::i;2770:103::-;;;;;;;;;;;;;:::i;51467:293::-;;;;;;:::i;:::-;;:::i;52877:170::-;;;;;;;;;;-1:-1:-1;52877:170:0;;;;;:::i;:::-;;:::i;53238:87::-;;;;;;;;;;-1:-1:-1;53238:87:0;;;;;:::i;:::-;;:::i;52673:89::-;;;;;;;;;;-1:-1:-1;52673:89:0;;;;;:::i;:::-;;:::i;2122:87::-;;;;;;;;;;-1:-1:-1;2195:6:0;;-1:-1:-1;;;;;2195:6:0;2122:87;;26337:104;;;;;;;;;;;;;:::i;50786:22::-;;;;;;;;;;;;;;;;51064:395;;;;;;:::i;:::-;;:::i;28390:308::-;;;;;;;;;;-1:-1:-1;28390:308:0;;;;;:::i;:::-;;:::i;29260:399::-;;;;;;;;;;-1:-1:-1;29260:399:0;;;;;:::i;:::-;;:::i;52037:232::-;;;;;;;;;;-1:-1:-1;52037:232:0;;;;;:::i;:::-;;:::i;52385:280::-;;;;;;;;;;-1:-1:-1;52385:280:0;;;;;:::i;:::-;;:::i;50953:22::-;;;;;;;;;;-1:-1:-1;50953:22:0;;;;;;;;50982;;;;;;;;;;-1:-1:-1;50982:22:0;;;;;;;;;;;50869:27;;;;;;;;;;;;;;;;28769:164;;;;;;;;;;-1:-1:-1;28769:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;28890:25:0;;;28866:4;28890:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28769:164;3028:201;;;;;;;;;;-1:-1:-1;3028:201:0;;;;;:::i;:::-;;:::i;20521:615::-;20606:4;-1:-1:-1;;;;;;;;;20906:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;20983:25:0;;;20906:102;:179;;;-1:-1:-1;;;;;;;;;;21060:25:0;;;20906:179;20886:199;20521:615;-1:-1:-1;;20521:615:0:o;26168:100::-;26222:13;26255:5;26248:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26168:100;:::o;28114:204::-;28182:7;28207:16;28215:7;28207;:16::i;:::-;28202:64;;28232:34;;-1:-1:-1;;;28232:34:0;;;;;;;;;;;28202:64;-1:-1:-1;28286:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28286:24:0;;28114:204::o;27662:386::-;27735:13;27751:16;27759:7;27751;:16::i;:::-;27735:32;-1:-1:-1;48562:10:0;-1:-1:-1;;;;;27784:28:0;;;27780:175;;27832:44;27849:5;48562:10;28769:164;:::i;27832:44::-;27827:128;;27904:35;;-1:-1:-1;;;27904:35:0;;;;;;;;;;;27827:128;27967:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;27967:29:0;-1:-1:-1;;;;;27967:29:0;;;;;;;;;28012:28;;27967:24;;28012:28;;;;;;;27724:324;27662:386;;:::o;52770:99::-;2008:13;:11;:13::i;:::-;52841:11:::1;:20:::0;52770:99::o;37379:2800::-;37513:27;37543;37562:7;37543:18;:27::i;:::-;37513:57;;37628:4;-1:-1:-1;;;;;37587:45:0;37603:19;-1:-1:-1;;;;;37587:45:0;;37583:86;;37641:28;;-1:-1:-1;;;37641:28:0;;;;;;;;;;;37583:86;37683:27;36109:21;;;35936:15;36151:4;36144:36;36233:4;36217:21;;36323:26;;48562:10;37076:30;;;-1:-1:-1;;;;;36774:26:0;;37055:19;;;37052:55;37862:174;;37949:43;37966:4;48562:10;28769:164;:::i;37949:43::-;37944:92;;38001:35;;-1:-1:-1;;;38001:35:0;;;;;;;;;;;37944:92;-1:-1:-1;;;;;38053:16:0;;38049:52;;38078:23;;-1:-1:-1;;;38078:23:0;;;;;;;;;;;38049:52;38250:15;38247:160;;;38390:1;38369:19;38362:30;38247:160;-1:-1:-1;;;;;38785:24:0;;;;;;;:18;:24;;;;;;38783:26;;-1:-1:-1;;38783:26:0;;;38854:22;;;;;;;;;38852:24;;-1:-1:-1;38852:24:0;;;25856:11;25832:22;25828:40;25815:62;-1:-1:-1;;;25815:62:0;39147:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;39441:46:0;;39437:626;;39545:1;39535:11;;39513:19;39668:30;;;:17;:30;;;;;;39664:384;;39806:13;;39791:11;:28;39787:242;;39953:30;;;;:17;:30;;;;;:52;;;39787:242;39494:569;39437:626;40110:7;40106:2;-1:-1:-1;;;;;40091:27:0;40100:4;-1:-1:-1;;;;;40091:27:0;;;;;;;;;;;37502:2677;;;37379:2800;;;:::o;53055:175::-;2008:13;:11;:13::i;:::-;53121:8:::1;::::0;::::1;53118:105;;53145:10;:18:::0;;-1:-1:-1;;53145:18:0::1;::::0;;53055:175;:::o;53118:105::-:1;53194:10;:17:::0;;-1:-1:-1;;53194:17:0::1;53207:4;53194:17;::::0;;53118:105:::1;53055:175:::0;:::o;53438:148::-;2008:13;:11;:13::i;:::-;53488:22:::1;53521:7;2195:6:::0;;-1:-1:-1;;;;;2195:6:0;;2122:87;53521:7:::1;53540:38;::::0;53488:41;;-1:-1:-1;;;;;;53540:15:0;::::1;::::0;53556:21:::1;53540:38:::0;::::1;;;::::0;::::1;::::0;;;53556:21;53540:15;:38;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;53477:109;53438:148::o:0;29004:185::-;29142:39;29159:4;29165:2;29169:7;29142:39;;;;;;;;;;;;:16;:39::i;:::-;29004:185;;;:::o;52277:100::-;2008:13;:11;:13::i;:::-;52351:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;25957:144::-:0;26021:7;26064:27;26083:7;26064:18;:27::i;51770:259::-;2008:13;:11;:13::i;:::-;51883:4:::1;:11;51869:3;:10;:25;51861:62;;;::::0;-1:-1:-1;;;51861:62:0;;10649:2:1;51861:62:0::1;::::0;::::1;10631:21:1::0;10688:2;10668:18;;;10661:30;-1:-1:-1;;;10707:18:1;;;10700:54;10771:18;;51861:62:0::1;;;;;;;;;51940:9;51936:86;51958:3;:10;51954:1;:14;51936:86;;;51988:22;51994:3;51998:1;51994:6;;;;;;;;:::i;:::-;;;;;;;52002:4;52007:1;52002:7;;;;;;;;:::i;:::-;;;;;;;51988:5;:22::i;:::-;51969:3:::0;::::1;::::0;::::1;:::i;:::-;;;;51936:86;;50752:27:::0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21200:224::-;21264:7;-1:-1:-1;;;;;21288:19:0;;21284:60;;21316:28;;-1:-1:-1;;;21316:28:0;;;;;;;;;;;21284:60;-1:-1:-1;;;;;;21362:25:0;;;;;:18;:25;;;;;;15755:13;21362:54;;21200:224::o;2770:103::-;2008:13;:11;:13::i;:::-;2835:30:::1;2862:1;2835:18;:30::i;:::-;2770:103::o:0;51467:293::-;51535:10;;;;;;;51527:32;;;;-1:-1:-1;;;51527:32:0;;8882:2:1;51527:32:0;;;8864:21:1;8921:1;8901:18;;;8894:29;-1:-1:-1;;;8939:18:1;;;8932:39;8988:18;;51527:32:0;8680:332:1;51527:32:0;51588:3;51578:6;;:13;;51570:33;;;;-1:-1:-1;;;51570:33:0;;9219:2:1;51570:33:0;;;9201:21:1;9258:1;9238:18;;;9231:29;-1:-1:-1;;;9276:18:1;;;9269:37;9323:18;;51570:33:0;9017:330:1;51570:33:0;51617:11;;:15;51614:106;;51682:3;51670:11;;:15;;;;:::i;:::-;51657:9;:28;;51649:59;;;;-1:-1:-1;;;51649:59:0;;10304:2:1;51649:59:0;;;10286:21:1;10343:2;10323:18;;;10316:30;-1:-1:-1;;;10362:18:1;;;10355:46;10418:18;;51649:59:0;10102:340:1;51649:59:0;51730:22;51736:10;51748:3;51730:5;:22::i;52877:170::-;2008:13;:11;:13::i;:::-;52938:8:::1;::::0;::::1;52935:105;;52962:10;:18:::0;;-1:-1:-1;;52962:18:0::1;::::0;;53055:175;:::o;52935:105::-:1;53011:10;:17:::0;;-1:-1:-1;;53011:17:0::1;;;::::0;;52877:170;:::o;53238:87::-;2008:13;:11;:13::i;:::-;53304:6:::1;:13:::0;53238:87::o;52673:89::-;2008:13;:11;:13::i;:::-;52740:5:::1;:14:::0;52673:89::o;26337:104::-;26393:13;26426:7;26419:14;;;;;:::i;51064:395::-;51127:10;;;;51119:32;;;;-1:-1:-1;;;51119:32:0;;8882:2:1;51119:32:0;;;8864:21:1;8921:1;8901:18;;;8894:29;-1:-1:-1;;;8939:18:1;;;8932:39;8988:18;;51119:32:0;8680:332:1;51119:32:0;51180:3;51170:6;;:13;;51162:33;;;;-1:-1:-1;;;51162:33:0;;9219:2:1;51162:33:0;;;9201:21:1;9258:1;9238:18;;;9231:29;-1:-1:-1;;;9276:18:1;;;9269:37;9323:18;;51162:33:0;9017:330:1;51162:33:0;51221:10;51214:18;;;;:6;:18;;;;;;:25;-1:-1:-1;51214:25:0;51206:52;;;;-1:-1:-1;;;51206:52:0;;9961:2:1;51206:52:0;;;9943:21:1;10000:2;9980:18;;;9973:30;-1:-1:-1;;;10019:18:1;;;10012:44;10073:18;;51206:52:0;9759:338:1;51206:52:0;51272:5;;:9;51269:94;;51325:3;51319:5;;:9;;;;:::i;:::-;51306;:22;;51298:53;;;;-1:-1:-1;;;51298:53:0;;10304:2:1;51298:53:0;;;10286:21:1;10343:2;10323:18;;;10316:30;-1:-1:-1;;;10362:18:1;;;10355:46;10418:18;;51298:53:0;10102:340:1;51298:53:0;51401:10;51394:18;;;;:6;:18;;;;;;:24;;51415:3;;51394:24;:::i;:::-;51380:10;51373:18;;;;:6;:18;;;;;:45;;;;51429:22;;51447:3;51429:5;:22::i;28390:308::-;-1:-1:-1;;;;;28489:31:0;;48562:10;28489:31;28485:61;;;28529:17;;-1:-1:-1;;;28529:17:0;;;;;;;;;;;28485:61;48562:10;28559:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;28559:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;28559:60:0;;;;;;;;;;28635:55;;8404:41:1;;;28559:49:0;;48562:10;28635:55;;8377:18:1;28635:55:0;;;;;;;28390:308;;:::o;29260:399::-;29427:31;29440:4;29446:2;29450:7;29427:12;:31::i;:::-;-1:-1:-1;;;;;29473:14:0;;;:19;29469:183;;29512:56;29543:4;29549:2;29553:7;29562:5;29512:30;:56::i;:::-;29507:145;;29596:40;;-1:-1:-1;;;29596:40:0;;;;;;;;;;;29507:145;29260:399;;;;:::o;52037:232::-;52103:13;52137:17;52145:8;52137:7;:17::i;:::-;52129:51;;;;-1:-1:-1;;;52129:51:0;;11002:2:1;52129:51:0;;;10984:21:1;11041:2;11021:18;;;11014:30;-1:-1:-1;;;11060:18:1;;;11053:51;11121:18;;52129:51:0;10800:345:1;52129:51:0;52231:7;52240:19;:8;:17;:19::i;:::-;52214:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52200:61;;52037:232;;;:::o;52385:280::-;2008:13;:11;:13::i;:::-;52500:4:::1;:11;52486:3;:10;:25;52478:62;;;::::0;-1:-1:-1;;;52478:62:0;;10649:2:1;52478:62:0::1;::::0;::::1;10631:21:1::0;10688:2;10668:18;;;10661:30;-1:-1:-1;;;10707:18:1;;;10700:54;10771:18;;52478:62:0::1;10447:348:1::0;52478:62:0::1;52557:9;52553:103;52575:3;:10;52571:1;:14;52553:103;;;52637:4;52642:1;52637:7;;;;;;;;:::i;:::-;;;;;;;52622:6;:14;52629:3;52633:1;52629:6;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;52622:14:0::1;-1:-1:-1::0;;;;;52622:14:0::1;;;;;;;;;;;;;:22;;;;:::i;:::-;52605:6;:14;52612:3;52616:1;52612:6;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;52605:14:0::1;-1:-1:-1::0;;;;;52605:14:0::1;;;;;;;;;;;;:39;;;;52586:3;;;;;:::i;:::-;;;;52553:103;;3028:201:::0;2008:13;:11;:13::i;:::-;-1:-1:-1;;;;;3117:22:0;::::1;3109:73;;;::::0;-1:-1:-1;;;3109:73:0;;9554:2:1;3109:73:0::1;::::0;::::1;9536:21:1::0;9593:2;9573:18;;;9566:30;9632:34;9612:18;;;9605:62;-1:-1:-1;;;9683:18:1;;;9676:36;9729:19;;3109:73:0::1;9352:402:1::0;3109:73:0::1;3193:28;3212:8;3193:18;:28::i;29914:273::-:0;29971:4;30061:13;;30051:7;:23;30008:152;;;;-1:-1:-1;;30112:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;30112:43:0;:48;;29914:273::o;2287:132::-;2195:6;;-1:-1:-1;;;;;2195:6:0;48562:10;2351:23;2343:68;;;;-1:-1:-1;;;2343:68:0;;11352:2:1;2343:68:0;;;11334:21:1;;;11371:18;;;11364:30;11430:34;11410:18;;;11403:62;11482:18;;2343:68:0;11150:356:1;22874:1129:0;22941:7;22976;23078:13;;23071:4;:20;23067:869;;;23116:14;23133:23;;;:17;:23;;;;;;-1:-1:-1;;;23222:23:0;;23218:699;;23741:113;23748:11;23741:113;;-1:-1:-1;;;23819:6:0;23801:25;;;;:17;:25;;;;;;23741:113;;;23887:6;22874:1129;-1:-1:-1;;;22874:1129:0:o;23218:699::-;23093:843;23067:869;23964:31;;-1:-1:-1;;;23964:31:0;;;;;;;;;;;31745:1529;31810:20;31833:13;-1:-1:-1;;;;;31861:16:0;;31857:48;;31886:19;;-1:-1:-1;;;31886:19:0;;;;;;;;;;;31857:48;31920:13;31916:44;;31942:18;;-1:-1:-1;;;31942:18:0;;;;;;;;;;;31916:44;-1:-1:-1;;;;;32448:22:0;;;;;;:18;:22;;15892:2;32448:22;;:70;;32486:31;32474:44;;32448:70;;;25856:11;25832:22;25828:40;-1:-1:-1;27566:15:0;;27541:23;27537:45;25825:51;25815:62;32761:31;;;;:17;:31;;;;;:173;32779:12;33010:23;;;33048:101;33075:35;;33100:9;;;;;-1:-1:-1;;;;;33075:35:0;;;33092:1;;33075:35;;33092:1;;33075:35;33144:3;33134:7;:13;33048:101;;33165:13;:19;-1:-1:-1;29004:185:0;;;:::o;3389:191::-;3482:6;;;-1:-1:-1;;;;;3499:17:0;;;-1:-1:-1;;;;;;3499:17:0;;;;;;;3532:40;;3482:6;;;3499:17;3482:6;;3532:40;;3463:16;;3532:40;3452:128;3389:191;:::o;44130:716::-;44314:88;;-1:-1:-1;;;44314:88:0;;44293:4;;-1:-1:-1;;;;;44314:45:0;;;;;:88;;48562:10;;44381:4;;44387:7;;44396:5;;44314:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44314:88:0;;;;;;;;-1:-1:-1;;44314:88:0;;;;;;;;;;;;:::i;:::-;;;44310:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44597:13:0;;44593:235;;44643:40;;-1:-1:-1;;;44643:40:0;;;;;;;;;;;44593:235;44786:6;44780:13;44771:6;44767:2;44763:15;44756:38;44310:529;-1:-1:-1;;;;;;44473:64:0;-1:-1:-1;;;44473:64:0;;-1:-1:-1;44310:529:0;44130:716;;;;;;:::o;4017:723::-;4073:13;4294:10;4290:53;;-1:-1:-1;;4321:10:0;;;;;;;;;;;;-1:-1:-1;;;4321:10:0;;;;;4017:723::o;4290:53::-;4368:5;4353:12;4409:78;4416:9;;4409:78;;4442:8;;;;:::i;:::-;;-1:-1:-1;4465:10:0;;-1:-1:-1;4473:2:0;4465:10;;:::i;:::-;;;4409:78;;;4497:19;4529:6;4519:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4519:17:0;;4497:39;;4547:154;4554:10;;4547:154;;4581:11;4591:1;4581:11;;:::i;:::-;;-1:-1:-1;4650:10:0;4658:2;4650:5;:10;:::i;:::-;4637:24;;:2;:24;:::i;:::-;4624:39;;4607:6;4614;4607:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4607:56:0;;;;;;;;-1:-1:-1;4678:11:0;4687:2;4678:11;;:::i;:::-;;;4547:154;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:673::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;814:60;830:43;870:2;830:43;:::i;:::-;814:60;:::i;:::-;896:3;920:2;915:3;908:15;948:2;943:3;939:12;932:19;;983:2;975:6;971:15;1035:3;1030:2;1024;1021:1;1017:10;1009:6;1005:23;1001:32;998:41;995:61;;;1052:1;1049;1042:12;995:61;1074:1;1084:163;1098:2;1095:1;1092:9;1084:163;;;1155:17;;1143:30;;1193:12;;;;1225;;;;1116:1;1109:9;1084:163;;;-1:-1:-1;1265:5:1;;603:673;-1:-1:-1;;;;;;;603:673:1:o;1281:186::-;1340:6;1393:2;1381:9;1372:7;1368:23;1364:32;1361:52;;;1409:1;1406;1399:12;1361:52;1432:29;1451:9;1432:29;:::i;1472:260::-;1540:6;1548;1601:2;1589:9;1580:7;1576:23;1572:32;1569:52;;;1617:1;1614;1607:12;1569:52;1640:29;1659:9;1640:29;:::i;:::-;1630:39;;1688:38;1722:2;1711:9;1707:18;1688:38;:::i;:::-;1678:48;;1472:260;;;;;:::o;1737:328::-;1814:6;1822;1830;1883:2;1871:9;1862:7;1858:23;1854:32;1851:52;;;1899:1;1896;1889:12;1851:52;1922:29;1941:9;1922:29;:::i;:::-;1912:39;;1970:38;2004:2;1993:9;1989:18;1970:38;:::i;:::-;1960:48;;2055:2;2044:9;2040:18;2027:32;2017:42;;1737:328;;;;;:::o;2070:666::-;2165:6;2173;2181;2189;2242:3;2230:9;2221:7;2217:23;2213:33;2210:53;;;2259:1;2256;2249:12;2210:53;2282:29;2301:9;2282:29;:::i;:::-;2272:39;;2330:38;2364:2;2353:9;2349:18;2330:38;:::i;:::-;2320:48;;2415:2;2404:9;2400:18;2387:32;2377:42;;2470:2;2459:9;2455:18;2442:32;2497:18;2489:6;2486:30;2483:50;;;2529:1;2526;2519:12;2483:50;2552:22;;2605:4;2597:13;;2593:27;-1:-1:-1;2583:55:1;;2634:1;2631;2624:12;2583:55;2657:73;2722:7;2717:2;2704:16;2699:2;2695;2691:11;2657:73;:::i;:::-;2647:83;;;2070:666;;;;;;;:::o;2741:347::-;2806:6;2814;2867:2;2855:9;2846:7;2842:23;2838:32;2835:52;;;2883:1;2880;2873:12;2835:52;2906:29;2925:9;2906:29;:::i;:::-;2896:39;;2985:2;2974:9;2970:18;2957:32;3032:5;3025:13;3018:21;3011:5;3008:32;2998:60;;3054:1;3051;3044:12;2998:60;3077:5;3067:15;;;2741:347;;;;;:::o;3093:254::-;3161:6;3169;3222:2;3210:9;3201:7;3197:23;3193:32;3190:52;;;3238:1;3235;3228:12;3190:52;3261:29;3280:9;3261:29;:::i;:::-;3251:39;3337:2;3322:18;;;;3309:32;;-1:-1:-1;;;3093:254:1:o;3352:1157::-;3470:6;3478;3531:2;3519:9;3510:7;3506:23;3502:32;3499:52;;;3547:1;3544;3537:12;3499:52;3587:9;3574:23;3616:18;3657:2;3649:6;3646:14;3643:34;;;3673:1;3670;3663:12;3643:34;3711:6;3700:9;3696:22;3686:32;;3756:7;3749:4;3745:2;3741:13;3737:27;3727:55;;3778:1;3775;3768:12;3727:55;3814:2;3801:16;3836:4;3860:60;3876:43;3916:2;3876:43;:::i;3860:60::-;3942:3;3966:2;3961:3;3954:15;3994:2;3989:3;3985:12;3978:19;;4025:2;4021;4017:11;4073:7;4068:2;4062;4059:1;4055:10;4051:2;4047:19;4043:28;4040:41;4037:61;;;4094:1;4091;4084:12;4037:61;4116:1;4107:10;;4126:169;4140:2;4137:1;4134:9;4126:169;;;4197:23;4216:3;4197:23;:::i;:::-;4185:36;;4158:1;4151:9;;;;;4241:12;;;;4273;;4126:169;;;-1:-1:-1;4314:5:1;-1:-1:-1;;4357:18:1;;4344:32;;-1:-1:-1;;4388:16:1;;;4385:36;;;4417:1;4414;4407:12;4385:36;;4440:63;4495:7;4484:8;4473:9;4469:24;4440:63;:::i;:::-;4430:73;;;3352:1157;;;;;:::o;4514:245::-;4572:6;4625:2;4613:9;4604:7;4600:23;4596:32;4593:52;;;4641:1;4638;4631:12;4593:52;4680:9;4667:23;4699:30;4723:5;4699:30;:::i;4764:249::-;4833:6;4886:2;4874:9;4865:7;4861:23;4857:32;4854:52;;;4902:1;4899;4892:12;4854:52;4934:9;4928:16;4953:30;4977:5;4953:30;:::i;5018:450::-;5087:6;5140:2;5128:9;5119:7;5115:23;5111:32;5108:52;;;5156:1;5153;5146:12;5108:52;5196:9;5183:23;5229:18;5221:6;5218:30;5215:50;;;5261:1;5258;5251:12;5215:50;5284:22;;5337:4;5329:13;;5325:27;-1:-1:-1;5315:55:1;;5366:1;5363;5356:12;5315:55;5389:73;5454:7;5449:2;5436:16;5431:2;5427;5423:11;5389:73;:::i;5473:180::-;5532:6;5585:2;5573:9;5564:7;5560:23;5556:32;5553:52;;;5601:1;5598;5591:12;5553:52;-1:-1:-1;5624:23:1;;5473:180;-1:-1:-1;5473:180:1:o;5658:269::-;5715:6;5768:2;5756:9;5747:7;5743:23;5739:32;5736:52;;;5784:1;5781;5774:12;5736:52;5823:9;5810:23;5873:4;5866:5;5862:16;5855:5;5852:27;5842:55;;5893:1;5890;5883:12;5932:257;5973:3;6011:5;6005:12;6038:6;6033:3;6026:19;6054:63;6110:6;6103:4;6098:3;6094:14;6087:4;6080:5;6076:16;6054:63;:::i;:::-;6171:2;6150:15;-1:-1:-1;;6146:29:1;6137:39;;;;6178:4;6133:50;;5932:257;-1:-1:-1;;5932:257:1:o;6194:185::-;6236:3;6274:5;6268:12;6289:52;6334:6;6329:3;6322:4;6315:5;6311:16;6289:52;:::i;:::-;6357:16;;;;;6194:185;-1:-1:-1;;6194:185:1:o;6384:1174::-;6560:3;6589:1;6622:6;6616:13;6652:3;6674:1;6702:9;6698:2;6694:18;6684:28;;6762:2;6751:9;6747:18;6784;6774:61;;6828:4;6820:6;6816:17;6806:27;;6774:61;6854:2;6902;6894:6;6891:14;6871:18;6868:38;6865:165;;;-1:-1:-1;;;6929:33:1;;6985:4;6982:1;6975:15;7015:4;6936:3;7003:17;6865:165;7046:18;7073:104;;;;7191:1;7186:320;;;;7039:467;;7073:104;-1:-1:-1;;7106:24:1;;7094:37;;7151:16;;;;-1:-1:-1;7073:104:1;;7186:320;12234:1;12227:14;;;12271:4;12258:18;;7281:1;7295:165;7309:6;7306:1;7303:13;7295:165;;;7387:14;;7374:11;;;7367:35;7430:16;;;;7324:10;;7295:165;;;7299:3;;7489:6;7484:3;7480:16;7473:23;;7039:467;;;;;;;7522:30;7548:3;7540:6;7522:30;:::i;:::-;7515:37;6384:1174;-1:-1:-1;;;;;6384:1174:1:o;7771:488::-;-1:-1:-1;;;;;8040:15:1;;;8022:34;;8092:15;;8087:2;8072:18;;8065:43;8139:2;8124:18;;8117:34;;;8187:3;8182:2;8167:18;;8160:31;;;7965:4;;8208:45;;8233:19;;8225:6;8208:45;:::i;:::-;8200:53;7771:488;-1:-1:-1;;;;;;7771:488:1:o;8456:219::-;8605:2;8594:9;8587:21;8568:4;8625:44;8665:2;8654:9;8650:18;8642:6;8625:44;:::i;11693:275::-;11764:2;11758:9;11829:2;11810:13;;-1:-1:-1;;11806:27:1;11794:40;;11864:18;11849:34;;11885:22;;;11846:62;11843:88;;;11911:18;;:::i;:::-;11947:2;11940:22;11693:275;;-1:-1:-1;11693:275:1:o;11973:183::-;12033:4;12066:18;12058:6;12055:30;12052:56;;;12088:18;;:::i;:::-;-1:-1:-1;12133:1:1;12129:14;12145:4;12125:25;;11973:183::o;12287:128::-;12327:3;12358:1;12354:6;12351:1;12348:13;12345:39;;;12364:18;;:::i;:::-;-1:-1:-1;12400:9:1;;12287:128::o;12420:120::-;12460:1;12486;12476:35;;12491:18;;:::i;:::-;-1:-1:-1;12525:9:1;;12420:120::o;12545:168::-;12585:7;12651:1;12647;12643:6;12639:14;12636:1;12633:21;12628:1;12621:9;12614:17;12610:45;12607:71;;;12658:18;;:::i;:::-;-1:-1:-1;12698:9:1;;12545:168::o;12718:125::-;12758:4;12786:1;12783;12780:8;12777:34;;;12791:18;;:::i;:::-;-1:-1:-1;12828:9:1;;12718:125::o;12848:258::-;12920:1;12930:113;12944:6;12941:1;12938:13;12930:113;;;13020:11;;;13014:18;13001:11;;;12994:39;12966:2;12959:10;12930:113;;;13061:6;13058:1;13055:13;13052:48;;;-1:-1:-1;;13096:1:1;13078:16;;13071:27;12848:258::o;13111:380::-;13190:1;13186:12;;;;13233;;;13254:61;;13308:4;13300:6;13296:17;13286:27;;13254:61;13361:2;13353:6;13350:14;13330:18;13327:38;13324:161;;;13407:10;13402:3;13398:20;13395:1;13388:31;13442:4;13439:1;13432:15;13470:4;13467:1;13460:15;13324:161;;13111:380;;;:::o;13496:135::-;13535:3;-1:-1:-1;;13556:17:1;;13553:43;;;13576:18;;:::i;:::-;-1:-1:-1;13623:1:1;13612:13;;13496:135::o;13636:112::-;13668:1;13694;13684:35;;13699:18;;:::i;:::-;-1:-1:-1;13733:9:1;;13636:112::o;13753:127::-;13814:10;13809:3;13805:20;13802:1;13795:31;13845:4;13842:1;13835:15;13869:4;13866:1;13859:15;13885:127;13946:10;13941:3;13937:20;13934:1;13927:31;13977:4;13974:1;13967:15;14001:4;13998:1;13991:15;14017:127;14078:10;14073:3;14069:20;14066:1;14059:31;14109:4;14106:1;14099:15;14133:4;14130:1;14123:15;14149:127;14210:10;14205:3;14201:20;14198:1;14191:31;14241:4;14238:1;14231:15;14265:4;14262:1;14255:15;14281:131;-1:-1:-1;;;;;;14355:32:1;;14345:43;;14335:71;;14402:1;14399;14392:12
Swarm Source
ipfs://73e955ea69b48eee52a18fa4fd9667fc963caad4e1ab37309ab23cc661eb7764
Loading...
Loading
Loading...
Loading
[ 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.