ERC-721
NFT
Overview
Max Total Supply
2,762 BAGS
Holders
1,040
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 BAGSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
tehBagNFT
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-19 */ 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); } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // -License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success,) = recipient.call{value : amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value : value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // -License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // -License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); 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) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); 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: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 {} } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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); } // -License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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(); } } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _burn(tokenId); } } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // -License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // -License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount ) 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, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // -License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // -License-Identifier: MIT pragma solidity ^0.8.0; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // -License-Identifier: MIT pragma solidity ^0.8.7; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // -License-Identifier: MIT pragma solidity ^0.8.7; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // -License-Identifier: MIT pragma solidity ^0.8.7; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } pragma solidity ^0.8.0; contract tehBagNFT is ERC721Enumerable, Ownable, ERC2981, DefaultOperatorFilterer { using SafeERC20 for IERC20; mapping(address => uint256) public prepaidWL; mapping(address => uint256) public guaranteedWL; mapping(address => uint256) public fcfsWL; mapping(address => uint256) public buyers; enum PresaleStage {PAUSED, ONLY_GUARANTEED_WL, ONLY_WL_FCFS, PUBLIC, ENDED} PresaleStage public presaleStage = PresaleStage.PAUSED; // Sale Configuration uint256 public mintPrice; uint256 public mintPriceInBag; uint256 public maxMintPerAddress = 6; uint256 public currentTokenId = 1; uint256 public prepaidNFTs = 0; string internal theBaseURI = ""; uint256 public MAX_SUPPLY = 2000; uint256 public amountGuaranteedBuyWithToken = 0; uint256 public amountGuaranteedBuyWithETH = 0; address public token; address public royaltyReceiver; uint256 public royaltyPercentage; RoyaltyInfo public _defaultRoyaltyInfo; bool public os_filter_enabled = true; bool public disableContracts = true; modifier isEligibleToClaim(address sender, uint256 quantity){ require(prepaidWL[sender] > 0, "The user is not eligible to claim"); require(presaleStage != PresaleStage.PAUSED, "Presale is paused"); require(prepaidNFTs >= quantity, "quantity exceed cap of prepaid NFTs"); require(prepaidWL[sender] >= quantity, "The quantity requested is greater than the amount eligible for the sender."); prepaidWL[sender] -= quantity; prepaidNFTs -= quantity; _; } function checkContracts() internal { if (disableContracts) { require(tx.origin == msg.sender, "NFT: Contracts not allowed"); } } modifier isEligibleToMint(address sender, uint256 quantity) { require(presaleStage != PresaleStage.PAUSED, "Presale is paused"); require(presaleStage != PresaleStage.ENDED, "Presale has ended"); require(buyers[sender] + quantity <= maxMintPerAddress, "Maximum purchase limit per address has been reached."); require(availableNFTS() >= quantity, "can't mint because total supply exceed cap"); if (presaleStage == PresaleStage.ONLY_GUARANTEED_WL) { require(guaranteedWL[sender] > 0, "The user doesn't have guaranteed wl spot"); require(guaranteedWL[sender] >= quantity, "The quantity requested is greater than the amount eligible for the sender."); guaranteedWL[sender] -= quantity; } else if (presaleStage == PresaleStage.ONLY_WL_FCFS) { require(fcfsWL[sender] > 0, "The user is not part of the fcfs WL"); require(fcfsWL[sender] >= quantity, "The quantity requested is greater than the amount eligible for the sender."); fcfsWL[sender] -= quantity; } else if (presaleStage == PresaleStage.PUBLIC) { checkContracts(); } buyers[sender] += quantity; _; } modifier isEligibleToMintAndPayWithToken(uint256 quantity) { require(presaleStage == PresaleStage.PUBLIC, "Mint with bag is not opened yet"); require(amountGuaranteedBuyWithToken >= quantity, "quantity exceed cap of amount guaranteed for buying with token"); amountGuaranteedBuyWithToken -= quantity; _; } modifier isEligibleToMintAndPayWithETH(uint256 quantity) { require(availableNFTsETH() >= quantity, "quantity exceed cap of amount guaranteed for buying with eth"); amountGuaranteedBuyWithETH -= quantity; _; } modifier paidEnough(uint256 value, uint256 quantity) { require(quantity * mintPrice <= value, "not enough funds to buy NFTs."); _; } modifier paidEnoughBag(address sender, uint256 quantity) { uint256 value = ERC20Burnable(token).allowance(msg.sender, address(this)); require(quantity * mintPriceInBag <= value, "not enough $bag to buy NFT"); _; } // Events event EthTransfer(address to, uint256 amount); event TokenTransfer(address to, address token, uint256 amount); constructor( string memory name_, string memory symbol_, uint256 _maxSupply, uint256 _amountGuaranteedToBuyWithBag, uint256 _amountGuaranteedToBuyWithETH, uint256 _mintPrice, uint256 _mintPriceInBag, address _token, address _royaltyReceiver, uint96 _royaltyPercentage) ERC721(name_, symbol_) { MAX_SUPPLY = _maxSupply; amountGuaranteedBuyWithToken = _amountGuaranteedToBuyWithBag; amountGuaranteedBuyWithETH = _amountGuaranteedToBuyWithETH; require(amountGuaranteedBuyWithToken + amountGuaranteedBuyWithETH == MAX_SUPPLY, "Amount of tokens to buy with eth and to buy with bag should be equal to max supply"); mintPriceInBag = _mintPriceInBag; mintPrice = _mintPrice; token = _token; royaltyReceiver = _royaltyReceiver; royaltyPercentage = _royaltyPercentage; _defaultRoyaltyInfo = RoyaltyInfo(_royaltyReceiver, _royaltyPercentage); } function _baseURI() internal view virtual override returns (string memory) { return theBaseURI; } 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, Strings.toString(tokenId), ".json")) : ""; } function setBaseURI(string memory _newBaseURI) external onlyOwner { // Update base uri theBaseURI = _newBaseURI; } function mint(uint256 quantity) external payable isEligibleToMintAndPayWithETH(quantity) isEligibleToMint(msg.sender, quantity) paidEnough(msg.value, quantity) { _bulkMint(msg.sender, quantity); } function mintUsingBag(uint256 quantity) external isEligibleToMintAndPayWithToken(quantity) isEligibleToMint(msg.sender, quantity) paidEnoughBag(msg.sender, quantity) { uint256 amountExpected = mintPriceInBag * quantity; ERC20Burnable(token).transferFrom(msg.sender, address(this), amountExpected); ERC20Burnable(token).burn(amountExpected); _bulkMint(msg.sender, quantity); } function _bulkMint(address to, uint256 quantity) internal { uint256 tokenId = currentTokenId; for (uint256 i = 0; i < quantity; i++) { _mint(to, tokenId); tokenId += 1; } currentTokenId = tokenId; } function claim(uint256 quantity) external isEligibleToClaim(msg.sender, quantity) { _bulkMint(msg.sender, quantity); } function mintOnlyOwner(address to, uint256 quantity, bool isBag) external onlyOwner { require(availableNFTS() >= quantity, "can't mint because total supply exceed cap"); if (isBag) { require(amountGuaranteedBuyWithToken >= quantity, "quantity exceed cap of amount guaranteed for buying with token"); amountGuaranteedBuyWithToken -= quantity; } else { require(amountGuaranteedBuyWithETH >= quantity, "quantity exceed cap of amount guaranteed for buying with eth"); amountGuaranteedBuyWithETH -= quantity; } _bulkMint(to, quantity); } function setPrepaidWL(address [] memory addresses, uint256 [] memory amount) external onlyOwner { require(addresses.length == amount.length, "not same length"); for (uint256 i = 0; i < addresses.length; i++) { _updateUserAllocation(addresses[i], amount[i]); } } // This function update the amount of NFTs guaranteed for the user, and the total amount of guaranteed NFTs function _updateUserAllocation(address user, uint256 quantity) internal { // The user is already in the allocation list. update the amount of NFTs allocated for the user and the total nfts guranteed. if (prepaidWL[user] != 0) { uint256 amountAllocatedBefore = prepaidWL[user]; prepaidNFTs = prepaidNFTs - amountAllocatedBefore + quantity; } else { prepaidNFTs += quantity; } prepaidWL[user] = quantity; require(prepaidNFTs <= amountGuaranteedBuyWithETH, "The amount of prepaidNFTs should be less than the amount guaranteed to buy with eth"); } function setGuaranteedWL(address [] memory addresses, uint256 [] memory amount) external onlyOwner { require(addresses.length == amount.length, "not same length"); for (uint256 i = 0; i < addresses.length; i++) { guaranteedWL[addresses[i]] = amount[i]; } } function setFcfsWL(address [] memory addresses, uint256 [] memory amount) external onlyOwner { require(addresses.length == amount.length, "not same length"); for (uint256 i = 0; i < addresses.length; i++) { fcfsWL[addresses[i]] = amount[i]; } } function setMintPrice(uint256 _mintPrice) external onlyOwner { mintPrice = _mintPrice; } function setMaxMintPerAddress(uint256 amount) external onlyOwner { maxMintPerAddress = amount; } function setStage(PresaleStage _stage) external onlyOwner { presaleStage = _stage; } function setprepaidNFTs(uint256 amount) external onlyOwner { require(MAX_SUPPLY - totalSupply() >= amount, "prepaid nfts cannot be greater than total available nfts"); prepaidNFTs = amount; } function setPrepaidUserAllocation(address user, uint256 amount) external onlyOwner { _updateUserAllocation(user, amount); } function setGuaranteedWLUserAllocation(address user, uint256 amount) external onlyOwner { guaranteedWL[user] = amount; } function setFcfsUserAllocation(address user, uint256 amount) external onlyOwner { fcfsWL[user] = amount; } function setMintPriceUsingBag(uint256 amount) external onlyOwner { mintPriceInBag = amount; } function setToken(address token) external onlyOwner { token = token; } function addNFTsToBuyWithBag(uint256 _amount) external onlyOwner { require(availableNFTsETH() >= _amount, "Not enough NFTs to remove from eth allocation"); amountGuaranteedBuyWithToken += _amount; amountGuaranteedBuyWithETH -= _amount; } function addNFTsToBuyWithETH(uint256 _amount) external onlyOwner { require(amountGuaranteedBuyWithToken >= _amount, "Not enough NFTs to remove from bag allocation"); amountGuaranteedBuyWithETH += _amount; amountGuaranteedBuyWithToken -= _amount; } function setDefaultRoyaltyInfo(address receiver, uint96 amount) external onlyOwner { _defaultRoyaltyInfo = RoyaltyInfo(receiver, amount); } function setDisableContracts(bool status) external onlyOwner { disableContracts = status; } function withdrawETH() external onlyOwner { uint256 contractETHBalance = address(this).balance; payable(msg.sender).transfer(contractETHBalance); emit EthTransfer(msg.sender, contractETHBalance); } function withdrawTokens(address token) external onlyOwner { uint256 balance = IERC20(token).balanceOf(address(this)); IERC20(token).safeTransfer(msg.sender, balance); emit TokenTransfer(msg.sender, token, balance); } /** * @inheritdoc ERC721 */ function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable, ERC2981) returns (bool) { return ( interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId) ); } // amount of NFTs available to buy with ETH and BAG. function availableNFTS() public view returns (uint256){ return MAX_SUPPLY - totalSupply() - prepaidNFTs; } // amount of NFTs available to buy with $bag function availableNFTsBag() public view returns (uint256){ return amountGuaranteedBuyWithToken; } // amount of NFTs available to buy with ETH function availableNFTsETH() public view returns (uint256){ return amountGuaranteedBuyWithETH - prepaidNFTs; } function getUserAllocation(address user, bool isClaim) public view returns (uint256){ uint256 nftAllocated = 0; if (isClaim) { nftAllocated = prepaidWL[user]; } else { if (presaleStage == PresaleStage.ONLY_GUARANTEED_WL) { nftAllocated = guaranteedWL[user]; } else if (presaleStage == PresaleStage.ONLY_WL_FCFS) { nftAllocated = fcfsWL[user]; } else if (presaleStage == PresaleStage.PUBLIC) { if (buyers[user] >= maxMintPerAddress) { nftAllocated = 0; } else { nftAllocated = maxMintPerAddress - buyers[user]; } } } return nftAllocated; } function getUserAllocationLeft(address user, bool isToken) public view returns (uint256){ uint256 nftAllocated = getUserAllocation(user, false); if (isToken) { if (availableNFTsBag() < nftAllocated) { return availableNFTsBag(); } return nftAllocated; } else { if (availableNFTsETH() < nftAllocated) { return availableNFTsETH(); } return nftAllocated; } } function getUserTotalAllocationInAllRounds(address user) public view returns (uint256, uint256, uint256) { return (prepaidWL[user], guaranteedWL[user], fcfsWL[user]); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view override returns (address, uint256) { RoyaltyInfo memory royalty = _defaultRoyaltyInfo; return (royalty.receiver, royalty.royaltyFraction); } function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); require(presaleStage == PresaleStage.ENDED, "NFT: Can't burn before presale ends"); _burn(tokenId); } // OS Filter function setFilterStatus(bool status) external onlyOwner { os_filter_enabled = status; } function _checkFilterOperator(address operator) internal view virtual override { if (os_filter_enabled) { return super._checkFilterOperator(operator); } } /** * @dev See {IERC721-setApprovalForAll}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function setApprovalForAll(address operator, bool approved) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } /** * @dev See {IERC721-approve}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function approve(address operator, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } /** * @dev See {IERC721-transferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function transferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function safeTransferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_amountGuaranteedToBuyWithBag","type":"uint256"},{"internalType":"uint256","name":"_amountGuaranteedToBuyWithETH","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_mintPriceInBag","type":"uint256"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint96","name":"_royaltyPercentage","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthTransfer","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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenTransfer","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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_defaultRoyaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"royaltyFraction","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addNFTsToBuyWithBag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addNFTsToBuyWithETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"amountGuaranteedBuyWithETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountGuaranteedBuyWithToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableNFTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availableNFTsBag","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availableNFTsETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"buyers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fcfsWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isClaim","type":"bool"}],"name":"getUserAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isToken","type":"bool"}],"name":"getUserAllocationLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserTotalAllocationInAllRounds","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"guaranteedWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bool","name":"isBag","type":"bool"}],"name":"mintOnlyOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceInBag","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintUsingBag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"os_filter_enabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"prepaidNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"prepaidWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStage","outputs":[{"internalType":"enum tehBagNFT.PresaleStage","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"amount","type":"uint96"}],"name":"setDefaultRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setDisableContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFcfsUserAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"setFcfsWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setFilterStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"setGuaranteedWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setGuaranteedWLUserAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMintPriceUsingBag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPrepaidUserAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"setPrepaidWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum tehBagNFT.PresaleStage","name":"_stage","type":"uint8"}],"name":"setStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setprepaidNFTs","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":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6011805460ff19169055600660145560016015556000601681905560a060408190526080829052620000359160179190620003a5565b506107d060185560006019819055601a55601f805461ffff19166101011790553480156200006257600080fd5b5060405162004ad838038062004ad883398101604081905262000085916200054d565b733cc6cdda760b79bafa08df41ecfa224f810dceb660018b8b8160009080519060200190620000b6929190620003a5565b508051620000cc906001906020840190620003a5565b505050620000e9620000e36200034f60201b60201c565b62000353565b6daaeb6d7670e522a718067333cd4e3b156200022e5780156200017c57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015d57600080fd5b505af115801562000172573d6000803e3d6000fd5b505050506200022e565b6001600160a01b03821615620001cd5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000142565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200021457600080fd5b505af115801562000229573d6000803e3d6000fd5b505050505b505060188890556019879055601a869055876200024c878962000621565b14620002df5760405162461bcd60e51b815260206004820152605260248201527f416d6f756e74206f6620746f6b656e7320746f2062757920776974682065746860448201527f20616e6420746f206275792077697468206261672073686f756c6420626520656064820152717175616c20746f206d617820737570706c7960701b608482015260a40160405180910390fd5b601393909355601293909355601b80546001600160a01b039283166001600160a01b031991821617909155601c8054949092169316831790556001600160601b0316601d81905560408051808201909152828152602001819052600160a01b0217601e5550620006849350505050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620003b39062000648565b90600052602060002090601f016020900481019282620003d7576000855562000422565b82601f10620003f257805160ff191683800117855562000422565b8280016001018555821562000422579182015b828111156200042257825182559160200191906001019062000405565b506200043092915062000434565b5090565b5b8082111562000430576000815560010162000435565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200047357600080fd5b81516001600160401b03808211156200049057620004906200044b565b604051601f8301601f19908116603f01168101908282118183101715620004bb57620004bb6200044b565b81604052838152602092508683858801011115620004d857600080fd5b600091505b83821015620004fc5785820183015181830184015290820190620004dd565b838211156200050e5760008385830101525b9695505050505050565b80516001600160a01b03811681146200053057600080fd5b919050565b80516001600160601b03811681146200053057600080fd5b6000806000806000806000806000806101408b8d0312156200056e57600080fd5b8a516001600160401b03808211156200058657600080fd5b620005948e838f0162000461565b9b5060208d0151915080821115620005ab57600080fd5b50620005ba8d828e0162000461565b99505060408b0151975060608b0151965060808b0151955060a08b0151945060c08b01519350620005ee60e08c0162000518565b9250620005ff6101008c0162000518565b9150620006106101208c0162000535565b90509295989b9194979a5092959850565b600082198211156200064357634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200065d57607f821691505b6020821081036200067e57634e487b7160e01b600052602260045260246000fd5b50919050565b61444480620006946000396000f3fe60806040526004361061040f5760003560e01c8063715018a61161021e578063b18047a211610123578063ce3cd997116100ab578063e985e9c51161007a578063e985e9c514610ce6578063f2fde38b14610d2f578063f4a0a52814610d4f578063f647964114610d6f578063fc0c546a14610d8f57600080fd5b8063ce3cd99714610c71578063cf0abec514610c91578063d583f71514610cb1578063e086e5ec14610cd157600080fd5b8063c52d342e116100f2578063c52d342e14610b93578063c61b7ad714610bb3578063c87b56dd14610bd3578063c897f40914610bf3578063ca10369314610c5b57600080fd5b8063b18047a214610b13578063b6ae5d5114610b33578063b88d4fde14610b53578063b98659f614610b7357600080fd5b8063930db443116101a65780639fbc8713116101755780639fbc871314610a95578063a0712d6814610ab5578063a22cb46514610ac8578063a3e03f6314610ae8578063a6f8c19714610afe57600080fd5b8063930db443146109f957806395d89b4114610a2657806397a993aa14610a3b578063981e0c8114610a6857600080fd5b806388dba099116101ed57806388dba099146109705780638a71bb2d1461098f5780638d208502146109a55780638da5cb5b146109bb578063904d5ed4146109d957600080fd5b8063715018a61461090657806373e7b9881461091b5780637adbd6ba1461093b57806381480d0e1461095b57600080fd5b8063379607f51161032457806355c56589116102ac5780636817c76c1161027b5780636817c76c1461083057806368b09ded146108465780636da44f191461086d5780636f69ec341461088d57806370a08231146108e657600080fd5b806355c56589146107ba57806355f804b3146107da578063572849c4146107fa5780636352211e1461081057600080fd5b80634382e67a116102f35780634382e67a1461072257806349df728c1461074f5780634e51d61d1461076f5780634f6ccce714610784578063520b7e4a146107a457600080fd5b8063379607f5146106a057806341f43434146106c057806342842e0e146106e257806342966c681461070257600080fd5b806314d2050d116103a757806323b872dd1161037657806323b872dd146105be5780632a55205a146105de5780632e46761e146106505780632f745c591461066a57806332cb6b0c1461068a57600080fd5b806314d2050d1461054957806318160ddd1461056957806319a04d431461057e5780631e14d44b1461059e57600080fd5b8063095ea7b3116103e3578063095ea7b3146104c75780630f2c1c42146104e9578063103999b814610509578063144fa6d71461052957600080fd5b80629a9b7b1461041457806301ffc9a71461043d57806306fdde031461046d578063081812fc1461048f575b600080fd5b34801561042057600080fd5b5061042a60155481565b6040519081526020015b60405180910390f35b34801561044957600080fd5b5061045d61045836600461393c565b610daf565b6040519015158152602001610434565b34801561047957600080fd5b50610482610dda565b60405161043491906139b1565b34801561049b57600080fd5b506104af6104aa3660046139c4565b610e6c565b6040516001600160a01b039091168152602001610434565b3480156104d357600080fd5b506104e76104e23660046139f9565b610e93565b005b3480156104f557600080fd5b506104e7610504366004613af9565b610eac565b34801561051557600080fd5b5061042a610524366004613bc7565b610f59565b34801561053557600080fd5b506104e7610544366004613bfe565b610fa9565b34801561055557600080fd5b506104e76105643660046139f9565b610fb4565b34801561057557600080fd5b5060085461042a565b34801561058a57600080fd5b506104e7610599366004613c19565b610fca565b3480156105aa57600080fd5b506104e76105b93660046139c4565b61100b565b3480156105ca57600080fd5b506104e76105d9366004613c51565b611018565b3480156105ea57600080fd5b506106316105f9366004613c8d565b505060408051808201909152601e546001600160a01b038116808352600160a01b9091046001600160601b0316602090920182905291565b604080516001600160a01b039093168352602083019190915201610434565b34801561065c57600080fd5b50601f5461045d9060ff1681565b34801561067657600080fd5b5061042a6106853660046139f9565b611043565b34801561069657600080fd5b5061042a60185481565b3480156106ac57600080fd5b506104e76106bb3660046139c4565b6110d9565b3480156106cc57600080fd5b506104af6daaeb6d7670e522a718067333cd4e81565b3480156106ee57600080fd5b506104e76106fd366004613c51565b61125e565b34801561070e57600080fd5b506104e761071d3660046139c4565b611283565b34801561072e57600080fd5b5061042a61073d366004613bfe565b600e6020526000908152604090205481565b34801561075b57600080fd5b506104e761076a366004613bfe565b611325565b34801561077b57600080fd5b5061042a6113fb565b34801561079057600080fd5b5061042a61079f3660046139c4565b611412565b3480156107b057600080fd5b5061042a601a5481565b3480156107c657600080fd5b506104e76107d53660046139c4565b6114a5565b3480156107e657600080fd5b506104e76107f5366004613d07565b61154d565b34801561080657600080fd5b5061042a60145481565b34801561081c57600080fd5b506104af61082b3660046139c4565b611568565b34801561083c57600080fd5b5061042a60125481565b34801561085257600080fd5b506011546108609060ff1681565b6040516104349190613d66565b34801561087957600080fd5b5061042a610888366004613bc7565b6115c8565b34801561089957600080fd5b50601e546108bf906001600160a01b03811690600160a01b90046001600160601b031682565b604080516001600160a01b0390931683526001600160601b03909116602083015201610434565b3480156108f257600080fd5b5061042a610901366004613bfe565b6116e1565b34801561091257600080fd5b506104e7611767565b34801561092757600080fd5b506104e76109363660046139c4565b61177b565b34801561094757600080fd5b506104e76109563660046139f9565b611cb4565b34801561096757600080fd5b5060195461042a565b34801561097c57600080fd5b50601f5461045d90610100900460ff1681565b34801561099b57600080fd5b5061042a601d5481565b3480156109b157600080fd5b5061042a60195481565b3480156109c757600080fd5b50600a546001600160a01b03166104af565b3480156109e557600080fd5b506104e76109f4366004613d8e565b611cd8565b348015610a0557600080fd5b5061042a610a14366004613bfe565b600f6020526000908152604090205481565b348015610a3257600080fd5b50610482611d90565b348015610a4757600080fd5b5061042a610a56366004613bfe565b60106020526000908152604090205481565b348015610a7457600080fd5b5061042a610a83366004613bfe565b600d6020526000908152604090205481565b348015610aa157600080fd5b50601c546104af906001600160a01b031681565b6104e7610ac33660046139c4565b611d9f565b348015610ad457600080fd5b506104e7610ae3366004613bc7565b612114565b348015610af457600080fd5b5061042a60165481565b348015610b0a57600080fd5b5061042a612128565b348015610b1f57600080fd5b506104e7610b2e366004613af9565b61214d565b348015610b3f57600080fd5b506104e7610b4e3660046139c4565b6121f1565b348015610b5f57600080fd5b506104e7610b6e366004613dce565b61228c565b348015610b7f57600080fd5b506104e7610b8e366004613af9565b6122b9565b348015610b9f57600080fd5b506104e7610bae366004613e4a565b61233c565b348015610bbf57600080fd5b506104e7610bce3660046139c4565b612357565b348015610bdf57600080fd5b50610482610bee3660046139c4565b6123ef565b348015610bff57600080fd5b50610c40610c0e366004613bfe565b6001600160a01b03166000908152600d6020908152604080832054600e835281842054600f9093529220549192909190565b60408051938452602084019290925290820152606001610434565b348015610c6757600080fd5b5061042a60135481565b348015610c7d57600080fd5b506104e7610c8c366004613e67565b6124c9565b348015610c9d57600080fd5b506104e7610cac366004613e4a565b6124f8565b348015610cbd57600080fd5b506104e7610ccc3660046139c4565b61251a565b348015610cdd57600080fd5b506104e7612527565b348015610cf257600080fd5b5061045d610d01366004613e88565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610d3b57600080fd5b506104e7610d4a366004613bfe565b61259b565b348015610d5b57600080fd5b506104e7610d6a3660046139c4565b612611565b348015610d7b57600080fd5b506104e7610d8a3660046139f9565b61261e565b348015610d9b57600080fd5b50601b546104af906001600160a01b031681565b60006001600160e01b0319821663152a902d60e11b1480610dd45750610dd482612642565b92915050565b606060008054610de990613ebb565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1590613ebb565b8015610e625780601f10610e3757610100808354040283529160200191610e62565b820191906000526020600020905b815481529060010190602001808311610e4557829003601f168201915b5050505050905090565b6000610e7782612667565b506000908152600460205260409020546001600160a01b031690565b81610e9d816126c6565b610ea783836126da565b505050565b610eb46127ea565b8051825114610ede5760405162461bcd60e51b8152600401610ed590613ef5565b60405180910390fd5b60005b8251811015610ea757818181518110610efc57610efc613f1e565b6020026020010151600e6000858481518110610f1a57610f1a613f1e565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610f5190613f4a565b915050610ee1565b600080610f678460006115c8565b90508215610f925780610f7960195490565b1015610f8b576019545b915050610dd4565b9050610dd4565b80610f9b6113fb565b1015610f8b57610f836113fb565b610fb16127ea565b50565b610fbc6127ea565b610fc68282612844565b5050565b610fd26127ea565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601e55565b6110136127ea565b601455565b826001600160a01b038116331461103257611032336126c6565b61103d848484612967565b50505050565b600061104e836116e1565b82106110b05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ed5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b336000818152600d602052604090205482906111415760405162461bcd60e51b815260206004820152602160248201527f5468652075736572206973206e6f7420656c696769626c6520746f20636c61696044820152606d60f81b6064820152608401610ed5565b600060115460ff16600481111561115a5761115a613d50565b036111775760405162461bcd60e51b8152600401610ed590613f63565b8060165410156111d55760405162461bcd60e51b815260206004820152602360248201527f7175616e746974792065786365656420636170206f662070726570616964204e60448201526246547360e81b6064820152608401610ed5565b6001600160a01b0382166000908152600d602052604090205481111561120d5760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600d602052604081208054839290611235908490613ffe565b92505081905550806016600082825461124e9190613ffe565b90915550610ea790503384612997565b826001600160a01b038116331461127857611278336126c6565b61103d8484846129d6565b61128e335b826129f1565b6112aa5760405162461bcd60e51b8152600401610ed590614015565b600460115460ff1660048111156112c3576112c3613d50565b1461131c5760405162461bcd60e51b815260206004820152602360248201527f4e46543a2043616e2774206275726e206265666f72652070726573616c6520656044820152626e647360e81b6064820152608401610ed5565b610fb181612a70565b61132d6127ea565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113989190614063565b90506113ae6001600160a01b0383163383612b17565b604080513381526001600160a01b03841660208201529081018290527fd0ed88a3f042c6bbb1e3ea406079b5f2b4b198afccaa535d837f4c63abbc4de69060600160405180910390a15050565b6000601654601a5461140d9190613ffe565b905090565b600061141d60085490565b82106114805760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ed5565b6008828154811061149357611493613f1e565b90600052602060002001549050919050565b6114ad6127ea565b806114b66113fb565b101561151a5760405162461bcd60e51b815260206004820152602d60248201527f4e6f7420656e6f756768204e46547320746f2072656d6f76652066726f6d206560448201526c3a341030b63637b1b0ba34b7b760991b6064820152608401610ed5565b806019600082825461152c919061407c565b9250508190555080601a60008282546115459190613ffe565b909155505050565b6115556127ea565b8051610fc690601790602084019061388d565b6000818152600260205260408120546001600160a01b031680610dd45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ed5565b60008082156115f057506001600160a01b0383166000908152600d60205260409020546116da565b600160115460ff16600481111561160957611609613d50565b0361162d57506001600160a01b0383166000908152600e60205260409020546116da565b600260115460ff16600481111561164657611646613d50565b0361166a57506001600160a01b0383166000908152600f60205260409020546116da565b600360115460ff16600481111561168357611683613d50565b036116da576014546001600160a01b038516600090815260106020526040902054106116b1575060006116da565b6001600160a01b0384166000908152601060205260409020546014546116d79190613ffe565b90505b9392505050565b60006001600160a01b03821661174b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610ed5565b506001600160a01b031660009081526003602052604090205490565b61176f6127ea565b6117796000612b69565b565b80600360115460ff16600481111561179557611795613d50565b146117e25760405162461bcd60e51b815260206004820152601f60248201527f4d696e74207769746820626167206973206e6f74206f70656e656420796574006044820152606401610ed5565b8060195410156118045760405162461bcd60e51b8152600401610ed590614094565b80601960008282546118169190613ffe565b9091555033905082600060115460ff16600481111561183757611837613d50565b036118545760405162461bcd60e51b8152600401610ed590613f63565b600460115460ff16600481111561186d5761186d613d50565b036118ae5760405162461bcd60e51b8152602060048201526011602482015270141c995cd85b19481a185cc8195b991959607a1b6044820152606401610ed5565b6014546001600160a01b0383166000908152601060205260409020546118d590839061407c565b11156118f35760405162461bcd60e51b8152600401610ed5906140f1565b806118fc612128565b101561191a5760405162461bcd60e51b8152600401610ed590614145565b600160115460ff16600481111561193357611933613d50565b036119d8576001600160a01b0382166000908152600e602052604090205461196d5760405162461bcd60e51b8152600401610ed59061418f565b6001600160a01b0382166000908152600e60205260409020548111156119a55760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600e6020526040812080548392906119cd908490613ffe565b90915550611ab19050565b600260115460ff1660048111156119f1576119f1613d50565b03611a8b576001600160a01b0382166000908152600f6020526040902054611a2b5760405162461bcd60e51b8152600401610ed5906141d7565b6001600160a01b0382166000908152600f6020526040902054811115611a635760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600f6020526040812080548392906119cd908490613ffe565b600360115460ff166004811115611aa457611aa4613d50565b03611ab157611ab1612bbb565b6001600160a01b03821660009081526010602052604081208054839290611ad990849061407c565b9091555050601b54604051636eb1769f60e11b815233600482018190523060248301529186916000916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015611b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b569190614063565b90508060135483611b67919061421a565b1115611bb55760405162461bcd60e51b815260206004820152601a60248201527f6e6f7420656e6f756768202462616720746f20627579204e46540000000000006044820152606401610ed5565b600087601354611bc5919061421a565b601b546040516323b872dd60e01b8152336004820152306024820152604481018390529192506001600160a01b0316906323b872dd906064016020604051808303816000875af1158015611c1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c419190614239565b50601b54604051630852cd8d60e31b8152600481018390526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611c8857600080fd5b505af1158015611c9c573d6000803e3d6000fd5b50505050611caa3389612997565b5050505050505050565b611cbc6127ea565b6001600160a01b039091166000908152600f6020526040902055565b611ce06127ea565b81611ce9612128565b1015611d075760405162461bcd60e51b8152600401610ed590614145565b8015611d4c57816019541015611d2f5760405162461bcd60e51b8152600401610ed590614094565b8160196000828254611d419190613ffe565b90915550611d869050565b81601a541015611d6e5760405162461bcd60e51b8152600401610ed590614256565b81601a6000828254611d809190613ffe565b90915550505b610ea78383612997565b606060018054610de990613ebb565b8080611da96113fb565b1015611dc75760405162461bcd60e51b8152600401610ed590614256565b80601a6000828254611dd99190613ffe565b9091555033905082600060115460ff166004811115611dfa57611dfa613d50565b03611e175760405162461bcd60e51b8152600401610ed590613f63565b600460115460ff166004811115611e3057611e30613d50565b03611e715760405162461bcd60e51b8152602060048201526011602482015270141c995cd85b19481a185cc8195b991959607a1b6044820152606401610ed5565b6014546001600160a01b038316600090815260106020526040902054611e9890839061407c565b1115611eb65760405162461bcd60e51b8152600401610ed5906140f1565b80611ebf612128565b1015611edd5760405162461bcd60e51b8152600401610ed590614145565b600160115460ff166004811115611ef657611ef6613d50565b03611f9b576001600160a01b0382166000908152600e6020526040902054611f305760405162461bcd60e51b8152600401610ed59061418f565b6001600160a01b0382166000908152600e6020526040902054811115611f685760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600e602052604081208054839290611f90908490613ffe565b909155506120749050565b600260115460ff166004811115611fb457611fb4613d50565b0361204e576001600160a01b0382166000908152600f6020526040902054611fee5760405162461bcd60e51b8152600401610ed5906141d7565b6001600160a01b0382166000908152600f60205260409020548111156120265760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600f602052604081208054839290611f90908490613ffe565b600360115460ff16600481111561206757612067613d50565b0361207457612074612bbb565b6001600160a01b0382166000908152601060205260408120805483929061209c90849061407c565b92505081905550348481601254826120b4919061421a565b11156121025760405162461bcd60e51b815260206004820152601d60248201527f6e6f7420656e6f7567682066756e647320746f20627579204e4654732e0000006044820152606401610ed5565b61210c3387612997565b505050505050565b8161211e816126c6565b610ea78383612c1a565b600060165461213660085490565b6018546121439190613ffe565b61140d9190613ffe565b6121556127ea565b80518251146121765760405162461bcd60e51b8152600401610ed590613ef5565b60005b8251811015610ea75781818151811061219457612194613f1e565b6020026020010151600f60008584815181106121b2576121b2613f1e565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080806121e990613f4a565b915050612179565b6121f96127ea565b8060195410156122615760405162461bcd60e51b815260206004820152602d60248201527f4e6f7420656e6f756768204e46547320746f2072656d6f76652066726f6d206260448201526c30b39030b63637b1b0ba34b7b760991b6064820152608401610ed5565b80601a6000828254612273919061407c565b9250508190555080601960008282546115459190613ffe565b836001600160a01b03811633146122a6576122a6336126c6565b6122b285858585612c25565b5050505050565b6122c16127ea565b80518251146122e25760405162461bcd60e51b8152600401610ed590613ef5565b60005b8251811015610ea75761232a83828151811061230357612303613f1e565b602002602001015183838151811061231d5761231d613f1e565b6020026020010151612844565b8061233481613f4a565b9150506122e5565b6123446127ea565b601f805460ff1916911515919091179055565b61235f6127ea565b8061236960085490565b6018546123769190613ffe565b10156123ea5760405162461bcd60e51b815260206004820152603860248201527f70726570616964206e6674732063616e6e6f742062652067726561746572207460448201527f68616e20746f74616c20617661696c61626c65206e66747300000000000000006064820152608401610ed5565b601655565b6000818152600260205260409020546060906001600160a01b031661246e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ed5565b6000612478612c57565b9050600081511161249857604051806020016040528060008152506116da565b806124a284612c66565b6040516020016124b39291906142b3565b6040516020818303038152906040529392505050565b6124d16127ea565b6011805482919060ff191660018360048111156124f0576124f0613d50565b021790555050565b6125006127ea565b601f80549115156101000261ff0019909216919091179055565b6125226127ea565b601355565b61252f6127ea565b6040514790339082156108fc029083906000818181858888f1935050505015801561255e573d6000803e3d6000fd5b5060408051338152602081018390527f52dd0bb34607da290175a958db259372eab328201b51f87d642b4a2802a9463f910160405180910390a150565b6125a36127ea565b6001600160a01b0381166126085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ed5565b610fb181612b69565b6126196127ea565b601255565b6126266127ea565b6001600160a01b039091166000908152600e6020526040902055565b60006001600160e01b0319821663152a902d60e11b1480610dd45750610dd482612d67565b6000818152600260205260409020546001600160a01b0316610fb15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ed5565b601f5460ff1615610fb157610fb181612d8c565b60006126e582611568565b9050806001600160a01b0316836001600160a01b0316036127525760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ed5565b336001600160a01b038216148061276e575061276e8133610d01565b6127e05760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610ed5565b610ea78383612e45565b600a546001600160a01b031633146117795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ed5565b6001600160a01b0382166000908152600d60205260409020541561289e576001600160a01b0382166000908152600d6020526040902054601654829061288b908390613ffe565b612895919061407c565b601655506128b6565b80601660008282546128b0919061407c565b90915550505b6001600160a01b0382166000908152600d60205260409020819055601a546016541115610fc65760405162461bcd60e51b815260206004820152605360248201527f54686520616d6f756e74206f6620707265706169644e4654732073686f756c6460448201527f206265206c657373207468616e2074686520616d6f756e742067756172616e746064820152720cacac840e8de40c4eaf240eed2e8d040cae8d606b1b608482015260a401610ed5565b61297033611288565b61298c5760405162461bcd60e51b8152600401610ed590614015565b610ea7838383612eb3565b60155460005b828110156129ce576129af848361305a565b6129ba60018361407c565b9150806129c681613f4a565b91505061299d565b506015555050565b610ea78383836040518060200160405280600081525061228c565b6000806129fd83611568565b9050806001600160a01b0316846001600160a01b03161480612a4457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80612a685750836001600160a01b0316612a5d84610e6c565b6001600160a01b0316145b949350505050565b6000612a7b82611568565b9050612a89816000846131a8565b612a94600083612e45565b6001600160a01b0381166000908152600360205260408120805460019290612abd908490613ffe565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ea7908490613260565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601f54610100900460ff1615611779573233146117795760405162461bcd60e51b815260206004820152601a60248201527f4e46543a20436f6e747261637473206e6f7420616c6c6f7765640000000000006044820152606401610ed5565b610fc6338383613332565b612c2f33836129f1565b612c4b5760405162461bcd60e51b8152600401610ed590614015565b61103d84848484613400565b606060178054610de990613ebb565b606081600003612c8d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612cb75780612ca181613f4a565b9150612cb09050600a83614308565b9150612c91565b60008167ffffffffffffffff811115612cd257612cd2613a23565b6040519080825280601f01601f191660200182016040528015612cfc576020820181803683370190505b5090505b8415612a6857612d11600183613ffe565b9150612d1e600a8661431c565b612d2990603061407c565b60f81b818381518110612d3e57612d3e613f1e565b60200101906001600160f81b031916908160001a905350612d60600a86614308565b9450612d00565b60006001600160e01b0319821663780e9d6360e01b1480610dd45750610dd482613433565b6daaeb6d7670e522a718067333cd4e3b15610fb157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612df9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1d9190614239565b610fb157604051633b79c77360e21b81526001600160a01b0382166004820152602401610ed5565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612e7a82611568565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316612ec682611568565b6001600160a01b031614612f2a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610ed5565b6001600160a01b038216612f8c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ed5565b612f978383836131a8565b612fa2600082612e45565b6001600160a01b0383166000908152600360205260408120805460019290612fcb908490613ffe565b90915550506001600160a01b0382166000908152600360205260408120805460019290612ff990849061407c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166130b05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ed5565b6000818152600260205260409020546001600160a01b0316156131155760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ed5565b613121600083836131a8565b6001600160a01b038216600090815260036020526040812080546001929061314a90849061407c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b038316613203576131fe81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613226565b816001600160a01b0316836001600160a01b031614613226576132268382613483565b6001600160a01b03821661323d57610ea781613520565b826001600160a01b0316826001600160a01b031614610ea757610ea782826135cf565b60006132b5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166136139092919063ffffffff16565b805190915015610ea757808060200190518101906132d39190614239565b610ea75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610ed5565b816001600160a01b0316836001600160a01b0316036133935760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ed5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61340b848484612eb3565b61341784848484613622565b61103d5760405162461bcd60e51b8152600401610ed590614330565b60006001600160e01b031982166380ac58cd60e01b148061346457506001600160e01b03198216635b5e139f60e01b145b80610dd457506301ffc9a760e01b6001600160e01b0319831614610dd4565b60006001613490846116e1565b61349a9190613ffe565b6000838152600760205260409020549091508082146134ed576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061353290600190613ffe565b6000838152600960205260408120546008805493945090928490811061355a5761355a613f1e565b90600052602060002001549050806008838154811061357b5761357b613f1e565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806135b3576135b3614382565b6001900381819060005260206000200160009055905550505050565b60006135da836116e1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60606116d78484600085613723565b60006001600160a01b0384163b1561371857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613666903390899088908890600401614398565b6020604051808303816000875af19250505080156136a1575060408051601f3d908101601f1916820190925261369e918101906143d5565b60015b6136fe573d8080156136cf576040519150601f19603f3d011682016040523d82523d6000602084013e6136d4565b606091505b5080516000036136f65760405162461bcd60e51b8152600401610ed590614330565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a68565b506001949350505050565b6060824710156137845760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610ed5565b6001600160a01b0385163b6137db5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ed5565b600080866001600160a01b031685876040516137f791906143f2565b60006040518083038185875af1925050503d8060008114613834576040519150601f19603f3d011682016040523d82523d6000602084013e613839565b606091505b5091509150613849828286613854565b979650505050505050565b606083156138635750816116da565b8251156138735782518084602001fd5b8160405162461bcd60e51b8152600401610ed591906139b1565b82805461389990613ebb565b90600052602060002090601f0160209004810192826138bb5760008555613901565b82601f106138d457805160ff1916838001178555613901565b82800160010185558215613901579182015b828111156139015782518255916020019190600101906138e6565b5061390d929150613911565b5090565b5b8082111561390d5760008155600101613912565b6001600160e01b031981168114610fb157600080fd5b60006020828403121561394e57600080fd5b81356116da81613926565b60005b8381101561397457818101518382015260200161395c565b8381111561103d5750506000910152565b6000815180845261399d816020860160208601613959565b601f01601f19169290920160200192915050565b6020815260006116da6020830184613985565b6000602082840312156139d657600080fd5b5035919050565b80356001600160a01b03811681146139f457600080fd5b919050565b60008060408385031215613a0c57600080fd5b613a15836139dd565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613a6257613a62613a23565b604052919050565b600067ffffffffffffffff821115613a8457613a84613a23565b5060051b60200190565b600082601f830112613a9f57600080fd5b81356020613ab4613aaf83613a6a565b613a39565b82815260059290921b84018101918181019086841115613ad357600080fd5b8286015b84811015613aee5780358352918301918301613ad7565b509695505050505050565b60008060408385031215613b0c57600080fd5b823567ffffffffffffffff80821115613b2457600080fd5b818501915085601f830112613b3857600080fd5b81356020613b48613aaf83613a6a565b82815260059290921b84018101918181019089841115613b6757600080fd5b948201945b83861015613b8c57613b7d866139dd565b82529482019490820190613b6c565b96505086013592505080821115613ba257600080fd5b50613baf85828601613a8e565b9150509250929050565b8015158114610fb157600080fd5b60008060408385031215613bda57600080fd5b613be3836139dd565b91506020830135613bf381613bb9565b809150509250929050565b600060208284031215613c1057600080fd5b6116da826139dd565b60008060408385031215613c2c57600080fd5b613c35836139dd565b915060208301356001600160601b0381168114613bf357600080fd5b600080600060608486031215613c6657600080fd5b613c6f846139dd565b9250613c7d602085016139dd565b9150604084013590509250925092565b60008060408385031215613ca057600080fd5b50508035926020909101359150565b600067ffffffffffffffff831115613cc957613cc9613a23565b613cdc601f8401601f1916602001613a39565b9050828152838383011115613cf057600080fd5b828260208301376000602084830101529392505050565b600060208284031215613d1957600080fd5b813567ffffffffffffffff811115613d3057600080fd5b8201601f81018413613d4157600080fd5b612a6884823560208401613caf565b634e487b7160e01b600052602160045260246000fd5b6020810160058310613d8857634e487b7160e01b600052602160045260246000fd5b91905290565b600080600060608486031215613da357600080fd5b613dac846139dd565b9250602084013591506040840135613dc381613bb9565b809150509250925092565b60008060008060808587031215613de457600080fd5b613ded856139dd565b9350613dfb602086016139dd565b925060408501359150606085013567ffffffffffffffff811115613e1e57600080fd5b8501601f81018713613e2f57600080fd5b613e3e87823560208401613caf565b91505092959194509250565b600060208284031215613e5c57600080fd5b81356116da81613bb9565b600060208284031215613e7957600080fd5b8135600581106116da57600080fd5b60008060408385031215613e9b57600080fd5b613ea4836139dd565b9150613eb2602084016139dd565b90509250929050565b600181811c90821680613ecf57607f821691505b602082108103613eef57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e0dcdee840e6c2daca40d8cadccee8d608b1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613f5c57613f5c613f34565b5060010190565b602080825260119082015270141c995cd85b19481a5cc81c185d5cd959607a1b604082015260600190565b6020808252604a908201527f546865207175616e74697479207265717565737465642069732067726561746560408201527f72207468616e2074686520616d6f756e7420656c696769626c6520666f72207460608201526934329039b2b73232b91760b11b608082015260a00190565b60008282101561401057614010613f34565b500390565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006020828403121561407557600080fd5b5051919050565b6000821982111561408f5761408f613f34565b500190565b6020808252603e908201527f7175616e746974792065786365656420636170206f6620616d6f756e7420677560408201527f6172616e7465656420666f7220627579696e67207769746820746f6b656e0000606082015260800190565b60208082526034908201527f4d6178696d756d207075726368617365206c696d69742070657220616464726560408201527339b9903430b9903132b2b7103932b0b1b432b21760611b606082015260800190565b6020808252602a908201527f63616e2774206d696e74206265636175736520746f74616c20737570706c79206040820152690657863656564206361760b41b606082015260800190565b60208082526028908201527f546865207573657220646f65736e277420686176652067756172616e74656564604082015267081ddb081cdc1bdd60c21b606082015260800190565b60208082526023908201527f5468652075736572206973206e6f742070617274206f662074686520666366736040820152620815d360ea1b606082015260800190565b600081600019048311821515161561423457614234613f34565b500290565b60006020828403121561424b57600080fd5b81516116da81613bb9565b6020808252603c908201527f7175616e746974792065786365656420636170206f6620616d6f756e7420677560408201527f6172616e7465656420666f7220627579696e6720776974682065746800000000606082015260800190565b600083516142c5818460208801613959565b8351908301906142d9818360208801613959565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052601260045260246000fd5b600082614317576143176142f2565b500490565b60008261432b5761432b6142f2565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906143cb90830184613985565b9695505050505050565b6000602082840312156143e757600080fd5b81516116da81613926565b60008251614404818460208701613959565b919091019291505056fea2646970667358221220ca0efcf981d37780583573681b29431e479b98e6bccbc1fc20d9b43be98b9d6764736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000ad900000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000008e500000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000002544faa778090e00000000000000000000000000000235c8ee913d93c68d2902a8e0b5a64375570572600000000000000000000000039211ab93600ffbaa6e6193881cd60ca91d8bd12000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e7465684261672047656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044241475300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061040f5760003560e01c8063715018a61161021e578063b18047a211610123578063ce3cd997116100ab578063e985e9c51161007a578063e985e9c514610ce6578063f2fde38b14610d2f578063f4a0a52814610d4f578063f647964114610d6f578063fc0c546a14610d8f57600080fd5b8063ce3cd99714610c71578063cf0abec514610c91578063d583f71514610cb1578063e086e5ec14610cd157600080fd5b8063c52d342e116100f2578063c52d342e14610b93578063c61b7ad714610bb3578063c87b56dd14610bd3578063c897f40914610bf3578063ca10369314610c5b57600080fd5b8063b18047a214610b13578063b6ae5d5114610b33578063b88d4fde14610b53578063b98659f614610b7357600080fd5b8063930db443116101a65780639fbc8713116101755780639fbc871314610a95578063a0712d6814610ab5578063a22cb46514610ac8578063a3e03f6314610ae8578063a6f8c19714610afe57600080fd5b8063930db443146109f957806395d89b4114610a2657806397a993aa14610a3b578063981e0c8114610a6857600080fd5b806388dba099116101ed57806388dba099146109705780638a71bb2d1461098f5780638d208502146109a55780638da5cb5b146109bb578063904d5ed4146109d957600080fd5b8063715018a61461090657806373e7b9881461091b5780637adbd6ba1461093b57806381480d0e1461095b57600080fd5b8063379607f51161032457806355c56589116102ac5780636817c76c1161027b5780636817c76c1461083057806368b09ded146108465780636da44f191461086d5780636f69ec341461088d57806370a08231146108e657600080fd5b806355c56589146107ba57806355f804b3146107da578063572849c4146107fa5780636352211e1461081057600080fd5b80634382e67a116102f35780634382e67a1461072257806349df728c1461074f5780634e51d61d1461076f5780634f6ccce714610784578063520b7e4a146107a457600080fd5b8063379607f5146106a057806341f43434146106c057806342842e0e146106e257806342966c681461070257600080fd5b806314d2050d116103a757806323b872dd1161037657806323b872dd146105be5780632a55205a146105de5780632e46761e146106505780632f745c591461066a57806332cb6b0c1461068a57600080fd5b806314d2050d1461054957806318160ddd1461056957806319a04d431461057e5780631e14d44b1461059e57600080fd5b8063095ea7b3116103e3578063095ea7b3146104c75780630f2c1c42146104e9578063103999b814610509578063144fa6d71461052957600080fd5b80629a9b7b1461041457806301ffc9a71461043d57806306fdde031461046d578063081812fc1461048f575b600080fd5b34801561042057600080fd5b5061042a60155481565b6040519081526020015b60405180910390f35b34801561044957600080fd5b5061045d61045836600461393c565b610daf565b6040519015158152602001610434565b34801561047957600080fd5b50610482610dda565b60405161043491906139b1565b34801561049b57600080fd5b506104af6104aa3660046139c4565b610e6c565b6040516001600160a01b039091168152602001610434565b3480156104d357600080fd5b506104e76104e23660046139f9565b610e93565b005b3480156104f557600080fd5b506104e7610504366004613af9565b610eac565b34801561051557600080fd5b5061042a610524366004613bc7565b610f59565b34801561053557600080fd5b506104e7610544366004613bfe565b610fa9565b34801561055557600080fd5b506104e76105643660046139f9565b610fb4565b34801561057557600080fd5b5060085461042a565b34801561058a57600080fd5b506104e7610599366004613c19565b610fca565b3480156105aa57600080fd5b506104e76105b93660046139c4565b61100b565b3480156105ca57600080fd5b506104e76105d9366004613c51565b611018565b3480156105ea57600080fd5b506106316105f9366004613c8d565b505060408051808201909152601e546001600160a01b038116808352600160a01b9091046001600160601b0316602090920182905291565b604080516001600160a01b039093168352602083019190915201610434565b34801561065c57600080fd5b50601f5461045d9060ff1681565b34801561067657600080fd5b5061042a6106853660046139f9565b611043565b34801561069657600080fd5b5061042a60185481565b3480156106ac57600080fd5b506104e76106bb3660046139c4565b6110d9565b3480156106cc57600080fd5b506104af6daaeb6d7670e522a718067333cd4e81565b3480156106ee57600080fd5b506104e76106fd366004613c51565b61125e565b34801561070e57600080fd5b506104e761071d3660046139c4565b611283565b34801561072e57600080fd5b5061042a61073d366004613bfe565b600e6020526000908152604090205481565b34801561075b57600080fd5b506104e761076a366004613bfe565b611325565b34801561077b57600080fd5b5061042a6113fb565b34801561079057600080fd5b5061042a61079f3660046139c4565b611412565b3480156107b057600080fd5b5061042a601a5481565b3480156107c657600080fd5b506104e76107d53660046139c4565b6114a5565b3480156107e657600080fd5b506104e76107f5366004613d07565b61154d565b34801561080657600080fd5b5061042a60145481565b34801561081c57600080fd5b506104af61082b3660046139c4565b611568565b34801561083c57600080fd5b5061042a60125481565b34801561085257600080fd5b506011546108609060ff1681565b6040516104349190613d66565b34801561087957600080fd5b5061042a610888366004613bc7565b6115c8565b34801561089957600080fd5b50601e546108bf906001600160a01b03811690600160a01b90046001600160601b031682565b604080516001600160a01b0390931683526001600160601b03909116602083015201610434565b3480156108f257600080fd5b5061042a610901366004613bfe565b6116e1565b34801561091257600080fd5b506104e7611767565b34801561092757600080fd5b506104e76109363660046139c4565b61177b565b34801561094757600080fd5b506104e76109563660046139f9565b611cb4565b34801561096757600080fd5b5060195461042a565b34801561097c57600080fd5b50601f5461045d90610100900460ff1681565b34801561099b57600080fd5b5061042a601d5481565b3480156109b157600080fd5b5061042a60195481565b3480156109c757600080fd5b50600a546001600160a01b03166104af565b3480156109e557600080fd5b506104e76109f4366004613d8e565b611cd8565b348015610a0557600080fd5b5061042a610a14366004613bfe565b600f6020526000908152604090205481565b348015610a3257600080fd5b50610482611d90565b348015610a4757600080fd5b5061042a610a56366004613bfe565b60106020526000908152604090205481565b348015610a7457600080fd5b5061042a610a83366004613bfe565b600d6020526000908152604090205481565b348015610aa157600080fd5b50601c546104af906001600160a01b031681565b6104e7610ac33660046139c4565b611d9f565b348015610ad457600080fd5b506104e7610ae3366004613bc7565b612114565b348015610af457600080fd5b5061042a60165481565b348015610b0a57600080fd5b5061042a612128565b348015610b1f57600080fd5b506104e7610b2e366004613af9565b61214d565b348015610b3f57600080fd5b506104e7610b4e3660046139c4565b6121f1565b348015610b5f57600080fd5b506104e7610b6e366004613dce565b61228c565b348015610b7f57600080fd5b506104e7610b8e366004613af9565b6122b9565b348015610b9f57600080fd5b506104e7610bae366004613e4a565b61233c565b348015610bbf57600080fd5b506104e7610bce3660046139c4565b612357565b348015610bdf57600080fd5b50610482610bee3660046139c4565b6123ef565b348015610bff57600080fd5b50610c40610c0e366004613bfe565b6001600160a01b03166000908152600d6020908152604080832054600e835281842054600f9093529220549192909190565b60408051938452602084019290925290820152606001610434565b348015610c6757600080fd5b5061042a60135481565b348015610c7d57600080fd5b506104e7610c8c366004613e67565b6124c9565b348015610c9d57600080fd5b506104e7610cac366004613e4a565b6124f8565b348015610cbd57600080fd5b506104e7610ccc3660046139c4565b61251a565b348015610cdd57600080fd5b506104e7612527565b348015610cf257600080fd5b5061045d610d01366004613e88565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610d3b57600080fd5b506104e7610d4a366004613bfe565b61259b565b348015610d5b57600080fd5b506104e7610d6a3660046139c4565b612611565b348015610d7b57600080fd5b506104e7610d8a3660046139f9565b61261e565b348015610d9b57600080fd5b50601b546104af906001600160a01b031681565b60006001600160e01b0319821663152a902d60e11b1480610dd45750610dd482612642565b92915050565b606060008054610de990613ebb565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1590613ebb565b8015610e625780601f10610e3757610100808354040283529160200191610e62565b820191906000526020600020905b815481529060010190602001808311610e4557829003601f168201915b5050505050905090565b6000610e7782612667565b506000908152600460205260409020546001600160a01b031690565b81610e9d816126c6565b610ea783836126da565b505050565b610eb46127ea565b8051825114610ede5760405162461bcd60e51b8152600401610ed590613ef5565b60405180910390fd5b60005b8251811015610ea757818181518110610efc57610efc613f1e565b6020026020010151600e6000858481518110610f1a57610f1a613f1e565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610f5190613f4a565b915050610ee1565b600080610f678460006115c8565b90508215610f925780610f7960195490565b1015610f8b576019545b915050610dd4565b9050610dd4565b80610f9b6113fb565b1015610f8b57610f836113fb565b610fb16127ea565b50565b610fbc6127ea565b610fc68282612844565b5050565b610fd26127ea565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601e55565b6110136127ea565b601455565b826001600160a01b038116331461103257611032336126c6565b61103d848484612967565b50505050565b600061104e836116e1565b82106110b05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ed5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b336000818152600d602052604090205482906111415760405162461bcd60e51b815260206004820152602160248201527f5468652075736572206973206e6f7420656c696769626c6520746f20636c61696044820152606d60f81b6064820152608401610ed5565b600060115460ff16600481111561115a5761115a613d50565b036111775760405162461bcd60e51b8152600401610ed590613f63565b8060165410156111d55760405162461bcd60e51b815260206004820152602360248201527f7175616e746974792065786365656420636170206f662070726570616964204e60448201526246547360e81b6064820152608401610ed5565b6001600160a01b0382166000908152600d602052604090205481111561120d5760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600d602052604081208054839290611235908490613ffe565b92505081905550806016600082825461124e9190613ffe565b90915550610ea790503384612997565b826001600160a01b038116331461127857611278336126c6565b61103d8484846129d6565b61128e335b826129f1565b6112aa5760405162461bcd60e51b8152600401610ed590614015565b600460115460ff1660048111156112c3576112c3613d50565b1461131c5760405162461bcd60e51b815260206004820152602360248201527f4e46543a2043616e2774206275726e206265666f72652070726573616c6520656044820152626e647360e81b6064820152608401610ed5565b610fb181612a70565b61132d6127ea565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113989190614063565b90506113ae6001600160a01b0383163383612b17565b604080513381526001600160a01b03841660208201529081018290527fd0ed88a3f042c6bbb1e3ea406079b5f2b4b198afccaa535d837f4c63abbc4de69060600160405180910390a15050565b6000601654601a5461140d9190613ffe565b905090565b600061141d60085490565b82106114805760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ed5565b6008828154811061149357611493613f1e565b90600052602060002001549050919050565b6114ad6127ea565b806114b66113fb565b101561151a5760405162461bcd60e51b815260206004820152602d60248201527f4e6f7420656e6f756768204e46547320746f2072656d6f76652066726f6d206560448201526c3a341030b63637b1b0ba34b7b760991b6064820152608401610ed5565b806019600082825461152c919061407c565b9250508190555080601a60008282546115459190613ffe565b909155505050565b6115556127ea565b8051610fc690601790602084019061388d565b6000818152600260205260408120546001600160a01b031680610dd45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ed5565b60008082156115f057506001600160a01b0383166000908152600d60205260409020546116da565b600160115460ff16600481111561160957611609613d50565b0361162d57506001600160a01b0383166000908152600e60205260409020546116da565b600260115460ff16600481111561164657611646613d50565b0361166a57506001600160a01b0383166000908152600f60205260409020546116da565b600360115460ff16600481111561168357611683613d50565b036116da576014546001600160a01b038516600090815260106020526040902054106116b1575060006116da565b6001600160a01b0384166000908152601060205260409020546014546116d79190613ffe565b90505b9392505050565b60006001600160a01b03821661174b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610ed5565b506001600160a01b031660009081526003602052604090205490565b61176f6127ea565b6117796000612b69565b565b80600360115460ff16600481111561179557611795613d50565b146117e25760405162461bcd60e51b815260206004820152601f60248201527f4d696e74207769746820626167206973206e6f74206f70656e656420796574006044820152606401610ed5565b8060195410156118045760405162461bcd60e51b8152600401610ed590614094565b80601960008282546118169190613ffe565b9091555033905082600060115460ff16600481111561183757611837613d50565b036118545760405162461bcd60e51b8152600401610ed590613f63565b600460115460ff16600481111561186d5761186d613d50565b036118ae5760405162461bcd60e51b8152602060048201526011602482015270141c995cd85b19481a185cc8195b991959607a1b6044820152606401610ed5565b6014546001600160a01b0383166000908152601060205260409020546118d590839061407c565b11156118f35760405162461bcd60e51b8152600401610ed5906140f1565b806118fc612128565b101561191a5760405162461bcd60e51b8152600401610ed590614145565b600160115460ff16600481111561193357611933613d50565b036119d8576001600160a01b0382166000908152600e602052604090205461196d5760405162461bcd60e51b8152600401610ed59061418f565b6001600160a01b0382166000908152600e60205260409020548111156119a55760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600e6020526040812080548392906119cd908490613ffe565b90915550611ab19050565b600260115460ff1660048111156119f1576119f1613d50565b03611a8b576001600160a01b0382166000908152600f6020526040902054611a2b5760405162461bcd60e51b8152600401610ed5906141d7565b6001600160a01b0382166000908152600f6020526040902054811115611a635760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600f6020526040812080548392906119cd908490613ffe565b600360115460ff166004811115611aa457611aa4613d50565b03611ab157611ab1612bbb565b6001600160a01b03821660009081526010602052604081208054839290611ad990849061407c565b9091555050601b54604051636eb1769f60e11b815233600482018190523060248301529186916000916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015611b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b569190614063565b90508060135483611b67919061421a565b1115611bb55760405162461bcd60e51b815260206004820152601a60248201527f6e6f7420656e6f756768202462616720746f20627579204e46540000000000006044820152606401610ed5565b600087601354611bc5919061421a565b601b546040516323b872dd60e01b8152336004820152306024820152604481018390529192506001600160a01b0316906323b872dd906064016020604051808303816000875af1158015611c1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c419190614239565b50601b54604051630852cd8d60e31b8152600481018390526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015611c8857600080fd5b505af1158015611c9c573d6000803e3d6000fd5b50505050611caa3389612997565b5050505050505050565b611cbc6127ea565b6001600160a01b039091166000908152600f6020526040902055565b611ce06127ea565b81611ce9612128565b1015611d075760405162461bcd60e51b8152600401610ed590614145565b8015611d4c57816019541015611d2f5760405162461bcd60e51b8152600401610ed590614094565b8160196000828254611d419190613ffe565b90915550611d869050565b81601a541015611d6e5760405162461bcd60e51b8152600401610ed590614256565b81601a6000828254611d809190613ffe565b90915550505b610ea78383612997565b606060018054610de990613ebb565b8080611da96113fb565b1015611dc75760405162461bcd60e51b8152600401610ed590614256565b80601a6000828254611dd99190613ffe565b9091555033905082600060115460ff166004811115611dfa57611dfa613d50565b03611e175760405162461bcd60e51b8152600401610ed590613f63565b600460115460ff166004811115611e3057611e30613d50565b03611e715760405162461bcd60e51b8152602060048201526011602482015270141c995cd85b19481a185cc8195b991959607a1b6044820152606401610ed5565b6014546001600160a01b038316600090815260106020526040902054611e9890839061407c565b1115611eb65760405162461bcd60e51b8152600401610ed5906140f1565b80611ebf612128565b1015611edd5760405162461bcd60e51b8152600401610ed590614145565b600160115460ff166004811115611ef657611ef6613d50565b03611f9b576001600160a01b0382166000908152600e6020526040902054611f305760405162461bcd60e51b8152600401610ed59061418f565b6001600160a01b0382166000908152600e6020526040902054811115611f685760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600e602052604081208054839290611f90908490613ffe565b909155506120749050565b600260115460ff166004811115611fb457611fb4613d50565b0361204e576001600160a01b0382166000908152600f6020526040902054611fee5760405162461bcd60e51b8152600401610ed5906141d7565b6001600160a01b0382166000908152600f60205260409020548111156120265760405162461bcd60e51b8152600401610ed590613f8e565b6001600160a01b0382166000908152600f602052604081208054839290611f90908490613ffe565b600360115460ff16600481111561206757612067613d50565b0361207457612074612bbb565b6001600160a01b0382166000908152601060205260408120805483929061209c90849061407c565b92505081905550348481601254826120b4919061421a565b11156121025760405162461bcd60e51b815260206004820152601d60248201527f6e6f7420656e6f7567682066756e647320746f20627579204e4654732e0000006044820152606401610ed5565b61210c3387612997565b505050505050565b8161211e816126c6565b610ea78383612c1a565b600060165461213660085490565b6018546121439190613ffe565b61140d9190613ffe565b6121556127ea565b80518251146121765760405162461bcd60e51b8152600401610ed590613ef5565b60005b8251811015610ea75781818151811061219457612194613f1e565b6020026020010151600f60008584815181106121b2576121b2613f1e565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080806121e990613f4a565b915050612179565b6121f96127ea565b8060195410156122615760405162461bcd60e51b815260206004820152602d60248201527f4e6f7420656e6f756768204e46547320746f2072656d6f76652066726f6d206260448201526c30b39030b63637b1b0ba34b7b760991b6064820152608401610ed5565b80601a6000828254612273919061407c565b9250508190555080601960008282546115459190613ffe565b836001600160a01b03811633146122a6576122a6336126c6565b6122b285858585612c25565b5050505050565b6122c16127ea565b80518251146122e25760405162461bcd60e51b8152600401610ed590613ef5565b60005b8251811015610ea75761232a83828151811061230357612303613f1e565b602002602001015183838151811061231d5761231d613f1e565b6020026020010151612844565b8061233481613f4a565b9150506122e5565b6123446127ea565b601f805460ff1916911515919091179055565b61235f6127ea565b8061236960085490565b6018546123769190613ffe565b10156123ea5760405162461bcd60e51b815260206004820152603860248201527f70726570616964206e6674732063616e6e6f742062652067726561746572207460448201527f68616e20746f74616c20617661696c61626c65206e66747300000000000000006064820152608401610ed5565b601655565b6000818152600260205260409020546060906001600160a01b031661246e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ed5565b6000612478612c57565b9050600081511161249857604051806020016040528060008152506116da565b806124a284612c66565b6040516020016124b39291906142b3565b6040516020818303038152906040529392505050565b6124d16127ea565b6011805482919060ff191660018360048111156124f0576124f0613d50565b021790555050565b6125006127ea565b601f80549115156101000261ff0019909216919091179055565b6125226127ea565b601355565b61252f6127ea565b6040514790339082156108fc029083906000818181858888f1935050505015801561255e573d6000803e3d6000fd5b5060408051338152602081018390527f52dd0bb34607da290175a958db259372eab328201b51f87d642b4a2802a9463f910160405180910390a150565b6125a36127ea565b6001600160a01b0381166126085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ed5565b610fb181612b69565b6126196127ea565b601255565b6126266127ea565b6001600160a01b039091166000908152600e6020526040902055565b60006001600160e01b0319821663152a902d60e11b1480610dd45750610dd482612d67565b6000818152600260205260409020546001600160a01b0316610fb15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ed5565b601f5460ff1615610fb157610fb181612d8c565b60006126e582611568565b9050806001600160a01b0316836001600160a01b0316036127525760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ed5565b336001600160a01b038216148061276e575061276e8133610d01565b6127e05760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610ed5565b610ea78383612e45565b600a546001600160a01b031633146117795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ed5565b6001600160a01b0382166000908152600d60205260409020541561289e576001600160a01b0382166000908152600d6020526040902054601654829061288b908390613ffe565b612895919061407c565b601655506128b6565b80601660008282546128b0919061407c565b90915550505b6001600160a01b0382166000908152600d60205260409020819055601a546016541115610fc65760405162461bcd60e51b815260206004820152605360248201527f54686520616d6f756e74206f6620707265706169644e4654732073686f756c6460448201527f206265206c657373207468616e2074686520616d6f756e742067756172616e746064820152720cacac840e8de40c4eaf240eed2e8d040cae8d606b1b608482015260a401610ed5565b61297033611288565b61298c5760405162461bcd60e51b8152600401610ed590614015565b610ea7838383612eb3565b60155460005b828110156129ce576129af848361305a565b6129ba60018361407c565b9150806129c681613f4a565b91505061299d565b506015555050565b610ea78383836040518060200160405280600081525061228c565b6000806129fd83611568565b9050806001600160a01b0316846001600160a01b03161480612a4457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80612a685750836001600160a01b0316612a5d84610e6c565b6001600160a01b0316145b949350505050565b6000612a7b82611568565b9050612a89816000846131a8565b612a94600083612e45565b6001600160a01b0381166000908152600360205260408120805460019290612abd908490613ffe565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ea7908490613260565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601f54610100900460ff1615611779573233146117795760405162461bcd60e51b815260206004820152601a60248201527f4e46543a20436f6e747261637473206e6f7420616c6c6f7765640000000000006044820152606401610ed5565b610fc6338383613332565b612c2f33836129f1565b612c4b5760405162461bcd60e51b8152600401610ed590614015565b61103d84848484613400565b606060178054610de990613ebb565b606081600003612c8d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612cb75780612ca181613f4a565b9150612cb09050600a83614308565b9150612c91565b60008167ffffffffffffffff811115612cd257612cd2613a23565b6040519080825280601f01601f191660200182016040528015612cfc576020820181803683370190505b5090505b8415612a6857612d11600183613ffe565b9150612d1e600a8661431c565b612d2990603061407c565b60f81b818381518110612d3e57612d3e613f1e565b60200101906001600160f81b031916908160001a905350612d60600a86614308565b9450612d00565b60006001600160e01b0319821663780e9d6360e01b1480610dd45750610dd482613433565b6daaeb6d7670e522a718067333cd4e3b15610fb157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612df9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1d9190614239565b610fb157604051633b79c77360e21b81526001600160a01b0382166004820152602401610ed5565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612e7a82611568565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316612ec682611568565b6001600160a01b031614612f2a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610ed5565b6001600160a01b038216612f8c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ed5565b612f978383836131a8565b612fa2600082612e45565b6001600160a01b0383166000908152600360205260408120805460019290612fcb908490613ffe565b90915550506001600160a01b0382166000908152600360205260408120805460019290612ff990849061407c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166130b05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ed5565b6000818152600260205260409020546001600160a01b0316156131155760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ed5565b613121600083836131a8565b6001600160a01b038216600090815260036020526040812080546001929061314a90849061407c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b038316613203576131fe81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613226565b816001600160a01b0316836001600160a01b031614613226576132268382613483565b6001600160a01b03821661323d57610ea781613520565b826001600160a01b0316826001600160a01b031614610ea757610ea782826135cf565b60006132b5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166136139092919063ffffffff16565b805190915015610ea757808060200190518101906132d39190614239565b610ea75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610ed5565b816001600160a01b0316836001600160a01b0316036133935760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ed5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61340b848484612eb3565b61341784848484613622565b61103d5760405162461bcd60e51b8152600401610ed590614330565b60006001600160e01b031982166380ac58cd60e01b148061346457506001600160e01b03198216635b5e139f60e01b145b80610dd457506301ffc9a760e01b6001600160e01b0319831614610dd4565b60006001613490846116e1565b61349a9190613ffe565b6000838152600760205260409020549091508082146134ed576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061353290600190613ffe565b6000838152600960205260408120546008805493945090928490811061355a5761355a613f1e565b90600052602060002001549050806008838154811061357b5761357b613f1e565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806135b3576135b3614382565b6001900381819060005260206000200160009055905550505050565b60006135da836116e1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60606116d78484600085613723565b60006001600160a01b0384163b1561371857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613666903390899088908890600401614398565b6020604051808303816000875af19250505080156136a1575060408051601f3d908101601f1916820190925261369e918101906143d5565b60015b6136fe573d8080156136cf576040519150601f19603f3d011682016040523d82523d6000602084013e6136d4565b606091505b5080516000036136f65760405162461bcd60e51b8152600401610ed590614330565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a68565b506001949350505050565b6060824710156137845760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610ed5565b6001600160a01b0385163b6137db5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ed5565b600080866001600160a01b031685876040516137f791906143f2565b60006040518083038185875af1925050503d8060008114613834576040519150601f19603f3d011682016040523d82523d6000602084013e613839565b606091505b5091509150613849828286613854565b979650505050505050565b606083156138635750816116da565b8251156138735782518084602001fd5b8160405162461bcd60e51b8152600401610ed591906139b1565b82805461389990613ebb565b90600052602060002090601f0160209004810192826138bb5760008555613901565b82601f106138d457805160ff1916838001178555613901565b82800160010185558215613901579182015b828111156139015782518255916020019190600101906138e6565b5061390d929150613911565b5090565b5b8082111561390d5760008155600101613912565b6001600160e01b031981168114610fb157600080fd5b60006020828403121561394e57600080fd5b81356116da81613926565b60005b8381101561397457818101518382015260200161395c565b8381111561103d5750506000910152565b6000815180845261399d816020860160208601613959565b601f01601f19169290920160200192915050565b6020815260006116da6020830184613985565b6000602082840312156139d657600080fd5b5035919050565b80356001600160a01b03811681146139f457600080fd5b919050565b60008060408385031215613a0c57600080fd5b613a15836139dd565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613a6257613a62613a23565b604052919050565b600067ffffffffffffffff821115613a8457613a84613a23565b5060051b60200190565b600082601f830112613a9f57600080fd5b81356020613ab4613aaf83613a6a565b613a39565b82815260059290921b84018101918181019086841115613ad357600080fd5b8286015b84811015613aee5780358352918301918301613ad7565b509695505050505050565b60008060408385031215613b0c57600080fd5b823567ffffffffffffffff80821115613b2457600080fd5b818501915085601f830112613b3857600080fd5b81356020613b48613aaf83613a6a565b82815260059290921b84018101918181019089841115613b6757600080fd5b948201945b83861015613b8c57613b7d866139dd565b82529482019490820190613b6c565b96505086013592505080821115613ba257600080fd5b50613baf85828601613a8e565b9150509250929050565b8015158114610fb157600080fd5b60008060408385031215613bda57600080fd5b613be3836139dd565b91506020830135613bf381613bb9565b809150509250929050565b600060208284031215613c1057600080fd5b6116da826139dd565b60008060408385031215613c2c57600080fd5b613c35836139dd565b915060208301356001600160601b0381168114613bf357600080fd5b600080600060608486031215613c6657600080fd5b613c6f846139dd565b9250613c7d602085016139dd565b9150604084013590509250925092565b60008060408385031215613ca057600080fd5b50508035926020909101359150565b600067ffffffffffffffff831115613cc957613cc9613a23565b613cdc601f8401601f1916602001613a39565b9050828152838383011115613cf057600080fd5b828260208301376000602084830101529392505050565b600060208284031215613d1957600080fd5b813567ffffffffffffffff811115613d3057600080fd5b8201601f81018413613d4157600080fd5b612a6884823560208401613caf565b634e487b7160e01b600052602160045260246000fd5b6020810160058310613d8857634e487b7160e01b600052602160045260246000fd5b91905290565b600080600060608486031215613da357600080fd5b613dac846139dd565b9250602084013591506040840135613dc381613bb9565b809150509250925092565b60008060008060808587031215613de457600080fd5b613ded856139dd565b9350613dfb602086016139dd565b925060408501359150606085013567ffffffffffffffff811115613e1e57600080fd5b8501601f81018713613e2f57600080fd5b613e3e87823560208401613caf565b91505092959194509250565b600060208284031215613e5c57600080fd5b81356116da81613bb9565b600060208284031215613e7957600080fd5b8135600581106116da57600080fd5b60008060408385031215613e9b57600080fd5b613ea4836139dd565b9150613eb2602084016139dd565b90509250929050565b600181811c90821680613ecf57607f821691505b602082108103613eef57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e0dcdee840e6c2daca40d8cadccee8d608b1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613f5c57613f5c613f34565b5060010190565b602080825260119082015270141c995cd85b19481a5cc81c185d5cd959607a1b604082015260600190565b6020808252604a908201527f546865207175616e74697479207265717565737465642069732067726561746560408201527f72207468616e2074686520616d6f756e7420656c696769626c6520666f72207460608201526934329039b2b73232b91760b11b608082015260a00190565b60008282101561401057614010613f34565b500390565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006020828403121561407557600080fd5b5051919050565b6000821982111561408f5761408f613f34565b500190565b6020808252603e908201527f7175616e746974792065786365656420636170206f6620616d6f756e7420677560408201527f6172616e7465656420666f7220627579696e67207769746820746f6b656e0000606082015260800190565b60208082526034908201527f4d6178696d756d207075726368617365206c696d69742070657220616464726560408201527339b9903430b9903132b2b7103932b0b1b432b21760611b606082015260800190565b6020808252602a908201527f63616e2774206d696e74206265636175736520746f74616c20737570706c79206040820152690657863656564206361760b41b606082015260800190565b60208082526028908201527f546865207573657220646f65736e277420686176652067756172616e74656564604082015267081ddb081cdc1bdd60c21b606082015260800190565b60208082526023908201527f5468652075736572206973206e6f742070617274206f662074686520666366736040820152620815d360ea1b606082015260800190565b600081600019048311821515161561423457614234613f34565b500290565b60006020828403121561424b57600080fd5b81516116da81613bb9565b6020808252603c908201527f7175616e746974792065786365656420636170206f6620616d6f756e7420677560408201527f6172616e7465656420666f7220627579696e6720776974682065746800000000606082015260800190565b600083516142c5818460208801613959565b8351908301906142d9818360208801613959565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052601260045260246000fd5b600082614317576143176142f2565b500490565b60008261432b5761432b6142f2565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906143cb90830184613985565b9695505050505050565b6000602082840312156143e757600080fd5b81516116da81613926565b60008251614404818460208701613959565b919091019291505056fea2646970667358221220ca0efcf981d37780583573681b29431e479b98e6bccbc1fc20d9b43be98b9d6764736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000ad900000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000008e500000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000002544faa778090e00000000000000000000000000000235c8ee913d93c68d2902a8e0b5a64375570572600000000000000000000000039211ab93600ffbaa6e6193881cd60ca91d8bd12000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e7465684261672047656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044241475300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): tehBag Genesis
Arg [1] : symbol_ (string): BAGS
Arg [2] : _maxSupply (uint256): 2777
Arg [3] : _amountGuaranteedToBuyWithBag (uint256): 500
Arg [4] : _amountGuaranteedToBuyWithETH (uint256): 2277
Arg [5] : _mintPrice (uint256): 70000000000000000
Arg [6] : _mintPriceInBag (uint256): 11000000000000000000000
Arg [7] : _token (address): 0x235C8EE913d93c68D2902a8e0b5a643755705726
Arg [8] : _royaltyReceiver (address): 0x39211aB93600FfbaA6e6193881CD60ca91D8bD12
Arg [9] : _royaltyPercentage (uint96): 10
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000ad9
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [4] : 00000000000000000000000000000000000000000000000000000000000008e5
Arg [5] : 00000000000000000000000000000000000000000000000000f8b0a10e470000
Arg [6] : 0000000000000000000000000000000000000000000002544faa778090e00000
Arg [7] : 000000000000000000000000235c8ee913d93c68d2902a8e0b5a643755705726
Arg [8] : 00000000000000000000000039211ab93600ffbaa6e6193881cd60ca91d8bd12
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [11] : 7465684261672047656e65736973000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [13] : 4241475300000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
87021:17042:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87632:33;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;87632:33:0;;;;;;;;98915:248;;;;;;;;;;-1:-1:-1;98915:248:0;;;;;:::i;:::-;;:::i;:::-;;;747:14:1;;740:22;722:41;;710:2;695:18;98915:248:0;582:187:1;22662:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24183:172::-;;;;;;;;;;-1:-1:-1;24183:172:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;24183:172:0;1710:203:1;102725:174:0;;;;;;;;;;-1:-1:-1;102725:174:0;;;;;:::i;:::-;;:::i;:::-;;95735:304;;;;;;;;;;-1:-1:-1;95735:304:0;;;;;:::i;:::-;;:::i;100543:513::-;;;;;;;;;;-1:-1:-1;100543:513:0;;;;;:::i;:::-;;:::i;97440:84::-;;;;;;;;;;-1:-1:-1;97440:84:0;;;;;:::i;:::-;;:::i;96906:137::-;;;;;;;;;;-1:-1:-1;96906:137:0;;;;;:::i;:::-;;:::i;43163:113::-;;;;;;;;;;-1:-1:-1;43251:10:0;:17;43163:113;;98102:153;;;;;;;;;;-1:-1:-1;98102:153:0;;;;;:::i;:::-;;:::i;96457:110::-;;;;;;;;;;-1:-1:-1;96457:110:0;;;;;:::i;:::-;;:::i;103083:180::-;;;;;;;;;;-1:-1:-1;103083:180:0;;;;;:::i;:::-;;:::i;101256:235::-;;;;;;;;;;-1:-1:-1;101256:235:0;;;;;:::i;:::-;-1:-1:-1;;101374:48:0;;;;;;;;;101403:19;101374:48;-1:-1:-1;;;;;101374:48:0;;;;;-1:-1:-1;;;101374:48:0;;;-1:-1:-1;;;;;101374:48:0;;;;;;;;;101256:235;;;;;-1:-1:-1;;;;;6556:32:1;;;6538:51;;6620:2;6605:18;;6598:34;;;;6511:18;101256:235:0;6364:274:1;88046:36:0;;;;;;;;;;-1:-1:-1;88046:36:0;;;;;;;;42830:256;;;;;;;;;;-1:-1:-1;42830:256:0;;;;;:::i;:::-;;:::i;87747:32::-;;;;;;;;;;;;;;;;93837:132;;;;;;;;;;-1:-1:-1;93837:132:0;;;;;:::i;:::-;;:::i;83659:139::-;;;;;;;;;;;;82484:42;83659:139;;103451:188;;;;;;;;;;-1:-1:-1;103451:188:0;;;;;:::i;:::-;;:::i;101500:336::-;;;;;;;;;;-1:-1:-1;101500:336:0;;;;;:::i;:::-;;:::i;87197:47::-;;;;;;;;;;-1:-1:-1;87197:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;98619:248;;;;;;;;;;-1:-1:-1;98619:248:0;;;;;:::i;:::-;;:::i;99578:123::-;;;;;;;;;;;;;:::i;43354:233::-;;;;;;;;;;-1:-1:-1;43354:233:0;;;;;:::i;:::-;;:::i;87840:45::-;;;;;;;;;;;;;;;;97533:269;;;;;;;;;;-1:-1:-1;97533:269:0;;;;;:::i;:::-;;:::i;92770:137::-;;;;;;;;;;-1:-1:-1;92770:137:0;;;;;:::i;:::-;;:::i;87586:36::-;;;;;;;;;;;;;;;;22372:222;;;;;;;;;;-1:-1:-1;22372:222:0;;;;;:::i;:::-;;:::i;87519:24::-;;;;;;;;;;;;;;;;87431:54;;;;;;;;;;-1:-1:-1;87431:54:0;;;;;;;;;;;;;;;:::i;99710:824::-;;;;;;;;;;-1:-1:-1;99710:824:0;;;;;:::i;:::-;;:::i;87998:38::-;;;;;;;;;;-1:-1:-1;87998:38:0;;;;-1:-1:-1;;;;;87998:38:0;;;-1:-1:-1;;;87998:38:0;;-1:-1:-1;;;;;87998:38:0;;;;;;;-1:-1:-1;;;;;8423:32:1;;;8405:51;;-1:-1:-1;;;;;8492:39:1;;;8487:2;8472:18;;8465:67;8378:18;87998:38:0;8233:305:1;22102:207:0;;;;;;;;;;-1:-1:-1;22102:207:0;;;;;:::i;:::-;;:::i;36830:103::-;;;;;;;;;;;;;:::i;93135:416::-;;;;;;;;;;-1:-1:-1;93135:416:0;;;;;:::i;:::-;;:::i;97195:120::-;;;;;;;;;;-1:-1:-1;97195:120:0;;;;;:::i;:::-;;:::i;99409:111::-;;;;;;;;;;-1:-1:-1;99484:28:0;;99409:111;;88089:35;;;;;;;;;;-1:-1:-1;88089:35:0;;;;;;;;;;;87959:32;;;;;;;;;;;;;;;;87786:47;;;;;;;;;;;;;;;;36180:87;;;;;;;;;;-1:-1:-1;36253:6:0;;-1:-1:-1;;;;;36253:6:0;36180:87;;93978:649;;;;;;;;;;-1:-1:-1;93978:649:0;;;;;:::i;:::-;;:::i;87251:41::-;;;;;;;;;;-1:-1:-1;87251:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;22832:104;;;;;;;;;;;;;:::i;87299:41::-;;;;;;;;;;-1:-1:-1;87299:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;87146:44;;;;;;;;;;-1:-1:-1;87146:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;87922:30;;;;;;;;;;-1:-1:-1;87922:30:0;;;;-1:-1:-1;;;;;87922:30:0;;;92916:210;;;;;;:::i;:::-;;:::i;102353:193::-;;;;;;;;;;-1:-1:-1;102353:193:0;;;;;:::i;:::-;;:::i;87672:30::-;;;;;;;;;;;;;;;;99230:120;;;;;;;;;;;;;:::i;96048:289::-;;;;;;;;;;-1:-1:-1;96048:289:0;;;;;:::i;:::-;;:::i;97814:279::-;;;;;;;;;;-1:-1:-1;97814:279:0;;;;;:::i;:::-;;:::i;103827:233::-;;;;;;;;;;-1:-1:-1;103827:233:0;;;;;:::i;:::-;;:::i;94636:312::-;;;;;;;;;;-1:-1:-1;94636:312:0;;;;;:::i;:::-;;:::i;101863:102::-;;;;;;;;;;-1:-1:-1;101863:102:0;;;;;:::i;:::-;;:::i;96683:214::-;;;;;;;;;;-1:-1:-1;96683:214:0;;;;;:::i;:::-;;:::i;92410:351::-;;;;;;;;;;-1:-1:-1;92410:351:0;;;;;:::i;:::-;;:::i;101065:182::-;;;;;;;;;;-1:-1:-1;101065:182:0;;;;;:::i;:::-;-1:-1:-1;;;;;101189:15:0;101143:7;101189:15;;;:9;:15;;;;;;;;;101206:12;:18;;;;;;101226:6;:12;;;;;;101189:15;;101206:18;;101226:12;101065:182;;;;;10051:25:1;;;10107:2;10092:18;;10085:34;;;;10135:18;;;10128:34;10039:2;10024:18;101065:182:0;9849:319:1;87550:29:0;;;;;;;;;;;;;;;;96576:98;;;;;;;;;;-1:-1:-1;96576:98:0;;;;;:::i;:::-;;:::i;98264:105::-;;;;;;;;;;-1:-1:-1;98264:105:0;;;;;:::i;:::-;;:::i;97324:107::-;;;;;;;;;;-1:-1:-1;97324:107:0;;;;;:::i;:::-;;:::i;98378:232::-;;;;;;;;;;;;;:::i;24655:164::-;;;;;;;;;;-1:-1:-1;24655:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;24776:25:0;;;24752:4;24776:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24655:164;37089:201;;;;;;;;;;-1:-1:-1;37089:201:0;;;;;:::i;:::-;;:::i;96346:102::-;;;;;;;;;;-1:-1:-1;96346:102:0;;;;;:::i;:::-;;:::i;97052:134::-;;;;;;;;;;-1:-1:-1;97052:134:0;;;;;:::i;:::-;;:::i;87895:20::-;;;;;;;;;;-1:-1:-1;87895:20:0;;;;-1:-1:-1;;;;;87895:20:0;;;98915:248;99019:4;-1:-1:-1;;;;;;99054:41:0;;-1:-1:-1;;;99054:41:0;;:90;;;99108:36;99132:11;99108:23;:36::i;:::-;99036:119;98915:248;-1:-1:-1;;98915:248:0:o;22662:100::-;22716:13;22749:5;22742:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22662:100;:::o;24183:172::-;24259:7;24279:23;24294:7;24279:14;:23::i;:::-;-1:-1:-1;24323:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24323:24:0;;24183:172::o;102725:174::-;102838:8;85440:30;85461:8;85440:20;:30::i;:::-;102859:32:::1;102873:8;102883:7;102859:13;:32::i;:::-;102725:174:::0;;;:::o;95735:304::-;36065:13;:11;:13::i;:::-;95873:6:::1;:13;95853:9;:16;:33;95845:61;;;;-1:-1:-1::0;;;95845:61:0::1;;;;;;;:::i;:::-;;;;;;;;;95925:9;95920:112;95944:9;:16;95940:1;:20;95920:112;;;96011:6;96018:1;96011:9;;;;;;;;:::i;:::-;;;;;;;95982:12;:26;95995:9;96005:1;95995:12;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;95982:26:0::1;-1:-1:-1::0;;;;;95982:26:0::1;;;;;;;;;;;;:38;;;;95962:3;;;;;:::i;:::-;;;;95920:112;;100543:513:::0;100623:7;100642:20;100665:30;100683:4;100689:5;100665:17;:30::i;:::-;100642:53;;100710:7;100706:343;;;100759:12;100738:18;99484:28;;;99409:111;100738:18;:33;100734:99;;;99484:28;;100799:18;100792:25;;;;;100734:99;100857:12;-1:-1:-1;100850:19:0;;100706:343;100927:12;100906:18;:16;:18::i;:::-;:33;100902:99;;;100967:18;:16;:18::i;97440:84::-;36065:13;:11;:13::i;:::-;97440:84;:::o;96906:137::-;36065:13;:11;:13::i;:::-;97000:35:::1;97022:4;97028:6;97000:21;:35::i;:::-;96906:137:::0;;:::o;98102:153::-;36065:13;:11;:13::i;:::-;98218:29:::1;::::0;;;;::::1;::::0;;;-1:-1:-1;;;;;98218:29:0;;::::1;::::0;;;-1:-1:-1;;;;;98218:29:0;;::::1;;::::0;;::::1;::::0;;;-1:-1:-1;;;98196:51:0;;::::1;;:19;:51:::0;98102:153::o;96457:110::-;36065:13;:11;:13::i;:::-;96533:17:::1;:26:::0;96457:110::o;103083:180::-;103201:4;-1:-1:-1;;;;;85165:18:0;;85173:10;85165:18;85161:83;;85200:32;85221:10;85200:20;:32::i;:::-;103218:37:::1;103237:4;103243:2;103247:7;103218:18;:37::i;:::-;103083:180:::0;;;;:::o;42830:256::-;42927:7;42963:23;42980:5;42963:16;:23::i;:::-;42955:5;:31;42947:87;;;;-1:-1:-1;;;42947:87:0;;12051:2:1;42947:87:0;;;12033:21:1;12090:2;12070:18;;;12063:30;12129:34;12109:18;;;12102:62;-1:-1:-1;;;12180:18:1;;;12173:41;12231:19;;42947:87:0;11849:407:1;42947:87:0;-1:-1:-1;;;;;;43052:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;42830:256::o;93837:132::-;93897:10;88233:1;88213:17;;;:9;:17;;;;;;93909:8;;88205:67;;;;-1:-1:-1;;;88205:67:0;;12463:2:1;88205:67:0;;;12445:21:1;12502:2;12482:18;;;12475:30;12541:34;12521:18;;;12514:62;-1:-1:-1;;;12592:18:1;;;12585:31;12633:19;;88205:67:0;12261:397:1;88205:67:0;88307:19;88291:12;;;;:35;;;;;;;;:::i;:::-;;88283:65;;;;-1:-1:-1;;;88283:65:0;;;;;;;:::i;:::-;88382:8;88367:11;;:23;;88359:71;;;;-1:-1:-1;;;88359:71:0;;13211:2:1;88359:71:0;;;13193:21:1;13250:2;13230:18;;;13223:30;13289:34;13269:18;;;13262:62;-1:-1:-1;;;13340:18:1;;;13333:33;13383:19;;88359:71:0;13009:399:1;88359:71:0;-1:-1:-1;;;;;88449:17:0;;;;;;:9;:17;;;;;;:29;-1:-1:-1;88449:29:0;88441:116;;;;-1:-1:-1;;;88441:116:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;88571:17:0;;;;;;:9;:17;;;;;:29;;88592:8;;88571:17;:29;;88592:8;;88571:29;:::i;:::-;;;;;;;;88626:8;88611:11;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;93930:31:0::1;::::0;-1:-1:-1;93940:10:0::1;93952:8:::0;93930:9:::1;:31::i;103451:188::-:0;103573:4;-1:-1:-1;;;;;85165:18:0;;85173:10;85165:18;85161:83;;85200:32;85221:10;85200:20;:32::i;:::-;103590:41:::1;103613:4;103619:2;103623:7;103590:22;:41::i;101500:336::-:0;101618:41;16728:10;101637:12;101651:7;101618:18;:41::i;:::-;101610:100;;;;-1:-1:-1;;;101610:100:0;;;;;;;:::i;:::-;101745:18;101729:12;;;;:34;;;;;;;;:::i;:::-;;101721:82;;;;-1:-1:-1;;;101721:82:0;;14643:2:1;101721:82:0;;;14625:21:1;14682:2;14662:18;;;14655:30;14721:34;14701:18;;;14694:62;-1:-1:-1;;;14772:18:1;;;14765:33;14815:19;;101721:82:0;14441:399:1;101721:82:0;101814:14;101820:7;101814:5;:14::i;98619:248::-;36065:13;:11;:13::i;:::-;98706:38:::1;::::0;-1:-1:-1;;;98706:38:0;;98738:4:::1;98706:38;::::0;::::1;1856:51:1::0;98688:15:0::1;::::0;-1:-1:-1;;;;;98706:23:0;::::1;::::0;::::1;::::0;1829:18:1;;98706:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;98688:56:::0;-1:-1:-1;98755:47:0::1;-1:-1:-1::0;;;;;98755:26:0;::::1;98782:10;98688:56:::0;98755:26:::1;:47::i;:::-;98818:41;::::0;;98832:10:::1;15274:34:1::0;;-1:-1:-1;;;;;15344:15:1;;15339:2;15324:18;;15317:43;15376:18;;;15369:34;;;98818:41:0::1;::::0;15224:2:1;15209:18;98818:41:0::1;;;;;;;98677:190;98619:248:::0;:::o;99578:123::-;99627:7;99682:11;;99653:26;;:40;;;;:::i;:::-;99646:47;;99578:123;:::o;43354:233::-;43429:7;43465:30;43251:10;:17;;43163:113;43465:30;43457:5;:38;43449:95;;;;-1:-1:-1;;;43449:95:0;;15616:2:1;43449:95:0;;;15598:21:1;15655:2;15635:18;;;15628:30;15694:34;15674:18;;;15667:62;-1:-1:-1;;;15745:18:1;;;15738:42;15797:19;;43449:95:0;15414:408:1;43449:95:0;43562:10;43573:5;43562:17;;;;;;;;:::i;:::-;;;;;;;;;43555:24;;43354:233;;;:::o;97533:269::-;36065:13;:11;:13::i;:::-;97639:7:::1;97617:18;:16;:18::i;:::-;:29;;97609:87;;;::::0;-1:-1:-1;;;97609:87:0;;16029:2:1;97609:87:0::1;::::0;::::1;16011:21:1::0;16068:2;16048:18;;;16041:30;16107:34;16087:18;;;16080:62;-1:-1:-1;;;16158:18:1;;;16151:43;16211:19;;97609:87:0::1;15827:409:1::0;97609:87:0::1;97739:7;97707:28;;:39;;;;;;;:::i;:::-;;;;;;;;97787:7;97757:26;;:37;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;97533:269:0:o;92770:137::-;36065:13;:11;:13::i;:::-;92875:24;;::::1;::::0;:10:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;22372:222::-:0;22444:7;22480:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22480:16:0;;22507:56;;;;-1:-1:-1;;;22507:56:0;;16576:2:1;22507:56:0;;;16558:21:1;16615:2;16595:18;;;16588:30;-1:-1:-1;;;16634:18:1;;;16627:54;16698:18;;22507:56:0;16374:348:1;99710:824:0;99786:7;;99843:651;;;;-1:-1:-1;;;;;;99886:15:0;;;;;;:9;:15;;;;;;99843:651;;;99963:31;99947:12;;;;:47;;;;;;;;:::i;:::-;;99943:540;;-1:-1:-1;;;;;;100030:18:0;;;;;;:12;:18;;;;;;99943:540;;;100106:25;100090:12;;;;:41;;;;;;;;:::i;:::-;;100086:397;;-1:-1:-1;;;;;;100167:12:0;;;;;;:6;:12;;;;;;100086:397;;;100234:19;100218:12;;;;:35;;;;;;;;:::i;:::-;;100214:269;;100294:17;;-1:-1:-1;;;;;100278:12:0;;;;;;:6;:12;;;;;;:33;100274:194;;-1:-1:-1;100351:1:0;100274:194;;;-1:-1:-1;;;;;100436:12:0;;;;;;:6;:12;;;;;;100416:17;;:32;;100436:12;100416:32;:::i;:::-;100401:47;;100274:194;100514:12;99710:824;-1:-1:-1;;;99710:824:0:o;22102:207::-;22174:7;-1:-1:-1;;;;;22202:19:0;;22194:73;;;;-1:-1:-1;;;22194:73:0;;16929:2:1;22194:73:0;;;16911:21:1;16968:2;16948:18;;;16941:30;17007:34;16987:18;;;16980:62;-1:-1:-1;;;17058:18:1;;;17051:39;17107:19;;22194:73:0;16727:405:1;22194:73:0;-1:-1:-1;;;;;;22285:16:0;;;;;:9;:16;;;;;;;22102:207::o;36830:103::-;36065:13;:11;:13::i;:::-;36895:30:::1;36922:1;36895:18;:30::i;:::-;36830:103::o:0;93135:416::-;93216:8;90193:19;90177:12;;;;:35;;;;;;;;:::i;:::-;;90169:79;;;;-1:-1:-1;;;90169:79:0;;17339:2:1;90169:79:0;;;17321:21:1;17378:2;17358:18;;;17351:30;17417:33;17397:18;;;17390:61;17468:18;;90169:79:0;17137:355:1;90169:79:0;90299:8;90267:28;;:40;;90259:115;;;;-1:-1:-1;;;90259:115:0;;;;;;;:::i;:::-;90417:8;90385:28;;:40;;;;;;;:::i;:::-;;;;-1:-1:-1;93243:10:0::1;::::0;-1:-1:-1;93255:8:0;88931:19:::1;88915:12;::::0;::::1;;:35;::::0;::::1;;;;;;:::i;:::-;::::0;88907:65:::1;;;;-1:-1:-1::0;;;88907:65:0::1;;;;;;;:::i;:::-;89007:18;88991:12;::::0;::::1;;:34;::::0;::::1;;;;;;:::i;:::-;::::0;88983:64:::1;;;::::0;-1:-1:-1;;;88983:64:0;;18130:2:1;88983:64:0::1;::::0;::::1;18112:21:1::0;18169:2;18149:18;;;18142:30;-1:-1:-1;;;18188:18:1;;;18181:47;18245:18;;88983:64:0::1;17928:341:1::0;88983:64:0::1;89095:17;::::0;-1:-1:-1;;;;;89066:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;;:25:::1;::::0;89083:8;;89066:25:::1;:::i;:::-;:46;;89058:111;;;;-1:-1:-1::0;;;89058:111:0::1;;;;;;;:::i;:::-;89207:8;89188:15;:13;:15::i;:::-;:27;;89180:82;;;;-1:-1:-1::0;;;89180:82:0::1;;;;;;;:::i;:::-;89296:31;89280:12;::::0;::::1;;:47;::::0;::::1;;;;;;:::i;:::-;::::0;89276:755:::1;;-1:-1:-1::0;;;;;89352:20:0;::::1;89375:1;89352:20:::0;;;:12:::1;:20;::::0;;;;;89344:77:::1;;;;-1:-1:-1::0;;;89344:77:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89444:20:0;::::1;;::::0;;;:12:::1;:20;::::0;;;;;:32;-1:-1:-1;89444:32:0::1;89436:119;;;;-1:-1:-1::0;;;89436:119:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89570:20:0;::::1;;::::0;;;:12:::1;:20;::::0;;;;:32;;89594:8;;89570:20;:32:::1;::::0;89594:8;;89570:32:::1;:::i;:::-;::::0;;;-1:-1:-1;89276:755:0::1;::::0;-1:-1:-1;89276:755:0::1;;89652:25;89636:12;::::0;::::1;;:41;::::0;::::1;;;;;;:::i;:::-;::::0;89632:399:::1;;-1:-1:-1::0;;;;;89702:14:0;::::1;89719:1;89702:14:::0;;;:6:::1;:14;::::0;;;;;89694:66:::1;;;;-1:-1:-1::0;;;89694:66:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89783:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;;:26;-1:-1:-1;89783:26:0::1;89775:113;;;;-1:-1:-1::0;;;89775:113:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89903:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;:26;;89921:8;;89903:14;:26:::1;::::0;89921:8;;89903:26:::1;:::i;89632:399::-;89967:19;89951:12;::::0;::::1;;:35;::::0;::::1;;;;;;:::i;:::-;::::0;89947:84:::1;;90003:16;:14;:16::i;:::-;-1:-1:-1::0;;;;;90044:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;:26;;90062:8;;90044:14;:26:::1;::::0;90062:8;;90044:26:::1;:::i;:::-;::::0;;;-1:-1:-1;;90968:5:0::2;::::0;90954:57:::2;::::0;-1:-1:-1;;;90954:57:0;;93279:10:::2;90954:57;::::0;::::2;20131:34:1::0;;;91005:4:0::2;20181:18:1::0;;;20174:43;93279:10:0;93291:8;;90938:13:::2;::::0;-1:-1:-1;;;;;90968:5:0::2;::::0;90954:30:::2;::::0;20066:18:1;;90954:57:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;90938:73;;91059:5;91041:14;;91030:8;:25;;;;:::i;:::-;:34;;91022:73;;;::::0;-1:-1:-1;;;91022:73:0;;20603:2:1;91022:73:0::2;::::0;::::2;20585:21:1::0;20642:2;20622:18;;;20615:30;20681:28;20661:18;;;20654:56;20727:18;;91022:73:0::2;20401:350:1::0;91022:73:0::2;93312:22:::3;93354:8;93337:14;;:25;;;;:::i;:::-;93387:5;::::0;93373:76:::3;::::0;-1:-1:-1;;;93373:76:0;;93407:10:::3;93373:76;::::0;::::3;15274:34:1::0;93427:4:0::3;15324:18:1::0;;;15317:43;15376:18;;;15369:34;;;93312:50:0;;-1:-1:-1;;;;;;93387:5:0::3;::::0;93373:33:::3;::::0;15209:18:1;;93373:76:0::3;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;93474:5:0::3;::::0;93460:41:::3;::::0;-1:-1:-1;;;93460:41:0;;::::3;::::0;::::3;160:25:1::0;;;-1:-1:-1;;;;;93474:5:0;;::::3;::::0;93460:25:::3;::::0;133:18:1;;93460:41:0::3;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;93512:31;93522:10;93534:8;93512:9;:31::i;:::-;93301:250;90927:188:::2;90081:1;;90436::::1;;93135:416:::0;;:::o;97195:120::-;36065:13;:11;:13::i;:::-;-1:-1:-1;;;;;97286:12:0;;::::1;;::::0;;;:6:::1;:12;::::0;;;;:21;97195:120::o;93978:649::-;36065:13;:11;:13::i;:::-;94100:8:::1;94081:15;:13;:15::i;:::-;:27;;94073:82;;;;-1:-1:-1::0;;;94073:82:0::1;;;;;;;:::i;:::-;94173:5;94169:414;;;94235:8;94203:28;;:40;;94195:115;;;;-1:-1:-1::0;;;94195:115:0::1;;;;;;;:::i;:::-;94357:8;94325:28;;:40;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;94169:414:0::1;::::0;-1:-1:-1;94169:414:0::1;;94445:8;94415:26;;:38;;94407:111;;;;-1:-1:-1::0;;;94407:111:0::1;;;;;;;:::i;:::-;94563:8;94533:26;;:38;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;94169:414:0::1;94596:23;94606:2;94610:8;94596:9;:23::i;22832:104::-:0;22888:13;22921:7;22914:14;;;;;:::i;92916:210::-;92995:8;90552;90530:18;:16;:18::i;:::-;:30;;90522:103;;;;-1:-1:-1;;;90522:103:0;;;;;;;:::i;:::-;90666:8;90636:26;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;93022:10:0::1;::::0;-1:-1:-1;93034:8:0;88931:19:::1;88915:12;::::0;::::1;;:35;::::0;::::1;;;;;;:::i;:::-;::::0;88907:65:::1;;;;-1:-1:-1::0;;;88907:65:0::1;;;;;;;:::i;:::-;89007:18;88991:12;::::0;::::1;;:34;::::0;::::1;;;;;;:::i;:::-;::::0;88983:64:::1;;;::::0;-1:-1:-1;;;88983:64:0;;18130:2:1;88983:64:0::1;::::0;::::1;18112:21:1::0;18169:2;18149:18;;;18142:30;-1:-1:-1;;;18188:18:1;;;18181:47;18245:18;;88983:64:0::1;17928:341:1::0;88983:64:0::1;89095:17;::::0;-1:-1:-1;;;;;89066:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;;:25:::1;::::0;89083:8;;89066:25:::1;:::i;:::-;:46;;89058:111;;;;-1:-1:-1::0;;;89058:111:0::1;;;;;;;:::i;:::-;89207:8;89188:15;:13;:15::i;:::-;:27;;89180:82;;;;-1:-1:-1::0;;;89180:82:0::1;;;;;;;:::i;:::-;89296:31;89280:12;::::0;::::1;;:47;::::0;::::1;;;;;;:::i;:::-;::::0;89276:755:::1;;-1:-1:-1::0;;;;;89352:20:0;::::1;89375:1;89352:20:::0;;;:12:::1;:20;::::0;;;;;89344:77:::1;;;;-1:-1:-1::0;;;89344:77:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89444:20:0;::::1;;::::0;;;:12:::1;:20;::::0;;;;;:32;-1:-1:-1;89444:32:0::1;89436:119;;;;-1:-1:-1::0;;;89436:119:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89570:20:0;::::1;;::::0;;;:12:::1;:20;::::0;;;;:32;;89594:8;;89570:20;:32:::1;::::0;89594:8;;89570:32:::1;:::i;:::-;::::0;;;-1:-1:-1;89276:755:0::1;::::0;-1:-1:-1;89276:755:0::1;;89652:25;89636:12;::::0;::::1;;:41;::::0;::::1;;;;;;:::i;:::-;::::0;89632:399:::1;;-1:-1:-1::0;;;;;89702:14:0;::::1;89719:1;89702:14:::0;;;:6:::1;:14;::::0;;;;;89694:66:::1;;;;-1:-1:-1::0;;;89694:66:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89783:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;;:26;-1:-1:-1;89783:26:0::1;89775:113;;;;-1:-1:-1::0;;;89775:113:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89903:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;:26;;89921:8;;89903:14;:26:::1;::::0;89921:8;;89903:26:::1;:::i;89632:399::-;89967:19;89951:12;::::0;::::1;;:35;::::0;::::1;;;;;;:::i;:::-;::::0;89947:84:::1;;90003:16;:14;:16::i;:::-;-1:-1:-1::0;;;;;90044:14:0;::::1;;::::0;;;:6:::1;:14;::::0;;;;:26;;90062:8;;90044:14;:26:::1;::::0;90062:8;;90044:26:::1;:::i;:::-;;;;;;;;93055:9:::2;93066:8;90802:5;90789:9;;90778:8;:20;;;;:::i;:::-;:29;;90770:71;;;::::0;-1:-1:-1;;;90770:71:0;;21637:2:1;90770:71:0::2;::::0;::::2;21619:21:1::0;21676:2;21656:18;;;21649:30;21715:31;21695:18;;;21688:59;21764:18;;90770:71:0::2;21435:353:1::0;90770:71:0::2;93087:31:::3;93097:10;93109:8;93087:9;:31::i;:::-;90081:1:::2;;90685::::1;;92916:210:::0;;:::o;102353:193::-;102474:8;85440:30;85461:8;85440:20;:30::i;:::-;102495:43:::1;102519:8;102529;102495:23;:43::i;99230:120::-:0;99276:7;99331:11;;99315:13;43251:10;:17;;43163:113;99315:13;99302:10;;:26;;;;:::i;:::-;:40;;;;:::i;96048:289::-;36065:13;:11;:13::i;:::-;96180:6:::1;:13;96160:9;:16;:33;96152:61;;;;-1:-1:-1::0;;;96152:61:0::1;;;;;;;:::i;:::-;96229:9;96224:106;96248:9;:16;96244:1;:20;96224:106;;;96309:6;96316:1;96309:9;;;;;;;;:::i;:::-;;;;;;;96286:6;:20;96293:9;96303:1;96293:12;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;96286:20:0::1;-1:-1:-1::0;;;;;96286:20:0::1;;;;;;;;;;;;:32;;;;96266:3;;;;;:::i;:::-;;;;96224:106;;97814:279:::0;36065:13;:11;:13::i;:::-;97930:7:::1;97898:28;;:39;;97890:97;;;::::0;-1:-1:-1;;;97890:97:0;;21995:2:1;97890:97:0::1;::::0;::::1;21977:21:1::0;22034:2;22014:18;;;22007:30;22073:34;22053:18;;;22046:62;-1:-1:-1;;;22124:18:1;;;22117:43;22177:19;;97890:97:0::1;21793:409:1::0;97890:97:0::1;98028:7;97998:26;;:37;;;;;;;:::i;:::-;;;;;;;;98078:7;98046:28;;:39;;;;;;;:::i;103827:233::-:0;103983:4;-1:-1:-1;;;;;85165:18:0;;85173:10;85165:18;85161:83;;85200:32;85221:10;85200:20;:32::i;:::-;104005:47:::1;104028:4;104034:2;104038:7;104047:4;104005:22;:47::i;:::-;103827:233:::0;;;;;:::o;94636:312::-;36065:13;:11;:13::i;:::-;94771:6:::1;:13;94751:9;:16;:33;94743:61;;;;-1:-1:-1::0;;;94743:61:0::1;;;;;;;:::i;:::-;94823:9;94818:120;94842:9;:16;94838:1;:20;94818:120;;;94880:46;94902:9;94912:1;94902:12;;;;;;;;:::i;:::-;;;;;;;94916:6;94923:1;94916:9;;;;;;;;:::i;:::-;;;;;;;94880:21;:46::i;:::-;94860:3:::0;::::1;::::0;::::1;:::i;:::-;;;;94818:120;;101863:102:::0;36065:13;:11;:13::i;:::-;101931:17:::1;:26:::0;;-1:-1:-1;;101931:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;101863:102::o;96683:214::-;36065:13;:11;:13::i;:::-;96791:6:::1;96774:13;43251:10:::0;:17;;43163:113;96774:13:::1;96761:10;;:26;;;;:::i;:::-;:36;;96753:105;;;::::0;-1:-1:-1;;;96753:105:0;;22409:2:1;96753:105:0::1;::::0;::::1;22391:21:1::0;22448:2;22428:18;;;22421:30;22487:34;22467:18;;;22460:62;22558:26;22538:18;;;22531:54;22602:19;;96753:105:0::1;22207:420:1::0;96753:105:0::1;96869:11;:20:::0;96683:214::o;92410:351::-;27450:4;27474:16;;;:7;:16;;;;;;92483:13;;-1:-1:-1;;;;;27474:16:0;92509:76;;;;-1:-1:-1;;;92509:76:0;;22834:2:1;92509:76:0;;;22816:21:1;22873:2;22853:18;;;22846:30;22912:34;22892:18;;;22885:62;-1:-1:-1;;;22963:18:1;;;22956:45;23018:19;;92509:76:0;22632:411:1;92509:76:0;92599:21;92623:10;:8;:10::i;:::-;92599:34;;92675:1;92657:7;92651:21;:25;:102;;;;;;;;;;;;;;;;;92703:7;92712:25;92729:7;92712:16;:25::i;:::-;92686:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92644:109;92410:351;-1:-1:-1;;;92410:351:0:o;96576:98::-;36065:13;:11;:13::i;:::-;96645:12:::1;:21:::0;;96660:6;;96645:12;-1:-1:-1;;96645:21:0::1;::::0;96660:6;96645:21:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;96576:98:::0;:::o;98264:105::-;36065:13;:11;:13::i;:::-;98336:16:::1;:25:::0;;;::::1;;;;-1:-1:-1::0;;98336:25:0;;::::1;::::0;;;::::1;::::0;;98264:105::o;97324:107::-;36065:13;:11;:13::i;:::-;97400:14:::1;:23:::0;97324:107::o;98378:232::-;36065:13;:11;:13::i;:::-;98492:48:::1;::::0;98460:21:::1;::::0;98500:10:::1;::::0;98492:48;::::1;;;::::0;98460:21;;98431:26:::1;98492:48:::0;98431:26;98492:48;98460:21;98500:10;98492:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;98559:43:0::1;::::0;;98571:10:::1;6538:51:1::0;;6620:2;6605:18;;6598:34;;;98559:43:0::1;::::0;6511:18:1;98559:43:0::1;;;;;;;98420:190;98378:232::o:0;37089:201::-;36065:13;:11;:13::i;:::-;-1:-1:-1;;;;;37178:22:0;::::1;37170:73;;;::::0;-1:-1:-1;;;37170:73:0;;23892:2:1;37170:73:0::1;::::0;::::1;23874:21:1::0;23931:2;23911:18;;;23904:30;23970:34;23950:18;;;23943:62;-1:-1:-1;;;24021:18:1;;;24014:36;24067:19;;37170:73:0::1;23690:402:1::0;37170:73:0::1;37254:28;37273:8;37254:18;:28::i;96346:102::-:0;36065:13;:11;:13::i;:::-;96418:9:::1;:22:::0;96346:102::o;97052:134::-;36065:13;:11;:13::i;:::-;-1:-1:-1;;;;;97151:18:0;;::::1;;::::0;;;:12:::1;:18;::::0;;;;:27;97052:134::o;51702:215::-;51804:4;-1:-1:-1;;;;;;51828:41:0;;-1:-1:-1;;;51828:41:0;;:81;;;51873:36;51897:11;51873:23;:36::i;32190:135::-;27450:4;27474:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27474:16:0;32264:53;;;;-1:-1:-1;;;32264:53:0;;16576:2:1;32264:53:0;;;16558:21:1;16615:2;16595:18;;;16588:30;-1:-1:-1;;;16634:18:1;;;16627:54;16698:18;;32264:53:0;16374:348:1;101974:190:0;102068:17;;;;102064:93;;;102109:36;102136:8;102109:26;:36::i;23697:419::-;23778:13;23794:23;23809:7;23794:14;:23::i;:::-;23778:39;;23842:5;-1:-1:-1;;;;;23836:11:0;:2;-1:-1:-1;;;;;23836:11:0;;23828:57;;;;-1:-1:-1;;;23828:57:0;;24299:2:1;23828:57:0;;;24281:21:1;24338:2;24318:18;;;24311:30;24377:34;24357:18;;;24350:62;-1:-1:-1;;;24428:18:1;;;24421:31;24469:19;;23828:57:0;24097:397:1;23828:57:0;16728:10;-1:-1:-1;;;;;23921:21:0;;;;:62;;-1:-1:-1;23946:37:0;23963:5;16728:10;24655:164;:::i;23946:37::-;23899:174;;;;-1:-1:-1;;;23899:174:0;;24701:2:1;23899:174:0;;;24683:21:1;24740:2;24720:18;;;24713:30;24779:34;24759:18;;;24752:62;24850:32;24830:18;;;24823:60;24900:19;;23899:174:0;24499:426:1;23899:174:0;24087:21;24096:2;24100:7;24087:8;:21::i;36346:132::-;36253:6;;-1:-1:-1;;;;;36253:6:0;16728:10;36410:23;36402:68;;;;-1:-1:-1;;;36402:68:0;;25132:2:1;36402:68:0;;;25114:21:1;;;25151:18;;;25144:30;25210:34;25190:18;;;25183:62;25262:18;;36402:68:0;24930:356:1;95070:656:0;-1:-1:-1;;;;;95292:15:0;;;;;;:9;:15;;;;;;:20;95288:240;;-1:-1:-1;;;;;95361:15:0;;95329:29;95361:15;;;:9;:15;;;;;;95405:11;;95443:8;;95405:35;;95361:15;;95405:35;:::i;:::-;:46;;;;:::i;:::-;95391:11;:60;-1:-1:-1;95288:240:0;;;95508:8;95493:11;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;;95288:240:0;-1:-1:-1;;;;;95541:15:0;;;;;;:9;:15;;;;;:26;;;95604;;95589:11;;:41;;95581:137;;;;-1:-1:-1;;;95581:137:0;;25493:2:1;95581:137:0;;;25475:21:1;25532:2;25512:18;;;25505:30;25571:34;25551:18;;;25544:62;25642:34;25622:18;;;25615:62;-1:-1:-1;;;25693:19:1;;;25686:50;25753:19;;95581:137:0;25291:487:1;24887:337:0;25082:41;16728:10;25101:12;16648:98;25082:41;25074:100;;;;-1:-1:-1;;;25074:100:0;;;;;;;:::i;:::-;25188:28;25198:4;25204:2;25208:7;25188:9;:28::i;93560:268::-;93647:14;;93629:15;93672:111;93696:8;93692:1;:12;93672:111;;;93726:18;93732:2;93736:7;93726:5;:18::i;:::-;93759:12;93770:1;93759:12;;:::i;:::-;;-1:-1:-1;93706:3:0;;;;:::i;:::-;;;;93672:111;;;-1:-1:-1;93796:14:0;:24;-1:-1:-1;;93560:268:0:o;25296:185::-;25434:39;25451:4;25457:2;25461:7;25434:39;;;;;;;;;;;;:16;:39::i;27680:264::-;27773:4;27790:13;27806:23;27821:7;27806:14;:23::i;:::-;27790:39;;27859:5;-1:-1:-1;;;;;27848:16:0;:7;-1:-1:-1;;;;;27848:16:0;;:52;;;-1:-1:-1;;;;;;24776:25:0;;;24752:4;24776:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27868:32;27848:87;;;;27928:7;-1:-1:-1;;;;;27904:31:0;:20;27916:7;27904:11;:20::i;:::-;-1:-1:-1;;;;;27904:31:0;;27848:87;27840:96;27680:264;-1:-1:-1;;;;27680:264:0:o;29954:425::-;30014:13;30030:23;30045:7;30030:14;:23::i;:::-;30014:39;;30067:48;30088:5;30103:1;30107:7;30067:20;:48::i;:::-;30157:29;30174:1;30178:7;30157:8;:29::i;:::-;-1:-1:-1;;;;;30200:16:0;;;;;;:9;:16;;;;;:21;;30220:1;;30200:16;:21;;30220:1;;30200:21;:::i;:::-;;;;-1:-1:-1;;30239:16:0;;;;:7;:16;;;;;;30232:23;;-1:-1:-1;;;;;;30232:23:0;;;30274:36;30247:7;;30239:16;-1:-1:-1;;;;;30274:36:0;;;;;30239:16;;30274:36;96906:137;;:::o;57488:211::-;57632:58;;;-1:-1:-1;;;;;6556:32:1;;57632:58:0;;;6538:51:1;6605:18;;;;6598:34;;;57632:58:0;;;;;;;;;;6511:18:1;;;;57632:58:0;;;;;;;;-1:-1:-1;;;;;57632:58:0;-1:-1:-1;;;57632:58:0;;;57605:86;;57625:5;;57605:19;:86::i;37451:191::-;37544:6;;;-1:-1:-1;;;;;37561:17:0;;;-1:-1:-1;;;;;;37561:17:0;;;;;;;37594:40;;37544:6;;;37561:17;37544:6;;37594:40;;37525:16;;37594:40;37514:128;37451:191;:::o;88663:164::-;88713:16;;;;;;;88709:111;;;88754:9;88767:10;88754:23;88746:62;;;;-1:-1:-1;;;88746:62:0;;25985:2:1;88746:62:0;;;25967:21:1;26024:2;26004:18;;;25997:30;26063:28;26043:18;;;26036:56;26109:18;;88746:62:0;25783:350:1;24428:155:0;24523:52;16728:10;24556:8;24566;24523:18;:52::i;25553:323::-;25727:41;16728:10;25760:7;25727:18;:41::i;:::-;25719:100;;;;-1:-1:-1;;;25719:100:0;;;;;;;:::i;:::-;25830:38;25844:4;25850:2;25854:7;25863:4;25830:13;:38::i;92290:111::-;92350:13;92383:10;92376:17;;;;;:::i;17278:724::-;17334:13;17556:5;17565:1;17556:10;17552:53;;-1:-1:-1;;17583:10:0;;;;;;;;;;;;-1:-1:-1;;;17583:10:0;;;;;17278:724::o;17552:53::-;17630:5;17615:12;17671:78;17678:9;;17671:78;;17704:8;;;;:::i;:::-;;-1:-1:-1;17727:10:0;;-1:-1:-1;17735:2:0;17727:10;;:::i;:::-;;;17671:78;;;17759:19;17791:6;17781:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17781:17:0;;17759:39;;17809:154;17816:10;;17809:154;;17843:11;17853:1;17843:11;;:::i;:::-;;-1:-1:-1;17912:10:0;17920:2;17912:5;:10;:::i;:::-;17899:24;;:2;:24;:::i;:::-;17886:39;;17869:6;17876;17869:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17869:56:0;;;;;;;;-1:-1:-1;17940:11:0;17949:2;17940:11;;:::i;:::-;;;17809:154;;42521:224;42623:4;-1:-1:-1;;;;;;42647:50:0;;-1:-1:-1;;;42647:50:0;;:90;;;42701:36;42725:11;42701:23;:36::i;85584:647::-;82484:42;85775:45;:49;85771:453;;86074:67;;-1:-1:-1;;;86074:67:0;;86125:4;86074:67;;;20131:34:1;-1:-1:-1;;;;;20201:15:1;;20181:18;;;20174:43;82484:42:0;;86074;;20066:18:1;;86074:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86069:144;;86169:28;;-1:-1:-1;;;86169:28:0;;-1:-1:-1;;;;;1874:32:1;;86169:28:0;;;1856:51:1;1829:18;;86169:28:0;1710:203:1;31467:174:0;31542:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31542:29:0;-1:-1:-1;;;;;31542:29:0;;;;;;;;:24;;31596:23;31542:24;31596:14;:23::i;:::-;-1:-1:-1;;;;;31587:46:0;;;;;;;;;;;31467:174;;:::o;30717:630::-;30876:4;-1:-1:-1;;;;;30849:31:0;:23;30864:7;30849:14;:23::i;:::-;-1:-1:-1;;;;;30849:31:0;;30841:81;;;;-1:-1:-1;;;30841:81:0;;26714:2:1;30841:81:0;;;26696:21:1;26753:2;26733:18;;;26726:30;26792:34;26772:18;;;26765:62;-1:-1:-1;;;26843:18:1;;;26836:35;26888:19;;30841:81:0;26512:401:1;30841:81:0;-1:-1:-1;;;;;30941:16:0;;30933:65;;;;-1:-1:-1;;;30933:65:0;;27120:2:1;30933:65:0;;;27102:21:1;27159:2;27139:18;;;27132:30;27198:34;27178:18;;;27171:62;-1:-1:-1;;;27249:18:1;;;27242:34;27293:19;;30933:65:0;26918:400:1;30933:65:0;31012:39;31033:4;31039:2;31043:7;31012:20;:39::i;:::-;31117:29;31134:1;31138:7;31117:8;:29::i;:::-;-1:-1:-1;;;;;31160:15:0;;;;;;:9;:15;;;;;:20;;31179:1;;31160:15;:20;;31179:1;;31160:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31191:13:0;;;;;;:9;:13;;;;;:18;;31208:1;;31191:13;:18;;31208:1;;31191:18;:::i;:::-;;;;-1:-1:-1;;31220:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31220:21:0;-1:-1:-1;;;;;31220:21:0;;;;;;;;;31260:27;;31220:16;;31260:27;;;;;;;102725:174;;;:::o;29281:443::-;-1:-1:-1;;;;;29361:16:0;;29353:61;;;;-1:-1:-1;;;29353:61:0;;27525:2:1;29353:61:0;;;27507:21:1;;;27544:18;;;27537:30;27603:34;27583:18;;;27576:62;27655:18;;29353:61:0;27323:356:1;29353:61:0;27450:4;27474:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27474:16:0;:30;29425:58;;;;-1:-1:-1;;;29425:58:0;;27886:2:1;29425:58:0;;;27868:21:1;27925:2;27905:18;;;27898:30;27964;27944:18;;;27937:58;28012:18;;29425:58:0;27684:352:1;29425:58:0;29497:45;29526:1;29530:2;29534:7;29497:20;:45::i;:::-;-1:-1:-1;;;;;29556:13:0;;;;;;:9;:13;;;;;:18;;29573:1;;29556:13;:18;;29573:1;;29556:18;:::i;:::-;;;;-1:-1:-1;;29585:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29585:21:0;-1:-1:-1;;;;;29585:21:0;;;;;;;;29625:33;;29585:16;;;29625:33;;29585:16;;29625:33;96906:137;;:::o;44201:590::-;-1:-1:-1;;;;;44408:18:0;;44404:187;;44443:40;44475:7;45620:10;:17;;45593:24;;;;:15;:24;;;;;:44;;;45648:24;;;;;;;;;;;;45516:164;44443:40;44404:187;;;44513:2;-1:-1:-1;;;;;44505:10:0;:4;-1:-1:-1;;;;;44505:10:0;;44501:90;;44532:47;44565:4;44571:7;44532:32;:47::i;:::-;-1:-1:-1;;;;;44605:16:0;;44601:183;;44638:45;44675:7;44638:36;:45::i;44601:183::-;44711:4;-1:-1:-1;;;;;44705:10:0;:2;-1:-1:-1;;;;;44705:10:0;;44701:83;;44732:40;44760:2;44764:7;44732:27;:40::i;60537:717::-;60962:23;60988:69;61016:4;60988:69;;;;;;;;;;;;;;;;;60996:5;-1:-1:-1;;;;;60988:27:0;;;:69;;;;;:::i;:::-;61072:17;;60962:95;;-1:-1:-1;61072:21:0;61068:179;;61169:10;61158:30;;;;;;;;;;;;:::i;:::-;61150:85;;;;-1:-1:-1;;;61150:85:0;;28243:2:1;61150:85:0;;;28225:21:1;28282:2;28262:18;;;28255:30;28321:34;28301:18;;;28294:62;-1:-1:-1;;;28372:18:1;;;28365:40;28422:19;;61150:85:0;28041:406:1;31785:315:0;31940:8;-1:-1:-1;;;;;31931:17:0;:5;-1:-1:-1;;;;;31931:17:0;;31923:55;;;;-1:-1:-1;;;31923:55:0;;28654:2:1;31923:55:0;;;28636:21:1;28693:2;28673:18;;;28666:30;28732:27;28712:18;;;28705:55;28777:18;;31923:55:0;28452:349:1;31923:55:0;-1:-1:-1;;;;;31989:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;31989:46:0;;;;;;;;;;32051:41;;722::1;;;32051::0;;695:18:1;32051:41:0;;;;;;;31785:315;;;:::o;26758:313::-;26914:28;26924:4;26930:2;26934:7;26914:9;:28::i;:::-;26961:47;26984:4;26990:2;26994:7;27003:4;26961:22;:47::i;:::-;26953:110;;;;-1:-1:-1;;;26953:110:0;;;;;;;:::i;21744:293::-;21846:4;-1:-1:-1;;;;;;21879:40:0;;-1:-1:-1;;;21879:40:0;;:101;;-1:-1:-1;;;;;;;21932:48:0;;-1:-1:-1;;;21932:48:0;21879:101;:150;;;-1:-1:-1;;;;;;;;;;20292:40:0;;;21993:36;20183:157;46308:1018;46575:22;46625:1;46600:22;46617:4;46600:16;:22::i;:::-;:26;;;;:::i;:::-;46637:18;46658:26;;;:17;:26;;;;;;46575:51;;-1:-1:-1;46792:28:0;;;46788:355;;-1:-1:-1;;;;;46859:18:0;;46837:19;46859:18;;;:12;:18;;;;;;;;:34;;;;;;;;;46911:30;;;;;;:44;;;47041:30;;:17;:30;;;;;:43;;;46788:355;-1:-1:-1;47240:26:0;;;;:17;:26;;;;;;;;47233:33;;;-1:-1:-1;;;;;47284:18:0;;;;;:12;:18;;;;;:34;;;;;;;47277:41;46308:1018::o;47622:1101::-;47901:10;:17;47876:22;;47901:21;;47921:1;;47901:21;:::i;:::-;47933:18;47954:24;;;:15;:24;;;;;;48328:10;:26;;47876:46;;-1:-1:-1;47954:24:0;;47876:46;;48328:26;;;;;;:::i;:::-;;;;;;;;;48306:48;;48393:11;48368:10;48379;48368:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;48482:28;;;:15;:28;;;;;;;:41;;;48664:24;;;;;48657:31;48699:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;47693:1030;;;47622:1101;:::o;45093:221::-;45178:14;45195:20;45212:2;45195:16;:20::i;:::-;-1:-1:-1;;;;;45226:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;45271:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;45093:221:0:o;11399:229::-;11536:12;11568:52;11590:6;11598:4;11604:1;11607:12;11568:21;:52::i;32890:853::-;33044:4;-1:-1:-1;;;;;33065:13:0;;8945:19;:23;33061:675;;33101:71;;-1:-1:-1;;;33101:71:0;;-1:-1:-1;;;;;33101:36:0;;;;;:71;;16728:10;;33152:4;;33158:7;;33167:4;;33101:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33101:71:0;;;;;;;;-1:-1:-1;;33101:71:0;;;;;;;;;;;;:::i;:::-;;;33097:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33342:6;:13;33359:1;33342:18;33338:328;;33385:60;;-1:-1:-1;;;33385:60:0;;;;;;;:::i;33338:328::-;33616:6;33610:13;33601:6;33597:2;33593:15;33586:38;33097:584;-1:-1:-1;;;;;;33223:51:0;-1:-1:-1;;;33223:51:0;;-1:-1:-1;33216:58:0;;33061:675;-1:-1:-1;33720:4:0;32890:853;;;;;;:::o;12521:512::-;12691:12;12749:5;12724:21;:30;;12716:81;;;;-1:-1:-1;;;12716:81:0;;30307:2:1;12716:81:0;;;30289:21:1;30346:2;30326:18;;;30319:30;30385:34;30365:18;;;30358:62;-1:-1:-1;;;30436:18:1;;;30429:36;30482:19;;12716:81:0;30105:402:1;12716:81:0;-1:-1:-1;;;;;8945:19:0;;;12808:60;;;;-1:-1:-1;;;12808:60:0;;30714:2:1;12808:60:0;;;30696:21:1;30753:2;30733:18;;;30726:30;30792:31;30772:18;;;30765:59;30841:18;;12808:60:0;30512:353:1;12808:60:0;12883:12;12897:23;12924:6;-1:-1:-1;;;;;12924:11:0;12944:5;12951:4;12924:32;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12882:74;;;;12974:51;12991:7;13000:10;13012:12;12974:16;:51::i;:::-;12967:58;12521:512;-1:-1:-1;;;;;;;12521:512:0:o;15216:762::-;15366:12;15395:7;15391:580;;;-1:-1:-1;15426:10:0;15419:17;;15391:580;15540:17;;:21;15536:424;;15788:10;15782:17;15849:15;15836:10;15832:2;15828:19;15821:44;15536:424;15931:12;15924:20;;-1:-1:-1;;;15924:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;196:131:1;-1:-1:-1;;;;;;270:32:1;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:258::-;846:1;856:113;870:6;867:1;864:13;856:113;;;946:11;;;940:18;927:11;;;920:39;892:2;885:10;856:113;;;987:6;984:1;981:13;978:48;;;-1:-1:-1;;1022:1:1;1004:16;;997:27;774:258::o;1037:::-;1079:3;1117:5;1111:12;1144:6;1139:3;1132:19;1160:63;1216:6;1209:4;1204:3;1200:14;1193:4;1186:5;1182:16;1160:63;:::i;:::-;1277:2;1256:15;-1:-1:-1;;1252:29:1;1243:39;;;;1284:4;1239:50;;1037:258;-1:-1:-1;;1037:258:1:o;1300:220::-;1449:2;1438:9;1431:21;1412:4;1469:45;1510:2;1499:9;1495:18;1487:6;1469:45;:::i;1525:180::-;1584:6;1637:2;1625:9;1616:7;1612:23;1608:32;1605:52;;;1653:1;1650;1643:12;1605:52;-1:-1:-1;1676:23:1;;1525:180;-1:-1:-1;1525:180:1:o;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:1:o;2355:127::-;2416:10;2411:3;2407:20;2404:1;2397:31;2447:4;2444:1;2437:15;2471:4;2468:1;2461:15;2487:275;2558:2;2552:9;2623:2;2604:13;;-1:-1:-1;;2600:27:1;2588:40;;2658:18;2643:34;;2679:22;;;2640:62;2637:88;;;2705:18;;:::i;:::-;2741:2;2734:22;2487:275;;-1:-1:-1;2487:275:1:o;2767:183::-;2827:4;2860:18;2852:6;2849:30;2846:56;;;2882:18;;:::i;:::-;-1:-1:-1;2927:1:1;2923:14;2939:4;2919:25;;2767:183::o;2955:662::-;3009:5;3062:3;3055:4;3047:6;3043:17;3039:27;3029:55;;3080:1;3077;3070:12;3029:55;3116:6;3103:20;3142:4;3166:60;3182:43;3222:2;3182:43;:::i;:::-;3166:60;:::i;:::-;3260:15;;;3346:1;3342:10;;;;3330:23;;3326:32;;;3291:12;;;;3370:15;;;3367:35;;;3398:1;3395;3388:12;3367:35;3434:2;3426:6;3422:15;3446:142;3462:6;3457:3;3454:15;3446:142;;;3528:17;;3516:30;;3566:12;;;;3479;;3446:142;;;-1:-1:-1;3606:5:1;2955:662;-1:-1:-1;;;;;;2955:662:1:o;3622:1146::-;3740:6;3748;3801:2;3789:9;3780:7;3776:23;3772:32;3769:52;;;3817:1;3814;3807:12;3769:52;3857:9;3844:23;3886:18;3927:2;3919:6;3916:14;3913:34;;;3943:1;3940;3933:12;3913:34;3981:6;3970:9;3966:22;3956:32;;4026:7;4019:4;4015:2;4011:13;4007:27;3997:55;;4048:1;4045;4038:12;3997:55;4084:2;4071:16;4106:4;4130:60;4146:43;4186:2;4146:43;:::i;4130:60::-;4224:15;;;4306:1;4302:10;;;;4294:19;;4290:28;;;4255:12;;;;4330:19;;;4327:39;;;4362:1;4359;4352:12;4327:39;4386:11;;;;4406:148;4422:6;4417:3;4414:15;4406:148;;;4488:23;4507:3;4488:23;:::i;:::-;4476:36;;4439:12;;;;4532;;;;4406:148;;;4573:5;-1:-1:-1;;4616:18:1;;4603:32;;-1:-1:-1;;4647:16:1;;;4644:36;;;4676:1;4673;4666:12;4644:36;;4699:63;4754:7;4743:8;4732:9;4728:24;4699:63;:::i;:::-;4689:73;;;3622:1146;;;;;:::o;4773:118::-;4859:5;4852:13;4845:21;4838:5;4835:32;4825:60;;4881:1;4878;4871:12;4896:315;4961:6;4969;5022:2;5010:9;5001:7;4997:23;4993:32;4990:52;;;5038:1;5035;5028:12;4990:52;5061:29;5080:9;5061:29;:::i;:::-;5051:39;;5140:2;5129:9;5125:18;5112:32;5153:28;5175:5;5153:28;:::i;:::-;5200:5;5190:15;;;4896:315;;;;;:::o;5216:186::-;5275:6;5328:2;5316:9;5307:7;5303:23;5299:32;5296:52;;;5344:1;5341;5334:12;5296:52;5367:29;5386:9;5367:29;:::i;5407:366::-;5474:6;5482;5535:2;5523:9;5514:7;5510:23;5506:32;5503:52;;;5551:1;5548;5541:12;5503:52;5574:29;5593:9;5574:29;:::i;:::-;5564:39;;5653:2;5642:9;5638:18;5625:32;-1:-1:-1;;;;;5690:5:1;5686:38;5679:5;5676:49;5666:77;;5739:1;5736;5729:12;5778:328;5855:6;5863;5871;5924:2;5912:9;5903:7;5899:23;5895:32;5892:52;;;5940:1;5937;5930:12;5892:52;5963:29;5982:9;5963:29;:::i;:::-;5953:39;;6011:38;6045:2;6034:9;6030:18;6011:38;:::i;:::-;6001:48;;6096:2;6085:9;6081:18;6068:32;6058:42;;5778:328;;;;;:::o;6111:248::-;6179:6;6187;6240:2;6228:9;6219:7;6215:23;6211:32;6208:52;;;6256:1;6253;6246:12;6208:52;-1:-1:-1;;6279:23:1;;;6349:2;6334:18;;;6321:32;;-1:-1:-1;6111:248:1:o;6883:407::-;6948:5;6982:18;6974:6;6971:30;6968:56;;;7004:18;;:::i;:::-;7042:57;7087:2;7066:15;;-1:-1:-1;;7062:29:1;7093:4;7058:40;7042:57;:::i;:::-;7033:66;;7122:6;7115:5;7108:21;7162:3;7153:6;7148:3;7144:16;7141:25;7138:45;;;7179:1;7176;7169:12;7138:45;7228:6;7223:3;7216:4;7209:5;7205:16;7192:43;7282:1;7275:4;7266:6;7259:5;7255:18;7251:29;7244:40;6883:407;;;;;:::o;7295:451::-;7364:6;7417:2;7405:9;7396:7;7392:23;7388:32;7385:52;;;7433:1;7430;7423:12;7385:52;7473:9;7460:23;7506:18;7498:6;7495:30;7492:50;;;7538:1;7535;7528:12;7492:50;7561:22;;7614:4;7606:13;;7602:27;-1:-1:-1;7592:55:1;;7643:1;7640;7633:12;7592:55;7666:74;7732:7;7727:2;7714:16;7709:2;7705;7701:11;7666:74;:::i;7751:127::-;7812:10;7807:3;7803:20;7800:1;7793:31;7843:4;7840:1;7833:15;7867:4;7864:1;7857:15;7883:345;8032:2;8017:18;;8065:1;8054:13;;8044:144;;8110:10;8105:3;8101:20;8098:1;8091:31;8145:4;8142:1;8135:15;8173:4;8170:1;8163:15;8044:144;8197:25;;;7883:345;:::o;8543:383::-;8617:6;8625;8633;8686:2;8674:9;8665:7;8661:23;8657:32;8654:52;;;8702:1;8699;8692:12;8654:52;8725:29;8744:9;8725:29;:::i;:::-;8715:39;;8801:2;8790:9;8786:18;8773:32;8763:42;;8855:2;8844:9;8840:18;8827:32;8868:28;8890:5;8868:28;:::i;:::-;8915:5;8905:15;;;8543:383;;;;;:::o;8931:667::-;9026:6;9034;9042;9050;9103:3;9091:9;9082:7;9078:23;9074:33;9071:53;;;9120:1;9117;9110:12;9071:53;9143:29;9162:9;9143:29;:::i;:::-;9133:39;;9191:38;9225:2;9214:9;9210:18;9191:38;:::i;:::-;9181:48;;9276:2;9265:9;9261:18;9248:32;9238:42;;9331:2;9320:9;9316:18;9303:32;9358:18;9350:6;9347:30;9344:50;;;9390:1;9387;9380:12;9344:50;9413:22;;9466:4;9458:13;;9454:27;-1:-1:-1;9444:55:1;;9495:1;9492;9485:12;9444:55;9518:74;9584:7;9579:2;9566:16;9561:2;9557;9553:11;9518:74;:::i;:::-;9508:84;;;8931:667;;;;;;;:::o;9603:241::-;9659:6;9712:2;9700:9;9691:7;9687:23;9683:32;9680:52;;;9728:1;9725;9718:12;9680:52;9767:9;9754:23;9786:28;9808:5;9786:28;:::i;10173:273::-;10249:6;10302:2;10290:9;10281:7;10277:23;10273:32;10270:52;;;10318:1;10315;10308:12;10270:52;10357:9;10344:23;10396:1;10389:5;10386:12;10376:40;;10412:1;10409;10402:12;10451:260;10519:6;10527;10580:2;10568:9;10559:7;10555:23;10551:32;10548:52;;;10596:1;10593;10586:12;10548:52;10619:29;10638:9;10619:29;:::i;:::-;10609:39;;10667:38;10701:2;10690:9;10686:18;10667:38;:::i;:::-;10657:48;;10451:260;;;;;:::o;10716:380::-;10795:1;10791:12;;;;10838;;;10859:61;;10913:4;10905:6;10901:17;10891:27;;10859:61;10966:2;10958:6;10955:14;10935:18;10932:38;10929:161;;11012:10;11007:3;11003:20;11000:1;10993:31;11047:4;11044:1;11037:15;11075:4;11072:1;11065:15;10929:161;;10716:380;;;:::o;11101:339::-;11303:2;11285:21;;;11342:2;11322:18;;;11315:30;-1:-1:-1;;;11376:2:1;11361:18;;11354:45;11431:2;11416:18;;11101:339::o;11445:127::-;11506:10;11501:3;11497:20;11494:1;11487:31;11537:4;11534:1;11527:15;11561:4;11558:1;11551:15;11577:127;11638:10;11633:3;11629:20;11626:1;11619:31;11669:4;11666:1;11659:15;11693:4;11690:1;11683:15;11709:135;11748:3;11769:17;;;11766:43;;11789:18;;:::i;:::-;-1:-1:-1;11836:1:1;11825:13;;11709:135::o;12663:341::-;12865:2;12847:21;;;12904:2;12884:18;;;12877:30;-1:-1:-1;;;12938:2:1;12923:18;;12916:47;12995:2;12980:18;;12663:341::o;13413:478::-;13615:2;13597:21;;;13654:2;13634:18;;;13627:30;13693:34;13688:2;13673:18;;13666:62;13764:34;13759:2;13744:18;;13737:62;-1:-1:-1;;;13830:3:1;13815:19;;13808:41;13881:3;13866:19;;13413:478::o;13896:125::-;13936:4;13964:1;13961;13958:8;13955:34;;;13969:18;;:::i;:::-;-1:-1:-1;14006:9:1;;13896:125::o;14026:410::-;14228:2;14210:21;;;14267:2;14247:18;;;14240:30;14306:34;14301:2;14286:18;;14279:62;-1:-1:-1;;;14372:2:1;14357:18;;14350:44;14426:3;14411:19;;14026:410::o;14845:184::-;14915:6;14968:2;14956:9;14947:7;14943:23;14939:32;14936:52;;;14984:1;14981;14974:12;14936:52;-1:-1:-1;15007:16:1;;14845:184;-1:-1:-1;14845:184:1:o;16241:128::-;16281:3;16312:1;16308:6;16305:1;16302:13;16299:39;;;16318:18;;:::i;:::-;-1:-1:-1;16354:9:1;;16241:128::o;17497:426::-;17699:2;17681:21;;;17738:2;17718:18;;;17711:30;17777:34;17772:2;17757:18;;17750:62;17848:32;17843:2;17828:18;;17821:60;17913:3;17898:19;;17497:426::o;18274:416::-;18476:2;18458:21;;;18515:2;18495:18;;;18488:30;18554:34;18549:2;18534:18;;18527:62;-1:-1:-1;;;18620:2:1;18605:18;;18598:50;18680:3;18665:19;;18274:416::o;18695:406::-;18897:2;18879:21;;;18936:2;18916:18;;;18909:30;18975:34;18970:2;18955:18;;18948:62;-1:-1:-1;;;19041:2:1;19026:18;;19019:40;19091:3;19076:19;;18695:406::o;19106:404::-;19308:2;19290:21;;;19347:2;19327:18;;;19320:30;19386:34;19381:2;19366:18;;19359:62;-1:-1:-1;;;19452:2:1;19437:18;;19430:38;19500:3;19485:19;;19106:404::o;19515:399::-;19717:2;19699:21;;;19756:2;19736:18;;;19729:30;19795:34;19790:2;19775:18;;19768:62;-1:-1:-1;;;19861:2:1;19846:18;;19839:33;19904:3;19889:19;;19515:399::o;20228:168::-;20268:7;20334:1;20330;20326:6;20322:14;20319:1;20316:21;20311:1;20304:9;20297:17;20293:45;20290:71;;;20341:18;;:::i;:::-;-1:-1:-1;20381:9:1;;20228:168::o;20756:245::-;20823:6;20876:2;20864:9;20855:7;20851:23;20847:32;20844:52;;;20892:1;20889;20882:12;20844:52;20924:9;20918:16;20943:28;20965:5;20943:28;:::i;21006:424::-;21208:2;21190:21;;;21247:2;21227:18;;;21220:30;21286:34;21281:2;21266:18;;21259:62;21357:30;21352:2;21337:18;;21330:58;21420:3;21405:19;;21006:424::o;23048:637::-;23328:3;23366:6;23360:13;23382:53;23428:6;23423:3;23416:4;23408:6;23404:17;23382:53;:::i;:::-;23498:13;;23457:16;;;;23520:57;23498:13;23457:16;23554:4;23542:17;;23520:57;:::i;:::-;-1:-1:-1;;;23599:20:1;;23628:22;;;23677:1;23666:13;;23048:637;-1:-1:-1;;;;23048:637:1:o;26138:127::-;26199:10;26194:3;26190:20;26187:1;26180:31;26230:4;26227:1;26220:15;26254:4;26251:1;26244:15;26270:120;26310:1;26336;26326:35;;26341:18;;:::i;:::-;-1:-1:-1;26375:9:1;;26270:120::o;26395:112::-;26427:1;26453;26443:35;;26458:18;;:::i;:::-;-1:-1:-1;26492:9:1;;26395:112::o;28806:414::-;29008:2;28990:21;;;29047:2;29027:18;;;29020:30;29086:34;29081:2;29066:18;;29059:62;-1:-1:-1;;;29152:2:1;29137:18;;29130:48;29210:3;29195:19;;28806:414::o;29225:127::-;29286:10;29281:3;29277:20;29274:1;29267:31;29317:4;29314:1;29307:15;29341:4;29338:1;29331:15;29357:489;-1:-1:-1;;;;;29626:15:1;;;29608:34;;29678:15;;29673:2;29658:18;;29651:43;29725:2;29710:18;;29703:34;;;29773:3;29768:2;29753:18;;29746:31;;;29551:4;;29794:46;;29820:19;;29812:6;29794:46;:::i;:::-;29786:54;29357:489;-1:-1:-1;;;;;;29357:489:1:o;29851:249::-;29920:6;29973:2;29961:9;29952:7;29948:23;29944:32;29941:52;;;29989:1;29986;29979:12;29941:52;30021:9;30015:16;30040:30;30064:5;30040:30;:::i;30870:274::-;30999:3;31037:6;31031:13;31053:53;31099:6;31094:3;31087:4;31079:6;31075:17;31053:53;:::i;:::-;31122:16;;;;;30870:274;-1:-1:-1;;30870:274:1:o
Swarm Source
ipfs://ca0efcf981d37780583573681b29431e479b98e6bccbc1fc20d9b43be98b9d67
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.