ERC-721
Overview
Max Total Supply
2,000 PAW
Holders
948
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PAWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PoshPawSociety
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-08 */ // SPDX-License-Identifier: MIT /* ooooooooo. .oooooo. .oooooo..o ooooo ooooo `888 `Y88. d8P' `Y8b d8P' `Y8 `888' `888' 888 .d88' 888 888 Y88bo. 888 888 888ooo88P' 888 888 `"Y8888o. 888ooooo888 888 888 888 `"Y88b 888 888 888 `88b d88' oo .d8P 888 888 o888o `Y8bood8P' 8""88888P' o888o o888o ooooooooo. .o. oooooo oooooo oooo .oooooo..o `888 `Y88. .888. `888. `888. .8' d8P' `Y8 888 .d88' .8"888. `888. .8888. .8' Y88bo. 888ooo88P' .8' `888. `888 .8'`888. .8' `"Y8888o. 888 .88ooo8888. `888.8' `888.8' `"Y88b 888 .8' `888. `888' `888' oo .d8P o888o o88o o8888o `8' `8' 8""88888P' */ // ERC721A Contracts v3.3.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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v3.3.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 1; } /** * @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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (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 v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 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); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: *g * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: poshPawSociety.sol pragma solidity ^0.8.0; contract PoshPawSociety is ERC721A, Ownable { using Strings for uint256; string private baseURI= "https://poshpaws.s3.amazonaws.com/metadata/"; uint256 public price = 0.0069 ether; uint256 public priceReferral = 0.004 ether; uint256 public maxPerTx = 10; /** Referral Mint Proceeds are split 50/50 between founders and referrer **/ uint256 private referralSplit = 2; uint256 public maxFreePerWallet = 1; uint256 public totalFree = 500; uint256 public totalFreeMinted = 0; uint256 public maxSupply = 10000; bool public mintEnabled = true; struct TopBalance { uint256 balance; address addr; } /** Keep track of top 5 referrers **/ TopBalance[5] public topReferralBalances; mapping(address => uint256) public _mintedFreeAmount; /** Track each wallet's number of referral mints **/ mapping(address => uint256) public _referralBalance; constructor() ERC721A("PoshPawSociety", "PAW") {} function mint(uint256 _count) external payable { uint256 cost = price; uint256 s = totalSupply(); require(msg.value >= _count * cost, "Incorrect Eth amount"); require(s + _count < maxSupply + 1, "Sold out"); require(mintEnabled, "Minting is not live yet"); require(_count < maxPerTx + 1, "Max per TX reached"); /** On initial mint, add minter to referral list, wallet becomes referral code **/ if (_referralBalance[msg.sender] < 1) { _referralBalance[msg.sender]++; } _safeMint(msg.sender, _count); delete cost; delete s; } function mintReferral( uint256 _count, address payable _referral ) external payable { uint256 cost = priceReferral; uint256 s = totalSupply(); /** Calculate amount to be sent to referrer **/ uint256 share = msg.value / referralSplit; require(msg.value >= _count * cost, "Incorrect Eth amount"); require(s + _count < maxSupply + 1, "Sold out"); require(mintEnabled, "Minting is not live yet"); require(_count < maxPerTx + 1, "Max per TX reached"); require(_referralBalance[_referral] >= 1, "Invalid referral"); require(balanceOf(_referral) >= 1, "Invalid referral"); require(_referral != msg.sender, "Cannot refer self"); /** On initial mint, add minter to referral list, wallet becomes referral code **/ if (_referralBalance[msg.sender] < 1) { _referralBalance[msg.sender]++; } /** Add or update top 5 position of referrer, if applicable **/ elaborateTopFive(_referral, _referralBalance[_referral] + _count); /** Add new referral mints to referrer balance **/ _referralBalance[_referral] += _count; /** Pay referrer commission **/ _referral.transfer(share); _safeMint(msg.sender, _count); delete share; delete cost; delete s; } function mintFree(uint256 _count) external payable { uint256 freeMintedCount = _mintedFreeAmount[msg.sender]; uint256 s = totalSupply(); require(s + _count < maxSupply + 1, "Sold out"); require(mintEnabled, "Minting is not live yet"); require(freeMintedCount + _count <= maxFreePerWallet, "Max Free Mints reached"); delete freeMintedCount; /** On initial mint, add minter to referral list, wallet becomes referral code **/ if (_referralBalance[msg.sender] < 1) { _referralBalance[msg.sender] += _count; } _mintedFreeAmount[msg.sender]++; totalFreeMinted += maxFreePerWallet; _safeMint(msg.sender, _count); delete s; } function gift(uint256[] calldata _count, address[] calldata recipient) external onlyOwner { require( _count.length == recipient.length, "Provide quantities and recipients" ); uint256 totalQuantity = 0; uint256 s = totalSupply(); for (uint256 i = 0; i < _count.length; ++i) { totalQuantity += _count[i]; } require(s + totalQuantity <= maxSupply, "No more left"); delete totalQuantity; for (uint256 i = 0; i < recipient.length; ++i) { _safeMint(recipient[i], _count[i]); } delete s; } function elaborateTopFive(address addr, uint256 currentValue) private { uint256 i = 0; /** get the index of the current max element **/ for(i; i < topReferralBalances.length; i++) { if(topReferralBalances[i].addr == addr) { break; } if(topReferralBalances[i].balance < currentValue) { break; } } if (i < topReferralBalances.length) { /** shift the array of position if new wallet address **/ if (topReferralBalances[i].addr != addr) { for(uint256 j = topReferralBalances.length - 1; j > i; j--) { topReferralBalances[j].balance = topReferralBalances[j - 1].balance; topReferralBalances[j].addr = topReferralBalances[j - 1].addr; } } /** update the new max element **/ topReferralBalances[i].balance = currentValue; topReferralBalances[i].addr = addr; } delete i; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setFreeAmount(uint256 amount) external onlyOwner { totalFree = amount; } function setPrice(uint256 _newPrice) external onlyOwner { price = _newPrice; } function setPriceReferral(uint256 _newPriceReferral) external onlyOwner { priceReferral = _newPriceReferral; } function reduceSupply(uint256 _newMaxSupply) public onlyOwner { require(_newMaxSupply <= maxSupply, "Cannot increase max supply"); maxSupply = _newMaxSupply; } function flipSale() external onlyOwner { mintEnabled = !mintEnabled; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; address topDogAddress = topReferralBalances[0].addr; /** Transfer 5% of total mint proceeds to the #1 referrer **/ payable(topDogAddress).transfer(balance / 20); payable(msg.sender).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":"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":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedFreeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_referralBalance","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":"flipSale","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":"uint256[]","name":"_count","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintFree","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"address payable","name":"_referral","type":"address"}],"name":"mintReferral","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":"priceReferral","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"reduceSupply","outputs":[],"stateMutability":"nonpayable","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPriceReferral","type":"uint256"}],"name":"setPriceReferral","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"topReferralBalances","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"address","name":"addr","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052602b6080818152906200274f60a039805162000029916009916020909101906200014f565b506618838370f34000600a908155660e35fa931a0000600b55600c556002600d556001600e8190556101f4600f5560006010556127106011556012805460ff191690911790553480156200007c57600080fd5b50604080518082018252600e81526d506f7368506177536f636965747960901b60208083019182528351808501909452600384526250415760e81b908401528151919291620000ce916002916200014f565b508051620000e49060039060208401906200014f565b5050600160005550620000f733620000fd565b62000232565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015d90620001f5565b90600052602060002090601f016020900481019282620001815760008555620001cc565b82601f106200019c57805160ff1916838001178555620001cc565b82800160010185558215620001cc579182015b82811115620001cc578251825591602001919060010190620001af565b50620001da929150620001de565b5090565b5b80821115620001da5760008155600101620001df565b600181811c908216806200020a57607f821691505b602082108114156200022c57634e487b7160e01b600052602260045260246000fd5b50919050565b61250d80620002426000396000f3fe6080604052600436106102305760003560e01c80638da5cb5b1161012e578063a7027357116100ab578063dad7b5c91161006f578063dad7b5c914610646578063e985e9c51461065c578063f2fde38b146106a5578063f4db2acb146106c5578063f968adbe146106f257600080fd5b8063a7027357146105c0578063b88d4fde146105d6578063c87b56dd146105f6578063d123973014610616578063d5abeb011461063057600080fd5b80639fc65193116100f25780639fc651931461054e578063a035b1fe14610564578063a0712d681461057a578063a22cb4651461058d578063a4146733146105ad57600080fd5b80638da5cb5b146104bb57806391b7f5ed146104d957806392910eec146104f957806395d89b411461051957806396ea3a471461052e57600080fd5b806342842e0e116101bc5780636352211e116101805780636352211e1461043157806370a0823114610451578063715018a6146104715780637ba5e62114610486578063806234441461049b57600080fd5b806342842e0e14610381578063496cc4bd146103a157806355f804b3146103b45780635ce159e7146103d45780635fe9b825146103f457600080fd5b8063115a22a311610203578063115a22a3146102e657806318160ddd1461032157806323b872dd14610336578063333e44e6146103565780633ccfd60b1461036c57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b506102556102503660046120a3565b610708565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f61075a565b60405161026191906122a4565b34801561029857600080fd5b506102ac6102a7366004612126565b6107ec565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df36600461200b565b610830565b005b3480156102f257600080fd5b50610313610301366004611ec1565b601e6020526000908152604090205481565b604051908152602001610261565b34801561032d57600080fd5b50610313610903565b34801561034257600080fd5b506102e4610351366004611f17565b610911565b34801561036257600080fd5b50610313600f5481565b34801561037857600080fd5b506102e4610921565b34801561038d57600080fd5b506102e461039c366004611f17565b6109cb565b6102e46103af36600461213f565b6109e6565b3480156103c057600080fd5b506102e46103cf3660046120dd565b610cd1565b3480156103e057600080fd5b506102e46103ef366004612126565b610d12565b34801561040057600080fd5b5061041461040f366004612126565b610d41565b604080519283526001600160a01b03909116602083015201610261565b34801561043d57600080fd5b506102ac61044c366004612126565b610d6c565b34801561045d57600080fd5b5061031361046c366004611ec1565b610d77565b34801561047d57600080fd5b506102e4610dc6565b34801561049257600080fd5b506102e4610dfc565b3480156104a757600080fd5b506102e46104b6366004612126565b610e3a565b3480156104c757600080fd5b506008546001600160a01b03166102ac565b3480156104e557600080fd5b506102e46104f4366004612126565b610ebb565b34801561050557600080fd5b506102e4610514366004612126565b610eea565b34801561052557600080fd5b5061027f610f19565b34801561053a57600080fd5b506102e4610549366004612037565b610f28565b34801561055a57600080fd5b50610313600b5481565b34801561057057600080fd5b50610313600a5481565b6102e4610588366004612126565b6110b4565b34801561059957600080fd5b506102e46105a8366004611fd8565b6111fe565b6102e46105bb366004612126565b611294565b3480156105cc57600080fd5b50610313600e5481565b3480156105e257600080fd5b506102e46105f1366004611f58565b6113df565b34801561060257600080fd5b5061027f610611366004612126565b611429565b34801561062257600080fd5b506012546102559060ff1681565b34801561063c57600080fd5b5061031360115481565b34801561065257600080fd5b5061031360105481565b34801561066857600080fd5b50610255610677366004611ede565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106b157600080fd5b506102e46106c0366004611ec1565b6114ca565b3480156106d157600080fd5b506103136106e0366004611ec1565b601d6020526000908152604090205481565b3480156106fe57600080fd5b50610313600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061073957506380ac58cd60e01b6001600160e01b03198316145b806107545750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610769906123ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610795906123ea565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b5050505050905090565b60006107f782611565565b610814576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061083b8261159a565b9050806001600160a01b0316836001600160a01b031614156108705760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108a75761088a8133610677565b6108a7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b61091c83838361160a565b505050565b6008546001600160a01b031633146109545760405162461bcd60e51b815260040161094b906122ee565b60405180910390fd5b6014805447916001600160a01b039091169081906108fc90610976908561235d565b6040518115909202916000818181858888f1935050505015801561099e573d6000803e3d6000fd5b5060405133904780156108fc02916000818181858888f1935050505015801561091c573d6000803e3d6000fd5b61091c838383604051806020016040528060008152506113df565b600b5460006109f3610903565b90506000600d5434610a05919061235d565b9050610a118386612371565b341015610a575760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08115d1a08185b5bdd5b9d60621b604482015260640161094b565b601154610a65906001612345565b610a6f8684612345565b10610a8c5760405162461bcd60e51b815260040161094b90612323565b60125460ff16610aae5760405162461bcd60e51b815260040161094b906122b7565b600c54610abc906001612345565b8510610aff5760405162461bcd60e51b815260206004820152601260248201527113585e081c195c881516081c995858da195960721b604482015260640161094b565b6001600160a01b0384166000908152601e602052604090205460011115610b5b5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081c9959995c9c985b60821b604482015260640161094b565b6001610b6685610d77565b1015610ba75760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081c9959995c9c985b60821b604482015260640161094b565b6001600160a01b038416331415610bf45760405162461bcd60e51b815260206004820152601160248201527021b0b73737ba103932b332b91039b2b63360791b604482015260640161094b565b336000908152601e602052604090205460011115610c2d57336000908152601e60205260408120805491610c2783612425565b91905055505b6001600160a01b0384166000908152601e6020526040902054610c5c908590610c57908890612345565b6117ab565b6001600160a01b0384166000908152601e602052604081208054879290610c84908490612345565b90915550506040516001600160a01b0385169082156108fc029083906000818181858888f19350505050158015610cbf573d6000803e3d6000fd5b50610cca3386611993565b5050505050565b6008546001600160a01b03163314610cfb5760405162461bcd60e51b815260040161094b906122ee565b8051610d0e906009906020840190611d66565b5050565b6008546001600160a01b03163314610d3c5760405162461bcd60e51b815260040161094b906122ee565b600b55565b60138160058110610d5157600080fd5b6002020180546001909101549091506001600160a01b031682565b60006107548261159a565b60006001600160a01b038216610da0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610df05760405162461bcd60e51b815260040161094b906122ee565b610dfa60006119ad565b565b6008546001600160a01b03163314610e265760405162461bcd60e51b815260040161094b906122ee565b6012805460ff19811660ff90911615179055565b6008546001600160a01b03163314610e645760405162461bcd60e51b815260040161094b906122ee565b601154811115610eb65760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420696e637265617365206d617820737570706c79000000000000604482015260640161094b565b601155565b6008546001600160a01b03163314610ee55760405162461bcd60e51b815260040161094b906122ee565b600a55565b6008546001600160a01b03163314610f145760405162461bcd60e51b815260040161094b906122ee565b600f55565b606060038054610769906123ea565b6008546001600160a01b03163314610f525760405162461bcd60e51b815260040161094b906122ee565b828114610fab5760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e746044820152607360f81b606482015260840161094b565b600080610fb6610903565b905060005b85811015610ff957868682818110610fd557610fd5612480565b9050602002013583610fe79190612345565b9250610ff281612425565b9050610fbb565b506011546110078383612345565b11156110445760405162461bcd60e51b815260206004820152600c60248201526b139bc81b5bdc99481b19599d60a21b604482015260640161094b565b6000915060005b838110156110ab5761109b85858381811061106857611068612480565b905060200201602081019061107d9190611ec1565b88888481811061108f5761108f612480565b90506020020135611993565b6110a481612425565b905061104b565b50505050505050565b600a5460006110c1610903565b90506110cd8284612371565b3410156111135760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08115d1a08185b5bdd5b9d60621b604482015260640161094b565b601154611121906001612345565b61112b8483612345565b106111485760405162461bcd60e51b815260040161094b90612323565b60125460ff1661116a5760405162461bcd60e51b815260040161094b906122b7565b600c54611178906001612345565b83106111bb5760405162461bcd60e51b815260206004820152601260248201527113585e081c195c881516081c995858da195960721b604482015260640161094b565b336000908152601e6020526040902054600111156111f457336000908152601e602052604081208054916111ee83612425565b91905055505b61091c3384611993565b6001600160a01b0382163314156112285760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152601d6020526040812054906112ad610903565b905060115460016112be9190612345565b6112c88483612345565b106112e55760405162461bcd60e51b815260040161094b90612323565b60125460ff166113075760405162461bcd60e51b815260040161094b906122b7565b600e546113148484612345565b111561135b5760405162461bcd60e51b815260206004820152601660248201527513585e08119c995948135a5b9d1cc81c995858da195960521b604482015260640161094b565b336000908152601e60205260408120549092506001111561139b57336000908152601e602052604081208054859290611395908490612345565b90915550505b336000908152601d602052604081208054916113b683612425565b9190505550600e54601060008282546113cf9190612345565b9091555061091c90503384611993565b6113ea84848461160a565b6001600160a01b0383163b1561142357611406848484846119ff565b611423576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061143482611565565b6114985760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161094b565b60096114a383611af7565b6040516020016114b49291906121ac565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146114f45760405162461bcd60e51b815260040161094b906122ee565b6001600160a01b0381166115595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161094b565b611562816119ad565b50565b600081600111158015611579575060005482105b8015610754575050600090815260046020526040902054600160e01b161590565b600081806001116115f1576000548110156115f157600081815260046020526040902054600160e01b81166115ef575b806115e85750600019016000818152600460205260409020546115ca565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b60006116158261159a565b9050836001600160a01b0316816001600160a01b0316146116485760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061166657506116668533610677565b80611681575033611676846107ec565b6001600160a01b0316145b9050806116a157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116c857604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661176557600183016000818152600460205260409020546117635760005481146117635760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610cca565b60005b600581101561182657826001600160a01b0316601382600581106117d4576117d4612480565b60020201600101546001600160a01b031614156117f057611826565b816013826005811061180457611804612480565b6002020154101561181457611826565b8061181e81612425565b9150506117ae565b600581101561091c57826001600160a01b03166013826005811061184c5761184c612480565b60020201600101546001600160a01b03161461193657600061187060016005612390565b90505b81811115611934576013611888600183612390565b6005811061189857611898612480565b6002020154601382600581106118b0576118b0612480565b600202015560136118c2600183612390565b600581106118d2576118d2612480565b60020201600101546001600160a01b0316601382600581106118f6576118f6612480565b6002020160010160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550808061192c906123d3565b915050611873565b505b816013826005811061194a5761194a612480565b6002020155826013826005811061196357611963612480565b6002020160010160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b610d0e828260405180602001604052806000815250611bf5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a34903390899088908890600401612267565b602060405180830381600087803b158015611a4e57600080fd5b505af1925050508015611a7e575060408051601f3d908101601f19168201909252611a7b918101906120c0565b60015b611ad9573d808015611aac576040519150601f19603f3d011682016040523d82523d6000602084013e611ab1565b606091505b508051611ad1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081611b1b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b455780611b2f81612425565b9150611b3e9050600a8361235d565b9150611b1f565b60008167ffffffffffffffff811115611b6057611b60612496565b6040519080825280601f01601f191660200182016040528015611b8a576020820181803683370190505b5090505b8415611aef57611b9f600183612390565b9150611bac600a86612440565b611bb7906030612345565b60f81b818381518110611bcc57611bcc612480565b60200101906001600160f81b031916908160001a905350611bee600a8661235d565b9450611b8e565b6000546001600160a01b038416611c1e57604051622e076360e81b815260040160405180910390fd5b82611c3c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611d11575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611cda60008784806001019550876119ff565b611cf7576040516368d2bf6b60e11b815260040160405180910390fd5b808210611c8f578260005414611d0c57600080fd5b611d56565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611d12575b5060009081556114239085838684565b828054611d72906123ea565b90600052602060002090601f016020900481019282611d945760008555611dda565b82601f10611dad57805160ff1916838001178555611dda565b82800160010185558215611dda579182015b82811115611dda578251825591602001919060010190611dbf565b50611de6929150611dea565b5090565b5b80821115611de65760008155600101611deb565b600067ffffffffffffffff80841115611e1a57611e1a612496565b604051601f8501601f19908116603f01168101908282118183101715611e4257611e42612496565b81604052809350858152868686011115611e5b57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112611e8757600080fd5b50813567ffffffffffffffff811115611e9f57600080fd5b6020830191508360208260051b8501011115611eba57600080fd5b9250929050565b600060208284031215611ed357600080fd5b81356115e8816124ac565b60008060408385031215611ef157600080fd5b8235611efc816124ac565b91506020830135611f0c816124ac565b809150509250929050565b600080600060608486031215611f2c57600080fd5b8335611f37816124ac565b92506020840135611f47816124ac565b929592945050506040919091013590565b60008060008060808587031215611f6e57600080fd5b8435611f79816124ac565b93506020850135611f89816124ac565b925060408501359150606085013567ffffffffffffffff811115611fac57600080fd5b8501601f81018713611fbd57600080fd5b611fcc87823560208401611dff565b91505092959194509250565b60008060408385031215611feb57600080fd5b8235611ff6816124ac565b915060208301358015158114611f0c57600080fd5b6000806040838503121561201e57600080fd5b8235612029816124ac565b946020939093013593505050565b6000806000806040858703121561204d57600080fd5b843567ffffffffffffffff8082111561206557600080fd5b61207188838901611e75565b9096509450602087013591508082111561208a57600080fd5b5061209787828801611e75565b95989497509550505050565b6000602082840312156120b557600080fd5b81356115e8816124c1565b6000602082840312156120d257600080fd5b81516115e8816124c1565b6000602082840312156120ef57600080fd5b813567ffffffffffffffff81111561210657600080fd5b8201601f8101841361211757600080fd5b611aef84823560208401611dff565b60006020828403121561213857600080fd5b5035919050565b6000806040838503121561215257600080fd5b823591506020830135611f0c816124ac565b6000815180845261217c8160208601602086016123a7565b601f01601f19169290920160200192915050565b600081516121a28185602086016123a7565b9290920192915050565b600080845481600182811c9150808316806121c857607f831692505b60208084108214156121e857634e487b7160e01b86526022600452602486fd5b8180156121fc576001811461220d5761223a565b60ff1986168952848901965061223a565b60008b81526020902060005b868110156122325781548b820152908501908301612219565b505084890196505b50505050505061225e61224d8286612190565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061229a90830184612164565b9695505050505050565b6020815260006115e86020830184612164565b60208082526017908201527f4d696e74696e67206973206e6f74206c69766520796574000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526008908201526714dbdb19081bdd5d60c21b604082015260600190565b6000821982111561235857612358612454565b500190565b60008261236c5761236c61246a565b500490565b600081600019048311821515161561238b5761238b612454565b500290565b6000828210156123a2576123a2612454565b500390565b60005b838110156123c25781810151838201526020016123aa565b838111156114235750506000910152565b6000816123e2576123e2612454565b506000190190565b600181811c908216806123fe57607f821691505b6020821081141561241f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561243957612439612454565b5060010190565b60008261244f5761244f61246a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461156257600080fd5b6001600160e01b03198116811461156257600080fdfea2646970667358221220cd7860b7ca69cec39bae69c668d65f2abbbfb4ee4b0a4d24b4afb48bc24d501b64736f6c6343000807003368747470733a2f2f706f7368706177732e73332e616d617a6f6e6177732e636f6d2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106102305760003560e01c80638da5cb5b1161012e578063a7027357116100ab578063dad7b5c91161006f578063dad7b5c914610646578063e985e9c51461065c578063f2fde38b146106a5578063f4db2acb146106c5578063f968adbe146106f257600080fd5b8063a7027357146105c0578063b88d4fde146105d6578063c87b56dd146105f6578063d123973014610616578063d5abeb011461063057600080fd5b80639fc65193116100f25780639fc651931461054e578063a035b1fe14610564578063a0712d681461057a578063a22cb4651461058d578063a4146733146105ad57600080fd5b80638da5cb5b146104bb57806391b7f5ed146104d957806392910eec146104f957806395d89b411461051957806396ea3a471461052e57600080fd5b806342842e0e116101bc5780636352211e116101805780636352211e1461043157806370a0823114610451578063715018a6146104715780637ba5e62114610486578063806234441461049b57600080fd5b806342842e0e14610381578063496cc4bd146103a157806355f804b3146103b45780635ce159e7146103d45780635fe9b825146103f457600080fd5b8063115a22a311610203578063115a22a3146102e657806318160ddd1461032157806323b872dd14610336578063333e44e6146103565780633ccfd60b1461036c57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b506102556102503660046120a3565b610708565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f61075a565b60405161026191906122a4565b34801561029857600080fd5b506102ac6102a7366004612126565b6107ec565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df36600461200b565b610830565b005b3480156102f257600080fd5b50610313610301366004611ec1565b601e6020526000908152604090205481565b604051908152602001610261565b34801561032d57600080fd5b50610313610903565b34801561034257600080fd5b506102e4610351366004611f17565b610911565b34801561036257600080fd5b50610313600f5481565b34801561037857600080fd5b506102e4610921565b34801561038d57600080fd5b506102e461039c366004611f17565b6109cb565b6102e46103af36600461213f565b6109e6565b3480156103c057600080fd5b506102e46103cf3660046120dd565b610cd1565b3480156103e057600080fd5b506102e46103ef366004612126565b610d12565b34801561040057600080fd5b5061041461040f366004612126565b610d41565b604080519283526001600160a01b03909116602083015201610261565b34801561043d57600080fd5b506102ac61044c366004612126565b610d6c565b34801561045d57600080fd5b5061031361046c366004611ec1565b610d77565b34801561047d57600080fd5b506102e4610dc6565b34801561049257600080fd5b506102e4610dfc565b3480156104a757600080fd5b506102e46104b6366004612126565b610e3a565b3480156104c757600080fd5b506008546001600160a01b03166102ac565b3480156104e557600080fd5b506102e46104f4366004612126565b610ebb565b34801561050557600080fd5b506102e4610514366004612126565b610eea565b34801561052557600080fd5b5061027f610f19565b34801561053a57600080fd5b506102e4610549366004612037565b610f28565b34801561055a57600080fd5b50610313600b5481565b34801561057057600080fd5b50610313600a5481565b6102e4610588366004612126565b6110b4565b34801561059957600080fd5b506102e46105a8366004611fd8565b6111fe565b6102e46105bb366004612126565b611294565b3480156105cc57600080fd5b50610313600e5481565b3480156105e257600080fd5b506102e46105f1366004611f58565b6113df565b34801561060257600080fd5b5061027f610611366004612126565b611429565b34801561062257600080fd5b506012546102559060ff1681565b34801561063c57600080fd5b5061031360115481565b34801561065257600080fd5b5061031360105481565b34801561066857600080fd5b50610255610677366004611ede565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106b157600080fd5b506102e46106c0366004611ec1565b6114ca565b3480156106d157600080fd5b506103136106e0366004611ec1565b601d6020526000908152604090205481565b3480156106fe57600080fd5b50610313600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061073957506380ac58cd60e01b6001600160e01b03198316145b806107545750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610769906123ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610795906123ea565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b5050505050905090565b60006107f782611565565b610814576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061083b8261159a565b9050806001600160a01b0316836001600160a01b031614156108705760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108a75761088a8133610677565b6108a7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b61091c83838361160a565b505050565b6008546001600160a01b031633146109545760405162461bcd60e51b815260040161094b906122ee565b60405180910390fd5b6014805447916001600160a01b039091169081906108fc90610976908561235d565b6040518115909202916000818181858888f1935050505015801561099e573d6000803e3d6000fd5b5060405133904780156108fc02916000818181858888f1935050505015801561091c573d6000803e3d6000fd5b61091c838383604051806020016040528060008152506113df565b600b5460006109f3610903565b90506000600d5434610a05919061235d565b9050610a118386612371565b341015610a575760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08115d1a08185b5bdd5b9d60621b604482015260640161094b565b601154610a65906001612345565b610a6f8684612345565b10610a8c5760405162461bcd60e51b815260040161094b90612323565b60125460ff16610aae5760405162461bcd60e51b815260040161094b906122b7565b600c54610abc906001612345565b8510610aff5760405162461bcd60e51b815260206004820152601260248201527113585e081c195c881516081c995858da195960721b604482015260640161094b565b6001600160a01b0384166000908152601e602052604090205460011115610b5b5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081c9959995c9c985b60821b604482015260640161094b565b6001610b6685610d77565b1015610ba75760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081c9959995c9c985b60821b604482015260640161094b565b6001600160a01b038416331415610bf45760405162461bcd60e51b815260206004820152601160248201527021b0b73737ba103932b332b91039b2b63360791b604482015260640161094b565b336000908152601e602052604090205460011115610c2d57336000908152601e60205260408120805491610c2783612425565b91905055505b6001600160a01b0384166000908152601e6020526040902054610c5c908590610c57908890612345565b6117ab565b6001600160a01b0384166000908152601e602052604081208054879290610c84908490612345565b90915550506040516001600160a01b0385169082156108fc029083906000818181858888f19350505050158015610cbf573d6000803e3d6000fd5b50610cca3386611993565b5050505050565b6008546001600160a01b03163314610cfb5760405162461bcd60e51b815260040161094b906122ee565b8051610d0e906009906020840190611d66565b5050565b6008546001600160a01b03163314610d3c5760405162461bcd60e51b815260040161094b906122ee565b600b55565b60138160058110610d5157600080fd5b6002020180546001909101549091506001600160a01b031682565b60006107548261159a565b60006001600160a01b038216610da0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610df05760405162461bcd60e51b815260040161094b906122ee565b610dfa60006119ad565b565b6008546001600160a01b03163314610e265760405162461bcd60e51b815260040161094b906122ee565b6012805460ff19811660ff90911615179055565b6008546001600160a01b03163314610e645760405162461bcd60e51b815260040161094b906122ee565b601154811115610eb65760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420696e637265617365206d617820737570706c79000000000000604482015260640161094b565b601155565b6008546001600160a01b03163314610ee55760405162461bcd60e51b815260040161094b906122ee565b600a55565b6008546001600160a01b03163314610f145760405162461bcd60e51b815260040161094b906122ee565b600f55565b606060038054610769906123ea565b6008546001600160a01b03163314610f525760405162461bcd60e51b815260040161094b906122ee565b828114610fab5760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e746044820152607360f81b606482015260840161094b565b600080610fb6610903565b905060005b85811015610ff957868682818110610fd557610fd5612480565b9050602002013583610fe79190612345565b9250610ff281612425565b9050610fbb565b506011546110078383612345565b11156110445760405162461bcd60e51b815260206004820152600c60248201526b139bc81b5bdc99481b19599d60a21b604482015260640161094b565b6000915060005b838110156110ab5761109b85858381811061106857611068612480565b905060200201602081019061107d9190611ec1565b88888481811061108f5761108f612480565b90506020020135611993565b6110a481612425565b905061104b565b50505050505050565b600a5460006110c1610903565b90506110cd8284612371565b3410156111135760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08115d1a08185b5bdd5b9d60621b604482015260640161094b565b601154611121906001612345565b61112b8483612345565b106111485760405162461bcd60e51b815260040161094b90612323565b60125460ff1661116a5760405162461bcd60e51b815260040161094b906122b7565b600c54611178906001612345565b83106111bb5760405162461bcd60e51b815260206004820152601260248201527113585e081c195c881516081c995858da195960721b604482015260640161094b565b336000908152601e6020526040902054600111156111f457336000908152601e602052604081208054916111ee83612425565b91905055505b61091c3384611993565b6001600160a01b0382163314156112285760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152601d6020526040812054906112ad610903565b905060115460016112be9190612345565b6112c88483612345565b106112e55760405162461bcd60e51b815260040161094b90612323565b60125460ff166113075760405162461bcd60e51b815260040161094b906122b7565b600e546113148484612345565b111561135b5760405162461bcd60e51b815260206004820152601660248201527513585e08119c995948135a5b9d1cc81c995858da195960521b604482015260640161094b565b336000908152601e60205260408120549092506001111561139b57336000908152601e602052604081208054859290611395908490612345565b90915550505b336000908152601d602052604081208054916113b683612425565b9190505550600e54601060008282546113cf9190612345565b9091555061091c90503384611993565b6113ea84848461160a565b6001600160a01b0383163b1561142357611406848484846119ff565b611423576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061143482611565565b6114985760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161094b565b60096114a383611af7565b6040516020016114b49291906121ac565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146114f45760405162461bcd60e51b815260040161094b906122ee565b6001600160a01b0381166115595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161094b565b611562816119ad565b50565b600081600111158015611579575060005482105b8015610754575050600090815260046020526040902054600160e01b161590565b600081806001116115f1576000548110156115f157600081815260046020526040902054600160e01b81166115ef575b806115e85750600019016000818152600460205260409020546115ca565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b60006116158261159a565b9050836001600160a01b0316816001600160a01b0316146116485760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061166657506116668533610677565b80611681575033611676846107ec565b6001600160a01b0316145b9050806116a157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116c857604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661176557600183016000818152600460205260409020546117635760005481146117635760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610cca565b60005b600581101561182657826001600160a01b0316601382600581106117d4576117d4612480565b60020201600101546001600160a01b031614156117f057611826565b816013826005811061180457611804612480565b6002020154101561181457611826565b8061181e81612425565b9150506117ae565b600581101561091c57826001600160a01b03166013826005811061184c5761184c612480565b60020201600101546001600160a01b03161461193657600061187060016005612390565b90505b81811115611934576013611888600183612390565b6005811061189857611898612480565b6002020154601382600581106118b0576118b0612480565b600202015560136118c2600183612390565b600581106118d2576118d2612480565b60020201600101546001600160a01b0316601382600581106118f6576118f6612480565b6002020160010160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550808061192c906123d3565b915050611873565b505b816013826005811061194a5761194a612480565b6002020155826013826005811061196357611963612480565b6002020160010160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b610d0e828260405180602001604052806000815250611bf5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a34903390899088908890600401612267565b602060405180830381600087803b158015611a4e57600080fd5b505af1925050508015611a7e575060408051601f3d908101601f19168201909252611a7b918101906120c0565b60015b611ad9573d808015611aac576040519150601f19603f3d011682016040523d82523d6000602084013e611ab1565b606091505b508051611ad1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081611b1b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b455780611b2f81612425565b9150611b3e9050600a8361235d565b9150611b1f565b60008167ffffffffffffffff811115611b6057611b60612496565b6040519080825280601f01601f191660200182016040528015611b8a576020820181803683370190505b5090505b8415611aef57611b9f600183612390565b9150611bac600a86612440565b611bb7906030612345565b60f81b818381518110611bcc57611bcc612480565b60200101906001600160f81b031916908160001a905350611bee600a8661235d565b9450611b8e565b6000546001600160a01b038416611c1e57604051622e076360e81b815260040160405180910390fd5b82611c3c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611d11575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611cda60008784806001019550876119ff565b611cf7576040516368d2bf6b60e11b815260040160405180910390fd5b808210611c8f578260005414611d0c57600080fd5b611d56565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611d12575b5060009081556114239085838684565b828054611d72906123ea565b90600052602060002090601f016020900481019282611d945760008555611dda565b82601f10611dad57805160ff1916838001178555611dda565b82800160010185558215611dda579182015b82811115611dda578251825591602001919060010190611dbf565b50611de6929150611dea565b5090565b5b80821115611de65760008155600101611deb565b600067ffffffffffffffff80841115611e1a57611e1a612496565b604051601f8501601f19908116603f01168101908282118183101715611e4257611e42612496565b81604052809350858152868686011115611e5b57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112611e8757600080fd5b50813567ffffffffffffffff811115611e9f57600080fd5b6020830191508360208260051b8501011115611eba57600080fd5b9250929050565b600060208284031215611ed357600080fd5b81356115e8816124ac565b60008060408385031215611ef157600080fd5b8235611efc816124ac565b91506020830135611f0c816124ac565b809150509250929050565b600080600060608486031215611f2c57600080fd5b8335611f37816124ac565b92506020840135611f47816124ac565b929592945050506040919091013590565b60008060008060808587031215611f6e57600080fd5b8435611f79816124ac565b93506020850135611f89816124ac565b925060408501359150606085013567ffffffffffffffff811115611fac57600080fd5b8501601f81018713611fbd57600080fd5b611fcc87823560208401611dff565b91505092959194509250565b60008060408385031215611feb57600080fd5b8235611ff6816124ac565b915060208301358015158114611f0c57600080fd5b6000806040838503121561201e57600080fd5b8235612029816124ac565b946020939093013593505050565b6000806000806040858703121561204d57600080fd5b843567ffffffffffffffff8082111561206557600080fd5b61207188838901611e75565b9096509450602087013591508082111561208a57600080fd5b5061209787828801611e75565b95989497509550505050565b6000602082840312156120b557600080fd5b81356115e8816124c1565b6000602082840312156120d257600080fd5b81516115e8816124c1565b6000602082840312156120ef57600080fd5b813567ffffffffffffffff81111561210657600080fd5b8201601f8101841361211757600080fd5b611aef84823560208401611dff565b60006020828403121561213857600080fd5b5035919050565b6000806040838503121561215257600080fd5b823591506020830135611f0c816124ac565b6000815180845261217c8160208601602086016123a7565b601f01601f19169290920160200192915050565b600081516121a28185602086016123a7565b9290920192915050565b600080845481600182811c9150808316806121c857607f831692505b60208084108214156121e857634e487b7160e01b86526022600452602486fd5b8180156121fc576001811461220d5761223a565b60ff1986168952848901965061223a565b60008b81526020902060005b868110156122325781548b820152908501908301612219565b505084890196505b50505050505061225e61224d8286612190565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061229a90830184612164565b9695505050505050565b6020815260006115e86020830184612164565b60208082526017908201527f4d696e74696e67206973206e6f74206c69766520796574000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526008908201526714dbdb19081bdd5d60c21b604082015260600190565b6000821982111561235857612358612454565b500190565b60008261236c5761236c61246a565b500490565b600081600019048311821515161561238b5761238b612454565b500290565b6000828210156123a2576123a2612454565b500390565b60005b838110156123c25781810151838201526020016123aa565b838111156114235750506000910152565b6000816123e2576123e2612454565b506000190190565b600181811c908216806123fe57607f821691505b6020821081141561241f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561243957612439612454565b5060010190565b60008261244f5761244f61246a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461156257600080fd5b6001600160e01b03198116811461156257600080fdfea2646970667358221220cd7860b7ca69cec39bae69c668d65f2abbbfb4ee4b0a4d24b4afb48bc24d501b64736f6c63430008070033
Deployed Bytecode Sourcemap
77726:7094:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14271:615;;;;;;;;;;-1:-1:-1;14271:615:0;;;;;:::i;:::-;;:::i;:::-;;;8660:14:1;;8653:22;8635:41;;8623:2;8608:18;14271:615:0;;;;;;;;19284:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;21352:204::-;;;;;;;;;;-1:-1:-1;21352:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7958:32:1;;;7940:51;;7928:2;7913:18;21352:204:0;7794:203:1;20812:474:0;;;;;;;;;;-1:-1:-1;20812:474:0;;;;;:::i;:::-;;:::i;:::-;;78643:51;;;;;;;;;;-1:-1:-1;78643:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;13765:25:1;;;13753:2;13738:18;78643:51:0;13619:177:1;13325:315:0;;;;;;;;;;;;;:::i;22238:170::-;;;;;;;;;;-1:-1:-1;22238:170:0;;;;;:::i;:::-;;:::i;78191:30::-;;;;;;;;;;;;;;;;84467:348;;;;;;;;;;;;;:::i;22479:185::-;;;;;;;;;;-1:-1:-1;22479:185:0;;;;;:::i;:::-;;:::i;79419:1406::-;;;;;;:::i;:::-;;:::i;83754:88::-;;;;;;;;;;-1:-1:-1;83754:88:0;;;;;:::i;:::-;;:::i;84053:124::-;;;;;;;;;;-1:-1:-1;84053:124:0;;;;;:::i;:::-;;:::i;78477:40::-;;;;;;;;;;-1:-1:-1;78477:40:0;;;;;:::i;:::-;;:::i;:::-;;;;13975:25:1;;;-1:-1:-1;;;;;14036:32:1;;;14031:2;14016:18;;14009:60;13948:18;78477:40:0;13801:274:1;19073:144:0;;;;;;;;;;-1:-1:-1;19073:144:0;;;;;:::i;:::-;;:::i;14950:224::-;;;;;;;;;;-1:-1:-1;14950:224:0;;;;;:::i;:::-;;:::i;44792:103::-;;;;;;;;;;;;;:::i;84375:84::-;;;;;;;;;;;;;:::i;84185:182::-;;;;;;;;;;-1:-1:-1;84185:182:0;;;;;:::i;:::-;;:::i;44141:87::-;;;;;;;;;;-1:-1:-1;44214:6:0;;-1:-1:-1;;;;;44214:6:0;44141:87;;83953:92;;;;;;;;;;-1:-1:-1;83953:92:0;;;;;:::i;:::-;;:::i;83850:95::-;;;;;;;;;;-1:-1:-1;83850:95:0;;;;;:::i;:::-;;:::i;19453:104::-;;;;;;;;;;;;;:::i;81595:638::-;;;;;;;;;;-1:-1:-1;81595:638:0;;;;;:::i;:::-;;:::i;77935:42::-;;;;;;;;;;;;;;;;77891:35;;;;;;;;;;;;;;;;78760:651;;;;;;:::i;:::-;;:::i;21628:308::-;;;;;;;;;;-1:-1:-1;21628:308:0;;;;;:::i;:::-;;:::i;80833:754::-;;;;;;:::i;:::-;;:::i;78147:35::-;;;;;;;;;;;;;;;;22735:396;;;;;;;;;;-1:-1:-1;22735:396:0;;;;;:::i;:::-;;:::i;83437:309::-;;;;;;;;;;-1:-1:-1;83437:309:0;;;;;:::i;:::-;;:::i;78314:30::-;;;;;;;;;;-1:-1:-1;78314:30:0;;;;;;;;78273:32;;;;;;;;;;;;;;;;78230:34;;;;;;;;;;;;;;;;22007:164;;;;;;;;;;-1:-1:-1;22007:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;22128:25:0;;;22104:4;22128:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22007:164;45050:201;;;;;;;;;;-1:-1:-1;45050:201:0;;;;;:::i;:::-;;:::i;78526:52::-;;;;;;;;;;-1:-1:-1;78526:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;77986:28;;;;;;;;;;;;;;;;14271:615;14356:4;-1:-1:-1;;;;;;;;;14656:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;14733:25:0;;;14656:102;:179;;;-1:-1:-1;;;;;;;;;;14810:25:0;;;14656:179;14636:199;14271:615;-1:-1:-1;;14271:615:0:o;19284:100::-;19338:13;19371:5;19364:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19284:100;:::o;21352:204::-;21420:7;21445:16;21453:7;21445;:16::i;:::-;21440:64;;21470:34;;-1:-1:-1;;;21470:34:0;;;;;;;;;;;21440:64;-1:-1:-1;21524:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;21524:24:0;;21352:204::o;20812:474::-;20885:13;20917:27;20936:7;20917:18;:27::i;:::-;20885:61;;20967:5;-1:-1:-1;;;;;20961:11:0;:2;-1:-1:-1;;;;;20961:11:0;;20957:48;;;20981:24;;-1:-1:-1;;;20981:24:0;;;;;;;;;;;20957:48;37455:10;-1:-1:-1;;;;;21022:28:0;;;21018:175;;21070:44;21087:5;37455:10;22007:164;:::i;21070:44::-;21065:128;;21142:35;;-1:-1:-1;;;21142:35:0;;;;;;;;;;;21065:128;21205:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;21205:29:0;-1:-1:-1;;;;;21205:29:0;;;;;;;;;21250:28;;21205:24;;21250:28;;;;;;;20874:412;20812:474;;:::o;13325:315::-;12931:1;13591:12;13378:7;13575:13;:28;-1:-1:-1;;13575:46:0;;13325:315::o;22238:170::-;22372:28;22382:4;22388:2;22392:7;22372:9;:28::i;:::-;22238:170;;;:::o;84467:348::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;;;;;;;;;84591:27;;;84535:21:::1;::::0;-1:-1:-1;;;;;84591:27:0;;::::1;::::0;;;84700:45:::1;::::0;84732:12:::1;::::0;84535:21;84732:12:::1;:::i;:::-;84700:45;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;84756:51:0::1;::::0;84764:10:::1;::::0;84785:21:::1;84756:51:::0;::::1;;;::::0;::::1;::::0;;;84785:21;84764:10;84756:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;22479:185:::0;22617:39;22634:4;22640:2;22644:7;22617:39;;;;;;;;;;;;:16;:39::i;79419:1406::-;79566:13;;79551:12;79602:13;:11;:13::i;:::-;79590:25;;79683:13;79711;;79699:9;:25;;;;:::i;:::-;79683:41;-1:-1:-1;79758:13:0;79767:4;79758:6;:13;:::i;:::-;79745:9;:26;;79737:59;;;;-1:-1:-1;;;79737:59:0;;13472:2:1;79737:59:0;;;13454:21:1;13511:2;13491:18;;;13484:30;-1:-1:-1;;;13530:18:1;;;13523:50;13590:18;;79737:59:0;13270:344:1;79737:59:0;79828:9;;:13;;79840:1;79828:13;:::i;:::-;79815:10;79819:6;79815:1;:10;:::i;:::-;:26;79807:47;;;;-1:-1:-1;;;79807:47:0;;;;;;;:::i;:::-;79873:11;;;;79865:47;;;;-1:-1:-1;;;79865:47:0;;;;;;;:::i;:::-;79940:8;;:12;;79951:1;79940:12;:::i;:::-;79931:6;:21;79923:52;;;;-1:-1:-1;;;79923:52:0;;13125:2:1;79923:52:0;;;13107:21:1;13164:2;13144:18;;;13137:30;-1:-1:-1;;;13183:18:1;;;13176:48;13241:18;;79923:52:0;12923:342:1;79923:52:0;-1:-1:-1;;;;;79994:27:0;;;;;;:16;:27;;;;;;80025:1;-1:-1:-1;79994:32:0;79986:61;;;;-1:-1:-1;;;79986:61:0;;11326:2:1;79986:61:0;;;11308:21:1;11365:2;11345:18;;;11338:30;-1:-1:-1;;;11384:18:1;;;11377:46;11440:18;;79986:61:0;11124:340:1;79986:61:0;80090:1;80066:20;80076:9;80066;:20::i;:::-;:25;;80058:54;;;;-1:-1:-1;;;80058:54:0;;11326:2:1;80058:54:0;;;11308:21:1;11365:2;11345:18;;;11338:30;-1:-1:-1;;;11384:18:1;;;11377:46;11440:18;;80058:54:0;11124:340:1;80058:54:0;-1:-1:-1;;;;;80131:23:0;;80144:10;80131:23;;80123:53;;;;-1:-1:-1;;;80123:53:0;;10625:2:1;80123:53:0;;;10607:21:1;10664:2;10644:18;;;10637:30;-1:-1:-1;;;10683:18:1;;;10676:47;10740:18;;80123:53:0;10423:341:1;80123:53:0;80302:10;80285:28;;;;:16;:28;;;;;;80316:1;-1:-1:-1;80281:95:0;;;80351:10;80334:28;;;;:16;:28;;;;;:30;;;;;;:::i;:::-;;;;;;80281:95;-1:-1:-1;;;;;80489:27:0;;;;;;:16;:27;;;;;;80461:65;;80478:9;;80489:36;;80519:6;;80489:36;:::i;:::-;80461:16;:65::i;:::-;-1:-1:-1;;;;;80597:27:0;;;;;;:16;:27;;;;;:37;;80628:6;;80597:27;:37;;80628:6;;80597:37;:::i;:::-;;;;-1:-1:-1;;80688:25:0;;-1:-1:-1;;;;;80688:18:0;;;:25;;;;;80707:5;;80688:25;;;;80707:5;80688:18;:25;;;;;;;;;;;;;;;;;;;;;80724:29;80734:10;80746:6;80724:9;:29::i;:::-;-1:-1:-1;;;;;79419:1406:0:o;83754:88::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;83821:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;83754:88:::0;:::o;84053:124::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;84136:13:::1;:33:::0;84053:124::o;78477:40::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;78477:40:0;;:::o;19073:144::-;19137:7;19180:27;19199:7;19180:18;:27::i;14950:224::-;15014:7;-1:-1:-1;;;;;15038:19:0;;15034:60;;15066:28;;-1:-1:-1;;;15066:28:0;;;;;;;;;;;15034:60;-1:-1:-1;;;;;;15112:25:0;;;;;:18;:25;;;;;;10289:13;15112:54;;14950:224::o;44792:103::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;44857:30:::1;44884:1;44857:18;:30::i;:::-;44792:103::o:0;84375:84::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;84440:11:::1;::::0;;-1:-1:-1;;84425:26:0;::::1;84440:11;::::0;;::::1;84439:12;84425:26;::::0;;84375:84::o;84185:182::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;84283:9:::1;;84266:13;:26;;84258:65;;;::::0;-1:-1:-1;;;84258:65:0;;10971:2:1;84258:65:0::1;::::0;::::1;10953:21:1::0;11010:2;10990:18;;;10983:30;11049:28;11029:18;;;11022:56;11095:18;;84258:65:0::1;10769:350:1::0;84258:65:0::1;84334:9;:25:::0;84185:182::o;83953:92::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;84020:5:::1;:17:::0;83953:92::o;83850:95::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;83919:9:::1;:18:::0;83850:95::o;19453:104::-;19509:13;19542:7;19535:14;;;;;:::i;81595:638::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;81718:33;;::::1;81696:116;;;::::0;-1:-1:-1;;;81696:116:0;;10223:2:1;81696:116:0::1;::::0;::::1;10205:21:1::0;10262:2;10242:18;;;10235:30;10301:34;10281:18;;;10274:62;-1:-1:-1;;;10352:18:1;;;10345:31;10393:19;;81696:116:0::1;10021:397:1::0;81696:116:0::1;81823:21;81859:9:::0;81871:13:::1;:11;:13::i;:::-;81859:25;;81900:9;81895:97;81915:17:::0;;::::1;81895:97;;;81971:6;;81978:1;81971:9;;;;;;;:::i;:::-;;;;;;;81954:26;;;;;:::i;:::-;::::0;-1:-1:-1;81934:3:0::1;::::0;::::1;:::i;:::-;;;81895:97;;;-1:-1:-1::0;82031:9:0::1;::::0;82010:17:::1;82014:13:::0;82010:1;:17:::1;:::i;:::-;:30;;82002:55;;;::::0;-1:-1:-1;;;82002:55:0;;11671:2:1;82002:55:0::1;::::0;::::1;11653:21:1::0;11710:2;11690:18;;;11683:30;-1:-1:-1;;;11729:18:1;;;11722:42;11781:18;;82002:55:0::1;11469:336:1::0;82002:55:0::1;82068:20;;;82104:9;82099:108;82119:20:::0;;::::1;82099:108;;;82161:34;82171:9;;82181:1;82171:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;82185:6;;82192:1;82185:9;;;;;;;:::i;:::-;;;;;;;82161;:34::i;:::-;82141:3;::::0;::::1;:::i;:::-;;;82099:108;;;-1:-1:-1::0;;;;;;;81595:638:0:o;78760:651::-;78833:5;;78818:12;78861:13;:11;:13::i;:::-;78849:25;-1:-1:-1;78906:13:0;78915:4;78906:6;:13;:::i;:::-;78893:9;:26;;78885:59;;;;-1:-1:-1;;;78885:59:0;;13472:2:1;78885:59:0;;;13454:21:1;13511:2;13491:18;;;13484:30;-1:-1:-1;;;13530:18:1;;;13523:50;13590:18;;78885:59:0;13270:344:1;78885:59:0;78976:9;;:13;;78988:1;78976:13;:::i;:::-;78963:10;78967:6;78963:1;:10;:::i;:::-;:26;78955:47;;;;-1:-1:-1;;;78955:47:0;;;;;;;:::i;:::-;79021:11;;;;79013:47;;;;-1:-1:-1;;;79013:47:0;;;;;;;:::i;:::-;79088:8;;:12;;79099:1;79088:12;:::i;:::-;79079:6;:21;79071:52;;;;-1:-1:-1;;;79071:52:0;;13125:2:1;79071:52:0;;;13107:21:1;13164:2;13144:18;;;13137:30;-1:-1:-1;;;13183:18:1;;;13176:48;13241:18;;79071:52:0;12923:342:1;79071:52:0;79249:10;79232:28;;;;:16;:28;;;;;;79263:1;-1:-1:-1;79228:95:0;;;79298:10;79281:28;;;;:16;:28;;;;;:30;;;;;;:::i;:::-;;;;;;79228:95;79333:29;79343:10;79355:6;79333:9;:29::i;21628:308::-;-1:-1:-1;;;;;21727:31:0;;37455:10;21727:31;21723:61;;;21767:17;;-1:-1:-1;;;21767:17:0;;;;;;;;;;;21723:61;37455:10;21797:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;21797:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;21797:60:0;;;;;;;;;;21873:55;;8635:41:1;;;21797:49:0;;37455:10;21873:55;;8608:18:1;21873:55:0;;;;;;;21628:308;;:::o;80833:754::-;80939:10;80895:23;80921:29;;;:17;:29;;;;;;;80973:13;:11;:13::i;:::-;80961:25;;81018:9;;81030:1;81018:13;;;;:::i;:::-;81005:10;81009:6;81005:1;:10;:::i;:::-;:26;80997:47;;;;-1:-1:-1;;;80997:47:0;;;;;;;:::i;:::-;81063:11;;;;81055:47;;;;-1:-1:-1;;;81055:47:0;;;;;;;:::i;:::-;81149:16;;81121:24;81139:6;81121:15;:24;:::i;:::-;:44;;81113:79;;;;-1:-1:-1;;;81113:79:0;;9872:2:1;81113:79:0;;;9854:21:1;9911:2;9891:18;;;9884:30;-1:-1:-1;;;9930:18:1;;;9923:52;9992:18;;81113:79:0;9670:346:1;81113:79:0;81351:10;81203:22;81334:28;;;:16;:28;;;;;;81203:22;;-1:-1:-1;81365:1:0;-1:-1:-1;81330:103:0;;;81400:10;81383:28;;;;:16;:28;;;;;:38;;81415:6;;81383:28;:38;;81415:6;;81383:38;:::i;:::-;;;;-1:-1:-1;;81330:103:0;81461:10;81443:29;;;;:17;:29;;;;;:31;;;;;;:::i;:::-;;;;;;81504:16;;81485:15;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;81531:29:0;;-1:-1:-1;81541:10:0;81553:6;81531:9;:29::i;22735:396::-;22902:28;22912:4;22918:2;22922:7;22902:9;:28::i;:::-;-1:-1:-1;;;;;22945:14:0;;;:19;22941:183;;22984:56;23015:4;23021:2;23025:7;23034:5;22984:30;:56::i;:::-;22979:145;;23068:40;;-1:-1:-1;;;23068:40:0;;;;;;;;;;;22979:145;22735:396;;;;:::o;83437:309::-;83519:13;83567:16;83575:7;83567;:16::i;:::-;83545:113;;;;-1:-1:-1;;;83545:113:0;;12373:2:1;83545:113:0;;;12355:21:1;12412:2;12392:18;;;12385:30;12451:34;12431:18;;;12424:62;-1:-1:-1;;;12502:18:1;;;12495:45;12557:19;;83545:113:0;12171:411:1;83545:113:0;83700:7;83709:18;:7;:16;:18::i;:::-;83683:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83669:69;;83437:309;;;:::o;45050:201::-;44214:6;;-1:-1:-1;;;;;44214:6:0;37455:10;44361:23;44353:68;;;;-1:-1:-1;;;44353:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45139:22:0;::::1;45131:73;;;::::0;-1:-1:-1;;;45131:73:0;;9465:2:1;45131:73:0::1;::::0;::::1;9447:21:1::0;9504:2;9484:18;;;9477:30;9543:34;9523:18;;;9516:62;-1:-1:-1;;;9594:18:1;;;9587:36;9640:19;;45131:73:0::1;9263:402:1::0;45131:73:0::1;45215:28;45234:8;45215:18;:28::i;:::-;45050:201:::0;:::o;23386:273::-;23443:4;23499:7;12931:1;23480:26;;:66;;;;;23533:13;;23523:7;:23;23480:66;:152;;;;-1:-1:-1;;23584:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;23584:43:0;:48;;23386:273::o;16588:1129::-;16655:7;16690;;12931:1;16739:23;16735:915;;16792:13;;16785:4;:20;16781:869;;;16830:14;16847:23;;;:17;:23;;;;;;-1:-1:-1;;;16936:23:0;;16932:699;;17455:113;17462:11;17455:113;;-1:-1:-1;;;17533:6:0;17515:25;;;;:17;:25;;;;;;17455:113;;;17601:6;16588:1129;-1:-1:-1;;;16588:1129:0:o;16932:699::-;16807:843;16781:869;17678:31;;-1:-1:-1;;;17678:31:0;;;;;;;;;;;28625:2515;28740:27;28770;28789:7;28770:18;:27::i;:::-;28740:57;;28855:4;-1:-1:-1;;;;;28814:45:0;28830:19;-1:-1:-1;;;;;28814:45:0;;28810:86;;28868:28;;-1:-1:-1;;;28868:28:0;;;;;;;;;;;28810:86;28909:22;37455:10;-1:-1:-1;;;;;28935:27:0;;;;:87;;-1:-1:-1;28979:43:0;28996:4;37455:10;22007:164;:::i;28979:43::-;28935:147;;;-1:-1:-1;37455:10:0;29039:20;29051:7;29039:11;:20::i;:::-;-1:-1:-1;;;;;29039:43:0;;28935:147;28909:174;;29101:17;29096:66;;29127:35;;-1:-1:-1;;;29127:35:0;;;;;;;;;;;29096:66;-1:-1:-1;;;;;29177:16:0;;29173:52;;29202:23;;-1:-1:-1;;;29202:23:0;;;;;;;;;;;29173:52;29354:24;;;;:15;:24;;;;;;;;29347:31;;-1:-1:-1;;;;;;29347:31:0;;;-1:-1:-1;;;;;29746:24:0;;;;;:18;:24;;;;;29744:26;;-1:-1:-1;;29744:26:0;;;29815:22;;;;;;;29813:24;;-1:-1:-1;29813:24:0;;;30108:26;;;:17;:26;;;;;-1:-1:-1;;;30196:15:0;10943:3;30196:41;30154:84;;:128;;30108:174;;;30402:46;;30398:626;;30506:1;30496:11;;30474:19;30629:30;;;:17;:30;;;;;;30625:384;;30767:13;;30752:11;:28;30748:242;;30914:30;;;;:17;:30;;;;;:52;;;30748:242;30455:569;30398:626;31071:7;31067:2;-1:-1:-1;;;;;31052:27:0;31061:4;-1:-1:-1;;;;;31052:27:0;;;;;;;;;;;31090:42;22735:396;82241:1072;82322:9;82404:254;82415:26;82411:1;:30;82404:254;;;82497:4;-1:-1:-1;;;;;82466:35:0;:19;82486:1;82466:22;;;;;;;:::i;:::-;;;;:27;;;-1:-1:-1;;;;;82466:27:0;:35;82463:80;;;82522:5;;82463:80;82593:12;82560:19;82580:1;82560:22;;;;;;;:::i;:::-;;;;:30;:45;82557:90;;;82626:5;;82557:90;82443:3;;;;:::i;:::-;;;;82404:254;;;82676:26;82672:1;:30;82668:619;;;82825:4;-1:-1:-1;;;;;82794:35:0;:19;82814:1;82794:22;;;;;;;:::i;:::-;;;;:27;;;-1:-1:-1;;;;;82794:27:0;:35;82790:329;;82854:9;82866:30;82895:1;82866:26;:30;:::i;:::-;82854:42;;82850:254;82902:1;82898;:5;82850:254;;;82966:19;82986:5;82990:1;82986;:5;:::i;:::-;82966:26;;;;;;;:::i;:::-;;;;:34;82933:19;82953:1;82933:22;;;;;;;:::i;:::-;;;;:67;83053:19;83073:5;83077:1;83073;:5;:::i;:::-;83053:26;;;;;;;:::i;:::-;;;;:31;;;-1:-1:-1;;;;;83053:31:0;83023:19;83043:1;83023:22;;;;;;;:::i;:::-;;;;:27;;;:61;;;;;-1:-1:-1;;;;;83023:61:0;;;;;-1:-1:-1;;;;;83023:61:0;;;;;;82905:3;;;;;:::i;:::-;;;;82850:254;;;;82790:329;83214:12;83181:19;83201:1;83181:22;;;;;;;:::i;:::-;;;;:45;83271:4;83241:19;83261:1;83241:22;;;;;;;:::i;:::-;;;;:27;;;:34;;;;;-1:-1:-1;;;;;83241:34:0;;;;;-1:-1:-1;;;;;83241:34:0;;;;;;-1:-1:-1;;;82241:1072:0:o;23743:104::-;23812:27;23822:2;23826:8;23812:27;;;;;;;;;;;;:9;:27::i;45411:191::-;45504:6;;;-1:-1:-1;;;;;45521:17:0;;;-1:-1:-1;;;;;;45521:17:0;;;;;;;45554:40;;45504:6;;;45521:17;45504:6;;45554:40;;45485:16;;45554:40;45474:128;45411:191;:::o;34837:716::-;35021:88;;-1:-1:-1;;;35021:88:0;;35000:4;;-1:-1:-1;;;;;35021:45:0;;;;;:88;;37455:10;;35088:4;;35094:7;;35103:5;;35021:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35021:88:0;;;;;;;;-1:-1:-1;;35021:88:0;;;;;;;;;;;;:::i;:::-;;;35017:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35304:13:0;;35300:235;;35350:40;;-1:-1:-1;;;35350:40:0;;;;;;;;;;;35300:235;35493:6;35487:13;35478:6;35474:2;35470:15;35463:38;35017:529;-1:-1:-1;;;;;;35180:64:0;-1:-1:-1;;;35180:64:0;;-1:-1:-1;35017:529:0;34837:716;;;;;;:::o;40013:723::-;40069:13;40290:10;40286:53;;-1:-1:-1;;40317:10:0;;;;;;;;;;;;-1:-1:-1;;;40317:10:0;;;;;40013:723::o;40286:53::-;40364:5;40349:12;40405:78;40412:9;;40405:78;;40438:8;;;;:::i;:::-;;-1:-1:-1;40461:10:0;;-1:-1:-1;40469:2:0;40461:10;;:::i;:::-;;;40405:78;;;40493:19;40525:6;40515:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40515:17:0;;40493:39;;40543:154;40550:10;;40543:154;;40577:11;40587:1;40577:11;;:::i;:::-;;-1:-1:-1;40646:10:0;40654:2;40646:5;:10;:::i;:::-;40633:24;;:2;:24;:::i;:::-;40620:39;;40603:6;40610;40603:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;40603:56:0;;;;;;;;-1:-1:-1;40674:11:0;40683:2;40674:11;;:::i;:::-;;;40543:154;;24220:2236;24343:20;24366:13;-1:-1:-1;;;;;24394:16:0;;24390:48;;24419:19;;-1:-1:-1;;;24419:19:0;;;;;;;;;;;24390:48;24453:13;24449:44;;24475:18;;-1:-1:-1;;;24475:18:0;;;;;;;;;;;24449:44;-1:-1:-1;;;;;25042:22:0;;;;;;:18;:22;;;;10426:2;25042:22;;;:70;;25080:31;25068:44;;25042:70;;;25355:31;;;:17;:31;;;;;25448:15;10943:3;25448:41;25406:84;;-1:-1:-1;25526:13:0;;11206:3;25511:56;25406:162;25355:213;;:31;;25649:23;;;;25693:14;:19;25689:635;;25733:313;25764:38;;25789:12;;-1:-1:-1;;;;;25764:38:0;;;25781:1;;25764:38;;25781:1;;25764:38;25830:69;25869:1;25873:2;25877:14;;;;;;25893:5;25830:30;:69::i;:::-;25825:174;;25935:40;;-1:-1:-1;;;25935:40:0;;;;;;;;;;;25825:174;26041:3;26026:12;:18;25733:313;;26127:12;26110:13;;:29;26106:43;;26141:8;;;26106:43;25689:635;;;26190:119;26221:40;;26246:14;;;;;-1:-1:-1;;;;;26221:40:0;;;26238:1;;26221:40;;26238:1;;26221:40;26304:3;26289:12;:18;26190:119;;25689:635;-1:-1:-1;26338:13:0;:28;;;26388:60;;26421:2;26425:12;26439:8;26388:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:367::-;713:8;723:6;777:3;770:4;762:6;758:17;754:27;744:55;;795:1;792;785:12;744:55;-1:-1:-1;818:20:1;;861:18;850:30;;847:50;;;893:1;890;883:12;847:50;930:4;922:6;918:17;906:29;;990:3;983:4;973:6;970:1;966:14;958:6;954:27;950:38;947:47;944:67;;;1007:1;1004;997:12;944:67;650:367;;;;;:::o;1022:247::-;1081:6;1134:2;1122:9;1113:7;1109:23;1105:32;1102:52;;;1150:1;1147;1140:12;1102:52;1189:9;1176:23;1208:31;1233:5;1208:31;:::i;1274:388::-;1342:6;1350;1403:2;1391:9;1382:7;1378:23;1374:32;1371:52;;;1419:1;1416;1409:12;1371:52;1458:9;1445:23;1477:31;1502:5;1477:31;:::i;:::-;1527:5;-1:-1:-1;1584:2:1;1569:18;;1556:32;1597:33;1556:32;1597:33;:::i;:::-;1649:7;1639:17;;;1274:388;;;;;:::o;1667:456::-;1744:6;1752;1760;1813:2;1801:9;1792:7;1788:23;1784:32;1781:52;;;1829:1;1826;1819:12;1781:52;1868:9;1855:23;1887:31;1912:5;1887:31;:::i;:::-;1937:5;-1:-1:-1;1994:2:1;1979:18;;1966:32;2007:33;1966:32;2007:33;:::i;:::-;1667:456;;2059:7;;-1:-1:-1;;;2113:2:1;2098:18;;;;2085:32;;1667:456::o;2128:794::-;2223:6;2231;2239;2247;2300:3;2288:9;2279:7;2275:23;2271:33;2268:53;;;2317:1;2314;2307:12;2268:53;2356:9;2343:23;2375:31;2400:5;2375:31;:::i;:::-;2425:5;-1:-1:-1;2482:2:1;2467:18;;2454:32;2495:33;2454:32;2495:33;:::i;:::-;2547:7;-1:-1:-1;2601:2:1;2586:18;;2573:32;;-1:-1:-1;2656:2:1;2641:18;;2628:32;2683:18;2672:30;;2669:50;;;2715:1;2712;2705:12;2669:50;2738:22;;2791:4;2783:13;;2779:27;-1:-1:-1;2769:55:1;;2820:1;2817;2810:12;2769:55;2843:73;2908:7;2903:2;2890:16;2885:2;2881;2877:11;2843:73;:::i;:::-;2833:83;;;2128:794;;;;;;;:::o;2927:416::-;2992:6;3000;3053:2;3041:9;3032:7;3028:23;3024:32;3021:52;;;3069:1;3066;3059:12;3021:52;3108:9;3095:23;3127:31;3152:5;3127:31;:::i;:::-;3177:5;-1:-1:-1;3234:2:1;3219:18;;3206:32;3276:15;;3269:23;3257:36;;3247:64;;3307:1;3304;3297:12;3348:315;3416:6;3424;3477:2;3465:9;3456:7;3452:23;3448:32;3445:52;;;3493:1;3490;3483:12;3445:52;3532:9;3519:23;3551:31;3576:5;3551:31;:::i;:::-;3601:5;3653:2;3638:18;;;;3625:32;;-1:-1:-1;;;3348:315:1:o;3668:773::-;3790:6;3798;3806;3814;3867:2;3855:9;3846:7;3842:23;3838:32;3835:52;;;3883:1;3880;3873:12;3835:52;3923:9;3910:23;3952:18;3993:2;3985:6;3982:14;3979:34;;;4009:1;4006;3999:12;3979:34;4048:70;4110:7;4101:6;4090:9;4086:22;4048:70;:::i;:::-;4137:8;;-1:-1:-1;4022:96:1;-1:-1:-1;4225:2:1;4210:18;;4197:32;;-1:-1:-1;4241:16:1;;;4238:36;;;4270:1;4267;4260:12;4238:36;;4309:72;4373:7;4362:8;4351:9;4347:24;4309:72;:::i;:::-;3668:773;;;;-1:-1:-1;4400:8:1;-1:-1:-1;;;;3668:773:1:o;4446:245::-;4504:6;4557:2;4545:9;4536:7;4532:23;4528:32;4525:52;;;4573:1;4570;4563:12;4525:52;4612:9;4599:23;4631:30;4655:5;4631:30;:::i;4696:249::-;4765:6;4818:2;4806:9;4797:7;4793:23;4789:32;4786:52;;;4834:1;4831;4824:12;4786:52;4866:9;4860:16;4885:30;4909:5;4885:30;:::i;4950:450::-;5019:6;5072:2;5060:9;5051:7;5047:23;5043:32;5040:52;;;5088:1;5085;5078:12;5040:52;5128:9;5115:23;5161:18;5153:6;5150:30;5147:50;;;5193:1;5190;5183:12;5147:50;5216:22;;5269:4;5261:13;;5257:27;-1:-1:-1;5247:55:1;;5298:1;5295;5288:12;5247:55;5321:73;5386:7;5381:2;5368:16;5363:2;5359;5355:11;5321:73;:::i;5405:180::-;5464:6;5517:2;5505:9;5496:7;5492:23;5488:32;5485:52;;;5533:1;5530;5523:12;5485:52;-1:-1:-1;5556:23:1;;5405:180;-1:-1:-1;5405:180:1:o;5590:323::-;5666:6;5674;5727:2;5715:9;5706:7;5702:23;5698:32;5695:52;;;5743:1;5740;5733:12;5695:52;5779:9;5766:23;5756:33;;5839:2;5828:9;5824:18;5811:32;5852:31;5877:5;5852:31;:::i;5918:257::-;5959:3;5997:5;5991:12;6024:6;6019:3;6012:19;6040:63;6096:6;6089:4;6084:3;6080:14;6073:4;6066:5;6062:16;6040:63;:::i;:::-;6157:2;6136:15;-1:-1:-1;;6132:29:1;6123:39;;;;6164:4;6119:50;;5918:257;-1:-1:-1;;5918:257:1:o;6180:185::-;6222:3;6260:5;6254:12;6275:52;6320:6;6315:3;6308:4;6301:5;6297:16;6275:52;:::i;:::-;6343:16;;;;;6180:185;-1:-1:-1;;6180:185:1:o;6488:1301::-;6765:3;6794:1;6827:6;6821:13;6857:3;6879:1;6907:9;6903:2;6899:18;6889:28;;6967:2;6956:9;6952:18;6989;6979:61;;7033:4;7025:6;7021:17;7011:27;;6979:61;7059:2;7107;7099:6;7096:14;7076:18;7073:38;7070:165;;;-1:-1:-1;;;7134:33:1;;7190:4;7187:1;7180:15;7220:4;7141:3;7208:17;7070:165;7251:18;7278:104;;;;7396:1;7391:320;;;;7244:467;;7278:104;-1:-1:-1;;7311:24:1;;7299:37;;7356:16;;;;-1:-1:-1;7278:104:1;;7391:320;14153:1;14146:14;;;14190:4;14177:18;;7486:1;7500:165;7514:6;7511:1;7508:13;7500:165;;;7592:14;;7579:11;;;7572:35;7635:16;;;;7529:10;;7500:165;;;7504:3;;7694:6;7689:3;7685:16;7678:23;;7244:467;;;;;;;7727:56;7752:30;7778:3;7770:6;7752:30;:::i;:::-;-1:-1:-1;;;6430:20:1;;6475:1;6466:11;;6370:113;7727:56;7720:63;6488:1301;-1:-1:-1;;;;;6488:1301:1:o;8002:488::-;-1:-1:-1;;;;;8271:15:1;;;8253:34;;8323:15;;8318:2;8303:18;;8296:43;8370:2;8355:18;;8348:34;;;8418:3;8413:2;8398:18;;8391:31;;;8196:4;;8439:45;;8464:19;;8456:6;8439:45;:::i;:::-;8431:53;8002:488;-1:-1:-1;;;;;;8002:488:1:o;8687:219::-;8836:2;8825:9;8818:21;8799:4;8856:44;8896:2;8885:9;8881:18;8873:6;8856:44;:::i;8911:347::-;9113:2;9095:21;;;9152:2;9132:18;;;9125:30;9191:25;9186:2;9171:18;;9164:53;9249:2;9234:18;;8911:347::o;11810:356::-;12012:2;11994:21;;;12031:18;;;12024:30;12090:34;12085:2;12070:18;;12063:62;12157:2;12142:18;;11810:356::o;12587:331::-;12789:2;12771:21;;;12828:1;12808:18;;;12801:29;-1:-1:-1;;;12861:2:1;12846:18;;12839:38;12909:2;12894:18;;12587:331::o;14206:128::-;14246:3;14277:1;14273:6;14270:1;14267:13;14264:39;;;14283:18;;:::i;:::-;-1:-1:-1;14319:9:1;;14206:128::o;14339:120::-;14379:1;14405;14395:35;;14410:18;;:::i;:::-;-1:-1:-1;14444:9:1;;14339:120::o;14464:168::-;14504:7;14570:1;14566;14562:6;14558:14;14555:1;14552:21;14547:1;14540:9;14533:17;14529:45;14526:71;;;14577:18;;:::i;:::-;-1:-1:-1;14617:9:1;;14464:168::o;14637:125::-;14677:4;14705:1;14702;14699:8;14696:34;;;14710:18;;:::i;:::-;-1:-1:-1;14747:9:1;;14637:125::o;14767:258::-;14839:1;14849:113;14863:6;14860:1;14857:13;14849:113;;;14939:11;;;14933:18;14920:11;;;14913:39;14885:2;14878:10;14849:113;;;14980:6;14977:1;14974:13;14971:48;;;-1:-1:-1;;15015:1:1;14997:16;;14990:27;14767:258::o;15030:136::-;15069:3;15097:5;15087:39;;15106:18;;:::i;:::-;-1:-1:-1;;;15142:18:1;;15030:136::o;15171:380::-;15250:1;15246:12;;;;15293;;;15314:61;;15368:4;15360:6;15356:17;15346:27;;15314:61;15421:2;15413:6;15410:14;15390:18;15387:38;15384:161;;;15467:10;15462:3;15458:20;15455:1;15448:31;15502:4;15499:1;15492:15;15530:4;15527:1;15520:15;15384:161;;15171:380;;;:::o;15556:135::-;15595:3;-1:-1:-1;;15616:17:1;;15613:43;;;15636:18;;:::i;:::-;-1:-1:-1;15683:1:1;15672:13;;15556:135::o;15696:112::-;15728:1;15754;15744:35;;15759:18;;:::i;:::-;-1:-1:-1;15793:9:1;;15696:112::o;15813:127::-;15874:10;15869:3;15865:20;15862:1;15855:31;15905:4;15902:1;15895:15;15929:4;15926:1;15919:15;15945:127;16006:10;16001:3;15997:20;15994:1;15987:31;16037:4;16034:1;16027:15;16061:4;16058:1;16051:15;16077:127;16138:10;16133:3;16129:20;16126:1;16119:31;16169:4;16166:1;16159:15;16193:4;16190:1;16183:15;16209:127;16270:10;16265:3;16261:20;16258:1;16251:31;16301:4;16298:1;16291:15;16325:4;16322:1;16315:15;16341:131;-1:-1:-1;;;;;16416:31:1;;16406:42;;16396:70;;16462:1;16459;16452:12;16477:131;-1:-1:-1;;;;;;16551:32:1;;16541:43;;16531:71;;16598:1;16595;16588:12
Swarm Source
ipfs://cd7860b7ca69cec39bae69c668d65f2abbbfb4ee4b0a4d24b4afb48bc24d501b
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.