ERC-721
Overview
Max Total Supply
3,056 ZOOMER
Holders
528
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 ZOOMERLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MoonHeadsZooMers
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-05 */ // SPDX-License-Identifier: MIT 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 @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) /** * @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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) /** * @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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) /** * @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 @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) /** * @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 @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @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 erc721a/contracts/[email protected] // Creator: Chiru Labs error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @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 Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. 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; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * 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 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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].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 { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * 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) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // 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. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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, 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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @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 override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 { _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.isContract() && !_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 && !_ownerships[tokenId].burned; } 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 { _mint(to, quantity, _data, true); } /** * @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, bytes memory _data, bool safe ) 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 { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { 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 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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == 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 {} } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) /** * @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: balance query for the zero address"); 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 overriden 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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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 a {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 a {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: * * - 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 @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) /** * @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 @openzeppelin/contracts/security/[email protected] // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File contracts/NFT.sol contract MoonHeadsZooMers is EIP712, ERC721A, Ownable { using Strings for uint256; string private constant SIGNING_DOMAIN = "NFT"; string private constant SIGNATURE_VERSION = "1"; uint256 public constant MAX_SUPPLY = 5000; uint256 public constant MAX_PUBLIC_MINT_PER_TRANSACTION = 10; address private whiteListeSigner = 0x134296f1C8C636F191e79Dee1Ba2457c89D9117A; bool public whitelistSaleIsActive = false; mapping(address => uint256) public whitelistAmountMintedPerWallet; bool public saleIsActive = false; uint256 public tokenPrice = 0 ether; struct FeesWallets { address wallet; uint256 fees; // Percentage X 100 } FeesWallets[] public feesWallets; struct Reveal { uint256 index; uint256 amount; uint256 endIndex; uint256 rand; } Reveal[] private reveals; string public unrevealedTokenUri = ""; bool public isRevealed = false; bool public isBaseUrlFrozen = false; string public baseUri; constructor() ERC721A("MoonHeads ZooMers", "ZOOMER") EIP712(SIGNING_DOMAIN, SIGNATURE_VERSION) { // Smartcontract Dev fees feesWallets.push( FeesWallets(0xffe6788BE411C4353B3b2c546D0401D4d8B2b3eD, 500) ); } function buyTokens(uint256 numberOfTokens) public payable { require(saleIsActive, "sale not open"); applyBuyToken(numberOfTokens, tokenPrice); } function applyBuyToken(uint256 numberOfTokens, uint256 price) private { uint256 ts = totalSupply(); require(msg.sender == tx.origin); require(ts + numberOfTokens <= MAX_SUPPLY, "not enough supply"); require(price * numberOfTokens <= msg.value, "invalid ethers sent"); require( numberOfTokens <= MAX_PUBLIC_MINT_PER_TRANSACTION, "too many token per transaction" ); _safeMint(msg.sender, numberOfTokens); } function buyTokenWithWhiteList( uint256 numberOfTokens, uint256 price, uint256 maxPerWallet, bytes calldata signature ) public payable { require(whitelistSaleIsActive, "whitelist sale not open"); verifyWhitelistSignature(signature, msg.sender, price, maxPerWallet); whitelistAmountMintedPerWallet[msg.sender] += numberOfTokens; require( whitelistAmountMintedPerWallet[msg.sender] <= maxPerWallet, "Max minted with whitelist" ); applyBuyToken(numberOfTokens, price); } function verifyWhitelistSignature( bytes calldata signature, address targetWallet, uint256 price, uint256 maxPerWallet ) internal view { bytes32 digest = hashWhitelisteSignature(targetWallet, price, maxPerWallet); address result = ECDSA.recover(digest, signature); require(result == whiteListeSigner, "bad signature"); } function hashWhitelisteSignature(address targetWallet, uint256 price, uint256 maxPerWallet) internal view returns (bytes32) { return _hashTypedDataV4( keccak256( abi.encode( keccak256("Ticket(address wallet,uint256 price,uint256 maxPerWallet)"), targetWallet, price, maxPerWallet ) ) ); } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); if (reveals.length == 0) { return unrevealedTokenUri; } uint256 baseReveal = reveals[0].rand % MAX_SUPPLY; for (uint256 i = 0; i < reveals.length; i++) { Reveal memory currentReveal = reveals[i]; if ( tokenId >= currentReveal.index && tokenId <= currentReveal.endIndex ) { uint256 localStart = (currentReveal.rand % currentReveal.amount); uint256 localId = currentReveal.index + ((localStart + tokenId) % currentReveal.amount); uint256 baseTokenId = (localId + (baseReveal * 7)) % MAX_SUPPLY; return bytes(baseUri).length > 0 ? string( abi.encodePacked(baseUri, baseTokenId.toString()) ) : ""; } } return unrevealedTokenUri; } // Admins functions ############################################################################################ function reveal() external onlyOwner { Reveal memory newReveal; uint256 supply = totalSupply(); uint256 rand = uint256( keccak256(abi.encodePacked(block.difficulty, block.timestamp)) ) % block.timestamp; if (reveals.length == 0) { newReveal.index = 0; newReveal.amount = supply; newReveal.endIndex = supply - 1; newReveal.rand = rand; } else { uint256 index = reveals[reveals.length - 1].endIndex + 1; uint256 amount = supply - index; uint256 endIndex = supply - 1; newReveal.index = index; newReveal.amount = amount; newReveal.endIndex = endIndex; newReveal.rand = rand; } reveals.push(newReveal); } function setBaseURI(string memory newBaseUri) external onlyOwner { require(!isBaseUrlFrozen, "Base URI is frozen"); baseUri = newBaseUri; } function freezeBaseUrl() external onlyOwner { isBaseUrlFrozen = true; } function setUnrevealedURI(string memory unrevealedTokenUri_) external onlyOwner { unrevealedTokenUri = unrevealedTokenUri_; } function setSaleState(bool newState) public onlyOwner { saleIsActive = newState; } function setWhitelisteSaleState(bool newState) public onlyOwner { whitelistSaleIsActive = newState; } function setWhiteListSigner(address signer) external onlyOwner { whiteListeSigner = signer; } function setTokenPrice(uint256 priceInWei) external onlyOwner { tokenPrice = priceInWei; } function addFeesWallet(address wallet, uint256 feesPercentageX100) public onlyOwner { uint256 totalFees = 0; for (uint256 i = 0; i < feesWallets.length; i++) { totalFees += feesWallets[i].fees; } require( totalFees + feesPercentageX100 < 10000, "Total percent over 100" ); feesWallets.push(FeesWallets(wallet, feesPercentageX100)); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; for (uint256 i = 0; i < feesWallets.length; i++) { uint256 fee = (balance * feesWallets[i].fees) / 10000; payable(feesWallets[i].wallet).call{value: fee}(""); } payable(msg.sender).call{value: 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":[],"name":"MAX_PUBLIC_MINT_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"feesPercentageX100","type":"uint256"}],"name":"addFeesWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"buyTokenWithWhiteList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feesWallets","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"fees","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBaseUrlFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"newBaseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"unrevealedTokenUri_","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setWhiteListSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setWhitelisteSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistAmountMintedPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600980546001600160a81b03191673134296f1c8c636f191e79dee1ba2457c89d9117a179055600b805460ff191690556000600c81905561016060408190526101408290526200005391600f9190620002db565b506010805461ffff191690553480156200006c57600080fd5b5060408051808201825260118152704d6f6f6e4865616473205a6f6f4d65727360781b6020808301919091528251808401845260068152652d27a7a6a2a960d11b8183015283518085018552600381526213919560ea1b818401908152855180870190965260018652603160f81b93860193909352805190922060e08190527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66101008190524660a052939491937f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200018b8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6080523060601b60c0526101205250508351620001b29250600291506020850190620002db565b508051620001c8906003906020840190620002db565b50506000805550620001da3362000289565b6040805180820190915273ffe6788be411c4353b3b2c546d0401d4d8b2b3ed81526101f460208201908152600d805460018101825560009190915291517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5600290930292830180546001600160a01b0319166001600160a01b03909216919091179055517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb690910155620003be565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002e99062000381565b90600052602060002090601f0160209004810192826200030d576000855562000358565b82601f106200032857805160ff191683800117855562000358565b8280016001018555821562000358579182015b82811115620003585782518255916020019190600101906200033b565b50620003669291506200036a565b5090565b5b808211156200036657600081556001016200036b565b600181811c908216806200039657607f821691505b60208210811415620003b857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160601c60e0516101005161012051612d1562000411600039600061244c0152600061249b01526000612476015260006123cf015260006123f9015260006124230152612d156000f3fe60806040526004361061023b5760003560e01c806370a082311161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610672578063e985e9c514610692578063eb8d2444146106db578063f2fde38b146106f5578063fe2c7fee1461071557600080fd5b8063a22cb465146105ea578063a475b5dd1461060a578063b3fbe7dd1461061f578063b88d4fde14610632578063c4e370951461065257600080fd5b806384bdb6e0116100f257806384bdb6e0146105635780638da5cb5b1461058357806395d89b41146105a15780639abc8320146105b65780639dcacf24146105cb57600080fd5b806370a08231146104cb578063715018a6146104eb57806375ebbee1146105005780637d53f26d1461052d5780637ff9b5961461054d57600080fd5b806332cb6b0c116101bc57806346764cd61161018057806346764cd61461043c57806354214f691461045157806355f804b31461046b5780636352211e1461048b5780636a61e5fc146104ab57600080fd5b806332cb6b0c1461039f5780633610724e146103b55780633854cb07146103c85780633ccfd60b1461040757806342842e0e1461041c57600080fd5b80630b690d05116102035780630b690d051461030657806310b5454d1461032657806318160ddd1461034757806323b872dd1461036a5780632e9231ab1461038a57600080fd5b806301ffc9a71461024057806306c536ab1461027557806306fdde0314610297578063081812fc146102ac578063095ea7b3146102e4575b600080fd5b34801561024c57600080fd5b5061026061025b3660046128c6565b610735565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610787565b60405161026c9190612b1b565b3480156102a357600080fd5b5061028a610815565b3480156102b857600080fd5b506102cc6102c7366004612949565b6108a7565b6040516001600160a01b03909116815260200161026c565b3480156102f057600080fd5b506103046102ff366004612881565b6108eb565b005b34801561031257600080fd5b50610304610321366004612881565b610979565b34801561033257600080fd5b5060095461026090600160a01b900460ff1681565b34801561035357600080fd5b50600154600054035b60405190815260200161026c565b34801561037657600080fd5b5061030461038536600461279f565b610ae8565b34801561039657600080fd5b5061035c600a81565b3480156103ab57600080fd5b5061035c61138881565b6103046103c3366004612949565b610af3565b3480156103d457600080fd5b506103e86103e3366004612949565b610b44565b604080516001600160a01b03909316835260208301919091520161026c565b34801561041357600080fd5b50610304610b7c565b34801561042857600080fd5b5061030461043736600461279f565b610cc9565b34801561044857600080fd5b50610304610ce4565b34801561045d57600080fd5b506010546102609060ff1681565b34801561047757600080fd5b50610304610486366004612900565b610d1f565b34801561049757600080fd5b506102cc6104a6366004612949565b610dad565b3480156104b757600080fd5b506103046104c6366004612949565b610dbf565b3480156104d757600080fd5b5061035c6104e636600461274a565b610dee565b3480156104f757600080fd5b50610304610e3d565b34801561050c57600080fd5b5061035c61051b36600461274a565b600a6020526000908152604090205481565b34801561053957600080fd5b506103046105483660046128ab565b610e73565b34801561055957600080fd5b5061035c600c5481565b34801561056f57600080fd5b5061030461057e36600461274a565b610ebb565b34801561058f57600080fd5b506008546001600160a01b03166102cc565b3480156105ad57600080fd5b5061028a610f07565b3480156105c257600080fd5b5061028a610f16565b3480156105d757600080fd5b5060105461026090610100900460ff1681565b3480156105f657600080fd5b50610304610605366004612857565b610f23565b34801561061657600080fd5b50610304610fb9565b61030461062d366004612962565b6111bd565b34801561063e57600080fd5b5061030461064d3660046127db565b6112b7565b34801561065e57600080fd5b5061030461066d3660046128ab565b611302565b34801561067e57600080fd5b5061028a61068d366004612949565b61133f565b34801561069e57600080fd5b506102606106ad36600461276c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106e757600080fd5b50600b546102609060ff1681565b34801561070157600080fd5b5061030461071036600461274a565b61162c565b34801561072157600080fd5b50610304610730366004612900565b6116c4565b60006001600160e01b031982166380ac58cd60e01b148061076657506001600160e01b03198216635b5e139f60e01b145b8061078157506301ffc9a760e01b6001600160e01b03198316145b92915050565b600f805461079490612bf1565b80601f01602080910402602001604051908101604052809291908181526020018280546107c090612bf1565b801561080d5780601f106107e25761010080835404028352916020019161080d565b820191906000526020600020905b8154815290600101906020018083116107f057829003601f168201915b505050505081565b60606002805461082490612bf1565b80601f016020809104026020016040519081016040528092919081815260200182805461085090612bf1565b801561089d5780601f106108725761010080835404028352916020019161089d565b820191906000526020600020905b81548152906001019060200180831161088057829003601f168201915b5050505050905090565b60006108b282611701565b6108cf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108f682610dad565b9050806001600160a01b0316836001600160a01b0316141561092b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061094b575061094981336106ad565b155b15610969576040516367d9dca160e11b815260040160405180910390fd5b61097483838361172c565b505050565b6008546001600160a01b031633146109ac5760405162461bcd60e51b81526004016109a390612b2e565b60405180910390fd5b6000805b600d548110156109fe57600d81815481106109cd576109cd612c9d565b906000526020600020906002020160010154826109ea9190612b63565b9150806109f681612c2c565b9150506109b0565b50612710610a0c8383612b63565b10610a525760405162461bcd60e51b81526020600482015260166024820152750546f74616c2070657263656e74206f766572203130360541b60448201526064016109a3565b50604080518082019091526001600160a01b03928316815260208101918252600d805460018101825560009190915290517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5600290920291820180546001600160a01b0319169190941617909255517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb690910155565b610974838383611788565b600b5460ff16610b355760405162461bcd60e51b815260206004820152600d60248201526c39b0b632903737ba1037b832b760991b60448201526064016109a3565b610b4181600c5461199b565b50565b600d8181548110610b5457600080fd5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b6008546001600160a01b03163314610ba65760405162461bcd60e51b81526004016109a390612b2e565b4760005b600d54811015610c7d576000612710600d8381548110610bcc57610bcc612c9d565b90600052602060002090600202016001015484610be99190612b8f565b610bf39190612b7b565b9050600d8281548110610c0857610c08612c9d565b600091825260208220600290910201546040516001600160a01b039091169183919081818185875af1925050503d8060008114610c61576040519150601f19603f3d011682016040523d82523d6000602084013e610c66565b606091505b505050508080610c7590612c2c565b915050610baa565b5060405133904790600081818185875af1925050503d8060008114610cbe576040519150601f19603f3d011682016040523d82523d6000602084013e610cc3565b606091505b50505050565b610974838383604051806020016040528060008152506112b7565b6008546001600160a01b03163314610d0e5760405162461bcd60e51b81526004016109a390612b2e565b6010805461ff001916610100179055565b6008546001600160a01b03163314610d495760405162461bcd60e51b81526004016109a390612b2e565b601054610100900460ff1615610d965760405162461bcd60e51b81526020600482015260126024820152712130b9b2902aa9249034b990333937bd32b760711b60448201526064016109a3565b8051610da990601190602084019061260f565b5050565b6000610db882611ab1565b5192915050565b6008546001600160a01b03163314610de95760405162461bcd60e51b81526004016109a390612b2e565b600c55565b60006001600160a01b038216610e17576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e675760405162461bcd60e51b81526004016109a390612b2e565b610e716000611bcd565b565b6008546001600160a01b03163314610e9d5760405162461bcd60e51b81526004016109a390612b2e565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b03163314610ee55760405162461bcd60e51b81526004016109a390612b2e565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60606003805461082490612bf1565b6011805461079490612bf1565b6001600160a01b038216331415610f4d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610fe35760405162461bcd60e51b81526004016109a390612b2e565b61100e6040518060800160405280600081526020016000815260200160008152602001600081525090565b600061101d6001546000540390565b60408051446020820152429181018290529192506000916060016040516020818303038152906040528051906020012060001c61105a9190612c47565b600e5490915061108b57600083526020830182905261107a600183612bae565b604084015260608301819052611100565b600e80546000919061109f90600190612bae565b815481106110af576110af612c9d565b90600052602060002090600402016002015460016110cd9190612b63565b905060006110db8285612bae565b905060006110ea600186612bae565b9286525060208501526040840152606083018190525b5050600e805460018101825560009190915281517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd60049092029182015560208201517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe82015560408201517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff8201556060909101517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c40090910155565b600954600160a01b900460ff166112165760405162461bcd60e51b815260206004820152601760248201527f77686974656c6973742073616c65206e6f74206f70656e00000000000000000060448201526064016109a3565b6112238282338787611c1f565b336000908152600a602052604081208054879290611242908490612b63565b9091555050336000908152600a60205260409020548310156112a65760405162461bcd60e51b815260206004820152601960248201527f4d6178206d696e74656420776974682077686974656c6973740000000000000060448201526064016109a3565b6112b0858561199b565b5050505050565b6112c2848484611788565b6001600160a01b0383163b151580156112e457506112e284848484611cc9565b155b15610cc3576040516368d2bf6b60e11b815260040160405180910390fd5b6008546001600160a01b0316331461132c5760405162461bcd60e51b81526004016109a390612b2e565b600b805460ff1916911515919091179055565b606061134a82611701565b61136757604051630a14c4b560e41b815260040160405180910390fd5b600e5461140057600f805461137b90612bf1565b80601f01602080910402602001604051908101604052809291908181526020018280546113a790612bf1565b80156113f45780601f106113c9576101008083540402835291602001916113f4565b820191906000526020600020905b8154815290600101906020018083116113d757829003601f168201915b50505050509050919050565b6000611388600e60008154811061141957611419612c9d565b9060005260206000209060040201600301546114359190612c47565b905060005b600e54811015611598576000600e828154811061145957611459612c9d565b90600052602060002090600402016040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509050806000015185101580156114b4575080604001518511155b15611585576000816020015182606001516114cf9190612c47565b90506000826020015187836114e49190612b63565b6114ee9190612c47565b83516114fa9190612b63565b9050600061138861150c876007612b8f565b6115169084612b63565b6115209190612c47565b905060006011805461153190612bf1565b90501161154d5760405180602001604052806000815250611579565b601161155882611dc1565b604051602001611569929190612a37565b6040516020818303038152906040525b98975050505050505050565b508061159081612c2c565b91505061143a565b50600f80546115a690612bf1565b80601f01602080910402602001604051908101604052809291908181526020018280546115d290612bf1565b801561161f5780601f106115f45761010080835404028352916020019161161f565b820191906000526020600020905b81548152906001019060200180831161160257829003601f168201915b5050505050915050919050565b6008546001600160a01b031633146116565760405162461bcd60e51b81526004016109a390612b2e565b6001600160a01b0381166116bb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a3565b610b4181611bcd565b6008546001600160a01b031633146116ee5760405162461bcd60e51b81526004016109a390612b2e565b8051610da990600f90602084019061260f565b6000805482108015610781575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061179382611ab1565b80519091506000906001600160a01b0316336001600160a01b031614806117c1575081516117c190336106ad565b806117dc5750336117d1846108a7565b6001600160a01b0316145b9050806117fc57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146118315760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661185857604051633a954ecd60e21b815260040160405180910390fd5b611868600084846000015161172c565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661195457600054811015611954578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112b0565b60006119aa6001546000540390565b90503332146119b857600080fd5b6113886119c58483612b63565b1115611a075760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820737570706c7960781b60448201526064016109a3565b34611a128484612b8f565b1115611a565760405162461bcd60e51b81526020600482015260136024820152721a5b9d985b1a5908195d1a195c9cc81cd95b9d606a1b60448201526064016109a3565b600a831115611aa75760405162461bcd60e51b815260206004820152601e60248201527f746f6f206d616e7920746f6b656e20706572207472616e73616374696f6e000060448201526064016109a3565b6109743384611ebf565b604080516060810182526000808252602082018190529181019190915281600054811015611bb457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611bb25780516001600160a01b031615611b48579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611bad579392505050565b611b48565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611c2c848484611ed9565b90506000611c708288888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f4792505050565b6009549091506001600160a01b03808316911614611cc05760405162461bcd60e51b815260206004820152600d60248201526c626164207369676e617475726560981b60448201526064016109a3565b50505050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cfe903390899088908890600401612ade565b602060405180830381600087803b158015611d1857600080fd5b505af1925050508015611d48575060408051601f3d908101601f19168201909252611d45918101906128e3565b60015b611da3573d808015611d76576040519150601f19603f3d011682016040523d82523d6000602084013e611d7b565b606091505b508051611d9b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081611de55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e0f5780611df981612c2c565b9150611e089050600a83612b7b565b9150611de9565b60008167ffffffffffffffff811115611e2a57611e2a612cb3565b6040519080825280601f01601f191660200182016040528015611e54576020820181803683370190505b5090505b8415611db957611e69600183612bae565b9150611e76600a86612c47565b611e81906030612b63565b60f81b818381518110611e9657611e96612c9d565b60200101906001600160f81b031916908160001a905350611eb8600a86612b7b565b9450611e58565b610da9828260405180602001604052806000815250611f6b565b604080517f5fe8d8419c3f389f5bc9cd7d07356ee32847eb8736084e255d446864fbae96b360208201526001600160a01b038516918101919091526060810183905260808101829052600090611db99060a00160405160208183030381529060405280519060200120611f78565b6000806000611f568585611fc6565b91509150611f6381612036565b509392505050565b61097483838360016121f1565b6000610781611f856123c2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080825160411415611ffd5760208301516040840151606085015160001a611ff1878285856124e9565b9450945050505061202f565b825160401415612027576020830151604084015161201c8683836125d6565b93509350505061202f565b506000905060025b9250929050565b600081600481111561204a5761204a612c87565b14156120535750565b600181600481111561206757612067612c87565b14156120b55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016109a3565b60028160048111156120c9576120c9612c87565b14156121175760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109a3565b600381600481111561212b5761212b612c87565b14156121845760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109a3565b600481600481111561219857612198612c87565b1415610b415760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109a3565b6000546001600160a01b03851661221a57604051622e076360e81b815260040160405180910390fd5b836122385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156122ea57506001600160a01b0387163b15155b15612373575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461233b6000888480600101955088611cc9565b612358576040516368d2bf6b60e11b815260040160405180910390fd5b808214156122f057826000541461236e57600080fd5b6123b9565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612374575b506000556112b0565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561241b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561244557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561252057506000905060036125cd565b8460ff16601b1415801561253857508460ff16601c14155b1561254957506000905060046125cd565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561259d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125c6576000600192509250506125cd565b9150600090505b94509492505050565b6000806001600160ff1b038316816125f360ff86901c601b612b63565b9050612601878288856124e9565b935093505050935093915050565b82805461261b90612bf1565b90600052602060002090601f01602090048101928261263d5760008555612683565b82601f1061265657805160ff1916838001178555612683565b82800160010185558215612683579182015b82811115612683578251825591602001919060010190612668565b5061268f929150612693565b5090565b5b8082111561268f5760008155600101612694565b600067ffffffffffffffff808411156126c3576126c3612cb3565b604051601f8501601f19908116603f011681019082821181831017156126eb576126eb612cb3565b8160405280935085815286868601111561270457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461273557600080fd5b919050565b8035801515811461273557600080fd5b60006020828403121561275c57600080fd5b6127658261271e565b9392505050565b6000806040838503121561277f57600080fd5b6127888361271e565b91506127966020840161271e565b90509250929050565b6000806000606084860312156127b457600080fd5b6127bd8461271e565b92506127cb6020850161271e565b9150604084013590509250925092565b600080600080608085870312156127f157600080fd5b6127fa8561271e565b93506128086020860161271e565b925060408501359150606085013567ffffffffffffffff81111561282b57600080fd5b8501601f8101871361283c57600080fd5b61284b878235602084016126a8565b91505092959194509250565b6000806040838503121561286a57600080fd5b6128738361271e565b91506127966020840161273a565b6000806040838503121561289457600080fd5b61289d8361271e565b946020939093013593505050565b6000602082840312156128bd57600080fd5b6127658261273a565b6000602082840312156128d857600080fd5b813561276581612cc9565b6000602082840312156128f557600080fd5b815161276581612cc9565b60006020828403121561291257600080fd5b813567ffffffffffffffff81111561292957600080fd5b8201601f8101841361293a57600080fd5b611db9848235602084016126a8565b60006020828403121561295b57600080fd5b5035919050565b60008060008060006080868803121561297a57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff808211156129a757600080fd5b818801915088601f8301126129bb57600080fd5b8135818111156129ca57600080fd5b8960208285010111156129dc57600080fd5b9699959850939650602001949392505050565b60008151808452612a07816020860160208601612bc5565b601f01601f19169290920160200192915050565b60008151612a2d818560208601612bc5565b9290920192915050565b600080845481600182811c915080831680612a5357607f831692505b6020808410821415612a7357634e487b7160e01b86526022600452602486fd5b818015612a875760018114612a9857612ac5565b60ff19861689528489019650612ac5565b60008b81526020902060005b86811015612abd5781548b820152908501908301612aa4565b505084890196505b505050505050612ad58185612a1b565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b11908301846129ef565b9695505050505050565b60208152600061276560208301846129ef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612b7657612b76612c5b565b500190565b600082612b8a57612b8a612c71565b500490565b6000816000190483118215151615612ba957612ba9612c5b565b500290565b600082821015612bc057612bc0612c5b565b500390565b60005b83811015612be0578181015183820152602001612bc8565b83811115610cc35750506000910152565b600181811c90821680612c0557607f821691505b60208210811415612c2657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4057612c40612c5b565b5060010190565b600082612c5657612c56612c71565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b4157600080fdfea264697066735822122000e903e5b101c2d273d04ebe2e0b18bb6044503296dfabc0cbae9df8dfc6c89f64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061023b5760003560e01c806370a082311161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610672578063e985e9c514610692578063eb8d2444146106db578063f2fde38b146106f5578063fe2c7fee1461071557600080fd5b8063a22cb465146105ea578063a475b5dd1461060a578063b3fbe7dd1461061f578063b88d4fde14610632578063c4e370951461065257600080fd5b806384bdb6e0116100f257806384bdb6e0146105635780638da5cb5b1461058357806395d89b41146105a15780639abc8320146105b65780639dcacf24146105cb57600080fd5b806370a08231146104cb578063715018a6146104eb57806375ebbee1146105005780637d53f26d1461052d5780637ff9b5961461054d57600080fd5b806332cb6b0c116101bc57806346764cd61161018057806346764cd61461043c57806354214f691461045157806355f804b31461046b5780636352211e1461048b5780636a61e5fc146104ab57600080fd5b806332cb6b0c1461039f5780633610724e146103b55780633854cb07146103c85780633ccfd60b1461040757806342842e0e1461041c57600080fd5b80630b690d05116102035780630b690d051461030657806310b5454d1461032657806318160ddd1461034757806323b872dd1461036a5780632e9231ab1461038a57600080fd5b806301ffc9a71461024057806306c536ab1461027557806306fdde0314610297578063081812fc146102ac578063095ea7b3146102e4575b600080fd5b34801561024c57600080fd5b5061026061025b3660046128c6565b610735565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610787565b60405161026c9190612b1b565b3480156102a357600080fd5b5061028a610815565b3480156102b857600080fd5b506102cc6102c7366004612949565b6108a7565b6040516001600160a01b03909116815260200161026c565b3480156102f057600080fd5b506103046102ff366004612881565b6108eb565b005b34801561031257600080fd5b50610304610321366004612881565b610979565b34801561033257600080fd5b5060095461026090600160a01b900460ff1681565b34801561035357600080fd5b50600154600054035b60405190815260200161026c565b34801561037657600080fd5b5061030461038536600461279f565b610ae8565b34801561039657600080fd5b5061035c600a81565b3480156103ab57600080fd5b5061035c61138881565b6103046103c3366004612949565b610af3565b3480156103d457600080fd5b506103e86103e3366004612949565b610b44565b604080516001600160a01b03909316835260208301919091520161026c565b34801561041357600080fd5b50610304610b7c565b34801561042857600080fd5b5061030461043736600461279f565b610cc9565b34801561044857600080fd5b50610304610ce4565b34801561045d57600080fd5b506010546102609060ff1681565b34801561047757600080fd5b50610304610486366004612900565b610d1f565b34801561049757600080fd5b506102cc6104a6366004612949565b610dad565b3480156104b757600080fd5b506103046104c6366004612949565b610dbf565b3480156104d757600080fd5b5061035c6104e636600461274a565b610dee565b3480156104f757600080fd5b50610304610e3d565b34801561050c57600080fd5b5061035c61051b36600461274a565b600a6020526000908152604090205481565b34801561053957600080fd5b506103046105483660046128ab565b610e73565b34801561055957600080fd5b5061035c600c5481565b34801561056f57600080fd5b5061030461057e36600461274a565b610ebb565b34801561058f57600080fd5b506008546001600160a01b03166102cc565b3480156105ad57600080fd5b5061028a610f07565b3480156105c257600080fd5b5061028a610f16565b3480156105d757600080fd5b5060105461026090610100900460ff1681565b3480156105f657600080fd5b50610304610605366004612857565b610f23565b34801561061657600080fd5b50610304610fb9565b61030461062d366004612962565b6111bd565b34801561063e57600080fd5b5061030461064d3660046127db565b6112b7565b34801561065e57600080fd5b5061030461066d3660046128ab565b611302565b34801561067e57600080fd5b5061028a61068d366004612949565b61133f565b34801561069e57600080fd5b506102606106ad36600461276c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106e757600080fd5b50600b546102609060ff1681565b34801561070157600080fd5b5061030461071036600461274a565b61162c565b34801561072157600080fd5b50610304610730366004612900565b6116c4565b60006001600160e01b031982166380ac58cd60e01b148061076657506001600160e01b03198216635b5e139f60e01b145b8061078157506301ffc9a760e01b6001600160e01b03198316145b92915050565b600f805461079490612bf1565b80601f01602080910402602001604051908101604052809291908181526020018280546107c090612bf1565b801561080d5780601f106107e25761010080835404028352916020019161080d565b820191906000526020600020905b8154815290600101906020018083116107f057829003601f168201915b505050505081565b60606002805461082490612bf1565b80601f016020809104026020016040519081016040528092919081815260200182805461085090612bf1565b801561089d5780601f106108725761010080835404028352916020019161089d565b820191906000526020600020905b81548152906001019060200180831161088057829003601f168201915b5050505050905090565b60006108b282611701565b6108cf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108f682610dad565b9050806001600160a01b0316836001600160a01b0316141561092b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061094b575061094981336106ad565b155b15610969576040516367d9dca160e11b815260040160405180910390fd5b61097483838361172c565b505050565b6008546001600160a01b031633146109ac5760405162461bcd60e51b81526004016109a390612b2e565b60405180910390fd5b6000805b600d548110156109fe57600d81815481106109cd576109cd612c9d565b906000526020600020906002020160010154826109ea9190612b63565b9150806109f681612c2c565b9150506109b0565b50612710610a0c8383612b63565b10610a525760405162461bcd60e51b81526020600482015260166024820152750546f74616c2070657263656e74206f766572203130360541b60448201526064016109a3565b50604080518082019091526001600160a01b03928316815260208101918252600d805460018101825560009190915290517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5600290920291820180546001600160a01b0319169190941617909255517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb690910155565b610974838383611788565b600b5460ff16610b355760405162461bcd60e51b815260206004820152600d60248201526c39b0b632903737ba1037b832b760991b60448201526064016109a3565b610b4181600c5461199b565b50565b600d8181548110610b5457600080fd5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b6008546001600160a01b03163314610ba65760405162461bcd60e51b81526004016109a390612b2e565b4760005b600d54811015610c7d576000612710600d8381548110610bcc57610bcc612c9d565b90600052602060002090600202016001015484610be99190612b8f565b610bf39190612b7b565b9050600d8281548110610c0857610c08612c9d565b600091825260208220600290910201546040516001600160a01b039091169183919081818185875af1925050503d8060008114610c61576040519150601f19603f3d011682016040523d82523d6000602084013e610c66565b606091505b505050508080610c7590612c2c565b915050610baa565b5060405133904790600081818185875af1925050503d8060008114610cbe576040519150601f19603f3d011682016040523d82523d6000602084013e610cc3565b606091505b50505050565b610974838383604051806020016040528060008152506112b7565b6008546001600160a01b03163314610d0e5760405162461bcd60e51b81526004016109a390612b2e565b6010805461ff001916610100179055565b6008546001600160a01b03163314610d495760405162461bcd60e51b81526004016109a390612b2e565b601054610100900460ff1615610d965760405162461bcd60e51b81526020600482015260126024820152712130b9b2902aa9249034b990333937bd32b760711b60448201526064016109a3565b8051610da990601190602084019061260f565b5050565b6000610db882611ab1565b5192915050565b6008546001600160a01b03163314610de95760405162461bcd60e51b81526004016109a390612b2e565b600c55565b60006001600160a01b038216610e17576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e675760405162461bcd60e51b81526004016109a390612b2e565b610e716000611bcd565b565b6008546001600160a01b03163314610e9d5760405162461bcd60e51b81526004016109a390612b2e565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b03163314610ee55760405162461bcd60e51b81526004016109a390612b2e565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60606003805461082490612bf1565b6011805461079490612bf1565b6001600160a01b038216331415610f4d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610fe35760405162461bcd60e51b81526004016109a390612b2e565b61100e6040518060800160405280600081526020016000815260200160008152602001600081525090565b600061101d6001546000540390565b60408051446020820152429181018290529192506000916060016040516020818303038152906040528051906020012060001c61105a9190612c47565b600e5490915061108b57600083526020830182905261107a600183612bae565b604084015260608301819052611100565b600e80546000919061109f90600190612bae565b815481106110af576110af612c9d565b90600052602060002090600402016002015460016110cd9190612b63565b905060006110db8285612bae565b905060006110ea600186612bae565b9286525060208501526040840152606083018190525b5050600e805460018101825560009190915281517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd60049092029182015560208201517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe82015560408201517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff8201556060909101517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c40090910155565b600954600160a01b900460ff166112165760405162461bcd60e51b815260206004820152601760248201527f77686974656c6973742073616c65206e6f74206f70656e00000000000000000060448201526064016109a3565b6112238282338787611c1f565b336000908152600a602052604081208054879290611242908490612b63565b9091555050336000908152600a60205260409020548310156112a65760405162461bcd60e51b815260206004820152601960248201527f4d6178206d696e74656420776974682077686974656c6973740000000000000060448201526064016109a3565b6112b0858561199b565b5050505050565b6112c2848484611788565b6001600160a01b0383163b151580156112e457506112e284848484611cc9565b155b15610cc3576040516368d2bf6b60e11b815260040160405180910390fd5b6008546001600160a01b0316331461132c5760405162461bcd60e51b81526004016109a390612b2e565b600b805460ff1916911515919091179055565b606061134a82611701565b61136757604051630a14c4b560e41b815260040160405180910390fd5b600e5461140057600f805461137b90612bf1565b80601f01602080910402602001604051908101604052809291908181526020018280546113a790612bf1565b80156113f45780601f106113c9576101008083540402835291602001916113f4565b820191906000526020600020905b8154815290600101906020018083116113d757829003601f168201915b50505050509050919050565b6000611388600e60008154811061141957611419612c9d565b9060005260206000209060040201600301546114359190612c47565b905060005b600e54811015611598576000600e828154811061145957611459612c9d565b90600052602060002090600402016040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820154815250509050806000015185101580156114b4575080604001518511155b15611585576000816020015182606001516114cf9190612c47565b90506000826020015187836114e49190612b63565b6114ee9190612c47565b83516114fa9190612b63565b9050600061138861150c876007612b8f565b6115169084612b63565b6115209190612c47565b905060006011805461153190612bf1565b90501161154d5760405180602001604052806000815250611579565b601161155882611dc1565b604051602001611569929190612a37565b6040516020818303038152906040525b98975050505050505050565b508061159081612c2c565b91505061143a565b50600f80546115a690612bf1565b80601f01602080910402602001604051908101604052809291908181526020018280546115d290612bf1565b801561161f5780601f106115f45761010080835404028352916020019161161f565b820191906000526020600020905b81548152906001019060200180831161160257829003601f168201915b5050505050915050919050565b6008546001600160a01b031633146116565760405162461bcd60e51b81526004016109a390612b2e565b6001600160a01b0381166116bb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a3565b610b4181611bcd565b6008546001600160a01b031633146116ee5760405162461bcd60e51b81526004016109a390612b2e565b8051610da990600f90602084019061260f565b6000805482108015610781575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061179382611ab1565b80519091506000906001600160a01b0316336001600160a01b031614806117c1575081516117c190336106ad565b806117dc5750336117d1846108a7565b6001600160a01b0316145b9050806117fc57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146118315760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661185857604051633a954ecd60e21b815260040160405180910390fd5b611868600084846000015161172c565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661195457600054811015611954578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112b0565b60006119aa6001546000540390565b90503332146119b857600080fd5b6113886119c58483612b63565b1115611a075760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820737570706c7960781b60448201526064016109a3565b34611a128484612b8f565b1115611a565760405162461bcd60e51b81526020600482015260136024820152721a5b9d985b1a5908195d1a195c9cc81cd95b9d606a1b60448201526064016109a3565b600a831115611aa75760405162461bcd60e51b815260206004820152601e60248201527f746f6f206d616e7920746f6b656e20706572207472616e73616374696f6e000060448201526064016109a3565b6109743384611ebf565b604080516060810182526000808252602082018190529181019190915281600054811015611bb457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611bb25780516001600160a01b031615611b48579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611bad579392505050565b611b48565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611c2c848484611ed9565b90506000611c708288888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f4792505050565b6009549091506001600160a01b03808316911614611cc05760405162461bcd60e51b815260206004820152600d60248201526c626164207369676e617475726560981b60448201526064016109a3565b50505050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cfe903390899088908890600401612ade565b602060405180830381600087803b158015611d1857600080fd5b505af1925050508015611d48575060408051601f3d908101601f19168201909252611d45918101906128e3565b60015b611da3573d808015611d76576040519150601f19603f3d011682016040523d82523d6000602084013e611d7b565b606091505b508051611d9b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081611de55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e0f5780611df981612c2c565b9150611e089050600a83612b7b565b9150611de9565b60008167ffffffffffffffff811115611e2a57611e2a612cb3565b6040519080825280601f01601f191660200182016040528015611e54576020820181803683370190505b5090505b8415611db957611e69600183612bae565b9150611e76600a86612c47565b611e81906030612b63565b60f81b818381518110611e9657611e96612c9d565b60200101906001600160f81b031916908160001a905350611eb8600a86612b7b565b9450611e58565b610da9828260405180602001604052806000815250611f6b565b604080517f5fe8d8419c3f389f5bc9cd7d07356ee32847eb8736084e255d446864fbae96b360208201526001600160a01b038516918101919091526060810183905260808101829052600090611db99060a00160405160208183030381529060405280519060200120611f78565b6000806000611f568585611fc6565b91509150611f6381612036565b509392505050565b61097483838360016121f1565b6000610781611f856123c2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080825160411415611ffd5760208301516040840151606085015160001a611ff1878285856124e9565b9450945050505061202f565b825160401415612027576020830151604084015161201c8683836125d6565b93509350505061202f565b506000905060025b9250929050565b600081600481111561204a5761204a612c87565b14156120535750565b600181600481111561206757612067612c87565b14156120b55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016109a3565b60028160048111156120c9576120c9612c87565b14156121175760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109a3565b600381600481111561212b5761212b612c87565b14156121845760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109a3565b600481600481111561219857612198612c87565b1415610b415760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109a3565b6000546001600160a01b03851661221a57604051622e076360e81b815260040160405180910390fd5b836122385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156122ea57506001600160a01b0387163b15155b15612373575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461233b6000888480600101955088611cc9565b612358576040516368d2bf6b60e11b815260040160405180910390fd5b808214156122f057826000541461236e57600080fd5b6123b9565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612374575b506000556112b0565b6000306001600160a01b037f0000000000000000000000001542b05412dfecd80e734929f9087f87669342751614801561241b57507f000000000000000000000000000000000000000000000000000000000000000146145b1561244557507f96a46dc6ef316dcbe442cd4fed60b95fe7bad7efcca34706d890a455f294e6da90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f9c4138cd0a1311e4748f70d0fe3dc55f0f5f75e0f20db731225cbc3b8914016a828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561252057506000905060036125cd565b8460ff16601b1415801561253857508460ff16601c14155b1561254957506000905060046125cd565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561259d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125c6576000600192509250506125cd565b9150600090505b94509492505050565b6000806001600160ff1b038316816125f360ff86901c601b612b63565b9050612601878288856124e9565b935093505050935093915050565b82805461261b90612bf1565b90600052602060002090601f01602090048101928261263d5760008555612683565b82601f1061265657805160ff1916838001178555612683565b82800160010185558215612683579182015b82811115612683578251825591602001919060010190612668565b5061268f929150612693565b5090565b5b8082111561268f5760008155600101612694565b600067ffffffffffffffff808411156126c3576126c3612cb3565b604051601f8501601f19908116603f011681019082821181831017156126eb576126eb612cb3565b8160405280935085815286868601111561270457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461273557600080fd5b919050565b8035801515811461273557600080fd5b60006020828403121561275c57600080fd5b6127658261271e565b9392505050565b6000806040838503121561277f57600080fd5b6127888361271e565b91506127966020840161271e565b90509250929050565b6000806000606084860312156127b457600080fd5b6127bd8461271e565b92506127cb6020850161271e565b9150604084013590509250925092565b600080600080608085870312156127f157600080fd5b6127fa8561271e565b93506128086020860161271e565b925060408501359150606085013567ffffffffffffffff81111561282b57600080fd5b8501601f8101871361283c57600080fd5b61284b878235602084016126a8565b91505092959194509250565b6000806040838503121561286a57600080fd5b6128738361271e565b91506127966020840161273a565b6000806040838503121561289457600080fd5b61289d8361271e565b946020939093013593505050565b6000602082840312156128bd57600080fd5b6127658261273a565b6000602082840312156128d857600080fd5b813561276581612cc9565b6000602082840312156128f557600080fd5b815161276581612cc9565b60006020828403121561291257600080fd5b813567ffffffffffffffff81111561292957600080fd5b8201601f8101841361293a57600080fd5b611db9848235602084016126a8565b60006020828403121561295b57600080fd5b5035919050565b60008060008060006080868803121561297a57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff808211156129a757600080fd5b818801915088601f8301126129bb57600080fd5b8135818111156129ca57600080fd5b8960208285010111156129dc57600080fd5b9699959850939650602001949392505050565b60008151808452612a07816020860160208601612bc5565b601f01601f19169290920160200192915050565b60008151612a2d818560208601612bc5565b9290920192915050565b600080845481600182811c915080831680612a5357607f831692505b6020808410821415612a7357634e487b7160e01b86526022600452602486fd5b818015612a875760018114612a9857612ac5565b60ff19861689528489019650612ac5565b60008b81526020902060005b86811015612abd5781548b820152908501908301612aa4565b505084890196505b505050505050612ad58185612a1b565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b11908301846129ef565b9695505050505050565b60208152600061276560208301846129ef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612b7657612b76612c5b565b500190565b600082612b8a57612b8a612c71565b500490565b6000816000190483118215151615612ba957612ba9612c5b565b500290565b600082821015612bc057612bc0612c5b565b500390565b60005b83811015612be0578181015183820152602001612bc8565b83811115610cc35750506000910152565b600181811c90821680612c0557607f821691505b60208210811415612c2657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4057612c40612c5b565b5060010190565b600082612c5657612c56612c71565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b4157600080fdfea264697066735822122000e903e5b101c2d273d04ebe2e0b18bb6044503296dfabc0cbae9df8dfc6c89f64736f6c63430008070033
Deployed Bytecode Sourcemap
84310:7489:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25764:305;;;;;;;;;;-1:-1:-1;25764:305:0;;;;;:::i;:::-;;:::i;:::-;;;8736:14:1;;8729:22;8711:41;;8699:2;8684:18;25764:305:0;;;;;;;;85233:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29149:100::-;;;;;;;;;;;;;:::i;30652:204::-;;;;;;;;;;-1:-1:-1;30652:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7755:32:1;;;7737:51;;7725:2;7710:18;30652:204:0;7591:203:1;30215:371:0;;;;;;;;;;-1:-1:-1;30215:371:0;;;;;:::i;:::-;;:::i;:::-;;90963:454;;;;;;;;;;-1:-1:-1;90963:454:0;;;;;:::i;:::-;;:::i;84724:41::-;;;;;;;;;;-1:-1:-1;84724:41:0;;;;-1:-1:-1;;;84724:41:0;;;;;;25013:303;;;;;;;;;;-1:-1:-1;25267:12:0;;25057:7;25251:13;:28;25013:303;;;15880:25:1;;;15868:2;15853:18;25013:303:0;15734:177:1;31509:170:0;;;;;;;;;;-1:-1:-1;31509:170:0;;;;;:::i;:::-;;:::i;84562:60::-;;;;;;;;;;;;84620:2;84562:60;;84514:41;;;;;;;;;;;;84551:4;84514:41;;85668:167;;;;;;:::i;:::-;;:::i;85032:32::-;;;;;;;;;;-1:-1:-1;85032:32:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;8484:32:1;;;8466:51;;8548:2;8533:18;;8526:34;;;;8439:18;85032:32:0;8292:274:1;91425:371:0;;;;;;;;;;;;;:::i;31750:185::-;;;;;;;;;;-1:-1:-1;31750:185:0;;;;;:::i;:::-;;:::i;90246:85::-;;;;;;;;;;;;;:::i;85277:30::-;;;;;;;;;;-1:-1:-1;85277:30:0;;;;;;;;90076:162;;;;;;;;;;-1:-1:-1;90076:162:0;;;;;:::i;:::-;;:::i;28958:124::-;;;;;;;;;;-1:-1:-1;28958:124:0;;;;;:::i;:::-;;:::i;90851:104::-;;;;;;;;;;-1:-1:-1;90851:104:0;;;;;:::i;:::-;;:::i;26133:206::-;;;;;;;;;;-1:-1:-1;26133:206:0;;;;;:::i;:::-;;:::i;66569:103::-;;;;;;;;;;;;;:::i;84772:65::-;;;;;;;;;;-1:-1:-1;84772:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;90613:115;;;;;;;;;;-1:-1:-1;90613:115:0;;;;;:::i;:::-;;:::i;84887:35::-;;;;;;;;;;;;;;;;90736:107;;;;;;;;;;-1:-1:-1;90736:107:0;;;;;:::i;:::-;;:::i;65918:87::-;;;;;;;;;;-1:-1:-1;65991:6:0;;-1:-1:-1;;;;;65991:6:0;65918:87;;29318:104;;;;;;;;;;;;;:::i;85356:21::-;;;;;;;;;;;;;:::i;85314:35::-;;;;;;;;;;-1:-1:-1;85314:35:0;;;;;;;;;;;30928:279;;;;;;;;;;-1:-1:-1;30928:279:0;;;;;:::i;:::-;;:::i;89235:833::-;;;;;;;;;;;;;:::i;86349:593::-;;;;;;:::i;:::-;;:::i;32006:369::-;;;;;;;;;;-1:-1:-1;32006:369:0;;;;;:::i;:::-;;:::i;90509:96::-;;;;;;;;;;-1:-1:-1;90509:96:0;;;;;:::i;:::-;;:::i;87895:1212::-;;;;;;;;;;-1:-1:-1;87895:1212:0;;;;;:::i;:::-;;:::i;31278:164::-;;;;;;;;;;-1:-1:-1;31278:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;31399:25:0;;;31375:4;31399:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31278:164;84846:32;;;;;;;;;;-1:-1:-1;84846:32:0;;;;;;;;66827:201;;;;;;;;;;-1:-1:-1;66827:201:0;;;;;:::i;:::-;;:::i;90339:162::-;;;;;;;;;;-1:-1:-1;90339:162:0;;;;;:::i;:::-;;:::i;25764:305::-;25866:4;-1:-1:-1;;;;;;25903:40:0;;-1:-1:-1;;;25903:40:0;;:105;;-1:-1:-1;;;;;;;25960:48:0;;-1:-1:-1;;;25960:48:0;25903:105;:158;;;-1:-1:-1;;;;;;;;;;21236:40:0;;;26025:36;25883:178;25764:305;-1:-1:-1;;25764:305:0:o;85233:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29149:100::-;29203:13;29236:5;29229:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29149:100;:::o;30652:204::-;30720:7;30745:16;30753:7;30745;:16::i;:::-;30740:64;;30770:34;;-1:-1:-1;;;30770:34:0;;;;;;;;;;;30740:64;-1:-1:-1;30824:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30824:24:0;;30652:204::o;30215:371::-;30288:13;30304:24;30320:7;30304:15;:24::i;:::-;30288:40;;30349:5;-1:-1:-1;;;;;30343:11:0;:2;-1:-1:-1;;;;;30343:11:0;;30339:48;;;30363:24;;-1:-1:-1;;;30363:24:0;;;;;;;;;;;30339:48;18036:10;-1:-1:-1;;;;;30404:21:0;;;;;;:63;;-1:-1:-1;30430:37:0;30447:5;18036:10;31278:164;:::i;30430:37::-;30429:38;30404:63;30400:138;;;30491:35;;-1:-1:-1;;;30491:35:0;;;;;;;;;;;30400:138;30550:28;30559:2;30563:7;30572:5;30550:8;:28::i;:::-;30277:309;30215:371;;:::o;90963:454::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;;;;;;;;;91081:17:::1;91118:9:::0;91113:108:::1;91137:11;:18:::0;91133:22;::::1;91113:108;;;91190:11;91202:1;91190:14;;;;;;;;:::i;:::-;;;;;;;;;;;:19;;;91177:32;;;;;:::i;:::-;::::0;-1:-1:-1;91157:3:0;::::1;::::0;::::1;:::i;:::-;;;;91113:108;;;-1:-1:-1::0;91286:5:0::1;91253:30;91265:18:::0;91253:9;:30:::1;:::i;:::-;:38;91231:110;;;::::0;-1:-1:-1;;;91231:110:0;;15239:2:1;91231:110:0::1;::::0;::::1;15221:21:1::0;15278:2;15258:18;;;15251:30;-1:-1:-1;;;15297:18:1;;;15290:52;15359:18;;91231:110:0::1;15037:346:1::0;91231:110:0::1;-1:-1:-1::0;91369:39:0::1;::::0;;;;::::1;::::0;;;-1:-1:-1;;;;;91369:39:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;91352:11:::1;:57:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;91352:57:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;91352:57:0::1;::::0;;;::::1;;::::0;;;;;;;;;90963:454::o;31509:170::-;31643:28;31653:4;31659:2;31663:7;31643:9;:28::i;85668:167::-;85745:12;;;;85737:38;;;;-1:-1:-1;;;85737:38:0;;14897:2:1;85737:38:0;;;14879:21:1;14936:2;14916:18;;;14909:30;-1:-1:-1;;;14955:18:1;;;14948:43;15008:18;;85737:38:0;14695:337:1;85737:38:0;85786:41;85800:14;85816:10;;85786:13;:41::i;:::-;85668:167;:::o;85032:32::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;85032:32:0;;;;-1:-1:-1;85032:32:0;:::o;91425:371::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;91493:21:::1;91475:15;91525:195;91549:11;:18:::0;91545:22;::::1;91525:195;;;91589:11;91637:5;91614:11;91626:1;91614:14;;;;;;;;:::i;:::-;;;;;;;;;;;:19;;;91604:7;:29;;;;:::i;:::-;91603:39;;;;:::i;:::-;91589:53;;91665:11;91677:1;91665:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;;::::1;;:21:::0;91657:51:::1;::::0;-1:-1:-1;;;;;91665:21:0;;::::1;::::0;91700:3;;91657:51;;91665:14;91657:51;91700:3;91665:21;91657:51:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91574:146;91569:3;;;;;:::i;:::-;;;;91525:195;;;-1:-1:-1::0;91730:58:0::1;::::0;91738:10:::1;::::0;91762:21:::1;::::0;91730:58:::1;::::0;;;91762:21;91738:10;91730:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91464:332;91425:371::o:0;31750:185::-;31888:39;31905:4;31911:2;31915:7;31888:39;;;;;;;;;;;;:16;:39::i;90246:85::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;90301:15:::1;:22:::0;;-1:-1:-1;;90301:22:0::1;;;::::0;;90246:85::o;90076:162::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;90161:15:::1;::::0;::::1;::::0;::::1;;;90160:16;90152:47;;;::::0;-1:-1:-1;;;90152:47:0;;14189:2:1;90152:47:0::1;::::0;::::1;14171:21:1::0;14228:2;14208:18;;;14201:30;-1:-1:-1;;;14247:18:1;;;14240:48;14305:18;;90152:47:0::1;13987:342:1::0;90152:47:0::1;90210:20:::0;;::::1;::::0;:7:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;;90076:162:::0;:::o;28958:124::-;29022:7;29049:20;29061:7;29049:11;:20::i;:::-;:25;;28958:124;-1:-1:-1;;28958:124:0:o;90851:104::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;90924:10:::1;:23:::0;90851:104::o;26133:206::-;26197:7;-1:-1:-1;;;;;26221:19:0;;26217:60;;26249:28;;-1:-1:-1;;;26249:28:0;;;;;;;;;;;26217:60;-1:-1:-1;;;;;;26303:19:0;;;;;:12;:19;;;;;:27;;;;26133:206::o;66569:103::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;66634:30:::1;66661:1;66634:18;:30::i;:::-;66569:103::o:0;90613:115::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;90688:21:::1;:32:::0;;;::::1;;-1:-1:-1::0;;;90688:32:0::1;-1:-1:-1::0;;;;90688:32:0;;::::1;::::0;;;::::1;::::0;;90613:115::o;90736:107::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;90810:16:::1;:25:::0;;-1:-1:-1;;;;;;90810:25:0::1;-1:-1:-1::0;;;;;90810:25:0;;;::::1;::::0;;;::::1;::::0;;90736:107::o;29318:104::-;29374:13;29407:7;29400:14;;;;;:::i;85356:21::-;;;;;;;:::i;30928:279::-;-1:-1:-1;;;;;31019:24:0;;18036:10;31019:24;31015:54;;;31052:17;;-1:-1:-1;;;31052:17:0;;;;;;;;;;;31015:54;18036:10;31082:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31082:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31082:53:0;;;;;;;;;;31151:48;;8711:41:1;;;31082:42:0;;18036:10;31151:48;;8684:18:1;31151:48:0;;;;;;;30928:279;;:::o;89235:833::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;89283:23:::1;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89283:23:0::1;89317:14;89334:13;25267:12:::0;;25057:7;25251:13;:28;;25013:303;89334:13:::1;89405:51;::::0;;89422:16:::1;89405:51;::::0;::::1;7496:19:1::0;89471:15:0::1;7531:12:1::0;;;7524:28;;;89317:30:0;;-1:-1:-1;89358:12:0::1;::::0;7568::1;;89405:51:0::1;;;;;;;;;;;;89395:62;;;;;;89373:95;;:113;;;;:::i;:::-;89501:7;:14:::0;89358:128;;-1:-1:-1;89497:530:0::1;;89555:1;89537:19:::0;;89571:16:::1;::::0;::::1;:25:::0;;;89632:10:::1;89641:1;89590:6:::0;89632:10:::1;:::i;:::-;89611:18;::::0;::::1;:31:::0;89657:14:::1;::::0;::::1;:21:::0;;;89497:530:::1;;;89727:7;89735:14:::0;;89711:13:::1;::::0;89727:7;89735:18:::1;::::0;89752:1:::1;::::0;89735:18:::1;:::i;:::-;89727:27;;;;;;;;:::i;:::-;;;;;;;;;;;:36;;;89766:1;89727:40;;;;:::i;:::-;89711:56:::0;-1:-1:-1;89782:14:0::1;89799;89711:56:::0;89799:6;:14:::1;:::i;:::-;89782:31:::0;-1:-1:-1;89828:16:0::1;89847:10;89856:1;89847:6:::0;:10:::1;:::i;:::-;89872:23:::0;;;-1:-1:-1;89910:16:0::1;::::0;::::1;:25:::0;89950:18:::1;::::0;::::1;:29:::0;89994:14:::1;::::0;::::1;:21:::0;;;89497:530:::1;-1:-1:-1::0;;90037:7:0::1;:23:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;90037:23:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;89235:833::o;86349:593::-;86544:21;;-1:-1:-1;;;86544:21:0;;;;86536:57;;;;-1:-1:-1;;;86536:57:0;;10861:2:1;86536:57:0;;;10843:21:1;10900:2;10880:18;;;10873:30;10939:25;10919:18;;;10912:53;10982:18;;86536:57:0;10659:347:1;86536:57:0;86604:68;86629:9;;86640:10;86652:5;86659:12;86604:24;:68::i;:::-;86714:10;86683:42;;;;:30;:42;;;;;:60;;86729:14;;86683:42;:60;;86729:14;;86683:60;:::i;:::-;;;;-1:-1:-1;;86807:10:0;86776:42;;;;:30;:42;;;;;;:58;-1:-1:-1;86776:58:0;86754:133;;;;-1:-1:-1;;;86754:133:0;;11573:2:1;86754:133:0;;;11555:21:1;11612:2;11592:18;;;11585:30;11651:27;11631:18;;;11624:55;11696:18;;86754:133:0;11371:349:1;86754:133:0;86898:36;86912:14;86928:5;86898:13;:36::i;:::-;86349:593;;;;;:::o;32006:369::-;32173:28;32183:4;32189:2;32193:7;32173:9;:28::i;:::-;-1:-1:-1;;;;;32216:13:0;;10317:19;:23;;32216:76;;;;;32236:56;32267:4;32273:2;32277:7;32286:5;32236:30;:56::i;:::-;32235:57;32216:76;32212:156;;;32316:40;;-1:-1:-1;;;32316:40:0;;;;;;;;;;;90509:96;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;90574:12:::1;:23:::0;;-1:-1:-1;;90574:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;90509:96::o;87895:1212::-;87996:13;88032:16;88040:7;88032;:16::i;:::-;88027:59;;88057:29;;-1:-1:-1;;;88057:29:0;;;;;;;;;;;88027:59;88101:7;:14;88097:77;;88144:18;88137:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87895:1212;;;:::o;88097:77::-;88184:18;84551:4;88205:7;88213:1;88205:10;;;;;;;;:::i;:::-;;;;;;;;;;;:15;;;:28;;;;:::i;:::-;88184:49;;88249:9;88244:820;88268:7;:14;88264:18;;88244:820;;;88304:27;88334:7;88342:1;88334:10;;;;;;;;:::i;:::-;;;;;;;;;;;88304:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88392:13;:19;;;88381:7;:30;;:84;;;;;88443:13;:22;;;88432:7;:33;;88381:84;88359:694;;;88500:18;88564:13;:20;;;88522:13;:18;;;:62;;;;:::i;:::-;88500:85;;88604:15;88691:13;:20;;;88680:7;88667:10;:20;;;;:::i;:::-;88666:45;;;;:::i;:::-;88622:19;;:90;;;;:::i;:::-;88604:108;-1:-1:-1;88731:19:0;84551:4;88765:14;:10;88778:1;88765:14;:::i;:::-;88754:26;;:7;:26;:::i;:::-;88753:41;;;;:::i;:::-;88731:63;;88865:1;88847:7;88841:21;;;;;:::i;:::-;;;:25;:196;;;;;;;;;;;;;;;;;88948:7;88957:22;:11;:20;:22::i;:::-;88931:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;88841:196;88813:224;87895:1212;-1:-1:-1;;;;;;;;87895:1212:0:o;88359:694::-;-1:-1:-1;88284:3:0;;;;:::i;:::-;;;;88244:820;;;;89081:18;89074:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87895:1212;;;:::o;66827:201::-;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66916:22:0;::::1;66908:73;;;::::0;-1:-1:-1;;;66908:73:0;;11927:2:1;66908:73:0::1;::::0;::::1;11909:21:1::0;11966:2;11946:18;;;11939:30;12005:34;11985:18;;;11978:62;-1:-1:-1;;;12056:18:1;;;12049:36;12102:19;;66908:73:0::1;11725:402:1::0;66908:73:0::1;66992:28;67011:8;66992:18;:28::i;90339:162::-:0;65991:6;;-1:-1:-1;;;;;65991:6:0;18036:10;66138:23;66130:68;;;;-1:-1:-1;;;66130:68:0;;;;;;;:::i;:::-;90453:40;;::::1;::::0;:18:::1;::::0;:40:::1;::::0;::::1;::::0;::::1;:::i;32630:187::-:0;32687:4;32751:13;;32741:7;:23;32711:98;;;;-1:-1:-1;;32782:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;32782:27:0;;;;32781:28;;32630:187::o;40241:196::-;40356:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;40356:29:0;-1:-1:-1;;;;;40356:29:0;;;;;;;;;40401:28;;40356:24;;40401:28;;;;;;;40241:196;;;:::o;35743:2112::-;35858:35;35896:20;35908:7;35896:11;:20::i;:::-;35971:18;;35858:58;;-1:-1:-1;35929:22:0;;-1:-1:-1;;;;;35955:34:0;18036:10;-1:-1:-1;;;;;35955:34:0;;:101;;;-1:-1:-1;36023:18:0;;36006:50;;18036:10;31278:164;:::i;36006:50::-;35955:154;;;-1:-1:-1;18036:10:0;36073:20;36085:7;36073:11;:20::i;:::-;-1:-1:-1;;;;;36073:36:0;;35955:154;35929:181;;36128:17;36123:66;;36154:35;;-1:-1:-1;;;36154:35:0;;;;;;;;;;;36123:66;36226:4;-1:-1:-1;;;;;36204:26:0;:13;:18;;;-1:-1:-1;;;;;36204:26:0;;36200:67;;36239:28;;-1:-1:-1;;;36239:28:0;;;;;;;;;;;36200:67;-1:-1:-1;;;;;36282:16:0;;36278:52;;36307:23;;-1:-1:-1;;;36307:23:0;;;;;;;;;;;36278:52;36451:49;36468:1;36472:7;36481:13;:18;;;36451:8;:49::i;:::-;-1:-1:-1;;;;;36796:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;36796:31:0;;;;;;;-1:-1:-1;;36796:31:0;;;;;;;36842:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;36842:29:0;;;;;;;;;;;36888:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;36933:61:0;;;;-1:-1:-1;;;36978:15:0;36933:61;;;;;;;;;;;37268:11;;;37298:24;;;;;:29;37268:11;;37298:29;37294:445;;37523:13;;37509:11;:27;37505:219;;;37593:18;;;37561:24;;;:11;:24;;;;;;;;:50;;37676:28;;;;37634:70;;-1:-1:-1;;;37634:70:0;-1:-1:-1;;;;;;37634:70:0;;;-1:-1:-1;;;;;37561:50:0;;;37634:70;;;;;;;37505:219;36771:979;37786:7;37782:2;-1:-1:-1;;;;;37767:27:0;37776:4;-1:-1:-1;;;;;37767:27:0;;;;;;;;;;;37805:42;91425:371;85843:498;85924:10;85937:13;25267:12;;25057:7;25251:13;:28;;25013:303;85937:13;85924:26;-1:-1:-1;85969:10:0;85983:9;85969:23;85961:32;;;;;;84551:4;86012:19;86017:14;86012:2;:19;:::i;:::-;:33;;86004:63;;;;-1:-1:-1;;;86004:63:0;;15590:2:1;86004:63:0;;;15572:21:1;15629:2;15609:18;;;15602:30;-1:-1:-1;;;15648:18:1;;;15641:47;15705:18;;86004:63:0;15388:341:1;86004:63:0;86112:9;86086:22;86094:14;86086:5;:22;:::i;:::-;:35;;86078:67;;;;-1:-1:-1;;;86078:67:0;;13438:2:1;86078:67:0;;;13420:21:1;13477:2;13457:18;;;13450:30;-1:-1:-1;;;13496:18:1;;;13489:49;13555:18;;86078:67:0;13236:343:1;86078:67:0;84620:2;86178:14;:49;;86156:129;;;;-1:-1:-1;;;86156:129:0;;13079:2:1;86156:129:0;;;13061:21:1;13118:2;13098:18;;;13091:30;13157:32;13137:18;;;13130:60;13207:18;;86156:129:0;12877:354:1;86156:129:0;86296:37;86306:10;86318:14;86296:9;:37::i;27788:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;27898:7:0;27981:13;;27974:4;:20;27943:886;;;28015:31;28049:17;;;:11;:17;;;;;;;;;28015:51;;;;;;;;;-1:-1:-1;;;;;28015:51:0;;;;-1:-1:-1;;;28015:51:0;;;;;;;;;;;-1:-1:-1;;;28015:51:0;;;;;;;;;;;;;;28085:729;;28135:14;;-1:-1:-1;;;;;28135:28:0;;28131:101;;28199:9;27788:1108;-1:-1:-1;;;27788:1108:0:o;28131:101::-;-1:-1:-1;;;28574:6:0;28619:17;;;;:11;:17;;;;;;;;;28607:29;;;;;;;;;-1:-1:-1;;;;;28607:29:0;;;;;-1:-1:-1;;;28607:29:0;;;;;;;;;;;-1:-1:-1;;;28607:29:0;;;;;;;;;;;;;28667:28;28663:109;;28735:9;27788:1108;-1:-1:-1;;;27788:1108:0:o;28663:109::-;28534:261;;;27996:833;27943:886;28857:31;;-1:-1:-1;;;28857:31:0;;;;;;;;;;;67188:191;67281:6;;;-1:-1:-1;;;;;67298:17:0;;;-1:-1:-1;;;;;;67298:17:0;;;;;;;67331:40;;67281:6;;;67298:17;67281:6;;67331:40;;67262:16;;67331:40;67251:128;67188:191;:::o;86950:393::-;87137:14;87154:58;87178:12;87192:5;87199:12;87154:23;:58::i;:::-;87137:75;;87223:14;87240:32;87254:6;87262:9;;87240:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87240:13:0;;-1:-1:-1;;;87240:32:0:i;:::-;87301:16;;87223:49;;-1:-1:-1;;;;;;87291:26:0;;;87301:16;;87291:26;87283:52;;;;-1:-1:-1;;;87283:52:0;;12334:2:1;87283:52:0;;;12316:21:1;12373:2;12353:18;;;12346:30;-1:-1:-1;;;12392:18:1;;;12385:43;12445:18;;87283:52:0;12132:337:1;87283:52:0;87126:217;;86950:393;;;;;:::o;40929:667::-;41113:72;;-1:-1:-1;;;41113:72:0;;41092:4;;-1:-1:-1;;;;;41113:36:0;;;;;:72;;18036:10;;41164:4;;41170:7;;41179:5;;41113:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41113:72:0;;;;;;;;-1:-1:-1;;41113:72:0;;;;;;;;;;;;:::i;:::-;;;41109:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41347:13:0;;41343:235;;41393:40;;-1:-1:-1;;;41393:40:0;;;;;;;;;;;41343:235;41536:6;41530:13;41521:6;41517:2;41513:15;41506:38;41109:480;-1:-1:-1;;;;;;41232:55:0;-1:-1:-1;;;41232:55:0;;-1:-1:-1;41109:480:0;40929:667;;;;;;:::o;18520:723::-;18576:13;18797:10;18793:53;;-1:-1:-1;;18824:10:0;;;;;;;;;;;;-1:-1:-1;;;18824:10:0;;;;;18520:723::o;18793:53::-;18871:5;18856:12;18912:78;18919:9;;18912:78;;18945:8;;;;:::i;:::-;;-1:-1:-1;18968:10:0;;-1:-1:-1;18976:2:0;18968:10;;:::i;:::-;;;18912:78;;;19000:19;19032:6;19022:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19022:17:0;;19000:39;;19050:154;19057:10;;19050:154;;19084:11;19094:1;19084:11;;:::i;:::-;;-1:-1:-1;19153:10:0;19161:2;19153:5;:10;:::i;:::-;19140:24;;:2;:24;:::i;:::-;19127:39;;19110:6;19117;19110:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19110:56:0;;;;;;;;-1:-1:-1;19181:11:0;19190:2;19181:11;;:::i;:::-;;;19050:154;;32825:104;32894:27;32904:2;32908:8;32894:27;;;;;;;;;;;;:9;:27::i;87351:536::-;87605:240;;;87642:70;87605:240;;;8994:25:1;-1:-1:-1;;;;;9055:32:1;;9035:18;;;9028:60;;;;9104:18;;;9097:34;;;9147:18;;;9140:34;;;87493:7:0;;87538:341;;8966:19:1;;87605:240:0;;;;;;;;;;;;87573:291;;;;;;87538:16;:341::i;74530:231::-;74608:7;74629:17;74648:18;74670:27;74681:4;74687:9;74670:10;:27::i;:::-;74628:69;;;;74708:18;74720:5;74708:11;:18::i;:::-;-1:-1:-1;74744:9:0;74530:231;-1:-1:-1;;;74530:231:0:o;33292:163::-;33415:32;33421:2;33425:8;33435:5;33442:4;33415:5;:32::i;84087:167::-;84164:7;84191:55;84213:20;:18;:20::i;:::-;84235:10;79574:57;;-1:-1:-1;;;79574:57:0;;;6990:27:1;7033:11;;;7026:27;;;7069:12;;;7062:28;;;79537:7:0;;7106:12:1;;79574:57:0;;;;;;;;;;;;79564:68;;;;;;79557:75;;79444:196;;;;;72420:1308;72501:7;72510:12;72735:9;:16;72755:2;72735:22;72731:990;;;73031:4;73016:20;;73010:27;73081:4;73066:20;;73060:27;73139:4;73124:20;;73118:27;72774:9;73110:36;73182:25;73193:4;73110:36;73010:27;73060;73182:10;:25::i;:::-;73175:32;;;;;;;;;72731:990;73229:9;:16;73249:2;73229:22;73225:496;;;73504:4;73489:20;;73483:27;73555:4;73540:20;;73534:27;73597:23;73608:4;73483:27;73534;73597:10;:23::i;:::-;73590:30;;;;;;;;73225:496;-1:-1:-1;73669:1:0;;-1:-1:-1;73673:35:0;73225:496;72420:1308;;;;;:::o;70691:643::-;70769:20;70760:5;:29;;;;;;;;:::i;:::-;;70756:571;;;70691:643;:::o;70756:571::-;70867:29;70858:5;:38;;;;;;;;:::i;:::-;;70854:473;;;70913:34;;-1:-1:-1;;;70913:34:0;;10508:2:1;70913:34:0;;;10490:21:1;10547:2;10527:18;;;10520:30;10586:26;10566:18;;;10559:54;10630:18;;70913:34:0;10306:348:1;70854:473:0;70978:35;70969:5;:44;;;;;;;;:::i;:::-;;70965:362;;;71030:41;;-1:-1:-1;;;71030:41:0;;11213:2:1;71030:41:0;;;11195:21:1;11252:2;11232:18;;;11225:30;11291:33;11271:18;;;11264:61;11342:18;;71030:41:0;11011:355:1;70965:362:0;71102:30;71093:5;:39;;;;;;;;:::i;:::-;;71089:238;;;71149:44;;-1:-1:-1;;;71149:44:0;;12676:2:1;71149:44:0;;;12658:21:1;12715:2;12695:18;;;12688:30;12754:34;12734:18;;;12727:62;-1:-1:-1;;;12805:18:1;;;12798:32;12847:19;;71149:44:0;12474:398:1;71089:238:0;71224:30;71215:5;:39;;;;;;;;:::i;:::-;;71211:116;;;71271:44;;-1:-1:-1;;;71271:44:0;;13786:2:1;71271:44:0;;;13768:21:1;13825:2;13805:18;;;13798:30;13864:34;13844:18;;;13837:62;-1:-1:-1;;;13915:18:1;;;13908:32;13957:19;;71271:44:0;13584:398:1;33714:1775:0;33853:20;33876:13;-1:-1:-1;;;;;33904:16:0;;33900:48;;33929:19;;-1:-1:-1;;;33929:19:0;;;;;;;;;;;33900:48;33963:13;33959:44;;33985:18;;-1:-1:-1;;;33985:18:0;;;;;;;;;;;33959:44;-1:-1:-1;;;;;34354:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;34413:49:0;;34354:44;;;;;;;;34413:49;;;;-1:-1:-1;;34354:44:0;;;;;;34413:49;;;;;;;;;;;;;;;;34479:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;34529:66:0;;;;-1:-1:-1;;;34579:15:0;34529:66;;;;;;;;;;34479:25;34676:23;;;34720:4;:23;;;;-1:-1:-1;;;;;;34728:13:0;;10317:19;:23;;34728:15;34716:641;;;34764:314;34795:38;;34820:12;;-1:-1:-1;;;;;34795:38:0;;;34812:1;;34795:38;;34812:1;;34795:38;34861:69;34900:1;34904:2;34908:14;;;;;;34924:5;34861:30;:69::i;:::-;34856:174;;34966:40;;-1:-1:-1;;;34966:40:0;;;;;;;;;;;34856:174;35073:3;35057:12;:19;;34764:314;;35159:12;35142:13;;:29;35138:43;;35173:8;;;35138:43;34716:641;;;35222:120;35253:40;;35278:14;;;;;-1:-1:-1;;;;;35253:40:0;;;35270:1;;35253:40;;35270:1;;35253:40;35337:3;35321:12;:19;;35222:120;;34716:641;-1:-1:-1;35371:13:0;:28;35421:60;91425:371;82860:314;82913:7;82945:4;-1:-1:-1;;;;;82954:12:0;82937:29;;:66;;;;;82987:16;82970:13;:33;82937:66;82933:234;;;-1:-1:-1;83027:24:0;;82860:314::o;82933:234::-;-1:-1:-1;83363:73:0;;;83113:10;83363:73;;;;9444:25:1;;;;83125:12:0;9485:18:1;;;9478:34;83139:15:0;9528:18:1;;;9521:34;83407:13:0;9571:18:1;;;9564:34;83430:4:0;9614:19:1;;;;9607:61;;;;83363:73:0;;;;;;;;;;9416:19:1;;;;83363:73:0;;;83353:84;;;;;;82860:314::o;75982:1632::-;76113:7;;77047:66;77034:79;;77030:163;;;-1:-1:-1;77146:1:0;;-1:-1:-1;77150:30:0;77130:51;;77030:163;77207:1;:7;;77212:2;77207:7;;:18;;;;;77218:1;:7;;77223:2;77218:7;;77207:18;77203:102;;;-1:-1:-1;77258:1:0;;-1:-1:-1;77262:30:0;77242:51;;77203:102;77419:24;;;77402:14;77419:24;;;;;;;;;9906:25:1;;;9979:4;9967:17;;9947:18;;;9940:45;;;;10001:18;;;9994:34;;;10044:18;;;10037:34;;;77419:24:0;;9878:19:1;;77419:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;77419:24:0;;-1:-1:-1;;77419:24:0;;;-1:-1:-1;;;;;;;77458:20:0;;77454:103;;77511:1;77515:29;77495:50;;;;;;;77454:103;77577:6;-1:-1:-1;77585:20:0;;-1:-1:-1;75982:1632:0;;;;;;;;:::o;75024:344::-;75138:7;;-1:-1:-1;;;;;75184:80:0;;75138:7;75291:25;75307:3;75292:18;;;75314:2;75291:25;:::i;:::-;75275:42;;75335:25;75346:4;75352:1;75355;75358;75335:10;:25::i;:::-;75328:32;;;;;;75024:344;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;:::-;1134:39;993:186;-1:-1:-1;;;993:186:1:o;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:796::-;4397:6;4405;4413;4421;4429;4482:3;4470:9;4461:7;4457:23;4453:33;4450:53;;;4499:1;4496;4489:12;4450:53;4535:9;4522:23;4512:33;;4592:2;4581:9;4577:18;4564:32;4554:42;;4643:2;4632:9;4628:18;4615:32;4605:42;;4698:2;4687:9;4683:18;4670:32;4721:18;4762:2;4754:6;4751:14;4748:34;;;4778:1;4775;4768:12;4748:34;4816:6;4805:9;4801:22;4791:32;;4861:7;4854:4;4850:2;4846:13;4842:27;4832:55;;4883:1;4880;4873:12;4832:55;4923:2;4910:16;4949:2;4941:6;4938:14;4935:34;;;4965:1;4962;4955:12;4935:34;5010:7;5005:2;4996:6;4992:2;4988:15;4984:24;4981:37;4978:57;;;5031:1;5028;5021:12;4978:57;4300:796;;;;-1:-1:-1;4300:796:1;;-1:-1:-1;5062:2:1;5054:11;;5084:6;4300:796;-1:-1:-1;;;4300:796:1:o;5101:257::-;5142:3;5180:5;5174:12;5207:6;5202:3;5195:19;5223:63;5279:6;5272:4;5267:3;5263:14;5256:4;5249:5;5245:16;5223:63;:::i;:::-;5340:2;5319:15;-1:-1:-1;;5315:29:1;5306:39;;;;5347:4;5302:50;;5101:257;-1:-1:-1;;5101:257:1:o;5363:185::-;5405:3;5443:5;5437:12;5458:52;5503:6;5498:3;5491:4;5484:5;5480:16;5458:52;:::i;:::-;5526:16;;;;;5363:185;-1:-1:-1;;5363:185:1:o;5553:1174::-;5729:3;5758:1;5791:6;5785:13;5821:3;5843:1;5871:9;5867:2;5863:18;5853:28;;5931:2;5920:9;5916:18;5953;5943:61;;5997:4;5989:6;5985:17;5975:27;;5943:61;6023:2;6071;6063:6;6060:14;6040:18;6037:38;6034:165;;;-1:-1:-1;;;6098:33:1;;6154:4;6151:1;6144:15;6184:4;6105:3;6172:17;6034:165;6215:18;6242:104;;;;6360:1;6355:320;;;;6208:467;;6242:104;-1:-1:-1;;6275:24:1;;6263:37;;6320:16;;;;-1:-1:-1;6242:104:1;;6355:320;15989:1;15982:14;;;16026:4;16013:18;;6450:1;6464:165;6478:6;6475:1;6472:13;6464:165;;;6556:14;;6543:11;;;6536:35;6599:16;;;;6493:10;;6464:165;;;6468:3;;6658:6;6653:3;6649:16;6642:23;;6208:467;;;;;;;6691:30;6717:3;6709:6;6691:30;:::i;:::-;6684:37;5553:1174;-1:-1:-1;;;;;5553:1174:1:o;7799:488::-;-1:-1:-1;;;;;8068:15:1;;;8050:34;;8120:15;;8115:2;8100:18;;8093:43;8167:2;8152:18;;8145:34;;;8215:3;8210:2;8195:18;;8188:31;;;7993:4;;8236:45;;8261:19;;8253:6;8236:45;:::i;:::-;8228:53;7799:488;-1:-1:-1;;;;;;7799:488:1:o;10082:219::-;10231:2;10220:9;10213:21;10194:4;10251:44;10291:2;10280:9;10276:18;10268:6;10251:44;:::i;14334:356::-;14536:2;14518:21;;;14555:18;;;14548:30;14614:34;14609:2;14594:18;;14587:62;14681:2;14666:18;;14334:356::o;16042:128::-;16082:3;16113:1;16109:6;16106:1;16103:13;16100:39;;;16119:18;;:::i;:::-;-1:-1:-1;16155:9:1;;16042:128::o;16175:120::-;16215:1;16241;16231:35;;16246:18;;:::i;:::-;-1:-1:-1;16280:9:1;;16175:120::o;16300:168::-;16340:7;16406:1;16402;16398:6;16394:14;16391:1;16388:21;16383:1;16376:9;16369:17;16365:45;16362:71;;;16413:18;;:::i;:::-;-1:-1:-1;16453:9:1;;16300:168::o;16473:125::-;16513:4;16541:1;16538;16535:8;16532:34;;;16546:18;;:::i;:::-;-1:-1:-1;16583:9:1;;16473:125::o;16603:258::-;16675:1;16685:113;16699:6;16696:1;16693:13;16685:113;;;16775:11;;;16769:18;16756:11;;;16749:39;16721:2;16714:10;16685:113;;;16816:6;16813:1;16810:13;16807:48;;;-1:-1:-1;;16851:1:1;16833:16;;16826:27;16603:258::o;16866:380::-;16945:1;16941:12;;;;16988;;;17009:61;;17063:4;17055:6;17051:17;17041:27;;17009:61;17116:2;17108:6;17105:14;17085:18;17082:38;17079:161;;;17162:10;17157:3;17153:20;17150:1;17143:31;17197:4;17194:1;17187:15;17225:4;17222:1;17215:15;17079:161;;16866:380;;;:::o;17251:135::-;17290:3;-1:-1:-1;;17311:17:1;;17308:43;;;17331:18;;:::i;:::-;-1:-1:-1;17378:1:1;17367:13;;17251:135::o;17391:112::-;17423:1;17449;17439:35;;17454:18;;:::i;:::-;-1:-1:-1;17488:9:1;;17391:112::o;17508:127::-;17569:10;17564:3;17560:20;17557:1;17550:31;17600:4;17597:1;17590:15;17624:4;17621:1;17614:15;17640:127;17701:10;17696:3;17692:20;17689:1;17682:31;17732:4;17729:1;17722:15;17756:4;17753:1;17746:15;17772:127;17833:10;17828:3;17824:20;17821:1;17814:31;17864:4;17861:1;17854:15;17888:4;17885:1;17878:15;17904:127;17965:10;17960:3;17956:20;17953:1;17946:31;17996:4;17993:1;17986:15;18020:4;18017:1;18010:15;18036:127;18097:10;18092:3;18088:20;18085:1;18078:31;18128:4;18125:1;18118:15;18152:4;18149:1;18142:15;18168:131;-1:-1:-1;;;;;;18242:32:1;;18232:43;;18222:71;;18289:1;18286;18279:12
Swarm Source
ipfs://00e903e5b101c2d273d04ebe2e0b18bb6044503296dfabc0cbae9df8dfc6c89f
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.