Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
209 BACON
Holders
133
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BACONLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JUSTBACON
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-22 */ // SPDX-License-Identifier: MIT // File: contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/JustBacon.sol pragma solidity ^0.8.2; contract JUSTBACON is ERC721A, Ownable { string baseURI; uint public price = 0.0015 ether; uint public maxFreeMintPerWallet = 1; uint public MAX_SUPPLY = 888; uint public FREE_SUPPLY = 111; bool public active = false; mapping(address => uint) public addressToFreeMinted; constructor() ERC721A("Just Bacon", "BACON") { } function freeMint() external mintCompliance() { require(addressToFreeMinted[msg.sender] < maxFreeMintPerWallet, "You already minted for free"); require(FREE_SUPPLY>=totalSupply(), "FREE SUPPLY FINISHED"); addressToFreeMinted[msg.sender]++; _safeMint(msg.sender, 1); } function mint(uint quantity) external payable mintCompliance() { require(msg.value >= price * quantity, "ether send is under price"); _safeMint(msg.sender, quantity); } function setBaseURI(string calldata ipfsLink) external onlyOwner { baseURI = ipfsLink; } function _baseURI() internal view override returns (string memory) { return baseURI; } function ActiveContract() public onlyOwner { active = !active; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId),".json")) : ''; } function withdrawAll() external onlyOwner { require(payable(msg.sender).send(address(this).balance)); } modifier mintCompliance() { require(active, "Sale is not active yet."); require(tx.origin == msg.sender, "Caller cannot be a contract."); require(totalSupply()<MAX_SUPPLY, "SOLD OUT"); _; } }
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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ActiveContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToFreeMinted","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":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"ipfsLink","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":[{"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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526605543df729c000600a556001600b55610378600c55606f600d55600e805460ff191690553480156200003657600080fd5b50604080518082018252600a815269253ab9ba102130b1b7b760b11b6020808301918252835180850190945260058452642120a1a7a760d91b908401528151919291620000869160029162000106565b5080516200009c90600390602084019062000106565b50506000805550620000ae33620000b4565b620001e9565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011490620001ac565b90600052602060002090601f01602090048101928262000138576000855562000183565b82601f106200015357805160ff191683800117855562000183565b8280016001018555821562000183579182015b828111156200018357825182559160200191906001019062000166565b506200019192915062000195565b5090565b5b8082111562000191576000815560010162000196565b600181811c90821680620001c157607f821691505b60208210811415620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b61187280620001f96000396000f3fe6080604052600436106101b75760003560e01c80637fc46189116100ec578063a0712d681161008a578063b88d4fde11610064578063b88d4fde14610489578063c87b56dd146104a9578063e985e9c5146104c9578063f2fde38b1461051257600080fd5b8063a0712d6814610441578063a22cb46514610454578063b6aa216c1461047457600080fd5b80638da5cb5b116100c65780638da5cb5b146103e257806395d89b41146104005780639858cf1914610415578063a035b1fe1461042b57600080fd5b80637fc461891461038a578063845bb3bb146103b7578063853828b6146103cd57600080fd5b806332cb6b0c116101595780635b70ea9f116101335780635b70ea9f146103205780636352211e1461033557806370a0823114610355578063715018a61461037557600080fd5b806332cb6b0c146102ca57806342842e0e146102e057806355f804b31461030057600080fd5b8063081812fc11610195578063081812fc1461022d578063095ea7b31461026557806318160ddd1461028757806323b872dd146102aa57600080fd5b806301ffc9a7146101bc57806302fb0c5e146101f157806306fdde031461020b575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611541565b610532565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50600e546101dc9060ff1681565b34801561021757600080fd5b50610220610584565b6040516101e89190611746565b34801561023957600080fd5b5061024d6102483660046115ed565b610616565b6040516001600160a01b0390911681526020016101e8565b34801561027157600080fd5b50610285610280366004611517565b61065a565b005b34801561029357600080fd5b50600154600054035b6040519081526020016101e8565b3480156102b657600080fd5b506102856102c53660046113c3565b61072d565b3480156102d657600080fd5b5061029c600c5481565b3480156102ec57600080fd5b506102856102fb3660046113c3565b61073d565b34801561030c57600080fd5b5061028561031b36600461157b565b610758565b34801561032c57600080fd5b5061028561076c565b34801561034157600080fd5b5061024d6103503660046115ed565b61092a565b34801561036157600080fd5b5061029c610370366004611375565b610935565b34801561038157600080fd5b50610285610984565b34801561039657600080fd5b5061029c6103a5366004611375565b600f6020526000908152604090205481565b3480156103c357600080fd5b5061029c600b5481565b3480156103d957600080fd5b50610285610996565b3480156103ee57600080fd5b506008546001600160a01b031661024d565b34801561040c57600080fd5b506102206109c2565b34801561042157600080fd5b5061029c600d5481565b34801561043757600080fd5b5061029c600a5481565b61028561044f3660046115ed565b6109d1565b34801561046057600080fd5b5061028561046f3660046114db565b610b18565b34801561048057600080fd5b50610285610bae565b34801561049557600080fd5b506102856104a43660046113ff565b610bca565b3480156104b557600080fd5b506102206104c43660046115ed565b610c14565b3480156104d557600080fd5b506101dc6104e4366004611390565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051e57600080fd5b5061028561052d366004611375565b610c97565b60006301ffc9a760e01b6001600160e01b03198316148061056357506380ac58cd60e01b6001600160e01b03198316145b8061057e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610593906117a4565b80601f01602080910402602001604051908101604052809291908181526020018280546105bf906117a4565b801561060c5780601f106105e15761010080835404028352916020019161060c565b820191906000526020600020905b8154815290600101906020018083116105ef57829003601f168201915b5050505050905090565b600061062182610d0d565b61063e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061066582610d34565b9050806001600160a01b0316836001600160a01b0316141561069a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146106d1576106b481336104e4565b6106d1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610738838383610d9c565b505050565b61073883838360405180602001604052806000815250610bca565b610760610f3f565b610738600983836112c0565b600e5460ff166107bd5760405162461bcd60e51b815260206004820152601760248201527629b0b6329034b9903737ba1030b1ba34bb32903cb2ba1760491b60448201526064015b60405180910390fd5b32331461080c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163742e0000000060448201526064016107b4565b600c54600154600054031061084e5760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016107b4565b600b54336000908152600f6020526040902054106108ae5760405162461bcd60e51b815260206004820152601b60248201527f596f7520616c7265616479206d696e74656420666f722066726565000000000060448201526064016107b4565b60015460005403600d5410156108fd5760405162461bcd60e51b8152602060048201526014602482015273119491514814d554141316481192539254d2115160621b60448201526064016107b4565b336000908152600f60205260408120805491610918836117df565b9190505550610928336001610f99565b565b600061057e82610d34565b60006001600160a01b03821661095e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61098c610f3f565b6109286000610fb7565b61099e610f3f565b60405133904780156108fc02916000818181858888f1935050505061092857600080fd5b606060038054610593906117a4565b600e5460ff16610a1d5760405162461bcd60e51b815260206004820152601760248201527629b0b6329034b9903737ba1030b1ba34bb32903cb2ba1760491b60448201526064016107b4565b323314610a6c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163742e0000000060448201526064016107b4565b600c546001546000540310610aae5760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016107b4565b80600a54610abc9190611759565b341015610b0b5760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e6420697320756e6465722070726963650000000000000060448201526064016107b4565b610b153382610f99565b50565b6001600160a01b038216331415610b425760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bb6610f3f565b600e805460ff19811660ff90911615179055565b610bd5848484610d9c565b6001600160a01b0383163b15610c0e57610bf184848484611009565b610c0e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610c1f82610d0d565b610c3c57604051630a14c4b560e41b815260040160405180910390fd5b60098054610c49906117a4565b15159050610c66576040518060200160405280600081525061057e565b6009610c7183611100565b604051602001610c8292919061164e565b60405160208183030381529060405292915050565b610c9f610f3f565b6001600160a01b038116610d045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b4565b610b1581610fb7565b600080548210801561057e575050600090815260046020526040902054600160e01b161590565b600081600054811015610d8357600081815260046020526040902054600160e01b8116610d81575b80610d7a575060001901600081815260046020526040902054610d5c565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610da782610d34565b9050836001600160a01b0316816001600160a01b031614610dda5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610df85750610df885336104e4565b80610e13575033610e0884610616565b6001600160a01b0316145b905080610e3357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610e5a57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610ef75760018301600081815260046020526040902054610ef5576000548114610ef55760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6008546001600160a01b031633146109285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107b4565b610fb382826040518060200160405280600081525061114f565b5050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061103e903390899088908890600401611709565b602060405180830381600087803b15801561105857600080fd5b505af1925050508015611088575060408051601f3d908101601f191682019092526110859181019061155e565b60015b6110e3573d8080156110b6576040519150601f19603f3d011682016040523d82523d6000602084013e6110bb565b606091505b5080516110db576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561113d57600183039250600a81066030018353600a900461111f565b50819003601f19909101908152919050565b6000546001600160a01b03841661117857604051622e076360e81b815260040160405180910390fd5b826111965760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561126b575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46112346000878480600101955087611009565b611251576040516368d2bf6b60e11b815260040160405180910390fd5b8082106111e957826000541461126657600080fd5b6112b0565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061126c575b506000908155610c0e9085838684565b8280546112cc906117a4565b90600052602060002090601f0160209004810192826112ee5760008555611334565b82601f106113075782800160ff19823516178555611334565b82800160010185558215611334579182015b82811115611334578235825591602001919060010190611319565b50611340929150611344565b5090565b5b808211156113405760008155600101611345565b80356001600160a01b038116811461137057600080fd5b919050565b60006020828403121561138757600080fd5b610d7a82611359565b600080604083850312156113a357600080fd5b6113ac83611359565b91506113ba60208401611359565b90509250929050565b6000806000606084860312156113d857600080fd5b6113e184611359565b92506113ef60208501611359565b9150604084013590509250925092565b6000806000806080858703121561141557600080fd5b61141e85611359565b935061142c60208601611359565b925060408501359150606085013567ffffffffffffffff8082111561145057600080fd5b818701915087601f83011261146457600080fd5b81358181111561147657611476611810565b604051601f8201601f19908116603f0116810190838211818310171561149e5761149e611810565b816040528281528a60208487010111156114b757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114ee57600080fd5b6114f783611359565b91506020830135801515811461150c57600080fd5b809150509250929050565b6000806040838503121561152a57600080fd5b61153383611359565b946020939093013593505050565b60006020828403121561155357600080fd5b8135610d7a81611826565b60006020828403121561157057600080fd5b8151610d7a81611826565b6000806020838503121561158e57600080fd5b823567ffffffffffffffff808211156115a657600080fd5b818501915085601f8301126115ba57600080fd5b8135818111156115c957600080fd5b8660208285010111156115db57600080fd5b60209290920196919550909350505050565b6000602082840312156115ff57600080fd5b5035919050565b6000815180845261161e816020860160208601611778565b601f01601f19169290920160200192915050565b60008151611644818560208601611778565b9290920192915050565b600080845481600182811c91508083168061166a57607f831692505b602080841082141561168a57634e487b7160e01b86526022600452602486fd5b81801561169e57600181146116af576116dc565b60ff198616895284890196506116dc565b60008b81526020902060005b868110156116d45781548b8201529085019083016116bb565b505084890196505b5050505050506117006116ef8286611632565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061173c90830184611606565b9695505050505050565b602081526000610d7a6020830184611606565b6000816000190483118215151615611773576117736117fa565b500290565b60005b8381101561179357818101518382015260200161177b565b83811115610c0e5750506000910152565b600181811c908216806117b857607f821691505b602082108114156117d957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156117f3576117f36117fa565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b1557600080fdfea2646970667358221220250943817211d717a33481ef98942e7657250575def924ba532a47344eb6760164736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101b75760003560e01c80637fc46189116100ec578063a0712d681161008a578063b88d4fde11610064578063b88d4fde14610489578063c87b56dd146104a9578063e985e9c5146104c9578063f2fde38b1461051257600080fd5b8063a0712d6814610441578063a22cb46514610454578063b6aa216c1461047457600080fd5b80638da5cb5b116100c65780638da5cb5b146103e257806395d89b41146104005780639858cf1914610415578063a035b1fe1461042b57600080fd5b80637fc461891461038a578063845bb3bb146103b7578063853828b6146103cd57600080fd5b806332cb6b0c116101595780635b70ea9f116101335780635b70ea9f146103205780636352211e1461033557806370a0823114610355578063715018a61461037557600080fd5b806332cb6b0c146102ca57806342842e0e146102e057806355f804b31461030057600080fd5b8063081812fc11610195578063081812fc1461022d578063095ea7b31461026557806318160ddd1461028757806323b872dd146102aa57600080fd5b806301ffc9a7146101bc57806302fb0c5e146101f157806306fdde031461020b575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611541565b610532565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50600e546101dc9060ff1681565b34801561021757600080fd5b50610220610584565b6040516101e89190611746565b34801561023957600080fd5b5061024d6102483660046115ed565b610616565b6040516001600160a01b0390911681526020016101e8565b34801561027157600080fd5b50610285610280366004611517565b61065a565b005b34801561029357600080fd5b50600154600054035b6040519081526020016101e8565b3480156102b657600080fd5b506102856102c53660046113c3565b61072d565b3480156102d657600080fd5b5061029c600c5481565b3480156102ec57600080fd5b506102856102fb3660046113c3565b61073d565b34801561030c57600080fd5b5061028561031b36600461157b565b610758565b34801561032c57600080fd5b5061028561076c565b34801561034157600080fd5b5061024d6103503660046115ed565b61092a565b34801561036157600080fd5b5061029c610370366004611375565b610935565b34801561038157600080fd5b50610285610984565b34801561039657600080fd5b5061029c6103a5366004611375565b600f6020526000908152604090205481565b3480156103c357600080fd5b5061029c600b5481565b3480156103d957600080fd5b50610285610996565b3480156103ee57600080fd5b506008546001600160a01b031661024d565b34801561040c57600080fd5b506102206109c2565b34801561042157600080fd5b5061029c600d5481565b34801561043757600080fd5b5061029c600a5481565b61028561044f3660046115ed565b6109d1565b34801561046057600080fd5b5061028561046f3660046114db565b610b18565b34801561048057600080fd5b50610285610bae565b34801561049557600080fd5b506102856104a43660046113ff565b610bca565b3480156104b557600080fd5b506102206104c43660046115ed565b610c14565b3480156104d557600080fd5b506101dc6104e4366004611390565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051e57600080fd5b5061028561052d366004611375565b610c97565b60006301ffc9a760e01b6001600160e01b03198316148061056357506380ac58cd60e01b6001600160e01b03198316145b8061057e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610593906117a4565b80601f01602080910402602001604051908101604052809291908181526020018280546105bf906117a4565b801561060c5780601f106105e15761010080835404028352916020019161060c565b820191906000526020600020905b8154815290600101906020018083116105ef57829003601f168201915b5050505050905090565b600061062182610d0d565b61063e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061066582610d34565b9050806001600160a01b0316836001600160a01b0316141561069a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146106d1576106b481336104e4565b6106d1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610738838383610d9c565b505050565b61073883838360405180602001604052806000815250610bca565b610760610f3f565b610738600983836112c0565b600e5460ff166107bd5760405162461bcd60e51b815260206004820152601760248201527629b0b6329034b9903737ba1030b1ba34bb32903cb2ba1760491b60448201526064015b60405180910390fd5b32331461080c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163742e0000000060448201526064016107b4565b600c54600154600054031061084e5760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016107b4565b600b54336000908152600f6020526040902054106108ae5760405162461bcd60e51b815260206004820152601b60248201527f596f7520616c7265616479206d696e74656420666f722066726565000000000060448201526064016107b4565b60015460005403600d5410156108fd5760405162461bcd60e51b8152602060048201526014602482015273119491514814d554141316481192539254d2115160621b60448201526064016107b4565b336000908152600f60205260408120805491610918836117df565b9190505550610928336001610f99565b565b600061057e82610d34565b60006001600160a01b03821661095e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61098c610f3f565b6109286000610fb7565b61099e610f3f565b60405133904780156108fc02916000818181858888f1935050505061092857600080fd5b606060038054610593906117a4565b600e5460ff16610a1d5760405162461bcd60e51b815260206004820152601760248201527629b0b6329034b9903737ba1030b1ba34bb32903cb2ba1760491b60448201526064016107b4565b323314610a6c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163742e0000000060448201526064016107b4565b600c546001546000540310610aae5760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016107b4565b80600a54610abc9190611759565b341015610b0b5760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e6420697320756e6465722070726963650000000000000060448201526064016107b4565b610b153382610f99565b50565b6001600160a01b038216331415610b425760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bb6610f3f565b600e805460ff19811660ff90911615179055565b610bd5848484610d9c565b6001600160a01b0383163b15610c0e57610bf184848484611009565b610c0e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610c1f82610d0d565b610c3c57604051630a14c4b560e41b815260040160405180910390fd5b60098054610c49906117a4565b15159050610c66576040518060200160405280600081525061057e565b6009610c7183611100565b604051602001610c8292919061164e565b60405160208183030381529060405292915050565b610c9f610f3f565b6001600160a01b038116610d045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b4565b610b1581610fb7565b600080548210801561057e575050600090815260046020526040902054600160e01b161590565b600081600054811015610d8357600081815260046020526040902054600160e01b8116610d81575b80610d7a575060001901600081815260046020526040902054610d5c565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610da782610d34565b9050836001600160a01b0316816001600160a01b031614610dda5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610df85750610df885336104e4565b80610e13575033610e0884610616565b6001600160a01b0316145b905080610e3357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610e5a57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610ef75760018301600081815260046020526040902054610ef5576000548114610ef55760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6008546001600160a01b031633146109285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107b4565b610fb382826040518060200160405280600081525061114f565b5050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061103e903390899088908890600401611709565b602060405180830381600087803b15801561105857600080fd5b505af1925050508015611088575060408051601f3d908101601f191682019092526110859181019061155e565b60015b6110e3573d8080156110b6576040519150601f19603f3d011682016040523d82523d6000602084013e6110bb565b606091505b5080516110db576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561113d57600183039250600a81066030018353600a900461111f565b50819003601f19909101908152919050565b6000546001600160a01b03841661117857604051622e076360e81b815260040160405180910390fd5b826111965760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561126b575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46112346000878480600101955087611009565b611251576040516368d2bf6b60e11b815260040160405180910390fd5b8082106111e957826000541461126657600080fd5b6112b0565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061126c575b506000908155610c0e9085838684565b8280546112cc906117a4565b90600052602060002090601f0160209004810192826112ee5760008555611334565b82601f106113075782800160ff19823516178555611334565b82800160010185558215611334579182015b82811115611334578235825591602001919060010190611319565b50611340929150611344565b5090565b5b808211156113405760008155600101611345565b80356001600160a01b038116811461137057600080fd5b919050565b60006020828403121561138757600080fd5b610d7a82611359565b600080604083850312156113a357600080fd5b6113ac83611359565b91506113ba60208401611359565b90509250929050565b6000806000606084860312156113d857600080fd5b6113e184611359565b92506113ef60208501611359565b9150604084013590509250925092565b6000806000806080858703121561141557600080fd5b61141e85611359565b935061142c60208601611359565b925060408501359150606085013567ffffffffffffffff8082111561145057600080fd5b818701915087601f83011261146457600080fd5b81358181111561147657611476611810565b604051601f8201601f19908116603f0116810190838211818310171561149e5761149e611810565b816040528281528a60208487010111156114b757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114ee57600080fd5b6114f783611359565b91506020830135801515811461150c57600080fd5b809150509250929050565b6000806040838503121561152a57600080fd5b61153383611359565b946020939093013593505050565b60006020828403121561155357600080fd5b8135610d7a81611826565b60006020828403121561157057600080fd5b8151610d7a81611826565b6000806020838503121561158e57600080fd5b823567ffffffffffffffff808211156115a657600080fd5b818501915085601f8301126115ba57600080fd5b8135818111156115c957600080fd5b8660208285010111156115db57600080fd5b60209290920196919550909350505050565b6000602082840312156115ff57600080fd5b5035919050565b6000815180845261161e816020860160208601611778565b601f01601f19169290920160200192915050565b60008151611644818560208601611778565b9290920192915050565b600080845481600182811c91508083168061166a57607f831692505b602080841082141561168a57634e487b7160e01b86526022600452602486fd5b81801561169e57600181146116af576116dc565b60ff198616895284890196506116dc565b60008b81526020902060005b868110156116d45781548b8201529085019083016116bb565b505084890196505b5050505050506117006116ef8286611632565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061173c90830184611606565b9695505050505050565b602081526000610d7a6020830184611606565b6000816000190483118215151615611773576117736117fa565b500290565b60005b8381101561179357818101518382015260200161177b565b83811115610c0e5750506000910152565b600181811c908216806117b857607f821691505b602082108114156117d957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156117f3576117f36117fa565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b1557600080fdfea2646970667358221220250943817211d717a33481ef98942e7657250575def924ba532a47344eb6760164736f6c63430008070033
Deployed Bytecode Sourcemap
42026:1903:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13092:615;;;;;;;;;;-1:-1:-1;13092:615:0;;;;;:::i;:::-;;:::i;:::-;;;6763:14:1;;6756:22;6738:41;;6726:2;6711:18;13092:615:0;;;;;;;;42254:26;;;;;;;;;;-1:-1:-1;42254:26:0;;;;;;;;18105:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20173:204::-;;;;;;;;;;-1:-1:-1;20173:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6061:32:1;;;6043:51;;6031:2;6016:18;20173:204:0;5897:203:1;19633:474:0;;;;;;;;;;-1:-1:-1;19633:474:0;;;;;:::i;:::-;;:::i;:::-;;12146:315;;;;;;;;;;-1:-1:-1;12412:12:0;;12199:7;12396:13;:28;12146:315;;;10032:25:1;;;10020:2;10005:18;12146:315:0;9886:177:1;21063:170:0;;;;;;;;;;-1:-1:-1;21063:170:0;;;;;:::i;:::-;;:::i;42183:28::-;;;;;;;;;;;;;;;;21304:185;;;;;;;;;;-1:-1:-1;21304:185:0;;;;;:::i;:::-;;:::i;42960:102::-;;;;;;;;;;-1:-1:-1;42960:102:0;;;;;:::i;:::-;;:::i;42420:320::-;;;;;;;;;;;;;:::i;17894:144::-;;;;;;;;;;-1:-1:-1;17894:144:0;;;;;:::i;:::-;;:::i;13771:224::-;;;;;;;;;;-1:-1:-1;13771:224:0;;;;;:::i;:::-;;:::i;41144:103::-;;;;;;;;;;;;;:::i;42293:51::-;;;;;;;;;;-1:-1:-1;42293:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;42140:36;;;;;;;;;;;;;;;;43570:117;;;;;;;;;;;;;:::i;40496:87::-;;;;;;;;;;-1:-1:-1;40569:6:0;;-1:-1:-1;;;;;40569:6:0;40496:87;;18274:104;;;;;;;;;;;;;:::i;42218:29::-;;;;;;;;;;;;;;;;42101:32;;;;;;;;;;;;;;;;42752:191;;;;;;:::i;:::-;;:::i;20449:312::-;;;;;;;;;;-1:-1:-1;20449:312:0;;;;;:::i;:::-;;:::i;43189:78::-;;;;;;;;;;;;;:::i;21560:396::-;;;;;;;;;;-1:-1:-1;21560:396:0;;;;;:::i;:::-;;:::i;43279:279::-;;;;;;;;;;-1:-1:-1;43279:279:0;;;;;:::i;:::-;;:::i;20832:164::-;;;;;;;;;;-1:-1:-1;20832:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;20953:25:0;;;20929:4;20953:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20832:164;41402:201;;;;;;;;;;-1:-1:-1;41402:201:0;;;;;:::i;:::-;;:::i;13092:615::-;13177:4;-1:-1:-1;;;;;;;;;13477:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13554:25:0;;;13477:102;:179;;;-1:-1:-1;;;;;;;;;;13631:25:0;;;13477:179;13457:199;13092:615;-1:-1:-1;;13092:615:0:o;18105:100::-;18159:13;18192:5;18185:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18105:100;:::o;20173:204::-;20241:7;20266:16;20274:7;20266;:16::i;:::-;20261:64;;20291:34;;-1:-1:-1;;;20291:34:0;;;;;;;;;;;20261:64;-1:-1:-1;20345:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20345:24:0;;20173:204::o;19633:474::-;19706:13;19738:27;19757:7;19738:18;:27::i;:::-;19706:61;;19788:5;-1:-1:-1;;;;;19782:11:0;:2;-1:-1:-1;;;;;19782:11:0;;19778:48;;;19802:24;;-1:-1:-1;;;19802:24:0;;;;;;;;;;;19778:48;36280:10;-1:-1:-1;;;;;19843:28:0;;;19839:175;;19891:44;19908:5;36280:10;20832:164;:::i;19891:44::-;19886:128;;19963:35;;-1:-1:-1;;;19963:35:0;;;;;;;;;;;19886:128;20026:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20026:29:0;-1:-1:-1;;;;;20026:29:0;;;;;;;;;20071:28;;20026:24;;20071:28;;;;;;;19695:412;19633:474;;:::o;21063:170::-;21197:28;21207:4;21213:2;21217:7;21197:9;:28::i;:::-;21063:170;;;:::o;21304:185::-;21442:39;21459:4;21465:2;21469:7;21442:39;;;;;;;;;;;;:16;:39::i;42960:102::-;40382:13;:11;:13::i;:::-;43036:18:::1;:7;43046:8:::0;;43036:18:::1;:::i;42420:320::-:0;43741:6;;;;43733:42;;;;-1:-1:-1;;;43733:42:0;;8316:2:1;43733:42:0;;;8298:21:1;8355:2;8335:18;;;8328:30;-1:-1:-1;;;8374:18:1;;;8367:53;8437:18;;43733:42:0;;;;;;;;;43794:9;43807:10;43794:23;43786:64;;;;-1:-1:-1;;;43786:64:0;;7959:2:1;43786:64:0;;;7941:21:1;7998:2;7978:18;;;7971:30;8037;8017:18;;;8010:58;8085:18;;43786:64:0;7757:352:1;43786:64:0;43883:10;;12412:12;;12199:7;12396:13;:28;43869:24;43861:45;;;;-1:-1:-1;;;43861:45:0;;7216:2:1;43861:45:0;;;7198:21:1;7255:1;7235:18;;;7228:29;-1:-1:-1;;;7273:18:1;;;7266:38;7321:18;;43861:45:0;7014:331:1;43861:45:0;42521:20:::1;::::0;42507:10:::1;42487:31;::::0;;;:19:::1;:31;::::0;;;;;:54:::1;42479:94;;;::::0;-1:-1:-1;;;42479:94:0;;9732:2:1;42479:94:0::1;::::0;::::1;9714:21:1::0;9771:2;9751:18;;;9744:30;9810:29;9790:18;;;9783:57;9857:18;;42479:94:0::1;9530:351:1::0;42479:94:0::1;12412:12:::0;;12199:7;12396:13;:28;42592:11:::1;;:26;;42584:59;;;::::0;-1:-1:-1;;;42584:59:0;;9022:2:1;42584:59:0::1;::::0;::::1;9004:21:1::0;9061:2;9041:18;;;9034:30;-1:-1:-1;;;9080:18:1;;;9073:50;9140:18;;42584:59:0::1;8820:344:1::0;42584:59:0::1;42674:10;42654:31;::::0;;;:19:::1;:31;::::0;;;;:33;;;::::1;::::0;::::1;:::i;:::-;;;;;;42698:24;42708:10;42720:1;42698:9;:24::i;:::-;42420:320::o:0;17894:144::-;17958:7;18001:27;18020:7;18001:18;:27::i;13771:224::-;13835:7;-1:-1:-1;;;;;13859:19:0;;13855:60;;13887:28;;-1:-1:-1;;;13887:28:0;;;;;;;;;;;13855:60;-1:-1:-1;;;;;;13933:25:0;;;;;:18;:25;;;;;;9110:13;13933:54;;13771:224::o;41144:103::-;40382:13;:11;:13::i;:::-;41209:30:::1;41236:1;41209:18;:30::i;43570:117::-:0;40382:13;:11;:13::i;:::-;43631:47:::1;::::0;43639:10:::1;::::0;43656:21:::1;43631:47:::0;::::1;;;::::0;::::1;::::0;;;43656:21;43639:10;43631:47;::::1;;;;;;43623:56;;;::::0;::::1;18274:104:::0;18330:13;18363:7;18356:14;;;;;:::i;42752:191::-;43741:6;;;;43733:42;;;;-1:-1:-1;;;43733:42:0;;8316:2:1;43733:42:0;;;8298:21:1;8355:2;8335:18;;;8328:30;-1:-1:-1;;;8374:18:1;;;8367:53;8437:18;;43733:42:0;8114:347:1;43733:42:0;43794:9;43807:10;43794:23;43786:64;;;;-1:-1:-1;;;43786:64:0;;7959:2:1;43786:64:0;;;7941:21:1;7998:2;7978:18;;;7971:30;8037;8017:18;;;8010:58;8085:18;;43786:64:0;7757:352:1;43786:64:0;43883:10;;12412:12;;12199:7;12396:13;:28;43869:24;43861:45;;;;-1:-1:-1;;;43861:45:0;;7216:2:1;43861:45:0;;;7198:21:1;7255:1;7235:18;;;7228:29;-1:-1:-1;;;7273:18:1;;;7266:38;7321:18;;43861:45:0;7014:331:1;43861:45:0;42855:8:::1;42847:5;;:16;;;;:::i;:::-;42834:9;:29;;42826:67;;;::::0;-1:-1:-1;;;42826:67:0;;8668:2:1;42826:67:0::1;::::0;::::1;8650:21:1::0;8707:2;8687:18;;;8680:30;8746:27;8726:18;;;8719:55;8791:18;;42826:67:0::1;8466:349:1::0;42826:67:0::1;42904:31;42914:10;42926:8;42904:9;:31::i;:::-;42752:191:::0;:::o;20449:312::-;-1:-1:-1;;;;;20552:31:0;;36280:10;20552:31;20548:61;;;20592:17;;-1:-1:-1;;;20592:17:0;;;;;;;;;;;20548:61;36280:10;20622:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20622:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20622:60:0;;;;;;;;;;20698:55;;6738:41:1;;;20622:49:0;;36280:10;20698:55;;6711:18:1;20698:55:0;;;;;;;20449:312;;:::o;43189:78::-;40382:13;:11;:13::i;:::-;43253:6:::1;::::0;;-1:-1:-1;;43243:16:0;::::1;43253:6;::::0;;::::1;43252:7;43243:16;::::0;;43189:78::o;21560:396::-;21727:28;21737:4;21743:2;21747:7;21727:9;:28::i;:::-;-1:-1:-1;;;;;21770:14:0;;;:19;21766:183;;21809:56;21840:4;21846:2;21850:7;21859:5;21809:30;:56::i;:::-;21804:145;;21893:40;;-1:-1:-1;;;21893:40:0;;;;;;;;;;;21804:145;21560:396;;;;:::o;43279:279::-;43352:13;43383:16;43391:7;43383;:16::i;:::-;43378:59;;43408:29;;-1:-1:-1;;;43408:29:0;;;;;;;;;;;43378:59;43461:7;43455:21;;;;;:::i;:::-;:26;;;-1:-1:-1;43455:95:0;;;;;;;;;;;;;;;;;43508:7;43517:18;43527:7;43517:9;:18::i;:::-;43491:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43448:102;43279:279;-1:-1:-1;;43279:279:0:o;41402:201::-;40382:13;:11;:13::i;:::-;-1:-1:-1;;;;;41491:22:0;::::1;41483:73;;;::::0;-1:-1:-1;;;41483:73:0;;7552:2:1;41483:73:0::1;::::0;::::1;7534:21:1::0;7591:2;7571:18;;;7564:30;7630:34;7610:18;;;7603:62;-1:-1:-1;;;7681:18:1;;;7674:36;7727:19;;41483:73:0::1;7350:402:1::0;41483:73:0::1;41567:28;41586:8;41567:18;:28::i;22211:273::-:0;22268:4;22358:13;;22348:7;:23;22305:152;;;;-1:-1:-1;;22409:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22409:43:0;:48;;22211:273::o;15409:1129::-;15476:7;15511;15613:13;;15606:4;:20;15602:869;;;15651:14;15668:23;;;:17;:23;;;;;;-1:-1:-1;;;15757:23:0;;15753:699;;16276:113;16283:11;16276:113;;-1:-1:-1;;;16354:6:0;16336:25;;;;:17;:25;;;;;;16276:113;;;16422:6;15409:1129;-1:-1:-1;;;15409:1129:0:o;15753:699::-;15628:843;15602:869;16499:31;;-1:-1:-1;;;16499:31:0;;;;;;;;;;;27450:2515;27565:27;27595;27614:7;27595:18;:27::i;:::-;27565:57;;27680:4;-1:-1:-1;;;;;27639:45:0;27655:19;-1:-1:-1;;;;;27639:45:0;;27635:86;;27693:28;;-1:-1:-1;;;27693:28:0;;;;;;;;;;;27635:86;27734:22;36280:10;-1:-1:-1;;;;;27760:27:0;;;;:87;;-1:-1:-1;27804:43:0;27821:4;36280:10;20832:164;:::i;27804:43::-;27760:147;;;-1:-1:-1;36280:10:0;27864:20;27876:7;27864:11;:20::i;:::-;-1:-1:-1;;;;;27864:43:0;;27760:147;27734:174;;27926:17;27921:66;;27952:35;;-1:-1:-1;;;27952:35:0;;;;;;;;;;;27921:66;-1:-1:-1;;;;;28002:16:0;;27998:52;;28027:23;;-1:-1:-1;;;28027:23:0;;;;;;;;;;;27998:52;28179:24;;;;:15;:24;;;;;;;;28172:31;;-1:-1:-1;;;;;;28172:31:0;;;-1:-1:-1;;;;;28571:24:0;;;;;:18;:24;;;;;28569:26;;-1:-1:-1;;28569:26:0;;;28640:22;;;;;;;28638:24;;-1:-1:-1;28638:24:0;;;28933:26;;;:17;:26;;;;;-1:-1:-1;;;29021:15:0;9764:3;29021:41;28979:84;;:128;;28933:174;;;29227:46;;29223:626;;29331:1;29321:11;;29299:19;29454:30;;;:17;:30;;;;;;29450:384;;29592:13;;29577:11;:28;29573:242;;29739:30;;;;:17;:30;;;;;:52;;;29573:242;29280:569;29223:626;29896:7;29892:2;-1:-1:-1;;;;;29877:27:0;29886:4;-1:-1:-1;;;;;29877:27:0;;;;;;;;;;;27554:2411;;27450:2515;;;:::o;40661:132::-;40569:6;;-1:-1:-1;;;;;40569:6:0;36280:10;40725:23;40717:68;;;;-1:-1:-1;;;40717:68:0;;9371:2:1;40717:68:0;;;9353:21:1;;;9390:18;;;9383:30;9449:34;9429:18;;;9422:62;9501:18;;40717:68:0;9169:356:1;22568:104:0;22637:27;22647:2;22651:8;22637:27;;;;;;;;;;;;:9;:27::i;:::-;22568:104;;:::o;41763:191::-;41856:6;;;-1:-1:-1;;;;;41873:17:0;;;-1:-1:-1;;;;;;41873:17:0;;;;;;;41906:40;;41856:6;;;41873:17;41856:6;;41906:40;;41837:16;;41906:40;41826:128;41763:191;:::o;33662:716::-;33846:88;;-1:-1:-1;;;33846:88:0;;33825:4;;-1:-1:-1;;;;;33846:45:0;;;;;:88;;36280:10;;33913:4;;33919:7;;33928:5;;33846:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33846:88:0;;;;;;;;-1:-1:-1;;33846:88:0;;;;;;;;;;;;:::i;:::-;;;33842:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34129:13:0;;34125:235;;34175:40;;-1:-1:-1;;;34175:40:0;;;;;;;;;;;34125:235;34318:6;34312:13;34303:6;34299:2;34295:15;34288:38;33842:529;-1:-1:-1;;;;;;34005:64:0;-1:-1:-1;;;34005:64:0;;-1:-1:-1;33662:716:0;;;;;;:::o;36404:1959::-;36875:4;36869:11;;36882:3;36865:21;;36960:17;;;;37657:11;;;37536:5;37789:2;37803;37793:13;;37785:22;37657:11;37772:36;37844:2;37834:13;;37427:682;37863:4;37427:682;;;38038:1;38033:3;38029:11;38022:18;;38089:2;38083:4;38079:13;38075:2;38071:22;38066:3;38058:36;37959:2;37949:13;;37427:682;;;-1:-1:-1;38151:13:0;;;-1:-1:-1;;38266:12:0;;;38326:19;;;38266:12;36404:1959;-1:-1:-1;36404:1959:0:o;23045:2236::-;23168:20;23191:13;-1:-1:-1;;;;;23219:16:0;;23215:48;;23244:19;;-1:-1:-1;;;23244:19:0;;;;;;;;;;;23215:48;23278:13;23274:44;;23300:18;;-1:-1:-1;;;23300:18:0;;;;;;;;;;;23274:44;-1:-1:-1;;;;;23867:22:0;;;;;;:18;:22;;;;9247:2;23867:22;;;:70;;23905:31;23893:44;;23867:70;;;24180:31;;;:17;:31;;;;;24273:15;9764:3;24273:41;24231:84;;-1:-1:-1;24351:13:0;;10027:3;24336:56;24231:162;24180:213;;:31;;24474:23;;;;24518:14;:19;24514:635;;24558:313;24589:38;;24614:12;;-1:-1:-1;;;;;24589:38:0;;;24606:1;;24589:38;;24606:1;;24589:38;24655:69;24694:1;24698:2;24702:14;;;;;;24718:5;24655:30;:69::i;:::-;24650:174;;24760:40;;-1:-1:-1;;;24760:40:0;;;;;;;;;;;24650:174;24866:3;24851:12;:18;24558:313;;24952:12;24935:13;;:29;24931:43;;24966:8;;;24931:43;24514:635;;;25015:119;25046:40;;25071:14;;;;;-1:-1:-1;;;;;25046:40:0;;;25063:1;;25046:40;;25063:1;;25046:40;25129:3;25114:12;:18;25015:119;;24514:635;-1:-1:-1;25163:13:0;:28;;;25213:60;;25246:2;25250:12;25264:8;25213:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:592::-;3310:6;3318;3371:2;3359:9;3350:7;3346:23;3342:32;3339:52;;;3387:1;3384;3377:12;3339:52;3427:9;3414:23;3456:18;3497:2;3489:6;3486:14;3483:34;;;3513:1;3510;3503:12;3483:34;3551:6;3540:9;3536:22;3526:32;;3596:7;3589:4;3585:2;3581:13;3577:27;3567:55;;3618:1;3615;3608:12;3567:55;3658:2;3645:16;3684:2;3676:6;3673:14;3670:34;;;3700:1;3697;3690:12;3670:34;3745:7;3740:2;3731:6;3727:2;3723:15;3719:24;3716:37;3713:57;;;3766:1;3763;3756:12;3713:57;3797:2;3789:11;;;;;3819:6;;-1:-1:-1;3239:592:1;;-1:-1:-1;;;;3239:592:1:o;3836:180::-;3895:6;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;-1:-1:-1;3987:23:1;;3836:180;-1:-1:-1;3836:180:1:o;4021:257::-;4062:3;4100:5;4094:12;4127:6;4122:3;4115:19;4143:63;4199:6;4192:4;4187:3;4183:14;4176:4;4169:5;4165:16;4143:63;:::i;:::-;4260:2;4239:15;-1:-1:-1;;4235:29:1;4226:39;;;;4267:4;4222:50;;4021:257;-1:-1:-1;;4021:257:1:o;4283:185::-;4325:3;4363:5;4357:12;4378:52;4423:6;4418:3;4411:4;4404:5;4400:16;4378:52;:::i;:::-;4446:16;;;;;4283:185;-1:-1:-1;;4283:185:1:o;4591:1301::-;4868:3;4897:1;4930:6;4924:13;4960:3;4982:1;5010:9;5006:2;5002:18;4992:28;;5070:2;5059:9;5055:18;5092;5082:61;;5136:4;5128:6;5124:17;5114:27;;5082:61;5162:2;5210;5202:6;5199:14;5179:18;5176:38;5173:165;;;-1:-1:-1;;;5237:33:1;;5293:4;5290:1;5283:15;5323:4;5244:3;5311:17;5173:165;5354:18;5381:104;;;;5499:1;5494:320;;;;5347:467;;5381:104;-1:-1:-1;;5414:24:1;;5402:37;;5459:16;;;;-1:-1:-1;5381:104:1;;5494:320;10141:1;10134:14;;;10178:4;10165:18;;5589:1;5603:165;5617:6;5614:1;5611:13;5603:165;;;5695:14;;5682:11;;;5675:35;5738:16;;;;5632:10;;5603:165;;;5607:3;;5797:6;5792:3;5788:16;5781:23;;5347:467;;;;;;;5830:56;5855:30;5881:3;5873:6;5855:30;:::i;:::-;-1:-1:-1;;;4533:20:1;;4578:1;4569:11;;4473:113;5830:56;5823:63;4591:1301;-1:-1:-1;;;;;4591:1301:1:o;6105:488::-;-1:-1:-1;;;;;6374:15:1;;;6356:34;;6426:15;;6421:2;6406:18;;6399:43;6473:2;6458:18;;6451:34;;;6521:3;6516:2;6501:18;;6494:31;;;6299:4;;6542:45;;6567:19;;6559:6;6542:45;:::i;:::-;6534:53;6105:488;-1:-1:-1;;;;;;6105:488:1:o;6790:219::-;6939:2;6928:9;6921:21;6902:4;6959:44;6999:2;6988:9;6984:18;6976:6;6959:44;:::i;10194:168::-;10234:7;10300:1;10296;10292:6;10288:14;10285:1;10282:21;10277:1;10270:9;10263:17;10259:45;10256:71;;;10307:18;;:::i;:::-;-1:-1:-1;10347:9:1;;10194:168::o;10367:258::-;10439:1;10449:113;10463:6;10460:1;10457:13;10449:113;;;10539:11;;;10533:18;10520:11;;;10513:39;10485:2;10478:10;10449:113;;;10580:6;10577:1;10574:13;10571:48;;;-1:-1:-1;;10615:1:1;10597:16;;10590:27;10367:258::o;10630:380::-;10709:1;10705:12;;;;10752;;;10773:61;;10827:4;10819:6;10815:17;10805:27;;10773:61;10880:2;10872:6;10869:14;10849:18;10846:38;10843:161;;;10926:10;10921:3;10917:20;10914:1;10907:31;10961:4;10958:1;10951:15;10989:4;10986:1;10979:15;10843:161;;10630:380;;;:::o;11015:135::-;11054:3;-1:-1:-1;;11075:17:1;;11072:43;;;11095:18;;:::i;:::-;-1:-1:-1;11142:1:1;11131:13;;11015:135::o;11155:127::-;11216:10;11211:3;11207:20;11204:1;11197:31;11247:4;11244:1;11237:15;11271:4;11268:1;11261:15;11287:127;11348:10;11343:3;11339:20;11336:1;11329:31;11379:4;11376:1;11369:15;11403:4;11400:1;11393:15;11419:131;-1:-1:-1;;;;;;11493:32:1;;11483:43;;11473:71;;11540:1;11537;11530:12
Swarm Source
ipfs://250943817211d717a33481ef98942e7657250575def924ba532a47344eb67601
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.