ERC-721
Overview
Max Total Supply
369 BHB
Holders
350
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BHBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BigHairyBalls
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-26 */ // SPDX-License-Identifier: MIT // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/BigHairyBalls.sol pragma solidity ^0.8.9; contract BigHairyBalls is ERC721A, Ownable { uint16 public maxSupply = 369; uint8 public maxPerWallet = 1; bool public mintEnabled; string public baseURI = "ipfs://............/"; mapping(address => uint256) public _mintedWallet; using Strings for uint256; constructor() ERC721A("Big Hairy Balls", "BHB"){} function mint() external { require(mintEnabled, "Mint is not live yet"); require(totalSupply() + maxPerWallet <= maxSupply, "Not enough tokens left"); require(msg.sender == tx.origin); require(_mintedWallet[msg.sender] < maxPerWallet, "Max per wallet reached"); _safeMint(msg.sender, maxPerWallet); _mintedWallet[msg.sender] += maxPerWallet; } function mintForOwner(uint16 quantity) public onlyOwner { require(totalSupply() + quantity <= maxSupply); _safeMint(msg.sender, quantity); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory baseURI_) public onlyOwner { baseURI = baseURI_; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), ".json")) : ''; } function toggleMinting() external onlyOwner { mintEnabled = !mintEnabled; } function withdraw() external payable onlyOwner { payable(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":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mintForOwner","outputs":[],"stateMutability":"nonpayable","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":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6008805462ffffff60a01b191676010171000000000000000000000000000000000000000017905560c0604052601460808190527f697066733a2f2f2e2e2e2e2e2e2e2e2e2e2e2e2f00000000000000000000000060a090815262000068916009919062000172565b503480156200007657600080fd5b50604080518082018252600f81527f4269672048616972792042616c6c73000000000000000000000000000000000060208083019182528351808501909452600384527f4248420000000000000000000000000000000000000000000000000000000000908401528151919291620000f19160029162000172565b5080516200010790600390602084019062000172565b50506001600055506200011a3362000120565b6200026e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001809062000218565b90600052602060002090601f016020900481019282620001a45760008555620001ef565b82601f10620001bf57805160ff1916838001178555620001ef565b82800160010185558215620001ef579182015b82811115620001ef578251825591602001919060010190620001d2565b50620001fd92915062000201565b5090565b5b80821115620001fd576000815560010162000202565b600181811c908216806200022d57607f821691505b6020821081141562000268577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b611895806200027e6000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063c87b56dd1161008a578063d5abeb0111610064578063d5abeb0114610489578063e985e9c5146104be578063f2fde38b14610507578063fddf14791461052757600080fd5b8063c87b56dd1461041b578063d12397301461043b578063d596f1c01461045c57600080fd5b80638da5cb5b116100c65780638da5cb5b146103a857806395d89b41146103c6578063a22cb465146103db578063b88d4fde146103fb57600080fd5b806370a082311461035e578063715018a61461037e5780637d55094d1461039357600080fd5b806323b872dd11610159578063453c231011610133578063453c2310146102d657806355f804b3146103095780636352211e146103295780636c0360eb1461034957600080fd5b806323b872dd1461028e5780633ccfd60b146102ae57806342842e0e146102b657600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b3146102305780631249c58b1461025257806318160ddd14610267575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046113b5565b610547565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb610599565b6040516101cd919061142a565b34801561020457600080fd5b5061021861021336600461143d565b61062b565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611472565b61066f565b005b34801561025e57600080fd5b5061025061070f565b34801561027357600080fd5b5060015460005403600019015b6040519081526020016101cd565b34801561029a57600080fd5b506102506102a936600461149c565b61089e565b610250610a2f565b3480156102c257600080fd5b506102506102d136600461149c565b610a7e565b3480156102e257600080fd5b506008546102f790600160b01b900460ff1681565b60405160ff90911681526020016101cd565b34801561031557600080fd5b50610250610324366004611564565b610a9e565b34801561033557600080fd5b5061021861034436600461143d565b610abd565b34801561035557600080fd5b506101eb610ac8565b34801561036a57600080fd5b506102806103793660046115ad565b610b56565b34801561038a57600080fd5b50610250610ba5565b34801561039f57600080fd5b50610250610bb9565b3480156103b457600080fd5b506008546001600160a01b0316610218565b3480156103d257600080fd5b506101eb610be2565b3480156103e757600080fd5b506102506103f63660046115c8565b610bf1565b34801561040757600080fd5b50610250610416366004611604565b610c5d565b34801561042757600080fd5b506101eb61043636600461143d565b610ca7565b34801561044757600080fd5b506008546101c190600160b81b900460ff1681565b34801561046857600080fd5b506102806104773660046115ad565b600a6020526000908152604090205481565b34801561049557600080fd5b506008546104ab90600160a01b900461ffff1681565b60405161ffff90911681526020016101cd565b3480156104ca57600080fd5b506101c16104d9366004611680565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051357600080fd5b506102506105223660046115ad565b610d72565b34801561053357600080fd5b506102506105423660046116b3565b610de8565b60006301ffc9a760e01b6001600160e01b03198316148061057857506380ac58cd60e01b6001600160e01b03198316145b806105935750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105a8906116d7565b80601f01602080910402602001604051908101604052809291908181526020018280546105d4906116d7565b80156106215780601f106105f657610100808354040283529160200191610621565b820191906000526020600020905b81548152906001019060200180831161060457829003601f168201915b5050505050905090565b600061063682610e39565b610653576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061067a82610abd565b9050336001600160a01b038216146106b35761069681336104d9565b6106b3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600854600160b81b900460ff166107645760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b60448201526064015b60405180910390fd5b600854600160a01b810461ffff1690600160b01b900460ff166107906001546000546000199190030190565b61079a9190611728565b11156107e15760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161075b565b3332146107ed57600080fd5b600854336000908152600a6020526040902054600160b01b90910460ff16116108515760405162461bcd60e51b815260206004820152601660248201527513585e081c195c881dd85b1b195d081c995858da195960521b604482015260640161075b565b600854610869903390600160b01b900460ff16610e6e565b600854336000908152600a602052604081208054600160b01b90930460ff1692909190610897908490611728565b9091555050565b60006108a982610e88565b9050836001600160a01b0316816001600160a01b0316146108dc5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109295761090c86336104d9565b61092957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661095057604051633a954ecd60e21b815260040160405180910390fd5b801561095b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109e657600184016000818152600460205260409020546109e45760005481146109e45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a37610ef1565b6008546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f19350505050158015610a7b573d6000803e3d6000fd5b50565b610a9983838360405180602001604052806000815250610c5d565b505050565b610aa6610ef1565b8051610ab9906009906020840190611306565b5050565b600061059382610e88565b60098054610ad5906116d7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b01906116d7565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b505050505081565b60006001600160a01b038216610b7f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bad610ef1565b610bb76000610f4b565b565b610bc1610ef1565b6008805460ff60b81b198116600160b81b9182900460ff1615909102179055565b6060600380546105a8906116d7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c6884848461089e565b6001600160a01b0383163b15610ca157610c8484848484610f9d565b610ca1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610cb282610e39565b610d165760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161075b565b6000610d20611095565b90506000815111610d405760405180602001604052806000815250610d6b565b80610d4a846110a4565b604051602001610d5b929190611740565b6040516020818303038152906040525b9392505050565b610d7a610ef1565b6001600160a01b038116610ddf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161075b565b610a7b81610f4b565b610df0610ef1565b60085461ffff600160a01b9091048116908216610e166001546000546000199190030190565b610e209190611728565b1115610e2b57600080fd5b610a7b338261ffff16610e6e565b600081600111158015610e4d575060005482105b8015610593575050600090815260046020526040902054600160e01b161590565b610ab98282604051806020016040528060008152506111a2565b60008180600111610ed857600054811015610ed857600081815260046020526040902054600160e01b8116610ed6575b80610d6b575060001901600081815260046020526040902054610eb8565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bb75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161075b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610fd290339089908890889060040161177f565b602060405180830381600087803b158015610fec57600080fd5b505af192505050801561101c575060408051601f3d908101601f19168201909252611019918101906117bc565b60015b611077573d80801561104a576040519150601f19603f3d011682016040523d82523d6000602084013e61104f565b606091505b50805161106f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546105a8906116d7565b6060816110c85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110f257806110dc816117d9565b91506110eb9050600a8361180a565b91506110cc565b60008167ffffffffffffffff81111561110d5761110d6114d8565b6040519080825280601f01601f191660200182016040528015611137576020820181803683370190505b5090505b841561108d5761114c60018361181e565b9150611159600a86611835565b611164906030611728565b60f81b81838151811061117957611179611849565b60200101906001600160f81b031916908160001a90535061119b600a8661180a565b945061113b565b6111ac838361120f565b6001600160a01b0383163b15610a99576000548281035b6111d66000868380600101945086610f9d565b6111f3576040516368d2bf6b60e11b815260040160405180910390fd5b8181106111c357816000541461120857600080fd5b5050505050565b600054816112305760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146112df57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112a7565b50816112fd57604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611312906116d7565b90600052602060002090601f016020900481019282611334576000855561137a565b82601f1061134d57805160ff191683800117855561137a565b8280016001018555821561137a579182015b8281111561137a57825182559160200191906001019061135f565b5061138692915061138a565b5090565b5b80821115611386576000815560010161138b565b6001600160e01b031981168114610a7b57600080fd5b6000602082840312156113c757600080fd5b8135610d6b8161139f565b60005b838110156113ed5781810151838201526020016113d5565b83811115610ca15750506000910152565b600081518084526114168160208601602086016113d2565b601f01601f19169290920160200192915050565b602081526000610d6b60208301846113fe565b60006020828403121561144f57600080fd5b5035919050565b80356001600160a01b038116811461146d57600080fd5b919050565b6000806040838503121561148557600080fd5b61148e83611456565b946020939093013593505050565b6000806000606084860312156114b157600080fd5b6114ba84611456565b92506114c860208501611456565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611509576115096114d8565b604051601f8501601f19908116603f01168101908282118183101715611531576115316114d8565b8160405280935085815286868601111561154a57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561157657600080fd5b813567ffffffffffffffff81111561158d57600080fd5b8201601f8101841361159e57600080fd5b61108d848235602084016114ee565b6000602082840312156115bf57600080fd5b610d6b82611456565b600080604083850312156115db57600080fd5b6115e483611456565b9150602083013580151581146115f957600080fd5b809150509250929050565b6000806000806080858703121561161a57600080fd5b61162385611456565b935061163160208601611456565b925060408501359150606085013567ffffffffffffffff81111561165457600080fd5b8501601f8101871361166557600080fd5b611674878235602084016114ee565b91505092959194509250565b6000806040838503121561169357600080fd5b61169c83611456565b91506116aa60208401611456565b90509250929050565b6000602082840312156116c557600080fd5b813561ffff81168114610d6b57600080fd5b600181811c908216806116eb57607f821691505b6020821081141561170c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561173b5761173b611712565b500190565b600083516117528184602088016113d2565b8351908301906117668183602088016113d2565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117b2908301846113fe565b9695505050505050565b6000602082840312156117ce57600080fd5b8151610d6b8161139f565b60006000198214156117ed576117ed611712565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611819576118196117f4565b500490565b60008282101561183057611830611712565b500390565b600082611844576118446117f4565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c000b71cacc3f232bdc4c87354247a4f3850e1f8a22f48fc5e6ca26c842cbde664736f6c63430008090033
Deployed Bytecode
0x60806040526004361061019c5760003560e01c806370a08231116100ec578063c87b56dd1161008a578063d5abeb0111610064578063d5abeb0114610489578063e985e9c5146104be578063f2fde38b14610507578063fddf14791461052757600080fd5b8063c87b56dd1461041b578063d12397301461043b578063d596f1c01461045c57600080fd5b80638da5cb5b116100c65780638da5cb5b146103a857806395d89b41146103c6578063a22cb465146103db578063b88d4fde146103fb57600080fd5b806370a082311461035e578063715018a61461037e5780637d55094d1461039357600080fd5b806323b872dd11610159578063453c231011610133578063453c2310146102d657806355f804b3146103095780636352211e146103295780636c0360eb1461034957600080fd5b806323b872dd1461028e5780633ccfd60b146102ae57806342842e0e146102b657600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b3146102305780631249c58b1461025257806318160ddd14610267575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046113b5565b610547565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb610599565b6040516101cd919061142a565b34801561020457600080fd5b5061021861021336600461143d565b61062b565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611472565b61066f565b005b34801561025e57600080fd5b5061025061070f565b34801561027357600080fd5b5060015460005403600019015b6040519081526020016101cd565b34801561029a57600080fd5b506102506102a936600461149c565b61089e565b610250610a2f565b3480156102c257600080fd5b506102506102d136600461149c565b610a7e565b3480156102e257600080fd5b506008546102f790600160b01b900460ff1681565b60405160ff90911681526020016101cd565b34801561031557600080fd5b50610250610324366004611564565b610a9e565b34801561033557600080fd5b5061021861034436600461143d565b610abd565b34801561035557600080fd5b506101eb610ac8565b34801561036a57600080fd5b506102806103793660046115ad565b610b56565b34801561038a57600080fd5b50610250610ba5565b34801561039f57600080fd5b50610250610bb9565b3480156103b457600080fd5b506008546001600160a01b0316610218565b3480156103d257600080fd5b506101eb610be2565b3480156103e757600080fd5b506102506103f63660046115c8565b610bf1565b34801561040757600080fd5b50610250610416366004611604565b610c5d565b34801561042757600080fd5b506101eb61043636600461143d565b610ca7565b34801561044757600080fd5b506008546101c190600160b81b900460ff1681565b34801561046857600080fd5b506102806104773660046115ad565b600a6020526000908152604090205481565b34801561049557600080fd5b506008546104ab90600160a01b900461ffff1681565b60405161ffff90911681526020016101cd565b3480156104ca57600080fd5b506101c16104d9366004611680565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051357600080fd5b506102506105223660046115ad565b610d72565b34801561053357600080fd5b506102506105423660046116b3565b610de8565b60006301ffc9a760e01b6001600160e01b03198316148061057857506380ac58cd60e01b6001600160e01b03198316145b806105935750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105a8906116d7565b80601f01602080910402602001604051908101604052809291908181526020018280546105d4906116d7565b80156106215780601f106105f657610100808354040283529160200191610621565b820191906000526020600020905b81548152906001019060200180831161060457829003601f168201915b5050505050905090565b600061063682610e39565b610653576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061067a82610abd565b9050336001600160a01b038216146106b35761069681336104d9565b6106b3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600854600160b81b900460ff166107645760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b60448201526064015b60405180910390fd5b600854600160a01b810461ffff1690600160b01b900460ff166107906001546000546000199190030190565b61079a9190611728565b11156107e15760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161075b565b3332146107ed57600080fd5b600854336000908152600a6020526040902054600160b01b90910460ff16116108515760405162461bcd60e51b815260206004820152601660248201527513585e081c195c881dd85b1b195d081c995858da195960521b604482015260640161075b565b600854610869903390600160b01b900460ff16610e6e565b600854336000908152600a602052604081208054600160b01b90930460ff1692909190610897908490611728565b9091555050565b60006108a982610e88565b9050836001600160a01b0316816001600160a01b0316146108dc5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109295761090c86336104d9565b61092957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661095057604051633a954ecd60e21b815260040160405180910390fd5b801561095b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109e657600184016000818152600460205260409020546109e45760005481146109e45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a37610ef1565b6008546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f19350505050158015610a7b573d6000803e3d6000fd5b50565b610a9983838360405180602001604052806000815250610c5d565b505050565b610aa6610ef1565b8051610ab9906009906020840190611306565b5050565b600061059382610e88565b60098054610ad5906116d7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b01906116d7565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b505050505081565b60006001600160a01b038216610b7f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bad610ef1565b610bb76000610f4b565b565b610bc1610ef1565b6008805460ff60b81b198116600160b81b9182900460ff1615909102179055565b6060600380546105a8906116d7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c6884848461089e565b6001600160a01b0383163b15610ca157610c8484848484610f9d565b610ca1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610cb282610e39565b610d165760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161075b565b6000610d20611095565b90506000815111610d405760405180602001604052806000815250610d6b565b80610d4a846110a4565b604051602001610d5b929190611740565b6040516020818303038152906040525b9392505050565b610d7a610ef1565b6001600160a01b038116610ddf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161075b565b610a7b81610f4b565b610df0610ef1565b60085461ffff600160a01b9091048116908216610e166001546000546000199190030190565b610e209190611728565b1115610e2b57600080fd5b610a7b338261ffff16610e6e565b600081600111158015610e4d575060005482105b8015610593575050600090815260046020526040902054600160e01b161590565b610ab98282604051806020016040528060008152506111a2565b60008180600111610ed857600054811015610ed857600081815260046020526040902054600160e01b8116610ed6575b80610d6b575060001901600081815260046020526040902054610eb8565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bb75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161075b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610fd290339089908890889060040161177f565b602060405180830381600087803b158015610fec57600080fd5b505af192505050801561101c575060408051601f3d908101601f19168201909252611019918101906117bc565b60015b611077573d80801561104a576040519150601f19603f3d011682016040523d82523d6000602084013e61104f565b606091505b50805161106f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546105a8906116d7565b6060816110c85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110f257806110dc816117d9565b91506110eb9050600a8361180a565b91506110cc565b60008167ffffffffffffffff81111561110d5761110d6114d8565b6040519080825280601f01601f191660200182016040528015611137576020820181803683370190505b5090505b841561108d5761114c60018361181e565b9150611159600a86611835565b611164906030611728565b60f81b81838151811061117957611179611849565b60200101906001600160f81b031916908160001a90535061119b600a8661180a565b945061113b565b6111ac838361120f565b6001600160a01b0383163b15610a99576000548281035b6111d66000868380600101945086610f9d565b6111f3576040516368d2bf6b60e11b815260040160405180910390fd5b8181106111c357816000541461120857600080fd5b5050505050565b600054816112305760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146112df57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112a7565b50816112fd57604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611312906116d7565b90600052602060002090601f016020900481019282611334576000855561137a565b82601f1061134d57805160ff191683800117855561137a565b8280016001018555821561137a579182015b8281111561137a57825182559160200191906001019061135f565b5061138692915061138a565b5090565b5b80821115611386576000815560010161138b565b6001600160e01b031981168114610a7b57600080fd5b6000602082840312156113c757600080fd5b8135610d6b8161139f565b60005b838110156113ed5781810151838201526020016113d5565b83811115610ca15750506000910152565b600081518084526114168160208601602086016113d2565b601f01601f19169290920160200192915050565b602081526000610d6b60208301846113fe565b60006020828403121561144f57600080fd5b5035919050565b80356001600160a01b038116811461146d57600080fd5b919050565b6000806040838503121561148557600080fd5b61148e83611456565b946020939093013593505050565b6000806000606084860312156114b157600080fd5b6114ba84611456565b92506114c860208501611456565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611509576115096114d8565b604051601f8501601f19908116603f01168101908282118183101715611531576115316114d8565b8160405280935085815286868601111561154a57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561157657600080fd5b813567ffffffffffffffff81111561158d57600080fd5b8201601f8101841361159e57600080fd5b61108d848235602084016114ee565b6000602082840312156115bf57600080fd5b610d6b82611456565b600080604083850312156115db57600080fd5b6115e483611456565b9150602083013580151581146115f957600080fd5b809150509250929050565b6000806000806080858703121561161a57600080fd5b61162385611456565b935061163160208601611456565b925060408501359150606085013567ffffffffffffffff81111561165457600080fd5b8501601f8101871361166557600080fd5b611674878235602084016114ee565b91505092959194509250565b6000806040838503121561169357600080fd5b61169c83611456565b91506116aa60208401611456565b90509250929050565b6000602082840312156116c557600080fd5b813561ffff81168114610d6b57600080fd5b600181811c908216806116eb57607f821691505b6020821081141561170c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561173b5761173b611712565b500190565b600083516117528184602088016113d2565b8351908301906117668183602088016113d2565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117b2908301846113fe565b9695505050505050565b6000602082840312156117ce57600080fd5b8151610d6b8161139f565b60006000198214156117ed576117ed611712565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611819576118196117f4565b500490565b60008282101561183057611830611712565b500390565b600082611844576118446117f4565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c000b71cacc3f232bdc4c87354247a4f3850e1f8a22f48fc5e6ca26c842cbde664736f6c63430008090033
Deployed Bytecode Sourcemap
57357:1881:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24692:639;;;;;;;;;;-1:-1:-1;24692:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24692:639:0;;;;;;;;25594:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32077:218::-;;;;;;;;;;-1:-1:-1;32077:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;32077:218:0;1528:203:1;31518:400:0;;;;;;;;;;-1:-1:-1;31518:400:0;;;;;:::i;:::-;;:::i;:::-;;57743:399;;;;;;;;;;;;;:::i;21345:323::-;;;;;;;;;;-1:-1:-1;58632:1:0;21619:12;21406:7;21603:13;:28;-1:-1:-1;;21603:46:0;21345:323;;;2319:25:1;;;2307:2;2292:18;21345:323:0;2173:177:1;35716:2817:0;;;;;;;;;;-1:-1:-1;35716:2817:0;;;;;:::i;:::-;;:::i;59121:114::-;;;:::i;38629:185::-;;;;;;;;;;-1:-1:-1;38629:185:0;;;;;:::i;:::-;;:::i;57458:41::-;;;;;;;;;;-1:-1:-1;57458:41:0;;;;-1:-1:-1;;;57458:41:0;;;;;;;;;2860:4:1;2848:17;;;2830:36;;2818:2;2803:18;57458:41:0;2688:184:1;58438:98:0;;;;;;;;;;-1:-1:-1;58438:98:0;;;;;:::i;:::-;;:::i;26987:152::-;;;;;;;;;;-1:-1:-1;26987:152:0;;;;;:::i;:::-;;:::i;57540:48::-;;;;;;;;;;;;;:::i;22529:233::-;;;;;;;;;;-1:-1:-1;22529:233:0;;;;;:::i;:::-;;:::i;5466:103::-;;;;;;;;;;;;;:::i;59026:87::-;;;;;;;;;;;;;:::i;4818:::-;;;;;;;;;;-1:-1:-1;4891:6:0;;-1:-1:-1;;;;;4891:6:0;4818:87;;25770:104;;;;;;;;;;;;;:::i;32635:234::-;;;;;;;;;;-1:-1:-1;32635:234:0;;;;;:::i;:::-;;:::i;39412:399::-;;;;;;;;;;-1:-1:-1;39412:399:0;;;;;:::i;:::-;;:::i;58647:371::-;;;;;;;;;;-1:-1:-1;58647:371:0;;;;;:::i;:::-;;:::i;57506:27::-;;;;;;;;;;-1:-1:-1;57506:27:0;;;;-1:-1:-1;;;57506:27:0;;;;;;57595:48;;;;;;;;;;-1:-1:-1;57595:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;57407:43;;;;;;;;;;-1:-1:-1;57407:43:0;;;;-1:-1:-1;;;57407:43:0;;;;;;;;;5491:6:1;5479:19;;;5461:38;;5449:2;5434:18;57407:43:0;5317:188:1;33026:164:0;;;;;;;;;;-1:-1:-1;33026:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33147:25:0;;;33123:4;33147:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33026:164;5724:201;;;;;;;;;;-1:-1:-1;5724:201:0;;;;;:::i;:::-;;:::i;58150:163::-;;;;;;;;;;-1:-1:-1;58150:163:0;;;;;:::i;:::-;;:::i;24692:639::-;24777:4;-1:-1:-1;;;;;;;;;25101:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25178:25:0;;;25101:102;:179;;;-1:-1:-1;;;;;;;;;;25255:25:0;;;25101:179;25081:199;24692:639;-1:-1:-1;;24692:639:0:o;25594:100::-;25648:13;25681:5;25674:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25594:100;:::o;32077:218::-;32153:7;32178:16;32186:7;32178;:16::i;:::-;32173:64;;32203:34;;-1:-1:-1;;;32203:34:0;;;;;;;;;;;32173:64;-1:-1:-1;32257:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32257:30:0;;32077:218::o;31518:400::-;31599:13;31615:16;31623:7;31615;:16::i;:::-;31599:32;-1:-1:-1;55573:10:0;-1:-1:-1;;;;;31648:28:0;;;31644:175;;31696:44;31713:5;55573:10;33026:164;:::i;31696:44::-;31691:128;;31768:35;;-1:-1:-1;;;31768:35:0;;;;;;;;;;;31691:128;31831:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31831:35:0;-1:-1:-1;;;;;31831:35:0;;;;;;;;;31882:28;;31831:24;;31882:28;;;;;;;31588:330;31518:400;;:::o;57743:399::-;57787:11;;-1:-1:-1;;;57787:11:0;;;;57779:44;;;;-1:-1:-1;;;57779:44:0;;6639:2:1;57779:44:0;;;6621:21:1;6678:2;6658:18;;;6651:30;-1:-1:-1;;;6697:18:1;;;6690:50;6757:18;;57779:44:0;;;;;;;;;57874:9;;-1:-1:-1;;;57874:9:0;;;;;-1:-1:-1;;;57858:12:0;;;;57842:13;58632:1;21619:12;21406:7;21603:13;-1:-1:-1;;21603:28:0;;;:46;;21345:323;57842:13;:28;;;;:::i;:::-;:41;;57834:76;;;;-1:-1:-1;;;57834:76:0;;7253:2:1;57834:76:0;;;7235:21:1;7292:2;7272:18;;;7265:30;-1:-1:-1;;;7311:18:1;;;7304:52;7373:18;;57834:76:0;7051:346:1;57834:76:0;57929:10;57943:9;57929:23;57921:32;;;;;;57997:12;;57983:10;57969:25;;;;:13;:25;;;;;;-1:-1:-1;;;57997:12:0;;;;;-1:-1:-1;57961:75:0;;;;-1:-1:-1;;;57961:75:0;;7604:2:1;57961:75:0;;;7586:21:1;7643:2;7623:18;;;7616:30;-1:-1:-1;;;7662:18:1;;;7655:52;7724:18;;57961:75:0;7402:346:1;57961:75:0;58069:12;;58047:35;;58057:10;;-1:-1:-1;;;58069:12:0;;;;58047:9;:35::i;:::-;58122:12;;58107:10;58093:25;;;;:13;:25;;;;;:41;;-1:-1:-1;;;58122:12:0;;;;;;58093:25;;;:41;;58122:12;;58093:41;:::i;:::-;;;;-1:-1:-1;;57743:399:0:o;35716:2817::-;35850:27;35880;35899:7;35880:18;:27::i;:::-;35850:57;;35965:4;-1:-1:-1;;;;;35924:45:0;35940:19;-1:-1:-1;;;;;35924:45:0;;35920:86;;35978:28;;-1:-1:-1;;;35978:28:0;;;;;;;;;;;35920:86;36020:27;34824:24;;;:15;:24;;;;;35052:26;;55573:10;34449:30;;;-1:-1:-1;;;;;34142:28:0;;34427:20;;;34424:56;36206:180;;36299:43;36316:4;55573:10;33026:164;:::i;36299:43::-;36294:92;;36351:35;;-1:-1:-1;;;36351:35:0;;;;;;;;;;;36294:92;-1:-1:-1;;;;;36403:16:0;;36399:52;;36428:23;;-1:-1:-1;;;36428:23:0;;;;;;;;;;;36399:52;36600:15;36597:160;;;36740:1;36719:19;36712:30;36597:160;-1:-1:-1;;;;;37137:24:0;;;;;;;:18;:24;;;;;;37135:26;;-1:-1:-1;;37135:26:0;;;37206:22;;;;;;;;;37204:24;;-1:-1:-1;37204:24:0;;;30376:11;30351:23;30347:41;30334:63;-1:-1:-1;;;30334:63:0;37499:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;37794:47:0;;37790:627;;37899:1;37889:11;;37867:19;38022:30;;;:17;:30;;;;;;38018:384;;38160:13;;38145:11;:28;38141:242;;38307:30;;;;:17;:30;;;;;:52;;;38141:242;37848:569;37790:627;38464:7;38460:2;-1:-1:-1;;;;;38445:27:0;38454:4;-1:-1:-1;;;;;38445:27:0;;;;;;;;;;;35839:2694;;;35716:2817;;;:::o;59121:114::-;4704:13;:11;:13::i;:::-;4891:6;;-1:-1:-1;;;;;4891:6:0;59179:48:::1;::::0;-1:-1:-1;;;;;59179:25:0;;;::::1;::::0;59213:4:::1;59205:21;59179:48:::0;::::1;;;::::0;::::1;::::0;;;59205:21;59179:25;:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;59121:114::o:0;38629:185::-;38767:39;38784:4;38790:2;38794:7;38767:39;;;;;;;;;;;;:16;:39::i;:::-;38629:185;;;:::o;58438:98::-;4704:13;:11;:13::i;:::-;58510:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;58438:98:::0;:::o;26987:152::-;27059:7;27102:27;27121:7;27102:18;:27::i;57540:48::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22529:233::-;22601:7;-1:-1:-1;;;;;22625:19:0;;22621:60;;22653:28;;-1:-1:-1;;;22653:28:0;;;;;;;;;;;22621:60;-1:-1:-1;;;;;;22699:25:0;;;;;:18;:25;;;;;;16688:13;22699:55;;22529:233::o;5466:103::-;4704:13;:11;:13::i;:::-;5531:30:::1;5558:1;5531:18;:30::i;:::-;5466:103::o:0;59026:87::-;4704:13;:11;:13::i;:::-;59094:11:::1;::::0;;-1:-1:-1;;;;59079:26:0;::::1;-1:-1:-1::0;;;59094:11:0;;;::::1;;;59093:12;59079:26:::0;;::::1;;::::0;;59026:87::o;25770:104::-;25826:13;25859:7;25852:14;;;;;:::i;32635:234::-;55573:10;32730:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32730:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32730:60:0;;;;;;;;;;32806:55;;540:41:1;;;32730:49:0;;55573:10;32806:55;;513:18:1;32806:55:0;;;;;;;32635:234;;:::o;39412:399::-;39579:31;39592:4;39598:2;39602:7;39579:12;:31::i;:::-;-1:-1:-1;;;;;39625:14:0;;;:19;39621:183;;39664:56;39695:4;39701:2;39705:7;39714:5;39664:30;:56::i;:::-;39659:145;;39748:40;;-1:-1:-1;;;39748:40:0;;;;;;;;;;;39659:145;39412:399;;;;:::o;58647:371::-;58721:13;58751:17;58759:8;58751:7;:17::i;:::-;58743:77;;;;-1:-1:-1;;;58743:77:0;;7955:2:1;58743:77:0;;;7937:21:1;7994:2;7974:18;;;7967:30;8033:34;8013:18;;;8006:62;-1:-1:-1;;;8084:18:1;;;8077:45;8139:19;;58743:77:0;7753:411:1;58743:77:0;58829:28;58860:10;:8;:10::i;:::-;58829:41;;58915:1;58890:14;58884:28;:32;:128;;;;;;;;;;;;;;;;;58952:14;58968:19;:8;:17;:19::i;:::-;58935:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58884:128;58877:135;58647:371;-1:-1:-1;;;58647:371:0:o;5724:201::-;4704:13;:11;:13::i;:::-;-1:-1:-1;;;;;5813:22:0;::::1;5805:73;;;::::0;-1:-1:-1;;;5805:73:0;;9013:2:1;5805:73:0::1;::::0;::::1;8995:21:1::0;9052:2;9032:18;;;9025:30;9091:34;9071:18;;;9064:62;-1:-1:-1;;;9142:18:1;;;9135:36;9188:19;;5805:73:0::1;8811:402:1::0;5805:73:0::1;5889:28;5908:8;5889:18;:28::i;58150:163::-:0;4704:13;:11;:13::i;:::-;58253:9:::1;::::0;::::1;-1:-1:-1::0;;;58253:9:0;;::::1;::::0;::::1;::::0;58225:24;::::1;:13;58632:1:::0;21619:12;21406:7;21603:13;-1:-1:-1;;21603:28:0;;;:46;;21345:323;58225:13:::1;:24;;;;:::i;:::-;:37;;58217:46;;;::::0;::::1;;58274:31;58284:10;58296:8;58274:31;;:9;:31::i;33448:282::-:0;33513:4;33569:7;58632:1;33550:26;;:66;;;;;33603:13;;33593:7;:23;33550:66;:153;;;;-1:-1:-1;;33654:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33654:44:0;:49;;33448:282::o;49318:112::-;49395:27;49405:2;49409:8;49395:27;;;;;;;;;;;;:9;:27::i;28142:1275::-;28209:7;28244;;58632:1;28293:23;28289:1061;;28346:13;;28339:4;:20;28335:1015;;;28384:14;28401:23;;;:17;:23;;;;;;-1:-1:-1;;;28490:24:0;;28486:845;;29155:113;29162:11;29155:113;;-1:-1:-1;;;29233:6:0;29215:25;;;;:17;:25;;;;;;29155:113;;28486:845;28361:989;28335:1015;29378:31;;-1:-1:-1;;;29378:31:0;;;;;;;;;;;4983:132;4891:6;;-1:-1:-1;;;;;4891:6:0;55573:10;5047:23;5039:68;;;;-1:-1:-1;;;5039:68:0;;9420:2:1;5039:68:0;;;9402:21:1;;;9439:18;;;9432:30;9498:34;9478:18;;;9471:62;9550:18;;5039:68:0;9218:356:1;6085:191:0;6178:6;;;-1:-1:-1;;;;;6195:17:0;;;-1:-1:-1;;;;;;6195:17:0;;;;;;;6228:40;;6178:6;;;6195:17;6178:6;;6228:40;;6159:16;;6228:40;6148:128;6085:191;:::o;41895:716::-;42079:88;;-1:-1:-1;;;42079:88:0;;42058:4;;-1:-1:-1;;;;;42079:45:0;;;;;:88;;55573:10;;42146:4;;42152:7;;42161:5;;42079:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42079:88:0;;;;;;;;-1:-1:-1;;42079:88:0;;;;;;;;;;;;:::i;:::-;;;42075:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42362:13:0;;42358:235;;42408:40;;-1:-1:-1;;;42408:40:0;;;;;;;;;;;42358:235;42551:6;42545:13;42536:6;42532:2;42528:15;42521:38;42075:529;-1:-1:-1;;;;;;42238:64:0;-1:-1:-1;;;42238:64:0;;-1:-1:-1;42075:529:0;41895:716;;;;;;:::o;58322:108::-;58382:13;58415:7;58408:14;;;;;:::i;517:723::-;573:13;794:10;790:53;;-1:-1:-1;;821:10:0;;;;;;;;;;;;-1:-1:-1;;;821:10:0;;;;;517:723::o;790:53::-;868:5;853:12;909:78;916:9;;909:78;;942:8;;;;:::i;:::-;;-1:-1:-1;965:10:0;;-1:-1:-1;973:2:0;965:10;;:::i;:::-;;;909:78;;;997:19;1029:6;1019:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1019:17:0;;997:39;;1047:154;1054:10;;1047:154;;1081:11;1091:1;1081:11;;:::i;:::-;;-1:-1:-1;1150:10:0;1158:2;1150:5;:10;:::i;:::-;1137:24;;:2;:24;:::i;:::-;1124:39;;1107:6;1114;1107:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1107:56:0;;;;;;;;-1:-1:-1;1178:11:0;1187:2;1178:11;;:::i;:::-;;;1047:154;;48545:689;48676:19;48682:2;48686:8;48676:5;:19::i;:::-;-1:-1:-1;;;;;48737:14:0;;;:19;48733:483;;48777:11;48791:13;48839:14;;;48872:233;48903:62;48942:1;48946:2;48950:7;;;;;;48959:5;48903:30;:62::i;:::-;48898:167;;49001:40;;-1:-1:-1;;;49001:40:0;;;;;;;;;;;48898:167;49100:3;49092:5;:11;48872:233;;49187:3;49170:13;;:20;49166:34;;49192:8;;;49166:34;48758:458;;48545:689;;;:::o;43073:2720::-;43146:20;43169:13;43197;43193:44;;43219:18;;-1:-1:-1;;;43219:18:0;;;;;;;;;;;43193:44;-1:-1:-1;;;;;43725:22:0;;;;;;:18;:22;;;;16826:2;43725:22;;;:71;;43763:32;43751:45;;43725:71;;;44039:31;;;:17;:31;;;;;-1:-1:-1;30807:15:0;;30781:24;30777:46;30376:11;30351:23;30347:41;30344:52;30334:63;;44039:173;;44274:23;;;;44039:31;;43725:22;;45039:25;43725:22;;44892:335;45307:1;45293:12;45289:20;45247:346;45348:3;45339:7;45336:16;45247:346;;45566:7;45556:8;45553:1;45526:25;45523:1;45520;45515:59;45401:1;45388:15;45247:346;;;-1:-1:-1;45626:13:0;45622:45;;45648:19;;-1:-1:-1;;;45648:19:0;;;;;;;;;;;45622:45;45684:13;:19;-1:-1:-1;38629:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2877:127::-;2938:10;2933:3;2929:20;2926:1;2919:31;2969:4;2966:1;2959:15;2993:4;2990:1;2983:15;3009:632;3074:5;3104:18;3145:2;3137:6;3134:14;3131:40;;;3151:18;;:::i;:::-;3226:2;3220:9;3194:2;3280:15;;-1:-1:-1;;3276:24:1;;;3302:2;3272:33;3268:42;3256:55;;;3326:18;;;3346:22;;;3323:46;3320:72;;;3372:18;;:::i;:::-;3412:10;3408:2;3401:22;3441:6;3432:15;;3471:6;3463;3456:22;3511:3;3502:6;3497:3;3493:16;3490:25;3487:45;;;3528:1;3525;3518:12;3487:45;3578:6;3573:3;3566:4;3558:6;3554:17;3541:44;3633:1;3626:4;3617:6;3609;3605:19;3601:30;3594:41;;;;3009:632;;;;;:::o;3646:451::-;3715:6;3768:2;3756:9;3747:7;3743:23;3739:32;3736:52;;;3784:1;3781;3774:12;3736:52;3824:9;3811:23;3857:18;3849:6;3846:30;3843:50;;;3889:1;3886;3879:12;3843:50;3912:22;;3965:4;3957:13;;3953:27;-1:-1:-1;3943:55:1;;3994:1;3991;3984:12;3943:55;4017:74;4083:7;4078:2;4065:16;4060:2;4056;4052:11;4017:74;:::i;4102:186::-;4161:6;4214:2;4202:9;4193:7;4189:23;4185:32;4182:52;;;4230:1;4227;4220:12;4182:52;4253:29;4272:9;4253:29;:::i;4293:347::-;4358:6;4366;4419:2;4407:9;4398:7;4394:23;4390:32;4387:52;;;4435:1;4432;4425:12;4387:52;4458:29;4477:9;4458:29;:::i;:::-;4448:39;;4537:2;4526:9;4522:18;4509:32;4584:5;4577:13;4570:21;4563:5;4560:32;4550:60;;4606:1;4603;4596:12;4550:60;4629:5;4619:15;;;4293:347;;;;;:::o;4645:667::-;4740:6;4748;4756;4764;4817:3;4805:9;4796:7;4792:23;4788:33;4785:53;;;4834:1;4831;4824:12;4785:53;4857:29;4876:9;4857:29;:::i;:::-;4847:39;;4905:38;4939:2;4928:9;4924:18;4905:38;:::i;:::-;4895:48;;4990:2;4979:9;4975:18;4962:32;4952:42;;5045:2;5034:9;5030:18;5017:32;5072:18;5064:6;5061:30;5058:50;;;5104:1;5101;5094:12;5058:50;5127:22;;5180:4;5172:13;;5168:27;-1:-1:-1;5158:55:1;;5209:1;5206;5199:12;5158:55;5232:74;5298:7;5293:2;5280:16;5275:2;5271;5267:11;5232:74;:::i;:::-;5222:84;;;4645:667;;;;;;;:::o;5510:260::-;5578:6;5586;5639:2;5627:9;5618:7;5614:23;5610:32;5607:52;;;5655:1;5652;5645:12;5607:52;5678:29;5697:9;5678:29;:::i;:::-;5668:39;;5726:38;5760:2;5749:9;5745:18;5726:38;:::i;:::-;5716:48;;5510:260;;;;;:::o;5775:272::-;5833:6;5886:2;5874:9;5865:7;5861:23;5857:32;5854:52;;;5902:1;5899;5892:12;5854:52;5941:9;5928:23;5991:6;5984:5;5980:18;5973:5;5970:29;5960:57;;6013:1;6010;6003:12;6052:380;6131:1;6127:12;;;;6174;;;6195:61;;6249:4;6241:6;6237:17;6227:27;;6195:61;6302:2;6294:6;6291:14;6271:18;6268:38;6265:161;;;6348:10;6343:3;6339:20;6336:1;6329:31;6383:4;6380:1;6373:15;6411:4;6408:1;6401:15;6265:161;;6052:380;;;:::o;6786:127::-;6847:10;6842:3;6838:20;6835:1;6828:31;6878:4;6875:1;6868:15;6902:4;6899:1;6892:15;6918:128;6958:3;6989:1;6985:6;6982:1;6979:13;6976:39;;;6995:18;;:::i;:::-;-1:-1:-1;7031:9:1;;6918:128::o;8169:637::-;8449:3;8487:6;8481:13;8503:53;8549:6;8544:3;8537:4;8529:6;8525:17;8503:53;:::i;:::-;8619:13;;8578:16;;;;8641:57;8619:13;8578:16;8675:4;8663:17;;8641:57;:::i;:::-;-1:-1:-1;;;8720:20:1;;8749:22;;;8798:1;8787:13;;8169:637;-1:-1:-1;;;;8169:637:1:o;9579:489::-;-1:-1:-1;;;;;9848:15:1;;;9830:34;;9900:15;;9895:2;9880:18;;9873:43;9947:2;9932:18;;9925:34;;;9995:3;9990:2;9975:18;;9968:31;;;9773:4;;10016:46;;10042:19;;10034:6;10016:46;:::i;:::-;10008:54;9579:489;-1:-1:-1;;;;;;9579:489:1:o;10073:249::-;10142:6;10195:2;10183:9;10174:7;10170:23;10166:32;10163:52;;;10211:1;10208;10201:12;10163:52;10243:9;10237:16;10262:30;10286:5;10262:30;:::i;10327:135::-;10366:3;-1:-1:-1;;10387:17:1;;10384:43;;;10407:18;;:::i;:::-;-1:-1:-1;10454:1:1;10443:13;;10327:135::o;10467:127::-;10528:10;10523:3;10519:20;10516:1;10509:31;10559:4;10556:1;10549:15;10583:4;10580:1;10573:15;10599:120;10639:1;10665;10655:35;;10670:18;;:::i;:::-;-1:-1:-1;10704:9:1;;10599:120::o;10724:125::-;10764:4;10792:1;10789;10786:8;10783:34;;;10797:18;;:::i;:::-;-1:-1:-1;10834:9:1;;10724:125::o;10854:112::-;10886:1;10912;10902:35;;10917:18;;:::i;:::-;-1:-1:-1;10951:9:1;;10854:112::o;10971:127::-;11032:10;11027:3;11023:20;11020:1;11013:31;11063:4;11060:1;11053:15;11087:4;11084:1;11077:15
Swarm Source
ipfs://c000b71cacc3f232bdc4c87354247a4f3850e1f8a22f48fc5e6ca26c842cbde6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.